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

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

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

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

        public AsyncFileManagerConfig.ThreadPool.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.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<AsyncFileManagerConfig.ThreadPool.Builder>
        Throws:
        java.io.IOException
      • getThreadCount

        public int getThreadCount()
         The number of threads to use. If unset or zero, will default to the number
         of concurrent threads the hardware supports. This default is subject to
         change if performance analysis suggests it.
         
        uint32 thread_count = 1;
        Specified by:
        getThreadCount in interface AsyncFileManagerConfig.ThreadPoolOrBuilder
        Returns:
        The threadCount.
      • setThreadCount

        public AsyncFileManagerConfig.ThreadPool.Builder setThreadCount​(int value)
         The number of threads to use. If unset or zero, will default to the number
         of concurrent threads the hardware supports. This default is subject to
         change if performance analysis suggests it.
         
        uint32 thread_count = 1;
        Parameters:
        value - The threadCount to set.
        Returns:
        This builder for chaining.
      • clearThreadCount

        public AsyncFileManagerConfig.ThreadPool.Builder clearThreadCount()
         The number of threads to use. If unset or zero, will default to the number
         of concurrent threads the hardware supports. This default is subject to
         change if performance analysis suggests it.
         
        uint32 thread_count = 1;
        Returns:
        This builder for chaining.