// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/api/v2/listener/udp_listener_config.proto

package envoy_api_v2_listener

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	any "github.com/golang/protobuf/ptypes/any"
	_struct "github.com/golang/protobuf/ptypes/struct"
	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 UdpListenerConfig struct {
	UdpListenerName string `protobuf:"bytes,1,opt,name=udp_listener_name,json=udpListenerName,proto3" json:"udp_listener_name,omitempty"`
	// Types that are valid to be assigned to ConfigType:
	//	*UdpListenerConfig_Config
	//	*UdpListenerConfig_TypedConfig
	ConfigType           isUdpListenerConfig_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

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

var xxx_messageInfo_UdpListenerConfig proto.InternalMessageInfo

func (m *UdpListenerConfig) GetUdpListenerName() string {
	if m != nil {
		return m.UdpListenerName
	}
	return ""
}

type isUdpListenerConfig_ConfigType interface {
	isUdpListenerConfig_ConfigType()
}

type UdpListenerConfig_Config struct {
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type UdpListenerConfig_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

func (*UdpListenerConfig_Config) isUdpListenerConfig_ConfigType() {}

func (*UdpListenerConfig_TypedConfig) isUdpListenerConfig_ConfigType() {}

func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType {
	if m != nil {
		return m.ConfigType
	}
	return nil
}

// Deprecated: Do not use.
func (m *UdpListenerConfig) GetConfig() *_struct.Struct {
	if x, ok := m.GetConfigType().(*UdpListenerConfig_Config); ok {
		return x.Config
	}
	return nil
}

func (m *UdpListenerConfig) GetTypedConfig() *any.Any {
	if x, ok := m.GetConfigType().(*UdpListenerConfig_TypedConfig); ok {
		return x.TypedConfig
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*UdpListenerConfig) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*UdpListenerConfig_Config)(nil),
		(*UdpListenerConfig_TypedConfig)(nil),
	}
}

func init() {
	proto.RegisterType((*UdpListenerConfig)(nil), "envoy.api.v2.listener.UdpListenerConfig")
}

func init() {
	proto.RegisterFile("envoy/api/v2/listener/udp_listener_config.proto", fileDescriptor_04a0b1c45e39fc83)
}

var fileDescriptor_04a0b1c45e39fc83 = []byte{
	// 277 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xcd, 0x2b, 0xcb,
	0xaf, 0xd4, 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c4, 0x75, 0x4e, 0xbc, 0x5c, 0xdc, 0x10, 0x4d,
	0xf1, 0x20, 0x51, 0xa7, 0x62, 0x2e, 0xe5, 0xcc, 0x7c, 0x3d, 0x70, 0xb8, 0x14, 0x14, 0xe5, 0x57,
	0x54, 0xea, 0x61, 0x0d, 0x22, 0x27, 0x31, 0x0c, 0x6f, 0x06, 0x80, 0xec, 0x08, 0x60, 0x5c, 0xc5,
	0x24, 0xee, 0x0a, 0xd6, 0xe1, 0x58, 0x90, 0xa9, 0x17, 0x66, 0xa4, 0x07, 0xf7, 0x5d, 0xf0, 0x2b,
	0x9c, 0x32, 0x49, 0x6c, 0x60, 0x07, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x62, 0xec, 0xc3,
	0x43, 0xc1, 0x01, 0x00, 0x00,
}
