Send feedback
Class Document.ChunkedDocument.Builder (2.47.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.47.0 keyboard_arrow_down
public static final class Document . ChunkedDocument . Builder extends GeneratedMessageV3 . Builder<Document . ChunkedDocument . Builder > implements Document . ChunkedDocumentOrBuilder
Represents the chunks that the document is divided into.
Protobuf type google.cloud.documentai.v1beta3.Document.ChunkedDocument
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllChunks(Iterable<? extends Document.ChunkedDocument.Chunk> values)
public Document . ChunkedDocument . Builder addAllChunks ( Iterable <? extends Document . ChunkedDocument . Chunk > values )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk >
addChunks(Document.ChunkedDocument.Chunk value)
public Document . ChunkedDocument . Builder addChunks ( Document . ChunkedDocument . Chunk value )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
addChunks(Document.ChunkedDocument.Chunk.Builder builderForValue)
public Document . ChunkedDocument . Builder addChunks ( Document . ChunkedDocument . Chunk . Builder builderForValue )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
addChunks(int index, Document.ChunkedDocument.Chunk value)
public Document . ChunkedDocument . Builder addChunks ( int index , Document . ChunkedDocument . Chunk value )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
addChunks(int index, Document.ChunkedDocument.Chunk.Builder builderForValue)
public Document . ChunkedDocument . Builder addChunks ( int index , Document . ChunkedDocument . Chunk . Builder builderForValue )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
addChunksBuilder()
public Document . ChunkedDocument . Chunk . Builder addChunksBuilder ()
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
addChunksBuilder(int index)
public Document . ChunkedDocument . Chunk . Builder addChunksBuilder ( int index )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document . ChunkedDocument . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Document . ChunkedDocument build ()
buildPartial()
public Document . ChunkedDocument buildPartial ()
clear()
public Document . ChunkedDocument . Builder clear ()
Overrides
clearChunks()
public Document . ChunkedDocument . Builder clearChunks ()
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
clearField(Descriptors.FieldDescriptor field)
public Document . ChunkedDocument . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Document . ChunkedDocument . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public Document . ChunkedDocument . Builder clone ()
Overrides
getChunks(int index)
public Document . ChunkedDocument . Chunk getChunks ( int index )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Parameter
Name
Description
index
int
getChunksBuilder(int index)
public Document . ChunkedDocument . Chunk . Builder getChunksBuilder ( int index )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Parameter
Name
Description
index
int
getChunksBuilderList()
public List<Document . ChunkedDocument . Chunk . Builder > getChunksBuilderList ()
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
getChunksCount()
public int getChunksCount ()
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Returns
Type
Description
int
getChunksList()
public List<Document . ChunkedDocument . Chunk > getChunksList ()
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
getChunksOrBuilder(int index)
public Document . ChunkedDocument . ChunkOrBuilder getChunksOrBuilder ( int index )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Parameter
Name
Description
index
int
getChunksOrBuilderList()
public List <? extends Document . ChunkedDocument . ChunkOrBuilder > getChunksOrBuilderList ()
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Returns
Type
Description
List <? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.ChunkOrBuilder >
getDefaultInstanceForType()
public Document . ChunkedDocument getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Document.ChunkedDocument other)
public Document . ChunkedDocument . Builder mergeFrom ( Document . ChunkedDocument other )
public Document . ChunkedDocument . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Document . ChunkedDocument . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document . ChunkedDocument . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeChunks(int index)
public Document . ChunkedDocument . Builder removeChunks ( int index )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
Parameter
Name
Description
index
int
setChunks(int index, Document.ChunkedDocument.Chunk value)
public Document . ChunkedDocument . Builder setChunks ( int index , Document . ChunkedDocument . Chunk value )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
setChunks(int index, Document.ChunkedDocument.Chunk.Builder builderForValue)
public Document . ChunkedDocument . Builder setChunks ( int index , Document . ChunkedDocument . Chunk . Builder builderForValue )
List of chunks.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk chunks = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public Document . ChunkedDocument . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document . ChunkedDocument . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document . ChunkedDocument . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]