public final class ScopeLifecycleState extends GeneratedMessageV3 implements ScopeLifecycleStateOrBuilder
ScopeLifecycleState describes the state of a Scope resource.
Protobuf type google.events.cloud.gkehub.v1.ScopeLifecycleState
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ScopeLifecycleStateImplements
ScopeLifecycleStateOrBuilderStatic Fields
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ScopeLifecycleState getDefaultInstance()
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ScopeLifecycleState.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ScopeLifecycleState.Builder |
newBuilder(ScopeLifecycleState prototype)
public static ScopeLifecycleState.Builder newBuilder(ScopeLifecycleState prototype)
Parameter | |
---|---|
Name | Description |
prototype | ScopeLifecycleState |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState.Builder |
parseDelimitedFrom(InputStream input)
public static ScopeLifecycleState parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScopeLifecycleState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ScopeLifecycleState parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScopeLifecycleState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ScopeLifecycleState parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScopeLifecycleState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ScopeLifecycleState parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScopeLifecycleState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ScopeLifecycleState parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScopeLifecycleState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ScopeLifecycleState parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScopeLifecycleState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ScopeLifecycleState> parser()
Returns | |
---|---|
Type | Description |
Parser<ScopeLifecycleState> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getCode()
public ScopeLifecycleState.Code getCode()
Output only. The current state of the scope resource.
.google.events.cloud.gkehub.v1.ScopeLifecycleState.Code code = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public ScopeLifecycleState getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ScopeLifecycleState |
getParserForType()
public Parser<ScopeLifecycleState> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ScopeLifecycleState> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ScopeLifecycleState.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ScopeLifecycleState.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScopeLifecycleState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ScopeLifecycleState.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ScopeLifecycleState.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ScopeLifecycleState.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |