Class Document.Page

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.Document.Page
All Implemented Interfaces:
Document.PageOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Document

public static final class Document.Page extends com.google.protobuf.GeneratedMessage implements Document.PageOrBuilder
 A page in a [Document][google.cloud.documentai.v1.Document].
 
Protobuf type google.cloud.documentai.v1.Document.Page
See Also:
  • Field Details

    • PAGE_NUMBER_FIELD_NUMBER

      public static final int PAGE_NUMBER_FIELD_NUMBER
      See Also:
    • IMAGE_FIELD_NUMBER

      public static final int IMAGE_FIELD_NUMBER
      See Also:
    • TRANSFORMS_FIELD_NUMBER

      public static final int TRANSFORMS_FIELD_NUMBER
      See Also:
    • DIMENSION_FIELD_NUMBER

      public static final int DIMENSION_FIELD_NUMBER
      See Also:
    • LAYOUT_FIELD_NUMBER

      public static final int LAYOUT_FIELD_NUMBER
      See Also:
    • DETECTED_LANGUAGES_FIELD_NUMBER

      public static final int DETECTED_LANGUAGES_FIELD_NUMBER
      See Also:
    • BLOCKS_FIELD_NUMBER

      public static final int BLOCKS_FIELD_NUMBER
      See Also:
    • PARAGRAPHS_FIELD_NUMBER

      public static final int PARAGRAPHS_FIELD_NUMBER
      See Also:
    • LINES_FIELD_NUMBER

      public static final int LINES_FIELD_NUMBER
      See Also:
    • TOKENS_FIELD_NUMBER

      public static final int TOKENS_FIELD_NUMBER
      See Also:
    • VISUAL_ELEMENTS_FIELD_NUMBER

      public static final int VISUAL_ELEMENTS_FIELD_NUMBER
      See Also:
    • TABLES_FIELD_NUMBER

      public static final int TABLES_FIELD_NUMBER
      See Also:
    • FORM_FIELDS_FIELD_NUMBER

      public static final int FORM_FIELDS_FIELD_NUMBER
      See Also:
    • SYMBOLS_FIELD_NUMBER

      public static final int SYMBOLS_FIELD_NUMBER
      See Also:
    • DETECTED_BARCODES_FIELD_NUMBER

      public static final int DETECTED_BARCODES_FIELD_NUMBER
      See Also:
    • IMAGE_QUALITY_SCORES_FIELD_NUMBER

      public static final int IMAGE_QUALITY_SCORES_FIELD_NUMBER
      See Also:
    • PROVENANCE_FIELD_NUMBER

      public static final int PROVENANCE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getPageNumber

      public 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;
      Specified by:
      getPageNumber in interface Document.PageOrBuilder
      Returns:
      The pageNumber.
    • hasImage

      public 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;
      Specified by:
      hasImage in interface Document.PageOrBuilder
      Returns:
      Whether the image field is set.
    • getImage

      public 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;
      Specified by:
      getImage in interface Document.PageOrBuilder
      Returns:
      The image.
    • getImageOrBuilder

      public 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;
      Specified by:
      getImageOrBuilder in interface Document.PageOrBuilder
    • getTransformsList

      public 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;
      Specified by:
      getTransformsList in interface Document.PageOrBuilder
    • getTransformsOrBuilderList

      public 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;
      Specified by:
      getTransformsOrBuilderList in interface Document.PageOrBuilder
    • getTransformsCount

      public 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;
      Specified by:
      getTransformsCount in interface Document.PageOrBuilder
    • getTransforms

      public Document.Page.Matrix getTransforms(int index)
       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;
      Specified by:
      getTransforms in interface Document.PageOrBuilder
    • getTransformsOrBuilder

      public Document.Page.MatrixOrBuilder getTransformsOrBuilder(int index)
       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;
      Specified by:
      getTransformsOrBuilder in interface Document.PageOrBuilder
    • hasDimension

      public boolean hasDimension()
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
      Specified by:
      hasDimension in interface Document.PageOrBuilder
      Returns:
      Whether the dimension field is set.
    • getDimension

      public Document.Page.Dimension getDimension()
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
      Specified by:
      getDimension in interface Document.PageOrBuilder
      Returns:
      The dimension.
    • getDimensionOrBuilder

      public Document.Page.DimensionOrBuilder getDimensionOrBuilder()
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
      Specified by:
      getDimensionOrBuilder in interface Document.PageOrBuilder
    • hasLayout

      public boolean hasLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
      Specified by:
      hasLayout in interface Document.PageOrBuilder
      Returns:
      Whether the layout field is set.
    • getLayout

      public Document.Page.Layout getLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
      Specified by:
      getLayout in interface Document.PageOrBuilder
      Returns:
      The layout.
    • getLayoutOrBuilder

      public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
      Specified by:
      getLayoutOrBuilder in interface Document.PageOrBuilder
    • getDetectedLanguagesList

      public List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesList in interface Document.PageOrBuilder
    • getDetectedLanguagesOrBuilderList

      public 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;
      Specified by:
      getDetectedLanguagesOrBuilderList in interface Document.PageOrBuilder
    • getDetectedLanguagesCount

      public int getDetectedLanguagesCount()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesCount in interface Document.PageOrBuilder
    • getDetectedLanguages

      public Document.Page.DetectedLanguage getDetectedLanguages(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguages in interface Document.PageOrBuilder
    • getDetectedLanguagesOrBuilder

      public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesOrBuilder in interface Document.PageOrBuilder
    • getBlocksList

      public 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;
      Specified by:
      getBlocksList in interface Document.PageOrBuilder
    • getBlocksOrBuilderList

      public 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;
      Specified by:
      getBlocksOrBuilderList in interface Document.PageOrBuilder
    • getBlocksCount

      public 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;
      Specified by:
      getBlocksCount in interface Document.PageOrBuilder
    • getBlocks

      public 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.v1.Document.Page.Block blocks = 5;
      Specified by:
      getBlocks in interface Document.PageOrBuilder
    • getBlocksOrBuilder

      public 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.v1.Document.Page.Block blocks = 5;
      Specified by:
      getBlocksOrBuilder in interface Document.PageOrBuilder
    • getParagraphsList

      public 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;
      Specified by:
      getParagraphsList in interface Document.PageOrBuilder
    • getParagraphsOrBuilderList

      public 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;
      Specified by:
      getParagraphsOrBuilderList in interface Document.PageOrBuilder
    • getParagraphsCount

      public 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;
      Specified by:
      getParagraphsCount in interface Document.PageOrBuilder
    • getParagraphs

      public 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.v1.Document.Page.Paragraph paragraphs = 6;
      Specified by:
      getParagraphs in interface Document.PageOrBuilder
    • getParagraphsOrBuilder

      public 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.v1.Document.Page.Paragraph paragraphs = 6;
      Specified by:
      getParagraphsOrBuilder in interface Document.PageOrBuilder
    • getLinesList

      public 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;
      Specified by:
      getLinesList in interface Document.PageOrBuilder
    • getLinesOrBuilderList

      public 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;
      Specified by:
      getLinesOrBuilderList in interface Document.PageOrBuilder
    • getLinesCount

      public 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;
      Specified by:
      getLinesCount in interface Document.PageOrBuilder
    • getLines

      public 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.v1.Document.Page.Line lines = 7;
      Specified by:
      getLines in interface Document.PageOrBuilder
    • getLinesOrBuilder

      public 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.v1.Document.Page.Line lines = 7;
      Specified by:
      getLinesOrBuilder in interface Document.PageOrBuilder
    • getTokensList

      public List<Document.Page.Token> getTokensList()
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
      Specified by:
      getTokensList in interface Document.PageOrBuilder
    • getTokensOrBuilderList

      public 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;
      Specified by:
      getTokensOrBuilderList in interface Document.PageOrBuilder
    • getTokensCount

      public int getTokensCount()
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
      Specified by:
      getTokensCount in interface Document.PageOrBuilder
    • getTokens

      public Document.Page.Token getTokens(int index)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
      Specified by:
      getTokens in interface Document.PageOrBuilder
    • getTokensOrBuilder

      public Document.Page.TokenOrBuilder getTokensOrBuilder(int index)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
      Specified by:
      getTokensOrBuilder in interface Document.PageOrBuilder
    • getVisualElementsList

      public 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;
      Specified by:
      getVisualElementsList in interface Document.PageOrBuilder
    • getVisualElementsOrBuilderList

      public 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;
      Specified by:
      getVisualElementsOrBuilderList in interface Document.PageOrBuilder
    • getVisualElementsCount

      public 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;
      Specified by:
      getVisualElementsCount in interface Document.PageOrBuilder
    • getVisualElements

      public Document.Page.VisualElement getVisualElements(int index)
       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;
      Specified by:
      getVisualElements in interface Document.PageOrBuilder
    • getVisualElementsOrBuilder

      public Document.Page.VisualElementOrBuilder getVisualElementsOrBuilder(int index)
       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;
      Specified by:
      getVisualElementsOrBuilder in interface Document.PageOrBuilder
    • getTablesList

      public List<Document.Page.Table> getTablesList()
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
      Specified by:
      getTablesList in interface Document.PageOrBuilder
    • getTablesOrBuilderList

      public 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;
      Specified by:
      getTablesOrBuilderList in interface Document.PageOrBuilder
    • getTablesCount

      public int getTablesCount()
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
      Specified by:
      getTablesCount in interface Document.PageOrBuilder
    • getTables

      public Document.Page.Table getTables(int index)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
      Specified by:
      getTables in interface Document.PageOrBuilder
    • getTablesOrBuilder

      public Document.Page.TableOrBuilder getTablesOrBuilder(int index)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
      Specified by:
      getTablesOrBuilder in interface Document.PageOrBuilder
    • getFormFieldsList

      public 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;
      Specified by:
      getFormFieldsList in interface Document.PageOrBuilder
    • getFormFieldsOrBuilderList

      public 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;
      Specified by:
      getFormFieldsOrBuilderList in interface Document.PageOrBuilder
    • getFormFieldsCount

      public int getFormFieldsCount()
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
      Specified by:
      getFormFieldsCount in interface Document.PageOrBuilder
    • getFormFields

      public Document.Page.FormField getFormFields(int index)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
      Specified by:
      getFormFields in interface Document.PageOrBuilder
    • getFormFieldsOrBuilder

      public Document.Page.FormFieldOrBuilder getFormFieldsOrBuilder(int index)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
      Specified by:
      getFormFieldsOrBuilder in interface Document.PageOrBuilder
    • getSymbolsList

      public List<Document.Page.Symbol> getSymbolsList()
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
      Specified by:
      getSymbolsList in interface Document.PageOrBuilder
    • getSymbolsOrBuilderList

      public 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;
      Specified by:
      getSymbolsOrBuilderList in interface Document.PageOrBuilder
    • getSymbolsCount

      public int getSymbolsCount()
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
      Specified by:
      getSymbolsCount in interface Document.PageOrBuilder
    • getSymbols

      public Document.Page.Symbol getSymbols(int index)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
      Specified by:
      getSymbols in interface Document.PageOrBuilder
    • getSymbolsOrBuilder

      public Document.Page.SymbolOrBuilder getSymbolsOrBuilder(int index)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
      Specified by:
      getSymbolsOrBuilder in interface Document.PageOrBuilder
    • getDetectedBarcodesList

      public List<Document.Page.DetectedBarcode> getDetectedBarcodesList()
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
      Specified by:
      getDetectedBarcodesList in interface Document.PageOrBuilder
    • getDetectedBarcodesOrBuilderList

      public List<? extends Document.Page.DetectedBarcodeOrBuilder> getDetectedBarcodesOrBuilderList()
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
      Specified by:
      getDetectedBarcodesOrBuilderList in interface Document.PageOrBuilder
    • getDetectedBarcodesCount

      public int getDetectedBarcodesCount()
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
      Specified by:
      getDetectedBarcodesCount in interface Document.PageOrBuilder
    • getDetectedBarcodes

      public Document.Page.DetectedBarcode getDetectedBarcodes(int index)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
      Specified by:
      getDetectedBarcodes in interface Document.PageOrBuilder
    • getDetectedBarcodesOrBuilder

      public Document.Page.DetectedBarcodeOrBuilder getDetectedBarcodesOrBuilder(int index)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
      Specified by:
      getDetectedBarcodesOrBuilder in interface Document.PageOrBuilder
    • hasImageQualityScores

      public boolean hasImageQualityScores()
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
      Specified by:
      hasImageQualityScores in interface Document.PageOrBuilder
      Returns:
      Whether the imageQualityScores field is set.
    • getImageQualityScores

      public Document.Page.ImageQualityScores getImageQualityScores()
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
      Specified by:
      getImageQualityScores in interface Document.PageOrBuilder
      Returns:
      The imageQualityScores.
    • getImageQualityScoresOrBuilder

      public Document.Page.ImageQualityScoresOrBuilder getImageQualityScoresOrBuilder()
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
      Specified by:
      getImageQualityScoresOrBuilder in interface Document.PageOrBuilder
    • hasProvenance

      @Deprecated public boolean hasProvenance()
      Deprecated.
      google.cloud.documentai.v1.Document.Page.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=549
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
      Specified by:
      hasProvenance in interface Document.PageOrBuilder
      Returns:
      Whether the provenance field is set.
    • getProvenance

      @Deprecated public Document.Provenance getProvenance()
      Deprecated.
      google.cloud.documentai.v1.Document.Page.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=549
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
      Specified by:
      getProvenance in interface Document.PageOrBuilder
      Returns:
      The provenance.
    • getProvenanceOrBuilder

      @Deprecated public Document.ProvenanceOrBuilder getProvenanceOrBuilder()
      Deprecated.
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
      Specified by:
      getProvenanceOrBuilder in interface Document.PageOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Document.Page parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document.Page parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document.Page parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Document.Page.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Document.Page.Builder newBuilder()
    • newBuilder

      public static Document.Page.Builder newBuilder(Document.Page prototype)
    • toBuilder

      public Document.Page.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Document.Page.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Document.Page getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Document.Page> parser()
    • getParserForType

      public com.google.protobuf.Parser<Document.Page> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Document.Page getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder