Class Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder (2.58.0)

public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder extends GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntryOrBuilder

Represents an entry in the list.

Protobuf type google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder addAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock>
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

addBlocks(Document.DocumentLayout.DocumentLayoutBlock value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock value)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
value Document.DocumentLayout.DocumentLayoutBlock
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
builderForValue Document.DocumentLayout.DocumentLayoutBlock.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameters
Name Description
index int
value Document.DocumentLayout.DocumentLayoutBlock
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameters
Name Description
index int
builderForValue Document.DocumentLayout.DocumentLayoutBlock.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

addBlocksBuilder()

public Document.DocumentLayout.DocumentLayoutBlock.Builder addBlocksBuilder()

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.Builder

addBlocksBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.Builder addBlocksBuilder(int index)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

build()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry build()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry

buildPartial()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry buildPartial()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry

clear()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder clear()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

clearBlocks()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder clearBlocks()

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

clone()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder clone()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

getBlocks(int index)

public Document.DocumentLayout.DocumentLayoutBlock getBlocks(int index)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock

getBlocksBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.Builder getBlocksBuilder(int index)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.Builder

getBlocksBuilderList()

public List<Document.DocumentLayout.DocumentLayoutBlock.Builder> getBlocksBuilderList()

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
List<Builder>

getBlocksCount()

public int getBlocksCount()

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
int

getBlocksList()

public List<Document.DocumentLayout.DocumentLayoutBlock> getBlocksList()

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
List<DocumentLayoutBlock>

getBlocksOrBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlockOrBuilder getBlocksOrBuilder(int index)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlockOrBuilder

getBlocksOrBuilderList()

public List<? extends Document.DocumentLayout.DocumentLayoutBlockOrBuilder> getBlocksOrBuilderList()

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Returns
Type Description
List<? extends com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlockOrBuilder>

getDefaultInstanceForType()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry getDefaultInstanceForType()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry other)
Parameter
Name Description
other Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

removeBlocks(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder removeBlocks(int index)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameters
Name Description
index int
value Document.DocumentLayout.DocumentLayoutBlock
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue)

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.

repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;

Parameters
Name Description
index int
builderForValue Document.DocumentLayout.DocumentLayoutBlock.Builder
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder
Overrides