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 int
private com.google.protobuf.Duration
private 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 void
clear()
Optional field to set the expiration time for the cached gRPC client object.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Duration
Optional field to set the expiration time for the cached gRPC client object.com.google.protobuf.Duration.Builder
Optional field to set the expiration time for the cached gRPC client object.private 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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, maxCachedEntryIdleDurationBuilder_com.google.protobuf.DurationOrBuilder>
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Bootstrap.GrpcAsyncClientManagerConfig.Builder>
-
mergeFrom
public Bootstrap.GrpcAsyncClientManagerConfig.Builder mergeFrom(Bootstrap.GrpcAsyncClientManagerConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasMaxCachedEntryIdleDuration
in 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:
getMaxCachedEntryIdleDuration
in 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:
getMaxCachedEntryIdleDurationOrBuilder
in interfaceBootstrap.GrpcAsyncClientManagerConfigOrBuilder
-
getMaxCachedEntryIdleDurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, getMaxCachedEntryIdleDurationFieldBuilder()com.google.protobuf.DurationOrBuilder> 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) = { ... }
-