public static enum Processor.State extends Enum<Processor.State> implements com.google.protobuf.ProtocolMessageEnum
The possible states of the processor.Protobuf enum
google.cloud.documentai.v1beta3.Processor.State| Enum Constant and Description |
|---|
CREATING
The processor is being created, will become either `ENABLED` (for
successful creation) or `FAILED` (for failed ones).
|
DELETING
The processor is being deleted, will be removed if successful.
|
DISABLED
The processor is disabled.
|
DISABLING
The processor is being disabled, will become `DISABLED` if successful.
|
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.
|
ENABLING
The processor is being enabled, will become `ENABLED` if successful.
|
FAILED
The processor failed during creation or initialization of feature
dependencies.
|
STATE_UNSPECIFIED
The processor is in an unspecified state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The processor is being created, will become either `ENABLED` (for
successful creation) or `FAILED` (for failed ones).
|
static int |
DELETING_VALUE
The processor is being deleted, will be removed if successful.
|
static int |
DISABLED_VALUE
The processor is disabled.
|
static int |
DISABLING_VALUE
The processor is being disabled, will become `DISABLED` if successful.
|
static int |
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.
|
static int |
ENABLING_VALUE
The processor is being enabled, will become `ENABLED` if successful.
|
static int |
FAILED_VALUE
The processor failed during creation or initialization of feature
dependencies.
|
static int |
STATE_UNSPECIFIED_VALUE
The processor is in an unspecified state.
|
| Modifier and Type | Method and Description |
|---|---|
static Processor.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Processor.State> |
internalGetValueMap() |
static Processor.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Processor.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Processor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Processor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Processor.State STATE_UNSPECIFIED
The processor is in an unspecified state.
STATE_UNSPECIFIED = 0;public static final Processor.State 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;public static final Processor.State DISABLED
The processor is disabled.
DISABLED = 2;public static final Processor.State ENABLING
The processor is being enabled, will become `ENABLED` if successful.
ENABLING = 3;public static final Processor.State DISABLING
The processor is being disabled, will become `DISABLED` if successful.
DISABLING = 4;public static final Processor.State 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;public static final Processor.State 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;public static final Processor.State DELETING
The processor is being deleted, will be removed if successful.
DELETING = 7;public static final Processor.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The processor is in an unspecified state.
STATE_UNSPECIFIED = 0;public static final int 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;public static final int DISABLED_VALUE
The processor is disabled.
DISABLED = 2;public static final int ENABLING_VALUE
The processor is being enabled, will become `ENABLED` if successful.
ENABLING = 3;public static final int DISABLING_VALUE
The processor is being disabled, will become `DISABLED` if successful.
DISABLING = 4;public static final int 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;public static final int 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;public static final int DELETING_VALUE
The processor is being deleted, will be removed if successful.
DELETING = 7;public static Processor.State[] values()
for (Processor.State c : Processor.State.values()) System.out.println(c);
public static Processor.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Processor.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Processor.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Processor.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Processor.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.