Class MembershipFeatureState (1.3.0)

public final class MembershipFeatureState extends GeneratedMessageV3 implements MembershipFeatureStateOrBuilder

MembershipFeatureState contains Feature status information for a single Membership.

Protobuf type google.cloud.gkehub.v1alpha.MembershipFeatureState

Static Fields

CONFIGMANAGEMENT_FIELD_NUMBER

public static final int CONFIGMANAGEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

METERING_FIELD_NUMBER

public static final int METERING_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICEMESH_FIELD_NUMBER

public static final int SERVICEMESH_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.v1alpha.MembershipState configmanagement = 106;

Returns
TypeDescription
MembershipState

The configmanagement.

getConfigmanagementOrBuilder()

public MembershipStateOrBuilder getConfigmanagementOrBuilder()

Config Management-specific state.

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

Returns
TypeDescription
MembershipStateOrBuilder

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
TypeDescription
MembershipFeatureState

getFeatureStateCase()

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

getMetering()

public MembershipState getMetering()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
TypeDescription
MembershipState

The metering.

getMeteringOrBuilder()

public MembershipStateOrBuilder getMeteringOrBuilder()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
TypeDescription
MembershipStateOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServicemesh()

public MembershipState getServicemesh()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
TypeDescription
MembershipState

The servicemesh.

getServicemeshOrBuilder()

public MembershipStateOrBuilder getServicemeshOrBuilder()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
TypeDescription
MembershipStateOrBuilder

getState()

public FeatureState getState()

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

.google.cloud.gkehub.v1alpha.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.v1alpha.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.v1alpha.MembershipState configmanagement = 106;

Returns
TypeDescription
boolean

Whether the configmanagement field is set.

hasMetering()

public boolean hasMetering()

Metering-specific spec.

.google.cloud.gkehub.metering.v1alpha.MembershipState metering = 104;

Returns
TypeDescription
boolean

Whether the metering field is set.

hasServicemesh()

public boolean hasServicemesh()

Service Mesh-specific state.

.google.cloud.gkehub.servicemesh.v1alpha.MembershipState servicemesh = 100;

Returns
TypeDescription
boolean

Whether the servicemesh field is set.

hasState()

public boolean hasState()

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

.google.cloud.gkehub.v1alpha.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