Interface WeaviateProtoSearchGet.NearVectorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeaviateProtoSearchGet.NearVector,WeaviateProtoSearchGet.NearVector.Builder
- Enclosing class:
- WeaviateProtoSearchGet
public static interface WeaviateProtoSearchGet.NearVectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description doublegetCertainty()optional double certainty = 2;doublegetDistance()optional double distance = 3;StringgetTargetVectors(int index)repeated string target_vectors = 5;com.google.protobuf.ByteStringgetTargetVectorsBytes(int index)repeated string target_vectors = 5;intgetTargetVectorsCount()repeated string target_vectors = 5;List<String>getTargetVectorsList()repeated string target_vectors = 5;floatgetVector(int index)Deprecated.weaviate.v1.NearVector.vector is deprecated.com.google.protobuf.ByteStringgetVectorBytes()bytes vector_bytes = 4;intgetVectorCount()Deprecated.weaviate.v1.NearVector.vector is deprecated.List<Float>getVectorList()Deprecated.weaviate.v1.NearVector.vector is deprecated.booleanhasCertainty()optional double certainty = 2;booleanhasDistance()optional double distance = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVectorList
@Deprecated List<Float> getVectorList()
Deprecated.weaviate.v1.NearVector.vector is deprecated. See v1/search_get.proto;l=194protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 1 [deprecated = true];- Returns:
- A list containing the vector.
-
getVectorCount
@Deprecated int getVectorCount()
Deprecated.weaviate.v1.NearVector.vector is deprecated. See v1/search_get.proto;l=194protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 1 [deprecated = true];- Returns:
- The count of vector.
-
getVector
@Deprecated float getVector(int index)
Deprecated.weaviate.v1.NearVector.vector is deprecated. See v1/search_get.proto;l=194protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 1 [deprecated = true];- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
hasCertainty
boolean hasCertainty()
optional double certainty = 2;- Returns:
- Whether the certainty field is set.
-
getCertainty
double getCertainty()
optional double certainty = 2;- Returns:
- The certainty.
-
hasDistance
boolean hasDistance()
optional double distance = 3;- Returns:
- Whether the distance field is set.
-
getDistance
double getDistance()
optional double distance = 3;- Returns:
- The distance.
-
getVectorBytes
com.google.protobuf.ByteString getVectorBytes()
bytes vector_bytes = 4;- Returns:
- The vectorBytes.
-
getTargetVectorsList
List<String> getTargetVectorsList()
repeated string target_vectors = 5;- Returns:
- A list containing the targetVectors.
-
getTargetVectorsCount
int getTargetVectorsCount()
repeated string target_vectors = 5;- Returns:
- The count of targetVectors.
-
getTargetVectors
String getTargetVectors(int index)
repeated string target_vectors = 5;- Parameters:
index- The index of the element to return.- Returns:
- The targetVectors at the given index.
-
getTargetVectorsBytes
com.google.protobuf.ByteString getTargetVectorsBytes(int index)
repeated string target_vectors = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetVectors at the given index.
-
-