Enum CommonOperationMetadata.State

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

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

Methods

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

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()