Interface Document.PageOrBuilder (2.6.2)

public static interface Document.PageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlocks(int index)

public abstract Document.Page.Block getBlocks(int index)

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta1.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Block

getBlocksCount()

public abstract int getBlocksCount()

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta1.Document.Page.Block blocks = 5;

Returns
TypeDescription
int

getBlocksList()

public abstract List<Document.Page.Block> getBlocksList()

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta1.Document.Page.Block blocks = 5;

Returns
TypeDescription
List<Block>

getBlocksOrBuilder(int index)

public abstract Document.Page.BlockOrBuilder getBlocksOrBuilder(int index)

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta1.Document.Page.Block blocks = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.BlockOrBuilder

getBlocksOrBuilderList()

public abstract List<? extends Document.Page.BlockOrBuilder> getBlocksOrBuilderList()

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

repeated .google.cloud.documentai.v1beta1.Document.Page.Block blocks = 5;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.BlockOrBuilder>

getDetectedLanguages(int index)

public abstract Document.Page.DetectedLanguage getDetectedLanguages(int index)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguage

getDetectedLanguagesCount()

public abstract int getDetectedLanguagesCount()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
int

getDetectedLanguagesList()

public abstract List<Document.Page.DetectedLanguage> getDetectedLanguagesList()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
List<DetectedLanguage>

getDetectedLanguagesOrBuilder(int index)

public abstract Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.DetectedLanguageOrBuilder

getDetectedLanguagesOrBuilderList()

public abstract List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()

A list of detected languages together with confidence.

repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguageOrBuilder>

getDimension()

public abstract Document.Page.Dimension getDimension()

Physical dimension of the page.

.google.cloud.documentai.v1beta1.Document.Page.Dimension dimension = 2;

Returns
TypeDescription
Document.Page.Dimension

The dimension.

getDimensionOrBuilder()

public abstract Document.Page.DimensionOrBuilder getDimensionOrBuilder()

Physical dimension of the page.

.google.cloud.documentai.v1beta1.Document.Page.Dimension dimension = 2;

Returns
TypeDescription
Document.Page.DimensionOrBuilder

getFormFields(int index)

public abstract Document.Page.FormField getFormFields(int index)

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.FormField form_fields = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.FormField

getFormFieldsCount()

public abstract int getFormFieldsCount()

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.FormField form_fields = 11;

Returns
TypeDescription
int

getFormFieldsList()

public abstract List<Document.Page.FormField> getFormFieldsList()

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.FormField form_fields = 11;

Returns
TypeDescription
List<FormField>

getFormFieldsOrBuilder(int index)

public abstract Document.Page.FormFieldOrBuilder getFormFieldsOrBuilder(int index)

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.FormField form_fields = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.FormFieldOrBuilder

getFormFieldsOrBuilderList()

public abstract List<? extends Document.Page.FormFieldOrBuilder> getFormFieldsOrBuilderList()

A list of visually detected form fields on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.FormField form_fields = 11;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.FormFieldOrBuilder>

getLayout()

public abstract Document.Page.Layout getLayout()

Layout for the page.

.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 3;

Returns
TypeDescription
Document.Page.Layout

The layout.

getLayoutOrBuilder()

public abstract Document.Page.LayoutOrBuilder getLayoutOrBuilder()

Layout for the page.

.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 3;

Returns
TypeDescription
Document.Page.LayoutOrBuilder

getLines(int index)

public abstract Document.Page.Line getLines(int index)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1beta1.Document.Page.Line lines = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Line

getLinesCount()

public abstract int getLinesCount()

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1beta1.Document.Page.Line lines = 7;

Returns
TypeDescription
int

getLinesList()

public abstract List<Document.Page.Line> getLinesList()

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1beta1.Document.Page.Line lines = 7;

Returns
TypeDescription
List<Line>

getLinesOrBuilder(int index)

public abstract Document.Page.LineOrBuilder getLinesOrBuilder(int index)

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1beta1.Document.Page.Line lines = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.LineOrBuilder

getLinesOrBuilderList()

