Package com.google.cloud.documentai.v1
Interface Document.ChunkedDocument.ChunkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.ChunkedDocument.Chunk,Document.ChunkedDocument.Chunk.Builder
- Enclosing class:
- Document.ChunkedDocument
public static interface Document.ChunkedDocument.ChunkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChunkFields(int index) Chunk fields inside this chunk.intChunk fields inside this chunk.Chunk fields inside this chunk.getChunkFieldsOrBuilder(int index) Chunk fields inside this chunk.Chunk fields inside this chunk.ID of the chunk.com.google.protobuf.ByteStringID of the chunk.Text content of the chunk.com.google.protobuf.ByteStringText content of the chunk.getPageFooters(int index) Page footers associated with the chunk.intPage footers associated with the chunk.Page footers associated with the chunk.getPageFootersOrBuilder(int index) Page footers associated with the chunk.Page footers associated with the chunk.getPageHeaders(int index) Page headers associated with the chunk.intPage headers associated with the chunk.Page headers associated with the chunk.getPageHeadersOrBuilder(int index) Page headers associated with the chunk.Page headers associated with the chunk.Page span of the chunk.Page span of the chunk.getSourceBlockIds(int index) Unused.com.google.protobuf.ByteStringgetSourceBlockIdsBytes(int index) Unused.intUnused.Unused.booleanPage span of the chunk.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChunkId
String getChunkId()ID of the chunk.
string chunk_id = 1;- Returns:
- The chunkId.
-
getChunkIdBytes
com.google.protobuf.ByteString getChunkIdBytes()ID of the chunk.
string chunk_id = 1;- Returns:
- The bytes for chunkId.
-
getSourceBlockIdsList
Unused.
repeated string source_block_ids = 2;- Returns:
- A list containing the sourceBlockIds.
-
getSourceBlockIdsCount
int getSourceBlockIdsCount()Unused.
repeated string source_block_ids = 2;- Returns:
- The count of sourceBlockIds.
-
getSourceBlockIds
Unused.
repeated string source_block_ids = 2;- Parameters:
index- The index of the element to return.- Returns:
- The sourceBlockIds at the given index.
-
getSourceBlockIdsBytes
com.google.protobuf.ByteString getSourceBlockIdsBytes(int index) Unused.
repeated string source_block_ids = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourceBlockIds at the given index.
-
getContent
String getContent()Text content of the chunk.
string content = 3;- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()Text content of the chunk.
string content = 3;- Returns:
- The bytes for content.
-
hasPageSpan
boolean hasPageSpan()Page span of the chunk.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;- Returns:
- Whether the pageSpan field is set.
-
getPageSpan
Document.ChunkedDocument.Chunk.ChunkPageSpan getPageSpan()Page span of the chunk.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;- Returns:
- The pageSpan.
-
getPageSpanOrBuilder
Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder getPageSpanOrBuilder()Page span of the chunk.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4; -
getPageHeadersList
List<Document.ChunkedDocument.Chunk.ChunkPageHeader> getPageHeadersList()Page headers associated with the chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; -
getPageHeaders
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; -
getPageHeadersCount
int getPageHeadersCount()Page headers associated with the chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; -
getPageHeadersOrBuilderList
List<? extends Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder> getPageHeadersOrBuilderList()Page headers associated with the chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; -
getPageHeadersOrBuilder
Page headers associated with the chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; -
getChunkFieldsList
List<Document.ChunkedDocument.Chunk.ChunkField> getChunkFieldsList()Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7; -
getChunkFields
Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7; -
getChunkFieldsCount
int getChunkFieldsCount()Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7; -
getChunkFieldsOrBuilderList
List<? extends Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder> getChunkFieldsOrBuilderList()Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7; -
getChunkFieldsOrBuilder
Chunk fields inside this chunk.
repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
-