Package io.milvus.grpc
Interface CreateCollectionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateCollectionRequest,CreateCollectionRequest.Builder
public interface CreateCollectionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MsgBasegetBase()Not useful for nowMsgBaseOrBuildergetBaseOrBuilder()Not useful for nowStringgetCollectionName()The unique collection name in milvus.(Required)com.google.protobuf.ByteStringgetCollectionNameBytes()The unique collection name in milvus.(Required)ConsistencyLevelgetConsistencyLevel()The consistency level that the collection used, modification is not supported now.intgetConsistencyLevelValue()The consistency level that the collection used, modification is not supported now.StringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;longgetNumPartitions()num of default physical partitions, only used in partition key mode and changes are not supportedKeyValuePairgetProperties(int index)repeated .milvus.proto.common.KeyValuePair properties = 7;intgetPropertiesCount()repeated .milvus.proto.common.KeyValuePair properties = 7;List<KeyValuePair>getPropertiesList()repeated .milvus.proto.common.KeyValuePair properties = 7;KeyValuePairOrBuildergetPropertiesOrBuilder(int index)repeated .milvus.proto.common.KeyValuePair properties = 7;List<? extends KeyValuePairOrBuilder>getPropertiesOrBuilderList()repeated .milvus.proto.common.KeyValuePair properties = 7;com.google.protobuf.ByteStringgetSchema()The serialized `schema.CollectionSchema`(Required)intgetShardsNum()Once set, no modification is allowed (Optional) https://github.com/milvus-io/milvus/issues/6690booleanhasBase()Not useful for now-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBase
boolean hasBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Returns:
- Whether the base field is set.
-
getBase
MsgBase getBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Returns:
- The base.
-
getBaseOrBuilder
MsgBaseOrBuilder getBaseOrBuilder()
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
getDbName
String getDbName()
string db_name = 2;- Returns:
- The dbName.
-
getDbNameBytes
com.google.protobuf.ByteString getDbNameBytes()
string db_name = 2;- Returns:
- The bytes for dbName.
-
getCollectionName
String getCollectionName()
The unique collection name in milvus.(Required)
string collection_name = 3;- Returns:
- The collectionName.
-
getCollectionNameBytes
com.google.protobuf.ByteString getCollectionNameBytes()
The unique collection name in milvus.(Required)
string collection_name = 3;- Returns:
- The bytes for collectionName.
-
getSchema
com.google.protobuf.ByteString getSchema()
The serialized `schema.CollectionSchema`(Required)
bytes schema = 4;- Returns:
- The schema.
-
getShardsNum
int getShardsNum()
Once set, no modification is allowed (Optional) https://github.com/milvus-io/milvus/issues/6690
int32 shards_num = 5;- Returns:
- The shardsNum.
-
getConsistencyLevelValue
int getConsistencyLevelValue()
The consistency level that the collection used, modification is not supported now.
.milvus.proto.common.ConsistencyLevel consistency_level = 6;- Returns:
- The enum numeric value on the wire for consistencyLevel.
-
getConsistencyLevel
ConsistencyLevel getConsistencyLevel()
The consistency level that the collection used, modification is not supported now.
.milvus.proto.common.ConsistencyLevel consistency_level = 6;- Returns:
- The consistencyLevel.
-
getPropertiesList
List<KeyValuePair> getPropertiesList()
repeated .milvus.proto.common.KeyValuePair properties = 7;
-
getProperties
KeyValuePair getProperties(int index)
repeated .milvus.proto.common.KeyValuePair properties = 7;
-
getPropertiesCount
int getPropertiesCount()
repeated .milvus.proto.common.KeyValuePair properties = 7;
-
getPropertiesOrBuilderList
List<? extends KeyValuePairOrBuilder> getPropertiesOrBuilderList()
repeated .milvus.proto.common.KeyValuePair properties = 7;
-
getPropertiesOrBuilder
KeyValuePairOrBuilder getPropertiesOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair properties = 7;
-
getNumPartitions
long getNumPartitions()
num of default physical partitions, only used in partition key mode and changes are not supported
int64 num_partitions = 8;- Returns:
- The numPartitions.
-
-