public static enum HumanReviewStatus.State extends Enum<HumanReviewStatus.State> implements com.google.protobuf.ProtocolMessageEnum
The final state of human review on a processed document.Protobuf enum
google.cloud.documentai.v1beta3.HumanReviewStatus.State| Enum Constant and Description |
|---|
ERROR
Some error happened during triggering human review, see the
[state_message][google.cloud.documentai.v1beta3.HumanReviewStatus.state_message]
for details.
|
IN_PROGRESS
Human review validation is triggered and the document is under review.
|
SKIPPED
Human review is skipped for the document.
|
STATE_UNSPECIFIED
Human review state is unspecified.
|
UNRECOGNIZED |
VALIDATION_PASSED
Human review validation is triggered and passed, so no review is needed.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
Some error happened during triggering human review, see the
[state_message][google.cloud.documentai.v1beta3.HumanReviewStatus.state_message]
for details.
|
static int |
IN_PROGRESS_VALUE
Human review validation is triggered and the document is under review.
|
static int |
SKIPPED_VALUE
Human review is skipped for the document.
|
static int |
STATE_UNSPECIFIED_VALUE
Human review state is unspecified.
|
static int |
VALIDATION_PASSED_VALUE
Human review validation is triggered and passed, so no review is needed.
|
| Modifier and Type | Method and Description |
|---|---|
static HumanReviewStatus.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<HumanReviewStatus.State> |
internalGetValueMap() |
static HumanReviewStatus.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HumanReviewStatus.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HumanReviewStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HumanReviewStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HumanReviewStatus.State STATE_UNSPECIFIED
Human review state is unspecified. Most likely due to an internal error.
STATE_UNSPECIFIED = 0;public static final HumanReviewStatus.State SKIPPED
Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.
SKIPPED = 1;public static final HumanReviewStatus.State VALIDATION_PASSED
Human review validation is triggered and passed, so no review is needed.
VALIDATION_PASSED = 2;public static final HumanReviewStatus.State IN_PROGRESS
Human review validation is triggered and the document is under review.
IN_PROGRESS = 3;public static final HumanReviewStatus.State ERROR
Some error happened during triggering human review, see the [state_message][google.cloud.documentai.v1beta3.HumanReviewStatus.state_message] for details.
ERROR = 4;public static final HumanReviewStatus.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Human review state is unspecified. Most likely due to an internal error.
STATE_UNSPECIFIED = 0;public static final int SKIPPED_VALUE
Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.
SKIPPED = 1;public static final int VALIDATION_PASSED_VALUE
Human review validation is triggered and passed, so no review is needed.
VALIDATION_PASSED = 2;public static final int IN_PROGRESS_VALUE
Human review validation is triggered and the document is under review.
IN_PROGRESS = 3;public static final int ERROR_VALUE
Some error happened during triggering human review, see the [state_message][google.cloud.documentai.v1beta3.HumanReviewStatus.state_message] for details.
ERROR = 4;public static HumanReviewStatus.State[] values()
for (HumanReviewStatus.State c : HumanReviewStatus.State.values()) System.out.println(c);
public static HumanReviewStatus.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 HumanReviewStatus.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HumanReviewStatus.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HumanReviewStatus.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 HumanReviewStatus.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.