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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeqdrant.RecommendPointsNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanname of the collectioncom.google.protobuf.ByteStringname of the collectionstatic Points.RecommendPointsstatic final com.google.protobuf.Descriptors.DescriptorFilter conditions - return only those points that satisfy the specified conditionsFilter conditions - return only those points that satisfy the specified conditionslonggetLimit()Max number of resultName of the collection to use for points lookup, if not specified - use current collectionName of the collection to use for points lookup, if not specified - use current collectiongetNegative(int index) Try to avoid vectors like thisintTry to avoid vectors like thisTry to avoid vectors like thisgetNegativeOrBuilder(int index) Try to avoid vectors like thisList<? extends Points.PointIdOrBuilder>Try to avoid vectors like thislongOffset of the resultSearch configSearch configcom.google.protobuf.Parser<Points.RecommendPoints>getPositive(int index) Look for vectors closest to thoseintLook for vectors closest to thoseLook for vectors closest to thosegetPositiveOrBuilder(int index) Look for vectors closest to thoseList<? extends Points.PointIdOrBuilder>Look for vectors closest to thosefloatIf provided - cut off results with worse scoresintfinal com.google.protobuf.UnknownFieldSetgetUsing()Define which vector to use for recommendation, if not specified - default vectorcom.google.protobuf.ByteStringDefine which vector to use for recommendation, if not specified - default vectorOptions for specifying which payload to include or notOptions for specifying which payload to include or notOptions for specifying which vectors to include into responseOptions for specifying which vectors to include into responsebooleanFilter conditions - return only those points that satisfy the specified conditionsinthashCode()booleanName of the collection to use for points lookup, if not specified - use current collectionbooleanOffset of the resultbooleanSearch configbooleanIf provided - cut off results with worse scoresbooleanhasUsing()Define which vector to use for recommendation, if not specified - default vectorbooleanOptions for specifying which payload to include or notbooleanOptions for specifying which vectors to include into responseprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Points.RecommendPoints prototype) protected Points.RecommendPoints.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Points.RecommendPointsparseDelimitedFrom(InputStream input) static Points.RecommendPointsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.RecommendPointsparseFrom(byte[] data) static Points.RecommendPointsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.RecommendPointsparseFrom(com.google.protobuf.ByteString data) static Points.RecommendPointsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.RecommendPointsparseFrom(com.google.protobuf.CodedInputStream input) static Points.RecommendPointsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.RecommendPointsparseFrom(InputStream input) static Points.RecommendPointsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.RecommendPointsparseFrom(ByteBuffer data) static Points.RecommendPointsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Points.RecommendPoints>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER- See Also:
-
POSITIVE_FIELD_NUMBER
public static final int POSITIVE_FIELD_NUMBER- See Also:
-
NEGATIVE_FIELD_NUMBER
public static final int NEGATIVE_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
WITH_PAYLOAD_FIELD_NUMBER
public static final int WITH_PAYLOAD_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
SCORE_THRESHOLD_FIELD_NUMBER
public static final int SCORE_THRESHOLD_FIELD_NUMBER- See Also:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
USING_FIELD_NUMBER
public static final int USING_FIELD_NUMBER- See Also:
-
WITH_VECTORS_FIELD_NUMBER
public static final int WITH_VECTORS_FIELD_NUMBER- See Also:
-
LOOKUP_FROM_FIELD_NUMBER
public static final int LOOKUP_FROM_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCollectionName
name of the collection
string collection_name = 1;- Specified by:
getCollectionNamein interfacePoints.RecommendPointsOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;- Specified by:
getCollectionNameBytesin interfacePoints.RecommendPointsOrBuilder- Returns:
- The bytes for collectionName.
-
getPositiveList
Look for vectors closest to those
repeated .qdrant.PointId positive = 2;- Specified by:
getPositiveListin interfacePoints.RecommendPointsOrBuilder
-
getPositiveOrBuilderList
Look for vectors closest to those
repeated .qdrant.PointId positive = 2;- Specified by:
getPositiveOrBuilderListin interfacePoints.RecommendPointsOrBuilder
-
getPositiveCount
public int getPositiveCount()Look for vectors closest to those
repeated .qdrant.PointId positive = 2;- Specified by:
getPositiveCountin interfacePoints.RecommendPointsOrBuilder
-
getPositive
Look for vectors closest to those
repeated .qdrant.PointId positive = 2;- Specified by:
getPositivein interfacePoints.RecommendPointsOrBuilder
-
getPositiveOrBuilder
Look for vectors closest to those
repeated .qdrant.PointId positive = 2;- Specified by:
getPositiveOrBuilderin interfacePoints.RecommendPointsOrBuilder
-
getNegativeList
Try to avoid vectors like this
repeated .qdrant.PointId negative = 3;- Specified by:
getNegativeListin interfacePoints.RecommendPointsOrBuilder
-
getNegativeOrBuilderList
Try to avoid vectors like this
repeated .qdrant.PointId negative = 3;- Specified by:
getNegativeOrBuilderListin interfacePoints.RecommendPointsOrBuilder
-
getNegativeCount
public int getNegativeCount()Try to avoid vectors like this
repeated .qdrant.PointId negative = 3;- Specified by:
getNegativeCountin interfacePoints.RecommendPointsOrBuilder
-
getNegative
Try to avoid vectors like this
repeated .qdrant.PointId negative = 3;- Specified by:
getNegativein interfacePoints.RecommendPointsOrBuilder
-
getNegativeOrBuilder
Try to avoid vectors like this
repeated .qdrant.PointId negative = 3;- Specified by:
getNegativeOrBuilderin interfacePoints.RecommendPointsOrBuilder
-
hasFilter
public boolean hasFilter()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;- Specified by:
hasFilterin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;- Specified by:
getFilterin interfacePoints.RecommendPointsOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;- Specified by:
getFilterOrBuilderin interfacePoints.RecommendPointsOrBuilder
-
getLimit
public long getLimit()Max number of result
uint64 limit = 5;- Specified by:
getLimitin interfacePoints.RecommendPointsOrBuilder- Returns:
- The limit.
-
hasWithPayload
public boolean hasWithPayload()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;- Specified by:
hasWithPayloadin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the withPayload field is set.
-
getWithPayload
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;- Specified by:
getWithPayloadin interfacePoints.RecommendPointsOrBuilder- Returns:
- The withPayload.
-
getWithPayloadOrBuilder
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;- Specified by:
getWithPayloadOrBuilderin interfacePoints.RecommendPointsOrBuilder
-
hasParams
public boolean hasParams()Search config
.qdrant.SearchParams params = 8;- Specified by:
hasParamsin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Search config
.qdrant.SearchParams params = 8;- Specified by:
getParamsin interfacePoints.RecommendPointsOrBuilder- Returns:
- The params.
-
getParamsOrBuilder
Search config
.qdrant.SearchParams params = 8;- Specified by:
getParamsOrBuilderin interfacePoints.RecommendPointsOrBuilder
-
hasScoreThreshold
public boolean hasScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 9;- Specified by:
hasScoreThresholdin interfacePoints.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:
getScoreThresholdin interfacePoints.RecommendPointsOrBuilder- Returns:
- The scoreThreshold.
-
hasOffset
public boolean hasOffset()Offset of the result
optional uint64 offset = 10;- Specified by:
hasOffsetin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the offset field is set.
-
getOffset
public long getOffset()Offset of the result
optional uint64 offset = 10;- Specified by:
getOffsetin interfacePoints.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:
hasUsingin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the using field is set.
-
getUsing
Define which vector to use for recommendation, if not specified - default vector
optional string using = 11;- Specified by:
getUsingin interfacePoints.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:
getUsingBytesin interfacePoints.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:
hasWithVectorsin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the withVectors field is set.
-
getWithVectors
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;- Specified by:
getWithVectorsin interfacePoints.RecommendPointsOrBuilder- Returns:
- The withVectors.
-
getWithVectorsOrBuilder
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;- Specified by:
getWithVectorsOrBuilderin interfacePoints.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:
hasLookupFromin interfacePoints.RecommendPointsOrBuilder- Returns:
- Whether the lookupFrom field is set.
-
getLookupFrom
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;- Specified by:
getLookupFromin interfacePoints.RecommendPointsOrBuilder- Returns:
- The lookupFrom.
-
getLookupFromOrBuilder
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;- Specified by:
getLookupFromOrBuilderin interfacePoints.RecommendPointsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Points.RecommendPoints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Points.RecommendPoints.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-