Class BatchDescribeCollectionRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
      • getDefaultInstanceForType

        public BatchDescribeCollectionRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchDescribeCollectionRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchDescribeCollectionRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDescribeCollectionRequest.Builder>
      • 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:
        getCollectionNameList in interface BatchDescribeCollectionRequestOrBuilder
        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:
        getCollectionNameCount in interface BatchDescribeCollectionRequestOrBuilder
        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:
        getCollectionName in interface BatchDescribeCollectionRequestOrBuilder
        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:
        getCollectionNameBytes in interface BatchDescribeCollectionRequestOrBuilder
        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.
      • getCollectionID

        public long getCollectionID​(int index)
         The collection ID you want to describe
         
        repeated int64 collectionID = 3;
        Specified by:
        getCollectionID in interface BatchDescribeCollectionRequestOrBuilder
        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.