Class FlushAllResult.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FlushAllResultOrBuilder, Cloneable
    Enclosing class:
    FlushAllResult

    public static final class FlushAllResult.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FlushAllResult.Builder>
    implements FlushAllResultOrBuilder
     Deprecated
     Flush result for a single flush target
     
    Protobuf type milvus.proto.milvus.FlushAllResult
    • 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<FlushAllResult.Builder>
      • clear

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

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

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

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

        public FlushAllResult.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<FlushAllResult.Builder>
      • setField

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

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

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

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

        public FlushAllResult.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<FlushAllResult.Builder>
      • mergeFrom

        public FlushAllResult.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlushAllResult.Builder>
      • isInitialized

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

        public FlushAllResult.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<FlushAllResult.Builder>
        Throws:
        IOException
      • getDbNameBytes

        public com.google.protobuf.ByteString getDbNameBytes()
         Database name containing the collections
         
        string db_name = 1;
        Specified by:
        getDbNameBytes in interface FlushAllResultOrBuilder
        Returns:
        The bytes for dbName.
      • setDbName

        public FlushAllResult.Builder setDbName​(String value)
         Database name containing the collections
         
        string db_name = 1;
        Parameters:
        value - The dbName to set.
        Returns:
        This builder for chaining.
      • clearDbName

        public FlushAllResult.Builder clearDbName()
         Database name containing the collections
         
        string db_name = 1;
        Returns:
        This builder for chaining.
      • setDbNameBytes

        public FlushAllResult.Builder setDbNameBytes​(com.google.protobuf.ByteString value)
         Database name containing the collections
         
        string db_name = 1;
        Parameters:
        value - The bytes for dbName to set.
        Returns:
        This builder for chaining.
      • getCollectionResultsList

        public List<FlushCollectionResult> getCollectionResultsList()
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
        Specified by:
        getCollectionResultsList in interface FlushAllResultOrBuilder
      • getCollectionResultsCount

        public int getCollectionResultsCount()
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
        Specified by:
        getCollectionResultsCount in interface FlushAllResultOrBuilder
      • getCollectionResults

        public FlushCollectionResult getCollectionResults​(int index)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
        Specified by:
        getCollectionResults in interface FlushAllResultOrBuilder
      • setCollectionResults

        public FlushAllResult.Builder setCollectionResults​(int index,
                                                           FlushCollectionResult value)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • setCollectionResults

        public FlushAllResult.Builder setCollectionResults​(int index,
                                                           FlushCollectionResult.Builder builderForValue)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • addCollectionResults

        public FlushAllResult.Builder addCollectionResults​(FlushCollectionResult value)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • addCollectionResults

        public FlushAllResult.Builder addCollectionResults​(int index,
                                                           FlushCollectionResult value)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • addCollectionResults

        public FlushAllResult.Builder addCollectionResults​(FlushCollectionResult.Builder builderForValue)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • addCollectionResults

        public FlushAllResult.Builder addCollectionResults​(int index,
                                                           FlushCollectionResult.Builder builderForValue)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • addAllCollectionResults

        public FlushAllResult.Builder addAllCollectionResults​(Iterable<? extends FlushCollectionResult> values)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • clearCollectionResults

        public FlushAllResult.Builder clearCollectionResults()
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • removeCollectionResults

        public FlushAllResult.Builder removeCollectionResults​(int index)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • getCollectionResultsBuilder

        public FlushCollectionResult.Builder getCollectionResultsBuilder​(int index)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • getCollectionResultsOrBuilder

        public FlushCollectionResultOrBuilder getCollectionResultsOrBuilder​(int index)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
        Specified by:
        getCollectionResultsOrBuilder in interface FlushAllResultOrBuilder
      • getCollectionResultsOrBuilderList

        public List<? extends FlushCollectionResultOrBuilder> getCollectionResultsOrBuilderList()
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
        Specified by:
        getCollectionResultsOrBuilderList in interface FlushAllResultOrBuilder
      • addCollectionResultsBuilder

        public FlushCollectionResult.Builder addCollectionResultsBuilder()
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • addCollectionResultsBuilder

        public FlushCollectionResult.Builder addCollectionResultsBuilder​(int index)
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • getCollectionResultsBuilderList

        public List<FlushCollectionResult.Builder> getCollectionResultsBuilderList()
         List of collections that were actually processed for this target
         If the target had empty collection_names (flush all), this shows all collections in the database
         If the target specified collection_names, this shows only those collections
         
        repeated .milvus.proto.milvus.FlushCollectionResult collection_results = 2;
      • setUnknownFields

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

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