Class DnsFilterConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.Builder>
io.envoyproxy.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DnsFilterConfigOrBuilder, Cloneable
Enclosing class:
DnsFilterConfig

public static final class DnsFilterConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.Builder> implements DnsFilterConfigOrBuilder
 Configuration for the DNS filter.
 
Protobuf type envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig
  • 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.Builder>
    • clear

      public DnsFilterConfig.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.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.Builder>
    • getDefaultInstanceForType

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

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

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

      public DnsFilterConfig.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.Builder>
    • setField

      public DnsFilterConfig.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.Builder>
    • clearField

      public DnsFilterConfig.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.Builder>
    • clearOneof

      public DnsFilterConfig.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.Builder>
    • setRepeatedField

      public DnsFilterConfig.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.Builder>
    • addRepeatedField

      public DnsFilterConfig.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.Builder>
    • mergeFrom

      public DnsFilterConfig.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.Builder>
    • mergeFrom

      public DnsFilterConfig.Builder mergeFrom(DnsFilterConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DnsFilterConfig.Builder>
    • mergeFrom

      public DnsFilterConfig.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.Builder>
      Throws:
      IOException
    • getStatPrefix

      public String getStatPrefix()
       The stat prefix used when emitting DNS filter statistics
       
      string stat_prefix = 1 [(.validate.rules) = { ... }
      Specified by:
      getStatPrefix in interface DnsFilterConfigOrBuilder
      Returns:
      The statPrefix.
    • getStatPrefixBytes

      public com.google.protobuf.ByteString getStatPrefixBytes()
       The stat prefix used when emitting DNS filter statistics
       
      string stat_prefix = 1 [(.validate.rules) = { ... }
      Specified by:
      getStatPrefixBytes in interface DnsFilterConfigOrBuilder
      Returns:
      The bytes for statPrefix.
    • setStatPrefix

      public DnsFilterConfig.Builder setStatPrefix(String value)
       The stat prefix used when emitting DNS filter statistics
       
      string stat_prefix = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The statPrefix to set.
      Returns:
      This builder for chaining.
    • clearStatPrefix

      public DnsFilterConfig.Builder clearStatPrefix()
       The stat prefix used when emitting DNS filter statistics
       
      string stat_prefix = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setStatPrefixBytes

      public DnsFilterConfig.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
       The stat prefix used when emitting DNS filter statistics
       
      string stat_prefix = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for statPrefix to set.
      Returns:
      This builder for chaining.
    • hasServerConfig

      public boolean hasServerConfig()
       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
      Specified by:
      hasServerConfig in interface DnsFilterConfigOrBuilder
      Returns:
      Whether the serverConfig field is set.
    • getServerConfig

      public DnsFilterConfig.ServerContextConfig getServerConfig()
       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
      Specified by:
      getServerConfig in interface DnsFilterConfigOrBuilder
      Returns:
      The serverConfig.
    • setServerConfig

       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
    • setServerConfig

      public DnsFilterConfig.Builder setServerConfig(DnsFilterConfig.ServerContextConfig.Builder builderForValue)
       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
    • mergeServerConfig

       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
    • clearServerConfig

      public DnsFilterConfig.Builder clearServerConfig()
       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
    • getServerConfigBuilder

      public DnsFilterConfig.ServerContextConfig.Builder getServerConfigBuilder()
       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
    • getServerConfigOrBuilder

      public DnsFilterConfig.ServerContextConfigOrBuilder getServerConfigOrBuilder()
       Server context configuration contains the data that the filter uses to respond
       to DNS requests.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig server_config = 2;
      Specified by:
      getServerConfigOrBuilder in interface DnsFilterConfigOrBuilder
    • hasClientConfig

      public boolean hasClientConfig()
       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
      Specified by:
      hasClientConfig in interface DnsFilterConfigOrBuilder
      Returns:
      Whether the clientConfig field is set.
    • getClientConfig

      public DnsFilterConfig.ClientContextConfig getClientConfig()
       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
      Specified by:
      getClientConfig in interface DnsFilterConfigOrBuilder
      Returns:
      The clientConfig.
    • setClientConfig

       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
    • setClientConfig

      public DnsFilterConfig.Builder setClientConfig(DnsFilterConfig.ClientContextConfig.Builder builderForValue)
       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
    • mergeClientConfig

       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
    • clearClientConfig

      public DnsFilterConfig.Builder clearClientConfig()
       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
    • getClientConfigBuilder

      public DnsFilterConfig.ClientContextConfig.Builder getClientConfigBuilder()
       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
    • getClientConfigOrBuilder

      public DnsFilterConfig.ClientContextConfigOrBuilder getClientConfigOrBuilder()
       Client context configuration controls Envoy's behavior when it must use external
       resolvers to answer a query. This object is optional and if omitted instructs
       the filter to resolve queries from the data in the server_config.
       Also, if ``client_config`` is omitted, here is the Envoy's behavior to create DNS resolver:
      
       1. If :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`
       is not empty, uses it.
      
       2. Otherwise, uses the default c-ares DNS resolver.
       
      .envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ClientContextConfig client_config = 3;
      Specified by:
      getClientConfigOrBuilder in interface DnsFilterConfigOrBuilder
    • getAccessLogList

      public List<AccessLog> getAccessLogList()
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
      Specified by:
      getAccessLogList in interface DnsFilterConfigOrBuilder
    • getAccessLogCount

      public int getAccessLogCount()
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
      Specified by:
      getAccessLogCount in interface DnsFilterConfigOrBuilder
    • getAccessLog

      public AccessLog getAccessLog(int index)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
      Specified by:
      getAccessLog in interface DnsFilterConfigOrBuilder
    • setAccessLog

      public DnsFilterConfig.Builder setAccessLog(int index, AccessLog value)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • setAccessLog

      public DnsFilterConfig.Builder setAccessLog(int index, AccessLog.Builder builderForValue)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • addAccessLog

      public DnsFilterConfig.Builder addAccessLog(AccessLog value)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • addAccessLog

      public DnsFilterConfig.Builder addAccessLog(int index, AccessLog value)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • addAccessLog

      public DnsFilterConfig.Builder addAccessLog(AccessLog.Builder builderForValue)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • addAccessLog

      public DnsFilterConfig.Builder addAccessLog(int index, AccessLog.Builder builderForValue)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • addAllAccessLog

      public DnsFilterConfig.Builder addAllAccessLog(Iterable<? extends AccessLog> values)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • clearAccessLog

      public DnsFilterConfig.Builder clearAccessLog()
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • removeAccessLog

      public DnsFilterConfig.Builder removeAccessLog(int index)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • getAccessLogBuilder

      public AccessLog.Builder getAccessLogBuilder(int index)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • getAccessLogOrBuilder

      public AccessLogOrBuilder getAccessLogOrBuilder(int index)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
      Specified by:
      getAccessLogOrBuilder in interface DnsFilterConfigOrBuilder
    • getAccessLogOrBuilderList

      public List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
      Specified by:
      getAccessLogOrBuilderList in interface DnsFilterConfigOrBuilder
    • addAccessLogBuilder

      public AccessLog.Builder addAccessLogBuilder()
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • addAccessLogBuilder

      public AccessLog.Builder addAccessLogBuilder(int index)
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • getAccessLogBuilderList

      public List<AccessLog.Builder> getAccessLogBuilderList()
       Configuration for :ref:`access logs <arch_overview_access_logs>`
       emitted by the DNS filter for each DNS query received.
       Supports custom format commands for DNS-specific attributes:
       - ``QUERY_NAME``: The DNS query name being resolved
       - ``QUERY_TYPE``: The DNS query type (A, AAAA, SRV, etc.)
       - ``QUERY_CLASS``: The DNS query class
       - ``ANSWER_COUNT``: Number of answers in the response
       - ``RESPONSE_CODE``: DNS response code
       - ``PARSE_STATUS``: Whether the query was successfully parsed
       
      repeated .envoy.config.accesslog.v3.AccessLog access_log = 4;
    • setUnknownFields

      public final DnsFilterConfig.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.Builder>
    • mergeUnknownFields

      public final DnsFilterConfig.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.Builder>