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 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

      List<String> 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

      String getSourceBlockIds(int index)
       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

       Page span of the chunk.
       
      .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
      Returns:
      The pageSpan.
    • getPageSpanOrBuilder

       Page span of the chunk.
       
      .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 4;
    • 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

      Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder getPageHeadersOrBuilder(int index)
       Page headers associated with the chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5;
    • getPageFootersList

       Page footers associated with the chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
    • getPageFooters

       Page footers associated with the chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
    • getPageFootersCount

      int getPageFootersCount()
       Page footers associated with the chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
    • getPageFootersOrBuilderList

      List<? extends Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder> getPageFootersOrBuilderList()
       Page footers associated with the chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
    • getPageFootersOrBuilder

      Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder getPageFootersOrBuilder(int index)
       Page footers associated with the chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6;
    • getChunkFieldsList

       Chunk fields inside this chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;
    • getChunkFields

      Document.ChunkedDocument.Chunk.ChunkField getChunkFields(int index)
       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

      Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder getChunkFieldsOrBuilder(int index)
       Chunk fields inside this chunk.
       
      repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField chunk_fields = 7;