Interface Document.DocumentLayout.DocumentLayoutBlockOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Document.DocumentLayout.DocumentLayoutBlock, Document.DocumentLayout.DocumentLayoutBlock.Builder
Enclosing class:
Document.DocumentLayout

public static interface Document.DocumentLayout.DocumentLayoutBlockOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTextBlock

      boolean hasTextBlock()
       Block consisting of text content.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
      Returns:
      Whether the textBlock field is set.
    • getTextBlock

       Block consisting of text content.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
      Returns:
      The textBlock.
    • getTextBlockOrBuilder

       Block consisting of text content.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;
    • hasTableBlock

      boolean hasTableBlock()
       Block consisting of table content/structure.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
      Returns:
      Whether the tableBlock field is set.
    • getTableBlock

       Block consisting of table content/structure.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
      Returns:
      The tableBlock.
    • getTableBlockOrBuilder

       Block consisting of table content/structure.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;
    • hasListBlock

      boolean hasListBlock()
       Block consisting of list content/structure.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
      Returns:
      Whether the listBlock field is set.
    • getListBlock

       Block consisting of list content/structure.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
      Returns:
      The listBlock.
    • getListBlockOrBuilder

       Block consisting of list content/structure.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;
    • hasImageBlock

      boolean hasImageBlock()
       Block consisting of image content.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
      Returns:
      Whether the imageBlock field is set.
    • getImageBlock

       Block consisting of image content.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
      Returns:
      The imageBlock.
    • getImageBlockOrBuilder

       Block consisting of image content.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;
    • getBlockId

      String getBlockId()
       ID of the block.
       
      string block_id = 1;
      Returns:
      The blockId.
    • getBlockIdBytes

      com.google.protobuf.ByteString getBlockIdBytes()
       ID of the block.
       
      string block_id = 1;
      Returns:
      The bytes for blockId.
    • hasPageSpan

      boolean hasPageSpan()
       Page span of the block.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
      Returns:
      Whether the pageSpan field is set.
    • getPageSpan

       Page span of the block.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
      Returns:
      The pageSpan.
    • getPageSpanOrBuilder

       Page span of the block.
       
      .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;
    • hasBoundingBox

      boolean hasBoundingBox()
       Identifies the bounding box for the block.
       
      .google.cloud.documentai.v1.BoundingPoly bounding_box = 6;
      Returns:
      Whether the boundingBox field is set.
    • getBoundingBox

      BoundingPoly getBoundingBox()
       Identifies the bounding box for the block.
       
      .google.cloud.documentai.v1.BoundingPoly bounding_box = 6;
      Returns:
      The boundingBox.
    • getBoundingBoxOrBuilder

      BoundingPolyOrBuilder getBoundingBoxOrBuilder()
       Identifies the bounding box for the block.
       
      .google.cloud.documentai.v1.BoundingPoly bounding_box = 6;
    • getBlockCase