1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: envoy/api/v2/route.proto
3
4package envoy_api_v2
5
6import (
7	fmt "fmt"
8	_ "github.com/cncf/udpa/go/udpa/annotations"
9	core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
10	route "github.com/envoyproxy/go-control-plane/envoy/api/v2/route"
11	_ "github.com/envoyproxy/protoc-gen-validate/validate"
12	proto "github.com/golang/protobuf/proto"
13	wrappers "github.com/golang/protobuf/ptypes/wrappers"
14	math "math"
15)
16
17// Reference imports to suppress errors if they are not otherwise used.
18var _ = proto.Marshal
19var _ = fmt.Errorf
20var _ = math.Inf
21
22// This is a compile-time assertion to ensure that this generated file
23// is compatible with the proto package it is being compiled against.
24// A compilation error at this line likely means your copy of the
25// proto package needs to be updated.
26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
27
28type RouteConfiguration struct {
29	Name                            string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
30	VirtualHosts                    []*route.VirtualHost      `protobuf:"bytes,2,rep,name=virtual_hosts,json=virtualHosts,proto3" json:"virtual_hosts,omitempty"`
31	Vhds                            *Vhds                     `protobuf:"bytes,9,opt,name=vhds,proto3" json:"vhds,omitempty"`
32	InternalOnlyHeaders             []string                  `protobuf:"bytes,3,rep,name=internal_only_headers,json=internalOnlyHeaders,proto3" json:"internal_only_headers,omitempty"`
33	ResponseHeadersToAdd            []*core.HeaderValueOption `protobuf:"bytes,4,rep,name=response_headers_to_add,json=responseHeadersToAdd,proto3" json:"response_headers_to_add,omitempty"`
34	ResponseHeadersToRemove         []string                  `protobuf:"bytes,5,rep,name=response_headers_to_remove,json=responseHeadersToRemove,proto3" json:"response_headers_to_remove,omitempty"`
35	RequestHeadersToAdd             []*core.HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
36	RequestHeadersToRemove          []string                  `protobuf:"bytes,8,rep,name=request_headers_to_remove,json=requestHeadersToRemove,proto3" json:"request_headers_to_remove,omitempty"`
37	MostSpecificHeaderMutationsWins bool                      `protobuf:"varint,10,opt,name=most_specific_header_mutations_wins,json=mostSpecificHeaderMutationsWins,proto3" json:"most_specific_header_mutations_wins,omitempty"`
38	ValidateClusters                *wrappers.BoolValue       `protobuf:"bytes,7,opt,name=validate_clusters,json=validateClusters,proto3" json:"validate_clusters,omitempty"`
39	XXX_NoUnkeyedLiteral            struct{}                  `json:"-"`
40	XXX_unrecognized                []byte                    `json:"-"`
41	XXX_sizecache                   int32                     `json:"-"`
42}
43
44func (m *RouteConfiguration) Reset()         { *m = RouteConfiguration{} }
45func (m *RouteConfiguration) String() string { return proto.CompactTextString(m) }
46func (*RouteConfiguration) ProtoMessage()    {}
47func (*RouteConfiguration) Descriptor() ([]byte, []int) {
48	return fileDescriptor_1f33b4742f398551, []int{0}
49}
50
51func (m *RouteConfiguration) XXX_Unmarshal(b []byte) error {
52	return xxx_messageInfo_RouteConfiguration.Unmarshal(m, b)
53}
54func (m *RouteConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
55	return xxx_messageInfo_RouteConfiguration.Marshal(b, m, deterministic)
56}
57func (m *RouteConfiguration) XXX_Merge(src proto.Message) {
58	xxx_messageInfo_RouteConfiguration.Merge(m, src)
59}
60func (m *RouteConfiguration) XXX_Size() int {
61	return xxx_messageInfo_RouteConfiguration.Size(m)
62}
63func (m *RouteConfiguration) XXX_DiscardUnknown() {
64	xxx_messageInfo_RouteConfiguration.DiscardUnknown(m)
65}
66
67var xxx_messageInfo_RouteConfiguration proto.InternalMessageInfo
68
69func (m *RouteConfiguration) GetName() string {
70	if m != nil {
71		return m.Name
72	}
73	return ""
74}
75
76func (m *RouteConfiguration) GetVirtualHosts() []*route.VirtualHost {
77	if m != nil {
78		return m.VirtualHosts
79	}
80	return nil
81}
82
83func (m *RouteConfiguration) GetVhds() *Vhds {
84	if m != nil {
85		return m.Vhds
86	}
87	return nil
88}
89
90func (m *RouteConfiguration) GetInternalOnlyHeaders() []string {
91	if m != nil {
92		return m.InternalOnlyHeaders
93	}
94	return nil
95}
96
97func (m *RouteConfiguration) GetResponseHeadersToAdd() []*core.HeaderValueOption {
98	if m != nil {
99		return m.ResponseHeadersToAdd
100	}
101	return nil
102}
103
104func (m *RouteConfiguration) GetResponseHeadersToRemove() []string {
105	if m != nil {
106		return m.ResponseHeadersToRemove
107	}
108	return nil
109}
110
111func (m *RouteConfiguration) GetRequestHeadersToAdd() []*core.HeaderValueOption {
112	if m != nil {
113		return m.RequestHeadersToAdd
114	}
115	return nil
116}
117
118func (m *RouteConfiguration) GetRequestHeadersToRemove() []string {
119	if m != nil {
120		return m.RequestHeadersToRemove
121	}
122	return nil
123}
124
125func (m *RouteConfiguration) GetMostSpecificHeaderMutationsWins() bool {
126	if m != nil {
127		return m.MostSpecificHeaderMutationsWins
128	}
129	return false
130}
131
132func (m *RouteConfiguration) GetValidateClusters() *wrappers.BoolValue {
133	if m != nil {
134		return m.ValidateClusters
135	}
136	return nil
137}
138
139type Vhds struct {
140	ConfigSource         *core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
141	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
142	XXX_unrecognized     []byte             `json:"-"`
143	XXX_sizecache        int32              `json:"-"`
144}
145
146func (m *Vhds) Reset()         { *m = Vhds{} }
147func (m *Vhds) String() string { return proto.CompactTextString(m) }
148func (*Vhds) ProtoMessage()    {}
149func (*Vhds) Descriptor() ([]byte, []int) {
150	return fileDescriptor_1f33b4742f398551, []int{1}
151}
152
153func (m *Vhds) XXX_Unmarshal(b []byte) error {
154	return xxx_messageInfo_Vhds.Unmarshal(m, b)
155}
156func (m *Vhds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
157	return xxx_messageInfo_Vhds.Marshal(b, m, deterministic)
158}
159func (m *Vhds) XXX_Merge(src proto.Message) {
160	xxx_messageInfo_Vhds.Merge(m, src)
161}
162func (m *Vhds) XXX_Size() int {
163	return xxx_messageInfo_Vhds.Size(m)
164}
165func (m *Vhds) XXX_DiscardUnknown() {
166	xxx_messageInfo_Vhds.DiscardUnknown(m)
167}
168
169var xxx_messageInfo_Vhds proto.InternalMessageInfo
170
171func (m *Vhds) GetConfigSource() *core.ConfigSource {
172	if m != nil {
173		return m.ConfigSource
174	}
175	return nil
176}
177
178func init() {
179	proto.RegisterType((*RouteConfiguration)(nil), "envoy.api.v2.RouteConfiguration")
180	proto.RegisterType((*Vhds)(nil), "envoy.api.v2.Vhds")
181}
182
183func init() { proto.RegisterFile("envoy/api/v2/route.proto", fileDescriptor_1f33b4742f398551) }
184
185var fileDescriptor_1f33b4742f398551 = []byte{
186	// 568 bytes of a gzipped FileDescriptorProto
187	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4f, 0x6f, 0xd3, 0x30,
188	0x1c, 0x55, 0xd6, 0x3f, 0x6b, 0xbd, 0x4e, 0x2a, 0x1e, 0x5b, 0x43, 0x84, 0x58, 0x35, 0xfe, 0xa8,
189	0x5c, 0x12, 0xa9, 0x3b, 0x21, 0x4e, 0x64, 0x48, 0xdb, 0x01, 0xd8, 0x94, 0xa1, 0x72, 0x8c, 0xdc,
190	0xc4, 0x6d, 0x2d, 0x25, 0xfe, 0x05, 0xdb, 0xc9, 0xe8, 0x57, 0xe0, 0x82, 0xc4, 0x89, 0x6f, 0xc0,
191	0x57, 0xe3, 0xcc, 0x71, 0x07, 0x84, 0x62, 0x27, 0xb0, 0xac, 0x3b, 0xed, 0x52, 0xc5, 0x7d, 0xef,
192	0xfd, 0xde, 0xb3, 0xfd, 0x8c, 0x6c, 0xca, 0x0b, 0x58, 0x7b, 0x24, 0x63, 0x5e, 0x31, 0xf5, 0x04,
193	0xe4, 0x8a, 0xba, 0x99, 0x00, 0x05, 0x78, 0xa0, 0x11, 0x97, 0x64, 0xcc, 0x2d, 0xa6, 0xce, 0xe3,
194	0x06, 0x2f, 0x02, 0x41, 0xbd, 0x39, 0x91, 0x15, 0xd7, 0x79, 0xbe, 0x89, 0x46, 0xc0, 0x17, 0x6c,
195	0x19, 0x4a, 0xc8, 0x45, 0x54, 0xd3, 0x5e, 0x6e, 0x9a, 0x99, 0xdf, 0x30, 0x82, 0x34, 0x03, 0x4e,
196	0xb9, 0x92, 0x15, 0xf5, 0xc9, 0x12, 0x60, 0x99, 0x50, 0x4f, 0xaf, 0xe6, 0xf9, 0xc2, 0xbb, 0x12,
197	0x24, 0xcb, 0xa8, 0xf8, 0x87, 0xe7, 0x71, 0x46, 0x3c, 0xc2, 0x39, 0x28, 0xa2, 0x18, 0x70, 0xe9,
198	0xa5, 0x6c, 0x29, 0x48, 0x9d, 0xde, 0x19, 0x15, 0x24, 0x61, 0x31, 0x51, 0xd4, 0xab, 0x3f, 0x0c,
199	0x70, 0xf4, 0xb3, 0x83, 0x70, 0x50, 0x7a, 0x9e, 0xe8, 0x80, 0xb9, 0xd0, 0x72, 0x8c, 0x51, 0x9b,
200	0x93, 0x94, 0xda, 0xd6, 0xd8, 0x9a, 0xf4, 0x03, 0xfd, 0x8d, 0xdf, 0xa2, 0xdd, 0x82, 0x09, 0x95,
201	0x93, 0x24, 0x5c, 0x81, 0x54, 0xd2, 0xde, 0x1a, 0xb7, 0x26, 0x3b, 0xd3, 0x43, 0xf7, 0xe6, 0xc9,
202	0xb8, 0xe6, 0xcc, 0x66, 0x86, 0x78, 0x06, 0x52, 0x05, 0x83, 0xe2, 0xff, 0x42, 0xe2, 0x17, 0xa8,
203	0x5d, 0xac, 0x62, 0x69, 0xf7, 0xc7, 0xd6, 0x64, 0x67, 0x8a, 0x9b, 0xe2, 0xd9, 0x2a, 0x96, 0x81,
204	0xc6, 0xf1, 0x14, 0xed, 0x33, 0xae, 0xa8, 0xe0, 0x24, 0x09, 0x81, 0x27, 0xeb, 0x70, 0x45, 0x49,
205	0x4c, 0x85, 0xb4, 0x5b, 0xe3, 0xd6, 0xa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