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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.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 interface Collections.HnswConfigDiffOrBuilder
      Returns:
      The payloadM.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Collections.HnswConfigDiff parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Collections.HnswConfigDiff parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Collections.HnswConfigDiff parseDelimitedFrom(InputStream input) throws IOException
      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

      public Collections.HnswConfigDiff.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Collections.HnswConfigDiff.Builder newBuilder()
    • newBuilder

      public static Collections.HnswConfigDiff.Builder newBuilder(Collections.HnswConfigDiff prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Collections.HnswConfigDiff.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Collections.HnswConfigDiff getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Collections.HnswConfigDiff> parser()
    • getParserForType

      public com.google.protobuf.Parser<Collections.HnswConfigDiff> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Collections.HnswConfigDiff getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder