Class Collections.CreateCollection
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.metaloom.qdrant.client.grpc.proto.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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeqdrant.CreateCollectionNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanName of the collectioncom.google.protobuf.ByteStringName of the collectionstatic Collections.CreateCollectionstatic final com.google.protobuf.Descriptors.DescriptorConfiguration of vector indexConfiguration of vector indexbooleanIf true - point's payload will not be stored in memoryConfiguration of the optimizersConfiguration of the optimizerscom.google.protobuf.Parser<Collections.CreateCollection>intNumber of replicas of each shard that network tries to maintain, default = 1intintNumber of shards in the collection, default = 1longWait timeout for operation commit in seconds, if not specified - default value will be suppliedfinal com.google.protobuf.UnknownFieldSetConfiguration for vectorsConfiguration for vectorsConfiguration of the Write-Ahead-LogConfiguration of the Write-Ahead-LogintHow many replicas should apply the operation for us to consider it successful, default = 1inthashCode()booleanConfiguration of vector indexbooleanIf true - point's payload will not be stored in memorybooleanConfiguration of the optimizersbooleanNumber of replicas of each shard that network tries to maintain, default = 1booleanNumber of shards in the collection, default = 1booleanWait timeout for operation commit in seconds, if not specified - default value will be suppliedbooleanConfiguration for vectorsbooleanConfiguration of the Write-Ahead-LogbooleanHow many replicas should apply the operation for us to consider it successful, default = 1protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Collections.CreateCollection prototype) protected Collections.CreateCollection.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Collections.CreateCollectionparseDelimitedFrom(InputStream input) static Collections.CreateCollectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollectionparseFrom(byte[] data) static Collections.CreateCollectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollectionparseFrom(com.google.protobuf.ByteString data) static Collections.CreateCollectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollectionparseFrom(com.google.protobuf.CodedInputStream input) static Collections.CreateCollectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollectionparseFrom(InputStream input) static Collections.CreateCollectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Collections.CreateCollectionparseFrom(ByteBuffer data) static Collections.CreateCollectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Collections.CreateCollection>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, 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:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCollectionName
Name of the collection
string collection_name = 1;- Specified by:
getCollectionNamein interfaceCollections.CreateCollectionOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()Name of the collection
string collection_name = 1;- Specified by:
getCollectionNameBytesin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The bytes for collectionName.
-
hasHnswConfig
public boolean hasHnswConfig()Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;- Specified by:
hasHnswConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- Whether the hnswConfig field is set.
-
getHnswConfig
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;- Specified by:
getHnswConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The hnswConfig.
-
getHnswConfigOrBuilder
Configuration of vector index
optional .qdrant.HnswConfigDiff hnsw_config = 4;- Specified by:
getHnswConfigOrBuilderin interfaceCollections.CreateCollectionOrBuilder
-
hasWalConfig
public boolean hasWalConfig()Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;- Specified by:
hasWalConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- Whether the walConfig field is set.
-
getWalConfig
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;- Specified by:
getWalConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The walConfig.
-
getWalConfigOrBuilder
Configuration of the Write-Ahead-Log
optional .qdrant.WalConfigDiff wal_config = 5;- Specified by:
getWalConfigOrBuilderin interfaceCollections.CreateCollectionOrBuilder
-
hasOptimizersConfig
public boolean hasOptimizersConfig()Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;- Specified by:
hasOptimizersConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- Whether the optimizersConfig field is set.
-
getOptimizersConfig
Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;- Specified by:
getOptimizersConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The optimizersConfig.
-
getOptimizersConfigOrBuilder
Configuration of the optimizers
optional .qdrant.OptimizersConfigDiff optimizers_config = 6;- Specified by:
getOptimizersConfigOrBuilderin interfaceCollections.CreateCollectionOrBuilder
-
hasShardNumber
public boolean hasShardNumber()Number of shards in the collection, default = 1
optional uint32 shard_number = 7;- Specified by:
hasShardNumberin interfaceCollections.CreateCollectionOrBuilder- Returns:
- Whether the shardNumber field is set.
-
getShardNumber
public int getShardNumber()Number of shards in the collection, default = 1
optional uint32 shard_number = 7;- Specified by:
getShardNumberin 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:
hasOnDiskPayloadin 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:
getOnDiskPayloadin 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:
hasTimeoutin 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:
getTimeoutin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The timeout.
-
hasVectorsConfig
public boolean hasVectorsConfig()Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;- Specified by:
hasVectorsConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- Whether the vectorsConfig field is set.
-
getVectorsConfig
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;- Specified by:
getVectorsConfigin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The vectorsConfig.
-
getVectorsConfigOrBuilder
Configuration for vectors
optional .qdrant.VectorsConfig vectors_config = 10;- Specified by:
getVectorsConfigOrBuilderin 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:
hasReplicationFactorin 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:
getReplicationFactorin 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:
hasWriteConsistencyFactorin 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:
getWriteConsistencyFactorin interfaceCollections.CreateCollectionOrBuilder- Returns:
- The writeConsistencyFactor.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Collections.CreateCollection.Builder newBuilder(Collections.CreateCollection prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Collections.CreateCollection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-