public static interface Document.ChunkedDocument.ChunkOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChunkFields(int index)
public abstract Document.ChunkedDocument.Chunk.ChunkField getChunkFields(int index)Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
getChunkFieldsCount()
public abstract int getChunkFieldsCount()Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
| Returns | |
|---|---|
| Type | Description |
int |
|
getChunkFieldsList()
public abstract List<Document.ChunkedDocument.Chunk.ChunkField> getChunkFieldsList()Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
| Returns | |
|---|---|
| Type | Description |
List<ChunkField> |
|
getChunkFieldsOrBuilder(int index)
public abstract Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder getChunkFieldsOrBuilder(int index)Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder |
|
getChunkFieldsOrBuilderList()
public abstract List<? extends Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder> getChunkFieldsOrBuilderList()Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder> |
|
getChunkId()
public abstract String getChunkId()ID of the chunk.
string chunk_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The chunkId. |
getChunkIdBytes()
public abstract ByteString getChunkIdBytes()ID of the chunk.
string chunk_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for chunkId. |
getContent()
public abstract String getContent()Text content of the chunk.
string content = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()Text content of the chunk.
string content = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getPageFooters(int index)
public abstract 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 |
|
getPageFootersCount()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 |
|
getPageHeadersCount()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |
getPageSpanOrBuilder()
public abstract 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 abstract String getSourceBlockIds(int index)Unused.
repeated string source_block_ids = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The sourceBlockIds at the given index. |
getSourceBlockIdsBytes(int index)
public abstract ByteString getSourceBlockIdsBytes(int index)Unused.
repeated string source_block_ids = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the sourceBlockIds at the given index. |
getSourceBlockIdsCount()
public abstract int getSourceBlockIdsCount()Unused.
repeated string source_block_ids = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of sourceBlockIds. |
getSourceBlockIdsList()
public abstract List<String> getSourceBlockIdsList()Unused.
repeated string source_block_ids = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the sourceBlockIds. |
hasPageSpan()
public abstract 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. |