public static enum RevisionRef.RevisionCase extends Enum<RevisionRef.RevisionCase> implements com.google.protobuf.ProtocolMessageEnum
Some predefined revision cases.Protobuf enum
google.cloud.documentai.v1beta3.RevisionRef.RevisionCase| Enum Constant and Description |
|---|
BASE_OCR_REVISION
The first (OCR) revision.
|
LATEST_HUMAN_REVIEW
The latest revision made by a human.
|
LATEST_TIMESTAMP
The latest revision based on timestamp.
|
REVISION_CASE_UNSPECIFIED
Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_OCR_REVISION_VALUE
The first (OCR) revision.
|
static int |
LATEST_HUMAN_REVIEW_VALUE
The latest revision made by a human.
|
static int |
LATEST_TIMESTAMP_VALUE
The latest revision based on timestamp.
|
static int |
REVISION_CASE_UNSPECIFIED_VALUE
Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.
|
| Modifier and Type | Method and Description |
|---|---|
static RevisionRef.RevisionCase |
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<RevisionRef.RevisionCase> |
internalGetValueMap() |
static RevisionRef.RevisionCase |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RevisionRef.RevisionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RevisionRef.RevisionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionRef.RevisionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevisionRef.RevisionCase REVISION_CASE_UNSPECIFIED
Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.
REVISION_CASE_UNSPECIFIED = 0;public static final RevisionRef.RevisionCase LATEST_HUMAN_REVIEW
The latest revision made by a human.
LATEST_HUMAN_REVIEW = 1;public static final RevisionRef.RevisionCase LATEST_TIMESTAMP
The latest revision based on timestamp.
LATEST_TIMESTAMP = 2;public static final RevisionRef.RevisionCase BASE_OCR_REVISION
The first (OCR) revision.
BASE_OCR_REVISION = 3;public static final RevisionRef.RevisionCase UNRECOGNIZED
public static final int REVISION_CASE_UNSPECIFIED_VALUE
Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.
REVISION_CASE_UNSPECIFIED = 0;public static final int LATEST_HUMAN_REVIEW_VALUE
The latest revision made by a human.
LATEST_HUMAN_REVIEW = 1;public static final int LATEST_TIMESTAMP_VALUE
The latest revision based on timestamp.
LATEST_TIMESTAMP = 2;public static final int BASE_OCR_REVISION_VALUE
The first (OCR) revision.
BASE_OCR_REVISION = 3;public static RevisionRef.RevisionCase[] values()
for (RevisionRef.RevisionCase c : RevisionRef.RevisionCase.values()) System.out.println(c);
public static RevisionRef.RevisionCase 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 RevisionRef.RevisionCase valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RevisionRef.RevisionCase forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RevisionRef.RevisionCase> 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 RevisionRef.RevisionCase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.