Enum BatchOperationMetadata.State (3.78.0)

publicenumBatchOperationMetadata.StateextendsEnum<BatchOperationMetadata.State>implementsProtocolMessageEnum

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

Protobuf enum google.cloud.vision.v1.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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.