Enum InstanceGroupConfig.Preemptibility (3.0.3)

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;

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