// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/config/filter/udp/udp_proxy/v2alpha/udp_proxy.proto

package envoy_config_filter_udp_udp_proxy_v2alpha

import (
	fmt "fmt"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	proto "github.com/golang/protobuf/proto"
	duration "github.com/golang/protobuf/ptypes/duration"
	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 UdpProxyConfig struct {
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// Types that are valid to be assigned to RouteSpecifier:
	//	*UdpProxyConfig_Cluster
	RouteSpecifier       isUdpProxyConfig_RouteSpecifier `protobuf_oneof:"route_specifier"`
	IdleTimeout          *duration.Duration              `protobuf:"bytes,3,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

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

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

var xxx_messageInfo_UdpProxyConfig proto.InternalMessageInfo

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

type isUdpProxyConfig_RouteSpecifier interface {
	isUdpProxyConfig_RouteSpecifier()
}

type UdpProxyConfig_Cluster struct {
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"`
}

func (*UdpProxyConfig_Cluster) isUdpProxyConfig_RouteSpecifier() {}

func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier {
	if m != nil {
		return m.RouteSpecifier
	}
	return nil
}

func (m *UdpProxyConfig) GetCluster() string {
	if x, ok := m.GetRouteSpecifier().(*UdpProxyConfig_Cluster); ok {
		return x.Cluster
	}
	return ""
}

func (m *UdpProxyConfig) GetIdleTimeout() *duration.Duration {
	if m != nil {
		return m.IdleTimeout
	}
	return nil
}

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

func init() {
	proto.RegisterType((*UdpProxyConfig)(nil), "envoy.config.filter.udp.udp_proxy.v2alpha.UdpProxyConfig")
}

func init() {
	proto.RegisterFile("envoy/config/filter/udp/udp_proxy/v2alpha/udp_proxy.proto", fileDescriptor_82ee653a514c2977)
}

var fileDescriptor_82ee653a514c2977 = []byte{
	// 289 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xcf, 0x4a, 0xf4, 0x30,
	0x14, 0xc5, 0xbf, 0xcc, 0x7c, 0x38, 0x98, 0xf1, 0x0f, 0x74, 0xa1, 0xe3, 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