public static enum Document.Provenance.OperationType extends Enum<Document.Provenance.OperationType> implements com.google.protobuf.ProtocolMessageEnum
If a processor or agent does an explicit operation on existing elements.Protobuf enum
google.cloud.documentai.v1beta3.Document.Provenance.OperationType| Enum Constant and Description |
|---|
ADD
Add an element.
|
EVAL_APPROVED
Element is review and approved at human review, confidence will be set
to 1.0
|
EVAL_REQUESTED
Element is requested for human review.
|
OPERATION_TYPE_UNSPECIFIED
Operation type unspecified.
|
REMOVE
The element is removed.
|
REPLACE
Explicitly replaces the element(s) identified by `parents`.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
Add an element.
|
static int |
EVAL_APPROVED_VALUE
Element is review and approved at human review, confidence will be set
to 1.0
|
static int |
EVAL_REQUESTED_VALUE
Element is requested for human review.
|
static int |
OPERATION_TYPE_UNSPECIFIED_VALUE
Operation type unspecified.
|
static int |
REMOVE_VALUE
The element is removed.
|
static int |
REPLACE_VALUE
Explicitly replaces the element(s) identified by `parents`.
|
| Modifier and Type | Method and Description |
|---|---|
static Document.Provenance.OperationType |
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<Document.Provenance.OperationType> |
internalGetValueMap() |
static Document.Provenance.OperationType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Document.Provenance.OperationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Document.Provenance.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.Provenance.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.Provenance.OperationType OPERATION_TYPE_UNSPECIFIED
Operation type unspecified.
OPERATION_TYPE_UNSPECIFIED = 0;public static final Document.Provenance.OperationType ADD
Add an element. Implicit if no `parents` are set for the provenance.
ADD = 1;public static final Document.Provenance.OperationType REMOVE
The element is removed. No `parents` should be set.
REMOVE = 2;public static final Document.Provenance.OperationType REPLACE
Explicitly replaces the element(s) identified by `parents`.
REPLACE = 3;public static final Document.Provenance.OperationType EVAL_REQUESTED
Element is requested for human review.
EVAL_REQUESTED = 4;public static final Document.Provenance.OperationType EVAL_APPROVED
Element is review and approved at human review, confidence will be set to 1.0
EVAL_APPROVED = 5;public static final Document.Provenance.OperationType UNRECOGNIZED
public static final int OPERATION_TYPE_UNSPECIFIED_VALUE
Operation type unspecified.
OPERATION_TYPE_UNSPECIFIED = 0;public static final int ADD_VALUE
Add an element. Implicit if no `parents` are set for the provenance.
ADD = 1;public static final int REMOVE_VALUE
The element is removed. No `parents` should be set.
REMOVE = 2;public static final int REPLACE_VALUE
Explicitly replaces the element(s) identified by `parents`.
REPLACE = 3;public static final int EVAL_REQUESTED_VALUE
Element is requested for human review.
EVAL_REQUESTED = 4;public static final int EVAL_APPROVED_VALUE
Element is review and approved at human review, confidence will be set to 1.0
EVAL_APPROVED = 5;public static Document.Provenance.OperationType[] values()
for (Document.Provenance.OperationType c : Document.Provenance.OperationType.values()) System.out.println(c);
public static Document.Provenance.OperationType 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 Document.Provenance.OperationType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Document.Provenance.OperationType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Document.Provenance.OperationType> 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 Document.Provenance.OperationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.