public final class FeatureResourceState extends GeneratedMessageV3 implements FeatureResourceStateOrBuilder
FeatureResourceState describes the state of a Feature resource in the
GkeHub API. See FeatureState
for the "running state" of the Feature in the
Hub and across Memberships.
Protobuf type google.cloud.gkehub.v1beta.FeatureResourceState
Fields
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static FeatureResourceState getDefaultInstance()
Returns
getDefaultInstanceForType()
public FeatureResourceState getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<FeatureResourceState> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public FeatureResourceState.State getState()
The current state of the Feature resource in the Hub API.
.google.cloud.gkehub.v1beta.FeatureResourceState.State state = 1;
Returns
getStateValue()
public int getStateValue()
The current state of the Feature resource in the Hub API.
.google.cloud.gkehub.v1beta.FeatureResourceState.State state = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static FeatureResourceState.Builder newBuilder()
Returns
newBuilder(FeatureResourceState prototype)
public static FeatureResourceState.Builder newBuilder(FeatureResourceState prototype)
Parameter
Returns
newBuilderForType()
public FeatureResourceState.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FeatureResourceState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static FeatureResourceState parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FeatureResourceState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FeatureResourceState parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FeatureResourceState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FeatureResourceState parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeatureResourceState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureResourceState parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FeatureResourceState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FeatureResourceState parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FeatureResourceState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FeatureResourceState parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FeatureResourceState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FeatureResourceState> parser()
Returns
toBuilder()
public FeatureResourceState.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions