Interface Document.PageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Page,Document.Page.Builder
- Enclosing class:
- Document
public static interface Document.PageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Document.Page.BlockgetBlocks(int index)A list of visually detected text blocks on the page.intgetBlocksCount()A list of visually detected text blocks on the page.List<Document.Page.Block>getBlocksList()A list of visually detected text blocks on the page.Document.Page.BlockOrBuildergetBlocksOrBuilder(int index)A list of visually detected text blocks on the page.List<? extends Document.Page.BlockOrBuilder>getBlocksOrBuilderList()A list of visually detected text blocks on the page.Document.Page.DetectedLanguagegetDetectedLanguages(int index)A list of detected languages together with confidence.intgetDetectedLanguagesCount()A list of detected languages together with confidence.List<Document.Page.DetectedLanguage>getDetectedLanguagesList()A list of detected languages together with confidence.Document.Page.DetectedLanguageOrBuildergetDetectedLanguagesOrBuilder(int index)A list of detected languages together with confidence.List<? extends Document.Page.DetectedLanguageOrBuilder>getDetectedLanguagesOrBuilderList()A list of detected languages together with confidence.Document.Page.DimensiongetDimension()Physical dimension of the page.Document.Page.DimensionOrBuildergetDimensionOrBuilder()Physical dimension of the page.Document.Page.FormFieldgetFormFields(int index)A list of visually detected form fields on the page.intgetFormFieldsCount()A list of visually detected form fields on the page.List<Document.Page.FormField>getFormFieldsList()A list of visually detected form fields on the page.Document.Page.FormFieldOrBuildergetFormFieldsOrBuilder(int index)A list of visually detected form fields on the page.List<? extends Document.Page.FormFieldOrBuilder>getFormFieldsOrBuilderList()A list of visually detected form fields on the page.Document.Page.LayoutgetLayout()[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.Document.Page.LayoutOrBuildergetLayoutOrBuilder()[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.Document.Page.LinegetLines(int index)A list of visually detected text lines on the page.intgetLinesCount()A list of visually detected text lines on the page.List<Document.Page.Line>getLinesList()A list of visually detected text lines on the page.Document.Page.LineOrBuildergetLinesOrBuilder(int index)A list of visually detected text lines on the page.List<? extends Document.Page.LineOrBuilder>getLinesOrBuilderList()A list of visually detected text lines on the page.intgetPageNumber()1-based index for current [Page][google.cloud.documentai.v1beta1.Document.Page] in a parent [Document][google.cloud.documentai.v1beta1.Document].Document.Page.ParagraphgetParagraphs(int index)A list of visually detected text paragraphs on the page.intgetParagraphsCount()A list of visually detected text paragraphs on the page.List<Document.Page.Paragraph>getParagraphsList()A list of visually detected text paragraphs on the page.Document.Page.ParagraphOrBuildergetParagraphsOrBuilder(int index)A list of visually detected text paragraphs on the page.List<? extends Document.Page.ParagraphOrBuilder>getParagraphsOrBuilderList()A list of visually detected text paragraphs on the page.Document.Page.TablegetTables(int index)A list of visually detected tables on the page.intgetTablesCount()A list of visually detected tables on the page.List<Document.Page.Table>getTablesList()A list of visually detected tables on the page.Document.Page.TableOrBuildergetTablesOrBuilder(int index)A list of visually detected tables on the page.List<? extends Document.Page.TableOrBuilder>getTablesOrBuilderList()A list of visually detected tables on the page.Document.Page.TokengetTokens(int index)A list of visually detected tokens on the page.intgetTokensCount()A list of visually detected tokens on the page.List<Document.Page.Token>getTokensList()A list of visually detected tokens on the page.Document.Page.TokenOrBuildergetTokensOrBuilder(int index)A list of visually detected tokens on the page.List<? extends Document.Page.TokenOrBuilder>getTokensOrBuilderList()A list of visually detected tokens on the page.Document.Page.VisualElementgetVisualElements(int index)A list of detected non-text visual elements e.g.intgetVisualElementsCount()A list of detected non-text visual elements e.g.List<Document.Page.VisualElement>getVisualElementsList()A list of detected non-text visual elements e.g.Document.Page.VisualElementOrBuildergetVisualElementsOrBuilder(int index)A list of detected non-text visual elements e.g.List<? extends Document.Page.VisualElementOrBuilder>getVisualElementsOrBuilderList()A list of detected non-text visual elements e.g.booleanhasDimension()Physical dimension of the page.booleanhasLayout()[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPageNumber
int getPageNumber()
1-based index for current [Page][google.cloud.documentai.v1beta1.Document.Page] in a parent [Document][google.cloud.documentai.v1beta1.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1beta1.Document] for individual processing.
int32 page_number = 1;- Returns:
- The pageNumber.
-
hasDimension
boolean hasDimension()
Physical dimension of the page.
.google.cloud.documentai.v1beta1.Document.Page.Dimension dimension = 2;- Returns:
- Whether the dimension field is set.
-
getDimension
Document.Page.Dimension getDimension()
Physical dimension of the page.
.google.cloud.documentai.v1beta1.Document.Page.Dimension dimension = 2;- Returns:
- The dimension.
-
getDimensionOrBuilder
Document.Page.DimensionOrBuilder getDimensionOrBuilder()
Physical dimension of the page.
.google.cloud.documentai.v1beta1.Document.Page.Dimension dimension = 2;
-
hasLayout
boolean hasLayout()
[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 3;- Returns:
- Whether the layout field is set.
-
getLayout
Document.Page.Layout getLayout()
[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 3;- Returns:
- The layout.
-
getLayoutOrBuilder
Document.Page.LayoutOrBuilder getLayoutOrBuilder()
[Layout][google.cloud.documentai.v1beta1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 3;
-
getDetectedLanguagesList
List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
-
getDetectedLanguages
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;
-
getDetectedLanguagesCount
int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
-
getDetectedLanguagesOrBuilderList
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;
-
getDetectedLanguagesOrBuilder
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;
-
getBlocksList
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;
-
getBlocks
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;
-
getBlocksCount
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;
-
getBlocksOrBuilderList
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;
-
getBlocksOrBuilder
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;
-
getParagraphsList
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;
-
getParagraphs
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;
-
getParagraphsCount
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;
-
getParagraphsOrBuilderList
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;
-
getParagraphsOrBuilder
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;
-
getLinesList
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;
-
getLines
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;
-
getLinesCount
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;
-
getLinesOrBuilderList
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;
-
getLinesOrBuilder
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;
-
getTokensList
List<Document.Page.Token> getTokensList()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;
-
getTokens
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;
-
getTokensCount
int getTokensCount()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta1.Document.Page.Token tokens = 8;
-
getTokensOrBuilderList
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;
-
getTokensOrBuilder
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;
-
getVisualElementsList
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;
-
getVisualElements
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;
-
getVisualElementsCount
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;
-
getVisualElementsOrBuilderList
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;
-
getVisualElementsOrBuilder
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;
-
getTablesList
List<Document.Page.Table> getTablesList()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;
-
getTables
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;
-
getTablesCount
int getTablesCount()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table tables = 10;
-
getTablesOrBuilderList
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;
-
getTablesOrBuilder
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;
-
getFormFieldsList
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;
-
getFormFields
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;
-
getFormFieldsCount
int getFormFieldsCount()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta1.Document.Page.FormField form_fields = 11;
-
getFormFieldsOrBuilderList
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;
-
getFormFieldsOrBuilder
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;
-
-