Class Points.SearchParams.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
io.qdrant.client.grpc.Points.SearchParams.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Points.SearchParamsOrBuilder, Cloneable
Enclosing class:
Points.SearchParams

public static final class Points.SearchParams.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder> implements Points.SearchParamsOrBuilder
Protobuf type qdrant.SearchParams
  • Method Details

    • 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.Builder<Points.SearchParams.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • getDefaultInstanceForType

      public Points.SearchParams getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Points.SearchParams build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Points.SearchParams buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • setField

      public Points.SearchParams.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • clearField

      public Points.SearchParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • clearOneof

      public Points.SearchParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • setRepeatedField

      public Points.SearchParams.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • addRepeatedField

      public Points.SearchParams.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • mergeFrom

      public Points.SearchParams.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Points.SearchParams.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • mergeFrom

      public Points.SearchParams.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Points.SearchParams.Builder>
      Throws:
      IOException
    • hasHnswEf

      public boolean hasHnswEf()
      
      Params relevant to HNSW index. Size of the beam in a beam-search.
      Larger the value - more accurate the result, more time required for search.
       
      optional uint64 hnsw_ef = 1;
      Specified by:
      hasHnswEf in interface Points.SearchParamsOrBuilder
      Returns:
      Whether the hnswEf field is set.
    • getHnswEf

      public long getHnswEf()
      
      Params relevant to HNSW index. Size of the beam in a beam-search.
      Larger the value - more accurate the result, more time required for search.
       
      optional uint64 hnsw_ef = 1;
      Specified by:
      getHnswEf in interface Points.SearchParamsOrBuilder
      Returns:
      The hnswEf.
    • setHnswEf

      public Points.SearchParams.Builder setHnswEf(long value)
      
      Params relevant to HNSW index. Size of the beam in a beam-search.
      Larger the value - more accurate the result, more time required for search.
       
      optional uint64 hnsw_ef = 1;
      Parameters:
      value - The hnswEf to set.
      Returns:
      This builder for chaining.
    • clearHnswEf

      public Points.SearchParams.Builder clearHnswEf()
      
      Params relevant to HNSW index. Size of the beam in a beam-search.
      Larger the value - more accurate the result, more time required for search.
       
      optional uint64 hnsw_ef = 1;
      Returns:
      This builder for chaining.
    • hasExact

      public boolean hasExact()
      
      Search without approximation. If set to true, search may run long but with exact results.
       
      optional bool exact = 2;
      Specified by:
      hasExact in interface Points.SearchParamsOrBuilder
      Returns:
      Whether the exact field is set.
    • getExact

      public boolean getExact()
      
      Search without approximation. If set to true, search may run long but with exact results.
       
      optional bool exact = 2;
      Specified by:
      getExact in interface Points.SearchParamsOrBuilder
      Returns:
      The exact.
    • setExact

      public Points.SearchParams.Builder setExact(boolean value)
      
      Search without approximation. If set to true, search may run long but with exact results.
       
      optional bool exact = 2;
      Parameters:
      value - The exact to set.
      Returns:
      This builder for chaining.
    • clearExact

      public Points.SearchParams.Builder clearExact()
      
      Search without approximation. If set to true, search may run long but with exact results.
       
      optional bool exact = 2;
      Returns:
      This builder for chaining.
    • hasQuantization

      public boolean hasQuantization()
      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
      Specified by:
      hasQuantization in interface Points.SearchParamsOrBuilder
      Returns:
      Whether the quantization field is set.
    • getQuantization

      public Points.QuantizationSearchParams getQuantization()
      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
      Specified by:
      getQuantization in interface Points.SearchParamsOrBuilder
      Returns:
      The quantization.
    • setQuantization

      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
    • setQuantization

      public Points.SearchParams.Builder setQuantization(Points.QuantizationSearchParams.Builder builderForValue)
      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
    • mergeQuantization

      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
    • clearQuantization

      public Points.SearchParams.Builder clearQuantization()
      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
    • getQuantizationBuilder

      public Points.QuantizationSearchParams.Builder getQuantizationBuilder()
      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
    • getQuantizationOrBuilder

      public Points.QuantizationSearchParamsOrBuilder getQuantizationOrBuilder()
      
      If set to true, search will ignore quantized vector data 
       
      optional .qdrant.QuantizationSearchParams quantization = 3;
      Specified by:
      getQuantizationOrBuilder in interface Points.SearchParamsOrBuilder
    • hasIndexedOnly

      public boolean hasIndexedOnly()
      
      If enabled, the engine will only perform search among indexed or small segments.
      Using this option prevents slow searches in case of delayed index, but does not
      guarantee that all uploaded vectors will be included in search results
       
      optional bool indexed_only = 4;
      Specified by:
      hasIndexedOnly in interface Points.SearchParamsOrBuilder
      Returns:
      Whether the indexedOnly field is set.
    • getIndexedOnly

      public boolean getIndexedOnly()
      
      If enabled, the engine will only perform search among indexed or small segments.
      Using this option prevents slow searches in case of delayed index, but does not
      guarantee that all uploaded vectors will be included in search results
       
      optional bool indexed_only = 4;
      Specified by:
      getIndexedOnly in interface Points.SearchParamsOrBuilder
      Returns:
      The indexedOnly.
    • setIndexedOnly

      public Points.SearchParams.Builder setIndexedOnly(boolean value)
      
      If enabled, the engine will only perform search among indexed or small segments.
      Using this option prevents slow searches in case of delayed index, but does not
      guarantee that all uploaded vectors will be included in search results
       
      optional bool indexed_only = 4;
      Parameters:
      value - The indexedOnly to set.
      Returns:
      This builder for chaining.
    • clearIndexedOnly

      public Points.SearchParams.Builder clearIndexedOnly()
      
      If enabled, the engine will only perform search among indexed or small segments.
      Using this option prevents slow searches in case of delayed index, but does not
      guarantee that all uploaded vectors will be included in search results
       
      optional bool indexed_only = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Points.SearchParams.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>
    • mergeUnknownFields

      public final Points.SearchParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Points.SearchParams.Builder>