Enum Document.Provenance.OperationType (2.59.0)

public enum Document.Provenance.OperationType extends Enum<Document.Provenance.OperationType> implements ProtocolMessageEnum

If a processor or agent does an explicit operation on existing elements.

Protobuf enum google.cloud.documentai.v1beta3.Document.Provenance.OperationType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ADD

Add an element.

ADD = 1;

ADD_VALUE

Add an element.

ADD = 1;

EVAL_APPROVED

Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.

EVAL_APPROVED = 5 [deprecated = true];

EVAL_APPROVED_VALUE

Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.

EVAL_APPROVED = 5 [deprecated = true];

EVAL_REQUESTED

Deprecated. Request human review for the element identified by parent.

EVAL_REQUESTED = 4 [deprecated = true];

EVAL_REQUESTED_VALUE

Deprecated. Request human review for the element identified by parent.

EVAL_REQUESTED = 4 [deprecated = true];

EVAL_SKIPPED

Deprecated. Element is skipped in the validation process.

EVAL_SKIPPED = 6 [deprecated = true];

EVAL_SKIPPED_VALUE

Deprecated. Element is skipped in the validation process.

EVAL_SKIPPED = 6 [deprecated = true];

OPERATION_TYPE_UNSPECIFIED

Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a parent.

OPERATION_TYPE_UNSPECIFIED = 0;

OPERATION_TYPE_UNSPECIFIED_VALUE

Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a parent.

OPERATION_TYPE_UNSPECIFIED = 0;

REMOVE

Remove an element identified by parent.

REMOVE = 2;

REMOVE_VALUE

Remove an element identified by parent.

REMOVE = 2;

REPLACE

Currently unused. Replace an element identified by parent.

REPLACE = 3;

REPLACE_VALUE

Currently unused. Replace an element identified by parent.

REPLACE = 3;

UNRECOGNIZED
UPDATE

Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.

UPDATE = 7;

UPDATE_VALUE

Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.

UPDATE = 7;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()