Package io.qdrant.client.grpc
Class Collections.CreateCollection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Collections.CreateCollection.Builder>
io.qdrant.client.grpc.Collections.CreateCollection.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.CreateCollectionOrBuilder
,Cloneable
- Enclosing class:
- Collections.CreateCollection
public static final class Collections.CreateCollection.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.CreateCollection.Builder>
implements Collections.CreateCollectionOrBuilder
Protobuf type
qdrant.CreateCollection
-
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) Configuration of vector indexSpecify name of the other collection to copy data fromIf true - point's payload will not be stored in memoryclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Configuration of the optimizersQuantization configuration of vectorNumber of replicas of each shard that network tries to maintain, default = 1Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes.Wait timeout for operation commit in seconds, if not specified - default value will be suppliedConfiguration for vectorsConfiguration of the Write-Ahead-LogHow many replicas should apply the operation for us to consider it successful, default = 1clone()
Name of the collectioncom.google.protobuf.ByteString
Name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Configuration of vector indexConfiguration of vector indexConfiguration of vector indexSpecify name of the other collection to copy data fromcom.google.protobuf.ByteString
Specify name of the other collection to copy data fromboolean
If true - point's payload will not be stored in memoryConfiguration of the optimizersConfiguration of the optimizersConfiguration of the optimizersQuantization configuration of vectorQuantization configuration of vectorQuantization configuration of vectorint
Number of replicas of each shard that network tries to maintain, default = 1int
Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes.long
Wait timeout for operation commit in seconds, if not specified - default value will be suppliedConfiguration for vectorsConfiguration for vectorsConfiguration for vectorsConfiguration of the Write-Ahead-LogConfiguration of the Write-Ahead-LogConfiguration of the Write-Ahead-Logint
How many replicas should apply the operation for us to consider it successful, default = 1boolean
Configuration of vector indexboolean
Specify name of the other collection to copy data fromboolean
If true - point's payload will not be stored in memoryboolean
Configuration of the optimizersboolean
Quantization configuration of vectorboolean
Number of replicas of each shard that network tries to maintain, default = 1boolean
Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes.boolean
Wait timeout for operation commit in seconds, if not specified - default value will be suppliedboolean
Configuration for vectorsboolean
Configuration of the Write-Ahead-Logboolean
How many replicas should apply the operation for us to consider it successful, default = 1protected 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 optimizersQuantization configuration of vectormergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Configuration for vectorsConfiguration of the Write-Ahead-LogsetCollectionName
(String value) Name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) Name of the collectionConfiguration of vector indexsetHnswConfig
(Collections.HnswConfigDiff.Builder builderForValue) Configuration of vector indexsetInitFromCollection
(String value) Specify name of the other collection to copy data fromsetInitFromCollectionBytes
(com.google.protobuf.ByteString value) Specify name of the other collection to copy data fromsetOnDiskPayload
(boolean value) If true - point's payload will not be stored in memoryConfiguration of the optimizerssetOptimizersConfig
(Collections.OptimizersConfigDiff.Builder builderForValue) Configuration of the optimizersQuantization configuration of vectorsetQuantizationConfig
(Collections.QuantizationConfig.Builder builderForValue) Quantization configuration of vectorsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicationFactor
(int value) Number of replicas of each shard that network tries to maintain, default = 1setShardNumber
(int value) Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes.setTimeout
(long value) Wait timeout for operation commit in seconds, if not specified - default value will be suppliedsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Configuration for vectorssetVectorsConfig
(Collections.VectorsConfig.Builder builderForValue) Configuration for vectorsConfiguration of the Write-Ahead-LogsetWalConfig
(Collections.WalConfigDiff.Builder builderForValue) Configuration of the Write-Ahead-LogsetWriteConsistencyFactor
(int value) How many replicas should apply the operation for us to consider it successful, default = 1Methods 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.CreateCollection.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.CreateCollection.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.CreateCollection.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.CreateCollection.Builder>
-
setField
public Collections.CreateCollection.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.CreateCollection.Builder>
-
clearField
public Collections.CreateCollection.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.CreateCollection.Builder>
-
clearOneof
public Collections.CreateCollection.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.CreateCollection.Builder>
-
setRepeatedField
public Collections.CreateCollection.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.CreateCollection.Builder>
-
addRepeatedField
public Collections.CreateCollection.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.CreateCollection.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.CreateCollection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.CreateCollection.Builder>
-
mergeFrom
public Collections.CreateCollection.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.CreateCollection.Builder>
- Throws:
IOException
-
getCollectionName
Name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()Name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfaceCollections.CreateCollectionOrBuilder
- 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.CreateCollection.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.
-
hasHnswConfig
public boolean hasHnswConfig()Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
- Specified by:
hasHnswConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the hnswConfig field is set.
-
getHnswConfig
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
- Specified by:
getHnswConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The hnswConfig.
-
setHnswConfig
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
-
setHnswConfig
public Collections.CreateCollection.Builder setHnswConfig(Collections.HnswConfigDiff.Builder builderForValue) Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
-
mergeHnswConfig
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
-
clearHnswConfig
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
-
getHnswConfigBuilder
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
-
getHnswConfigOrBuilder
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;
- Specified by:
getHnswConfigOrBuilder
in interfaceCollections.CreateCollectionOrBuilder
-
hasWalConfig
public boolean hasWalConfig()Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
- Specified by:
hasWalConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the walConfig field is set.
-
getWalConfig
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
- Specified by:
getWalConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The walConfig.
-
setWalConfig
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
-
setWalConfig
public Collections.CreateCollection.Builder setWalConfig(Collections.WalConfigDiff.Builder builderForValue) Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
-
mergeWalConfig
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
-
clearWalConfig
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
-
getWalConfigBuilder
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
-
getWalConfigOrBuilder
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;
- Specified by:
getWalConfigOrBuilder
in interfaceCollections.CreateCollectionOrBuilder
-
hasOptimizersConfig
public boolean hasOptimizersConfig()Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
- Specified by:
hasOptimizersConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the optimizersConfig field is set.
-
getOptimizersConfig
Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
- Specified by:
getOptimizersConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The optimizersConfig.
-
setOptimizersConfig
public Collections.CreateCollection.Builder setOptimizersConfig(Collections.OptimizersConfigDiff value) Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
-
setOptimizersConfig
public Collections.CreateCollection.Builder setOptimizersConfig(Collections.OptimizersConfigDiff.Builder builderForValue) Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
-
mergeOptimizersConfig
public Collections.CreateCollection.Builder mergeOptimizersConfig(Collections.OptimizersConfigDiff value) Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
-
clearOptimizersConfig
Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
-
getOptimizersConfigBuilder
Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
-
getOptimizersConfigOrBuilder
Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;
- Specified by:
getOptimizersConfigOrBuilder
in interfaceCollections.CreateCollectionOrBuilder
-
hasShardNumber
public boolean hasShardNumber()Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
optional uint32 shard_number = 7;
- Specified by:
hasShardNumber
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the shardNumber field is set.
-
getShardNumber
public int getShardNumber()Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
optional uint32 shard_number = 7;
- Specified by:
getShardNumber
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The shardNumber.
-
setShardNumber
Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
optional uint32 shard_number = 7;
- Parameters:
value
- The shardNumber to set.- Returns:
- This builder for chaining.
-
clearShardNumber
Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
optional uint32 shard_number = 7;
- Returns:
- This builder for chaining.
-
hasOnDiskPayload
public boolean hasOnDiskPayload()If true - point's payload will not be stored in memory
optional bool on_disk_payload = 8;
- Specified by:
hasOnDiskPayload
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the onDiskPayload field is set.
-
getOnDiskPayload
public boolean getOnDiskPayload()If true - point's payload will not be stored in memory
optional bool on_disk_payload = 8;
- Specified by:
getOnDiskPayload
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The onDiskPayload.
-
setOnDiskPayload
If true - point's payload will not be stored in memory
optional bool on_disk_payload = 8;
- Parameters:
value
- The onDiskPayload to set.- Returns:
- This builder for chaining.
-
clearOnDiskPayload
If true - point's payload will not be stored in memory
optional bool on_disk_payload = 8;
- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 9;
- Specified by:
hasTimeout
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public long getTimeout()Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 9;
- Specified by:
getTimeout
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The timeout.
-
setTimeout
Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 9;
- Parameters:
value
- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 9;
- Returns:
- This builder for chaining.
-
hasVectorsConfig
public boolean hasVectorsConfig()Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
- Specified by:
hasVectorsConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the vectorsConfig field is set.
-
getVectorsConfig
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
- Specified by:
getVectorsConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The vectorsConfig.
-
setVectorsConfig
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
-
setVectorsConfig
public Collections.CreateCollection.Builder setVectorsConfig(Collections.VectorsConfig.Builder builderForValue) Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
-
mergeVectorsConfig
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
-
clearVectorsConfig
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
-
getVectorsConfigBuilder
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
-
getVectorsConfigOrBuilder
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;
- Specified by:
getVectorsConfigOrBuilder
in interfaceCollections.CreateCollectionOrBuilder
-
hasReplicationFactor
public boolean hasReplicationFactor()Number of replicas of each shard that network tries to maintain, default = 1
optional uint32 replication_factor = 11;
- Specified by:
hasReplicationFactor
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the replicationFactor field is set.
-
getReplicationFactor
public int getReplicationFactor()Number of replicas of each shard that network tries to maintain, default = 1
optional uint32 replication_factor = 11;
- Specified by:
getReplicationFactor
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The replicationFactor.
-
setReplicationFactor
Number of replicas of each shard that network tries to maintain, default = 1
optional uint32 replication_factor = 11;
- Parameters:
value
- The replicationFactor to set.- Returns:
- This builder for chaining.
-
clearReplicationFactor
Number of replicas of each shard that network tries to maintain, default = 1
optional uint32 replication_factor = 11;
- Returns:
- This builder for chaining.
-
hasWriteConsistencyFactor
public boolean hasWriteConsistencyFactor()How many replicas should apply the operation for us to consider it successful, default = 1
optional uint32 write_consistency_factor = 12;
- Specified by:
hasWriteConsistencyFactor
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the writeConsistencyFactor field is set.
-
getWriteConsistencyFactor
public int getWriteConsistencyFactor()How many replicas should apply the operation for us to consider it successful, default = 1
optional uint32 write_consistency_factor = 12;
- Specified by:
getWriteConsistencyFactor
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The writeConsistencyFactor.
-
setWriteConsistencyFactor
How many replicas should apply the operation for us to consider it successful, default = 1
optional uint32 write_consistency_factor = 12;
- Parameters:
value
- The writeConsistencyFactor to set.- Returns:
- This builder for chaining.
-
clearWriteConsistencyFactor
How many replicas should apply the operation for us to consider it successful, default = 1
optional uint32 write_consistency_factor = 12;
- Returns:
- This builder for chaining.
-
hasInitFromCollection
public boolean hasInitFromCollection()Specify name of the other collection to copy data from
optional string init_from_collection = 13;
- Specified by:
hasInitFromCollection
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the initFromCollection field is set.
-
getInitFromCollection
Specify name of the other collection to copy data from
optional string init_from_collection = 13;
- Specified by:
getInitFromCollection
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The initFromCollection.
-
getInitFromCollectionBytes
public com.google.protobuf.ByteString getInitFromCollectionBytes()Specify name of the other collection to copy data from
optional string init_from_collection = 13;
- Specified by:
getInitFromCollectionBytes
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The bytes for initFromCollection.
-
setInitFromCollection
Specify name of the other collection to copy data from
optional string init_from_collection = 13;
- Parameters:
value
- The initFromCollection to set.- Returns:
- This builder for chaining.
-
clearInitFromCollection
Specify name of the other collection to copy data from
optional string init_from_collection = 13;
- Returns:
- This builder for chaining.
-
setInitFromCollectionBytes
public Collections.CreateCollection.Builder setInitFromCollectionBytes(com.google.protobuf.ByteString value) Specify name of the other collection to copy data from
optional string init_from_collection = 13;
- Parameters:
value
- The bytes for initFromCollection to set.- Returns:
- This builder for chaining.
-
hasQuantizationConfig
public boolean hasQuantizationConfig()Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
- Specified by:
hasQuantizationConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- Whether the quantizationConfig field is set.
-
getQuantizationConfig
Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
- Specified by:
getQuantizationConfig
in interfaceCollections.CreateCollectionOrBuilder
- Returns:
- The quantizationConfig.
-
setQuantizationConfig
public Collections.CreateCollection.Builder setQuantizationConfig(Collections.QuantizationConfig value) Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
-
setQuantizationConfig
public Collections.CreateCollection.Builder setQuantizationConfig(Collections.QuantizationConfig.Builder builderForValue) Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
-
mergeQuantizationConfig
public Collections.CreateCollection.Builder mergeQuantizationConfig(Collections.QuantizationConfig value) Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
-
clearQuantizationConfig
Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
-
getQuantizationConfigBuilder
Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
-
getQuantizationConfigOrBuilder
Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
- Specified by:
getQuantizationConfigOrBuilder
in interfaceCollections.CreateCollectionOrBuilder
-
setUnknownFields
public final Collections.CreateCollection.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.CreateCollection.Builder>
-
mergeUnknownFields
public final Collections.CreateCollection.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.CreateCollection.Builder>
-