// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/extensions/filter/udp/dns_filter/v3alpha/dns_filter.proto

package envoy_extensions_filter_udp_dns_filter_v3alpha

import (
	fmt "fmt"
	_ "github.com/cncf/udpa/go/udpa/annotations"
	v31 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
	v3 "github.com/envoyproxy/go-control-plane/envoy/data/dns/v3"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type DnsFilterConfig struct {
	StatPrefix           string                               `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	ServerConfig         *DnsFilterConfig_ServerContextConfig `protobuf:"bytes,2,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (m *DnsFilterConfig) Reset()         { *m = DnsFilterConfig{} }
func (m *DnsFilterConfig) String() string { return proto.CompactTextString(m) }
func (*DnsFilterConfig) ProtoMessage()    {}
func (*DnsFilterConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_1a9b7dc81c276e0e, []int{0}
}

func (m *DnsFilterConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DnsFilterConfig.Unmarshal(m, b)
}
func (m *DnsFilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DnsFilterConfig.Marshal(b, m, deterministic)
}
func (m *DnsFilterConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DnsFilterConfig.Merge(m, src)
}
func (m *DnsFilterConfig) XXX_Size() int {
	return xxx_messageInfo_DnsFilterConfig.Size(m)
}
func (m *DnsFilterConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_DnsFilterConfig.DiscardUnknown(m)
}

var xxx_messageInfo_DnsFilterConfig proto.InternalMessageInfo

func (m *DnsFilterConfig) GetStatPrefix() string {
	if m != nil {
		return m.StatPrefix
	}
	return ""
}

func (m *DnsFilterConfig) GetServerConfig() *DnsFilterConfig_ServerContextConfig {
	if m != nil {
		return m.ServerConfig
	}
	return nil
}

type DnsFilterConfig_ServerContextConfig struct {
	// Types that are valid to be assigned to ConfigSource:
	//	*DnsFilterConfig_ServerContextConfig_InlineDnsTable
	//	*DnsFilterConfig_ServerContextConfig_ExternalDnsTable
	ConfigSource         isDnsFilterConfig_ServerContextConfig_ConfigSource `protobuf_oneof:"config_source"`
	XXX_NoUnkeyedLiteral struct{}                                           `json:"-"`
	XXX_unrecognized     []byte                                             `json:"-"`
	XXX_sizecache        int32                                              `json:"-"`
}

func (m *DnsFilterConfig_ServerContextConfig) Reset()         { *m = DnsFilterConfig_ServerContextConfig{} }
func (m *DnsFilterConfig_ServerContextConfig) String() string { return proto.CompactTextString(m) }
func (*DnsFilterConfig_ServerContextConfig) ProtoMessage()    {}
func (*DnsFilterConfig_ServerContextConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_1a9b7dc81c276e0e, []int{0, 0}
}

func (m *DnsFilterConfig_ServerContextConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DnsFilterConfig_ServerContextConfig.Unmarshal(m, b)
}
func (m *DnsFilterConfig_ServerContextConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DnsFilterConfig_ServerContextConfig.Marshal(b, m, deterministic)
}
func (m *DnsFilterConfig_ServerContextConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DnsFilterConfig_ServerContextConfig.Merge(m, src)
}
func (m *DnsFilterConfig_ServerContextConfig) XXX_Size() int {
	return xxx_messageInfo_DnsFilterConfig_ServerContextConfig.Size(m)
}
func (m *DnsFilterConfig_ServerContextConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_DnsFilterConfig_ServerContextConfig.DiscardUnknown(m)
}

var xxx_messageInfo_DnsFilterConfig_ServerContextConfig proto.InternalMessageInfo

type isDnsFilterConfig_ServerContextConfig_ConfigSource interface {
	isDnsFilterConfig_ServerContextConfig_ConfigSource()
}

type DnsFilterConfig_ServerContextConfig_InlineDnsTable struct {
	InlineDnsTable *v3.DnsTable `protobuf:"bytes,1,opt,name=inline_dns_table,json=inlineDnsTable,proto3,oneof"`
}

type DnsFilterConfig_ServerContextConfig_ExternalDnsTable struct {
	ExternalDnsTable *v31.DataSource `protobuf:"bytes,2,opt,name=external_dns_table,json=externalDnsTable,proto3,oneof"`
}

func (*DnsFilterConfig_ServerContextConfig_InlineDnsTable) isDnsFilterConfig_ServerContextConfig_ConfigSource() {
}

func (*DnsFilterConfig_ServerContextConfig_ExternalDnsTable) isDnsFilterConfig_ServerContextConfig_ConfigSource() {
}

func (m *DnsFilterConfig_ServerContextConfig) GetConfigSource() isDnsFilterConfig_ServerContextConfig_ConfigSource {
	if m != nil {
		return m.ConfigSource
	}
	return nil
}

func (m *DnsFilterConfig_ServerContextConfig) GetInlineDnsTable() *v3.DnsTable {
	if x, ok := m.GetConfigSource().(*DnsFilterConfig_ServerContextConfig_InlineDnsTable); ok {
		return x.InlineDnsTable
	}
	return nil
}

func (m *DnsFilterConfig_ServerContextConfig) GetExternalDnsTable() *v31.DataSource {
	if x, ok := m.GetConfigSource().(*DnsFilterConfig_ServerContextConfig_ExternalDnsTable); ok {
		return x.ExternalDnsTable
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*DnsFilterConfig_ServerContextConfig) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*DnsFilterConfig_ServerContextConfig_InlineDnsTable)(nil),
		(*DnsFilterConfig_ServerContextConfig_ExternalDnsTable)(nil),
	}
}

