Package ai.pipestream.data.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classComplete result of semantic chunking and embedding process.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Processing run metadata (e.g., model version, execution time).booleanIdentifier for the chunking configuration used.com.google.protobuf.ByteStringIdentifier for the chunking configuration used.getChunks(int index) List of semantic chunks with embeddings from this configuration.intList of semantic chunks with embeddings from this configuration.List of semantic chunks with embeddings from this configuration.getChunksOrBuilder(int index) List of semantic chunks with embeddings from this configuration.List<? extends SemanticChunkOrBuilder> List of semantic chunks with embeddings from this configuration.static SemanticProcessingResultstatic final com.google.protobuf.Descriptors.DescriptorIdentifier for the embedding model/configuration used.com.google.protobuf.ByteStringIdentifier for the embedding model/configuration used.Deprecated.intProcessing run metadata (e.g., model version, execution time).Processing run metadata (e.g., model version, execution time).com.google.protobuf.ValuegetMetadataOrDefault(String key, com.google.protobuf.Value defaultValue) Processing run metadata (e.g., model version, execution time).com.google.protobuf.ValuegetMetadataOrThrow(String key) Processing run metadata (e.g., model version, execution time).com.google.protobuf.Parser<SemanticProcessingResult> Unique identifier for this result set.com.google.protobuf.ByteStringUnique identifier for this result set.Generated name for this result set.com.google.protobuf.ByteStringGenerated name for this result set.intName of the PipeDoc field that was processed.com.google.protobuf.ByteStringName of the PipeDoc field that was processed.inthashCode()booleanGenerated name for this result set.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(SemanticProcessingResult prototype) protected SemanticProcessingResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SemanticProcessingResultparseDelimitedFrom(InputStream input) static SemanticProcessingResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SemanticProcessingResultparseFrom(byte[] data) static SemanticProcessingResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SemanticProcessingResultparseFrom(com.google.protobuf.ByteString data) static SemanticProcessingResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SemanticProcessingResultparseFrom(com.google.protobuf.CodedInputStream input) static SemanticProcessingResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SemanticProcessingResultparseFrom(InputStream input) static SemanticProcessingResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SemanticProcessingResultparseFrom(ByteBuffer data) static SemanticProcessingResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SemanticProcessingResult> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResultId
Unique identifier for this result set.
string result_id = 1;- Specified by:
getResultIdin interfaceSemanticProcessingResultOrBuilder- Returns:
- The resultId.
-
getResultIdBytes
public com.google.protobuf.ByteString getResultIdBytes()Unique identifier for this result set.
string result_id = 1;- Specified by:
getResultIdBytesin interfaceSemanticProcessingResultOrBuilder- Returns:
- The bytes for resultId.
-
getSourceFieldName
Name of the PipeDoc field that was processed. Examples: "body", "title", "abstract"
string source_field_name = 2;- Specified by:
getSourceFieldNamein interfaceSemanticProcessingResultOrBuilder- 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:
getSourceFieldNameBytesin interfaceSemanticProcessingResultOrBuilder- Returns:
- The bytes for sourceFieldName.
-
getChunkConfigId
Identifier for the chunking configuration used. Examples: "sentence_splitter_v1", "token_chunker_512_overlap_50"
string chunk_config_id = 3;- Specified by:
getChunkConfigIdin interfaceSemanticProcessingResultOrBuilder- 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:
getChunkConfigIdBytesin interfaceSemanticProcessingResultOrBuilder- Returns:
- The bytes for chunkConfigId.
-
getEmbeddingConfigId
Identifier for the embedding model/configuration used. Examples: "ada_002_v1", "minilm_l6_v1"
string embedding_config_id = 4;- Specified by:
getEmbeddingConfigIdin interfaceSemanticProcessingResultOrBuilder- 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:
getEmbeddingConfigIdBytesin interfaceSemanticProcessingResultOrBuilder- 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:
hasResultSetNamein interfaceSemanticProcessingResultOrBuilder- Returns:
- Whether the resultSetName field is set.
-
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:
getResultSetNamein interfaceSemanticProcessingResultOrBuilder- 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:
getResultSetNameBytesin interfaceSemanticProcessingResultOrBuilder- Returns:
- The bytes for resultSetName.
-
getChunksList
List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;- Specified by:
getChunksListin interfaceSemanticProcessingResultOrBuilder
-
getChunksOrBuilderList
List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;- Specified by:
getChunksOrBuilderListin interfaceSemanticProcessingResultOrBuilder
-
getChunksCount
public int getChunksCount()List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;- Specified by:
getChunksCountin interfaceSemanticProcessingResultOrBuilder
-
getChunks
List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;- Specified by:
getChunksin interfaceSemanticProcessingResultOrBuilder
-
getChunksOrBuilder
List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6;- Specified by:
getChunksOrBuilderin interfaceSemanticProcessingResultOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:SemanticProcessingResultOrBuilderProcessing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7;- Specified by:
getMetadataCountin interfaceSemanticProcessingResultOrBuilder
-
containsMetadata
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7;- Specified by:
containsMetadatain interfaceSemanticProcessingResultOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceSemanticProcessingResultOrBuilder
-
getMetadataMap
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7;- Specified by:
getMetadataMapin interfaceSemanticProcessingResultOrBuilder
-
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:
getMetadataOrDefaultin interfaceSemanticProcessingResultOrBuilder
-
getMetadataOrThrow
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7;- Specified by:
getMetadataOrThrowin interfaceSemanticProcessingResultOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static SemanticProcessingResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SemanticProcessingResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-