Class ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
      • clear

        public ShowPartitionsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ShowPartitionsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
      • clearField

        public ShowPartitionsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
      • clearOneof

        public ShowPartitionsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
      • setRepeatedField

        public ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
      • addRepeatedField

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

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

        public ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
        Throws:
        IOException
      • hasBase

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

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

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

        public String getCollectionName()
         The collection name you want to describe, you can pass collection_name or collectionID
         
        string collection_name = 3;
        Specified by:
        getCollectionName in interface ShowPartitionsRequestOrBuilder
        Returns:
        The collectionName.
      • 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 ShowPartitionsRequestOrBuilder
        Returns:
        The bytes for collectionName.
      • setCollectionName

        public ShowPartitionsRequest.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 ShowPartitionsRequest.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 ShowPartitionsRequest.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 ShowPartitionsRequest.Builder setCollectionID​(long value)
         The collection id in milvus
         
        int64 collectionID = 4;
        Parameters:
        value - The collectionID to set.
        Returns:
        This builder for chaining.
      • clearCollectionID

        public ShowPartitionsRequest.Builder clearCollectionID()
         The collection id in milvus
         
        int64 collectionID = 4;
        Returns:
        This builder for chaining.
      • getPartitionNamesList

        public com.google.protobuf.ProtocolStringList getPartitionNamesList()
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Specified by:
        getPartitionNamesList in interface ShowPartitionsRequestOrBuilder
        Returns:
        A list containing the partitionNames.
      • getPartitionNamesCount

        public int getPartitionNamesCount()
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Specified by:
        getPartitionNamesCount in interface ShowPartitionsRequestOrBuilder
        Returns:
        The count of partitionNames.
      • getPartitionNames

        public String getPartitionNames​(int index)
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Specified by:
        getPartitionNames in interface ShowPartitionsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The partitionNames at the given index.
      • getPartitionNamesBytes

        public com.google.protobuf.ByteString getPartitionNamesBytes​(int index)
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Specified by:
        getPartitionNamesBytes in interface ShowPartitionsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the partitionNames at the given index.
      • setPartitionNames

        public ShowPartitionsRequest.Builder setPartitionNames​(int index,
                                                               String value)
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Parameters:
        index - The index to set the value at.
        value - The partitionNames to set.
        Returns:
        This builder for chaining.
      • addPartitionNames

        public ShowPartitionsRequest.Builder addPartitionNames​(String value)
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Parameters:
        value - The partitionNames to add.
        Returns:
        This builder for chaining.
      • addAllPartitionNames

        public ShowPartitionsRequest.Builder addAllPartitionNames​(Iterable<String> values)
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Parameters:
        values - The partitionNames to add.
        Returns:
        This builder for chaining.
      • clearPartitionNames

        public ShowPartitionsRequest.Builder clearPartitionNames()
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Returns:
        This builder for chaining.
      • addPartitionNamesBytes

        public ShowPartitionsRequest.Builder addPartitionNamesBytes​(com.google.protobuf.ByteString value)
         When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
         
        repeated string partition_names = 5;
        Parameters:
        value - The bytes of the partitionNames to add.
        Returns:
        This builder for chaining.
      • getTypeValue

        @Deprecated
        public int getTypeValue()
        Deprecated.
        milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=645
         Decide return Loaded partitions or All partitions(Optional)
         Deprecated: use GetLoadingProgress rpc instead
         
        .milvus.proto.milvus.ShowType type = 6 [deprecated = true];
        Specified by:
        getTypeValue in interface ShowPartitionsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        @Deprecated
        public ShowPartitionsRequest.Builder setTypeValue​(int value)
        Deprecated.
        milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=645
         Decide return Loaded partitions or All partitions(Optional)
         Deprecated: use GetLoadingProgress rpc instead
         
        .milvus.proto.milvus.ShowType type = 6 [deprecated = true];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        @Deprecated
        public ShowType getType()
        Deprecated.
        milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=645
         Decide return Loaded partitions or All partitions(Optional)
         Deprecated: use GetLoadingProgress rpc instead
         
        .milvus.proto.milvus.ShowType type = 6 [deprecated = true];
        Specified by:
        getType in interface ShowPartitionsRequestOrBuilder
        Returns:
        The type.
      • setType

        @Deprecated
        public ShowPartitionsRequest.Builder setType​(ShowType value)
        Deprecated.
        milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=645
         Decide return Loaded partitions or All partitions(Optional)
         Deprecated: use GetLoadingProgress rpc instead
         
        .milvus.proto.milvus.ShowType type = 6 [deprecated = true];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        @Deprecated
        public ShowPartitionsRequest.Builder clearType()
        Deprecated.
        milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=645
         Decide return Loaded partitions or All partitions(Optional)
         Deprecated: use GetLoadingProgress rpc instead
         
        .milvus.proto.milvus.ShowType type = 6 [deprecated = true];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
      • mergeUnknownFields

        public final ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>