Enum ResourceAllowanceState (0.52.0)

public enum ResourceAllowanceState extends Enum<ResourceAllowanceState> implements ProtocolMessageEnum

ResourceAllowance valid state.

Protobuf enum google.cloud.batch.v1alpha.ResourceAllowanceState

Implements

ProtocolMessageEnum

Static Fields

Name Description
RESOURCE_ALLOWANCE_ACTIVE

ResourceAllowance is active and in use.

RESOURCE_ALLOWANCE_ACTIVE = 1;

RESOURCE_ALLOWANCE_ACTIVE_VALUE

ResourceAllowance is active and in use.

RESOURCE_ALLOWANCE_ACTIVE = 1;

RESOURCE_ALLOWANCE_DEPLETED

ResourceAllowance limit is reached.

RESOURCE_ALLOWANCE_DEPLETED = 2;

RESOURCE_ALLOWANCE_DEPLETED_VALUE

ResourceAllowance limit is reached.

RESOURCE_ALLOWANCE_DEPLETED = 2;

RESOURCE_ALLOWANCE_STATE_UNSPECIFIED

Unspecified.

RESOURCE_ALLOWANCE_STATE_UNSPECIFIED = 0;

RESOURCE_ALLOWANCE_STATE_UNSPECIFIED_VALUE

Unspecified.

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