Package io.qdrant.client.grpc
Class Collections.CreateCollection
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.qdrant.client.grpc.Collections.CreateCollection
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.CreateCollectionOrBuilder
,Serializable
- Enclosing class:
- Collections
public static final class Collections.CreateCollection
extends com.google.protobuf.GeneratedMessageV3
implements Collections.CreateCollectionOrBuilder
Protobuf type
qdrant.CreateCollection
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeqdrant.CreateCollection
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the collectioncom.google.protobuf.ByteString
Name of the collectionstatic Collections.CreateCollection
static final com.google.protobuf.Descriptors.Descriptor
Configuration 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 optimizerscom.google.protobuf.Parser<Collections.CreateCollection>
Quantization configuration of vectorQuantization configuration of vectorint
Number of replicas of each shard that network tries to maintain, default = 1int
int
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 of the Write-Ahead-LogConfiguration of the Write-Ahead-Logint
How many replicas should apply the operation for us to consider it successful, default = 1int
hashCode()
boolean
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
newBuilder
(Collections.CreateCollection prototype) protected Collections.CreateCollection.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Collections.CreateCollection
parseDelimitedFrom
(InputStream input) static Collections.CreateCollection
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollection
parseFrom
(byte[] data) static Collections.CreateCollection
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollection
parseFrom
(com.google.protobuf.ByteString data) static Collections.CreateCollection
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollection
parseFrom
(com.google.protobuf.CodedInputStream input) static Collections.CreateCollection
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollection
parseFrom
(InputStream input) static Collections.CreateCollection
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollection
parseFrom
(ByteBuffer data) static Collections.CreateCollection
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Collections.CreateCollection>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER- See Also:
-
HNSW_CONFIG_FIELD_NUMBER
public static final int HNSW_CONFIG_FIELD_NUMBER- See Also:
-
WAL_CONFIG_FIELD_NUMBER
public static final int WAL_CONFIG_FIELD_NUMBER- See Also:
-
OPTIMIZERS_CONFIG_FIELD_NUMBER
public static final int OPTIMIZERS_CONFIG_FIELD_NUMBER- See Also:
-
SHARD_NUMBER_FIELD_NUMBER
public static final int SHARD_NUMBER_FIELD_NUMBER- See Also:
-
ON_DISK_PAYLOAD_FIELD_NUMBER
public static final int ON_DISK_PAYLOAD_FIELD_NUMBER- See Also:
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER- See Also:
-
VECTORS_CONFIG_FIELD_NUMBER
public static final int VECTORS_CONFIG_FIELD_NUMBER- See Also:
-
REPLICATION_FACTOR_FIELD_NUMBER
public static final int REPLICATION_FACTOR_FIELD_NUMBER- See Also:
-
WRITE_CONSISTENCY_FACTOR_FIELD_NUMBER
public static final int WRITE_CONSISTENCY_FACTOR_FIELD_NUMBER- See Also:
-
INIT_FROM_COLLECTION_FIELD_NUMBER
public static final int INIT_FROM_COLLECTION_FIELD_NUMBER- See Also:
-
QUANTIZATION_CONFIG_FIELD_NUMBER
public static final int QUANTIZATION_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getQuantizationConfigOrBuilder
Quantization configuration of vector
optional .qdrant.QuantizationConfig quantization_config = 14;
- Specified by:
getQuantizationConfigOrBuilder
in interfaceCollections.CreateCollectionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Collections.CreateCollection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CreateCollection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CreateCollection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CreateCollection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CreateCollection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Collections.CreateCollection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Collections.CreateCollection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Collections.CreateCollection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Collections.CreateCollection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Collections.CreateCollection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Collections.CreateCollection.Builder newBuilder(Collections.CreateCollection prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Collections.CreateCollection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-