Package io.qdrant.client.grpc
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) If true - all tokens will be lowercaseMaximal token lengthMinimal token lengthclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Tokenizer typeclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
If true - all tokens will be lowercaselong
Maximal token lengthlong
Minimal token lengthTokenizer typeint
Tokenizer typeboolean
If true - all tokens will be lowercaseboolean
Maximal token lengthboolean
Minimal token lengthprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setLowercase
(boolean value) If true - all tokens will be lowercasesetMaxTokenLen
(long value) Maximal token lengthsetMinTokenLen
(long value) Minimal token lengthsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Tokenizer typesetTokenizerValue
(int value) Tokenizer typesetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
clearField
public Collections.TextIndexParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
clearOneof
public Collections.TextIndexParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.TextIndexParams.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.TextIndexParams.Builder>
- Throws:
IOException
-
getTokenizerValue
public int getTokenizerValue()Tokenizer type
.qdrant.TokenizerType tokenizer = 1;
- Specified by:
getTokenizerValue
in interfaceCollections.TextIndexParamsOrBuilder
- Returns:
- The enum numeric value on the wire for tokenizer.
-
setTokenizerValue
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
Tokenizer type
.qdrant.TokenizerType tokenizer = 1;
- Specified by:
getTokenizer
in interfaceCollections.TextIndexParamsOrBuilder
- Returns:
- The tokenizer.
-
setTokenizer
Tokenizer type
.qdrant.TokenizerType tokenizer = 1;
- Parameters:
value
- The tokenizer to set.- Returns:
- This builder for chaining.
-
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 interfaceCollections.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 interfaceCollections.TextIndexParamsOrBuilder
- Returns:
- The lowercase.
-
setLowercase
If true - all tokens will be lowercase
optional bool lowercase = 2;
- Parameters:
value
- The lowercase to set.- Returns:
- This builder for chaining.
-
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 interfaceCollections.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 interfaceCollections.TextIndexParamsOrBuilder
- Returns:
- The minTokenLen.
-
setMinTokenLen
Minimal token length
optional uint64 min_token_len = 3;
- Parameters:
value
- The minTokenLen to set.- Returns:
- This builder for chaining.
-
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 interfaceCollections.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 interfaceCollections.TextIndexParamsOrBuilder
- Returns:
- The maxTokenLen.
-
setMaxTokenLen
Maximal token length
optional uint64 max_token_len = 4;
- Parameters:
value
- The maxTokenLen to set.- Returns:
- This builder for chaining.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-
mergeUnknownFields
public final Collections.TextIndexParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.TextIndexParams.Builder>
-