Enum BatchOperationMetadata.State (3.51.0)

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

Enumerates the possible states that the batch request can be in.

Protobuf enum google.cloud.vision.v1p4beta1.BatchOperationMetadata.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CANCELLED

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

CANCELLED = 4;

CANCELLED_VALUE

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

CANCELLED = 4;

FAILED

The request is done and no item has been successfully processed.

FAILED = 3;

FAILED_VALUE

The request is done and no item has been successfully processed.

FAILED = 3;

PROCESSING

Request is actively being processed.

PROCESSING = 1;

PROCESSING_VALUE

Request is actively being processed.

PROCESSING = 1;

STATE_UNSPECIFIED

Invalid.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Invalid.

STATE_UNSPECIFIED = 0;

SUCCESSFUL

The request is done and at least one item has been successfully processed.

SUCCESSFUL = 2;

SUCCESSFUL_VALUE

The request is done and at least one item has been successfully processed.

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