Class MembershipFeatureState (1.53.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
Type Description
int

METERING_FIELD_NUMBER

public static final int METERING_FIELD_NUMBER
Field Value
Type Description
int

SERVICEMESH_FIELD_NUMBER

public static final int SERVICEMESH_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MembershipFeatureState getDefaultInstance()
Returns
Type Description
MembershipFeatureState

getDescriptor()

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

newBuilder()

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

newBuilder(MembershipFeatureState prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfigmanagement()

public MembershipState getConfigmanagement()

Config Management-specific state.

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

Returns
Type Description
MembershipState

The configmanagement.

getConfigmanagementOrBuilder()

public MembershipStateOrBuilder getConfigmanagementOrBuilder()

Config Management-specific state.

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

Returns
Type Description
MembershipStateOrBuilder

getDefaultInstanceForType()

public MembershipFeatureState getDefaultInstanceForType()
Returns
Type Description
MembershipFeatureState

getFeatureStateCase()

public MembershipFeatureState.FeatureStateCase getFeatureStateCase()
Returns
Type Description
MembershipFeatureState.FeatureStateCase

getMetering()

public MembershipState getMetering()

Metering-specific spec.

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

Returns
Type Description
MembershipState

The metering.

getMeteringOrBuilder()

public MembershipStateOrBuilder getMeteringOrBuilder()

Metering-specific spec.

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

Returns
Type Description
MembershipStateOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServicemesh()

public MembershipState getServicemesh()

Service Mesh-specific state.

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

Returns
Type Description
MembershipState

The servicemesh.

getServicemeshOrBuilder()

public MembershipStateOrBuilder getServicemeshOrBuilder()

Service Mesh-specific state.

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

Returns
Type Description
MembershipStateOrBuilder

getState()

public FeatureState getState()

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

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

Returns
Type Description
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
Type Description
FeatureStateOrBuilder

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific state.

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

Returns
Type Description
boolean

Whether the configmanagement field is set.

hasMetering()

public boolean hasMetering()

Metering-specific spec.

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

Returns
Type Description
boolean

Whether the metering field is set.

hasServicemesh()

public boolean hasServicemesh()

Service Mesh-specific state.

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

Returns
Type Description
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
Type Description
boolean

Whether the state 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 MembershipFeatureState.Builder newBuilderForType()
Returns
Type Description
MembershipFeatureState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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