Class Bootstrap.GrpcAsyncClientManagerConfig.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • maxCachedEntryIdleDuration_

        private com.google.protobuf.Duration maxCachedEntryIdleDuration_
      • maxCachedEntryIdleDurationBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> maxCachedEntryIdleDurationBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
      • getDefaultInstanceForType

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

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

        public Bootstrap.GrpcAsyncClientManagerConfig 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.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
      • mergeFrom

        public Bootstrap.GrpcAsyncClientManagerConfig.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<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
        Throws:
        java.io.IOException
      • hasMaxCachedEntryIdleDuration

        public boolean hasMaxCachedEntryIdleDuration()
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
        Specified by:
        hasMaxCachedEntryIdleDuration in interface Bootstrap.GrpcAsyncClientManagerConfigOrBuilder
        Returns:
        Whether the maxCachedEntryIdleDuration field is set.
      • getMaxCachedEntryIdleDuration

        public com.google.protobuf.Duration getMaxCachedEntryIdleDuration()
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
        Specified by:
        getMaxCachedEntryIdleDuration in interface Bootstrap.GrpcAsyncClientManagerConfigOrBuilder
        Returns:
        The maxCachedEntryIdleDuration.
      • setMaxCachedEntryIdleDuration

        public Bootstrap.GrpcAsyncClientManagerConfig.Builder setMaxCachedEntryIdleDuration​(com.google.protobuf.Duration value)
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
      • setMaxCachedEntryIdleDuration

        public Bootstrap.GrpcAsyncClientManagerConfig.Builder setMaxCachedEntryIdleDuration​(com.google.protobuf.Duration.Builder builderForValue)
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
      • mergeMaxCachedEntryIdleDuration

        public Bootstrap.GrpcAsyncClientManagerConfig.Builder mergeMaxCachedEntryIdleDuration​(com.google.protobuf.Duration value)
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
      • clearMaxCachedEntryIdleDuration

        public Bootstrap.GrpcAsyncClientManagerConfig.Builder clearMaxCachedEntryIdleDuration()
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
      • getMaxCachedEntryIdleDurationBuilder

        public com.google.protobuf.Duration.Builder getMaxCachedEntryIdleDurationBuilder()
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
      • getMaxCachedEntryIdleDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder()
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }
        Specified by:
        getMaxCachedEntryIdleDurationOrBuilder in interface Bootstrap.GrpcAsyncClientManagerConfigOrBuilder
      • getMaxCachedEntryIdleDurationFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getMaxCachedEntryIdleDurationFieldBuilder()
         Optional field to set the expiration time for the cached gRPC client object.
         The minimal value is 5s and the default is 50s.
         
        .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... }