public enum ReservationAffinity.Type extends Enum<ReservationAffinity.Type> implements ProtocolMessageEnum
Identifies a type of reservation affinity.
Protobuf enum google.cloud.vertexai.v1.ReservationAffinity.Type
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ANY_RESERVATION |
Consume any reservation available, falling back to on-demand. |
ANY_RESERVATION_VALUE |
Consume any reservation available, falling back to on-demand. |
NO_RESERVATION |
Do not consume from any reserved capacity, only use on-demand. |
NO_RESERVATION_VALUE |
Do not consume from any reserved capacity, only use on-demand. |
SPECIFIC_RESERVATION |
Consume from a specific reservation. When chosen, the reservation
must be identified via the |
SPECIFIC_RESERVATION_VALUE |
Consume from a specific reservation. When chosen, the reservation
must be identified via the |
TYPE_UNSPECIFIED |
Default value. This should not be used. |
TYPE_UNSPECIFIED_VALUE |
Default value. This should not be used. |
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() |