Package milvus.proto.msg
Interface Msg.CreateCollectionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Msg.CreateCollectionRequest,Msg.CreateCollectionRequest.Builder
- Enclosing class:
- Msg
public static interface Msg.CreateCollectionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description MsgBasegetBase().milvus.proto.common.MsgBase base = 1;MsgBaseOrBuildergetBaseOrBuilder().milvus.proto.common.MsgBase base = 1;longgetCollectionID()int64 collectionID = 6;StringgetCollectionName()string collectionName = 3;com.google.protobuf.ByteStringgetCollectionNameBytes()string collectionName = 3;CollectionSchemagetCollectionSchema().milvus.proto.schema.CollectionSchema collection_schema = 13;CollectionSchemaOrBuildergetCollectionSchemaOrBuilder().milvus.proto.schema.CollectionSchema collection_schema = 13;longgetDbID()`schema` is the serialized `schema.CollectionSchema`StringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;longgetPartitionID()Deprecated.milvus.proto.msg.CreateCollectionRequest.partitionID is deprecated.longgetPartitionIDs(int index)repeated int64 partitionIDs = 11;intgetPartitionIDsCount()repeated int64 partitionIDs = 11;List<Long>getPartitionIDsList()repeated int64 partitionIDs = 11;StringgetPartitionName()string partitionName = 4;com.google.protobuf.ByteStringgetPartitionNameBytes()string partitionName = 4;StringgetPartitionNames(int index)repeated string partitionNames = 12;com.google.protobuf.ByteStringgetPartitionNamesBytes(int index)repeated string partitionNames = 12;intgetPartitionNamesCount()repeated string partitionNames = 12;List<String>getPartitionNamesList()repeated string partitionNames = 12;StringgetPhysicalChannelNames(int index)repeated string physicalChannelNames = 10;com.google.protobuf.ByteStringgetPhysicalChannelNamesBytes(int index)repeated string physicalChannelNames = 10;intgetPhysicalChannelNamesCount()repeated string physicalChannelNames = 10;List<String>getPhysicalChannelNamesList()repeated string physicalChannelNames = 10;com.google.protobuf.ByteStringgetSchema()Deprecated.milvus.proto.msg.CreateCollectionRequest.schema is deprecated.StringgetVirtualChannelNames(int index)repeated string virtualChannelNames = 9;com.google.protobuf.ByteStringgetVirtualChannelNamesBytes(int index)repeated string virtualChannelNames = 9;intgetVirtualChannelNamesCount()repeated string virtualChannelNames = 9;List<String>getVirtualChannelNamesList()repeated string virtualChannelNames = 9;booleanhasBase().milvus.proto.common.MsgBase base = 1;booleanhasCollectionSchema().milvus.proto.schema.CollectionSchema collection_schema = 13;-
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()
.milvus.proto.common.MsgBase base = 1;- Returns:
- Whether the base field is set.
-
getBase
MsgBase getBase()
.milvus.proto.common.MsgBase base = 1;- Returns:
- The base.
-
getBaseOrBuilder
MsgBaseOrBuilder getBaseOrBuilder()
.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()
string collectionName = 3;- Returns:
- The collectionName.
-
getCollectionNameBytes
com.google.protobuf.ByteString getCollectionNameBytes()
string collectionName = 3;- Returns:
- The bytes for collectionName.
-
getPartitionName
String getPartitionName()
string partitionName = 4;- Returns:
- The partitionName.
-
getPartitionNameBytes
com.google.protobuf.ByteString getPartitionNameBytes()
string partitionName = 4;- Returns:
- The bytes for partitionName.
-
getDbID
long getDbID()
`schema` is the serialized `schema.CollectionSchema`
int64 dbID = 5;- Returns:
- The dbID.
-
getCollectionID
long getCollectionID()
int64 collectionID = 6;- Returns:
- The collectionID.
-
getPartitionID
@Deprecated long getPartitionID()
Deprecated.milvus.proto.msg.CreateCollectionRequest.partitionID is deprecated. See msg.proto;l=65int64 partitionID = 7 [deprecated = true];- Returns:
- The partitionID.
-
getSchema
@Deprecated com.google.protobuf.ByteString getSchema()
Deprecated.milvus.proto.msg.CreateCollectionRequest.schema is deprecated. See msg.proto;l=66legacy representation, will be set if collection_schema is not set.
bytes schema = 8 [deprecated = true];- Returns:
- The schema.
-
getVirtualChannelNamesList
List<String> getVirtualChannelNamesList()
repeated string virtualChannelNames = 9;- Returns:
- A list containing the virtualChannelNames.
-
getVirtualChannelNamesCount
int getVirtualChannelNamesCount()
repeated string virtualChannelNames = 9;- Returns:
- The count of virtualChannelNames.
-
getVirtualChannelNames
String getVirtualChannelNames(int index)
repeated string virtualChannelNames = 9;- Parameters:
index- The index of the element to return.- Returns:
- The virtualChannelNames at the given index.
-
getVirtualChannelNamesBytes
com.google.protobuf.ByteString getVirtualChannelNamesBytes(int index)
repeated string virtualChannelNames = 9;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the virtualChannelNames at the given index.
-
getPhysicalChannelNamesList
List<String> getPhysicalChannelNamesList()
repeated string physicalChannelNames = 10;- Returns:
- A list containing the physicalChannelNames.
-
getPhysicalChannelNamesCount
int getPhysicalChannelNamesCount()
repeated string physicalChannelNames = 10;- Returns:
- The count of physicalChannelNames.
-
getPhysicalChannelNames
String getPhysicalChannelNames(int index)
repeated string physicalChannelNames = 10;- Parameters:
index- The index of the element to return.- Returns:
- The physicalChannelNames at the given index.
-
getPhysicalChannelNamesBytes
com.google.protobuf.ByteString getPhysicalChannelNamesBytes(int index)
repeated string physicalChannelNames = 10;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the physicalChannelNames at the given index.
-
getPartitionIDsList
List<Long> getPartitionIDsList()
repeated int64 partitionIDs = 11;- Returns:
- A list containing the partitionIDs.
-
getPartitionIDsCount
int getPartitionIDsCount()
repeated int64 partitionIDs = 11;- Returns:
- The count of partitionIDs.
-
getPartitionIDs
long getPartitionIDs(int index)
repeated int64 partitionIDs = 11;- Parameters:
index- The index of the element to return.- Returns:
- The partitionIDs at the given index.
-
getPartitionNamesList
List<String> getPartitionNamesList()
repeated string partitionNames = 12;- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
int getPartitionNamesCount()
repeated string partitionNames = 12;- Returns:
- The count of partitionNames.
-
getPartitionNames
String getPartitionNames(int index)
repeated string partitionNames = 12;- Parameters:
index- The index of the element to return.- Returns:
- The partitionNames at the given index.
-
getPartitionNamesBytes
com.google.protobuf.ByteString getPartitionNamesBytes(int index)
repeated string partitionNames = 12;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
hasCollectionSchema
boolean hasCollectionSchema()
.milvus.proto.schema.CollectionSchema collection_schema = 13;- Returns:
- Whether the collectionSchema field is set.
-
getCollectionSchema
CollectionSchema getCollectionSchema()
.milvus.proto.schema.CollectionSchema collection_schema = 13;- Returns:
- The collectionSchema.
-
getCollectionSchemaOrBuilder
CollectionSchemaOrBuilder getCollectionSchemaOrBuilder()
.milvus.proto.schema.CollectionSchema collection_schema = 13;
-
-