func init() {
	proto.RegisterType((*DnsFilterConfig)(nil), "envoy.extensions.filter.udp.dns_filter.v3alpha.DnsFilterConfig")
	proto.RegisterType((*DnsFilterConfig_ServerContextConfig)(nil), "envoy.extensions.filter.udp.dns_filter.v3alpha.DnsFilterConfig.ServerContextConfig")
}

func init() {
	proto.RegisterFile("envoy/extensions/filter/udp/dns_filter/v3alpha/dns_filter.proto", fileDescriptor_1a9b7dc81c276e0e)
}

var fileDescriptor_1a9b7dc81c276e0e = []byte{
	// 442 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x6f, 0xd3, 0x30,
	0x18, 0xc6, 0x49, 0xa8, 0x0a, 0xb8, 0xb4, 0x44, 0x01, 0x89, 0xaa, 0x08, 0x28, 0x9c, 0x7a, 0xb2,
	0xa5, 0xe6, 0x56, 0x55, 0x42, 0xa4, 0x08, 0x38, 0xa1, 0xa8, 0x85, 0x73, 0x70, 0x1b, 0xa7, 0x58,
	0x8a, 0xec, 0xc8, 0x76, 0xa2, 0xf4, 0xc6, 0x91, 0x8f, 0x80, 0x26, 0xed, 0x8b, 0xec, 0x3e, 0x69,
	0xd7, 0x7d, 0x9b, 0x69, 0xa7, 0xc9, 0x76, 0xd2, 0x75, 0xff, 0xa4, 0x75, 0xa7, 0x36, 0xef, 0xfb,
	0xf8, 0xf7, 0x3c, 0xef, 0x6b, 0x83, 0x4f, 0x84, 0x95, 0x7c, 0x83, 0x48, 0xa5, 0x08, 0x93, 0x94,
	0x33, 0x89, 0x52, 0x9a, 0x29, 0x22, 0x50, 0x91, 0xe4, 0x28, 0x61, 0x32, 0xae, 0x3f, 0xcb, 0x00,
	0x67, 0xf9, 0x1f, 0xbc, 0x53, 0x82, 0xb9, 0xe0, 0x8a, 0xfb, 0xd0, 0x00, 0xe0, 0x25, 0x00, 0xd6,
	0xed, 0x22, 0xc9, 0xe1, 0x8e, 0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