Class SemanticProcessingResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.data.v1.SemanticProcessingResult
All Implemented Interfaces:
SemanticProcessingResultOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SemanticProcessingResult extends com.google.protobuf.GeneratedMessage implements SemanticProcessingResultOrBuilder
 Complete result of semantic chunking and embedding process.

 Represents one specific processing configuration applied to a PipeDoc field.
 A PipeDoc can contain multiple such results from different configurations.
 
Protobuf type ai.pipestream.data.v1.SemanticProcessingResult
See Also:
  • Field Details

    • RESULT_ID_FIELD_NUMBER

      public static final int RESULT_ID_FIELD_NUMBER
      See Also:
    • SOURCE_FIELD_NAME_FIELD_NUMBER

      public static final int SOURCE_FIELD_NAME_FIELD_NUMBER
      See Also:
    • CHUNK_CONFIG_ID_FIELD_NUMBER

      public static final int CHUNK_CONFIG_ID_FIELD_NUMBER
      See Also:
    • EMBEDDING_CONFIG_ID_FIELD_NUMBER

      public static final int EMBEDDING_CONFIG_ID_FIELD_NUMBER
      See Also:
    • RESULT_SET_NAME_FIELD_NUMBER

      public static final int RESULT_SET_NAME_FIELD_NUMBER
      See Also:
    • CHUNKS_FIELD_NUMBER

      public static final int CHUNKS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getResultId

      public String getResultId()
       Unique identifier for this result set.
       
      string result_id = 1;
      Specified by:
      getResultId in interface SemanticProcessingResultOrBuilder
      Returns:
      The resultId.
    • getResultIdBytes

      public com.google.protobuf.ByteString getResultIdBytes()
       Unique identifier for this result set.
       
      string result_id = 1;
      Specified by:
      getResultIdBytes in interface SemanticProcessingResultOrBuilder
      Returns:
      The bytes for resultId.
    • getSourceFieldName

      public String getSourceFieldName()
       Name of the PipeDoc field that was processed.
      
       Examples: "body", "title", "abstract"
       
      string source_field_name = 2;
      Specified by:
      getSourceFieldName in interface SemanticProcessingResultOrBuilder
      Returns:
      The sourceFieldName.
    • getSourceFieldNameBytes

      public com.google.protobuf.ByteString getSourceFieldNameBytes()
       Name of the PipeDoc field that was processed.
      
       Examples: "body", "title", "abstract"
       
      string source_field_name = 2;
      Specified by:
      getSourceFieldNameBytes in interface SemanticProcessingResultOrBuilder
      Returns:
      The bytes for sourceFieldName.
    • getChunkConfigId

      public String getChunkConfigId()
       Identifier for the chunking configuration used.
      
       Examples: "sentence_splitter_v1", "token_chunker_512_overlap_50"
       
      string chunk_config_id = 3;
      Specified by:
      getChunkConfigId in interface SemanticProcessingResultOrBuilder
      Returns:
      The chunkConfigId.
    • getChunkConfigIdBytes

      public com.google.protobuf.ByteString getChunkConfigIdBytes()
       Identifier for the chunking configuration used.
      
       Examples: "sentence_splitter_v1", "token_chunker_512_overlap_50"
       
      string chunk_config_id = 3;
      Specified by:
      getChunkConfigIdBytes in interface SemanticProcessingResultOrBuilder
      Returns:
      The bytes for chunkConfigId.
    • getEmbeddingConfigId

      public String getEmbeddingConfigId()
       Identifier for the embedding model/configuration used.
      
       Examples: "ada_002_v1", "minilm_l6_v1"
       
      string embedding_config_id = 4;
      Specified by:
      getEmbeddingConfigId in interface SemanticProcessingResultOrBuilder
      Returns:
      The embeddingConfigId.
    • getEmbeddingConfigIdBytes

      public com.google.protobuf.ByteString getEmbeddingConfigIdBytes()
       Identifier for the embedding model/configuration used.
      
       Examples: "ada_002_v1", "minilm_l6_v1"
       
      string embedding_config_id = 4;
      Specified by:
      getEmbeddingConfigIdBytes in interface SemanticProcessingResultOrBuilder
      Returns:
      The bytes for embeddingConfigId.
    • hasResultSetName

      public boolean hasResultSetName()
       Generated name for this result set.
      
       Used as field name prefix in search indexes or for UI display/selection.
       Examples: "body_chunks_ada_002", "title_sentences_minilm"
       
      optional string result_set_name = 5;
      Specified by:
      hasResultSetName in interface SemanticProcessingResultOrBuilder
      Returns:
      Whether the resultSetName field is set.
    • getResultSetName

      public String getResultSetName()
       Generated name for this result set.
      
       Used as field name prefix in search indexes or for UI display/selection.
       Examples: "body_chunks_ada_002", "title_sentences_minilm"
       
      optional string result_set_name = 5;
      Specified by:
      getResultSetName in interface SemanticProcessingResultOrBuilder
      Returns:
      The resultSetName.
    • getResultSetNameBytes

      public com.google.protobuf.ByteString getResultSetNameBytes()
       Generated name for this result set.
      
       Used as field name prefix in search indexes or for UI display/selection.
       Examples: "body_chunks_ada_002", "title_sentences_minilm"
       
      optional string result_set_name = 5;
      Specified by:
      getResultSetNameBytes in interface SemanticProcessingResultOrBuilder
      Returns:
      The bytes for resultSetName.
    • getChunksList

      public List<SemanticChunk> getChunksList()
       List of semantic chunks with embeddings from this configuration.
       
      repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;
      Specified by:
      getChunksList in interface SemanticProcessingResultOrBuilder
    • getChunksOrBuilderList

      public List<? extends SemanticChunkOrBuilder> getChunksOrBuilderList()
       List of semantic chunks with embeddings from this configuration.
       
      repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;
      Specified by:
      getChunksOrBuilderList in interface SemanticProcessingResultOrBuilder
    • getChunksCount

      public int getChunksCount()
       List of semantic chunks with embeddings from this configuration.
       
      repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;
      Specified by:
      getChunksCount in interface SemanticProcessingResultOrBuilder
    • getChunks

      public SemanticChunk getChunks(int index)
       List of semantic chunks with embeddings from this configuration.
       
      repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;
      Specified by:
      getChunks in interface SemanticProcessingResultOrBuilder
    • getChunksOrBuilder

      public SemanticChunkOrBuilder getChunksOrBuilder(int index)
       List of semantic chunks with embeddings from this configuration.
       
      repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;
      Specified by:
      getChunksOrBuilder in interface SemanticProcessingResultOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: SemanticProcessingResultOrBuilder
       Processing run metadata (e.g., model version, execution time).
       
      map<string, .google.protobuf.Value> metadata = 7;
      Specified by:
      getMetadataCount in interface SemanticProcessingResultOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Processing run metadata (e.g., model version, execution time).
       
      map<string, .google.protobuf.Value> metadata = 7;
      Specified by:
      containsMetadata in interface SemanticProcessingResultOrBuilder
    • getMetadata

      @Deprecated public Map<String,com.google.protobuf.Value> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface SemanticProcessingResultOrBuilder
    • getMetadataMap

      public Map<String,com.google.protobuf.Value> getMetadataMap()
       Processing run metadata (e.g., model version, execution time).
       
      map<string, .google.protobuf.Value> metadata = 7;
      Specified by:
      getMetadataMap in interface SemanticProcessingResultOrBuilder
    • getMetadataOrDefault

      public com.google.protobuf.Value getMetadataOrDefault(String key, com.google.protobuf.Value defaultValue)
       Processing run metadata (e.g., model version, execution time).
       
      map<string, .google.protobuf.Value> metadata = 7;
      Specified by:
      getMetadataOrDefault in interface SemanticProcessingResultOrBuilder
    • getMetadataOrThrow

      public com.google.protobuf.Value getMetadataOrThrow(String key)
       Processing run metadata (e.g., model version, execution time).
       
      map<string, .google.protobuf.Value> metadata = 7;
      Specified by:
      getMetadataOrThrow in interface SemanticProcessingResultOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SemanticProcessingResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SemanticProcessingResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SemanticProcessingResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SemanticProcessingResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SemanticProcessingResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SemanticProcessingResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SemanticProcessingResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SemanticProcessingResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SemanticProcessingResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SemanticProcessingResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SemanticProcessingResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SemanticProcessingResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SemanticProcessingResult.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SemanticProcessingResult.Builder newBuilder()
    • newBuilder

      public static SemanticProcessingResult.Builder newBuilder(SemanticProcessingResult prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SemanticProcessingResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SemanticProcessingResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SemanticProcessingResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<SemanticProcessingResult> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SemanticProcessingResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder