io.milvus.grpc.CreateCollectionRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector database.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: milvus.proto
package io.milvus.grpc;
public interface CreateCollectionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.milvus.CreateCollectionRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Not useful for now
*
*
* .milvus.proto.common.MsgBase base = 1;
* @return Whether the base field is set.
*/
boolean hasBase();
/**
*
* Not useful for now
*
*
* .milvus.proto.common.MsgBase base = 1;
* @return The base.
*/
io.milvus.grpc.MsgBase getBase();
/**
*
* Not useful for now
*
*
* .milvus.proto.common.MsgBase base = 1;
*/
io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder();
/**
* string db_name = 2;
* @return The dbName.
*/
java.lang.String getDbName();
/**
* string db_name = 2;
* @return The bytes for dbName.
*/
com.google.protobuf.ByteString
getDbNameBytes();
/**
*
* The unique collection name in milvus.(Required)
*
*
* string collection_name = 3;
* @return The collectionName.
*/
java.lang.String getCollectionName();
/**
*
* The unique collection name in milvus.(Required)
*
*
* string collection_name = 3;
* @return The bytes for collectionName.
*/
com.google.protobuf.ByteString
getCollectionNameBytes();
/**
*
* The serialized `schema.CollectionSchema`(Required)
*
*
* bytes schema = 4;
* @return The schema.
*/
com.google.protobuf.ByteString getSchema();
/**
*
* Once set, no modification is allowed (Optional)
* https://github.com/milvus-io/milvus/issues/6690
*
*
* int32 shards_num = 5;
* @return The shardsNum.
*/
int getShardsNum();
/**
*
* The consistency level that the collection used, modification is not supported now.
*
*
* .milvus.proto.common.ConsistencyLevel consistency_level = 6;
* @return The enum numeric value on the wire for consistencyLevel.
*/
int getConsistencyLevelValue();
/**
*
* The consistency level that the collection used, modification is not supported now.
*
*
* .milvus.proto.common.ConsistencyLevel consistency_level = 6;
* @return The consistencyLevel.
*/
io.milvus.grpc.ConsistencyLevel getConsistencyLevel();
/**
* repeated .milvus.proto.common.KeyValuePair properties = 7;
*/
java.util.List
getPropertiesList();
/**
* repeated .milvus.proto.common.KeyValuePair properties = 7;
*/
io.milvus.grpc.KeyValuePair getProperties(int index);
/**
* repeated .milvus.proto.common.KeyValuePair properties = 7;
*/
int getPropertiesCount();
/**
* repeated .milvus.proto.common.KeyValuePair properties = 7;
*/
java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getPropertiesOrBuilderList();
/**
* repeated .milvus.proto.common.KeyValuePair properties = 7;
*/
io.milvus.grpc.KeyValuePairOrBuilder getPropertiesOrBuilder(
int index);
/**
*
* num of default physical partitions, only used in partition key mode and changes are not supported
*
*
* int64 num_partitions = 8;
* @return The numPartitions.
*/
long getNumPartitions();
}