Class MembershipFeatureSpec (1.49.0)

public final class MembershipFeatureSpec extends GeneratedMessageV3 implements MembershipFeatureSpecOrBuilder

MembershipFeatureSpec contains configuration information for a single Membership.

Protobuf type google.cloud.gkehub.v1.MembershipFeatureSpec

Static Fields

CONFIGMANAGEMENT_FIELD_NUMBER

public static final int CONFIGMANAGEMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MembershipFeatureSpec getDefaultInstance()
Returns
Type Description
MembershipFeatureSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MembershipFeatureSpec.Builder newBuilder()
Returns
Type Description
MembershipFeatureSpec.Builder

newBuilder(MembershipFeatureSpec prototype)

public static MembershipFeatureSpec.Builder newBuilder(MembershipFeatureSpec prototype)
Parameter
Name Description
prototype MembershipFeatureSpec
Returns
Type Description
MembershipFeatureSpec.Builder

parseDelimitedFrom(InputStream input)

public static MembershipFeatureSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MembershipFeatureSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MembershipFeatureSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MembershipFeatureSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MembershipFeatureSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MembershipFeatureSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipFeatureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MembershipFeatureSpec> parser()
Returns
Type Description
Parser<MembershipFeatureSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfigmanagement()

public MembershipSpec getConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpec

The configmanagement.

getConfigmanagementOrBuilder()

public MembershipSpecOrBuilder getConfigmanagementOrBuilder()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpecOrBuilder

getDefaultInstanceForType()

public MembershipFeatureSpec getDefaultInstanceForType()
Returns
Type Description
MembershipFeatureSpec

getFeatureSpecCase()

public MembershipFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
Type Description
MembershipFeatureSpec.FeatureSpecCase

getParserForType()

public Parser<MembershipFeatureSpec> getParserForType()
Returns
Type Description
Parser<MembershipFeatureSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec configmanagement = 106;

Returns
Type Description
boolean

Whether the configmanagement field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MembershipFeatureSpec.Builder newBuilderForType()
Returns
Type Description
MembershipFeatureSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MembershipFeatureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MembershipFeatureSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MembershipFeatureSpec.Builder toBuilder()
Returns
Type Description
MembershipFeatureSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException