Class MembershipFeatureSpec

public final class MembershipFeatureSpec extends GeneratedMessageV3 implements MembershipFeatureSpecOrBuilder

MembershipFeatureSpec contains configuration information for a single Membership.

Protobuf type google.cloud.gkehub.v1.MembershipFeatureSpec

Fields

CONFIGMANAGEMENT_FIELD_NUMBER

public static final int CONFIGMANAGEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfigmanagement()

public MembershipSpec getConfigmanagement()

Config Management-specific spec.

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

Returns
TypeDescription
MembershipSpec

The configmanagement.

getConfigmanagementOrBuilder()

public MembershipSpecOrBuilder getConfigmanagementOrBuilder()

Config Management-specific spec.

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

Returns
TypeDescription
MembershipSpecOrBuilder

getDefaultInstance()

public static MembershipFeatureSpec getDefaultInstance()
Returns
TypeDescription
MembershipFeatureSpec

getDefaultInstanceForType()

public MembershipFeatureSpec getDefaultInstanceForType()
Returns
TypeDescription
MembershipFeatureSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getFeatureSpecCase()

public MembershipFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
TypeDescription
MembershipFeatureSpec.FeatureSpecCase

getParserForType()

public Parser<MembershipFeatureSpec> getParserForType()
Returns
TypeDescription
Parser<MembershipFeatureSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific spec.

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

Returns
TypeDescription
boolean

Whether the configmanagement field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static MembershipFeatureSpec.Builder newBuilder()
Returns
TypeDescription
MembershipFeatureSpec.Builder

newBuilder(MembershipFeatureSpec prototype)

public static MembershipFeatureSpec.Builder newBuilder(MembershipFeatureSpec prototype)
Parameter
NameDescription
prototypeMembershipFeatureSpec
Returns
TypeDescription
MembershipFeatureSpec.Builder

newBuilderForType()

public MembershipFeatureSpec.Builder newBuilderForType()
Returns
TypeDescription
MembershipFeatureSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MembershipFeatureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MembershipFeatureSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static MembershipFeatureSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MembershipFeatureSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MembershipFeatureSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MembershipFeatureSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MembershipFeatureSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MembershipFeatureSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MembershipFeatureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipFeatureSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MembershipFeatureSpec> parser()
Returns
TypeDescription
Parser<MembershipFeatureSpec>

toBuilder()

public MembershipFeatureSpec.Builder toBuilder()
Returns
TypeDescription
MembershipFeatureSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException