Enum ReservationAffinity.Type (1.13.0)

public enum ReservationAffinity.Type extends Enum<ReservationAffinity.Type> implements ProtocolMessageEnum

Indicates whether to consume capacity from an reservation or not.

Protobuf enum google.cloud.notebooks.v1.ReservationAffinity.Type

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ANY_RESERVATION

Consume any reservation available.

ANY_RESERVATION = 2;

ANY_RESERVATION_VALUE

Consume any reservation 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 type.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Default type.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()