Package io.qdrant.client.grpc
Class Collections.VectorParamsDiff.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Collections.VectorParamsDiff.Builder>
io.qdrant.client.grpc.Collections.VectorParamsDiff.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.VectorParamsDiffOrBuilder
,Cloneable
- Enclosing class:
- Collections.VectorParamsDiff
public static final class Collections.VectorParamsDiff.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.VectorParamsDiff.Builder>
implements Collections.VectorParamsDiffOrBuilder
Protobuf type
qdrant.VectorParamsDiff
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Update params for HNSW index.If true - serve vectors from disk.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Update quantization params.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Update params for HNSW index.Update params for HNSW index.Update params for HNSW index.boolean
If true - serve vectors from disk.Update quantization params.Update quantization params.Update quantization params.boolean
Update params for HNSW index.boolean
If true - serve vectors from disk.boolean
Update quantization params.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Update params for HNSW index.Update quantization params.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Update params for HNSW index.setHnswConfig
(Collections.HnswConfigDiff.Builder builderForValue) Update params for HNSW index.setOnDisk
(boolean value) If true - serve vectors from disk.Update quantization params.setQuantizationConfig
(Collections.QuantizationConfigDiff.Builder builderForValue) Update quantization params.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(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.VectorParamsDiff.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.VectorParamsDiff.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.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
setField
public Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
clearField
public Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
clearOneof
public Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
setRepeatedField
public Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
addRepeatedField
public Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.VectorParamsDiff.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.VectorParamsDiff.Builder>
-
mergeFrom
public Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
- Throws:
IOException
-
hasHnswConfig
public boolean hasHnswConfig()Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
- Specified by:
hasHnswConfig
in interfaceCollections.VectorParamsDiffOrBuilder
- Returns:
- Whether the hnswConfig field is set.
-
getHnswConfig
Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
- Specified by:
getHnswConfig
in interfaceCollections.VectorParamsDiffOrBuilder
- Returns:
- The hnswConfig.
-
setHnswConfig
Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
-
setHnswConfig
public Collections.VectorParamsDiff.Builder setHnswConfig(Collections.HnswConfigDiff.Builder builderForValue) Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
-
mergeHnswConfig
Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
-
clearHnswConfig
Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
-
getHnswConfigBuilder
Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
-
getHnswConfigOrBuilder
Update params for HNSW index. If empty object - it will be unset
optional .qdrant.HnswConfigDiff hnsw_config = 1;
- Specified by:
getHnswConfigOrBuilder
in interfaceCollections.VectorParamsDiffOrBuilder
-
hasQuantizationConfig
public boolean hasQuantizationConfig()Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
- Specified by:
hasQuantizationConfig
in interfaceCollections.VectorParamsDiffOrBuilder
- Returns:
- Whether the quantizationConfig field is set.
-
getQuantizationConfig
Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
- Specified by:
getQuantizationConfig
in interfaceCollections.VectorParamsDiffOrBuilder
- Returns:
- The quantizationConfig.
-
setQuantizationConfig
public Collections.VectorParamsDiff.Builder setQuantizationConfig(Collections.QuantizationConfigDiff value) Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
-
setQuantizationConfig
public Collections.VectorParamsDiff.Builder setQuantizationConfig(Collections.QuantizationConfigDiff.Builder builderForValue) Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
-
mergeQuantizationConfig
public Collections.VectorParamsDiff.Builder mergeQuantizationConfig(Collections.QuantizationConfigDiff value) Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
-
clearQuantizationConfig
Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
-
getQuantizationConfigBuilder
Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
-
getQuantizationConfigOrBuilder
Update quantization params. If none - it is left unchanged.
optional .qdrant.QuantizationConfigDiff quantization_config = 2;
- Specified by:
getQuantizationConfigOrBuilder
in interfaceCollections.VectorParamsDiffOrBuilder
-
hasOnDisk
public boolean hasOnDisk()If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
optional bool on_disk = 3;
- Specified by:
hasOnDisk
in interfaceCollections.VectorParamsDiffOrBuilder
- Returns:
- Whether the onDisk field is set.
-
getOnDisk
public boolean getOnDisk()If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
optional bool on_disk = 3;
- Specified by:
getOnDisk
in interfaceCollections.VectorParamsDiffOrBuilder
- Returns:
- The onDisk.
-
setOnDisk
If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
optional bool on_disk = 3;
- Parameters:
value
- The onDisk to set.- Returns:
- This builder for chaining.
-
clearOnDisk
If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
optional bool on_disk = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-
mergeUnknownFields
public final Collections.VectorParamsDiff.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.VectorParamsDiff.Builder>
-