public enum ResourceState extends Enum<ResourceState> implements com.google.protobuf.ProtocolMessageEnum
ResourceState describes the state the resource. A normal lifecycle of a new resource being created would be: PENDING -> PROVISIONING -> RUNNING. A normal lifecycle of an existing resource being deleted would be: RUNNING -> DELETING. Any failures during processing will result the resource to be in a SUSPENDED state.Protobuf enum
google.cloud.edgenetwork.v1.ResourceState| Enum Constant and Description |
|---|
STATE_DELETING
The resource is under deletion.
|
STATE_PENDING
The resource is being prepared to be applied to the rack.
|
STATE_PROVISIONING
The resource has started being applied to the rack.
|
STATE_RUNNING
The resource has been pushed to the rack.
|
STATE_SUSPENDED
The resource failed to push to the rack.
|
STATE_UNKNOWN
Unspecified state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_DELETING_VALUE
The resource is under deletion.
|
static int |
STATE_PENDING_VALUE
The resource is being prepared to be applied to the rack.
|
static int |
STATE_PROVISIONING_VALUE
The resource has started being applied to the rack.
|
static int |
STATE_RUNNING_VALUE
The resource has been pushed to the rack.
|
static int |
STATE_SUSPENDED_VALUE
The resource failed to push to the rack.
|
static int |
STATE_UNKNOWN_VALUE
Unspecified state.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ResourceState> |
internalGetValueMap() |
static ResourceState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResourceState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResourceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceState STATE_UNKNOWN
Unspecified state.
STATE_UNKNOWN = 0;public static final ResourceState STATE_PENDING
The resource is being prepared to be applied to the rack.
STATE_PENDING = 1;public static final ResourceState STATE_PROVISIONING
The resource has started being applied to the rack.
STATE_PROVISIONING = 2;public static final ResourceState STATE_RUNNING
The resource has been pushed to the rack.
STATE_RUNNING = 3;public static final ResourceState STATE_SUSPENDED
The resource failed to push to the rack.
STATE_SUSPENDED = 4;public static final ResourceState STATE_DELETING
The resource is under deletion.
STATE_DELETING = 5;public static final ResourceState UNRECOGNIZED
public static final int STATE_UNKNOWN_VALUE
Unspecified state.
STATE_UNKNOWN = 0;public static final int STATE_PENDING_VALUE
The resource is being prepared to be applied to the rack.
STATE_PENDING = 1;public static final int STATE_PROVISIONING_VALUE
The resource has started being applied to the rack.
STATE_PROVISIONING = 2;public static final int STATE_RUNNING_VALUE
The resource has been pushed to the rack.
STATE_RUNNING = 3;public static final int STATE_SUSPENDED_VALUE
The resource failed to push to the rack.
STATE_SUSPENDED = 4;public static final int STATE_DELETING_VALUE
The resource is under deletion.
STATE_DELETING = 5;public static ResourceState[] values()
for (ResourceState c : ResourceState.values()) System.out.println(c);
public static ResourceState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ResourceState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ResourceState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ResourceState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ResourceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.