Package io.qdrant.client.grpc
Class Points.RecommendPoints.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
io.qdrant.client.grpc.Points.RecommendPoints.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.RecommendPointsOrBuilder
,Cloneable
- Enclosing class:
- Points.RecommendPoints
public static final class Points.RecommendPoints.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
implements Points.RecommendPointsOrBuilder
Protobuf type
qdrant.RecommendPoints
-
Method Summary
Modifier and TypeMethodDescriptionaddAllNegative
(Iterable<? extends Points.PointId> values) Try to avoid vectors like the vector from these pointsaddAllNegativeVectors
(Iterable<? extends Points.Vector> values) Try to avoid vectors like thisaddAllPositive
(Iterable<? extends Points.PointId> values) Look for vectors closest to the vectors from these pointsaddAllPositiveVectors
(Iterable<? extends Points.Vector> values) Look for vectors closest to thoseaddNegative
(int index, Points.PointId value) Try to avoid vectors like the vector from these pointsaddNegative
(int index, Points.PointId.Builder builderForValue) Try to avoid vectors like the vector from these pointsaddNegative
(Points.PointId value) Try to avoid vectors like the vector from these pointsaddNegative
(Points.PointId.Builder builderForValue) Try to avoid vectors like the vector from these pointsTry to avoid vectors like the vector from these pointsaddNegativeBuilder
(int index) Try to avoid vectors like the vector from these pointsaddNegativeVectors
(int index, Points.Vector value) Try to avoid vectors like thisaddNegativeVectors
(int index, Points.Vector.Builder builderForValue) Try to avoid vectors like thisaddNegativeVectors
(Points.Vector value) Try to avoid vectors like thisaddNegativeVectors
(Points.Vector.Builder builderForValue) Try to avoid vectors like thisTry to avoid vectors like thisaddNegativeVectorsBuilder
(int index) Try to avoid vectors like thisaddPositive
(int index, Points.PointId value) Look for vectors closest to the vectors from these pointsaddPositive
(int index, Points.PointId.Builder builderForValue) Look for vectors closest to the vectors from these pointsaddPositive
(Points.PointId value) Look for vectors closest to the vectors from these pointsaddPositive
(Points.PointId.Builder builderForValue) Look for vectors closest to the vectors from these pointsLook for vectors closest to the vectors from these pointsaddPositiveBuilder
(int index) Look for vectors closest to the vectors from these pointsaddPositiveVectors
(int index, Points.Vector value) Look for vectors closest to thoseaddPositiveVectors
(int index, Points.Vector.Builder builderForValue) Look for vectors closest to thoseaddPositiveVectors
(Points.Vector value) Look for vectors closest to thoseaddPositiveVectors
(Points.Vector.Builder builderForValue) Look for vectors closest to thoseLook for vectors closest to thoseaddPositiveVectorsBuilder
(int index) Look for vectors closest to thoseaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
name of the collectionclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filter conditions - return only those points that satisfy the specified conditionsMax number of resultName of the collection to use for points lookup, if not specified - use current collectionTry to avoid vectors like the vector from these pointsTry to avoid vectors like thisOffset of the resultclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Search configLook for vectors closest to the vectors from these pointsLook for vectors closest to thoseOptions for specifying read consistency guaranteesIf provided - cut off results with worse scoresHow to use the example vectors to find the resultsDefine which vector to use for recommendation, if not specified - default vectorOptions for specifying which payload to include or notOptions for specifying which vectors to include into responseclone()
name of the collectioncom.google.protobuf.ByteString
name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Filter conditions - return only those points that satisfy the specified conditionsFilter conditions - return only those points that satisfy the specified conditionsFilter conditions - return only those points that satisfy the specified conditionslong
getLimit()
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 collectionName of the collection to use for points lookup, if not specified - use current collectiongetNegative
(int index) Try to avoid vectors like the vector from these pointsgetNegativeBuilder
(int index) Try to avoid vectors like the vector from these pointsTry to avoid vectors like the vector from these pointsint
Try to avoid vectors like the vector from these pointsTry to avoid vectors like the vector from these pointsgetNegativeOrBuilder
(int index) Try to avoid vectors like the vector from these pointsList<? extends Points.PointIdOrBuilder>
Try to avoid vectors like the vector from these pointsgetNegativeVectors
(int index) Try to avoid vectors like thisgetNegativeVectorsBuilder
(int index) Try to avoid vectors like thisTry to avoid vectors like thisint
Try to avoid vectors like thisTry to avoid vectors like thisgetNegativeVectorsOrBuilder
(int index) Try to avoid vectors like thisList<? extends Points.VectorOrBuilder>
Try to avoid vectors like thislong
Offset of the resultSearch configSearch configSearch configgetPositive
(int index) Look for vectors closest to the vectors from these pointsgetPositiveBuilder
(int index) Look for vectors closest to the vectors from these pointsLook for vectors closest to the vectors from these pointsint
Look for vectors closest to the vectors from these pointsLook for vectors closest to the vectors from these pointsgetPositiveOrBuilder
(int index) Look for vectors closest to the vectors from these pointsList<? extends Points.PointIdOrBuilder>
Look for vectors closest to the vectors from these pointsgetPositiveVectors
(int index) Look for vectors closest to thosegetPositiveVectorsBuilder
(int index) Look for vectors closest to thoseLook for vectors closest to thoseint
Look for vectors closest to thoseLook for vectors closest to thosegetPositiveVectorsOrBuilder
(int index) Look for vectors closest to thoseList<? extends Points.VectorOrBuilder>
Look for vectors closest to thoseOptions for specifying read consistency guaranteesOptions for specifying read consistency guaranteesOptions for specifying read consistency guaranteesfloat
If provided - cut off results with worse scoresHow to use the example vectors to find the resultsint
How to use the example vectors to find the resultsgetUsing()
Define which vector to use for recommendation, if not specified - default vectorcom.google.protobuf.ByteString
Define 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 payload to include or notOptions for specifying which vectors to include into responseOptions for specifying which vectors to include into responseOptions for specifying which vectors to include into responseboolean
Filter conditions - return only those points that satisfy the specified conditionsboolean
Name of the collection to use for points lookup, if not specified - use current collectionboolean
Offset of the resultboolean
Search configboolean
Options for specifying read consistency guaranteesboolean
If provided - cut off results with worse scoresboolean
How to use the example vectors to find the resultsboolean
hasUsing()
Define which vector to use for recommendation, if not specified - default vectorboolean
Options for specifying which payload to include or notboolean
Options for specifying which vectors to include into responseprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFilter
(Points.Filter value) Filter conditions - return only those points that satisfy the specified conditionsmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Points.RecommendPoints other) Name of the collection to use for points lookup, if not specified - use current collectionmergeParams
(Points.SearchParams value) Search configOptions for specifying read consistency guaranteesmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Options for specifying which payload to include or notOptions for specifying which vectors to include into responseremoveNegative
(int index) Try to avoid vectors like the vector from these pointsremoveNegativeVectors
(int index) Try to avoid vectors like thisremovePositive
(int index) Look for vectors closest to the vectors from these pointsremovePositiveVectors
(int index) Look for vectors closest to thosesetCollectionName
(String value) name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) name of the collectionsetFilter
(Points.Filter value) Filter conditions - return only those points that satisfy the specified conditionssetFilter
(Points.Filter.Builder builderForValue) Filter conditions - return only those points that satisfy the specified conditionssetLimit
(long value) Max number of resultName of the collection to use for points lookup, if not specified - use current collectionsetLookupFrom
(Points.LookupLocation.Builder builderForValue) Name of the collection to use for points lookup, if not specified - use current collectionsetNegative
(int index, Points.PointId value) Try to avoid vectors like the vector from these pointssetNegative
(int index, Points.PointId.Builder builderForValue) Try to avoid vectors like the vector from these pointssetNegativeVectors
(int index, Points.Vector value) Try to avoid vectors like thissetNegativeVectors
(int index, Points.Vector.Builder builderForValue) Try to avoid vectors like thissetOffset
(long value) Offset of the resultsetParams
(Points.SearchParams value) Search configsetParams
(Points.SearchParams.Builder builderForValue) Search configsetPositive
(int index, Points.PointId value) Look for vectors closest to the vectors from these pointssetPositive
(int index, Points.PointId.Builder builderForValue) Look for vectors closest to the vectors from these pointssetPositiveVectors
(int index, Points.Vector value) Look for vectors closest to thosesetPositiveVectors
(int index, Points.Vector.Builder builderForValue) Look for vectors closest to thoseOptions for specifying read consistency guaranteessetReadConsistency
(Points.ReadConsistency.Builder builderForValue) Options for specifying read consistency guaranteessetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setScoreThreshold
(float value) If provided - cut off results with worse scoresHow to use the example vectors to find the resultssetStrategyValue
(int value) How to use the example vectors to find the resultssetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Define which vector to use for recommendation, if not specified - default vectorsetUsingBytes
(com.google.protobuf.ByteString value) Define which vector to use for recommendation, if not specified - default vectorOptions for specifying which payload to include or notsetWithPayload
(Points.WithPayloadSelector.Builder builderForValue) Options for specifying which payload to include or notOptions for specifying which vectors to include into responsesetWithVectors
(Points.WithVectorsSelector.Builder builderForValue) Options for specifying which vectors to include into responseMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
setField
public Points.RecommendPoints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
clearField
public Points.RecommendPoints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
clearOneof
public Points.RecommendPoints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
setRepeatedField
public Points.RecommendPoints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
addRepeatedField
public Points.RecommendPoints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.RecommendPoints.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
mergeFrom
public Points.RecommendPoints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.RecommendPoints.Builder>
- Throws:
IOException
-
getCollectionName
name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The bytes for collectionName.
-
setCollectionName
name of the collection
string collection_name = 1;
- Parameters:
value
- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
name of the collection
string collection_name = 1;
- Returns:
- This builder for chaining.
-
setCollectionNameBytes
name of the collection
string collection_name = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
getPositiveList
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
- Specified by:
getPositiveList
in interfacePoints.RecommendPointsOrBuilder
-
getPositiveCount
public int getPositiveCount()Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
- Specified by:
getPositiveCount
in interfacePoints.RecommendPointsOrBuilder
-
getPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
- Specified by:
getPositive
in interfacePoints.RecommendPointsOrBuilder
-
setPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
setPositive
public Points.RecommendPoints.Builder setPositive(int index, Points.PointId.Builder builderForValue) Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
addPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
addPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
addPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
addPositive
public Points.RecommendPoints.Builder addPositive(int index, Points.PointId.Builder builderForValue) Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
addAllPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
clearPositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
removePositive
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
getPositiveBuilder
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
getPositiveOrBuilder
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
- Specified by:
getPositiveOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
getPositiveOrBuilderList
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
- Specified by:
getPositiveOrBuilderList
in interfacePoints.RecommendPointsOrBuilder
-
addPositiveBuilder
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
addPositiveBuilder
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
getPositiveBuilderList
Look for vectors closest to the vectors from these points
repeated .qdrant.PointId positive = 2;
-
getNegativeList
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
- Specified by:
getNegativeList
in interfacePoints.RecommendPointsOrBuilder
-
getNegativeCount
public int getNegativeCount()Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
- Specified by:
getNegativeCount
in interfacePoints.RecommendPointsOrBuilder
-
getNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
- Specified by:
getNegative
in interfacePoints.RecommendPointsOrBuilder
-
setNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
setNegative
public Points.RecommendPoints.Builder setNegative(int index, Points.PointId.Builder builderForValue) Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
addNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
addNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
addNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
addNegative
public Points.RecommendPoints.Builder addNegative(int index, Points.PointId.Builder builderForValue) Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
addAllNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
clearNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
removeNegative
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
getNegativeBuilder
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
getNegativeOrBuilder
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
- Specified by:
getNegativeOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
getNegativeOrBuilderList
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
- Specified by:
getNegativeOrBuilderList
in interfacePoints.RecommendPointsOrBuilder
-
addNegativeBuilder
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
addNegativeBuilder
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
getNegativeBuilderList
Try to avoid vectors like the vector from these points
repeated .qdrant.PointId negative = 3;
-
hasFilter
public boolean hasFilter()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
- Specified by:
hasFilter
in 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:
getFilter
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The filter.
-
setFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
-
setFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
-
mergeFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
-
clearFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
-
getFilterBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
-
getFilterOrBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 4;
- Specified by:
getFilterOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
getLimit
public long getLimit()Max number of result
uint64 limit = 5;
- Specified by:
getLimit
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The limit.
-
setLimit
Max number of result
uint64 limit = 5;
- Parameters:
value
- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
Max number of result
uint64 limit = 5;
- Returns:
- This builder for chaining.
-
hasWithPayload
public boolean hasWithPayload()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
- Specified by:
hasWithPayload
in 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:
getWithPayload
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The withPayload.
-
setWithPayload
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
-
setWithPayload
public Points.RecommendPoints.Builder setWithPayload(Points.WithPayloadSelector.Builder builderForValue) Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
-
mergeWithPayload
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
-
clearWithPayload
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
-
getWithPayloadBuilder
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
-
getWithPayloadOrBuilder
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 7;
- Specified by:
getWithPayloadOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
hasParams
public boolean hasParams()Search config
.qdrant.SearchParams params = 8;
- Specified by:
hasParams
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
Search config
.qdrant.SearchParams params = 8;
- Specified by:
getParams
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The params.
-
setParams
Search config
.qdrant.SearchParams params = 8;
-
setParams
Search config
.qdrant.SearchParams params = 8;
-
mergeParams
Search config
.qdrant.SearchParams params = 8;
-
clearParams
Search config
.qdrant.SearchParams params = 8;
-
getParamsBuilder
Search config
.qdrant.SearchParams params = 8;
-
getParamsOrBuilder
Search config
.qdrant.SearchParams params = 8;
- Specified by:
getParamsOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
hasScoreThreshold
public boolean hasScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 9;
- Specified by:
hasScoreThreshold
in 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:
getScoreThreshold
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The scoreThreshold.
-
setScoreThreshold
If provided - cut off results with worse scores
optional float score_threshold = 9;
- Parameters:
value
- The scoreThreshold to set.- Returns:
- This builder for chaining.
-
clearScoreThreshold
If provided - cut off results with worse scores
optional float score_threshold = 9;
- Returns:
- This builder for chaining.
-
hasOffset
public boolean hasOffset()Offset of the result
optional uint64 offset = 10;
- Specified by:
hasOffset
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- Whether the offset field is set.
-
getOffset
public long getOffset()Offset of the result
optional uint64 offset = 10;
- Specified by:
getOffset
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The offset.
-
setOffset
Offset of the result
optional uint64 offset = 10;
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
Offset of the result
optional uint64 offset = 10;
- Returns:
- This builder for chaining.
-
hasUsing
public boolean hasUsing()Define which vector to use for recommendation, if not specified - default vector
optional string using = 11;
- Specified by:
hasUsing
in 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:
getUsing
in 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:
getUsingBytes
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The bytes for using.
-
setUsing
Define which vector to use for recommendation, if not specified - default vector
optional string using = 11;
- Parameters:
value
- The using to set.- Returns:
- This builder for chaining.
-
clearUsing
Define which vector to use for recommendation, if not specified - default vector
optional string using = 11;
- Returns:
- This builder for chaining.
-
setUsingBytes
Define which vector to use for recommendation, if not specified - default vector
optional string using = 11;
- Parameters:
value
- The bytes for using to set.- Returns:
- This builder for chaining.
-
hasWithVectors
public boolean hasWithVectors()Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
- Specified by:
hasWithVectors
in 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:
getWithVectors
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The withVectors.
-
setWithVectors
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
-
setWithVectors
public Points.RecommendPoints.Builder setWithVectors(Points.WithVectorsSelector.Builder builderForValue) Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
-
mergeWithVectors
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
-
clearWithVectors
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
-
getWithVectorsBuilder
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
-
getWithVectorsOrBuilder
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 12;
- Specified by:
getWithVectorsOrBuilder
in 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:
hasLookupFrom
in 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:
getLookupFrom
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The lookupFrom.
-
setLookupFrom
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;
-
setLookupFrom
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;
-
mergeLookupFrom
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;
-
clearLookupFrom
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;
-
getLookupFromBuilder
Name of the collection to use for points lookup, if not specified - use current collection
optional .qdrant.LookupLocation lookup_from = 13;
-
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 interfacePoints.RecommendPointsOrBuilder
-
hasReadConsistency
public boolean hasReadConsistency()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
- Specified by:
hasReadConsistency
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- Whether the readConsistency field is set.
-
getReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
- Specified by:
getReadConsistency
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The readConsistency.
-
setReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
-
setReadConsistency
public Points.RecommendPoints.Builder setReadConsistency(Points.ReadConsistency.Builder builderForValue) Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
-
mergeReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
-
clearReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
-
getReadConsistencyBuilder
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
-
getReadConsistencyOrBuilder
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 14;
- Specified by:
getReadConsistencyOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
hasStrategy
public boolean hasStrategy()How to use the example vectors to find the results
optional .qdrant.RecommendStrategy strategy = 16;
- Specified by:
hasStrategy
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- Whether the strategy field is set.
-
getStrategyValue
public int getStrategyValue()How to use the example vectors to find the results
optional .qdrant.RecommendStrategy strategy = 16;
- Specified by:
getStrategyValue
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The enum numeric value on the wire for strategy.
-
setStrategyValue
How to use the example vectors to find the results
optional .qdrant.RecommendStrategy strategy = 16;
- Parameters:
value
- The enum numeric value on the wire for strategy to set.- Returns:
- This builder for chaining.
-
getStrategy
How to use the example vectors to find the results
optional .qdrant.RecommendStrategy strategy = 16;
- Specified by:
getStrategy
in interfacePoints.RecommendPointsOrBuilder
- Returns:
- The strategy.
-
setStrategy
How to use the example vectors to find the results
optional .qdrant.RecommendStrategy strategy = 16;
- Parameters:
value
- The strategy to set.- Returns:
- This builder for chaining.
-
clearStrategy
How to use the example vectors to find the results
optional .qdrant.RecommendStrategy strategy = 16;
- Returns:
- This builder for chaining.
-
getPositiveVectorsList
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
- Specified by:
getPositiveVectorsList
in interfacePoints.RecommendPointsOrBuilder
-
getPositiveVectorsCount
public int getPositiveVectorsCount()Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
- Specified by:
getPositiveVectorsCount
in interfacePoints.RecommendPointsOrBuilder
-
getPositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
- Specified by:
getPositiveVectors
in interfacePoints.RecommendPointsOrBuilder
-
setPositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
setPositiveVectors
public Points.RecommendPoints.Builder setPositiveVectors(int index, Points.Vector.Builder builderForValue) Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
addPositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
addPositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
addPositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
addPositiveVectors
public Points.RecommendPoints.Builder addPositiveVectors(int index, Points.Vector.Builder builderForValue) Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
addAllPositiveVectors
public Points.RecommendPoints.Builder addAllPositiveVectors(Iterable<? extends Points.Vector> values) Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
clearPositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
removePositiveVectors
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
getPositiveVectorsBuilder
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
getPositiveVectorsOrBuilder
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
- Specified by:
getPositiveVectorsOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
getPositiveVectorsOrBuilderList
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
- Specified by:
getPositiveVectorsOrBuilderList
in interfacePoints.RecommendPointsOrBuilder
-
addPositiveVectorsBuilder
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
addPositiveVectorsBuilder
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
getPositiveVectorsBuilderList
Look for vectors closest to those
repeated .qdrant.Vector positive_vectors = 17;
-
getNegativeVectorsList
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
- Specified by:
getNegativeVectorsList
in interfacePoints.RecommendPointsOrBuilder
-
getNegativeVectorsCount
public int getNegativeVectorsCount()Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
- Specified by:
getNegativeVectorsCount
in interfacePoints.RecommendPointsOrBuilder
-
getNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
- Specified by:
getNegativeVectors
in interfacePoints.RecommendPointsOrBuilder
-
setNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
setNegativeVectors
public Points.RecommendPoints.Builder setNegativeVectors(int index, Points.Vector.Builder builderForValue) Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
addNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
addNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
addNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
addNegativeVectors
public Points.RecommendPoints.Builder addNegativeVectors(int index, Points.Vector.Builder builderForValue) Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
addAllNegativeVectors
public Points.RecommendPoints.Builder addAllNegativeVectors(Iterable<? extends Points.Vector> values) Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
clearNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
removeNegativeVectors
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
getNegativeVectorsBuilder
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
getNegativeVectorsOrBuilder
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
- Specified by:
getNegativeVectorsOrBuilder
in interfacePoints.RecommendPointsOrBuilder
-
getNegativeVectorsOrBuilderList
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
- Specified by:
getNegativeVectorsOrBuilderList
in interfacePoints.RecommendPointsOrBuilder
-
addNegativeVectorsBuilder
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
addNegativeVectorsBuilder
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
getNegativeVectorsBuilderList
Try to avoid vectors like this
repeated .qdrant.Vector negative_vectors = 18;
-
setUnknownFields
public final Points.RecommendPoints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-
mergeUnknownFields
public final Points.RecommendPoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendPoints.Builder>
-