public enum ReservationAffinity.Type extends Enum<ReservationAffinity.Type> implements ProtocolMessageEnum
Indicates whether to consume capacity from a reservation or not.
Protobuf enum google.container.v1beta1.ReservationAffinity.Type
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
ANY_RESERVATION | Consume any reservation available. |
ANY_RESERVATION_VALUE | Consume any reservation available. |
NO_RESERVATION | Do not consume from any reserved capacity. |
NO_RESERVATION_VALUE | Do not consume from any reserved capacity. |
SPECIFIC_RESERVATION | Must consume from a specific reservation. Must specify key value fields for specifying the reservations. |
SPECIFIC_RESERVATION_VALUE | Must consume from a specific reservation. Must specify key value fields for specifying the reservations. |
UNRECOGNIZED | |
UNSPECIFIED | Default value. This should not be used. |
UNSPECIFIED_VALUE | Default value. This should not be used. |
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() |