public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilder
Represents a text type block.Protobuf type
google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>IOExceptionpublic String getText()
Text content stored in the block.
string text = 1;getText in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
Text content stored in the block.
string text = 1;getTextBytes in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setText(String value)
Text content stored in the block.
string text = 1;value - The text to set.public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clearText()
Text content stored in the block.
string text = 1;public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setTextBytes(com.google.protobuf.ByteString value)
Text content stored in the block.
string text = 1;value - The bytes for text to set.public 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;getType in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic 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;getTypeBytes in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setType(String value)
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;value - The type to set.public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clearType()
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;public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for type to set.public 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;
getBlocksList in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic 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;
getBlocksCount in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic 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;
getBlocks in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock value)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder addAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values)
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder clearBlocks()
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;
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder removeBlocks(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;
public Document.DocumentLayout.DocumentLayoutBlock.Builder getBlocksBuilder(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;
public 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;
getBlocksOrBuilder in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic 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;
getBlocksOrBuilderList in interface Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockOrBuilderpublic Document.DocumentLayout.DocumentLayoutBlock.Builder addBlocksBuilder()
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;
public Document.DocumentLayout.DocumentLayoutBlock.Builder addBlocksBuilder(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;
public List<Document.DocumentLayout.DocumentLayoutBlock.Builder> getBlocksBuilderList()
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;
public final Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>public final Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlock.Builder>Copyright © 2024 Google LLC. All rights reserved.