Class DescribeCollectionRequest.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<DescribeCollectionRequest.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<DescribeCollectionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public DescribeCollectionRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeCollectionRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeCollectionRequest.Builder>
      • mergeFrom

        public DescribeCollectionRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescribeCollectionRequest.Builder>
        Throws:
        IOException
      • hasBase

        public boolean hasBase()
         Not useful for now
         
        .milvus.proto.common.MsgBase base = 1;
        Specified by:
        hasBase in interface DescribeCollectionRequestOrBuilder
        Returns:
        Whether the base field is set.
      • getBaseBuilder

        public MsgBase.Builder getBaseBuilder()
         Not useful for now
         
        .milvus.proto.common.MsgBase base = 1;
      • setDbNameBytes

        public DescribeCollectionRequest.Builder setDbNameBytes​(com.google.protobuf.ByteString value)
        string db_name = 2;
        Parameters:
        value - The bytes for dbName to set.
        Returns:
        This builder for chaining.
      • getCollectionNameBytes

        public com.google.protobuf.ByteString getCollectionNameBytes()
         The collection name you want to describe, you can pass collection_name or collectionID
         
        string collection_name = 3;
        Specified by:
        getCollectionNameBytes in interface DescribeCollectionRequestOrBuilder
        Returns:
        The bytes for collectionName.
      • setCollectionName

        public DescribeCollectionRequest.Builder setCollectionName​(String value)
         The collection name you want to describe, you can pass collection_name or collectionID
         
        string collection_name = 3;
        Parameters:
        value - The collectionName to set.
        Returns:
        This builder for chaining.
      • clearCollectionName

        public DescribeCollectionRequest.Builder clearCollectionName()
         The collection name you want to describe, you can pass collection_name or collectionID
         
        string collection_name = 3;
        Returns:
        This builder for chaining.
      • setCollectionNameBytes

        public DescribeCollectionRequest.Builder setCollectionNameBytes​(com.google.protobuf.ByteString value)
         The collection name you want to describe, you can pass collection_name or collectionID
         
        string collection_name = 3;
        Parameters:
        value - The bytes for collectionName to set.
        Returns:
        This builder for chaining.
      • setCollectionID

        public DescribeCollectionRequest.Builder setCollectionID​(long value)
         The collection ID you want to describe
         
        int64 collectionID = 4;
        Parameters:
        value - The collectionID to set.
        Returns:
        This builder for chaining.
      • clearCollectionID

        public DescribeCollectionRequest.Builder clearCollectionID()
         The collection ID you want to describe
         
        int64 collectionID = 4;
        Returns:
        This builder for chaining.
      • getTimeStamp

        public long getTimeStamp()
         If time_stamp is not zero, will describe collection success when time_stamp >= created collection timestamp, otherwise will throw error.
         
        uint64 time_stamp = 5;
        Specified by:
        getTimeStamp in interface DescribeCollectionRequestOrBuilder
        Returns:
        The timeStamp.
      • setTimeStamp

        public DescribeCollectionRequest.Builder setTimeStamp​(long value)
         If time_stamp is not zero, will describe collection success when time_stamp >= created collection timestamp, otherwise will throw error.
         
        uint64 time_stamp = 5;
        Parameters:
        value - The timeStamp to set.
        Returns:
        This builder for chaining.
      • clearTimeStamp

        public DescribeCollectionRequest.Builder clearTimeStamp()
         If time_stamp is not zero, will describe collection success when time_stamp >= created collection timestamp, otherwise will throw error.
         
        uint64 time_stamp = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DescribeCollectionRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeCollectionRequest.Builder>
      • mergeUnknownFields

        public final DescribeCollectionRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeCollectionRequest.Builder>