Class Collections.TextIndexParams.Builder

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

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

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

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

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

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

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

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

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

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

      public int getTokenizerValue()
       Tokenizer type
       
      .qdrant.TokenizerType tokenizer = 1;
      Specified by:
      getTokenizerValue in interface Collections.TextIndexParamsOrBuilder
      Returns:
      The enum numeric value on the wire for tokenizer.
    • setTokenizerValue

      public Collections.TextIndexParams.Builder setTokenizerValue(int value)
       Tokenizer type
       
      .qdrant.TokenizerType tokenizer = 1;
      Parameters:
      value - The enum numeric value on the wire for tokenizer to set.
      Returns:
      This builder for chaining.
    • getTokenizer

      public Collections.TokenizerType getTokenizer()
       Tokenizer type
       
      .qdrant.TokenizerType tokenizer = 1;
      Specified by:
      getTokenizer in interface Collections.TextIndexParamsOrBuilder
      Returns:
      The tokenizer.
    • setTokenizer

       Tokenizer type
       
      .qdrant.TokenizerType tokenizer = 1;
      Parameters:
      value - The tokenizer to set.
      Returns:
      This builder for chaining.
    • clearTokenizer

      public Collections.TextIndexParams.Builder clearTokenizer()
       Tokenizer type
       
      .qdrant.TokenizerType tokenizer = 1;
      Returns:
      This builder for chaining.
    • hasLowercase

      public boolean hasLowercase()
       If true - all tokens will be lowercase
       
      optional bool lowercase = 2;
      Specified by:
      hasLowercase in interface Collections.TextIndexParamsOrBuilder
      Returns:
      Whether the lowercase field is set.
    • getLowercase

      public boolean getLowercase()
       If true - all tokens will be lowercase
       
      optional bool lowercase = 2;
      Specified by:
      getLowercase in interface Collections.TextIndexParamsOrBuilder
      Returns:
      The lowercase.
    • setLowercase

      public Collections.TextIndexParams.Builder setLowercase(boolean value)
       If true - all tokens will be lowercase
       
      optional bool lowercase = 2;
      Parameters:
      value - The lowercase to set.
      Returns:
      This builder for chaining.
    • clearLowercase

      public Collections.TextIndexParams.Builder clearLowercase()
       If true - all tokens will be lowercase
       
      optional bool lowercase = 2;
      Returns:
      This builder for chaining.
    • hasMinTokenLen

      public boolean hasMinTokenLen()
       Minimal token length
       
      optional uint64 min_token_len = 3;
      Specified by:
      hasMinTokenLen in interface Collections.TextIndexParamsOrBuilder
      Returns:
      Whether the minTokenLen field is set.
    • getMinTokenLen

      public long getMinTokenLen()
       Minimal token length
       
      optional uint64 min_token_len = 3;
      Specified by:
      getMinTokenLen in interface Collections.TextIndexParamsOrBuilder
      Returns:
      The minTokenLen.
    • setMinTokenLen

      public Collections.TextIndexParams.Builder setMinTokenLen(long value)
       Minimal token length
       
      optional uint64 min_token_len = 3;
      Parameters:
      value - The minTokenLen to set.
      Returns:
      This builder for chaining.
    • clearMinTokenLen

      public Collections.TextIndexParams.Builder clearMinTokenLen()
       Minimal token length
       
      optional uint64 min_token_len = 3;
      Returns:
      This builder for chaining.
    • hasMaxTokenLen

      public boolean hasMaxTokenLen()
       Maximal token length
       
      optional uint64 max_token_len = 4;
      Specified by:
      hasMaxTokenLen in interface Collections.TextIndexParamsOrBuilder
      Returns:
      Whether the maxTokenLen field is set.
    • getMaxTokenLen

      public long getMaxTokenLen()
       Maximal token length
       
      optional uint64 max_token_len = 4;
      Specified by:
      getMaxTokenLen in interface Collections.TextIndexParamsOrBuilder
      Returns:
      The maxTokenLen.
    • setMaxTokenLen

      public Collections.TextIndexParams.Builder setMaxTokenLen(long value)
       Maximal token length
       
      optional uint64 max_token_len = 4;
      Parameters:
      value - The maxTokenLen to set.
      Returns:
      This builder for chaining.
    • clearMaxTokenLen

      public Collections.TextIndexParams.Builder clearMaxTokenLen()
       Maximal token length
       
      optional uint64 max_token_len = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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