public static interface Document.PageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Document.Page.Block |
getBlocks(int index)
A list of visually detected text blocks on the page.
|
int |
getBlocksCount()
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.BlockOrBuilder |
getBlocksOrBuilder(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.DetectedBarcode |
getDetectedBarcodes(int index)
A list of detected barcodes.
|
int |
getDetectedBarcodesCount()
A list of detected barcodes.
|
List<Document.Page.DetectedBarcode> |
getDetectedBarcodesList()
A list of detected barcodes.
|
Document.Page.DetectedBarcodeOrBuilder |
getDetectedBarcodesOrBuilder(int index)
A list of detected barcodes.
|
List<? extends Document.Page.DetectedBarcodeOrBuilder> |
getDetectedBarcodesOrBuilderList()
A list of detected barcodes.
|
Document.Page.DetectedLanguage |
getDetectedLanguages(int index)
A list of detected languages together with confidence.
|
int |
getDetectedLanguagesCount()
A list of detected languages together with confidence.
|
List<Document.Page.DetectedLanguage> |
getDetectedLanguagesList()
A list of detected languages together with confidence.
|
Document.Page.DetectedLanguageOrBuilder |
getDetectedLanguagesOrBuilder(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.Dimension |
getDimension()
Physical dimension of the page.
|
Document.Page.DimensionOrBuilder |
getDimensionOrBuilder()
Physical dimension of the page.
|
Document.Page.FormField |
getFormFields(int index)
A list of visually detected form fields on the page.
|
int |
getFormFieldsCount()
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.FormFieldOrBuilder |
getFormFieldsOrBuilder(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.Image |
getImage()
Rendered image for this page.
|
Document.Page.ImageOrBuilder |
getImageOrBuilder()
Rendered image for this page.
|
Document.Page.ImageQualityScores |
getImageQualityScores()
Image quality scores.
|
Document.Page.ImageQualityScoresOrBuilder |
getImageQualityScoresOrBuilder()
Image quality scores.
|
Document.Page.Layout |
getLayout()
[Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the
page.
|
Document.Page.LayoutOrBuilder |
getLayoutOrBuilder()
[Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the
page.
|
Document.Page.Line |
getLines(int index)
A list of visually detected text lines on the page.
|
int |
getLinesCount()
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.LineOrBuilder |
getLinesOrBuilder(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.
|
int |
getPageNumber()
1-based index for current
[Page][google.cloud.documentai.v1beta2.Document.Page] in a parent
[Document][google.cloud.documentai.v1beta2.Document].
|
Document.Page.Paragraph |
getParagraphs(int index)
A list of visually detected text paragraphs on the page.
|
int |
getParagraphsCount()
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.ParagraphOrBuilder |
getParagraphsOrBuilder(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.Provenance |
getProvenance()
Deprecated.
google.cloud.documentai.v1beta2.Document.Page.provenance is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=577
|
Document.ProvenanceOrBuilder |
getProvenanceOrBuilder()
Deprecated.
|
Document.Page.Symbol |
getSymbols(int index)
A list of visually detected symbols on the page.
|
int |
getSymbolsCount()
A list of visually detected symbols on the page.
|
List<Document.Page.Symbol> |
getSymbolsList()
A list of visually detected symbols on the page.
|
Document.Page.SymbolOrBuilder |
getSymbolsOrBuilder(int index)
A list of visually detected symbols on the page.
|
List<? extends Document.Page.SymbolOrBuilder> |
getSymbolsOrBuilderList()
A list of visually detected symbols on the page.
|
Document.Page.Table |
getTables(int index)
A list of visually detected tables on the page.
|
int |
getTablesCount()
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.TableOrBuilder |
getTablesOrBuilder(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.Token |
getTokens(int index)
A list of visually detected tokens on the page.
|
int |
getTokensCount()
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.TokenOrBuilder |
getTokensOrBuilder(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.Matrix |
getTransforms(int index)
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
|
int |
getTransformsCount()
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
|
List<Document.Page.Matrix> |
getTransformsList()
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
|
Document.Page.MatrixOrBuilder |
getTransformsOrBuilder(int index)
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
|
List<? extends Document.Page.MatrixOrBuilder> |
getTransformsOrBuilderList()
Transformation matrices that were applied to the original document image
to produce
[Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
|
Document.Page.VisualElement |
getVisualElements(int index)
A list of detected non-text visual elements e.g.
|
int |
getVisualElementsCount()
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.VisualElementOrBuilder |
getVisualElementsOrBuilder(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.
|
boolean |
hasDimension()
Physical dimension of the page.
|
boolean |
hasImage()
Rendered image for this page.
|
boolean |
hasImageQualityScores()
Image quality scores.
|
boolean |
hasLayout()
[Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the
page.
|
boolean |
hasProvenance()
Deprecated.
google.cloud.documentai.v1beta2.Document.Page.provenance is deprecated. See
google/cloud/documentai/v1beta2/document.proto;l=577
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getPageNumber()
1-based index for current [Page][google.cloud.documentai.v1beta2.Document.Page] in a parent [Document][google.cloud.documentai.v1beta2.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1beta2.Document] for individual processing.
int32 page_number = 1;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.v1beta2.Document.Page.Image image = 13;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.v1beta2.Document.Page.Image image = 13;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.v1beta2.Document.Page.Image image = 13;List<Document.Page.Matrix> getTransformsList()
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
repeated .google.cloud.documentai.v1beta2.Document.Page.Matrix transforms = 14;Document.Page.Matrix getTransforms(int index)
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
repeated .google.cloud.documentai.v1beta2.Document.Page.Matrix transforms = 14;int getTransformsCount()
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
repeated .google.cloud.documentai.v1beta2.Document.Page.Matrix transforms = 14;List<? extends Document.Page.MatrixOrBuilder> getTransformsOrBuilderList()
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
repeated .google.cloud.documentai.v1beta2.Document.Page.Matrix transforms = 14;Document.Page.MatrixOrBuilder getTransformsOrBuilder(int index)
Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1beta2.Document.Page.image].
repeated .google.cloud.documentai.v1beta2.Document.Page.Matrix transforms = 14;boolean hasDimension()
Physical dimension of the page.
.google.cloud.documentai.v1beta2.Document.Page.Dimension dimension = 2;Document.Page.Dimension getDimension()
Physical dimension of the page.
.google.cloud.documentai.v1beta2.Document.Page.Dimension dimension = 2;Document.Page.DimensionOrBuilder getDimensionOrBuilder()
Physical dimension of the page.
.google.cloud.documentai.v1beta2.Document.Page.Dimension dimension = 2;boolean hasLayout()
[Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta2.Document.Page.Layout layout = 3;Document.Page.Layout getLayout()
[Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta2.Document.Page.Layout layout = 3;Document.Page.LayoutOrBuilder getLayoutOrBuilder()
[Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the page.
.google.cloud.documentai.v1beta2.Document.Page.Layout layout = 3;List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedLanguage detected_languages = 4;
Document.Page.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedLanguage detected_languages = 4;
int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedLanguage detected_languages = 4;
List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedLanguage detected_languages = 4;
Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedLanguage detected_languages = 4;
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.v1beta2.Document.Page.Block blocks = 5;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.v1beta2.Document.Page.Block blocks = 5;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.v1beta2.Document.Page.Block blocks = 5;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.v1beta2.Document.Page.Block blocks = 5;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.v1beta2.Document.Page.Block blocks = 5;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.v1beta2.Document.Page.Paragraph paragraphs = 6;
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.v1beta2.Document.Page.Paragraph paragraphs = 6;
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.v1beta2.Document.Page.Paragraph paragraphs = 6;
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.v1beta2.Document.Page.Paragraph paragraphs = 6;
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.v1beta2.Document.Page.Paragraph paragraphs = 6;
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.v1beta2.Document.Page.Line lines = 7;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.v1beta2.Document.Page.Line lines = 7;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.v1beta2.Document.Page.Line lines = 7;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.v1beta2.Document.Page.Line lines = 7;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.v1beta2.Document.Page.Line lines = 7;List<Document.Page.Token> getTokensList()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Token tokens = 8;Document.Page.Token getTokens(int index)
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Token tokens = 8;int getTokensCount()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Token tokens = 8;List<? extends Document.Page.TokenOrBuilder> getTokensOrBuilderList()
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Token tokens = 8;Document.Page.TokenOrBuilder getTokensOrBuilder(int index)
A list of visually detected tokens on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Token tokens = 8;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.v1beta2.Document.Page.VisualElement visual_elements = 9;
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.v1beta2.Document.Page.VisualElement visual_elements = 9;
int getVisualElementsCount()
A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.VisualElement visual_elements = 9;
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.v1beta2.Document.Page.VisualElement visual_elements = 9;
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.v1beta2.Document.Page.VisualElement visual_elements = 9;
List<Document.Page.Table> getTablesList()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Table tables = 10;Document.Page.Table getTables(int index)
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Table tables = 10;int getTablesCount()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Table tables = 10;List<? extends Document.Page.TableOrBuilder> getTablesOrBuilderList()
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Table tables = 10;Document.Page.TableOrBuilder getTablesOrBuilder(int index)
A list of visually detected tables on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Table tables = 10;List<Document.Page.FormField> getFormFieldsList()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.FormField form_fields = 11;
Document.Page.FormField getFormFields(int index)
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.FormField form_fields = 11;
int getFormFieldsCount()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.FormField form_fields = 11;
List<? extends Document.Page.FormFieldOrBuilder> getFormFieldsOrBuilderList()
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.FormField form_fields = 11;
Document.Page.FormFieldOrBuilder getFormFieldsOrBuilder(int index)
A list of visually detected form fields on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.FormField form_fields = 11;
List<Document.Page.Symbol> getSymbolsList()
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Symbol symbols = 12;Document.Page.Symbol getSymbols(int index)
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Symbol symbols = 12;int getSymbolsCount()
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Symbol symbols = 12;List<? extends Document.Page.SymbolOrBuilder> getSymbolsOrBuilderList()
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Symbol symbols = 12;Document.Page.SymbolOrBuilder getSymbolsOrBuilder(int index)
A list of visually detected symbols on the page.
repeated .google.cloud.documentai.v1beta2.Document.Page.Symbol symbols = 12;List<Document.Page.DetectedBarcode> getDetectedBarcodesList()
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode detected_barcodes = 15;
Document.Page.DetectedBarcode getDetectedBarcodes(int index)
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode detected_barcodes = 15;
int getDetectedBarcodesCount()
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode detected_barcodes = 15;
List<? extends Document.Page.DetectedBarcodeOrBuilder> getDetectedBarcodesOrBuilderList()
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode detected_barcodes = 15;
Document.Page.DetectedBarcodeOrBuilder getDetectedBarcodesOrBuilder(int index)
A list of detected barcodes.
repeated .google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode detected_barcodes = 15;
boolean hasImageQualityScores()
Image quality scores.
.google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores image_quality_scores = 17;
Document.Page.ImageQualityScores getImageQualityScores()
Image quality scores.
.google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores image_quality_scores = 17;
Document.Page.ImageQualityScoresOrBuilder getImageQualityScoresOrBuilder()
Image quality scores.
.google.cloud.documentai.v1beta2.Document.Page.ImageQualityScores image_quality_scores = 17;
@Deprecated boolean hasProvenance()
The history of this page.
.google.cloud.documentai.v1beta2.Document.Provenance provenance = 16 [deprecated = true];
@Deprecated Document.Provenance getProvenance()
The history of this page.
.google.cloud.documentai.v1beta2.Document.Provenance provenance = 16 [deprecated = true];
@Deprecated Document.ProvenanceOrBuilder getProvenanceOrBuilder()
The history of this page.
.google.cloud.documentai.v1beta2.Document.Provenance provenance = 16 [deprecated = true];
Copyright © 2024 Google LLC. All rights reserved.