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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
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_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. |
PREEMPTIBILITY_UNSPECIFIED |
Preemptibility is unspecified, the system will choose the appropriate setting for each instance group. |
PREEMPTIBILITY_UNSPECIFIED_VALUE |
Preemptibility is unspecified, the system will choose the appropriate setting for each instance group. |
PREEMPTIBLE |
Instances are preemptible. This option is allowed only for secondary worker groups. |
PREEMPTIBLE_VALUE |
Instances are preemptible. This option is allowed only for secondary worker groups. |
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_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. |
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() |