Class MembershipFeatureState (1.16.0)

public final class MembershipFeatureState extends GeneratedMessageV3 implements MembershipFeatureStateOrBuilder

MembershipFeatureState contains Feature status information for a single Membership.

Protobuf type google.cloud.gkehub.v1.MembershipFeatureState

Static Fields

CONFIGMANAGEMENT_FIELD_NUMBER

public static final int CONFIGMANAGEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MembershipFeatureState getDefaultInstance()
Returns
TypeDescription
MembershipFeatureState

getDescriptor()

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

newBuilder()

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

newBuilder(MembershipFeatureState prototype)

public static MembershipFeatureState.Builder newBuilder(MembershipFeatureState prototype)
Parameter
NameDescription
prototypeMembershipFeatureState
Returns
TypeDescription
MembershipFeatureState.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfigmanagement()

public MembershipState getConfigmanagement()

Config Management-specific state.

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

Returns
TypeDescription
MembershipState

The configmanagement.

getConfigmanagementOrBuilder()

public MembershipStateOrBuilder getConfigmanagementOrBuilder()

Config Management-specific state.

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

Returns
TypeDescription
MembershipStateOrBuilder

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
TypeDescription
MembershipFeatureState

getFeatureStateCase()

public MembershipFeatureState.FeatureStateCase getFeatureStateCase()
Returns
TypeDescription
MembershipFeatureState.FeatureStateCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public FeatureState getState()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
TypeDescription
FeatureState

The state.

getStateOrBuilder()

public FeatureStateOrBuilder getStateOrBuilder()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
TypeDescription
FeatureStateOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific state.

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

Returns
TypeDescription
boolean

Whether the configmanagement field is set.

hasState()

public boolean hasState()

The high-level state of this Feature for a single membership.

.google.cloud.gkehub.v1.FeatureState state = 1;

Returns
TypeDescription
boolean

Whether the state 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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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