Package io.qdrant.client.grpc
Class Collections.UpdateCollection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Collections.UpdateCollection.Builder>
io.qdrant.client.grpc.Collections.UpdateCollection.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.UpdateCollectionOrBuilder
,Cloneable
- Enclosing class:
- Collections.UpdateCollection
public static final class Collections.UpdateCollection.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.UpdateCollection.Builder>
implements Collections.UpdateCollectionOrBuilder
Protobuf type
qdrant.UpdateCollection
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Name of the collectionclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) New HNSW parameters for the collection indexclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) New configuration parameters for the collection.New configuration parameters for the collectionQuantization configuration of vectorWait timeout for operation commit in seconds if blocking, if not specified - default value will be suppliedNew vector parametersclone()
Name of the collectioncom.google.protobuf.ByteString
Name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
New HNSW parameters for the collection indexNew HNSW parameters for the collection indexNew HNSW parameters for the collection indexNew configuration parameters for the collection.New configuration parameters for the collection.New configuration parameters for the collection.New configuration parameters for the collectionNew configuration parameters for the collectionNew configuration parameters for the collectionQuantization configuration of vectorQuantization configuration of vectorQuantization configuration of vectorlong
Wait timeout for operation commit in seconds if blocking, if not specified - default value will be suppliedNew vector parametersNew vector parametersNew vector parametersboolean
New HNSW parameters for the collection indexboolean
New configuration parameters for the collection.boolean
New configuration parameters for the collectionboolean
Quantization configuration of vectorboolean
Wait timeout for operation commit in seconds if blocking, if not specified - default value will be suppliedboolean
New vector parametersprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) New HNSW parameters for the collection indexNew configuration parameters for the collection.New configuration parameters for the collectionQuantization configuration of vectormergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) New vector parameterssetCollectionName
(String value) Name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) Name of the collectionNew HNSW parameters for the collection indexsetHnswConfig
(Collections.HnswConfigDiff.Builder builderForValue) New HNSW parameters for the collection indexNew configuration parameters for the collection.setOptimizersConfig
(Collections.OptimizersConfigDiff.Builder builderForValue) New configuration parameters for the collection.New configuration parameters for the collectionsetParams
(Collections.CollectionParamsDiff.Builder builderForValue) New configuration parameters for the collectionQuantization configuration of vectorsetQuantizationConfig
(Collections.QuantizationConfigDiff.Builder builderForValue) Quantization configuration of vectorsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimeout
(long value) Wait timeout for operation commit in seconds if blocking, if not specified - default value will be suppliedsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) New vector parameterssetVectorsConfig
(Collections.VectorsConfigDiff.Builder builderForValue) New vector parametersMethods 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.UpdateCollection.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.UpdateCollection.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.UpdateCollection.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.UpdateCollection.Builder>
-
setField
public Collections.UpdateCollection.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.UpdateCollection.Builder>
-
clearField
public Collections.UpdateCollection.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.UpdateCollection.Builder>
-
clearOneof
public Collections.UpdateCollection.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.UpdateCollection.Builder>
-
setRepeatedField
public Collections.UpdateCollection.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.UpdateCollection.Builder>
-
addRepeatedField
public Collections.UpdateCollection.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.UpdateCollection.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.UpdateCollection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.UpdateCollection.Builder>
-
mergeFrom
public Collections.UpdateCollection.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.UpdateCollection.Builder>
- Throws:
IOException
-
getCollectionName
Name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()Name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The bytes for collectionName.
-
setCollectionName
Name of the collection
string collection_name = 1;
- Parameters:
value
- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
Name of the collection
string collection_name = 1;
- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public Collections.UpdateCollection.Builder setCollectionNameBytes(com.google.protobuf.ByteString value) Name of the collection
string collection_name = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
hasOptimizersConfig
public boolean hasOptimizersConfig()New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
- Specified by:
hasOptimizersConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- Whether the optimizersConfig field is set.
-
getOptimizersConfig
New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
- Specified by:
getOptimizersConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The optimizersConfig.
-
setOptimizersConfig
public Collections.UpdateCollection.Builder setOptimizersConfig(Collections.OptimizersConfigDiff value) New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
-
setOptimizersConfig
public Collections.UpdateCollection.Builder setOptimizersConfig(Collections.OptimizersConfigDiff.Builder builderForValue) New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
-
mergeOptimizersConfig
public Collections.UpdateCollection.Builder mergeOptimizersConfig(Collections.OptimizersConfigDiff value) New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
-
clearOptimizersConfig
New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
-
getOptimizersConfigBuilder
New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
-
getOptimizersConfigOrBuilder
New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
optional .qdrant.OptimizersConfigDiff optimizers_config = 2;
- Specified by:
getOptimizersConfigOrBuilder
in interfaceCollections.UpdateCollectionOrBuilder
-
hasTimeout
public boolean hasTimeout()Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
optional uint64 timeout = 3;
- Specified by:
hasTimeout
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public long getTimeout()Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
optional uint64 timeout = 3;
- Specified by:
getTimeout
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The timeout.
-
setTimeout
Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
optional uint64 timeout = 3;
- Parameters:
value
- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
optional uint64 timeout = 3;
- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
- Specified by:
hasParams
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- Whether the params field is set.
-
getParams
New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
- Specified by:
getParams
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The params.
-
setParams
New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
-
setParams
public Collections.UpdateCollection.Builder setParams(Collections.CollectionParamsDiff.Builder builderForValue) New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
-
mergeParams
New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
-
clearParams
New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
-
getParamsBuilder
New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
-
getParamsOrBuilder
New configuration parameters for the collection
optional .qdrant.CollectionParamsDiff params = 4;
- Specified by:
getParamsOrBuilder
in interfaceCollections.UpdateCollectionOrBuilder
-
hasHnswConfig
public boolean hasHnswConfig()New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
- Specified by:
hasHnswConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- Whether the hnswConfig field is set.
-
getHnswConfig
New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
- Specified by:
getHnswConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The hnswConfig.
-
setHnswConfig
New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
-
setHnswConfig
public Collections.UpdateCollection.Builder setHnswConfig(Collections.HnswConfigDiff.Builder builderForValue) New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
-
mergeHnswConfig
New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
-
clearHnswConfig
New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
-
getHnswConfigBuilder
New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
-
getHnswConfigOrBuilder
New HNSW parameters for the collection index
optional .qdrant.HnswConfigDiff hnsw_config = 5;
- Specified by:
getHnswConfigOrBuilder
in interfaceCollections.UpdateCollectionOrBuilder
-
hasVectorsConfig
public boolean hasVectorsConfig()New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
- Specified by:
hasVectorsConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- Whether the vectorsConfig field is set.
-
getVectorsConfig
New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
- Specified by:
getVectorsConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The vectorsConfig.
-
setVectorsConfig
New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
-
setVectorsConfig
public Collections.UpdateCollection.Builder setVectorsConfig(Collections.VectorsConfigDiff.Builder builderForValue) New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
-
mergeVectorsConfig
New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
-
clearVectorsConfig
New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
-
getVectorsConfigBuilder
New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
-
getVectorsConfigOrBuilder
New vector parameters
optional .qdrant.VectorsConfigDiff vectors_config = 6;
- Specified by:
getVectorsConfigOrBuilder
in interfaceCollections.UpdateCollectionOrBuilder
-
hasQuantizationConfig
public boolean hasQuantizationConfig()Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
- Specified by:
hasQuantizationConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- Whether the quantizationConfig field is set.
-
getQuantizationConfig
Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
- Specified by:
getQuantizationConfig
in interfaceCollections.UpdateCollectionOrBuilder
- Returns:
- The quantizationConfig.
-
setQuantizationConfig
public Collections.UpdateCollection.Builder setQuantizationConfig(Collections.QuantizationConfigDiff value) Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
-
setQuantizationConfig
public Collections.UpdateCollection.Builder setQuantizationConfig(Collections.QuantizationConfigDiff.Builder builderForValue) Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
-
mergeQuantizationConfig
public Collections.UpdateCollection.Builder mergeQuantizationConfig(Collections.QuantizationConfigDiff value) Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
-
clearQuantizationConfig
Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
-
getQuantizationConfigBuilder
Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
-
getQuantizationConfigOrBuilder
Quantization configuration of vector
optional .qdrant.QuantizationConfigDiff quantization_config = 7;
- Specified by:
getQuantizationConfigOrBuilder
in interfaceCollections.UpdateCollectionOrBuilder
-
setUnknownFields
public final Collections.UpdateCollection.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.UpdateCollection.Builder>
-
mergeUnknownFields
public final Collections.UpdateCollection.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.UpdateCollection.Builder>
-