Enum ReservationAffinity.Type (2.3.1)

public enum ReservationAffinity.Type extends Enum<ReservationAffinity.Type> implements ProtocolMessageEnum

Indicates whether to consume capacity from an reservation or not.

Protobuf enum google.cloud.dataproc.v1.ReservationAffinity.Type

Implements

ProtocolMessageEnum

Fields

NameDescription
ANY_RESERVATION

Consume any reservation available.

ANY_RESERVATION = 2;

ANY_RESERVATION_VALUE

Consume any reservation available.

ANY_RESERVATION = 2;

NO_RESERVATION

Do not consume from any allocated capacity.

NO_RESERVATION = 1;

NO_RESERVATION_VALUE

Do not consume from any allocated capacity.

NO_RESERVATION = 1;

SPECIFIC_RESERVATION

Must consume from a specific reservation. Must specify key value fields for specifying the reservations.

SPECIFIC_RESERVATION = 3;

SPECIFIC_RESERVATION_VALUE

Must consume from a specific reservation. Must specify key value fields for specifying the reservations.

SPECIFIC_RESERVATION = 3;

TYPE_UNSPECIFIED

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

TYPE_UNSPECIFIED = 0;

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