Class ScopeLifecycleState (0.14.1)

public final class ScopeLifecycleState extends GeneratedMessageV3 implements ScopeLifecycleStateOrBuilder

ScopeLifecycleState describes the state of a Scope resource.

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

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScopeLifecycleState getDefaultInstance()
Returns
TypeDescription
ScopeLifecycleState

getDescriptor()

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

newBuilder()

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

newBuilder(ScopeLifecycleState prototype)

public static ScopeLifecycleState.Builder newBuilder(ScopeLifecycleState prototype)
Parameter
NameDescription
prototypeScopeLifecycleState
Returns
TypeDescription
ScopeLifecycleState.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public ScopeLifecycleState.Code getCode()

Output only. The current state of the scope resource.

.google.events.cloud.gkehub.v1.ScopeLifecycleState.Code code = 1;

Returns
TypeDescription
ScopeLifecycleState.Code

The code.

getCodeValue()

public int getCodeValue()

Output only. The current state of the scope resource.

.google.events.cloud.gkehub.v1.ScopeLifecycleState.Code code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public ScopeLifecycleState getDefaultInstanceForType()
Returns
TypeDescription
ScopeLifecycleState

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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