public enum AllocationAffinity.Type extends Enum<AllocationAffinity.Type> implements ProtocolMessageEnum
Indicates whether to consume from a reservation or not.
Protobuf enum google.cloud.backupdr.v1.AllocationAffinity.Type
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ANY_RESERVATION |
Consume any allocation available. |
ANY_RESERVATION_VALUE |
Consume any allocation 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 value. This value is unused. |
TYPE_UNSPECIFIED_VALUE |
Default value. This value is unused. |
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() |