Enum AllocationAffinity.Type (0.11.0)

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

ProtocolMessageEnum

Static Fields

Name Description
ANY_RESERVATION

Consume any allocation available.

ANY_RESERVATION = 2;

ANY_RESERVATION_VALUE

Consume any allocation available.

ANY_RESERVATION = 2;

NO_RESERVATION

Do not consume from any allocated capacity.

NO_RESERVATION = 1;

NO_RESERVATION_VALUE

Do not consume from any allocated capacity.

NO_RESERVATION = 1;

SPECIFIC_RESERVATION

Must consume from a specific reservation. Must specify key value fields for specifying the reservations.

SPECIFIC_RESERVATION = 3;

SPECIFIC_RESERVATION_VALUE

Must consume from a specific reservation. Must specify key value fields for specifying the reservations.

SPECIFIC_RESERVATION = 3;

TYPE_UNSPECIFIED

Default value. This value is unused.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Default value. This value is unused.

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