Package io.qdrant.client.grpc
Class Collections.HnswConfigDiff
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.qdrant.client.grpc.Collections.HnswConfigDiff
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.HnswConfigDiffOrBuilder
,Serializable
- Enclosing class:
- Collections
public static final class Collections.HnswConfigDiff
extends com.google.protobuf.GeneratedMessageV3
implements Collections.HnswConfigDiffOrBuilder
Protobuf type
qdrant.HnswConfigDiff
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeqdrant.HnswConfigDiff
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
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
static Collections.HnswConfigDiff
static final com.google.protobuf.Descriptors.Descriptor
long
Number of neighbours to consider during the index building.long
Minimal size (in KiloBytes) of vectors for additional payload-based indexing.long
getM()
Number of edges per node in the index graph.long
Number of parallel threads used for background index building.boolean
Store HNSW index on disk.com.google.protobuf.Parser<Collections.HnswConfigDiff>
long
Number of additional payload-aware links per node in the index graph.int
boolean
Number of neighbours to consider during the index building.boolean
Minimal size (in KiloBytes) of vectors for additional payload-based indexing.int
hashCode()
boolean
hasM()
Number of edges per node in the index graph.boolean
Number of parallel threads used for background index building.boolean
Store HNSW index on disk.boolean
Number of additional payload-aware links per node in the index graph.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(Collections.HnswConfigDiff prototype) protected Collections.HnswConfigDiff.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Collections.HnswConfigDiff
parseDelimitedFrom
(InputStream input) static Collections.HnswConfigDiff
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiff
parseFrom
(byte[] data) static Collections.HnswConfigDiff
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiff
parseFrom
(com.google.protobuf.ByteString data) static Collections.HnswConfigDiff
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiff
parseFrom
(com.google.protobuf.CodedInputStream input) static Collections.HnswConfigDiff
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiff
parseFrom
(InputStream input) static Collections.HnswConfigDiff
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiff
parseFrom
(ByteBuffer data) static Collections.HnswConfigDiff
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Collections.HnswConfigDiff>
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
-
M_FIELD_NUMBER
public static final int M_FIELD_NUMBER- See Also:
-
EF_CONSTRUCT_FIELD_NUMBER
public static final int EF_CONSTRUCT_FIELD_NUMBER- See Also:
-
FULL_SCAN_THRESHOLD_FIELD_NUMBER
public static final int FULL_SCAN_THRESHOLD_FIELD_NUMBER- See Also:
-
MAX_INDEXING_THREADS_FIELD_NUMBER
public static final int MAX_INDEXING_THREADS_FIELD_NUMBER- See Also:
-
ON_DISK_FIELD_NUMBER
public static final int ON_DISK_FIELD_NUMBER- See Also:
-
PAYLOAD_M_FIELD_NUMBER
public static final int PAYLOAD_M_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
-
hasM
public boolean hasM()Number of edges per node in the index graph. Larger the value - more accurate the search, more space required.
optional uint64 m = 1;
- Specified by:
hasM
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- Whether the m field is set.
-
getM
public long getM()Number of edges per node in the index graph. Larger the value - more accurate the search, more space required.
optional uint64 m = 1;
- Specified by:
getM
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- The m.
-
hasEfConstruct
public boolean hasEfConstruct()Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build the index.
optional uint64 ef_construct = 2;
- Specified by:
hasEfConstruct
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- Whether the efConstruct field is set.
-
getEfConstruct
public long getEfConstruct()Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build the index.
optional uint64 ef_construct = 2;
- Specified by:
getEfConstruct
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- The efConstruct.
-
hasFullScanThreshold
public boolean hasFullScanThreshold()Minimal size (in KiloBytes) of vectors for additional payload-based indexing. If the payload chunk is smaller than `full_scan_threshold` additional indexing won't be used - in this case full-scan search should be preferred by query planner and additional indexing is not required. Note: 1 Kb = 1 vector of size 256
optional uint64 full_scan_threshold = 3;
- Specified by:
hasFullScanThreshold
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- Whether the fullScanThreshold field is set.
-
getFullScanThreshold
public long getFullScanThreshold()Minimal size (in KiloBytes) of vectors for additional payload-based indexing. If the payload chunk is smaller than `full_scan_threshold` additional indexing won't be used - in this case full-scan search should be preferred by query planner and additional indexing is not required. Note: 1 Kb = 1 vector of size 256
optional uint64 full_scan_threshold = 3;
- Specified by:
getFullScanThreshold
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- The fullScanThreshold.
-
hasMaxIndexingThreads
public boolean hasMaxIndexingThreads()Number of parallel threads used for background index building. If 0 - auto selection.
optional uint64 max_indexing_threads = 4;
- Specified by:
hasMaxIndexingThreads
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- Whether the maxIndexingThreads field is set.
-
getMaxIndexingThreads
public long getMaxIndexingThreads()Number of parallel threads used for background index building. If 0 - auto selection.
optional uint64 max_indexing_threads = 4;
- Specified by:
getMaxIndexingThreads
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- The maxIndexingThreads.
-
hasOnDisk
public boolean hasOnDisk()Store HNSW index on disk. If set to false, the index will be stored in RAM.
optional bool on_disk = 5;
- Specified by:
hasOnDisk
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- Whether the onDisk field is set.
-
getOnDisk
public boolean getOnDisk()Store HNSW index on disk. If set to false, the index will be stored in RAM.
optional bool on_disk = 5;
- Specified by:
getOnDisk
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- The onDisk.
-
hasPayloadM
public boolean hasPayloadM()Number of additional payload-aware links per node in the index graph. If not set - regular M parameter will be used.
optional uint64 payload_m = 6;
- Specified by:
hasPayloadM
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- Whether the payloadM field is set.
-
getPayloadM
public long getPayloadM()Number of additional payload-aware links per node in the index graph. If not set - regular M parameter will be used.
optional uint64 payload_m = 6;
- Specified by:
getPayloadM
in interfaceCollections.HnswConfigDiffOrBuilder
- Returns:
- The payloadM.
-
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 Collections.HnswConfigDiff parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Collections.HnswConfigDiff parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Collections.HnswConfigDiff parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Collections.HnswConfigDiff 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 Collections.HnswConfigDiff.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
-