Package com.google.cloud.documentai.v1
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
Modifier and TypeMethodDescriptiongetBlocks(int index) A list of visually detected text blocks on the page.intA list of visually detected text blocks on the page.A list of visually detected text blocks on the page.getBlocksOrBuilder(int index) A list of visually detected text blocks on the page.List<? extends Document.Page.BlockOrBuilder>A list of visually detected text blocks on the page.getDetectedBarcodes(int index) A list of detected barcodes.intA list of detected barcodes.A list of detected barcodes.getDetectedBarcodesOrBuilder(int index) A list of detected barcodes.List<? extends Document.Page.DetectedBarcodeOrBuilder>A list of detected barcodes.getDetectedLanguages(int index) A list of detected languages together with confidence.intA list of detected languages together with confidence.A list of detected languages together with confidence.getDetectedLanguagesOrBuilder(int index) A list of detected languages together with confidence.List<? extends Document.Page.DetectedLanguageOrBuilder>A list of detected languages together with confidence.Physical dimension of the page.Physical dimension of the page.getFormFields(int index) A list of visually detected form fields on the page.intA list of visually detected form fields on the page.A list of visually detected form fields on the page.getFormFieldsOrBuilder(int index) A list of visually detected form fields on the page.List<? extends Document.Page.FormFieldOrBuilder>A list of visually detected form fields on the page.getImage()Rendered image for this page.Rendered image for this page.Image quality scores.Image quality scores.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.getLines(int index) A list of visually detected text lines on the page.intA list of visually detected text lines on the page.A list of visually detected text lines on the page.getLinesOrBuilder(int index) A list of visually detected text lines on the page.List<? extends Document.Page.LineOrBuilder>A list of visually detected text lines on the page.int1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].getParagraphs(int index) A list of visually detected text paragraphs on the page.intA list of visually detected text paragraphs on the page.A list of visually detected text paragraphs on the page.getParagraphsOrBuilder(int index) A list of visually detected text paragraphs on the page.List<? extends Document.Page.ParagraphOrBuilder>A list of visually detected text paragraphs on the page.Deprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated.Deprecated.getSymbols(int index) A list of visually detected symbols on the page.intA list of visually detected symbols on the page.A list of visually detected symbols on the page.getSymbolsOrBuilder(int index) A list of visually detected symbols on the page.List<? extends Document.Page.SymbolOrBuilder>A list of visually detected symbols on the page.getTables(int index) A list of visually detected tables on the page.intA list of visually detected tables on the page.A list of visually detected tables on the page.getTablesOrBuilder(int index) A list of visually detected tables on the page.List<? extends Document.Page.TableOrBuilder>A list of visually detected tables on the page.getTokens(int index) A list of visually detected tokens on the page.intA list of visually detected tokens on the page.A list of visually detected tokens on the page.getTokensOrBuilder(int index) A list of visually detected tokens on the page.List<? extends Document.Page.TokenOrBuilder>A list of visually detected tokens on the page.getTransforms(int index) Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].intTransformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].getTransformsOrBuilder(int index) Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].List<? extends Document.Page.MatrixOrBuilder>Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].getVisualElements(int index) A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.intA list of detected non-text visual elements, for example, checkbox, signature etc. on the page.A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.getVisualElementsOrBuilder(int index) A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.List<? extends Document.Page.VisualElementOrBuilder>A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.booleanPhysical dimension of the page.booleanhasImage()Rendered image for this page.booleanImage quality scores.boolean[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.booleanDeprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPageNumber
int getPageNumber()1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual processing.
int32 page_number = 1;- Returns:
- The pageNumber.
-
hasImage
boolean hasImage()Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
.google.cloud.documentai.v1.Document.Page.Image image = 13;- Returns:
- Whether the image field is set.
-
getImage
Document.Page.Image getImage()Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
.google.cloud.documentai.v1.Document.Page.Image image = 13;- Returns:
- The image.
-
getImageOrBuilder
Document.Page.ImageOrBuilder getImageOrBuilder()Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
.google.cloud.documentai.v1.Document.Page.Image image = 13; -
getTransformsList
List<Document.Page.Matrix> getTransformsList()Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; -
getTransforms
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; -
getTransformsCount
int getTransformsCount()Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; -
getTransformsOrBuilderList
List<? extends Document.Page.MatrixOrBuilder> getTransformsOrBuilderList()Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; -
getTransformsOrBuilder
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].
repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; -
hasDimension
boolean hasDimension()Physical dimension of the page.
.google.cloud.documentai.v1.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.v1.Document.Page.Dimension dimension = 2;- Returns:
- The dimension.
-
getDimensionOrBuilder
Document.Page.DimensionOrBuilder getDimensionOrBuilder()Physical dimension of the page.
.google.cloud.documentai.v1.Document.Page.Dimension dimension = 2; -
hasLayout
boolean hasLayout()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1.Document.Page.Layout layout = 3;- Returns:
- Whether the layout field is set.
-
getLayout
Document.Page.Layout getLayout()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1.Document.Page.Layout layout = 3;- Returns:
- The layout.
-
getLayoutOrBuilder
Document.Page.LayoutOrBuilder getLayoutOrBuilder()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
.google.cloud.documentai.v1.Document.Page.Layout layout = 3; -
getDetectedLanguagesList
List<Document.Page.DetectedLanguage> getDetectedLanguagesList()A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; -
getDetectedLanguages
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; -
getDetectedLanguagesCount
int getDetectedLanguagesCount()A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.DetectedLanguage detected_languages = 4; -
getDetectedLanguagesOrBuilder
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.Block blocks = 5; -
getBlocks
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.v1.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.v1.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.v1.Document.Page.Block blocks = 5; -
getBlocksOrBuilder
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.v1.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.v1.Document.Page.Paragraph paragraphs = 6; -
getParagraphs
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.v1.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.v1.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.v1.Document.Page.Paragraph paragraphs = 6; -
getParagraphsOrBuilder
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.v1.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.v1.Document.Page.Line lines = 7; -
getLines
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.v1.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.v1.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.v1.Document.Page.Line lines = 7; -
getLinesOrBuilder
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.v1.Document.Page.Line lines = 7; -
getTokensList
List<Document.Page.Token> getTokensList()A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8; -
getTokens
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8; -
getTokensCount
int getTokensCount()A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.Token tokens = 8; -
getTokensOrBuilder
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8; -
getVisualElementsList
List<Document.Page.VisualElement> getVisualElementsList()A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9; -
getVisualElements
A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9; -
getVisualElementsCount
int getVisualElementsCount()A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9; -
getVisualElementsOrBuilderList
List<? extends Document.Page.VisualElementOrBuilder> getVisualElementsOrBuilderList()A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9; -
getVisualElementsOrBuilder
A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.Table tables = 10; -
getTables
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10; -
getTablesCount
int getTablesCount()A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.Table tables = 10; -
getTablesOrBuilder
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.FormField form_fields = 11; -
getFormFields
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11; -
getFormFieldsCount
int getFormFieldsCount()A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.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.v1.Document.Page.FormField form_fields = 11; -
getFormFieldsOrBuilder
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11; -
getSymbolsList
List<Document.Page.Symbol> getSymbolsList()A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; -
getSymbols
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; -
getSymbolsCount
int getSymbolsCount()A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; -
getSymbolsOrBuilderList
List<? extends Document.Page.SymbolOrBuilder> getSymbolsOrBuilderList()A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; -
getSymbolsOrBuilder
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; -
getDetectedBarcodesList
List<Document.Page.DetectedBarcode> getDetectedBarcodesList()A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; -
getDetectedBarcodes
A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; -
getDetectedBarcodesCount
int getDetectedBarcodesCount()A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; -
getDetectedBarcodesOrBuilderList
List<? extends Document.Page.DetectedBarcodeOrBuilder> getDetectedBarcodesOrBuilderList()A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; -
getDetectedBarcodesOrBuilder
A list of detected barcodes.
repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; -
hasImageQualityScores
boolean hasImageQualityScores()Image quality scores.
.google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;- Returns:
- Whether the imageQualityScores field is set.
-
getImageQualityScores
Document.Page.ImageQualityScores getImageQualityScores()Image quality scores.
.google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;- Returns:
- The imageQualityScores.
-
getImageQualityScoresOrBuilder
Document.Page.ImageQualityScoresOrBuilder getImageQualityScoresOrBuilder()Image quality scores.
.google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17; -
hasProvenance
Deprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=549The history of this page.
.google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];- Returns:
- Whether the provenance field is set.
-
getProvenance
Deprecated.google.cloud.documentai.v1.Document.Page.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=549The history of this page.
.google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];- Returns:
- The provenance.
-
getProvenanceOrBuilder
Deprecated.The history of this page.
.google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
-