public abstract List<? extends Document.Page.LineOrBuilder> getLinesOrBuilderList()

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

repeated .google.cloud.documentai.v1beta1.Document.Page.Line lines = 7;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.LineOrBuilder>

getPageNumber()

public abstract int getPageNumber()

1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.

int32 page_number = 1;

Returns
TypeDescription
int

The pageNumber.

getParagraphs(int index)

public abstract Document.Page.Paragraph getParagraphs(int index)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1beta1.Document.Page.Paragraph paragraphs = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Paragraph

getParagraphsCount()

public abstract int getParagraphsCount()

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1beta1.Document.Page.Paragraph paragraphs = 6;

Returns
TypeDescription
int

getParagraphsList()

public abstract List<Document.Page.Paragraph> getParagraphsList()

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1beta1.Document.Page.Paragraph paragraphs = 6;

Returns
TypeDescription
List<Paragraph>

getParagraphsOrBuilder(int index)

public abstract Document.Page.ParagraphOrBuilder getParagraphsOrBuilder(int index)

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1beta1.Document.Page.Paragraph paragraphs = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.ParagraphOrBuilder

getParagraphsOrBuilderList()

public abstract List<? extends Document.Page.ParagraphOrBuilder> getParagraphsOrBuilderList()

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

repeated .google.cloud.documentai.v1beta1.Document.Page.Paragraph paragraphs = 6;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.ParagraphOrBuilder>

getTables(int index)

public abstract Document.Page.Table getTables(int index)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Table

getTablesCount()

public abstract int getTablesCount()

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;

Returns
TypeDescription
int

getTablesList()

public abstract List<Document.Page.Table> getTablesList()

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;

Returns
TypeDescription
List<Table>

getTablesOrBuilder(int index)

public abstract Document.Page.TableOrBuilder getTablesOrBuilder(int index)

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.TableOrBuilder

getTablesOrBuilderList()

public abstract List<? extends Document.Page.TableOrBuilder> getTablesOrBuilderList()

A list of visually detected tables on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.TableOrBuilder>

getTokens(int index)

public abstract Document.Page.Token getTokens(int index)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.Token

getTokensCount()

public abstract int getTokensCount()

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;

Returns
TypeDescription
int

getTokensList()

public abstract List<Document.Page.Token> getTokensList()

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;

Returns
TypeDescription
List<Token>

getTokensOrBuilder(int index)

public abstract Document.Page.TokenOrBuilder getTokensOrBuilder(int index)

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.TokenOrBuilder

getTokensOrBuilderList()

public abstract List<? extends Document.Page.TokenOrBuilder> getTokensOrBuilderList()

A list of visually detected tokens on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.TokenOrBuilder>

getVisualElements(int index)

public abstract Document.Page.VisualElement getVisualElements(int index)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.VisualElement visual_elements = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.VisualElement

getVisualElementsCount()

public abstract int getVisualElementsCount()

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.VisualElement visual_elements = 9;

Returns
TypeDescription
int

getVisualElementsList()

public abstract List<Document.Page.VisualElement> getVisualElementsList()

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.VisualElement visual_elements = 9;

Returns
TypeDescription
List<VisualElement>

getVisualElementsOrBuilder(int index)

public abstract Document.Page.VisualElementOrBuilder getVisualElementsOrBuilder(int index)

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.VisualElement visual_elements = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document.Page.VisualElementOrBuilder

getVisualElementsOrBuilderList()

public abstract List<? extends Document.Page.VisualElementOrBuilder> getVisualElementsOrBuilderList()

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

repeated .google.cloud.documentai.v1beta1.Document.Page.VisualElement visual_elements = 9;

Returns
TypeDescription
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.VisualElementOrBuilder>

hasDimension()

public abstract boolean hasDimension()

Physical dimension of the page.

.google.cloud.documentai.v1beta1.Document.Page.Dimension dimension = 2;

Returns
TypeDescription
boolean

Whether the dimension field is set.

hasLayout()

public abstract boolean hasLayout()

Layout for the page.

.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 3;

Returns
TypeDescription
boolean

Whether the layout field is set.