Enum Instance.State (0.1.0)

public enum Instance.State extends Enum<Instance.State> implements ProtocolMessageEnum

VM status enum.

Protobuf enum google.cloud.licensemanager.v1.Instance.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
PROVISIONING

Resources are being allocated for the instance.

PROVISIONING = 1;

PROVISIONING_VALUE

Resources are being allocated for the instance.

PROVISIONING = 1;

REPAIRING

The instance is in repair.

REPAIRING = 7;

REPAIRING_VALUE

The instance is in repair.

REPAIRING = 7;

RUNNING

The instance is running.

RUNNING = 3;

RUNNING_VALUE

The instance is running.

RUNNING = 3;

STAGING

All required resources have been allocated and the instance is being started.

STAGING = 2;

STAGING_VALUE

All required resources have been allocated and the instance is being started.

STAGING = 2;

STATE_UNSPECIFIED

The Status of the VM is unspecified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The Status of the VM is unspecified.

STATE_UNSPECIFIED = 0;

STOPPED

The instance has stopped due to various reasons (user request, VM preemption, project freezing, etc.).

STOPPED = 5;

STOPPED_VALUE

The instance has stopped due to various reasons (user request, VM preemption, project freezing, etc.).

STOPPED = 5;

STOPPING

The instance is currently stopping (either being deleted or terminated).

STOPPING = 4;

STOPPING_VALUE

The instance is currently stopping (either being deleted or terminated).

STOPPING = 4;

TERMINATED

The instance has failed in some way.

TERMINATED = 6;

TERMINATED_VALUE

The instance has failed in some way.

TERMINATED = 6;

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()