// 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/cncf/udpa/go/udpa/annotations"
	_ "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{
	// 316 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x3f, 0x4b, 0x73, 0x31,
	0x18, 0xc5, 0xdf, 0xb4, 0x2f, 0x2d, 0xa6, 0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