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.v1.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.v1.Document.ChunkedDocument.Chunk chunks = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk>
|
addChunks(Document.ChunkedDocument.Chunk value)
public Document.ChunkedDocument.Builder addChunks(Document.ChunkedDocument.Chunk value)
List of chunks.
repeated .google.cloud.documentai.v1.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.v1.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.v1.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.v1.Document.ChunkedDocument.Chunk chunks = 1;
addChunksBuilder()
public Document.ChunkedDocument.Chunk.Builder addChunksBuilder()
List of chunks.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk chunks = 1;
addChunksBuilder(int index)
public Document.ChunkedDocument.Chunk.Builder addChunksBuilder(int index)
List of chunks.
repeated .google.cloud.documentai.v1.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.v1.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.v1.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.v1.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.v1.Document.ChunkedDocument.Chunk chunks = 1;
getChunksCount()
public int getChunksCount()
List of chunks.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk chunks = 1;
Returns |
Type |
Description |
int |
|
getChunksList()
public List<Document.ChunkedDocument.Chunk> getChunksList()
List of chunks.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk chunks = 1;
getChunksOrBuilder(int index)
public Document.ChunkedDocument.ChunkOrBuilder getChunksOrBuilder(int index)
List of chunks.
repeated .google.cloud.documentai.v1.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.v1.Document.ChunkedDocument.Chunk chunks = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1.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.v1.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.v1.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.v1.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