Enum CapacityCommitment.State (2.15.0)

public enum CapacityCommitment.State extends Enum<CapacityCommitment.State> implements ProtocolMessageEnum

Capacity commitment can either become ACTIVE right away or transition from PENDING to ACTIVE or FAILED.

Protobuf enum google.cloud.bigquery.reservation.v1.CapacityCommitment.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

Once slots are provisioned, capacity commitment becomes active. slot_count is added to the project's slot_capacity.

ACTIVE = 2;

ACTIVE_VALUE

Once slots are provisioned, capacity commitment becomes active. slot_count is added to the project's slot_capacity.

ACTIVE = 2;

FAILED

Capacity commitment is failed to be activated by the backend.

FAILED = 3;

FAILED_VALUE

Capacity commitment is failed to be activated by the backend.

FAILED = 3;

PENDING

Capacity commitment is pending provisioning. Pending capacity commitment does not contribute to the project's slot_capacity.

PENDING = 1;

PENDING_VALUE

Capacity commitment is pending provisioning. Pending capacity commitment does not contribute to the project's slot_capacity.

PENDING = 1;

STATE_UNSPECIFIED

Invalid state value.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Invalid state value.

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