Class Collections.BinaryQuantization.Builder

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

public static final class Collections.BinaryQuantization.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.BinaryQuantization.Builder> implements Collections.BinaryQuantizationOrBuilder
Protobuf type qdrant.BinaryQuantization
  • 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<Collections.BinaryQuantization.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<Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Collections.BinaryQuantization 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<Collections.BinaryQuantization.Builder>
    • setField

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • clearField

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • clearOneof

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • setRepeatedField

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • addRepeatedField

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • mergeFrom

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • mergeFrom

      public Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
      Throws:
      IOException
    • hasAlwaysRam

      public boolean hasAlwaysRam()
       If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
       
      optional bool always_ram = 1;
      Specified by:
      hasAlwaysRam in interface Collections.BinaryQuantizationOrBuilder
      Returns:
      Whether the alwaysRam field is set.
    • getAlwaysRam

      public boolean getAlwaysRam()
       If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
       
      optional bool always_ram = 1;
      Specified by:
      getAlwaysRam in interface Collections.BinaryQuantizationOrBuilder
      Returns:
      The alwaysRam.
    • setAlwaysRam

      public Collections.BinaryQuantization.Builder setAlwaysRam(boolean value)
       If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
       
      optional bool always_ram = 1;
      Parameters:
      value - The alwaysRam to set.
      Returns:
      This builder for chaining.
    • clearAlwaysRam

      public Collections.BinaryQuantization.Builder clearAlwaysRam()
       If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
       
      optional bool always_ram = 1;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>
    • mergeUnknownFields

      public final Collections.BinaryQuantization.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<Collections.BinaryQuantization.Builder>