Class DnsFilterConfig.ServerContextConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DnsFilterConfig.ServerContextConfigOrBuilder, Serializable
Enclosing class:
DnsFilterConfig

public static final class DnsFilterConfig.ServerContextConfig extends com.google.protobuf.GeneratedMessageV3 implements DnsFilterConfig.ServerContextConfigOrBuilder
 This message contains the configuration for the DNS Filter operating
 in a server context. This message will contain the virtual hosts and
 associated addresses with which Envoy will respond to queries
 
Protobuf type envoy.extensions.filters.udp.dns_filter.v3.DnsFilterConfig.ServerContextConfig
See Also:
  • Field Details

    • INLINE_DNS_TABLE_FIELD_NUMBER

      public static final int INLINE_DNS_TABLE_FIELD_NUMBER
      See Also:
    • EXTERNAL_DNS_TABLE_FIELD_NUMBER

      public static final int EXTERNAL_DNS_TABLE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getConfigSourceCase

      Specified by:
      getConfigSourceCase in interface DnsFilterConfig.ServerContextConfigOrBuilder
    • hasInlineDnsTable

      public boolean hasInlineDnsTable()
       Load the configuration specified from the control plane
       
      .envoy.data.dns.v3.DnsTable inline_dns_table = 1;
      Specified by:
      hasInlineDnsTable in interface DnsFilterConfig.ServerContextConfigOrBuilder
      Returns:
      Whether the inlineDnsTable field is set.
    • getInlineDnsTable

      public DnsTable getInlineDnsTable()
       Load the configuration specified from the control plane
       
      .envoy.data.dns.v3.DnsTable inline_dns_table = 1;
      Specified by:
      getInlineDnsTable in interface DnsFilterConfig.ServerContextConfigOrBuilder
      Returns:
      The inlineDnsTable.
    • getInlineDnsTableOrBuilder

      public DnsTableOrBuilder getInlineDnsTableOrBuilder()
       Load the configuration specified from the control plane
       
      .envoy.data.dns.v3.DnsTable inline_dns_table = 1;
      Specified by:
      getInlineDnsTableOrBuilder in interface DnsFilterConfig.ServerContextConfigOrBuilder
    • hasExternalDnsTable

      public boolean hasExternalDnsTable()
       Seed the filter configuration from an external path. This source
       is a yaml formatted file that contains the DnsTable driving Envoy's
       responses to DNS queries
       
      .envoy.config.core.v3.DataSource external_dns_table = 2;
      Specified by:
      hasExternalDnsTable in interface DnsFilterConfig.ServerContextConfigOrBuilder
      Returns:
      Whether the externalDnsTable field is set.
    • getExternalDnsTable

      public DataSource getExternalDnsTable()
       Seed the filter configuration from an external path. This source
       is a yaml formatted file that contains the DnsTable driving Envoy's
       responses to DNS queries
       
      .envoy.config.core.v3.DataSource external_dns_table = 2;
      Specified by:
      getExternalDnsTable in interface DnsFilterConfig.ServerContextConfigOrBuilder
      Returns:
      The externalDnsTable.
    • getExternalDnsTableOrBuilder

      public DataSourceOrBuilder getExternalDnsTableOrBuilder()
       Seed the filter configuration from an external path. This source
       is a yaml formatted file that contains the DnsTable driving Envoy's
       responses to DNS queries
       
      .envoy.config.core.v3.DataSource external_dns_table = 2;
      Specified by:
      getExternalDnsTableOrBuilder in interface DnsFilterConfig.ServerContextConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DnsFilterConfig.ServerContextConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DnsFilterConfig.ServerContextConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DnsFilterConfig.ServerContextConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DnsFilterConfig.ServerContextConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DnsFilterConfig.ServerContextConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DnsFilterConfig.ServerContextConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DnsFilterConfig.ServerContextConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DnsFilterConfig.ServerContextConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<DnsFilterConfig.ServerContextConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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