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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • getDefaultInstanceForType

      public DnsFilterConfig.ClientContextConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DnsFilterConfig.ClientContextConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • setField

      public DnsFilterConfig.ClientContextConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • clearField

      public DnsFilterConfig.ClientContextConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • clearOneof

      public DnsFilterConfig.ClientContextConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • addRepeatedField

      public DnsFilterConfig.ClientContextConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • mergeFrom

      public DnsFilterConfig.ClientContextConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasResolverTimeout in interface DnsFilterConfig.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:
      getResolverTimeout in interface DnsFilterConfig.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

      public DnsFilterConfig.ClientContextConfig.Builder 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:
      getResolverTimeoutOrBuilder in interface DnsFilterConfig.ClientContextConfigOrBuilder
    • getUpstreamResolversList

      @Deprecated public List<Address> 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:
      getUpstreamResolversList in interface DnsFilterConfig.ClientContextConfigOrBuilder
    • getUpstreamResolversCount

      @Deprecated public int 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:
      getUpstreamResolversCount in interface DnsFilterConfig.ClientContextConfigOrBuilder
    • getUpstreamResolvers

      @Deprecated public Address getUpstreamResolvers(int index)
      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:
      getUpstreamResolvers in interface DnsFilterConfig.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 public DnsFilterConfig.ClientContextConfig.Builder removeUpstreamResolvers(int index)
      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 public Address.Builder getUpstreamResolversBuilder(int index)
      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 public AddressOrBuilder getUpstreamResolversOrBuilder(int index)
      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:
      getUpstreamResolversOrBuilder in interface DnsFilterConfig.ClientContextConfigOrBuilder
    • getUpstreamResolversOrBuilderList

      @Deprecated public List<? extends AddressOrBuilder> 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:
      getUpstreamResolversOrBuilderList in interface DnsFilterConfig.ClientContextConfigOrBuilder
    • addUpstreamResolversBuilder

      @Deprecated public Address.Builder 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 public Address.Builder addUpstreamResolversBuilder(int index)
      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 public List<Address.Builder> 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 public boolean 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=74
       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:
      hasDnsResolutionConfig in interface DnsFilterConfig.ClientContextConfigOrBuilder
      Returns:
      Whether the dnsResolutionConfig field is set.
    • getDnsResolutionConfig

      @Deprecated public DnsResolutionConfig 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=74
       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:
      getDnsResolutionConfig in interface DnsFilterConfig.ClientContextConfigOrBuilder
      Returns:
      The dnsResolutionConfig.
    • setDnsResolutionConfig

      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.
       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.
       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 public DnsFilterConfig.ClientContextConfig.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.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 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.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 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.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:
      getDnsResolutionConfigOrBuilder in interface DnsFilterConfig.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:
      hasTypedDnsResolverConfig in interface DnsFilterConfig.ClientContextConfigOrBuilder
      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.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:
      getTypedDnsResolverConfig in interface DnsFilterConfig.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

      public DnsFilterConfig.ClientContextConfig.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.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

      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.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

      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.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:
      getTypedDnsResolverConfigOrBuilder in interface DnsFilterConfig.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:
      getMaxPendingLookups in interface DnsFilterConfig.ClientContextConfigOrBuilder
      Returns:
      The maxPendingLookups.
    • setMaxPendingLookups

      public DnsFilterConfig.ClientContextConfig.Builder setMaxPendingLookups(long value)
       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

      public DnsFilterConfig.ClientContextConfig.Builder 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>
    • mergeUnknownFields

      public final DnsFilterConfig.ClientContextConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.ClientContextConfig.Builder>