Class Points.SearchPoints
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.metaloom.qdrant.client.grpc.proto.Points.SearchPoints
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Points.SearchPointsOrBuilder,Serializable
- Enclosing class:
- Points
public static final class Points.SearchPoints
extends com.google.protobuf.GeneratedMessageV3
implements Points.SearchPointsOrBuilder
Protobuf type
qdrant.SearchPoints- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeqdrant.SearchPointsNested 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 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.SearchPointsstatic 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 resultlongOffset of the resultSearch configSearch configcom.google.protobuf.Parser<Points.SearchPoints>floatIf provided - cut off results with worse scoresintfinal com.google.protobuf.UnknownFieldSetfloatgetVector(int index) vectorintvectorvectorWhich vector to use for search, if not specified - use default vectorcom.google.protobuf.ByteStringWhich vector to use for search, if not specified - use 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()booleanOffset of the resultbooleanSearch configbooleanIf provided - cut off results with worse scoresbooleanWhich vector to use for search, if not specified - use default vectorbooleanOptions for specifying which payload to include or notbooleanOptions for specifying which vectors to include into responseprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Points.SearchPoints.Builderstatic Points.SearchPoints.BuildernewBuilder(Points.SearchPoints prototype) protected Points.SearchPoints.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Points.SearchPointsparseDelimitedFrom(InputStream input) static Points.SearchPointsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointsparseFrom(byte[] data) static Points.SearchPointsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointsparseFrom(com.google.protobuf.ByteString data) static Points.SearchPointsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointsparseFrom(com.google.protobuf.CodedInputStream input) static Points.SearchPointsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointsparseFrom(InputStream input) static Points.SearchPointsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointsparseFrom(ByteBuffer data) static Points.SearchPointsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Points.SearchPoints>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:
-
VECTOR_FIELD_NUMBER
public static final int VECTOR_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:
-
VECTOR_NAME_FIELD_NUMBER
public static final int VECTOR_NAME_FIELD_NUMBER- See Also:
-
WITH_VECTORS_FIELD_NUMBER
public static final int WITH_VECTORS_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.SearchPointsOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;- Specified by:
getCollectionNameBytesin interfacePoints.SearchPointsOrBuilder- Returns:
- The bytes for collectionName.
-
getVectorList
vector
repeated float vector = 2;- Specified by:
getVectorListin interfacePoints.SearchPointsOrBuilder- Returns:
- A list containing the vector.
-
getVectorCount
public int getVectorCount()vector
repeated float vector = 2;- Specified by:
getVectorCountin interfacePoints.SearchPointsOrBuilder- Returns:
- The count of vector.
-
getVector
public float getVector(int index) vector
repeated float vector = 2;- Specified by:
getVectorin interfacePoints.SearchPointsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
hasFilter
public boolean hasFilter()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;- Specified by:
hasFilterin interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;- Specified by:
getFilterin interfacePoints.SearchPointsOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;- Specified by:
getFilterOrBuilderin interfacePoints.SearchPointsOrBuilder
-
getLimit
public long getLimit()Max number of result
uint64 limit = 4;- Specified by:
getLimitin interfacePoints.SearchPointsOrBuilder- Returns:
- The limit.
-
hasWithPayload
public boolean hasWithPayload()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;- Specified by:
hasWithPayloadin interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the withPayload field is set.
-
getWithPayload
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;- Specified by:
getWithPayloadin interfacePoints.SearchPointsOrBuilder- Returns:
- The withPayload.
-
getWithPayloadOrBuilder
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;- Specified by:
getWithPayloadOrBuilderin interfacePoints.SearchPointsOrBuilder
-
hasParams
public boolean hasParams()Search config
.qdrant.SearchParams params = 7;- Specified by:
hasParamsin interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Search config
.qdrant.SearchParams params = 7;- Specified by:
getParamsin interfacePoints.SearchPointsOrBuilder- Returns:
- The params.
-
getParamsOrBuilder
Search config
.qdrant.SearchParams params = 7;- Specified by:
getParamsOrBuilderin interfacePoints.SearchPointsOrBuilder
-
hasScoreThreshold
public boolean hasScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 8;- Specified by:
hasScoreThresholdin interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the scoreThreshold field is set.
-
getScoreThreshold
public float getScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 8;- Specified by:
getScoreThresholdin interfacePoints.SearchPointsOrBuilder- Returns:
- The scoreThreshold.
-
hasOffset
public boolean hasOffset()Offset of the result
optional uint64 offset = 9;- Specified by:
hasOffsetin interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the offset field is set.
-
getOffset
public long getOffset()Offset of the result
optional uint64 offset = 9;- Specified by:
getOffsetin interfacePoints.SearchPointsOrBuilder- Returns:
- The offset.
-
hasVectorName
public boolean hasVectorName()Which vector to use for search, if not specified - use default vector
optional string vector_name = 10;- Specified by:
hasVectorNamein interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the vectorName field is set.
-
getVectorName
Which vector to use for search, if not specified - use default vector
optional string vector_name = 10;- Specified by:
getVectorNamein interfacePoints.SearchPointsOrBuilder- Returns:
- The vectorName.
-
getVectorNameBytes
public com.google.protobuf.ByteString getVectorNameBytes()Which vector to use for search, if not specified - use default vector
optional string vector_name = 10;- Specified by:
getVectorNameBytesin interfacePoints.SearchPointsOrBuilder- Returns:
- The bytes for vectorName.
-
hasWithVectors
public boolean hasWithVectors()Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;- Specified by:
hasWithVectorsin interfacePoints.SearchPointsOrBuilder- Returns:
- Whether the withVectors field is set.
-
getWithVectors
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;- Specified by:
getWithVectorsin interfacePoints.SearchPointsOrBuilder- Returns:
- The withVectors.
-
getWithVectorsOrBuilder
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;- Specified by:
getWithVectorsOrBuilderin interfacePoints.SearchPointsOrBuilder
-
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.SearchPoints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPoints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPoints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPoints 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.SearchPoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPoints 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.SearchPoints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Points.SearchPoints parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Points.SearchPoints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Points.SearchPoints 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.SearchPoints.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
-