Class Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder (2.59.0)

public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder extends GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockOrBuilder

Represents a list type block.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

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

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

List entries that constitute a list block.

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

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

addListEntries(Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder addListEntries(Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry value)

List entries that constitute a list block.

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

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

addListEntries(Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder builderForValue)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder addListEntries(Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder builderForValue)

List entries that constitute a list block.

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

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

addListEntries(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry value)

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

List entries that constitute a list block.

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

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

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

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

List entries that constitute a list block.

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

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

addListEntriesBuilder()

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

List entries that constitute a list block.

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

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

addListEntriesBuilder(int index)

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

List entries that constitute a list block.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearListEntries()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder clearListEntries()

List entries that constitute a list block.

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder clearType()

Type of the list_entries (if exist). Available options are ordered and unordered.

string type = 2;

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getListEntries(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry getListEntries(int index)

List entries that constitute a list block.

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

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

getListEntriesBuilder(int index)

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

List entries that constitute a list block.

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

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

getListEntriesBuilderList()

public List<Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry.Builder> getListEntriesBuilderList()

List entries that constitute a list block.

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

Returns
Type Description
List<Builder>

getListEntriesCount()

public int getListEntriesCount()

List entries that constitute a list block.

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

Returns
Type Description
int

getListEntriesList()

public List<Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry> getListEntriesList()

List entries that constitute a list block.

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

Returns
Type Description
List<LayoutListEntry>

getListEntriesOrBuilder(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntryOrBuilder getListEntriesOrBuilder(int index)

List entries that constitute a list block.

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

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

getListEntriesOrBuilderList()

public List<? extends Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntryOrBuilder> getListEntriesOrBuilderList()

List entries that constitute a list block.

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

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

getType()

public String getType()

Type of the list_entries (if exist). Available options are ordered and unordered.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of the list_entries (if exist). Available options are ordered and unordered.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeListEntries(int index)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder removeListEntries(int index)

List entries that constitute a list block.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setListEntries(int index, Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry value)

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

List entries that constitute a list block.

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

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

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

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

List entries that constitute a list block.

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

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

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

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

setType(String value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder setType(String value)

Type of the list_entries (if exist). Available options are ordered and unordered.

string type = 2;

Parameter
Name Description
value String

The type to set.

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

This builder for chaining.

setTypeBytes(ByteString value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlock.Builder setTypeBytes(ByteString value)

Type of the list_entries (if exist). Available options are ordered and unordered.

string type = 2;

Parameter
Name Description
value ByteString

The bytes for type to set.

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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