Enum OperationState (2.54.0)

public enum OperationState extends Enum<OperationState> implements ProtocolMessageEnum

Possible states of long running operations.

Protobuf enum google.cloud.translation.v3.OperationState

Implements

ProtocolMessageEnum

Static Fields

Name Description
OPERATION_STATE_CANCELLED

The operation request was successfully canceled.

OPERATION_STATE_CANCELLED = 5;

OPERATION_STATE_CANCELLED_VALUE

The operation request was successfully canceled.

OPERATION_STATE_CANCELLED = 5;

OPERATION_STATE_CANCELLING

Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.

OPERATION_STATE_CANCELLING = 4;

OPERATION_STATE_CANCELLING_VALUE

Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.

OPERATION_STATE_CANCELLING = 4;

OPERATION_STATE_FAILED

Failed to process operation.

OPERATION_STATE_FAILED = 3;

OPERATION_STATE_FAILED_VALUE

Failed to process operation.

OPERATION_STATE_FAILED = 3;

OPERATION_STATE_RUNNING

Request is being processed.

OPERATION_STATE_RUNNING = 1;

OPERATION_STATE_RUNNING_VALUE

Request is being processed.

OPERATION_STATE_RUNNING = 1;

OPERATION_STATE_SUCCEEDED

The operation was successful.

OPERATION_STATE_SUCCEEDED = 2;

OPERATION_STATE_SUCCEEDED_VALUE

The operation was successful.

OPERATION_STATE_SUCCEEDED = 2;

OPERATION_STATE_UNSPECIFIED

Invalid.

OPERATION_STATE_UNSPECIFIED = 0;

OPERATION_STATE_UNSPECIFIED_VALUE

Invalid.

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