1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: envoy/type/matcher/path.proto
3
4package envoy_type_matcher
5
6import (
7	fmt "fmt"
8	_ "github.com/cncf/udpa/go/udpa/annotations"
9	_ "github.com/envoyproxy/protoc-gen-validate/validate"
10	proto "github.com/golang/protobuf/proto"
11	math "math"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18
19// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
24
25type PathMatcher struct {
26	// Types that are valid to be assigned to Rule:
27	//	*PathMatcher_Path
28	Rule                 isPathMatcher_Rule `protobuf_oneof:"rule"`
29	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
30	XXX_unrecognized     []byte             `json:"-"`
31	XXX_sizecache        int32              `json:"-"`
32}
33
34func (m *PathMatcher) Reset()         { *m = PathMatcher{} }
35func (m *PathMatcher) String() string { return proto.CompactTextString(m) }
36func (*PathMatcher) ProtoMessage()    {}
37func (*PathMatcher) Descriptor() ([]byte, []int) {
38	return fileDescriptor_bec7ed88adc90b4e, []int{0}
39}
40
41func (m *PathMatcher) XXX_Unmarshal(b []byte) error {
42	return xxx_messageInfo_PathMatcher.Unmarshal(m, b)
43}
44func (m *PathMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
45	return xxx_messageInfo_PathMatcher.Marshal(b, m, deterministic)
46}
47func (m *PathMatcher) XXX_Merge(src proto.Message) {
48	xxx_messageInfo_PathMatcher.Merge(m, src)
49}
50func (m *PathMatcher) XXX_Size() int {
51	return xxx_messageInfo_PathMatcher.Size(m)
52}
53func (m *PathMatcher) XXX_DiscardUnknown() {
54	xxx_messageInfo_PathMatcher.DiscardUnknown(m)
55}
56
57var xxx_messageInfo_PathMatcher proto.InternalMessageInfo
58
59type isPathMatcher_Rule interface {
60	isPathMatcher_Rule()
61}
62
63type PathMatcher_Path struct {
64	Path *StringMatcher `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
65}
66
67func (*PathMatcher_Path) isPathMatcher_Rule() {}
68
69func (m *PathMatcher) GetRule() isPathMatcher_Rule {
70	if m != nil {
71		return m.Rule
72	}
73	return nil
74}
75
76func (m *PathMatcher) GetPath() *StringMatcher {
77	if x, ok := m.GetRule().(*PathMatcher_Path); ok {
78		return x.Path
79	}
80	return nil
81}
82
83// XXX_OneofWrappers is for the internal use of the proto package.
84func (*PathMatcher) XXX_OneofWrappers() []interface{} {
85	return []interface{}{
86		(*PathMatcher_Path)(nil),
87	}
88}
89
90func init() {
91	proto.RegisterType((*PathMatcher)(nil), "envoy.type.matcher.PathMatcher")
92}
93
94func init() { proto.RegisterFile("envoy/type/matcher/path.proto", fileDescriptor_bec7ed88adc90b4e) }
95
96var fileDescriptor_bec7ed88adc90b4e = []byte{
97	// 219 bytes of a gzipped FileDescriptorProto
98	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xcd, 0x2b, 0xcb,
99	0xaf, 0xd4, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0xcf, 0x4d, 0x2c, 0x49, 0xce, 0x48, 0x2d, 0xd2, 0x2f,
100	0x48, 0x2c, 0xc9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x02, 0x4b, 0xeb, 0x81, 0xa4,
101	0xf5, 0xa0, 0xd2, 0x52, 0xf2, 0x58, 0xb4, 0x14, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0x43, 0x34, 0x49,
102	0xc9, 0x96, 0xa6, 0x14, 0x24, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, 0x64, 0xe6, 0xe7,
103	0x15, 0xeb, 0x17, 0x97, 0x24, 0x96, 0x94, 0x16, 0x43, 0xa5, 0xc5, 0xcb, 0x12, 0x73, 0x32, 0x53,
104	0x12, 0x4b, 0x52, 0xf5, 0x61, 0x0c, 0x88, 0x84, 0x52, 0x2c, 0x17, 0x77, 0x40, 0x62, 0x49, 0x86,
105	0x2f, 0xc4, 0x4c, 0x21, 0x47, 0x2e, 0x16, 0x90, 0x4b, 0x24, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d,
106	0x14, 0xf5, 0x30, 0x9d, 0xa2, 0x17, 0x0c, 0xb6, 0x16, 0xaa, 0xc1, 0x89, 0xe3, 0x97, 0x13, 0x6b,
107	0x17, 0x23, 0x93, 0x00, 0xa3, 0x07, 0x43, 0x10, 0x58, 0xab, 0x13, 0x37, 0x17, 0x4b, 0x51, 0x69,
108	0x4e, 0xaa, 0x10, 0xf3, 0x0f, 0x27, 0x46, 0x27, 0xf3, 0x5d, 0x0d, 0x27, 0x2e, 0xb2, 0x31, 0x09,
109	0x30, 0x72, 0x29, 0x64, 0xe6, 0x43, 0x4c, 0x2b, 0x28, 0xca, 0xaf, 0xa8, 0xc4, 0x62, 0xb0, 0x13,
110	0x27, 0xc8, 0x21, 0x01, 0x20, 0x57, 0x05, 0x30, 0x26, 0xb1, 0x81, 0x9d, 0x67, 0x0c, 0x08, 0x00,
111	0x00, 0xff, 0xff, 0xd2, 0xe6, 0x6d, 0x00, 0x2c, 0x01, 0x00, 0x00,
112}
113