Class Collections.HnswConfigDiff
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.metaloom.qdrant.client.grpc.proto.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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeqdrant.HnswConfigDiffNested 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 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 TypeMethodDescriptionbooleanstatic Collections.HnswConfigDiffstatic final com.google.protobuf.Descriptors.DescriptorlongNumber of neighbours to consider during the index building.longMinimal size (in KiloBytes) of vectors for additional payload-based indexing.longgetM()Number of edges per node in the index graph.longNumber of parallel threads used for background index building.booleanStore HNSW index on disk.com.google.protobuf.Parser<Collections.HnswConfigDiff>longNumber of additional payload-aware links per node in the index graph.intfinal com.google.protobuf.UnknownFieldSetbooleanNumber of neighbours to consider during the index building.booleanMinimal size (in KiloBytes) of vectors for additional payload-based indexing.inthashCode()booleanhasM()Number of edges per node in the index graph.booleanNumber of parallel threads used for background index building.booleanStore HNSW index on disk.booleanNumber of additional payload-aware links per node in the index graph.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Collections.HnswConfigDiff prototype) protected Collections.HnswConfigDiff.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Collections.HnswConfigDiffparseDelimitedFrom(InputStream input) static Collections.HnswConfigDiffparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiffparseFrom(byte[] data) static Collections.HnswConfigDiffparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiffparseFrom(com.google.protobuf.ByteString data) static Collections.HnswConfigDiffparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiffparseFrom(com.google.protobuf.CodedInputStream input) static Collections.HnswConfigDiffparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiffparseFrom(InputStream input) static Collections.HnswConfigDiffparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.HnswConfigDiffparseFrom(ByteBuffer data) static Collections.HnswConfigDiffparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Collections.HnswConfigDiff>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
-
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:
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
-
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:
hasMin 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:
getMin 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 index.
optional uint64 ef_construct = 2;- Specified by:
hasEfConstructin 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 index.
optional uint64 ef_construct = 2;- Specified by:
getEfConstructin interfaceCollections.HnswConfigDiffOrBuilder- Returns:
- The efConstruct.
-
hasFullScanThreshold
public boolean hasFullScanThreshold()Minimal size (in KiloBytes) of vectors for additional payload-based indexing. If 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: 1Kb = 1 vector of size 256
optional uint64 full_scan_threshold = 3;- Specified by:
hasFullScanThresholdin 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 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: 1Kb = 1 vector of size 256
optional uint64 full_scan_threshold = 3;- Specified by:
getFullScanThresholdin 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:
hasMaxIndexingThreadsin 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:
getMaxIndexingThreadsin interfaceCollections.HnswConfigDiffOrBuilder- Returns:
- The maxIndexingThreads.
-
hasOnDisk
public boolean hasOnDisk()Store HNSW index on disk. If set to false, index will be stored in RAM.
optional bool on_disk = 5;- Specified by:
hasOnDiskin interfaceCollections.HnswConfigDiffOrBuilder- Returns:
- Whether the onDisk field is set.
-
getOnDisk
public boolean getOnDisk()Store HNSW index on disk. If set to false, index will be stored in RAM.
optional bool on_disk = 5;- Specified by:
getOnDiskin 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:
hasPayloadMin 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:
getPayloadMin interfaceCollections.HnswConfigDiffOrBuilder- Returns:
- The payloadM.
-
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 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:
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 Collections.HnswConfigDiff.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
-