Enum Processor.State (2.18.0)

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

The possible states of the processor.

Protobuf enum google.cloud.documentai.v1.Processor.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CREATING

The processor is being created, will become either ENABLED (for successful creation) or FAILED (for failed ones). Once a processor is in this state, it can then be used for document processing, but the feature dependencies of the processor might not be fully created yet.

CREATING = 5;

CREATING_VALUE

The processor is being created, will become either ENABLED (for successful creation) or FAILED (for failed ones). Once a processor is in this state, it can then be used for document processing, but the feature dependencies of the processor might not be fully created yet.

CREATING = 5;

DELETING

The processor is being deleted, will be removed if successful.

DELETING = 7;

DELETING_VALUE

The processor is being deleted, will be removed if successful.

DELETING = 7;

DISABLED

The processor is disabled.

DISABLED = 2;

DISABLED_VALUE

The processor is disabled.

DISABLED = 2;

DISABLING

The processor is being disabled, will become DISABLED if successful.

DISABLING = 4;

DISABLING_VALUE

The processor is being disabled, will become DISABLED if successful.

DISABLING = 4;

ENABLED

The processor is enabled, i.e., has an enabled version which can currently serve processing requests and all the feature dependencies have been successfully initialized.

ENABLED = 1;

ENABLED_VALUE

The processor is enabled, i.e., has an enabled version which can currently serve processing requests and all the feature dependencies have been successfully initialized.

ENABLED = 1;

ENABLING

The processor is being enabled, will become ENABLED if successful.

ENABLING = 3;

ENABLING_VALUE

The processor is being enabled, will become ENABLED if successful.

ENABLING = 3;

FAILED

The processor failed during creation or initialization of feature dependencies. The user should delete the processor and recreate one as all the functionalities of the processor are disabled.

FAILED = 6;

FAILED_VALUE

The processor failed during creation or initialization of feature dependencies. The user should delete the processor and recreate one as all the functionalities of the processor are disabled.

FAILED = 6;

STATE_UNSPECIFIED

The processor is in an unspecified state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The processor is in an unspecified state.

STATE_UNSPECIFIED = 0;

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