Enum Document.Entity.Method (2.77.0)

public enum Document.Entity.Method extends Enum<Document.Entity.Method> implements ProtocolMessageEnum

Specifies how the entity's value is obtained.

Protobuf enum google.cloud.documentai.v1.Document.Entity.Method

Implements

ProtocolMessageEnum

Static Fields

Name Description
DERIVE

The entity's value is derived through inference and is not necessarily an exact text extraction from the document.

DERIVE = 2;

DERIVE_VALUE

The entity's value is derived through inference and is not necessarily an exact text extraction from the document.

DERIVE = 2;

EXTRACT

The entity's value is directly extracted as-is from the document text.

EXTRACT = 1;

EXTRACT_VALUE

The entity's value is directly extracted as-is from the document text.

EXTRACT = 1;

METHOD_UNSPECIFIED

When the method is not specified, it should be treated as EXTRACT.

METHOD_UNSPECIFIED = 0;

METHOD_UNSPECIFIED_VALUE

When the method is not specified, it should be treated as EXTRACT.

METHOD_UNSPECIFIED = 0;

UNRECOGNIZED

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()