Enum CommonOperationMetadata.State (2.24.0)

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

State of the longrunning operation.

Protobuf enum google.cloud.documentai.v1.CommonOperationMetadata.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CANCELLED

Operation is cancelled.

CANCELLED = 5;

CANCELLED_VALUE

Operation is cancelled.

CANCELLED = 5;

CANCELLING

Operation is being cancelled.

CANCELLING = 2;

CANCELLING_VALUE

Operation is being cancelled.

CANCELLING = 2;

FAILED

Operation failed.

FAILED = 4;

FAILED_VALUE

Operation failed.

FAILED = 4;

RUNNING

Operation is still running.

RUNNING = 1;

RUNNING_VALUE

Operation is still running.

RUNNING = 1;

STATE_UNSPECIFIED

Unspecified state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unspecified state.

STATE_UNSPECIFIED = 0;

SUCCEEDED

Operation succeeded.

SUCCEEDED = 3;

SUCCEEDED_VALUE

Operation succeeded.

SUCCEEDED = 3;

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