Enum ComputeScheduling.RestartType (1.16.0)

public enum ComputeScheduling.RestartType extends Enum<ComputeScheduling.RestartType> implements ProtocolMessageEnum

Defines whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).

Protobuf enum google.cloud.vmmigration.v1.ComputeScheduling.RestartType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AUTOMATIC_RESTART

The Instance should be automatically restarted whenever it is terminated by Compute Engine.

AUTOMATIC_RESTART = 1;

AUTOMATIC_RESTART_VALUE

The Instance should be automatically restarted whenever it is terminated by Compute Engine.

AUTOMATIC_RESTART = 1;

NO_AUTOMATIC_RESTART

The Instance isn't automatically restarted whenever it is terminated by Compute Engine.

NO_AUTOMATIC_RESTART = 2;

NO_AUTOMATIC_RESTART_VALUE

The Instance isn't automatically restarted whenever it is terminated by Compute Engine.

NO_AUTOMATIC_RESTART = 2;

RESTART_TYPE_UNSPECIFIED

Unspecified behavior. This will use the default.

RESTART_TYPE_UNSPECIFIED = 0;

RESTART_TYPE_UNSPECIFIED_VALUE

Unspecified behavior. This will use the default.

RESTART_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()