Interface Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder (2.59.0)

public static interface Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPageSpan()

public abstract Document.ChunkedDocument.Chunk.ChunkPageSpan getPageSpan()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan

The pageSpan.

getPageSpanOrBuilder()

public abstract Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder getPageSpanOrBuilder()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder

getText()

public abstract String getText()

Header in text format.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Header in text format.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasPageSpan()

public abstract boolean hasPageSpan()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
boolean

Whether the pageSpan field is set.