Class ScopeFeatureState (0.14.1)

public final class ScopeFeatureState extends GeneratedMessageV3 implements ScopeFeatureStateOrBuilder

ScopeFeatureState contains Scope-wide Feature status information.

Protobuf type google.events.cloud.gkehub.v1.ScopeFeatureState

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScopeFeatureState getDefaultInstance()
Returns
TypeDescription
ScopeFeatureState

getDescriptor()

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

newBuilder()

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

newBuilder(ScopeFeatureState prototype)

public static ScopeFeatureState.Builder newBuilder(ScopeFeatureState prototype)
Parameter
NameDescription
prototypeScopeFeatureState
Returns
TypeDescription
ScopeFeatureState.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ScopeFeatureState getDefaultInstanceForType()
Returns
TypeDescription
ScopeFeatureState

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public FeatureState getState()

Output only. The "running state" of the Feature in this Scope.

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
TypeDescription
FeatureState

The state.

getStateOrBuilder()

public FeatureStateOrBuilder getStateOrBuilder()

Output only. The "running state" of the Feature in this Scope.

.google.events.cloud.gkehub.v1.FeatureState state = 1;

Returns
TypeDescription
FeatureStateOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasState()

public boolean hasState()

Output only. The "running state" of the Feature in this Scope.

.google.events.cloud.gkehub.v1.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 ScopeFeatureState.Builder newBuilderForType()
Returns
TypeDescription
ScopeFeatureState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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