public static enum ReviewDocumentResponse.State extends Enum<ReviewDocumentResponse.State> implements com.google.protobuf.ProtocolMessageEnum
Possible states of the review operation.Protobuf enum
google.cloud.documentai.v1beta3.ReviewDocumentResponse.State| Enum Constant and Description |
|---|
REJECTED
The review operation is rejected by the reviewer.
|
STATE_UNSPECIFIED
The default value.
|
SUCCEEDED
The review operation is succeeded.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
REJECTED_VALUE
The review operation is rejected by the reviewer.
|
static int |
STATE_UNSPECIFIED_VALUE
The default value.
|
static int |
SUCCEEDED_VALUE
The review operation is succeeded.
|
| Modifier and Type | Method and Description |
|---|---|
static ReviewDocumentResponse.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<ReviewDocumentResponse.State> |
internalGetValueMap() |
static ReviewDocumentResponse.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ReviewDocumentResponse.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReviewDocumentResponse.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReviewDocumentResponse.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReviewDocumentResponse.State STATE_UNSPECIFIED
The default value. This value is used if the state is omitted.
STATE_UNSPECIFIED = 0;public static final ReviewDocumentResponse.State REJECTED
The review operation is rejected by the reviewer.
REJECTED = 1;public static final ReviewDocumentResponse.State SUCCEEDED
The review operation is succeeded.
SUCCEEDED = 2;public static final ReviewDocumentResponse.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The default value. This value is used if the state is omitted.
STATE_UNSPECIFIED = 0;public static final int REJECTED_VALUE
The review operation is rejected by the reviewer.
REJECTED = 1;public static final int SUCCEEDED_VALUE
The review operation is succeeded.
SUCCEEDED = 2;public static ReviewDocumentResponse.State[] values()
for (ReviewDocumentResponse.State c : ReviewDocumentResponse.State.values()) System.out.println(c);
public static ReviewDocumentResponse.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 ReviewDocumentResponse.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ReviewDocumentResponse.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ReviewDocumentResponse.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 ReviewDocumentResponse.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.