Enum ResourceState (0.23.0)

public enum ResourceState extends Enum<ResourceState> implements 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

Implements

ProtocolMessageEnum

Static Fields

Name Description
STATE_DELETING

The resource is under deletion.

STATE_DELETING = 5;

STATE_DELETING_VALUE

The resource is under deletion.

STATE_DELETING = 5;

STATE_PENDING

The resource is being prepared to be applied to the rack.

STATE_PENDING = 1;

STATE_PENDING_VALUE

The resource is being prepared to be applied to the rack.

STATE_PENDING = 1;

STATE_PROVISIONING

The resource has started being applied to the rack.

STATE_PROVISIONING = 2;

STATE_PROVISIONING_VALUE

The resource has started being applied to the rack.

STATE_PROVISIONING = 2;

STATE_RUNNING

The resource has been pushed to the rack.

STATE_RUNNING = 3;

STATE_RUNNING_VALUE

The resource has been pushed to the rack.

STATE_RUNNING = 3;

STATE_SUSPENDED

The resource failed to push to the rack.

STATE_SUSPENDED = 4;

STATE_SUSPENDED_VALUE

The resource failed to push to the rack.

STATE_SUSPENDED = 4;

STATE_UNKNOWN

Unspecified state.

STATE_UNKNOWN = 0;

STATE_UNKNOWN_VALUE

Unspecified state.

STATE_UNKNOWN = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()