Class FeatureResourceState (1.22.0)

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

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FeatureResourceState getDefaultInstance()
Returns
TypeDescription
FeatureResourceState

getDescriptor()

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

newBuilder()

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

newBuilder(FeatureResourceState prototype)

public static FeatureResourceState.Builder newBuilder(FeatureResourceState prototype)
Parameter
NameDescription
prototypeFeatureResourceState
Returns
TypeDescription
FeatureResourceState.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FeatureResourceState getDefaultInstanceForType()
Returns
TypeDescription
FeatureResourceState

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
FeatureResourceState.State

The state.

getStateValue()

public int getStateValue()

The current state of the Feature resource in the Hub API.

.google.cloud.gkehub.v1beta.FeatureResourceState.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

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 FeatureResourceState.Builder newBuilderForType()
Returns
TypeDescription
FeatureResourceState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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