Class DnsCacheConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
- io.envoyproxy.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DnsCacheConfigOrBuilder,Cloneable
- Enclosing class:
- DnsCacheConfig
public static final class DnsCacheConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder> implements DnsCacheConfigOrBuilder
Configuration for the dynamic forward proxy DNS cache. See the :ref:`architecture overview <arch_overview_http_dynamic_forward_proxy>` for more information. [#next-free-field: 15]
Protobuf typeenvoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DnsCacheConfig.BuilderaddAllPreresolveHostnames(Iterable<? extends SocketAddress> values)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuilderaddPreresolveHostnames(int index, SocketAddress value)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuilderaddPreresolveHostnames(int index, SocketAddress.Builder builderForValue)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuilderaddPreresolveHostnames(SocketAddress value)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuilderaddPreresolveHostnames(SocketAddress.Builder builderForValue)Hostnames that should be preresolved into the cache upon creation.SocketAddress.BuilderaddPreresolveHostnamesBuilder()Hostnames that should be preresolved into the cache upon creation.SocketAddress.BuilderaddPreresolveHostnamesBuilder(int index)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DnsCacheConfigbuild()DnsCacheConfigbuildPartial()DnsCacheConfig.Builderclear()DnsCacheConfig.BuilderclearDnsCacheCircuitBreaker()The config of circuit breakers for resolver.DnsCacheConfig.BuilderclearDnsFailureRefreshRate()If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.DnsCacheConfig.BuilderclearDnsLookupFamily()The DNS lookup family to use during resolution.DnsCacheConfig.BuilderclearDnsMinRefreshRate()The minimum rate that DNS resolution will occur.DnsCacheConfig.BuilderclearDnsQueryTimeout()The timeout used for DNS queries.DnsCacheConfig.BuilderclearDnsRefreshRate()The DNS refresh rate for unresolved DNS hosts.DnsCacheConfig.BuilderclearDnsResolutionConfig()Deprecated.DnsCacheConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DnsCacheConfig.BuilderclearHostTtl()The TTL for hosts that are unused.DnsCacheConfig.BuilderclearKeyValueConfig()[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.DnsCacheConfig.BuilderclearMaxHosts()The maximum number of hosts that the cache will hold.DnsCacheConfig.BuilderclearName()The name of the cache.DnsCacheConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DnsCacheConfig.BuilderclearPreresolveHostnames()Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuilderclearTypedDnsResolverConfig()DNS resolver type configuration extension.DnsCacheConfig.BuilderclearUseTcpForDnsLookups()Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.use_tcp_for_dns_lookups is deprecated.DnsCacheConfig.Builderclone()DnsCacheConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DnsCacheCircuitBreakersgetDnsCacheCircuitBreaker()The config of circuit breakers for resolver.DnsCacheCircuitBreakers.BuildergetDnsCacheCircuitBreakerBuilder()The config of circuit breakers for resolver.DnsCacheCircuitBreakersOrBuildergetDnsCacheCircuitBreakerOrBuilder()The config of circuit breakers for resolver.Cluster.RefreshRategetDnsFailureRefreshRate()If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.Cluster.RefreshRate.BuildergetDnsFailureRefreshRateBuilder()If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.Cluster.RefreshRateOrBuildergetDnsFailureRefreshRateOrBuilder()If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.Cluster.DnsLookupFamilygetDnsLookupFamily()The DNS lookup family to use during resolution.intgetDnsLookupFamilyValue()The DNS lookup family to use during resolution.com.google.protobuf.DurationgetDnsMinRefreshRate()The minimum rate that DNS resolution will occur.com.google.protobuf.Duration.BuildergetDnsMinRefreshRateBuilder()The minimum rate that DNS resolution will occur.com.google.protobuf.DurationOrBuildergetDnsMinRefreshRateOrBuilder()The minimum rate that DNS resolution will occur.com.google.protobuf.DurationgetDnsQueryTimeout()The timeout used for DNS queries.com.google.protobuf.Duration.BuildergetDnsQueryTimeoutBuilder()The timeout used for DNS queries.com.google.protobuf.DurationOrBuildergetDnsQueryTimeoutOrBuilder()The timeout used for DNS queries.com.google.protobuf.DurationgetDnsRefreshRate()The DNS refresh rate for unresolved DNS hosts.com.google.protobuf.Duration.BuildergetDnsRefreshRateBuilder()The DNS refresh rate for unresolved DNS hosts.com.google.protobuf.DurationOrBuildergetDnsRefreshRateOrBuilder()The DNS refresh rate for unresolved DNS hosts.DnsResolutionConfiggetDnsResolutionConfig()Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config is deprecated.DnsResolutionConfig.BuildergetDnsResolutionConfigBuilder()Deprecated.DnsResolutionConfigOrBuildergetDnsResolutionConfigOrBuilder()Deprecated.com.google.protobuf.DurationgetHostTtl()The TTL for hosts that are unused.com.google.protobuf.Duration.BuildergetHostTtlBuilder()The TTL for hosts that are unused.com.google.protobuf.DurationOrBuildergetHostTtlOrBuilder()The TTL for hosts that are unused.KeyValueStoreConfiggetKeyValueConfig()[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.KeyValueStoreConfig.BuildergetKeyValueConfigBuilder()[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.KeyValueStoreConfigOrBuildergetKeyValueConfigOrBuilder()[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.com.google.protobuf.UInt32ValuegetMaxHosts()The maximum number of hosts that the cache will hold.com.google.protobuf.UInt32Value.BuildergetMaxHostsBuilder()The maximum number of hosts that the cache will hold.com.google.protobuf.UInt32ValueOrBuildergetMaxHostsOrBuilder()The maximum number of hosts that the cache will hold.StringgetName()The name of the cache.com.google.protobuf.ByteStringgetNameBytes()The name of the cache.SocketAddressgetPreresolveHostnames(int index)Hostnames that should be preresolved into the cache upon creation.SocketAddress.BuildergetPreresolveHostnamesBuilder(int index)Hostnames that should be preresolved into the cache upon creation.List<SocketAddress.Builder>getPreresolveHostnamesBuilderList()Hostnames that should be preresolved into the cache upon creation.intgetPreresolveHostnamesCount()Hostnames that should be preresolved into the cache upon creation.List<SocketAddress>getPreresolveHostnamesList()Hostnames that should be preresolved into the cache upon creation.SocketAddressOrBuildergetPreresolveHostnamesOrBuilder(int index)Hostnames that should be preresolved into the cache upon creation.List<? extends SocketAddressOrBuilder>getPreresolveHostnamesOrBuilderList()Hostnames that should be preresolved into the cache upon creation.TypedExtensionConfiggetTypedDnsResolverConfig()DNS resolver type configuration extension.TypedExtensionConfig.BuildergetTypedDnsResolverConfigBuilder()DNS resolver type configuration extension.TypedExtensionConfigOrBuildergetTypedDnsResolverConfigOrBuilder()DNS resolver type configuration extension.booleangetUseTcpForDnsLookups()Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.use_tcp_for_dns_lookups is deprecated.booleanhasDnsCacheCircuitBreaker()The config of circuit breakers for resolver.booleanhasDnsFailureRefreshRate()If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.booleanhasDnsMinRefreshRate()The minimum rate that DNS resolution will occur.booleanhasDnsQueryTimeout()The timeout used for DNS queries.booleanhasDnsRefreshRate()The DNS refresh rate for unresolved DNS hosts.booleanhasDnsResolutionConfig()Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config is deprecated.booleanhasHostTtl()The TTL for hosts that are unused.booleanhasKeyValueConfig()[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.booleanhasMaxHosts()The maximum number of hosts that the cache will hold.booleanhasTypedDnsResolverConfig()DNS resolver type configuration extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DnsCacheConfig.BuildermergeDnsCacheCircuitBreaker(DnsCacheCircuitBreakers value)The config of circuit breakers for resolver.DnsCacheConfig.BuildermergeDnsFailureRefreshRate(Cluster.RefreshRate value)If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.DnsCacheConfig.BuildermergeDnsMinRefreshRate(com.google.protobuf.Duration value)The minimum rate that DNS resolution will occur.DnsCacheConfig.BuildermergeDnsQueryTimeout(com.google.protobuf.Duration value)The timeout used for DNS queries.DnsCacheConfig.BuildermergeDnsRefreshRate(com.google.protobuf.Duration value)The DNS refresh rate for unresolved DNS hosts.DnsCacheConfig.BuildermergeDnsResolutionConfig(DnsResolutionConfig value)Deprecated.DnsCacheConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DnsCacheConfig.BuildermergeFrom(com.google.protobuf.Message other)DnsCacheConfig.BuildermergeFrom(DnsCacheConfig other)DnsCacheConfig.BuildermergeHostTtl(com.google.protobuf.Duration value)The TTL for hosts that are unused.DnsCacheConfig.BuildermergeKeyValueConfig(KeyValueStoreConfig value)[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.DnsCacheConfig.BuildermergeMaxHosts(com.google.protobuf.UInt32Value value)The maximum number of hosts that the cache will hold.DnsCacheConfig.BuildermergeTypedDnsResolverConfig(TypedExtensionConfig value)DNS resolver type configuration extension.DnsCacheConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DnsCacheConfig.BuilderremovePreresolveHostnames(int index)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuildersetDnsCacheCircuitBreaker(DnsCacheCircuitBreakers value)The config of circuit breakers for resolver.DnsCacheConfig.BuildersetDnsCacheCircuitBreaker(DnsCacheCircuitBreakers.Builder builderForValue)The config of circuit breakers for resolver.DnsCacheConfig.BuildersetDnsFailureRefreshRate(Cluster.RefreshRate value)If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.DnsCacheConfig.BuildersetDnsFailureRefreshRate(Cluster.RefreshRate.Builder builderForValue)If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing.DnsCacheConfig.BuildersetDnsLookupFamily(Cluster.DnsLookupFamily value)The DNS lookup family to use during resolution.DnsCacheConfig.BuildersetDnsLookupFamilyValue(int value)The DNS lookup family to use during resolution.DnsCacheConfig.BuildersetDnsMinRefreshRate(com.google.protobuf.Duration value)The minimum rate that DNS resolution will occur.DnsCacheConfig.BuildersetDnsMinRefreshRate(com.google.protobuf.Duration.Builder builderForValue)The minimum rate that DNS resolution will occur.DnsCacheConfig.BuildersetDnsQueryTimeout(com.google.protobuf.Duration value)The timeout used for DNS queries.DnsCacheConfig.BuildersetDnsQueryTimeout(com.google.protobuf.Duration.Builder builderForValue)The timeout used for DNS queries.DnsCacheConfig.BuildersetDnsRefreshRate(com.google.protobuf.Duration value)The DNS refresh rate for unresolved DNS hosts.DnsCacheConfig.BuildersetDnsRefreshRate(com.google.protobuf.Duration.Builder builderForValue)The DNS refresh rate for unresolved DNS hosts.DnsCacheConfig.BuildersetDnsResolutionConfig(DnsResolutionConfig value)Deprecated.DnsCacheConfig.BuildersetDnsResolutionConfig(DnsResolutionConfig.Builder builderForValue)Deprecated.DnsCacheConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DnsCacheConfig.BuildersetHostTtl(com.google.protobuf.Duration value)The TTL for hosts that are unused.DnsCacheConfig.BuildersetHostTtl(com.google.protobuf.Duration.Builder builderForValue)The TTL for hosts that are unused.DnsCacheConfig.BuildersetKeyValueConfig(KeyValueStoreConfig value)[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.DnsCacheConfig.BuildersetKeyValueConfig(KeyValueStoreConfig.Builder builderForValue)[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.DnsCacheConfig.BuildersetMaxHosts(com.google.protobuf.UInt32Value value)The maximum number of hosts that the cache will hold.DnsCacheConfig.BuildersetMaxHosts(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of hosts that the cache will hold.DnsCacheConfig.BuildersetName(String value)The name of the cache.DnsCacheConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the cache.DnsCacheConfig.BuildersetPreresolveHostnames(int index, SocketAddress value)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuildersetPreresolveHostnames(int index, SocketAddress.Builder builderForValue)Hostnames that should be preresolved into the cache upon creation.DnsCacheConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DnsCacheConfig.BuildersetTypedDnsResolverConfig(TypedExtensionConfig value)DNS resolver type configuration extension.DnsCacheConfig.BuildersetTypedDnsResolverConfig(TypedExtensionConfig.Builder builderForValue)DNS resolver type configuration extension.DnsCacheConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DnsCacheConfig.BuildersetUseTcpForDnsLookups(boolean value)Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.use_tcp_for_dns_lookups is deprecated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
clear
public DnsCacheConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.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.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
getDefaultInstanceForType
public DnsCacheConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DnsCacheConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DnsCacheConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DnsCacheConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
setField
public DnsCacheConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
clearField
public DnsCacheConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
clearOneof
public DnsCacheConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
setRepeatedField
public DnsCacheConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
addRepeatedField
public DnsCacheConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
mergeFrom
public DnsCacheConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsCacheConfig.Builder>
-
mergeFrom
public DnsCacheConfig.Builder mergeFrom(DnsCacheConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
mergeFrom
public DnsCacheConfig.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<DnsCacheConfig.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the cache. Multiple named caches allow independent dynamic forward proxy configurations to operate within a single Envoy process using different configurations. All configurations with the same name *must* otherwise have the same settings when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceDnsCacheConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the cache. Multiple named caches allow independent dynamic forward proxy configurations to operate within a single Envoy process using different configurations. All configurations with the same name *must* otherwise have the same settings when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceDnsCacheConfigOrBuilder- Returns:
- The bytes for name.
-
setName
public DnsCacheConfig.Builder setName(String value)
The name of the cache. Multiple named caches allow independent dynamic forward proxy configurations to operate within a single Envoy process using different configurations. All configurations with the same name *must* otherwise have the same settings when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DnsCacheConfig.Builder clearName()
The name of the cache. Multiple named caches allow independent dynamic forward proxy configurations to operate within a single Envoy process using different configurations. All configurations with the same name *must* otherwise have the same settings when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public DnsCacheConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the cache. Multiple named caches allow independent dynamic forward proxy configurations to operate within a single Envoy process using different configurations. All configurations with the same name *must* otherwise have the same settings when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDnsLookupFamilyValue
public int getDnsLookupFamilyValue()
The DNS lookup family to use during resolution. [#comment:TODO(mattklein123): Figure out how to support IPv4/IPv6 "happy eyeballs" mode. The way this might work is a new lookup family which returns both IPv4 and IPv6 addresses, and then configures a host to have a primary and fall back address. With this, we could very likely build a "happy eyeballs" connection pool which would race the primary / fall back address and return the one that wins. This same method could potentially also be used for QUIC to TCP fall back.]
.envoy.config.cluster.v3.Cluster.DnsLookupFamily dns_lookup_family = 2 [(.validate.rules) = { ... }- Specified by:
getDnsLookupFamilyValuein interfaceDnsCacheConfigOrBuilder- Returns:
- The enum numeric value on the wire for dnsLookupFamily.
-
setDnsLookupFamilyValue
public DnsCacheConfig.Builder setDnsLookupFamilyValue(int value)
The DNS lookup family to use during resolution. [#comment:TODO(mattklein123): Figure out how to support IPv4/IPv6 "happy eyeballs" mode. The way this might work is a new lookup family which returns both IPv4 and IPv6 addresses, and then configures a host to have a primary and fall back address. With this, we could very likely build a "happy eyeballs" connection pool which would race the primary / fall back address and return the one that wins. This same method could potentially also be used for QUIC to TCP fall back.]
.envoy.config.cluster.v3.Cluster.DnsLookupFamily dns_lookup_family = 2 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for dnsLookupFamily to set.- Returns:
- This builder for chaining.
-
getDnsLookupFamily
public Cluster.DnsLookupFamily getDnsLookupFamily()
The DNS lookup family to use during resolution. [#comment:TODO(mattklein123): Figure out how to support IPv4/IPv6 "happy eyeballs" mode. The way this might work is a new lookup family which returns both IPv4 and IPv6 addresses, and then configures a host to have a primary and fall back address. With this, we could very likely build a "happy eyeballs" connection pool which would race the primary / fall back address and return the one that wins. This same method could potentially also be used for QUIC to TCP fall back.]
.envoy.config.cluster.v3.Cluster.DnsLookupFamily dns_lookup_family = 2 [(.validate.rules) = { ... }- Specified by:
getDnsLookupFamilyin interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsLookupFamily.
-
setDnsLookupFamily
public DnsCacheConfig.Builder setDnsLookupFamily(Cluster.DnsLookupFamily value)
The DNS lookup family to use during resolution. [#comment:TODO(mattklein123): Figure out how to support IPv4/IPv6 "happy eyeballs" mode. The way this might work is a new lookup family which returns both IPv4 and IPv6 addresses, and then configures a host to have a primary and fall back address. With this, we could very likely build a "happy eyeballs" connection pool which would race the primary / fall back address and return the one that wins. This same method could potentially also be used for QUIC to TCP fall back.]
.envoy.config.cluster.v3.Cluster.DnsLookupFamily dns_lookup_family = 2 [(.validate.rules) = { ... }- Parameters:
value- The dnsLookupFamily to set.- Returns:
- This builder for chaining.
-
clearDnsLookupFamily
public DnsCacheConfig.Builder clearDnsLookupFamily()
The DNS lookup family to use during resolution. [#comment:TODO(mattklein123): Figure out how to support IPv4/IPv6 "happy eyeballs" mode. The way this might work is a new lookup family which returns both IPv4 and IPv6 addresses, and then configures a host to have a primary and fall back address. With this, we could very likely build a "happy eyeballs" connection pool which would race the primary / fall back address and return the one that wins. This same method could potentially also be used for QUIC to TCP fall back.]
.envoy.config.cluster.v3.Cluster.DnsLookupFamily dns_lookup_family = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasDnsRefreshRate
public boolean hasDnsRefreshRate()
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }- Specified by:
hasDnsRefreshRatein interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the dnsRefreshRate field is set.
-
getDnsRefreshRate
public com.google.protobuf.Duration getDnsRefreshRate()
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }- Specified by:
getDnsRefreshRatein interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsRefreshRate.
-
setDnsRefreshRate
public DnsCacheConfig.Builder setDnsRefreshRate(com.google.protobuf.Duration value)
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }
-
setDnsRefreshRate
public DnsCacheConfig.Builder setDnsRefreshRate(com.google.protobuf.Duration.Builder builderForValue)
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }
-
mergeDnsRefreshRate
public DnsCacheConfig.Builder mergeDnsRefreshRate(com.google.protobuf.Duration value)
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }
-
clearDnsRefreshRate
public DnsCacheConfig.Builder clearDnsRefreshRate()
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }
-
getDnsRefreshRateBuilder
public com.google.protobuf.Duration.Builder getDnsRefreshRateBuilder()
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }
-
getDnsRefreshRateOrBuilder
public com.google.protobuf.DurationOrBuilder getDnsRefreshRateOrBuilder()
The DNS refresh rate for unresolved DNS hosts. If not specified defaults to 60s. The refresh rate is rounded to the closest millisecond, and must be at least 1ms. Once a host has been resolved, the refresh rate will be the DNS TTL, capped at a minimum of ``dns_min_refresh_rate``.
.google.protobuf.Duration dns_refresh_rate = 3 [(.validate.rules) = { ... }- Specified by:
getDnsRefreshRateOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasDnsMinRefreshRate
public boolean hasDnsMinRefreshRate()
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }- Specified by:
hasDnsMinRefreshRatein interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the dnsMinRefreshRate field is set.
-
getDnsMinRefreshRate
public com.google.protobuf.Duration getDnsMinRefreshRate()
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }- Specified by:
getDnsMinRefreshRatein interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsMinRefreshRate.
-
setDnsMinRefreshRate
public DnsCacheConfig.Builder setDnsMinRefreshRate(com.google.protobuf.Duration value)
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }
-
setDnsMinRefreshRate
public DnsCacheConfig.Builder setDnsMinRefreshRate(com.google.protobuf.Duration.Builder builderForValue)
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }
-
mergeDnsMinRefreshRate
public DnsCacheConfig.Builder mergeDnsMinRefreshRate(com.google.protobuf.Duration value)
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }
-
clearDnsMinRefreshRate
public DnsCacheConfig.Builder clearDnsMinRefreshRate()
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }
-
getDnsMinRefreshRateBuilder
public com.google.protobuf.Duration.Builder getDnsMinRefreshRateBuilder()
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }
-
getDnsMinRefreshRateOrBuilder
public com.google.protobuf.DurationOrBuilder getDnsMinRefreshRateOrBuilder()
The minimum rate that DNS resolution will occur. Per ``dns_refresh_rate``, once a host is resolved, the DNS TTL will be used, with a minimum set by ``dns_min_refresh_rate``. ``dns_min_refresh_rate`` defaults to 5s and must also be >= 5s.
.google.protobuf.Duration dns_min_refresh_rate = 14 [(.validate.rules) = { ... }- Specified by:
getDnsMinRefreshRateOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasHostTtl
public boolean hasHostTtl()
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }- Specified by:
hasHostTtlin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the hostTtl field is set.
-
getHostTtl
public com.google.protobuf.Duration getHostTtl()
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }- Specified by:
getHostTtlin interfaceDnsCacheConfigOrBuilder- Returns:
- The hostTtl.
-
setHostTtl
public DnsCacheConfig.Builder setHostTtl(com.google.protobuf.Duration value)
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }
-
setHostTtl
public DnsCacheConfig.Builder setHostTtl(com.google.protobuf.Duration.Builder builderForValue)
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }
-
mergeHostTtl
public DnsCacheConfig.Builder mergeHostTtl(com.google.protobuf.Duration value)
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }
-
clearHostTtl
public DnsCacheConfig.Builder clearHostTtl()
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }
-
getHostTtlBuilder
public com.google.protobuf.Duration.Builder getHostTtlBuilder()
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }
-
getHostTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getHostTtlOrBuilder()
The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m. .. note: The TTL is only checked at the time of DNS refresh, as specified by ``dns_refresh_rate``. This means that if the configured TTL is shorter than the refresh rate the host may not be removed immediately. .. note: The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
.google.protobuf.Duration host_ttl = 4 [(.validate.rules) = { ... }- Specified by:
getHostTtlOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasMaxHosts
public boolean hasMaxHosts()
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }- Specified by:
hasMaxHostsin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the maxHosts field is set.
-
getMaxHosts
public com.google.protobuf.UInt32Value getMaxHosts()
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }- Specified by:
getMaxHostsin interfaceDnsCacheConfigOrBuilder- Returns:
- The maxHosts.
-
setMaxHosts
public DnsCacheConfig.Builder setMaxHosts(com.google.protobuf.UInt32Value value)
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }
-
setMaxHosts
public DnsCacheConfig.Builder setMaxHosts(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }
-
mergeMaxHosts
public DnsCacheConfig.Builder mergeMaxHosts(com.google.protobuf.UInt32Value value)
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }
-
clearMaxHosts
public DnsCacheConfig.Builder clearMaxHosts()
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }
-
getMaxHostsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxHostsBuilder()
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }
-
getMaxHostsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxHostsOrBuilder()
The maximum number of hosts that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum hosts in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_hosts = 5 [(.validate.rules) = { ... }- Specified by:
getMaxHostsOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasDnsFailureRefreshRate
public boolean hasDnsFailureRefreshRate()
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;- Specified by:
hasDnsFailureRefreshRatein interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the dnsFailureRefreshRate field is set.
-
getDnsFailureRefreshRate
public Cluster.RefreshRate getDnsFailureRefreshRate()
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;- Specified by:
getDnsFailureRefreshRatein interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsFailureRefreshRate.
-
setDnsFailureRefreshRate
public DnsCacheConfig.Builder setDnsFailureRefreshRate(Cluster.RefreshRate value)
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;
-
setDnsFailureRefreshRate
public DnsCacheConfig.Builder setDnsFailureRefreshRate(Cluster.RefreshRate.Builder builderForValue)
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;
-
mergeDnsFailureRefreshRate
public DnsCacheConfig.Builder mergeDnsFailureRefreshRate(Cluster.RefreshRate value)
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;
-
clearDnsFailureRefreshRate
public DnsCacheConfig.Builder clearDnsFailureRefreshRate()
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;
-
getDnsFailureRefreshRateBuilder
public Cluster.RefreshRate.Builder getDnsFailureRefreshRateBuilder()
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;
-
getDnsFailureRefreshRateOrBuilder
public Cluster.RefreshRateOrBuilder getDnsFailureRefreshRateOrBuilder()
If the DNS failure refresh rate is specified, this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is not specified, the failure refresh rate defaults to the dns_refresh_rate.
.envoy.config.cluster.v3.Cluster.RefreshRate dns_failure_refresh_rate = 6;- Specified by:
getDnsFailureRefreshRateOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasDnsCacheCircuitBreaker
public boolean hasDnsCacheCircuitBreaker()
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;- Specified by:
hasDnsCacheCircuitBreakerin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the dnsCacheCircuitBreaker field is set.
-
getDnsCacheCircuitBreaker
public DnsCacheCircuitBreakers getDnsCacheCircuitBreaker()
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;- Specified by:
getDnsCacheCircuitBreakerin interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsCacheCircuitBreaker.
-
setDnsCacheCircuitBreaker
public DnsCacheConfig.Builder setDnsCacheCircuitBreaker(DnsCacheCircuitBreakers value)
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;
-
setDnsCacheCircuitBreaker
public DnsCacheConfig.Builder setDnsCacheCircuitBreaker(DnsCacheCircuitBreakers.Builder builderForValue)
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;
-
mergeDnsCacheCircuitBreaker
public DnsCacheConfig.Builder mergeDnsCacheCircuitBreaker(DnsCacheCircuitBreakers value)
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;
-
clearDnsCacheCircuitBreaker
public DnsCacheConfig.Builder clearDnsCacheCircuitBreaker()
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;
-
getDnsCacheCircuitBreakerBuilder
public DnsCacheCircuitBreakers.Builder getDnsCacheCircuitBreakerBuilder()
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;
-
getDnsCacheCircuitBreakerOrBuilder
public DnsCacheCircuitBreakersOrBuilder getDnsCacheCircuitBreakerOrBuilder()
The config of circuit breakers for resolver. It provides a configurable threshold. Envoy will use dns cache circuit breakers with default settings even if this value is not set.
.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7;- Specified by:
getDnsCacheCircuitBreakerOrBuilderin interfaceDnsCacheConfigOrBuilder
-
getUseTcpForDnsLookups
@Deprecated public boolean getUseTcpForDnsLookups()
Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.use_tcp_for_dns_lookups is deprecated. See envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto;l=108Always use TCP queries instead of UDP queries for DNS lookups. This field is deprecated in favor of ``dns_resolution_config`` which aggregates all of the DNS resolver configuration in a single message.
bool use_tcp_for_dns_lookups = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getUseTcpForDnsLookupsin interfaceDnsCacheConfigOrBuilder- Returns:
- The useTcpForDnsLookups.
-
setUseTcpForDnsLookups
@Deprecated public DnsCacheConfig.Builder setUseTcpForDnsLookups(boolean value)
Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.use_tcp_for_dns_lookups is deprecated. See envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto;l=108Always use TCP queries instead of UDP queries for DNS lookups. This field is deprecated in favor of ``dns_resolution_config`` which aggregates all of the DNS resolver configuration in a single message.
bool use_tcp_for_dns_lookups = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Parameters:
value- The useTcpForDnsLookups to set.- Returns:
- This builder for chaining.
-
clearUseTcpForDnsLookups
@Deprecated public DnsCacheConfig.Builder clearUseTcpForDnsLookups()
Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.use_tcp_for_dns_lookups is deprecated. See envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto;l=108Always use TCP queries instead of UDP queries for DNS lookups. This field is deprecated in favor of ``dns_resolution_config`` which aggregates all of the DNS resolver configuration in a single message.
bool use_tcp_for_dns_lookups = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Returns:
- This builder for chaining.
-
hasDnsResolutionConfig
@Deprecated public boolean hasDnsResolutionConfig()
Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config is deprecated. See envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto;l=114DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasDnsResolutionConfigin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the dnsResolutionConfig field is set.
-
getDnsResolutionConfig
@Deprecated public DnsResolutionConfig getDnsResolutionConfig()
Deprecated.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config is deprecated. See envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto;l=114DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDnsResolutionConfigin interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsResolutionConfig.
-
setDnsResolutionConfig
@Deprecated public DnsCacheConfig.Builder setDnsResolutionConfig(DnsResolutionConfig value)
Deprecated.DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setDnsResolutionConfig
@Deprecated public DnsCacheConfig.Builder setDnsResolutionConfig(DnsResolutionConfig.Builder builderForValue)
Deprecated.DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeDnsResolutionConfig
@Deprecated public DnsCacheConfig.Builder mergeDnsResolutionConfig(DnsResolutionConfig value)
Deprecated.DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearDnsResolutionConfig
@Deprecated public DnsCacheConfig.Builder clearDnsResolutionConfig()
Deprecated.DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getDnsResolutionConfigBuilder
@Deprecated public DnsResolutionConfig.Builder getDnsResolutionConfigBuilder()
Deprecated.DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getDnsResolutionConfigOrBuilder
@Deprecated public DnsResolutionConfigOrBuilder getDnsResolutionConfigOrBuilder()
Deprecated.DNS resolution configuration which includes the underlying dns resolver addresses and options. This field is deprecated in favor of :ref:`typed_dns_resolver_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDnsResolutionConfigOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasTypedDnsResolverConfig
public boolean hasTypedDnsResolverConfig()
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;- Specified by:
hasTypedDnsResolverConfigin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the typedDnsResolverConfig field is set.
-
getTypedDnsResolverConfig
public TypedExtensionConfig getTypedDnsResolverConfig()
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;- Specified by:
getTypedDnsResolverConfigin interfaceDnsCacheConfigOrBuilder- Returns:
- The typedDnsResolverConfig.
-
setTypedDnsResolverConfig
public DnsCacheConfig.Builder setTypedDnsResolverConfig(TypedExtensionConfig value)
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;
-
setTypedDnsResolverConfig
public DnsCacheConfig.Builder setTypedDnsResolverConfig(TypedExtensionConfig.Builder builderForValue)
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;
-
mergeTypedDnsResolverConfig
public DnsCacheConfig.Builder mergeTypedDnsResolverConfig(TypedExtensionConfig value)
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;
-
clearTypedDnsResolverConfig
public DnsCacheConfig.Builder clearTypedDnsResolverConfig()
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;
-
getTypedDnsResolverConfigBuilder
public TypedExtensionConfig.Builder getTypedDnsResolverConfigBuilder()
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;
-
getTypedDnsResolverConfigOrBuilder
public TypedExtensionConfigOrBuilder getTypedDnsResolverConfigOrBuilder()
DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, or any other DNS resolver types and the related parameters. For example, an object of :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` can be packed into this ``typed_dns_resolver_config``. This configuration replaces the :ref:`dns_resolution_config <envoy_v3_api_field_extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig.dns_resolution_config>` configuration. During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists, when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``. When ``typed_dns_resolver_config`` is missing, the default behavior is in place. [#extension-category: envoy.network.dns_resolver]
.envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 12;- Specified by:
getTypedDnsResolverConfigOrBuilderin interfaceDnsCacheConfigOrBuilder
-
getPreresolveHostnamesList
public List<SocketAddress> getPreresolveHostnamesList()
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;- Specified by:
getPreresolveHostnamesListin interfaceDnsCacheConfigOrBuilder
-
getPreresolveHostnamesCount
public int getPreresolveHostnamesCount()
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;- Specified by:
getPreresolveHostnamesCountin interfaceDnsCacheConfigOrBuilder
-
getPreresolveHostnames
public SocketAddress getPreresolveHostnames(int index)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;- Specified by:
getPreresolveHostnamesin interfaceDnsCacheConfigOrBuilder
-
setPreresolveHostnames
public DnsCacheConfig.Builder setPreresolveHostnames(int index, SocketAddress value)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
setPreresolveHostnames
public DnsCacheConfig.Builder setPreresolveHostnames(int index, SocketAddress.Builder builderForValue)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
addPreresolveHostnames
public DnsCacheConfig.Builder addPreresolveHostnames(SocketAddress value)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
addPreresolveHostnames
public DnsCacheConfig.Builder addPreresolveHostnames(int index, SocketAddress value)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
addPreresolveHostnames
public DnsCacheConfig.Builder addPreresolveHostnames(SocketAddress.Builder builderForValue)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
addPreresolveHostnames
public DnsCacheConfig.Builder addPreresolveHostnames(int index, SocketAddress.Builder builderForValue)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
addAllPreresolveHostnames
public DnsCacheConfig.Builder addAllPreresolveHostnames(Iterable<? extends SocketAddress> values)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
clearPreresolveHostnames
public DnsCacheConfig.Builder clearPreresolveHostnames()
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
removePreresolveHostnames
public DnsCacheConfig.Builder removePreresolveHostnames(int index)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
getPreresolveHostnamesBuilder
public SocketAddress.Builder getPreresolveHostnamesBuilder(int index)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
getPreresolveHostnamesOrBuilder
public SocketAddressOrBuilder getPreresolveHostnamesOrBuilder(int index)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;- Specified by:
getPreresolveHostnamesOrBuilderin interfaceDnsCacheConfigOrBuilder
-
getPreresolveHostnamesOrBuilderList
public List<? extends SocketAddressOrBuilder> getPreresolveHostnamesOrBuilderList()
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;- Specified by:
getPreresolveHostnamesOrBuilderListin interfaceDnsCacheConfigOrBuilder
-
addPreresolveHostnamesBuilder
public SocketAddress.Builder addPreresolveHostnamesBuilder()
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
addPreresolveHostnamesBuilder
public SocketAddress.Builder addPreresolveHostnamesBuilder(int index)
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
getPreresolveHostnamesBuilderList
public List<SocketAddress.Builder> getPreresolveHostnamesBuilderList()
Hostnames that should be preresolved into the cache upon creation. This might provide a performance improvement, in the form of cache hits, for hostnames that are going to be resolved during steady state and are known at config load time.
repeated .envoy.config.core.v3.SocketAddress preresolve_hostnames = 10;
-
hasDnsQueryTimeout
public boolean hasDnsQueryTimeout()
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }- Specified by:
hasDnsQueryTimeoutin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the dnsQueryTimeout field is set.
-
getDnsQueryTimeout
public com.google.protobuf.Duration getDnsQueryTimeout()
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }- Specified by:
getDnsQueryTimeoutin interfaceDnsCacheConfigOrBuilder- Returns:
- The dnsQueryTimeout.
-
setDnsQueryTimeout
public DnsCacheConfig.Builder setDnsQueryTimeout(com.google.protobuf.Duration value)
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }
-
setDnsQueryTimeout
public DnsCacheConfig.Builder setDnsQueryTimeout(com.google.protobuf.Duration.Builder builderForValue)
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }
-
mergeDnsQueryTimeout
public DnsCacheConfig.Builder mergeDnsQueryTimeout(com.google.protobuf.Duration value)
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }
-
clearDnsQueryTimeout
public DnsCacheConfig.Builder clearDnsQueryTimeout()
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }
-
getDnsQueryTimeoutBuilder
public com.google.protobuf.Duration.Builder getDnsQueryTimeoutBuilder()
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }
-
getDnsQueryTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getDnsQueryTimeoutOrBuilder()
The timeout used for DNS queries. This timeout is independent of any timeout and retry policy used by the underlying DNS implementation (e.g., c-areas and Apple DNS) which are opaque. Setting this timeout will ensure that queries succeed or fail within the specified time frame and are then retried using the standard refresh rates. Defaults to 5s if not set.
.google.protobuf.Duration dns_query_timeout = 11 [(.validate.rules) = { ... }- Specified by:
getDnsQueryTimeoutOrBuilderin interfaceDnsCacheConfigOrBuilder
-
hasKeyValueConfig
public boolean hasKeyValueConfig()
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;- Specified by:
hasKeyValueConfigin interfaceDnsCacheConfigOrBuilder- Returns:
- Whether the keyValueConfig field is set.
-
getKeyValueConfig
public KeyValueStoreConfig getKeyValueConfig()
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;- Specified by:
getKeyValueConfigin interfaceDnsCacheConfigOrBuilder- Returns:
- The keyValueConfig.
-
setKeyValueConfig
public DnsCacheConfig.Builder setKeyValueConfig(KeyValueStoreConfig value)
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;
-
setKeyValueConfig
public DnsCacheConfig.Builder setKeyValueConfig(KeyValueStoreConfig.Builder builderForValue)
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;
-
mergeKeyValueConfig
public DnsCacheConfig.Builder mergeKeyValueConfig(KeyValueStoreConfig value)
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;
-
clearKeyValueConfig
public DnsCacheConfig.Builder clearKeyValueConfig()
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;
-
getKeyValueConfigBuilder
public KeyValueStoreConfig.Builder getKeyValueConfigBuilder()
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;
-
getKeyValueConfigOrBuilder
public KeyValueStoreConfigOrBuilder getKeyValueConfigOrBuilder()
[#not-implemented-hide:] Configuration to flush the DNS cache to long term storage.
.envoy.config.common.key_value.v3.KeyValueStoreConfig key_value_config = 13;- Specified by:
getKeyValueConfigOrBuilderin interfaceDnsCacheConfigOrBuilder
-
setUnknownFields
public final DnsCacheConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
mergeUnknownFields
public final DnsCacheConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsCacheConfig.Builder>
-
-