Package com.google.cloud.documentai.v1
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 Summary
Modifier and TypeMethodDescriptionID of the block.com.google.protobuf.ByteStringID of the block.Identifies the bounding box for the block.Identifies the bounding box for the block.Block consisting of image content.Block consisting of image content.Block consisting of list content/structure.Block consisting of list content/structure.Page span of the block.Page span of the block.Block consisting of table content/structure.Block consisting of table content/structure.Block consisting of text content.Block consisting of text content.booleanIdentifies the bounding box for the block.booleanBlock consisting of image content.booleanBlock consisting of list content/structure.booleanPage span of the block.booleanBlock consisting of table content/structure.booleanBlock consisting of text content.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock getTextBlock()Block consisting of text content.
.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;- Returns:
- The textBlock.
-
getTextBlockOrBuilder
Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder 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
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock getTableBlock()Block consisting of table content/structure.
.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;- Returns:
- The tableBlock.
-
getTableBlockOrBuilder
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockOrBuilder 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
Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock getListBlock()Block consisting of list content/structure.
.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;- Returns:
- The listBlock.
-
getListBlockOrBuilder
Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockOrBuilder 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
Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock getImageBlock()Block consisting of image content.
.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlock image_block = 7;- Returns:
- The imageBlock.
-
getImageBlockOrBuilder
Document.DocumentLayout.DocumentLayoutBlock.LayoutImageBlockOrBuilder 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
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder 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
Document.DocumentLayout.DocumentLayoutBlock.BlockCase getBlockCase()
-