Enum ReservationAffinity.Type (2.15.0)

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

Indicates whether to consume capacity from a reservation or not.

Protobuf enum google.container.v1.ReservationAffinity.Type

Implements

ProtocolMessageEnum

Static 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 reserved capacity.

NO_RESERVATION = 1;

NO_RESERVATION_VALUE

Do not consume from any reserved 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;

UNRECOGNIZED
UNSPECIFIED

Default value. This should not be used.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

Default value. This should not be used.

UNSPECIFIED = 0;

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