Interface SearchRequest.EmbeddingSpec.EmbeddingVectorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchRequest.EmbeddingSpec.EmbeddingVector,SearchRequest.EmbeddingSpec.EmbeddingVector.Builder
- Enclosing class:
- SearchRequest.EmbeddingSpec
public static interface SearchRequest.EmbeddingSpec.EmbeddingVectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionEmbedding field path in schema.com.google.protobuf.ByteStringEmbedding field path in schema.floatgetVector(int index) Query embedding vector.intQuery embedding vector.Query embedding vector.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
-
getFieldPath
String getFieldPath()Embedding field path in schema.
string field_path = 1;- Returns:
- The fieldPath.
-
getFieldPathBytes
com.google.protobuf.ByteString getFieldPathBytes()Embedding field path in schema.
string field_path = 1;- Returns:
- The bytes for fieldPath.
-
getVectorList
Query embedding vector.
repeated float vector = 2;- Returns:
- A list containing the vector.
-
getVectorCount
int getVectorCount()Query embedding vector.
repeated float vector = 2;- Returns:
- The count of vector.
-
getVector
float getVector(int index) Query embedding vector.
repeated float vector = 2;- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-