public enum ReservationAffinity.Type extends Enum<ReservationAffinity.Type> implements ProtocolMessageEnum
Indicates whether to consume capacity from an reservation or not.
Protobuf enum google.events.cloud.notebooks.v1.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 allocated capacity. |
NO_RESERVATION_VALUE | Do not consume from any allocated 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. |
TYPE_UNSPECIFIED | Default type. |
TYPE_UNSPECIFIED_VALUE | Default type. |
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() |