Interface Document.PageAnchor.PageRefOrBuilder (2.4.3)

public static interface Document.PageAnchor.PageRefOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLayoutId()

public abstract String getLayoutId()

Optional. The Page.Layout.id on the page that this element references. If [LayoutRef.type][] is specified this id must also be specified.

string layout_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The layoutId.

getLayoutIdBytes()

public abstract ByteString getLayoutIdBytes()

Optional. The Page.Layout.id on the page that this element references. If [LayoutRef.type][] is specified this id must also be specified.

string layout_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for layoutId.

getLayoutType()

public abstract Document.PageAnchor.PageRef.LayoutType getLayoutType()

Optional. The type of the layout element that is being referenced. If not specified the whole page is assumed to be referenced.

.google.cloud.documentai.v1beta2.Document.PageAnchor.PageRef.LayoutType layout_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Document.PageAnchor.PageRef.LayoutType

The layoutType.

getLayoutTypeValue()

public abstract int getLayoutTypeValue()

Optional. The type of the layout element that is being referenced. If not specified the whole page is assumed to be referenced.

.google.cloud.documentai.v1beta2.Document.PageAnchor.PageRef.LayoutType layout_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for layoutType.

getPage()

public abstract long getPage()

Required. Index into the Document.pages element

int64 page = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
long

The page.