Enum InstanceGroupConfig.Preemptibility (4.33.0)

public enum InstanceGroupConfig.Preemptibility extends Enum<InstanceGroupConfig.Preemptibility> implements ProtocolMessageEnum

Controls the use of preemptible instances within the group.

Protobuf enum google.cloud.dataproc.v1.InstanceGroupConfig.Preemptibility

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NON_PREEMPTIBLE

Instances are non-preemptible.

This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.

NON_PREEMPTIBLE = 1;

NON_PREEMPTIBLE_VALUE

Instances are non-preemptible.

This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.

NON_PREEMPTIBLE = 1;

PREEMPTIBILITY_UNSPECIFIED

Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.

PREEMPTIBILITY_UNSPECIFIED = 0;

PREEMPTIBILITY_UNSPECIFIED_VALUE

Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.

PREEMPTIBILITY_UNSPECIFIED = 0;

PREEMPTIBLE

Instances are preemptible.

This option is allowed only for secondary worker groups.

PREEMPTIBLE = 2;

PREEMPTIBLE_VALUE

Instances are preemptible.

This option is allowed only for secondary worker groups.

PREEMPTIBLE = 2;

SPOT

Instances are Spot VMs.

This option is allowed only for secondary worker groups. Spot VMs are the latest version of preemptible VMs, and provide additional features.

SPOT = 3;

SPOT_VALUE

Instances are Spot VMs.

This option is allowed only for secondary worker groups. Spot VMs are the latest version of preemptible VMs, and provide additional features.

SPOT = 3;

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