Enum Document.PageAnchor.PageRef.LayoutType (2.31.0)

public enum Document.PageAnchor.PageRef.LayoutType extends Enum<Document.PageAnchor.PageRef.LayoutType> implements ProtocolMessageEnum

The type of layout that is being referenced.

Protobuf enum google.cloud.documentai.v1beta2.Document.PageAnchor.PageRef.LayoutType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
BLOCK

References a Page.blocks element.

BLOCK = 1;

BLOCK_VALUE

References a Page.blocks element.

BLOCK = 1;

FORM_FIELD

References a Page.form_fields element.

FORM_FIELD = 7;

FORM_FIELD_VALUE

References a Page.form_fields element.

FORM_FIELD = 7;

LAYOUT_TYPE_UNSPECIFIED

Layout Unspecified.

LAYOUT_TYPE_UNSPECIFIED = 0;

LAYOUT_TYPE_UNSPECIFIED_VALUE

Layout Unspecified.

LAYOUT_TYPE_UNSPECIFIED = 0;

LINE

References a Page.lines element.

LINE = 3;

LINE_VALUE

References a Page.lines element.

LINE = 3;

PARAGRAPH

References a Page.paragraphs element.

PARAGRAPH = 2;

PARAGRAPH_VALUE

References a Page.paragraphs element.

PARAGRAPH = 2;

TABLE

Refrrences a Page.tables element.

TABLE = 6;

TABLE_VALUE

Refrrences a Page.tables element.

TABLE = 6;

TOKEN

References a Page.tokens element.

TOKEN = 4;

TOKEN_VALUE

References a Page.tokens element.

TOKEN = 4;

UNRECOGNIZED
VISUAL_ELEMENT

References a Page.visual_elements element.

VISUAL_ELEMENT = 5;

VISUAL_ELEMENT_VALUE

References a Page.visual_elements element.

VISUAL_ELEMENT = 5;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()