- 2.59.0 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Document.ChunkedDocument.Chunk.Builder extends GeneratedMessageV3.Builder<Document.ChunkedDocument.Chunk.Builder> implements Document.ChunkedDocument.ChunkOrBuilder
Represents a chunk.
Protobuf type google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.ChunkedDocument.Chunk.BuilderImplements
Document.ChunkedDocument.ChunkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPageFooters(Iterable<? extends Document.ChunkedDocument.Chunk.ChunkPageFooter> values)
public Document.ChunkedDocument.Chunk.Builder addAllPageFooters(Iterable<? extends Document.ChunkedDocument.Chunk.ChunkPageFooter> values)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter> |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addAllPageHeaders(Iterable<? extends Document.ChunkedDocument.Chunk.ChunkPageHeader> values)
public Document.ChunkedDocument.Chunk.Builder addAllPageHeaders(Iterable<? extends Document.ChunkedDocument.Chunk.ChunkPageHeader> values)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader> |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addAllSourceBlockIds(Iterable<String> values)
public Document.ChunkedDocument.Chunk.Builder addAllSourceBlockIds(Iterable<String> values)
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The sourceBlockIds to add. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
addPageFooters(Document.ChunkedDocument.Chunk.ChunkPageFooter value)
public Document.ChunkedDocument.Chunk.Builder addPageFooters(Document.ChunkedDocument.Chunk.ChunkPageFooter value)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
value |
Document.ChunkedDocument.Chunk.ChunkPageFooter |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageFooters(Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder addPageFooters(Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder builderForValue)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter value)
public Document.ChunkedDocument.Chunk.Builder addPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter value)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Document.ChunkedDocument.Chunk.ChunkPageFooter |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder addPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder builderForValue)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageFootersBuilder()
public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder addPageFootersBuilder()
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder |
addPageFootersBuilder(int index)
public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder addPageFootersBuilder(int index)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder |
addPageHeaders(Document.ChunkedDocument.Chunk.ChunkPageHeader value)
public Document.ChunkedDocument.Chunk.Builder addPageHeaders(Document.ChunkedDocument.Chunk.ChunkPageHeader value)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
value |
Document.ChunkedDocument.Chunk.ChunkPageHeader |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageHeaders(Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder addPageHeaders(Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder builderForValue)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader value)
public Document.ChunkedDocument.Chunk.Builder addPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader value)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Document.ChunkedDocument.Chunk.ChunkPageHeader |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder addPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder builderForValue)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addPageHeadersBuilder()
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder addPageHeadersBuilder()
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder |
addPageHeadersBuilder(int index)
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder addPageHeadersBuilder(int index)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.ChunkedDocument.Chunk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
addSourceBlockIds(String value)
public Document.ChunkedDocument.Chunk.Builder addSourceBlockIds(String value)
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Parameter | |
---|---|
Name | Description |
value |
String The sourceBlockIds to add. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
addSourceBlockIdsBytes(ByteString value)
public Document.ChunkedDocument.Chunk.Builder addSourceBlockIdsBytes(ByteString value)
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the sourceBlockIds to add. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
build()
public Document.ChunkedDocument.Chunk build()
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk |
buildPartial()
public Document.ChunkedDocument.Chunk buildPartial()
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk |
clear()
public Document.ChunkedDocument.Chunk.Builder clear()
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
clearChunkId()
public Document.ChunkedDocument.Chunk.Builder clearChunkId()
ID of the chunk.
string chunk_id = 1;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
clearContent()
public Document.ChunkedDocument.Chunk.Builder clearContent()
Text content of the chunk.
string content = 3;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Document.ChunkedDocument.Chunk.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.ChunkedDocument.Chunk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
clearPageFooters()
public Document.ChunkedDocument.Chunk.Builder clearPageFooters()
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
clearPageHeaders()
public Document.ChunkedDocument.Chunk.Builder clearPageHeaders()
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
clearPageSpan()
public Document.ChunkedDocument.Chunk.Builder clearPageSpan()
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
clearSourceBlockIds()
public Document.ChunkedDocument.Chunk.Builder clearSourceBlockIds()
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
clone()
public Document.ChunkedDocument.Chunk.Builder clone()
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
getChunkId()
public String getChunkId()
ID of the chunk.
string chunk_id = 1;
Returns | |
---|---|
Type | Description |
String |
The chunkId. |
getChunkIdBytes()
public ByteString getChunkIdBytes()
ID of the chunk.
string chunk_id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for chunkId. |
getContent()
public String getContent()
Text content of the chunk.
string content = 3;
Returns | |
---|---|
Type | Description |
String |
The content. |
getContentBytes()
public ByteString getContentBytes()
Text content of the chunk.
string content = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for content. |
getDefaultInstanceForType()
public Document.ChunkedDocument.Chunk getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPageFooters(int index)
public Document.ChunkedDocument.Chunk.ChunkPageFooter getPageFooters(int index)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageFooter |
getPageFootersBuilder(int index)
public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder getPageFootersBuilder(int index)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder |
getPageFootersBuilderList()
public List<Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder> getPageFootersBuilderList()
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPageFootersCount()
public int getPageFootersCount()
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Returns | |
---|---|
Type | Description |
int |
getPageFootersList()
public List<Document.ChunkedDocument.Chunk.ChunkPageFooter> getPageFootersList()
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Returns | |
---|---|
Type | Description |
List<ChunkPageFooter> |
getPageFootersOrBuilder(int index)
public Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder getPageFootersOrBuilder(int index)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder |
getPageFootersOrBuilderList()
public List<? extends Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder> getPageFootersOrBuilderList()
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder> |
getPageHeaders(int index)
public Document.ChunkedDocument.Chunk.ChunkPageHeader getPageHeaders(int index)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageHeader |
getPageHeadersBuilder(int index)
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder getPageHeadersBuilder(int index)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder |
getPageHeadersBuilderList()
public List<Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder> getPageHeadersBuilderList()
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPageHeadersCount()
public int getPageHeadersCount()
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Returns | |
---|---|
Type | Description |
int |
getPageHeadersList()
public List<Document.ChunkedDocument.Chunk.ChunkPageHeader> getPageHeadersList()
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Returns | |
---|---|
Type | Description |
List<ChunkPageHeader> |
getPageHeadersOrBuilder(int index)
public Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder getPageHeadersOrBuilder(int index)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder |
getPageHeadersOrBuilderList()
public List<? extends Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder> getPageHeadersOrBuilderList()
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder> |
getPageSpan()
public Document.ChunkedDocument.Chunk.ChunkPageSpan getPageSpan()
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageSpan |
The pageSpan. |
getPageSpanBuilder()
public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder getPageSpanBuilder()
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder |
getPageSpanOrBuilder()
public Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder getPageSpanOrBuilder()
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder |
getSourceBlockIds(int index)
public String getSourceBlockIds(int index)
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The sourceBlockIds at the given index. |
getSourceBlockIdsBytes(int index)
public ByteString getSourceBlockIdsBytes(int index)
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the sourceBlockIds at the given index. |
getSourceBlockIdsCount()
public int getSourceBlockIdsCount()
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Returns | |
---|---|
Type | Description |
int |
The count of sourceBlockIds. |
getSourceBlockIdsList()
public ProtocolStringList getSourceBlockIdsList()
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sourceBlockIds. |
hasPageSpan()
public boolean hasPageSpan()
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the pageSpan field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Document.ChunkedDocument.Chunk other)
public Document.ChunkedDocument.Chunk.Builder mergeFrom(Document.ChunkedDocument.Chunk other)
Parameter | |
---|---|
Name | Description |
other |
Document.ChunkedDocument.Chunk |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.ChunkedDocument.Chunk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Document.ChunkedDocument.Chunk.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)
public Document.ChunkedDocument.Chunk.Builder mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Parameter | |
---|---|
Name | Description |
value |
Document.ChunkedDocument.Chunk.ChunkPageSpan |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.ChunkedDocument.Chunk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
removePageFooters(int index)
public Document.ChunkedDocument.Chunk.Builder removePageFooters(int index)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
removePageHeaders(int index)
public Document.ChunkedDocument.Chunk.Builder removePageHeaders(int index)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setChunkId(String value)
public Document.ChunkedDocument.Chunk.Builder setChunkId(String value)
ID of the chunk.
string chunk_id = 1;
Parameter | |
---|---|
Name | Description |
value |
String The chunkId to set. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
setChunkIdBytes(ByteString value)
public Document.ChunkedDocument.Chunk.Builder setChunkIdBytes(ByteString value)
ID of the chunk.
string chunk_id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for chunkId to set. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
setContent(String value)
public Document.ChunkedDocument.Chunk.Builder setContent(String value)
Text content of the chunk.
string content = 3;
Parameter | |
---|---|
Name | Description |
value |
String The content to set. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
setContentBytes(ByteString value)
public Document.ChunkedDocument.Chunk.Builder setContentBytes(ByteString value)
Text content of the chunk.
string content = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for content to set. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Document.ChunkedDocument.Chunk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter value)
public Document.ChunkedDocument.Chunk.Builder setPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter value)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Document.ChunkedDocument.Chunk.ChunkPageFooter |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder setPageFooters(int index, Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder builderForValue)
Page footers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader value)
public Document.ChunkedDocument.Chunk.Builder setPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader value)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Document.ChunkedDocument.Chunk.ChunkPageHeader |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder setPageHeaders(int index, Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder builderForValue)
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)
public Document.ChunkedDocument.Chunk.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Parameter | |
---|---|
Name | Description |
value |
Document.ChunkedDocument.Chunk.ChunkPageSpan |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)
public Document.ChunkedDocument.Chunk.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)
Page span of the chunk.
.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.ChunkedDocument.Chunk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
setSourceBlockIds(int index, String value)
public Document.ChunkedDocument.Chunk.Builder setSourceBlockIds(int index, String value)
DO NOT USE. List of all parsed documents layout source blocks used to generate the chunk.
repeated string source_block_ids = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The sourceBlockIds to set. |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.ChunkedDocument.Chunk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Document.ChunkedDocument.Chunk.Builder |