Interface ChunkEmbeddingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChunkEmbedding, ChunkEmbedding.Builder

@Generated public interface ChunkEmbeddingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Identifier for the chunking configuration used.
    com.google.protobuf.ByteString
    Identifier for the chunking configuration used.
    Identifier for a group of related chunks.
    com.google.protobuf.ByteString
    Identifier for a group of related chunks.
    Unique identifier for this chunk.
    com.google.protobuf.ByteString
    Unique identifier for this chunk.
    int
    Character offset where chunk ends in original document.
    int
    Character offset where chunk starts in original document.
    Actual text content of the chunk.
    com.google.protobuf.ByteString
    Actual text content of the chunk.
    float
    getVector(int index)
    Vector embedding for this chunk's text.
    int
    Vector embedding for this chunk's text.
    Vector embedding for this chunk's text.
    boolean
    Identifier for the chunking configuration used.
    boolean
    Identifier for a group of related chunks.
    boolean
    Unique identifier for this chunk.
    boolean
    Character offset where chunk ends in original document.
    boolean
    Character offset where chunk starts in original document.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTextContent

      String getTextContent()
       Actual text content of the chunk.
       
      string text_content = 1;
      Returns:
      The textContent.
    • getTextContentBytes

      com.google.protobuf.ByteString getTextContentBytes()
       Actual text content of the chunk.
       
      string text_content = 1;
      Returns:
      The bytes for textContent.
    • getVectorList

      List<Float> getVectorList()
       Vector embedding for this chunk's text.
       
      repeated float vector = 2;
      Returns:
      A list containing the vector.
    • getVectorCount

      int getVectorCount()
       Vector embedding for this chunk's text.
       
      repeated float vector = 2;
      Returns:
      The count of vector.
    • getVector

      float getVector(int index)
       Vector embedding for this chunk's text.
       
      repeated float vector = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The vector at the given index.
    • hasChunkId

      boolean hasChunkId()
       Unique identifier for this chunk.
       
      optional string chunk_id = 3;
      Returns:
      Whether the chunkId field is set.
    • getChunkId

      String getChunkId()
       Unique identifier for this chunk.
       
      optional string chunk_id = 3;
      Returns:
      The chunkId.
    • getChunkIdBytes

      com.google.protobuf.ByteString getChunkIdBytes()
       Unique identifier for this chunk.
       
      optional string chunk_id = 3;
      Returns:
      The bytes for chunkId.
    • hasOriginalCharStartOffset

      boolean hasOriginalCharStartOffset()
       Character offset where chunk starts in original document.
       
      optional int32 original_char_start_offset = 4;
      Returns:
      Whether the originalCharStartOffset field is set.
    • getOriginalCharStartOffset

      int getOriginalCharStartOffset()
       Character offset where chunk starts in original document.
       
      optional int32 original_char_start_offset = 4;
      Returns:
      The originalCharStartOffset.
    • hasOriginalCharEndOffset

      boolean hasOriginalCharEndOffset()
       Character offset where chunk ends in original document.
       
      optional int32 original_char_end_offset = 5;
      Returns:
      Whether the originalCharEndOffset field is set.
    • getOriginalCharEndOffset

      int getOriginalCharEndOffset()
       Character offset where chunk ends in original document.
       
      optional int32 original_char_end_offset = 5;
      Returns:
      The originalCharEndOffset.
    • hasChunkGroupId

      boolean hasChunkGroupId()
       Identifier for a group of related chunks.
       
      optional string chunk_group_id = 6;
      Returns:
      Whether the chunkGroupId field is set.
    • getChunkGroupId

      String getChunkGroupId()
       Identifier for a group of related chunks.
       
      optional string chunk_group_id = 6;
      Returns:
      The chunkGroupId.
    • getChunkGroupIdBytes

      com.google.protobuf.ByteString getChunkGroupIdBytes()
       Identifier for a group of related chunks.
       
      optional string chunk_group_id = 6;
      Returns:
      The bytes for chunkGroupId.
    • hasChunkConfigId

      boolean hasChunkConfigId()
       Identifier for the chunking configuration used.
       
      optional string chunk_config_id = 7;
      Returns:
      Whether the chunkConfigId field is set.
    • getChunkConfigId

      String getChunkConfigId()
       Identifier for the chunking configuration used.
       
      optional string chunk_config_id = 7;
      Returns:
      The chunkConfigId.
    • getChunkConfigIdBytes

      com.google.protobuf.ByteString getChunkConfigIdBytes()
       Identifier for the chunking configuration used.
       
      optional string chunk_config_id = 7;
      Returns:
      The bytes for chunkConfigId.