Interface Bootstrap.GrpcAsyncClientManagerConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bootstrap.GrpcAsyncClientManagerConfig
,Bootstrap.GrpcAsyncClientManagerConfig.Builder
- Enclosing class:
Bootstrap
public static interface Bootstrap.GrpcAsyncClientManagerConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Duration
Optional field to set the expiration time for the cached gRPC client object.com.google.protobuf.DurationOrBuilder
Optional field to set the expiration time for the cached gRPC client object.boolean
Optional field to set the expiration time for the cached gRPC client object.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMaxCachedEntryIdleDuration
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) = { ... }
- Returns:
- Whether the maxCachedEntryIdleDuration field is set.
-
getMaxCachedEntryIdleDuration
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) = { ... }
- Returns:
- The maxCachedEntryIdleDuration.
-
getMaxCachedEntryIdleDurationOrBuilder
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) = { ... }
-