Package io.qdrant.client.grpc
Class Points.SearchPointGroups
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.qdrant.client.grpc.Points.SearchPointGroups
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.SearchPointGroupsOrBuilder
,Serializable
- Enclosing class:
- Points
public static final class Points.SearchPointGroups
extends com.google.protobuf.GeneratedMessageV3
implements Points.SearchPointGroupsOrBuilder
Protobuf type
qdrant.SearchPointGroups
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeqdrant.SearchPointGroups
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
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.SearchPointGroups
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 conditionsPayload field to group by, must be a string or number field.com.google.protobuf.ByteString
Payload field to group by, must be a string or number field.int
Maximum amount of points to return per groupint
getLimit()
Max number of resultSearch configSearch configcom.google.protobuf.Parser<Points.SearchPointGroups>
Options for specifying read consistency guaranteesOptions for specifying read consistency guaranteesfloat
If provided - cut off results with worse scoresint
float
getVector
(int index) Vector to compare againstint
Vector to compare againstVector to compare againstWhich 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 how to use the group id to lookup points in another collectionOptions for specifying how to use the group id to lookup points in another collectionOptions 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
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 how to use the group id to lookup points in another collectionboolean
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
newBuilder
(Points.SearchPointGroups prototype) protected Points.SearchPointGroups.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Points.SearchPointGroups
parseDelimitedFrom
(InputStream input) static Points.SearchPointGroups
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointGroups
parseFrom
(byte[] data) static Points.SearchPointGroups
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointGroups
parseFrom
(com.google.protobuf.ByteString data) static Points.SearchPointGroups
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointGroups
parseFrom
(com.google.protobuf.CodedInputStream input) static Points.SearchPointGroups
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointGroups
parseFrom
(InputStream input) static Points.SearchPointGroups
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchPointGroups
parseFrom
(ByteBuffer data) static Points.SearchPointGroups
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Points.SearchPointGroups>
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:
-
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:
-
GROUP_BY_FIELD_NUMBER
public static final int GROUP_BY_FIELD_NUMBER- See Also:
-
GROUP_SIZE_FIELD_NUMBER
public static final int GROUP_SIZE_FIELD_NUMBER- See Also:
-
READ_CONSISTENCY_FIELD_NUMBER
public static final int READ_CONSISTENCY_FIELD_NUMBER- See Also:
-
WITH_LOOKUP_FIELD_NUMBER
public static final int WITH_LOOKUP_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.SearchPointGroupsOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()Name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The bytes for collectionName.
-
getVectorList
Vector to compare against
repeated float vector = 2;
- Specified by:
getVectorList
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- A list containing the vector.
-
getVectorCount
public int getVectorCount()Vector to compare against
repeated float vector = 2;
- Specified by:
getVectorCount
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The count of vector.
-
getVector
public float getVector(int index) Vector to compare against
repeated float vector = 2;
- Specified by:
getVector
in interfacePoints.SearchPointGroupsOrBuilder
- 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.SearchPointGroupsOrBuilder
- 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.SearchPointGroupsOrBuilder
- Returns:
- The filter.
-
getFilterOrBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;
- Specified by:
getFilterOrBuilder
in interfacePoints.SearchPointGroupsOrBuilder
-
getLimit
public int getLimit()Max number of result
uint32 limit = 4;
- Specified by:
getLimit
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The limit.
-
hasWithPayload
public boolean hasWithPayload()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 5;
- Specified by:
hasWithPayload
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- Whether the withPayload field is set.
-
getWithPayload
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 5;
- Specified by:
getWithPayload
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The withPayload.
-
getWithPayloadOrBuilder
Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 5;
- Specified by:
getWithPayloadOrBuilder
in interfacePoints.SearchPointGroupsOrBuilder
-
hasParams
public boolean hasParams()Search config
.qdrant.SearchParams params = 6;
- Specified by:
hasParams
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
Search config
.qdrant.SearchParams params = 6;
- Specified by:
getParams
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The params.
-
getParamsOrBuilder
Search config
.qdrant.SearchParams params = 6;
- Specified by:
getParamsOrBuilder
in interfacePoints.SearchPointGroupsOrBuilder
-
hasScoreThreshold
public boolean hasScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 7;
- Specified by:
hasScoreThreshold
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- Whether the scoreThreshold field is set.
-
getScoreThreshold
public float getScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 7;
- Specified by:
getScoreThreshold
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The scoreThreshold.
-
hasVectorName
public boolean hasVectorName()Which vector to use for search, if not specified - use default vector
optional string vector_name = 8;
- Specified by:
hasVectorName
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- Whether the vectorName field is set.
-
getVectorName
Which vector to use for search, if not specified - use default vector
optional string vector_name = 8;
- Specified by:
getVectorName
in interfacePoints.SearchPointGroupsOrBuilder
- 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 = 8;
- Specified by:
getVectorNameBytes
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The bytes for vectorName.
-
hasWithVectors
public boolean hasWithVectors()Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 9;
- Specified by:
hasWithVectors
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- Whether the withVectors field is set.
-
getWithVectors
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 9;
- Specified by:
getWithVectors
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The withVectors.
-
getWithVectorsOrBuilder
Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 9;
- Specified by:
getWithVectorsOrBuilder
in interfacePoints.SearchPointGroupsOrBuilder
-
getGroupBy
Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups.
string group_by = 10;
- Specified by:
getGroupBy
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The groupBy.
-
getGroupByBytes
public com.google.protobuf.ByteString getGroupByBytes()Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups.
string group_by = 10;
- Specified by:
getGroupByBytes
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The bytes for groupBy.
-
getGroupSize
public int getGroupSize()Maximum amount of points to return per group
uint32 group_size = 11;
- Specified by:
getGroupSize
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The groupSize.
-
hasReadConsistency
public boolean hasReadConsistency()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Specified by:
hasReadConsistency
in interfacePoints.SearchPointGroupsOrBuilder
- 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.SearchPointGroupsOrBuilder
- Returns:
- The readConsistency.
-
getReadConsistencyOrBuilder
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Specified by:
getReadConsistencyOrBuilder
in interfacePoints.SearchPointGroupsOrBuilder
-
hasWithLookup
public boolean hasWithLookup()Options for specifying how to use the group id to lookup points in another collection
optional .qdrant.WithLookup with_lookup = 13;
- Specified by:
hasWithLookup
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- Whether the withLookup field is set.
-
getWithLookup
Options for specifying how to use the group id to lookup points in another collection
optional .qdrant.WithLookup with_lookup = 13;
- Specified by:
getWithLookup
in interfacePoints.SearchPointGroupsOrBuilder
- Returns:
- The withLookup.
-
getWithLookupOrBuilder
Options for specifying how to use the group id to lookup points in another collection
optional .qdrant.WithLookup with_lookup = 13;
- Specified by:
getWithLookupOrBuilder
in interfacePoints.SearchPointGroupsOrBuilder
-
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.SearchPointGroups parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPointGroups parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPointGroups parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPointGroups 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.SearchPointGroups parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchPointGroups 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.SearchPointGroups parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Points.SearchPointGroups parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Points.SearchPointGroups parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Points.SearchPointGroups 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.SearchPointGroups.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
-