Interface Document.DocumentLayout.DocumentLayoutBlockOrBuilder (2.49.0)

public static interface Document.DocumentLayout.DocumentLayoutBlockOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlockCase()

public abstract Document.DocumentLayout.DocumentLayoutBlock.BlockCase getBlockCase()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.BlockCase

getBlockId()

public abstract String getBlockId()

ID of the block.

string block_id = 1;

Returns
Type Description
String

The blockId.

getBlockIdBytes()

public abstract ByteString getBlockIdBytes()

ID of the block.

string block_id = 1;

Returns
Type Description
ByteString

The bytes for blockId.

getListBlock()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock getListBlock()

Block consisting of list content/structure.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock

The listBlock.

getListBlockOrBuilder()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockOrBuilder getListBlockOrBuilder()

Block consisting of list content/structure.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockOrBuilder

getPageSpan()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan getPageSpan()

Page span of the block.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

The pageSpan.

getPageSpanOrBuilder()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder getPageSpanOrBuilder()

Page span of the block.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder

getTableBlock()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock getTableBlock()

Block consisting of table content/structure.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock

The tableBlock.

getTableBlockOrBuilder()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockOrBuilder getTableBlockOrBuilder()

Block consisting of table content/structure.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockOrBuilder

getTextBlock()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock getTextBlock()

Block consisting of text content.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock

The textBlock.

getTextBlockOrBuilder()

public abstract Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder getTextBlockOrBuilder()

Block consisting of text content.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder

hasListBlock()

public abstract boolean hasListBlock()

Block consisting of list content/structure.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock list_block = 4;

Returns
Type Description
boolean

Whether the listBlock field is set.

hasPageSpan()

public abstract boolean hasPageSpan()

Page span of the block.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan page_span = 5;

Returns
Type Description
boolean

Whether the pageSpan field is set.

hasTableBlock()

public abstract boolean hasTableBlock()

Block consisting of table content/structure.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlock table_block = 3;

Returns
Type Description
boolean

Whether the tableBlock field is set.

hasTextBlock()

public abstract boolean hasTextBlock()

Block consisting of text content.

.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock text_block = 2;

Returns
Type Description
boolean

Whether the textBlock field is set.