Class Bootstrap.GrpcAsyncClientManagerConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Bootstrap.GrpcAsyncClientManagerConfigOrBuilder, Cloneable
- Enclosing class:
Bootstrap.GrpcAsyncClientManagerConfig
public static final class Bootstrap.GrpcAsyncClientManagerConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
implements Bootstrap.GrpcAsyncClientManagerConfigOrBuilder
Protobuf type
envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate com.google.protobuf.Durationprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidclear()Optional field to set the expiration time for the cached gRPC client object.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationOptional field to set the expiration time for the cached gRPC client object.com.google.protobuf.Duration.BuilderOptional field to set the expiration time for the cached gRPC client object.com.google.protobuf.DurationOrBuilderOptional field to set the expiration time for the cached gRPC client object.booleanOptional field to set the expiration time for the cached gRPC client object.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> Optional field to set the expiration time for the cached gRPC client object.final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxCachedEntryIdleDuration(com.google.protobuf.Duration value) Optional field to set the expiration time for the cached gRPC client object.setMaxCachedEntryIdleDuration(com.google.protobuf.Duration value) Optional field to set the expiration time for the cached gRPC client object.setMaxCachedEntryIdleDuration(com.google.protobuf.Duration.Builder builderForValue) Optional field to set the expiration time for the cached gRPC client object.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
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 Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
mergeFrom
public Bootstrap.GrpcAsyncClientManagerConfig.Builder mergeFrom(Bootstrap.GrpcAsyncClientManagerConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
mergeFrom
public Bootstrap.GrpcAsyncClientManagerConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>- Throws:
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:
hasMaxCachedEntryIdleDurationin interfaceBootstrap.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:
getMaxCachedEntryIdleDurationin interfaceBootstrap.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
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:
getMaxCachedEntryIdleDurationOrBuilderin interfaceBootstrap.GrpcAsyncClientManagerConfigOrBuilder
-
internalGetMaxCachedEntryIdleDurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> internalGetMaxCachedEntryIdleDurationFieldBuilder()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) = { ... }
-