Interface WeaviateProtoSearchGet.NearVectorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      double getCertainty()
      optional double certainty = 2;
      double getDistance()
      optional double distance = 3;
      String getTargetVectors​(int index)
      repeated string target_vectors = 5;
      com.google.protobuf.ByteString getTargetVectorsBytes​(int index)
      repeated string target_vectors = 5;
      int getTargetVectorsCount()
      repeated string target_vectors = 5;
      List<String> getTargetVectorsList()
      repeated string target_vectors = 5;
      float getVector​(int index)
      Deprecated.
      weaviate.v1.NearVector.vector is deprecated.
      com.google.protobuf.ByteString getVectorBytes()
      bytes vector_bytes = 4;
      int getVectorCount()
      Deprecated.
      weaviate.v1.NearVector.vector is deprecated.
      List<Float> getVectorList()
      Deprecated.
      weaviate.v1.NearVector.vector is deprecated.
      boolean hasCertainty()
      optional double certainty = 2;
      boolean hasDistance()
      optional double distance = 3;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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=194
         protolint: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=194
         protolint: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=194
         protolint: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.