Package io.milvus.grpc
Class BatchDescribeCollectionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
-
- io.milvus.grpc.BatchDescribeCollectionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchDescribeCollectionRequestOrBuilder,Cloneable
- Enclosing class:
- BatchDescribeCollectionRequest
public static final class BatchDescribeCollectionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder> implements BatchDescribeCollectionRequestOrBuilder
Protobuf typemilvus.proto.milvus.BatchDescribeCollectionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDescribeCollectionRequest.BuilderaddAllCollectionID(Iterable<? extends Long> values)The collection ID you want to describeBatchDescribeCollectionRequest.BuilderaddAllCollectionName(Iterable<String> values)The collection name you want to describe, you can pass collection_name or collectionIDBatchDescribeCollectionRequest.BuilderaddCollectionID(long value)The collection ID you want to describeBatchDescribeCollectionRequest.BuilderaddCollectionName(String value)The collection name you want to describe, you can pass collection_name or collectionIDBatchDescribeCollectionRequest.BuilderaddCollectionNameBytes(com.google.protobuf.ByteString value)The collection name you want to describe, you can pass collection_name or collectionIDBatchDescribeCollectionRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchDescribeCollectionRequestbuild()BatchDescribeCollectionRequestbuildPartial()BatchDescribeCollectionRequest.Builderclear()BatchDescribeCollectionRequest.BuilderclearCollectionID()The collection ID you want to describeBatchDescribeCollectionRequest.BuilderclearCollectionName()The collection name you want to describe, you can pass collection_name or collectionIDBatchDescribeCollectionRequest.BuilderclearDbName()string db_name = 1;BatchDescribeCollectionRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchDescribeCollectionRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchDescribeCollectionRequest.Builderclone()longgetCollectionID(int index)The collection ID you want to describeintgetCollectionIDCount()The collection ID you want to describeList<Long>getCollectionIDList()The collection ID you want to describeStringgetCollectionName(int index)The collection name you want to describe, you can pass collection_name or collectionIDcom.google.protobuf.ByteStringgetCollectionNameBytes(int index)The collection name you want to describe, you can pass collection_name or collectionIDintgetCollectionNameCount()The collection name you want to describe, you can pass collection_name or collectionIDcom.google.protobuf.ProtocolStringListgetCollectionNameList()The collection name you want to describe, you can pass collection_name or collectionIDStringgetDbName()string db_name = 1;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 1;BatchDescribeCollectionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchDescribeCollectionRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchDescribeCollectionRequest.BuildermergeFrom(com.google.protobuf.Message other)BatchDescribeCollectionRequest.BuildermergeFrom(BatchDescribeCollectionRequest other)BatchDescribeCollectionRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchDescribeCollectionRequest.BuildersetCollectionID(int index, long value)The collection ID you want to describeBatchDescribeCollectionRequest.BuildersetCollectionName(int index, String value)The collection name you want to describe, you can pass collection_name or collectionIDBatchDescribeCollectionRequest.BuildersetDbName(String value)string db_name = 1;BatchDescribeCollectionRequest.BuildersetDbNameBytes(com.google.protobuf.ByteString value)string db_name = 1;BatchDescribeCollectionRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchDescribeCollectionRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchDescribeCollectionRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<BatchDescribeCollectionRequest.Builder>
-
clear
public BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.Builder>
-
getDefaultInstanceForType
public BatchDescribeCollectionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDescribeCollectionRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDescribeCollectionRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.Builder>
-
setField
public BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.Builder>
-
clearField
public BatchDescribeCollectionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
-
clearOneof
public BatchDescribeCollectionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
-
setRepeatedField
public BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.Builder>
-
addRepeatedField
public BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.Builder>
-
mergeFrom
public BatchDescribeCollectionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchDescribeCollectionRequest.Builder>
-
mergeFrom
public BatchDescribeCollectionRequest.Builder mergeFrom(BatchDescribeCollectionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
-
mergeFrom
public BatchDescribeCollectionRequest.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<BatchDescribeCollectionRequest.Builder>- Throws:
IOException
-
getDbName
public String getDbName()
string db_name = 1;- Specified by:
getDbNamein interfaceBatchDescribeCollectionRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
string db_name = 1;- Specified by:
getDbNameBytesin interfaceBatchDescribeCollectionRequestOrBuilder- Returns:
- The bytes for dbName.
-
setDbName
public BatchDescribeCollectionRequest.Builder setDbName(String value)
string db_name = 1;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
public BatchDescribeCollectionRequest.Builder clearDbName()
string db_name = 1;- Returns:
- This builder for chaining.
-
setDbNameBytes
public BatchDescribeCollectionRequest.Builder setDbNameBytes(com.google.protobuf.ByteString value)
string db_name = 1;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getCollectionNameList
public com.google.protobuf.ProtocolStringList getCollectionNameList()
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Specified by:
getCollectionNameListin interfaceBatchDescribeCollectionRequestOrBuilder- Returns:
- A list containing the collectionName.
-
getCollectionNameCount
public int getCollectionNameCount()
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Specified by:
getCollectionNameCountin interfaceBatchDescribeCollectionRequestOrBuilder- Returns:
- The count of collectionName.
-
getCollectionName
public String getCollectionName(int index)
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Specified by:
getCollectionNamein interfaceBatchDescribeCollectionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The collectionName at the given index.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes(int index)
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Specified by:
getCollectionNameBytesin interfaceBatchDescribeCollectionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the collectionName at the given index.
-
setCollectionName
public BatchDescribeCollectionRequest.Builder setCollectionName(int index, String value)
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Parameters:
index- The index to set the value at.value- The collectionName to set.- Returns:
- This builder for chaining.
-
addCollectionName
public BatchDescribeCollectionRequest.Builder addCollectionName(String value)
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Parameters:
value- The collectionName to add.- Returns:
- This builder for chaining.
-
addAllCollectionName
public BatchDescribeCollectionRequest.Builder addAllCollectionName(Iterable<String> values)
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Parameters:
values- The collectionName to add.- Returns:
- This builder for chaining.
-
clearCollectionName
public BatchDescribeCollectionRequest.Builder clearCollectionName()
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Returns:
- This builder for chaining.
-
addCollectionNameBytes
public BatchDescribeCollectionRequest.Builder addCollectionNameBytes(com.google.protobuf.ByteString value)
The collection name you want to describe, you can pass collection_name or collectionID
repeated string collection_name = 2;- Parameters:
value- The bytes of the collectionName to add.- Returns:
- This builder for chaining.
-
getCollectionIDList
public List<Long> getCollectionIDList()
The collection ID you want to describe
repeated int64 collectionID = 3;- Specified by:
getCollectionIDListin interfaceBatchDescribeCollectionRequestOrBuilder- Returns:
- A list containing the collectionID.
-
getCollectionIDCount
public int getCollectionIDCount()
The collection ID you want to describe
repeated int64 collectionID = 3;- Specified by:
getCollectionIDCountin interfaceBatchDescribeCollectionRequestOrBuilder- Returns:
- The count of collectionID.
-
getCollectionID
public long getCollectionID(int index)
The collection ID you want to describe
repeated int64 collectionID = 3;- Specified by:
getCollectionIDin interfaceBatchDescribeCollectionRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The collectionID at the given index.
-
setCollectionID
public BatchDescribeCollectionRequest.Builder setCollectionID(int index, long value)
The collection ID you want to describe
repeated int64 collectionID = 3;- Parameters:
index- The index to set the value at.value- The collectionID to set.- Returns:
- This builder for chaining.
-
addCollectionID
public BatchDescribeCollectionRequest.Builder addCollectionID(long value)
The collection ID you want to describe
repeated int64 collectionID = 3;- Parameters:
value- The collectionID to add.- Returns:
- This builder for chaining.
-
addAllCollectionID
public BatchDescribeCollectionRequest.Builder addAllCollectionID(Iterable<? extends Long> values)
The collection ID you want to describe
repeated int64 collectionID = 3;- Parameters:
values- The collectionID to add.- Returns:
- This builder for chaining.
-
clearCollectionID
public BatchDescribeCollectionRequest.Builder clearCollectionID()
The collection ID you want to describe
repeated int64 collectionID = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchDescribeCollectionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
-
mergeUnknownFields
public final BatchDescribeCollectionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
-
-