Enum InstanceGroupConfig.Preemptibility (2.3.1)

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

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;

UNRECOGNIZED

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()