Class Document.Page.Builder

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

public static final class Document.Page.Builder extends com.google.protobuf.GeneratedMessage.Builder<Document.Page.Builder> implements Document.PageOrBuilder
 A page in a [Document][google.cloud.documentai.v1.Document].
 
Protobuf type google.cloud.documentai.v1.Document.Page
  • 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.Builder<Document.Page.Builder>
    • clear

      public Document.Page.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Document.Page.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Document.Page.Builder>
    • getDefaultInstanceForType

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

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

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

      public Document.Page.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Page.Builder>
    • mergeFrom

      public Document.Page.Builder mergeFrom(Document.Page other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Document.Page.Builder>
    • mergeFrom

      public Document.Page.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Page.Builder>
      Throws:
      IOException
    • 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.
    • setPageNumber

      public Document.Page.Builder setPageNumber(int value)
       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;
      Parameters:
      value - The pageNumber to set.
      Returns:
      This builder for chaining.
    • clearPageNumber

      public Document.Page.Builder clearPageNumber()
       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:
      This builder for chaining.
    • 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.
    • setImage

      public Document.Page.Builder setImage(Document.Page.Image value)
       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;
    • setImage

      public Document.Page.Builder setImage(Document.Page.Image.Builder builderForValue)
       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;
    • mergeImage

      public Document.Page.Builder mergeImage(Document.Page.Image value)
       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;
    • clearImage

      public Document.Page.Builder clearImage()
       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;
    • getImageBuilder

      public Document.Page.Image.Builder getImageBuilder()
       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;
    • 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
    • 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
    • setTransforms

      public Document.Page.Builder setTransforms(int index, Document.Page.Matrix value)
       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;
    • setTransforms

      public Document.Page.Builder setTransforms(int index, Document.Page.Matrix.Builder builderForValue)
       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;
    • addTransforms

      public Document.Page.Builder addTransforms(Document.Page.Matrix value)
       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;
    • addTransforms

      public Document.Page.Builder addTransforms(int index, Document.Page.Matrix value)
       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;
    • addTransforms

      public Document.Page.Builder addTransforms(Document.Page.Matrix.Builder builderForValue)
       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;
    • addTransforms

      public Document.Page.Builder addTransforms(int index, Document.Page.Matrix.Builder builderForValue)
       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;
    • addAllTransforms

      public Document.Page.Builder addAllTransforms(Iterable<? extends Document.Page.Matrix> values)
       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;
    • clearTransforms

      public Document.Page.Builder clearTransforms()
       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;
    • removeTransforms

      public Document.Page.Builder removeTransforms(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;
    • getTransformsBuilder

      public Document.Page.Matrix.Builder getTransformsBuilder(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;
    • 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
    • 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
    • addTransformsBuilder

      public Document.Page.Matrix.Builder addTransformsBuilder()
       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;
    • addTransformsBuilder

      public Document.Page.Matrix.Builder addTransformsBuilder(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;
    • getTransformsBuilderList

      public List<Document.Page.Matrix.Builder> getTransformsBuilderList()
       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

      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.
    • setDimension

      public Document.Page.Builder setDimension(Document.Page.Dimension value)
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
    • setDimension

      public Document.Page.Builder setDimension(Document.Page.Dimension.Builder builderForValue)
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
    • mergeDimension

      public Document.Page.Builder mergeDimension(Document.Page.Dimension value)
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
    • clearDimension

      public Document.Page.Builder clearDimension()
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
    • getDimensionBuilder

      public Document.Page.Dimension.Builder getDimensionBuilder()
       Physical dimension of the page.
       
      .google.cloud.documentai.v1.Document.Page.Dimension dimension = 2;
    • 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.
    • setLayout

      public Document.Page.Builder setLayout(Document.Page.Layout value)
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
    • setLayout

      public Document.Page.Builder setLayout(Document.Page.Layout.Builder builderForValue)
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
    • mergeLayout

      public Document.Page.Builder mergeLayout(Document.Page.Layout value)
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
    • clearLayout

      public Document.Page.Builder clearLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
    • getLayoutBuilder

      public Document.Page.Layout.Builder getLayoutBuilder()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 3;
    • 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
    • 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
    • setDetectedLanguages

      public Document.Page.Builder setDetectedLanguages(int index, Document.Page.DetectedLanguage value)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • setDetectedLanguages

      public Document.Page.Builder setDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • addDetectedLanguages

      public Document.Page.Builder addDetectedLanguages(Document.Page.DetectedLanguage value)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • addDetectedLanguages

      public Document.Page.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage value)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • addDetectedLanguages

      public Document.Page.Builder addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • addDetectedLanguages

      public Document.Page.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • addAllDetectedLanguages

      public Document.Page.Builder addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • clearDetectedLanguages

      public Document.Page.Builder clearDetectedLanguages()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • removeDetectedLanguages

      public Document.Page.Builder removeDetectedLanguages(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • getDetectedLanguagesBuilder

      public Document.Page.DetectedLanguage.Builder getDetectedLanguagesBuilder(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • 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
    • 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
    • addDetectedLanguagesBuilder

      public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • addDetectedLanguagesBuilder

      public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • getDetectedLanguagesBuilderList

      public List<Document.Page.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
    • 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
    • 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
    • setBlocks

      public Document.Page.Builder setBlocks(int index, Document.Page.Block value)
       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;
    • setBlocks

      public Document.Page.Builder setBlocks(int index, Document.Page.Block.Builder builderForValue)
       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;
    • addBlocks

      public Document.Page.Builder addBlocks(Document.Page.Block value)
       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;
    • addBlocks

      public Document.Page.Builder addBlocks(int index, Document.Page.Block value)
       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;
    • addBlocks

      public Document.Page.Builder addBlocks(Document.Page.Block.Builder builderForValue)
       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;
    • addBlocks

      public Document.Page.Builder addBlocks(int index, Document.Page.Block.Builder builderForValue)
       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;
    • addAllBlocks

      public Document.Page.Builder addAllBlocks(Iterable<? extends Document.Page.Block> values)
       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;
    • clearBlocks

      public Document.Page.Builder clearBlocks()
       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;
    • removeBlocks

      public Document.Page.Builder removeBlocks(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;
    • getBlocksBuilder

      public Document.Page.Block.Builder getBlocksBuilder(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;
    • 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
    • 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
    • addBlocksBuilder

      public Document.Page.Block.Builder addBlocksBuilder()
       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;
    • addBlocksBuilder

      public Document.Page.Block.Builder addBlocksBuilder(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;
    • getBlocksBuilderList

      public List<Document.Page.Block.Builder> getBlocksBuilderList()
       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

      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
    • 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
    • setParagraphs

      public Document.Page.Builder setParagraphs(int index, Document.Page.Paragraph value)
       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;
    • setParagraphs

      public Document.Page.Builder setParagraphs(int index, Document.Page.Paragraph.Builder builderForValue)
       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;
    • addParagraphs

      public Document.Page.Builder addParagraphs(Document.Page.Paragraph value)
       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;
    • addParagraphs

      public Document.Page.Builder addParagraphs(int index, Document.Page.Paragraph value)
       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;
    • addParagraphs

      public Document.Page.Builder addParagraphs(Document.Page.Paragraph.Builder builderForValue)
       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;
    • addParagraphs

      public Document.Page.Builder addParagraphs(int index, Document.Page.Paragraph.Builder builderForValue)
       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;
    • addAllParagraphs

      public Document.Page.Builder addAllParagraphs(Iterable<? extends Document.Page.Paragraph> values)
       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;
    • clearParagraphs

      public Document.Page.Builder clearParagraphs()
       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;
    • removeParagraphs

      public Document.Page.Builder removeParagraphs(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;
    • getParagraphsBuilder

      public Document.Page.Paragraph.Builder getParagraphsBuilder(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;
    • 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
    • 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
    • addParagraphsBuilder

      public Document.Page.Paragraph.Builder addParagraphsBuilder()
       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;
    • addParagraphsBuilder

      public Document.Page.Paragraph.Builder addParagraphsBuilder(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;
    • getParagraphsBuilderList

      public List<Document.Page.Paragraph.Builder> getParagraphsBuilderList()
       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

      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
    • 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
    • setLines

      public Document.Page.Builder setLines(int index, Document.Page.Line value)
       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;
    • setLines

      public Document.Page.Builder setLines(int index, Document.Page.Line.Builder builderForValue)
       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;
    • addLines

      public Document.Page.Builder addLines(Document.Page.Line value)
       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;
    • addLines

      public Document.Page.Builder addLines(int index, Document.Page.Line value)
       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;
    • addLines

      public Document.Page.Builder addLines(Document.Page.Line.Builder builderForValue)
       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;
    • addLines

      public Document.Page.Builder addLines(int index, Document.Page.Line.Builder builderForValue)
       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;
    • addAllLines

      public Document.Page.Builder addAllLines(Iterable<? extends Document.Page.Line> values)
       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;
    • clearLines

      public Document.Page.Builder clearLines()
       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;
    • removeLines

      public Document.Page.Builder removeLines(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;
    • getLinesBuilder

      public Document.Page.Line.Builder getLinesBuilder(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;
    • 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
    • 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
    • addLinesBuilder

      public Document.Page.Line.Builder addLinesBuilder()
       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;
    • addLinesBuilder

      public Document.Page.Line.Builder addLinesBuilder(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;
    • getLinesBuilderList

      public List<Document.Page.Line.Builder> getLinesBuilderList()
       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

      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
    • 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
    • setTokens

      public Document.Page.Builder setTokens(int index, Document.Page.Token value)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • setTokens

      public Document.Page.Builder setTokens(int index, Document.Page.Token.Builder builderForValue)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • addTokens

      public Document.Page.Builder addTokens(Document.Page.Token value)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • addTokens

      public Document.Page.Builder addTokens(int index, Document.Page.Token value)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • addTokens

      public Document.Page.Builder addTokens(Document.Page.Token.Builder builderForValue)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • addTokens

      public Document.Page.Builder addTokens(int index, Document.Page.Token.Builder builderForValue)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • addAllTokens

      public Document.Page.Builder addAllTokens(Iterable<? extends Document.Page.Token> values)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • clearTokens

      public Document.Page.Builder clearTokens()
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • removeTokens

      public Document.Page.Builder removeTokens(int index)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • getTokensBuilder

      public Document.Page.Token.Builder getTokensBuilder(int index)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • 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
    • 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
    • addTokensBuilder

      public Document.Page.Token.Builder addTokensBuilder()
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • addTokensBuilder

      public Document.Page.Token.Builder addTokensBuilder(int index)
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • getTokensBuilderList

      public List<Document.Page.Token.Builder> getTokensBuilderList()
       A list of visually detected tokens on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8;
    • 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
    • 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
    • setVisualElements

      public Document.Page.Builder setVisualElements(int index, Document.Page.VisualElement value)
       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;
    • setVisualElements

      public Document.Page.Builder setVisualElements(int index, Document.Page.VisualElement.Builder builderForValue)
       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;
    • addVisualElements

      public Document.Page.Builder addVisualElements(Document.Page.VisualElement value)
       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;
    • addVisualElements

      public Document.Page.Builder addVisualElements(int index, Document.Page.VisualElement value)
       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;
    • addVisualElements

      public Document.Page.Builder addVisualElements(Document.Page.VisualElement.Builder builderForValue)
       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;
    • addVisualElements

      public Document.Page.Builder addVisualElements(int index, Document.Page.VisualElement.Builder builderForValue)
       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;
    • addAllVisualElements

      public Document.Page.Builder addAllVisualElements(Iterable<? extends Document.Page.VisualElement> values)
       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;
    • clearVisualElements

      public Document.Page.Builder clearVisualElements()
       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;
    • removeVisualElements

      public Document.Page.Builder removeVisualElements(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;
    • getVisualElementsBuilder

      public Document.Page.VisualElement.Builder getVisualElementsBuilder(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;
    • 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
    • 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
    • addVisualElementsBuilder

      public Document.Page.VisualElement.Builder addVisualElementsBuilder()
       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;
    • addVisualElementsBuilder

      public Document.Page.VisualElement.Builder addVisualElementsBuilder(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;
    • getVisualElementsBuilderList

      public List<Document.Page.VisualElement.Builder> getVisualElementsBuilderList()
       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

      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
    • 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
    • setTables

      public Document.Page.Builder setTables(int index, Document.Page.Table value)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • setTables

      public Document.Page.Builder setTables(int index, Document.Page.Table.Builder builderForValue)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • addTables

      public Document.Page.Builder addTables(Document.Page.Table value)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • addTables

      public Document.Page.Builder addTables(int index, Document.Page.Table value)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • addTables

      public Document.Page.Builder addTables(Document.Page.Table.Builder builderForValue)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • addTables

      public Document.Page.Builder addTables(int index, Document.Page.Table.Builder builderForValue)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • addAllTables

      public Document.Page.Builder addAllTables(Iterable<? extends Document.Page.Table> values)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • clearTables

      public Document.Page.Builder clearTables()
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • removeTables

      public Document.Page.Builder removeTables(int index)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • getTablesBuilder

      public Document.Page.Table.Builder getTablesBuilder(int index)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • 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
    • 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
    • addTablesBuilder

      public Document.Page.Table.Builder addTablesBuilder()
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • addTablesBuilder

      public Document.Page.Table.Builder addTablesBuilder(int index)
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • getTablesBuilderList

      public List<Document.Page.Table.Builder> getTablesBuilderList()
       A list of visually detected tables on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10;
    • 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
    • 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
    • setFormFields

      public Document.Page.Builder setFormFields(int index, Document.Page.FormField value)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • setFormFields

      public Document.Page.Builder setFormFields(int index, Document.Page.FormField.Builder builderForValue)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • addFormFields

      public Document.Page.Builder addFormFields(Document.Page.FormField value)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • addFormFields

      public Document.Page.Builder addFormFields(int index, Document.Page.FormField value)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • addFormFields

      public Document.Page.Builder addFormFields(Document.Page.FormField.Builder builderForValue)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • addFormFields

      public Document.Page.Builder addFormFields(int index, Document.Page.FormField.Builder builderForValue)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • addAllFormFields

      public Document.Page.Builder addAllFormFields(Iterable<? extends Document.Page.FormField> values)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • clearFormFields

      public Document.Page.Builder clearFormFields()
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • removeFormFields

      public Document.Page.Builder removeFormFields(int index)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • getFormFieldsBuilder

      public Document.Page.FormField.Builder getFormFieldsBuilder(int index)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • 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
    • 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
    • addFormFieldsBuilder

      public Document.Page.FormField.Builder addFormFieldsBuilder()
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • addFormFieldsBuilder

      public Document.Page.FormField.Builder addFormFieldsBuilder(int index)
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • getFormFieldsBuilderList

      public List<Document.Page.FormField.Builder> getFormFieldsBuilderList()
       A list of visually detected form fields on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11;
    • 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
    • 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
    • setSymbols

      public Document.Page.Builder setSymbols(int index, Document.Page.Symbol value)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • setSymbols

      public Document.Page.Builder setSymbols(int index, Document.Page.Symbol.Builder builderForValue)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • addSymbols

      public Document.Page.Builder addSymbols(Document.Page.Symbol value)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • addSymbols

      public Document.Page.Builder addSymbols(int index, Document.Page.Symbol value)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • addSymbols

      public Document.Page.Builder addSymbols(Document.Page.Symbol.Builder builderForValue)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • addSymbols

      public Document.Page.Builder addSymbols(int index, Document.Page.Symbol.Builder builderForValue)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • addAllSymbols

      public Document.Page.Builder addAllSymbols(Iterable<? extends Document.Page.Symbol> values)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • clearSymbols

      public Document.Page.Builder clearSymbols()
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • removeSymbols

      public Document.Page.Builder removeSymbols(int index)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • getSymbolsBuilder

      public Document.Page.Symbol.Builder getSymbolsBuilder(int index)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • 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
    • 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
    • addSymbolsBuilder

      public Document.Page.Symbol.Builder addSymbolsBuilder()
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • addSymbolsBuilder

      public Document.Page.Symbol.Builder addSymbolsBuilder(int index)
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • getSymbolsBuilderList

      public List<Document.Page.Symbol.Builder> getSymbolsBuilderList()
       A list of visually detected symbols on the page.
       
      repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12;
    • 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
    • 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
    • setDetectedBarcodes

      public Document.Page.Builder setDetectedBarcodes(int index, Document.Page.DetectedBarcode value)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • setDetectedBarcodes

      public Document.Page.Builder setDetectedBarcodes(int index, Document.Page.DetectedBarcode.Builder builderForValue)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • addDetectedBarcodes

      public Document.Page.Builder addDetectedBarcodes(Document.Page.DetectedBarcode value)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • addDetectedBarcodes

      public Document.Page.Builder addDetectedBarcodes(int index, Document.Page.DetectedBarcode value)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • addDetectedBarcodes

      public Document.Page.Builder addDetectedBarcodes(Document.Page.DetectedBarcode.Builder builderForValue)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • addDetectedBarcodes

      public Document.Page.Builder addDetectedBarcodes(int index, Document.Page.DetectedBarcode.Builder builderForValue)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • addAllDetectedBarcodes

      public Document.Page.Builder addAllDetectedBarcodes(Iterable<? extends Document.Page.DetectedBarcode> values)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • clearDetectedBarcodes

      public Document.Page.Builder clearDetectedBarcodes()
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • removeDetectedBarcodes

      public Document.Page.Builder removeDetectedBarcodes(int index)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • getDetectedBarcodesBuilder

      public Document.Page.DetectedBarcode.Builder getDetectedBarcodesBuilder(int index)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • 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
    • 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
    • addDetectedBarcodesBuilder

      public Document.Page.DetectedBarcode.Builder addDetectedBarcodesBuilder()
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • addDetectedBarcodesBuilder

      public Document.Page.DetectedBarcode.Builder addDetectedBarcodesBuilder(int index)
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • getDetectedBarcodesBuilderList

      public List<Document.Page.DetectedBarcode.Builder> getDetectedBarcodesBuilderList()
       A list of detected barcodes.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15;
    • 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.
    • setImageQualityScores

      public Document.Page.Builder setImageQualityScores(Document.Page.ImageQualityScores value)
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
    • setImageQualityScores

      public Document.Page.Builder setImageQualityScores(Document.Page.ImageQualityScores.Builder builderForValue)
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
    • mergeImageQualityScores

      public Document.Page.Builder mergeImageQualityScores(Document.Page.ImageQualityScores value)
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
    • clearImageQualityScores

      public Document.Page.Builder clearImageQualityScores()
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
    • getImageQualityScoresBuilder

      public Document.Page.ImageQualityScores.Builder getImageQualityScoresBuilder()
       Image quality scores.
       
      .google.cloud.documentai.v1.Document.Page.ImageQualityScores image_quality_scores = 17;
    • 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.
    • setProvenance

      Deprecated.
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
    • setProvenance

      @Deprecated public Document.Page.Builder setProvenance(Document.Provenance.Builder builderForValue)
      Deprecated.
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
    • mergeProvenance

      @Deprecated public Document.Page.Builder mergeProvenance(Document.Provenance value)
      Deprecated.
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
    • clearProvenance

      @Deprecated public Document.Page.Builder clearProvenance()
      Deprecated.
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
    • getProvenanceBuilder

      @Deprecated public Document.Provenance.Builder getProvenanceBuilder()
      Deprecated.
       The history of this page.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 16 [deprecated = true];
    • 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