public interface ScoredVectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
This is the vector's unique id.
|
com.google.protobuf.ByteString |
getIdBytes()
This is the vector's unique id.
|
com.google.protobuf.Struct |
getMetadata()
This is the metadata, if it is requested.
|
com.google.protobuf.StructOrBuilder |
getMetadataOrBuilder()
This is the metadata, if it is requested.
|
float |
getScore()
This is a measure of similarity between this vector and the query vector.
|
SparseValues |
getSparseValues()
This is the sparse data, if it is requested.
|
SparseValuesOrBuilder |
getSparseValuesOrBuilder()
This is the sparse data, if it is requested.
|
float |
getValues(int index)
This is the vector data, if it is requested.
|
int |
getValuesCount()
This is the vector data, if it is requested.
|
java.util.List<java.lang.Float> |
getValuesList()
This is the vector data, if it is requested.
|
boolean |
hasMetadata()
This is the metadata, if it is requested.
|
boolean |
hasSparseValues()
This is the sparse data, if it is requested.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getId()
This is the vector's unique id.
string id = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getIdBytes()
This is the vector's unique id.
string id = 1 [(.google.api.field_behavior) = REQUIRED];float getScore()
This is a measure of similarity between this vector and the query vector. The higher the score, the more they are similar.
float score = 2;java.util.List<java.lang.Float> getValuesList()
This is the vector data, if it is requested.
repeated float values = 3;int getValuesCount()
This is the vector data, if it is requested.
repeated float values = 3;float getValues(int index)
This is the vector data, if it is requested.
repeated float values = 3;index - The index of the element to return.boolean hasSparseValues()
This is the sparse data, if it is requested.
.SparseValues sparse_values = 5;SparseValues getSparseValues()
This is the sparse data, if it is requested.
.SparseValues sparse_values = 5;SparseValuesOrBuilder getSparseValuesOrBuilder()
This is the sparse data, if it is requested.
.SparseValues sparse_values = 5;boolean hasMetadata()
This is the metadata, if it is requested.
.google.protobuf.Struct metadata = 4;com.google.protobuf.Struct getMetadata()
This is the metadata, if it is requested.
.google.protobuf.Struct metadata = 4;com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
This is the metadata, if it is requested.
.google.protobuf.Struct metadata = 4;