Enum BatchTranslateMetadata.State (2.17.0)

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

State of the job.

Protobuf enum google.cloud.translation.v3beta1.BatchTranslateMetadata.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CANCELLED

The batch is done after the user has called the longrunning.Operations.CancelOperation. Any records processed before the cancel command are output as specified in the request.

CANCELLED = 5;

CANCELLED_VALUE

The batch is done after the user has called the longrunning.Operations.CancelOperation. Any records processed before the cancel command are output as specified in the request.

CANCELLED = 5;

CANCELLING

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

CANCELLING = 4;

CANCELLING_VALUE

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

CANCELLING = 4;

FAILED

The batch is done and no item was successfully processed.

FAILED = 3;

FAILED_VALUE

The batch is done and no item was successfully processed.

FAILED = 3;

RUNNING

Request is being processed.

RUNNING = 1;

RUNNING_VALUE

Request is being processed.

RUNNING = 1;

STATE_UNSPECIFIED

Invalid.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Invalid.

STATE_UNSPECIFIED = 0;

SUCCEEDED

The batch is processed, and at least one item was successfully processed.

SUCCEEDED = 2;

SUCCEEDED_VALUE

The batch is processed, and at least one item was successfully processed.

SUCCEEDED = 2;

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