Enum MachineDetails.PowerState (0.31.0)

public enum MachineDetails.PowerState extends Enum<MachineDetails.PowerState> implements ProtocolMessageEnum

Machine power state.

Protobuf enum google.cloud.migrationcenter.v1.MachineDetails.PowerState

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The machine is active.

ACTIVE = 2;

ACTIVE_VALUE

The machine is active.

ACTIVE = 2;

DELETED

The machine is deleted from the hosting platform.

DELETED = 6;

DELETED_VALUE

The machine is deleted from the hosting platform.

DELETED = 6;

DELETING

The machine is being deleted from the hosting platform.

DELETING = 5;

DELETING_VALUE

The machine is being deleted from the hosting platform.

DELETING = 5;

PENDING

The machine is preparing to enter the ACTIVE state. An instance may enter the PENDING state when it launches for the first time, or when it is started after being in the SUSPENDED state.

PENDING = 1;

PENDING_VALUE

The machine is preparing to enter the ACTIVE state. An instance may enter the PENDING state when it launches for the first time, or when it is started after being in the SUSPENDED state.

PENDING = 1;

POWER_STATE_UNSPECIFIED

Power state is unknown.

POWER_STATE_UNSPECIFIED = 0;

POWER_STATE_UNSPECIFIED_VALUE

Power state is unknown.

POWER_STATE_UNSPECIFIED = 0;

SUSPENDED

The machine is off.

SUSPENDED = 4;

SUSPENDED_VALUE

The machine is off.

SUSPENDED = 4;

SUSPENDING

The machine is being turned off.

SUSPENDING = 3;

SUSPENDING_VALUE

The machine is being turned off.

SUSPENDING = 3;

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