public static interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Document.DocumentLayout.DocumentLayoutBlock |
getBlocks(int index)
A text block could further have child blocks.
|
int |
getBlocksCount()
A text block could further have child blocks.
|
List<Document.DocumentLayout.DocumentLayoutBlock> |
getBlocksList()
A text block could further have child blocks.
|
Document.DocumentLayout.DocumentLayoutBlockOrBuilder |
getBlocksOrBuilder(int index)
A text block could further have child blocks.
|
List<? extends Document.DocumentLayout.DocumentLayoutBlockOrBuilder> |
getBlocksOrBuilderList()
A text block could further have child blocks.
|
String |
getText()
Text content stored in the block.
|
com.google.protobuf.ByteString |
getTextBytes()
Text content stored in the block.
|
String |
getType()
Type of the text in the block.
|
com.google.protobuf.ByteString |
getTypeBytes()
Type of the text in the block.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getText()
Text content stored in the block.
string text = 1;com.google.protobuf.ByteString getTextBytes()
Text content stored in the block.
string text = 1;String getType()
Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.
string type = 2;com.google.protobuf.ByteString getTypeBytes()
Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.
string type = 2;List<Document.DocumentLayout.DocumentLayoutBlock> getBlocksList()
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 3;
Document.DocumentLayout.DocumentLayoutBlock getBlocks(int index)
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 3;
int getBlocksCount()
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 3;
List<? extends Document.DocumentLayout.DocumentLayoutBlockOrBuilder> getBlocksOrBuilderList()
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 3;
Document.DocumentLayout.DocumentLayoutBlockOrBuilder getBlocksOrBuilder(int index)
A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock blocks = 3;
Copyright © 2024 Google LLC. All rights reserved.