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

        public ShowCollectionsResponse.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<ShowCollectionsResponse.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<ShowCollectionsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ShowCollectionsResponse.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<ShowCollectionsResponse.Builder>
      • clearField

        public ShowCollectionsResponse.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<ShowCollectionsResponse.Builder>
      • clearOneof

        public ShowCollectionsResponse.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<ShowCollectionsResponse.Builder>
      • setRepeatedField

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

        public ShowCollectionsResponse.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<ShowCollectionsResponse.Builder>
      • isInitialized

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

        public ShowCollectionsResponse.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<ShowCollectionsResponse.Builder>
        Throws:
        IOException
      • hasStatus

        public boolean hasStatus()
         Contain error_code and reason
         
        .milvus.proto.common.Status status = 1;
        Specified by:
        hasStatus in interface ShowCollectionsResponseOrBuilder
        Returns:
        Whether the status field is set.
      • getStatusBuilder

        public Status.Builder getStatusBuilder()
         Contain error_code and reason
         
        .milvus.proto.common.Status status = 1;
      • getCollectionNamesList

        public com.google.protobuf.ProtocolStringList getCollectionNamesList()
         Collection name array
         
        repeated string collection_names = 2;
        Specified by:
        getCollectionNamesList in interface ShowCollectionsResponseOrBuilder
        Returns:
        A list containing the collectionNames.
      • getCollectionNames

        public String getCollectionNames​(int index)
         Collection name array
         
        repeated string collection_names = 2;
        Specified by:
        getCollectionNames in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The collectionNames at the given index.
      • getCollectionNamesBytes

        public com.google.protobuf.ByteString getCollectionNamesBytes​(int index)
         Collection name array
         
        repeated string collection_names = 2;
        Specified by:
        getCollectionNamesBytes in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the collectionNames at the given index.
      • setCollectionNames

        public ShowCollectionsResponse.Builder setCollectionNames​(int index,
                                                                  String value)
         Collection name array
         
        repeated string collection_names = 2;
        Parameters:
        index - The index to set the value at.
        value - The collectionNames to set.
        Returns:
        This builder for chaining.
      • addCollectionNames

        public ShowCollectionsResponse.Builder addCollectionNames​(String value)
         Collection name array
         
        repeated string collection_names = 2;
        Parameters:
        value - The collectionNames to add.
        Returns:
        This builder for chaining.
      • addAllCollectionNames

        public ShowCollectionsResponse.Builder addAllCollectionNames​(Iterable<String> values)
         Collection name array
         
        repeated string collection_names = 2;
        Parameters:
        values - The collectionNames to add.
        Returns:
        This builder for chaining.
      • clearCollectionNames

        public ShowCollectionsResponse.Builder clearCollectionNames()
         Collection name array
         
        repeated string collection_names = 2;
        Returns:
        This builder for chaining.
      • addCollectionNamesBytes

        public ShowCollectionsResponse.Builder addCollectionNamesBytes​(com.google.protobuf.ByteString value)
         Collection name array
         
        repeated string collection_names = 2;
        Parameters:
        value - The bytes of the collectionNames to add.
        Returns:
        This builder for chaining.
      • getCollectionIds

        public long getCollectionIds​(int index)
         Collection Id array
         
        repeated int64 collection_ids = 3;
        Specified by:
        getCollectionIds in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The collectionIds at the given index.
      • setCollectionIds

        public ShowCollectionsResponse.Builder setCollectionIds​(int index,
                                                                long value)
         Collection Id array
         
        repeated int64 collection_ids = 3;
        Parameters:
        index - The index to set the value at.
        value - The collectionIds to set.
        Returns:
        This builder for chaining.
      • addCollectionIds

        public ShowCollectionsResponse.Builder addCollectionIds​(long value)
         Collection Id array
         
        repeated int64 collection_ids = 3;
        Parameters:
        value - The collectionIds to add.
        Returns:
        This builder for chaining.
      • addAllCollectionIds

        public ShowCollectionsResponse.Builder addAllCollectionIds​(Iterable<? extends Long> values)
         Collection Id array
         
        repeated int64 collection_ids = 3;
        Parameters:
        values - The collectionIds to add.
        Returns:
        This builder for chaining.
      • clearCollectionIds

        public ShowCollectionsResponse.Builder clearCollectionIds()
         Collection Id array
         
        repeated int64 collection_ids = 3;
        Returns:
        This builder for chaining.
      • getCreatedTimestamps

        public long getCreatedTimestamps​(int index)
         Hybrid timestamps in milvus
         
        repeated uint64 created_timestamps = 4;
        Specified by:
        getCreatedTimestamps in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The createdTimestamps at the given index.
      • setCreatedTimestamps

        public ShowCollectionsResponse.Builder setCreatedTimestamps​(int index,
                                                                    long value)
         Hybrid timestamps in milvus
         
        repeated uint64 created_timestamps = 4;
        Parameters:
        index - The index to set the value at.
        value - The createdTimestamps to set.
        Returns:
        This builder for chaining.
      • addCreatedTimestamps

        public ShowCollectionsResponse.Builder addCreatedTimestamps​(long value)
         Hybrid timestamps in milvus
         
        repeated uint64 created_timestamps = 4;
        Parameters:
        value - The createdTimestamps to add.
        Returns:
        This builder for chaining.
      • addAllCreatedTimestamps

        public ShowCollectionsResponse.Builder addAllCreatedTimestamps​(Iterable<? extends Long> values)
         Hybrid timestamps in milvus
         
        repeated uint64 created_timestamps = 4;
        Parameters:
        values - The createdTimestamps to add.
        Returns:
        This builder for chaining.
      • clearCreatedTimestamps

        public ShowCollectionsResponse.Builder clearCreatedTimestamps()
         Hybrid timestamps in milvus
         
        repeated uint64 created_timestamps = 4;
        Returns:
        This builder for chaining.
      • getCreatedUtcTimestampsCount

        public int getCreatedUtcTimestampsCount()
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Specified by:
        getCreatedUtcTimestampsCount in interface ShowCollectionsResponseOrBuilder
        Returns:
        The count of createdUtcTimestamps.
      • getCreatedUtcTimestamps

        public long getCreatedUtcTimestamps​(int index)
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Specified by:
        getCreatedUtcTimestamps in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The createdUtcTimestamps at the given index.
      • setCreatedUtcTimestamps

        public ShowCollectionsResponse.Builder setCreatedUtcTimestamps​(int index,
                                                                       long value)
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Parameters:
        index - The index to set the value at.
        value - The createdUtcTimestamps to set.
        Returns:
        This builder for chaining.
      • addCreatedUtcTimestamps

        public ShowCollectionsResponse.Builder addCreatedUtcTimestamps​(long value)
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Parameters:
        value - The createdUtcTimestamps to add.
        Returns:
        This builder for chaining.
      • addAllCreatedUtcTimestamps

        public ShowCollectionsResponse.Builder addAllCreatedUtcTimestamps​(Iterable<? extends Long> values)
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Parameters:
        values - The createdUtcTimestamps to add.
        Returns:
        This builder for chaining.
      • clearCreatedUtcTimestamps

        public ShowCollectionsResponse.Builder clearCreatedUtcTimestamps()
         The utc timestamp calculated by created_timestamp
         
        repeated uint64 created_utc_timestamps = 5;
        Returns:
        This builder for chaining.
      • getInMemoryPercentagesList

        @Deprecated
        public List<Long> getInMemoryPercentagesList()
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentagesList in interface ShowCollectionsResponseOrBuilder
        Returns:
        A list containing the inMemoryPercentages.
      • getInMemoryPercentagesCount

        @Deprecated
        public int getInMemoryPercentagesCount()
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentagesCount in interface ShowCollectionsResponseOrBuilder
        Returns:
        The count of inMemoryPercentages.
      • getInMemoryPercentages

        @Deprecated
        public long getInMemoryPercentages​(int index)
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Specified by:
        getInMemoryPercentages in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The inMemoryPercentages at the given index.
      • setInMemoryPercentages

        @Deprecated
        public ShowCollectionsResponse.Builder setInMemoryPercentages​(int index,
                                                                      long value)
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Parameters:
        index - The index to set the value at.
        value - The inMemoryPercentages to set.
        Returns:
        This builder for chaining.
      • addInMemoryPercentages

        @Deprecated
        public ShowCollectionsResponse.Builder addInMemoryPercentages​(long value)
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Parameters:
        value - The inMemoryPercentages to add.
        Returns:
        This builder for chaining.
      • addAllInMemoryPercentages

        @Deprecated
        public ShowCollectionsResponse.Builder addAllInMemoryPercentages​(Iterable<? extends Long> values)
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Parameters:
        values - The inMemoryPercentages to add.
        Returns:
        This builder for chaining.
      • clearInMemoryPercentages

        @Deprecated
        public ShowCollectionsResponse.Builder clearInMemoryPercentages()
        Deprecated.
        milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504
         Load percentage on querynode when type is InMemory
         Deprecated: use GetLoadingProgress rpc instead
         
        repeated int64 inMemory_percentages = 6 [deprecated = true];
        Returns:
        This builder for chaining.
      • getQueryServiceAvailable

        public boolean getQueryServiceAvailable​(int index)
         Indicate whether query service is available
         
        repeated bool query_service_available = 7;
        Specified by:
        getQueryServiceAvailable in interface ShowCollectionsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The queryServiceAvailable at the given index.
      • setQueryServiceAvailable

        public ShowCollectionsResponse.Builder setQueryServiceAvailable​(int index,
                                                                        boolean value)
         Indicate whether query service is available
         
        repeated bool query_service_available = 7;
        Parameters:
        index - The index to set the value at.
        value - The queryServiceAvailable to set.
        Returns:
        This builder for chaining.
      • addQueryServiceAvailable

        public ShowCollectionsResponse.Builder addQueryServiceAvailable​(boolean value)
         Indicate whether query service is available
         
        repeated bool query_service_available = 7;
        Parameters:
        value - The queryServiceAvailable to add.
        Returns:
        This builder for chaining.
      • addAllQueryServiceAvailable

        public ShowCollectionsResponse.Builder addAllQueryServiceAvailable​(Iterable<? extends Boolean> values)
         Indicate whether query service is available
         
        repeated bool query_service_available = 7;
        Parameters:
        values - The queryServiceAvailable to add.
        Returns:
        This builder for chaining.
      • clearQueryServiceAvailable

        public ShowCollectionsResponse.Builder clearQueryServiceAvailable()
         Indicate whether query service is available
         
        repeated bool query_service_available = 7;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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