Class DnsFilterConfig.ClientContextConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
io.envoyproxy.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DnsFilterConfig.ClientContextConfigOrBuilder,Cloneable
- Enclosing class:
- DnsFilterConfig.ClientContextConfig
public static final class DnsFilterConfig.ClientContextConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
implements DnsFilterConfig.ClientContextConfigOrBuilder
This message contains the configuration for the DNS Filter operating in a client context. This message will contain the timeouts, retry, and forwarding configuration for Envoy to make DNS requests to other resolvers [#next-free-field: 6]Protobuf type
envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllUpstreamResolvers(Iterable<? extends Address> values) Deprecated.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addUpstreamResolvers(int index, Address value) Deprecated.addUpstreamResolvers(int index, Address.Builder builderForValue) Deprecated.addUpstreamResolvers(Address value) Deprecated.addUpstreamResolvers(Address.Builder builderForValue) Deprecated.Deprecated.addUpstreamResolversBuilder(int index) Deprecated.build()clear()Deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Controls how many outstanding external lookup contexts the filter tracks.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.DNS resolver type configuration extension.Deprecated.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.dns_resolution_config is deprecated.Deprecated.Deprecated.longControls how many outstanding external lookup contexts the filter tracks.com.google.protobuf.DurationSets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.com.google.protobuf.Duration.BuilderSets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.com.google.protobuf.DurationOrBuilderSets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.DNS resolver type configuration extension.DNS resolver type configuration extension.DNS resolver type configuration extension.getUpstreamResolvers(int index) Deprecated.getUpstreamResolversBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getUpstreamResolversOrBuilder(int index) Deprecated.List<? extends AddressOrBuilder>Deprecated.booleanDeprecated.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.dns_resolution_config is deprecated.booleanSets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.booleanDNS resolver type configuration extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanDeprecated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeResolverTimeout(com.google.protobuf.Duration value) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.DNS resolver type configuration extension.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeUpstreamResolvers(int index) Deprecated.Deprecated.setDnsResolutionConfig(DnsResolutionConfig.Builder builderForValue) Deprecated.setMaxPendingLookups(long value) Controls how many outstanding external lookup contexts the filter tracks.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResolverTimeout(com.google.protobuf.Duration value) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.setResolverTimeout(com.google.protobuf.Duration.Builder builderForValue) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1.DNS resolver type configuration extension.setTypedDnsResolverConfig(TypedExtensionConfig.Builder builderForValue) DNS resolver type configuration extension.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpstreamResolvers(int index, Address value) Deprecated.setUpstreamResolvers(int index, Address.Builder builderForValue) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<DnsFilterConfig.ClientContextConfig.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<DnsFilterConfig.ClientContextConfig.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<DnsFilterConfig.ClientContextConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-
setField
public DnsFilterConfig.ClientContextConfig.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<DnsFilterConfig.ClientContextConfig.Builder>
-
clearField
public DnsFilterConfig.ClientContextConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-
clearOneof
public DnsFilterConfig.ClientContextConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-
setRepeatedField
public DnsFilterConfig.ClientContextConfig.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<DnsFilterConfig.ClientContextConfig.Builder>
-
addRepeatedField
public DnsFilterConfig.ClientContextConfig.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<DnsFilterConfig.ClientContextConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-
mergeFrom
public DnsFilterConfig.ClientContextConfig.Builder mergeFrom(DnsFilterConfig.ClientContextConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-
mergeFrom
public DnsFilterConfig.ClientContextConfig.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<DnsFilterConfig.ClientContextConfig.Builder>- Throws:
IOException
-
hasResolverTimeout
public boolean hasResolverTimeout()Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... }- Specified by:
hasResolverTimeoutin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- Whether the resolverTimeout field is set.
-
getResolverTimeout
public com.google.protobuf.Duration getResolverTimeout()Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... }- Specified by:
getResolverTimeoutin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- The resolverTimeout.
-
setResolverTimeout
public DnsFilterConfig.ClientContextConfig.Builder setResolverTimeout(com.google.protobuf.Duration value) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... } -
setResolverTimeout
public DnsFilterConfig.ClientContextConfig.Builder setResolverTimeout(com.google.protobuf.Duration.Builder builderForValue) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... } -
mergeResolverTimeout
public DnsFilterConfig.ClientContextConfig.Builder mergeResolverTimeout(com.google.protobuf.Duration value) Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... } -
clearResolverTimeout
Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... } -
getResolverTimeoutBuilder
public com.google.protobuf.Duration.Builder getResolverTimeoutBuilder()Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... } -
getResolverTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getResolverTimeoutOrBuilder()Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... }- Specified by:
getResolverTimeoutOrBuilderin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
getUpstreamResolversList
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getUpstreamResolversListin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
getUpstreamResolversCount
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getUpstreamResolversCountin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
getUpstreamResolvers
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getUpstreamResolversin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
setUpstreamResolvers
@Deprecated public DnsFilterConfig.ClientContextConfig.Builder setUpstreamResolvers(int index, Address value) Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
setUpstreamResolvers
@Deprecated public DnsFilterConfig.ClientContextConfig.Builder setUpstreamResolvers(int index, Address.Builder builderForValue) Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
addUpstreamResolvers
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
addUpstreamResolvers
@Deprecated public DnsFilterConfig.ClientContextConfig.Builder addUpstreamResolvers(int index, Address value) Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
addUpstreamResolvers
@Deprecated public DnsFilterConfig.ClientContextConfig.Builder addUpstreamResolvers(Address.Builder builderForValue) Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
addUpstreamResolvers
@Deprecated public DnsFilterConfig.ClientContextConfig.Builder addUpstreamResolvers(int index, Address.Builder builderForValue) Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
addAllUpstreamResolvers
@Deprecated public DnsFilterConfig.ClientContextConfig.Builder addAllUpstreamResolvers(Iterable<? extends Address> values) Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
clearUpstreamResolvers
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
removeUpstreamResolvers
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getUpstreamResolversBuilder
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getUpstreamResolversOrBuilder
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getUpstreamResolversOrBuilderin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
getUpstreamResolversOrBuilderList
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getUpstreamResolversOrBuilderListin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
addUpstreamResolversBuilder
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
addUpstreamResolversBuilder
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
getUpstreamResolversBuilderList
Deprecated.This field was used for `dns_resolution_config` in Envoy 1.19.0 and 1.19.1. Control planes that need to set this field for Envoy 1.19.0 and 1.19.1 clients should fork the protobufs and change the field type to `DnsResolutionConfig`. Control planes that need to simultaneously support Envoy 1.18.x and Envoy 1.19.x should avoid Envoy 1.19.0 and 1.19.1. [#not-implemented-hide:]
repeated .envoy.config.core.v3.Address upstream_resolvers = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
hasDnsResolutionConfig
Deprecated.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.dns_resolution_config is deprecated. See envoy/extensions/filters/udp/dns_filter/v3/dns_filter.proto;l=74DNS 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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasDnsResolutionConfigin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- Whether the dnsResolutionConfig field is set.
-
getDnsResolutionConfig
Deprecated.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.dns_resolution_config is deprecated. See envoy/extensions/filters/udp/dns_filter/v3/dns_filter.proto;l=74DNS 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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDnsResolutionConfigin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- The dnsResolutionConfig.
-
setDnsResolutionConfig
@Deprecated public DnsFilterConfig.ClientContextConfig.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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
setDnsResolutionConfig
@Deprecated public DnsFilterConfig.ClientContextConfig.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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
mergeDnsResolutionConfig
@Deprecated public DnsFilterConfig.ClientContextConfig.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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; -
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.typed_dns_resolver_config>`.
.envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getDnsResolutionConfigOrBuilderin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4;- Specified by:
hasTypedDnsResolverConfigin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- Whether the typedDnsResolverConfig field is set.
-
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4;- Specified by:
getTypedDnsResolverConfigin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- The typedDnsResolverConfig.
-
setTypedDnsResolverConfig
public DnsFilterConfig.ClientContextConfig.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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4; -
setTypedDnsResolverConfig
public DnsFilterConfig.ClientContextConfig.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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4; -
mergeTypedDnsResolverConfig
public DnsFilterConfig.ClientContextConfig.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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4; -
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4; -
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4; -
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.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig.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 = 4;- Specified by:
getTypedDnsResolverConfigOrBuilderin interfaceDnsFilterConfig.ClientContextConfigOrBuilder
-
getMaxPendingLookups
public long getMaxPendingLookups()Controls how many outstanding external lookup contexts the filter tracks. The context structure allows the filter to respond to every query even if the external resolution times out or is otherwise unsuccessful
uint64 max_pending_lookups = 3 [(.validate.rules) = { ... }- Specified by:
getMaxPendingLookupsin interfaceDnsFilterConfig.ClientContextConfigOrBuilder- Returns:
- The maxPendingLookups.
-
setMaxPendingLookups
Controls how many outstanding external lookup contexts the filter tracks. The context structure allows the filter to respond to every query even if the external resolution times out or is otherwise unsuccessful
uint64 max_pending_lookups = 3 [(.validate.rules) = { ... }- Parameters:
value- The maxPendingLookups to set.- Returns:
- This builder for chaining.
-
clearMaxPendingLookups
Controls how many outstanding external lookup contexts the filter tracks. The context structure allows the filter to respond to every query even if the external resolution times out or is otherwise unsuccessful
uint64 max_pending_lookups = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setUnknownFields
public final DnsFilterConfig.ClientContextConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-
mergeUnknownFields
public final DnsFilterConfig.ClientContextConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
-