Package io.qdrant.client.grpc
Class Points.SearchPoints
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.qdrant.client.grpc.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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeqdrant.SearchPoints
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
name of the collectioncom.google.protobuf.ByteString
name of the collectionstatic Points.SearchPoints
static final 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 conditionslong
getLimit()
Max number of resultlong
Offset of the resultSearch configSearch configcom.google.protobuf.Parser<Points.SearchPoints>
Options for specifying read consistency guaranteesOptions for specifying read consistency guaranteesfloat
If provided - cut off results with worse scoresint
float
getVector
(int index) vectorint
vectorvectorWhich vector to use for search, if not specified - use default vectorcom.google.protobuf.ByteString
Which 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 responseboolean
Filter conditions - return only those points that satisfy the specified conditionsint
hashCode()
boolean
Offset of the resultboolean
Search configboolean
Options for specifying read consistency guaranteesboolean
If provided - cut off results with worse scoresboolean
Which vector to use for search, if not specified - use 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
static Points.SearchPoints.Builder
static Points.SearchPoints.Builder
newBuilder
(Points.SearchPoints prototype) protected Points.SearchPoints.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Points.SearchPoints
parseDelimitedFrom
(InputStream input) static Points.SearchPoints
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPoints
parseFrom
(byte[] data) static Points.SearchPoints
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPoints
parseFrom
(com.google.protobuf.ByteString data) static Points.SearchPoints
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPoints
parseFrom
(com.google.protobuf.CodedInputStream input) static Points.SearchPoints
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPoints
parseFrom
(InputStream input) static Points.SearchPoints
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPoints
parseFrom
(ByteBuffer data) static Points.SearchPoints
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Points.SearchPoints>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, 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:
-
READ_CONSISTENCY_FIELD_NUMBER
public static final int READ_CONSISTENCY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getCollectionName
name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The bytes for collectionName.
-
getVectorList
vector
repeated float vector = 2;
- Specified by:
getVectorList
in interfacePoints.SearchPointsOrBuilder
- Returns:
- A list containing the vector.
-
getVectorCount
public int getVectorCount()vector
repeated float vector = 2;
- Specified by:
getVectorCount
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The count of vector.
-
getVector
public float getVector(int index) vector
repeated float vector = 2;
- Specified by:
getVector
in 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:
hasFilter
in 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:
getFilter
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The filter.
-
getFilterOrBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;
- Specified by:
getFilterOrBuilder
in interfacePoints.SearchPointsOrBuilder
-
getLimit
public long getLimit()Max number of result
uint64 limit = 4;
- Specified by:
getLimit
in 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:
hasWithPayload
in 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:
getWithPayload
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The withPayload.
-
getWithPayloadOrBuilder
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;
- Specified by:
getWithPayloadOrBuilder
in interfacePoints.SearchPointsOrBuilder
-
hasParams
public boolean hasParams()Search config
.qdrant.SearchParams params = 7;
- Specified by:
hasParams
in interfacePoints.SearchPointsOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
Search config
.qdrant.SearchParams params = 7;
- Specified by:
getParams
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The params.
-
getParamsOrBuilder
Search config
.qdrant.SearchParams params = 7;
- Specified by:
getParamsOrBuilder
in interfacePoints.SearchPointsOrBuilder
-
hasScoreThreshold
public boolean hasScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 8;
- Specified by:
hasScoreThreshold
in 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:
getScoreThreshold
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The scoreThreshold.
-
hasOffset
public boolean hasOffset()Offset of the result
optional uint64 offset = 9;
- Specified by:
hasOffset
in interfacePoints.SearchPointsOrBuilder
- Returns:
- Whether the offset field is set.
-
getOffset
public long getOffset()Offset of the result
optional uint64 offset = 9;
- Specified by:
getOffset
in 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:
hasVectorName
in 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:
getVectorName
in 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:
getVectorNameBytes
in 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:
hasWithVectors
in 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:
getWithVectors
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The withVectors.
-
getWithVectorsOrBuilder
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;
- Specified by:
getWithVectorsOrBuilder
in interfacePoints.SearchPointsOrBuilder
-
hasReadConsistency
public boolean hasReadConsistency()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Specified by:
hasReadConsistency
in interfacePoints.SearchPointsOrBuilder
- Returns:
- Whether the readConsistency field is set.
-
getReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Specified by:
getReadConsistency
in interfacePoints.SearchPointsOrBuilder
- Returns:
- The readConsistency.
-
getReadConsistencyOrBuilder
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Specified by:
getReadConsistencyOrBuilder
in interfacePoints.SearchPointsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Points.SearchPoints.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-