Class Points.RecommendPoints

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.metaloom.qdrant.client.grpc.proto.Points.RecommendPoints
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Points.RecommendPointsOrBuilder, Serializable
Enclosing class:
Points

public static final class Points.RecommendPoints extends com.google.protobuf.GeneratedMessageV3 implements Points.RecommendPointsOrBuilder
Protobuf type qdrant.RecommendPoints
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getCollectionName

      public String getCollectionName()
       name of the collection
       
      string collection_name = 1;
      Specified by:
      getCollectionName in interface Points.RecommendPointsOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
       name of the collection
       
      string collection_name = 1;
      Specified by:
      getCollectionNameBytes in interface Points.RecommendPointsOrBuilder
      Returns:
      The bytes for collectionName.
    • getPositiveList

      public List<Points.PointId> getPositiveList()
       Look for vectors closest to those
       
      repeated .qdrant.PointId positive = 2;
      Specified by:
      getPositiveList in interface Points.RecommendPointsOrBuilder
    • getPositiveOrBuilderList

      public List<? extends Points.PointIdOrBuilder> getPositiveOrBuilderList()
       Look for vectors closest to those
       
      repeated .qdrant.PointId positive = 2;
      Specified by:
      getPositiveOrBuilderList in interface Points.RecommendPointsOrBuilder
    • getPositiveCount

      public int getPositiveCount()
       Look for vectors closest to those
       
      repeated .qdrant.PointId positive = 2;
      Specified by:
      getPositiveCount in interface Points.RecommendPointsOrBuilder
    • getPositive

      public Points.PointId getPositive(int index)
       Look for vectors closest to those
       
      repeated .qdrant.PointId positive = 2;
      Specified by:
      getPositive in interface Points.RecommendPointsOrBuilder
    • getPositiveOrBuilder

      public Points.PointIdOrBuilder getPositiveOrBuilder(int index)
       Look for vectors closest to those
       
      repeated .qdrant.PointId positive = 2;
      Specified by:
      getPositiveOrBuilder in interface Points.RecommendPointsOrBuilder
    • getNegativeList

      public List<Points.PointId> getNegativeList()
       Try to avoid vectors like this
       
      repeated .qdrant.PointId negative = 3;
      Specified by:
      getNegativeList in interface Points.RecommendPointsOrBuilder
    • getNegativeOrBuilderList

      public List<? extends Points.PointIdOrBuilder> getNegativeOrBuilderList()
       Try to avoid vectors like this
       
      repeated .qdrant.PointId negative = 3;
      Specified by:
      getNegativeOrBuilderList in interface Points.RecommendPointsOrBuilder
    • getNegativeCount

      public int getNegativeCount()
       Try to avoid vectors like this
       
      repeated .qdrant.PointId negative = 3;
      Specified by:
      getNegativeCount in interface Points.RecommendPointsOrBuilder
    • getNegative

      public Points.PointId getNegative(int index)
       Try to avoid vectors like this
       
      repeated .qdrant.PointId negative = 3;
      Specified by:
      getNegative in interface Points.RecommendPointsOrBuilder
    • getNegativeOrBuilder

      public Points.PointIdOrBuilder getNegativeOrBuilder(int index)
       Try to avoid vectors like this
       
      repeated .qdrant.PointId negative = 3;
      Specified by:
      getNegativeOrBuilder in interface Points.RecommendPointsOrBuilder
    • hasFilter

      public boolean hasFilter()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 4;
      Specified by:
      hasFilter in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public Points.Filter getFilter()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 4;
      Specified by:
      getFilter in interface Points.RecommendPointsOrBuilder
      Returns:
      The filter.
    • getFilterOrBuilder

      public Points.FilterOrBuilder getFilterOrBuilder()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 4;
      Specified by:
      getFilterOrBuilder in interface Points.RecommendPointsOrBuilder
    • getLimit

      public long getLimit()
       Max number of result
       
      uint64 limit = 5;
      Specified by:
      getLimit in interface Points.RecommendPointsOrBuilder
      Returns:
      The limit.
    • hasWithPayload

      public boolean hasWithPayload()
       Options for specifying which payload to include or not
       
      .qdrant.WithPayloadSelector with_payload = 7;
      Specified by:
      hasWithPayload in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the withPayload field is set.
    • getWithPayload

      public Points.WithPayloadSelector getWithPayload()
       Options for specifying which payload to include or not
       
      .qdrant.WithPayloadSelector with_payload = 7;
      Specified by:
      getWithPayload in interface Points.RecommendPointsOrBuilder
      Returns:
      The withPayload.
    • getWithPayloadOrBuilder

      public Points.WithPayloadSelectorOrBuilder getWithPayloadOrBuilder()
       Options for specifying which payload to include or not
       
      .qdrant.WithPayloadSelector with_payload = 7;
      Specified by:
      getWithPayloadOrBuilder in interface Points.RecommendPointsOrBuilder
    • hasParams

      public boolean hasParams()
       Search config
       
      .qdrant.SearchParams params = 8;
      Specified by:
      hasParams in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public Points.SearchParams getParams()
       Search config
       
      .qdrant.SearchParams params = 8;
      Specified by:
      getParams in interface Points.RecommendPointsOrBuilder
      Returns:
      The params.
    • getParamsOrBuilder

      public Points.SearchParamsOrBuilder getParamsOrBuilder()
       Search config
       
      .qdrant.SearchParams params = 8;
      Specified by:
      getParamsOrBuilder in interface Points.RecommendPointsOrBuilder
    • hasScoreThreshold

      public boolean hasScoreThreshold()
       If provided - cut off results with worse scores
       
      optional float score_threshold = 9;
      Specified by:
      hasScoreThreshold in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the scoreThreshold field is set.
    • getScoreThreshold

      public float getScoreThreshold()
       If provided - cut off results with worse scores
       
      optional float score_threshold = 9;
      Specified by:
      getScoreThreshold in interface Points.RecommendPointsOrBuilder
      Returns:
      The scoreThreshold.
    • hasOffset

      public boolean hasOffset()
       Offset of the result
       
      optional uint64 offset = 10;
      Specified by:
      hasOffset in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the offset field is set.
    • getOffset

      public long getOffset()
       Offset of the result
       
      optional uint64 offset = 10;
      Specified by:
      getOffset in interface Points.RecommendPointsOrBuilder
      Returns:
      The offset.
    • hasUsing

      public boolean hasUsing()
       Define which vector to use for recommendation, if not specified - default vector
       
      optional string using = 11;
      Specified by:
      hasUsing in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the using field is set.
    • getUsing

      public String getUsing()
       Define which vector to use for recommendation, if not specified - default vector
       
      optional string using = 11;
      Specified by:
      getUsing in interface Points.RecommendPointsOrBuilder
      Returns:
      The using.
    • getUsingBytes

      public com.google.protobuf.ByteString getUsingBytes()
       Define which vector to use for recommendation, if not specified - default vector
       
      optional string using = 11;
      Specified by:
      getUsingBytes in interface Points.RecommendPointsOrBuilder
      Returns:
      The bytes for using.
    • hasWithVectors

      public boolean hasWithVectors()
       Options for specifying which vectors to include into response
       
      optional .qdrant.WithVectorsSelector with_vectors = 12;
      Specified by:
      hasWithVectors in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the withVectors field is set.
    • getWithVectors

      public Points.WithVectorsSelector getWithVectors()
       Options for specifying which vectors to include into response
       
      optional .qdrant.WithVectorsSelector with_vectors = 12;
      Specified by:
      getWithVectors in interface Points.RecommendPointsOrBuilder
      Returns:
      The withVectors.
    • getWithVectorsOrBuilder

      public Points.WithVectorsSelectorOrBuilder getWithVectorsOrBuilder()
       Options for specifying which vectors to include into response
       
      optional .qdrant.WithVectorsSelector with_vectors = 12;
      Specified by:
      getWithVectorsOrBuilder in interface Points.RecommendPointsOrBuilder
    • hasLookupFrom

      public boolean hasLookupFrom()
       Name of the collection to use for points lookup, if not specified - use current collection
       
      optional .qdrant.LookupLocation lookup_from = 13;
      Specified by:
      hasLookupFrom in interface Points.RecommendPointsOrBuilder
      Returns:
      Whether the lookupFrom field is set.
    • getLookupFrom

      public Points.LookupLocation getLookupFrom()
       Name of the collection to use for points lookup, if not specified - use current collection
       
      optional .qdrant.LookupLocation lookup_from = 13;
      Specified by:
      getLookupFrom in interface Points.RecommendPointsOrBuilder
      Returns:
      The lookupFrom.
    • getLookupFromOrBuilder

      public Points.LookupLocationOrBuilder getLookupFromOrBuilder()
       Name of the collection to use for points lookup, if not specified - use current collection
       
      optional .qdrant.LookupLocation lookup_from = 13;
      Specified by:
      getLookupFromOrBuilder in interface Points.RecommendPointsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Points.RecommendPoints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Points.RecommendPoints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Points.RecommendPoints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Points.RecommendPoints parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Points.RecommendPoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Points.RecommendPoints parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Points.RecommendPoints parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Points.RecommendPoints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Points.RecommendPoints parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Points.RecommendPoints parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Points.RecommendPoints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Points.RecommendPoints parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Points.RecommendPoints.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Points.RecommendPoints.Builder newBuilder()
    • newBuilder

      public static Points.RecommendPoints.Builder newBuilder(Points.RecommendPoints prototype)
    • toBuilder

      public Points.RecommendPoints.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Points.RecommendPoints.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Points.RecommendPoints getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Points.RecommendPoints> parser()
    • getParserForType

      public com.google.protobuf.Parser<Points.RecommendPoints> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Points.RecommendPoints getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder