- 2.57.0 (latest)
- 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 interface Document.ChunkedDocument.ChunkOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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)
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 abstract 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 abstract 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 abstract List<String> 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 |
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. |