Enum ReservationAffinity.Type (3.50.0)

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

Identifies a type of reservation affinity.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ANY_RESERVATION

Consume any reservation available, falling back to on-demand.

ANY_RESERVATION = 2;

ANY_RESERVATION_VALUE

Consume any reservation available, falling back to on-demand.

ANY_RESERVATION = 2;

NO_RESERVATION

Do not consume from any reserved capacity, only use on-demand.

NO_RESERVATION = 1;

NO_RESERVATION_VALUE

Do not consume from any reserved capacity, only use on-demand.

NO_RESERVATION = 1;

SPECIFIC_RESERVATION

Consume from a specific reservation. When chosen, the reservation must be identified via the key and values fields.

SPECIFIC_RESERVATION = 3;

SPECIFIC_RESERVATION_VALUE

Consume from a specific reservation. When chosen, the reservation must be identified via the key and values fields.

SPECIFIC_RESERVATION = 3;

TYPE_UNSPECIFIED

Default value. This should not be used.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Default value. This should not be used.

TYPE_UNSPECIFIED = 0;

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