Package milvus.proto.msg
Class Msg.CreateCollectionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Msg.CreateCollectionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
milvus.proto.msg.Msg.CreateCollectionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Msg.CreateCollectionRequestOrBuilder
- Enclosing class:
Msg.CreateCollectionRequest
public static final class Msg.CreateCollectionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
implements Msg.CreateCollectionRequestOrBuilder
Protobuf type
milvus.proto.msg.CreateCollectionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartitionIDs(Iterable<? extends Long> values) repeated int64 partitionIDs = 11;addAllPhysicalChannelNames(Iterable<String> values) repeated string physicalChannelNames = 10;addAllVirtualChannelNames(Iterable<String> values) repeated string virtualChannelNames = 9;addPartitionIDs(long value) repeated int64 partitionIDs = 11;addPhysicalChannelNames(String value) repeated string physicalChannelNames = 10;addPhysicalChannelNamesBytes(com.google.protobuf.ByteString value) repeated string physicalChannelNames = 10;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVirtualChannelNames(String value) repeated string virtualChannelNames = 9;addVirtualChannelNamesBytes(com.google.protobuf.ByteString value) repeated string virtualChannelNames = 9;build()clear().milvus.proto.common.MsgBase base = 1;int64 collectionID = 6;string collectionName = 3;`schema` is the serialized `schema.CollectionSchema`string db_name = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) deprecatedrepeated int64 partitionIDs = 11;string partitionName = 4;repeated string physicalChannelNames = 10;bytes schema = 8;repeated string virtualChannelNames = 9;clone()getBase().milvus.proto.common.MsgBase base = 1;.milvus.proto.common.MsgBase base = 1;.milvus.proto.common.MsgBase base = 1;longint64 collectionID = 6;string collectionName = 3;com.google.protobuf.ByteStringstring collectionName = 3;longgetDbID()`schema` is the serialized `schema.CollectionSchema`string db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongdeprecatedlonggetPartitionIDs(int index) repeated int64 partitionIDs = 11;intrepeated int64 partitionIDs = 11;repeated int64 partitionIDs = 11;string partitionName = 4;com.google.protobuf.ByteStringstring partitionName = 4;getPhysicalChannelNames(int index) repeated string physicalChannelNames = 10;com.google.protobuf.ByteStringgetPhysicalChannelNamesBytes(int index) repeated string physicalChannelNames = 10;intrepeated string physicalChannelNames = 10;com.google.protobuf.ProtocolStringListrepeated string physicalChannelNames = 10;com.google.protobuf.ByteStringbytes schema = 8;getVirtualChannelNames(int index) repeated string virtualChannelNames = 9;com.google.protobuf.ByteStringgetVirtualChannelNamesBytes(int index) repeated string virtualChannelNames = 9;intrepeated string virtualChannelNames = 9;com.google.protobuf.ProtocolStringListrepeated string virtualChannelNames = 9;booleanhasBase().milvus.proto.common.MsgBase base = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.milvus.proto.common.MsgBase base = 1;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .milvus.proto.common.MsgBase base = 1;setBase(MsgBase.Builder builderForValue) .milvus.proto.common.MsgBase base = 1;setCollectionID(long value) int64 collectionID = 6;setCollectionName(String value) string collectionName = 3;setCollectionNameBytes(com.google.protobuf.ByteString value) string collectionName = 3;setDbID(long value) `schema` is the serialized `schema.CollectionSchema`string db_name = 2;setDbNameBytes(com.google.protobuf.ByteString value) string db_name = 2;setPartitionID(long value) deprecatedsetPartitionIDs(int index, long value) repeated int64 partitionIDs = 11;setPartitionName(String value) string partitionName = 4;setPartitionNameBytes(com.google.protobuf.ByteString value) string partitionName = 4;setPhysicalChannelNames(int index, String value) repeated string physicalChannelNames = 10;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSchema(com.google.protobuf.ByteString value) bytes schema = 8;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVirtualChannelNames(int index, String value) repeated string virtualChannelNames = 9;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Msg.CreateCollectionRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
setField
public Msg.CreateCollectionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
clearField
public Msg.CreateCollectionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
clearOneof
public Msg.CreateCollectionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
setRepeatedField
public Msg.CreateCollectionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
addRepeatedField
public Msg.CreateCollectionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Msg.CreateCollectionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
mergeFrom
public Msg.CreateCollectionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Msg.CreateCollectionRequest.Builder>- Throws:
IOException
-
hasBase
public boolean hasBase().milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The base.
-
setBase
.milvus.proto.common.MsgBase base = 1; -
setBase
.milvus.proto.common.MsgBase base = 1; -
mergeBase
.milvus.proto.common.MsgBase base = 1; -
clearBase
.milvus.proto.common.MsgBase base = 1; -
getBaseBuilder
.milvus.proto.common.MsgBase base = 1; -
getBaseOrBuilder
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceMsg.CreateCollectionRequestOrBuilder
-
getDbName
string db_name = 2;- Specified by:
getDbNamein interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()string db_name = 2;- Specified by:
getDbNameBytesin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The bytes for dbName.
-
setDbName
string db_name = 2;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
string db_name = 2;- Returns:
- This builder for chaining.
-
setDbNameBytes
string db_name = 2;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getCollectionName
string collectionName = 3;- Specified by:
getCollectionNamein interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()string collectionName = 3;- Specified by:
getCollectionNameBytesin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The bytes for collectionName.
-
setCollectionName
string collectionName = 3;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
string collectionName = 3;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public Msg.CreateCollectionRequest.Builder setCollectionNameBytes(com.google.protobuf.ByteString value) string collectionName = 3;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
getPartitionName
string partitionName = 4;- Specified by:
getPartitionNamein interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The partitionName.
-
getPartitionNameBytes
public com.google.protobuf.ByteString getPartitionNameBytes()string partitionName = 4;- Specified by:
getPartitionNameBytesin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The bytes for partitionName.
-
setPartitionName
string partitionName = 4;- Parameters:
value- The partitionName to set.- Returns:
- This builder for chaining.
-
clearPartitionName
string partitionName = 4;- Returns:
- This builder for chaining.
-
setPartitionNameBytes
public Msg.CreateCollectionRequest.Builder setPartitionNameBytes(com.google.protobuf.ByteString value) string partitionName = 4;- Parameters:
value- The bytes for partitionName to set.- Returns:
- This builder for chaining.
-
getDbID
public long getDbID()`schema` is the serialized `schema.CollectionSchema`
int64 dbID = 5;- Specified by:
getDbIDin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The dbID.
-
setDbID
`schema` is the serialized `schema.CollectionSchema`
int64 dbID = 5;- Parameters:
value- The dbID to set.- Returns:
- This builder for chaining.
-
clearDbID
`schema` is the serialized `schema.CollectionSchema`
int64 dbID = 5;- Returns:
- This builder for chaining.
-
getCollectionID
public long getCollectionID()int64 collectionID = 6;- Specified by:
getCollectionIDin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The collectionID.
-
setCollectionID
int64 collectionID = 6;- Parameters:
value- The collectionID to set.- Returns:
- This builder for chaining.
-
clearCollectionID
int64 collectionID = 6;- Returns:
- This builder for chaining.
-
getPartitionID
public long getPartitionID()deprecated
int64 partitionID = 7;- Specified by:
getPartitionIDin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The partitionID.
-
setPartitionID
deprecated
int64 partitionID = 7;- Parameters:
value- The partitionID to set.- Returns:
- This builder for chaining.
-
clearPartitionID
deprecated
int64 partitionID = 7;- Returns:
- This builder for chaining.
-
getSchema
public com.google.protobuf.ByteString getSchema()bytes schema = 8;- Specified by:
getSchemain interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The schema.
-
setSchema
bytes schema = 8;- Parameters:
value- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
bytes schema = 8;- Returns:
- This builder for chaining.
-
getVirtualChannelNamesList
public com.google.protobuf.ProtocolStringList getVirtualChannelNamesList()repeated string virtualChannelNames = 9;- Specified by:
getVirtualChannelNamesListin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- A list containing the virtualChannelNames.
-
getVirtualChannelNamesCount
public int getVirtualChannelNamesCount()repeated string virtualChannelNames = 9;- Specified by:
getVirtualChannelNamesCountin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The count of virtualChannelNames.
-
getVirtualChannelNames
repeated string virtualChannelNames = 9;- Specified by:
getVirtualChannelNamesin interfaceMsg.CreateCollectionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The virtualChannelNames at the given index.
-
getVirtualChannelNamesBytes
public com.google.protobuf.ByteString getVirtualChannelNamesBytes(int index) repeated string virtualChannelNames = 9;- Specified by:
getVirtualChannelNamesBytesin interfaceMsg.CreateCollectionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the virtualChannelNames at the given index.
-
setVirtualChannelNames
repeated string virtualChannelNames = 9;- Parameters:
index- The index to set the value at.value- The virtualChannelNames to set.- Returns:
- This builder for chaining.
-
addVirtualChannelNames
repeated string virtualChannelNames = 9;- Parameters:
value- The virtualChannelNames to add.- Returns:
- This builder for chaining.
-
addAllVirtualChannelNames
repeated string virtualChannelNames = 9;- Parameters:
values- The virtualChannelNames to add.- Returns:
- This builder for chaining.
-
clearVirtualChannelNames
repeated string virtualChannelNames = 9;- Returns:
- This builder for chaining.
-
addVirtualChannelNamesBytes
public Msg.CreateCollectionRequest.Builder addVirtualChannelNamesBytes(com.google.protobuf.ByteString value) repeated string virtualChannelNames = 9;- Parameters:
value- The bytes of the virtualChannelNames to add.- Returns:
- This builder for chaining.
-
getPhysicalChannelNamesList
public com.google.protobuf.ProtocolStringList getPhysicalChannelNamesList()repeated string physicalChannelNames = 10;- Specified by:
getPhysicalChannelNamesListin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- A list containing the physicalChannelNames.
-
getPhysicalChannelNamesCount
public int getPhysicalChannelNamesCount()repeated string physicalChannelNames = 10;- Specified by:
getPhysicalChannelNamesCountin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The count of physicalChannelNames.
-
getPhysicalChannelNames
repeated string physicalChannelNames = 10;- Specified by:
getPhysicalChannelNamesin interfaceMsg.CreateCollectionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The physicalChannelNames at the given index.
-
getPhysicalChannelNamesBytes
public com.google.protobuf.ByteString getPhysicalChannelNamesBytes(int index) repeated string physicalChannelNames = 10;- Specified by:
getPhysicalChannelNamesBytesin interfaceMsg.CreateCollectionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the physicalChannelNames at the given index.
-
setPhysicalChannelNames
repeated string physicalChannelNames = 10;- Parameters:
index- The index to set the value at.value- The physicalChannelNames to set.- Returns:
- This builder for chaining.
-
addPhysicalChannelNames
repeated string physicalChannelNames = 10;- Parameters:
value- The physicalChannelNames to add.- Returns:
- This builder for chaining.
-
addAllPhysicalChannelNames
repeated string physicalChannelNames = 10;- Parameters:
values- The physicalChannelNames to add.- Returns:
- This builder for chaining.
-
clearPhysicalChannelNames
repeated string physicalChannelNames = 10;- Returns:
- This builder for chaining.
-
addPhysicalChannelNamesBytes
public Msg.CreateCollectionRequest.Builder addPhysicalChannelNamesBytes(com.google.protobuf.ByteString value) repeated string physicalChannelNames = 10;- Parameters:
value- The bytes of the physicalChannelNames to add.- Returns:
- This builder for chaining.
-
getPartitionIDsList
repeated int64 partitionIDs = 11;- Specified by:
getPartitionIDsListin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- A list containing the partitionIDs.
-
getPartitionIDsCount
public int getPartitionIDsCount()repeated int64 partitionIDs = 11;- Specified by:
getPartitionIDsCountin interfaceMsg.CreateCollectionRequestOrBuilder- Returns:
- The count of partitionIDs.
-
getPartitionIDs
public long getPartitionIDs(int index) repeated int64 partitionIDs = 11;- Specified by:
getPartitionIDsin interfaceMsg.CreateCollectionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionIDs at the given index.
-
setPartitionIDs
repeated int64 partitionIDs = 11;- Parameters:
index- The index to set the value at.value- The partitionIDs to set.- Returns:
- This builder for chaining.
-
addPartitionIDs
repeated int64 partitionIDs = 11;- Parameters:
value- The partitionIDs to add.- Returns:
- This builder for chaining.
-
addAllPartitionIDs
repeated int64 partitionIDs = 11;- Parameters:
values- The partitionIDs to add.- Returns:
- This builder for chaining.
-
clearPartitionIDs
repeated int64 partitionIDs = 11;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Msg.CreateCollectionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-
mergeUnknownFields
public final Msg.CreateCollectionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Msg.CreateCollectionRequest.Builder>
-