Package io.qdrant.client.grpc
Class Collections.CollectionConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionConfig.Builder>
io.qdrant.client.grpc.Collections.CollectionConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.CollectionConfigOrBuilder
,Cloneable
- Enclosing class:
- Collections.CollectionConfig
public static final class Collections.CollectionConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionConfig.Builder>
implements Collections.CollectionConfigOrBuilder
Protobuf type
qdrant.CollectionConfig
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Configuration of vector indexclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Configuration of the optimizersCollection parametersConfiguration of the vector quantizationConfiguration of the Write-Ahead-Logclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Configuration of vector indexConfiguration of vector indexConfiguration of vector indexConfiguration of the optimizersConfiguration of the optimizersConfiguration of the optimizersCollection parametersCollection parametersCollection parametersConfiguration of the vector quantizationConfiguration of the vector quantizationConfiguration of the vector quantizationConfiguration of the Write-Ahead-LogConfiguration of the Write-Ahead-LogConfiguration of the Write-Ahead-Logboolean
Configuration of vector indexboolean
Configuration of the optimizersboolean
Collection parametersboolean
Configuration of the vector quantizationboolean
Configuration of the Write-Ahead-Logprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Configuration of vector indexConfiguration of the optimizersCollection parametersConfiguration of the vector quantizationmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Configuration of the Write-Ahead-LogConfiguration of vector indexsetHnswConfig
(Collections.HnswConfigDiff.Builder builderForValue) Configuration of vector indexConfiguration of the optimizerssetOptimizerConfig
(Collections.OptimizersConfigDiff.Builder builderForValue) Configuration of the optimizersCollection parameterssetParams
(Collections.CollectionParams.Builder builderForValue) Collection parametersConfiguration of the vector quantizationsetQuantizationConfig
(Collections.QuantizationConfig.Builder builderForValue) Configuration of the vector quantizationsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Configuration of the Write-Ahead-LogsetWalConfig
(Collections.WalConfigDiff.Builder builderForValue) Configuration of the Write-Ahead-LogMethods 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.CollectionConfig.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.CollectionConfig.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.CollectionConfig.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.CollectionConfig.Builder>
-
setField
public Collections.CollectionConfig.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.CollectionConfig.Builder>
-
clearField
public Collections.CollectionConfig.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.CollectionConfig.Builder>
-
clearOneof
public Collections.CollectionConfig.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.CollectionConfig.Builder>
-
setRepeatedField
public Collections.CollectionConfig.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.CollectionConfig.Builder>
-
addRepeatedField
public Collections.CollectionConfig.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.CollectionConfig.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.CollectionConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionConfig.Builder>
-
mergeFrom
public Collections.CollectionConfig.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.CollectionConfig.Builder>
- Throws:
IOException
-
hasParams
public boolean hasParams()Collection parameters
.qdrant.CollectionParams params = 1;
- Specified by:
hasParams
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
Collection parameters
.qdrant.CollectionParams params = 1;
- Specified by:
getParams
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- The params.
-
setParams
Collection parameters
.qdrant.CollectionParams params = 1;
-
setParams
public Collections.CollectionConfig.Builder setParams(Collections.CollectionParams.Builder builderForValue) Collection parameters
.qdrant.CollectionParams params = 1;
-
mergeParams
Collection parameters
.qdrant.CollectionParams params = 1;
-
clearParams
Collection parameters
.qdrant.CollectionParams params = 1;
-
getParamsBuilder
Collection parameters
.qdrant.CollectionParams params = 1;
-
getParamsOrBuilder
Collection parameters
.qdrant.CollectionParams params = 1;
- Specified by:
getParamsOrBuilder
in interfaceCollections.CollectionConfigOrBuilder
-
hasHnswConfig
public boolean hasHnswConfig()Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
- Specified by:
hasHnswConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- Whether the hnswConfig field is set.
-
getHnswConfig
Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
- Specified by:
getHnswConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- The hnswConfig.
-
setHnswConfig
Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
-
setHnswConfig
public Collections.CollectionConfig.Builder setHnswConfig(Collections.HnswConfigDiff.Builder builderForValue) Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
-
mergeHnswConfig
Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
-
clearHnswConfig
Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
-
getHnswConfigBuilder
Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
-
getHnswConfigOrBuilder
Configuration of vector index
.qdrant.HnswConfigDiff hnsw_config = 2;
- Specified by:
getHnswConfigOrBuilder
in interfaceCollections.CollectionConfigOrBuilder
-
hasOptimizerConfig
public boolean hasOptimizerConfig()Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
- Specified by:
hasOptimizerConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- Whether the optimizerConfig field is set.
-
getOptimizerConfig
Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
- Specified by:
getOptimizerConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- The optimizerConfig.
-
setOptimizerConfig
public Collections.CollectionConfig.Builder setOptimizerConfig(Collections.OptimizersConfigDiff value) Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
-
setOptimizerConfig
public Collections.CollectionConfig.Builder setOptimizerConfig(Collections.OptimizersConfigDiff.Builder builderForValue) Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
-
mergeOptimizerConfig
public Collections.CollectionConfig.Builder mergeOptimizerConfig(Collections.OptimizersConfigDiff value) Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
-
clearOptimizerConfig
Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
-
getOptimizerConfigBuilder
Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
-
getOptimizerConfigOrBuilder
Configuration of the optimizers
.qdrant.OptimizersConfigDiff optimizer_config = 3;
- Specified by:
getOptimizerConfigOrBuilder
in interfaceCollections.CollectionConfigOrBuilder
-
hasWalConfig
public boolean hasWalConfig()Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
- Specified by:
hasWalConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- Whether the walConfig field is set.
-
getWalConfig
Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
- Specified by:
getWalConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- The walConfig.
-
setWalConfig
Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
-
setWalConfig
public Collections.CollectionConfig.Builder setWalConfig(Collections.WalConfigDiff.Builder builderForValue) Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
-
mergeWalConfig
Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
-
clearWalConfig
Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
-
getWalConfigBuilder
Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
-
getWalConfigOrBuilder
Configuration of the Write-Ahead-Log
.qdrant.WalConfigDiff wal_config = 4;
- Specified by:
getWalConfigOrBuilder
in interfaceCollections.CollectionConfigOrBuilder
-
hasQuantizationConfig
public boolean hasQuantizationConfig()Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
- Specified by:
hasQuantizationConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- Whether the quantizationConfig field is set.
-
getQuantizationConfig
Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
- Specified by:
getQuantizationConfig
in interfaceCollections.CollectionConfigOrBuilder
- Returns:
- The quantizationConfig.
-
setQuantizationConfig
public Collections.CollectionConfig.Builder setQuantizationConfig(Collections.QuantizationConfig value) Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
-
setQuantizationConfig
public Collections.CollectionConfig.Builder setQuantizationConfig(Collections.QuantizationConfig.Builder builderForValue) Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
-
mergeQuantizationConfig
public Collections.CollectionConfig.Builder mergeQuantizationConfig(Collections.QuantizationConfig value) Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
-
clearQuantizationConfig
Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
-
getQuantizationConfigBuilder
Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
-
getQuantizationConfigOrBuilder
Configuration of the vector quantization
optional .qdrant.QuantizationConfig quantization_config = 5;
- Specified by:
getQuantizationConfigOrBuilder
in interfaceCollections.CollectionConfigOrBuilder
-
setUnknownFields
public final Collections.CollectionConfig.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.CollectionConfig.Builder>
-
mergeUnknownFields
public final Collections.CollectionConfig.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.CollectionConfig.Builder>
-