public final class MembershipFeatureState extends GeneratedMessageV3 implements MembershipFeatureStateOrBuilder
MembershipFeatureState contains Feature status information for a single
Membership.
Protobuf type google.cloud.gkehub.v1beta.MembershipFeatureState
Static Fields
CONFIGMANAGEMENT_FIELD_NUMBER
public static final int CONFIGMANAGEMENT_FIELD_NUMBER
Field Value
METERING_FIELD_NUMBER
public static final int METERING_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MembershipFeatureState getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MembershipFeatureState.Builder newBuilder()
Returns
newBuilder(MembershipFeatureState prototype)
public static MembershipFeatureState.Builder newBuilder(MembershipFeatureState prototype)
Parameter
Returns
public static MembershipFeatureState parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MembershipFeatureState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MembershipFeatureState parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MembershipFeatureState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MembershipFeatureState parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipFeatureState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MembershipFeatureState parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MembershipFeatureState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MembershipFeatureState parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MembershipFeatureState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MembershipFeatureState parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MembershipFeatureState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MembershipFeatureState> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConfigmanagement()
public MembershipState getConfigmanagement()
Config Management-specific state.
.google.cloud.gkehub.configmanagement.v1beta.MembershipState configmanagement = 106;
Returns
getConfigmanagementOrBuilder()
public MembershipStateOrBuilder getConfigmanagementOrBuilder()
Config Management-specific state.
.google.cloud.gkehub.configmanagement.v1beta.MembershipState configmanagement = 106;
Returns
getDefaultInstanceForType()
public MembershipFeatureState getDefaultInstanceForType()
Returns
getFeatureStateCase()
public MembershipFeatureState.FeatureStateCase getFeatureStateCase()
Returns
getMetering()
public MembershipState getMetering()
Metering-specific spec.
.google.cloud.gkehub.metering.v1beta.MembershipState metering = 104;
Returns
getMeteringOrBuilder()
public MembershipStateOrBuilder getMeteringOrBuilder()
Metering-specific spec.
.google.cloud.gkehub.metering.v1beta.MembershipState metering = 104;
Returns
getParserForType()
public Parser<MembershipFeatureState> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public FeatureState getState()
The high-level state of this Feature for a single membership.
.google.cloud.gkehub.v1beta.FeatureState state = 1;
Returns
getStateOrBuilder()
public FeatureStateOrBuilder getStateOrBuilder()
The high-level state of this Feature for a single membership.
.google.cloud.gkehub.v1beta.FeatureState state = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasConfigmanagement()
public boolean hasConfigmanagement()
Config Management-specific state.
.google.cloud.gkehub.configmanagement.v1beta.MembershipState configmanagement = 106;
Returns
Type | Description |
boolean | Whether the configmanagement field is set.
|
hasMetering()
public boolean hasMetering()
Metering-specific spec.
.google.cloud.gkehub.metering.v1beta.MembershipState metering = 104;
Returns
Type | Description |
boolean | Whether the metering field is set.
|
hasState()
public boolean hasState()
The high-level state of this Feature for a single membership.
.google.cloud.gkehub.v1beta.FeatureState state = 1;
Returns
Type | Description |
boolean | Whether the state field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MembershipFeatureState.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MembershipFeatureState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MembershipFeatureState.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions