Enum AsyncModelMetadata.State (1.46.0)

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

Possible states of the operation.

Protobuf enum google.cloud.optimization.v1.AsyncModelMetadata.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CANCELLED

The operation was cancelled.

CANCELLED = 3;

CANCELLED_VALUE

The operation was cancelled.

CANCELLED = 3;

FAILED

The operation has failed.

FAILED = 4;

FAILED_VALUE

The operation has failed.

FAILED = 4;

RUNNING

Request is being processed.

RUNNING = 1;

RUNNING_VALUE

Request is being processed.

RUNNING = 1;

STATE_UNSPECIFIED

The default value. This value is used if the state is omitted.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The default value. This value is used if the state is omitted.

STATE_UNSPECIFIED = 0;

SUCCEEDED

The operation completed successfully.

SUCCEEDED = 2;

SUCCEEDED_VALUE

The operation completed successfully.

SUCCEEDED = 2;

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