Debian Codegraph @

envoy/config/common/mutation_rules/v3/mutation_rules.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/common/mutation_rules/v3/mutation_rules.proto
6
7 package mutation_rulesv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v31 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 v3 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
13 _ "github.com/envoyproxy/protoc-gen-validate/validate"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22 // Verify that this generated code is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24 // Verify that runtime/protoimpl is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28 // The HeaderMutationRules structure specifies what headers may be
29 // manipulated by a processing filter. This set of rules makes it
30 // possible to control which modifications a filter may make.
31 //
32 // By default, an external processing server may add, modify, or remove
33 // any header except for an "Envoy internal" header (which is typically
34 // denoted by an x-envoy prefix) or specific headers that may affect
35 // further filter processing:
36 //
37 // * “host“
38 // * “:authority“
39 // * “:scheme“
40 // * “:method“
41 //
42 // Every attempt to add, change, append, or remove a header will be
43 // tested against the rules here. Disallowed header mutations will be
44 // ignored unless “disallow_is_error“ is set to true.
45 //
46 // Attempts to remove headers are further constrained -- regardless of the
47 // settings, system-defined headers (that start with “:“) and the “host“
48 // header may never be removed.
49 //
50 // In addition, a counter will be incremented whenever a mutation is
51 // rejected. In the ext_proc filter, that counter is named
52 // “rejected_header_mutations“.
53 // [#next-free-field: 8]
54 type HeaderMutationRules struct {
55 state protoimpl.MessageState
56 sizeCache protoimpl.SizeCache
57 unknownFields protoimpl.UnknownFields
58
59 // By default, certain headers that could affect processing of subsequent
60 // filters or request routing cannot be modified. These headers are
61 // “host“, “:authority“, “:scheme“, and “:method“. Setting this parameter
62 // to true allows these headers to be modified as well.
63 AllowAllRouting *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=allow_all_routing,json=allowAllRouting,proto3" json:"allow_all_routing,omitempty"`
64 // If true, allow modification of envoy internal headers. By default, these
65 // start with “x-envoy“ but this may be overridden in the “Bootstrap“
66 // configuration using the
67 // :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
68 // field. Default is false.
69 AllowEnvoy *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=allow_envoy,json=allowEnvoy,proto3" json:"allow_envoy,omitempty"`
70 // If true, prevent modification of any system header, defined as a header
71 // that starts with a “:“ character, regardless of any other settings.
72 // A processing server may still override the “:status“ of an HTTP response
73 // using an “ImmediateResponse“ message. Default is false.
74 DisallowSystem *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=disallow_system,json=disallowSystem,proto3" json:"disallow_system,omitempty"`
75 // If true, prevent modifications of all header values, regardless of any
76 // other settings. A processing server may still override the “:status“
77 // of an HTTP response using an “ImmediateResponse“ message. Default is false.
78 DisallowAll *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=disallow_all,json=disallowAll,proto3" json:"disallow_all,omitempty"`
79 // If set, specifically allow any header that matches this regular
80 // expression. This overrides all other settings except for
81 // “disallow_expression“.
82 AllowExpression *v3.RegexMatcher `protobuf:"bytes,5,opt,name=allow_expression,json=allowExpression,proto3" json:"allow_expression,omitempty"`
83 // If set, specifically disallow any header that matches this regular
84 // expression regardless of any other settings.
85 DisallowExpression *v3.RegexMatcher `protobuf:"bytes,6,opt,name=disallow_expression,json=disallowExpression,proto3" json:"disallow_expression,omitempty"`
86 // If true, and if the rules in this list cause a header mutation to be
87 // disallowed, then the filter using this configuration will terminate the
88 // request with a 500 error. In addition, regardless of the setting of this
89 // parameter, any attempt to set, add, or modify a disallowed header will
90 // cause the “rejected_header_mutations“ counter to be incremented.
91 // Default is false.
92 DisallowIsError *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=disallow_is_error,json=disallowIsError,proto3" json:"disallow_is_error,omitempty"`
93 }
94
95 func (x *HeaderMutationRules) Reset() {
96 *x = HeaderMutationRules{}
97 if protoimpl.UnsafeEnabled {
98 mi := &file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[0]
99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
100 ms.StoreMessageInfo(mi)
101 }
102 }
103
104 func (x *HeaderMutationRules) String() string {
105 return protoimpl.X.MessageStringOf(x)
106 }
107
108 func (*HeaderMutationRules) ProtoMessage() {}
109
110 func (x *HeaderMutationRules) ProtoReflect() protoreflect.Message {
111 mi := &file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[0]
112 if protoimpl.UnsafeEnabled && x != nil {
113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
114 if ms.LoadMessageInfo() == nil {
115 ms.StoreMessageInfo(mi)
116 }
117 return ms
118 }
119 return mi.MessageOf(x)
120 }
121
122 // Deprecated: Use HeaderMutationRules.ProtoReflect.Descriptor instead.
123 func (*HeaderMutationRules) Descriptor() ([]byte, []int) {
124 return file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescGZIP(), []int{0}
125 }
126
127 func (x *HeaderMutationRules) GetAllowAllRouting() *wrapperspb.BoolValue {
128 if x != nil {
129 return x.AllowAllRouting
130 }
131 return nil
132 }
133
134 func (x *HeaderMutationRules) GetAllowEnvoy() *wrapperspb.BoolValue {
135 if x != nil {
136 return x.AllowEnvoy
137 }
138 return nil
139 }
140
141 func (x *HeaderMutationRules) GetDisallowSystem() *wrapperspb.BoolValue {
142 if x != nil {
143 return x.DisallowSystem
144 }
145 return nil
146 }
147
148 func (x *HeaderMutationRules) GetDisallowAll() *wrapperspb.BoolValue {
149 if x != nil {
150 return x.DisallowAll
151 }
152 return nil
153 }
154
155 func (x *HeaderMutationRules) GetAllowExpression() *v3.RegexMatcher {
156 if x != nil {
157 return x.AllowExpression
158 }
159 return nil
160 }
161
162 func (x *HeaderMutationRules) GetDisallowExpression() *v3.RegexMatcher {
163 if x != nil {
164 return x.DisallowExpression
165 }
166 return nil
167 }
168
169 func (x *HeaderMutationRules) GetDisallowIsError() *wrapperspb.BoolValue {
170 if x != nil {
171 return x.DisallowIsError
172 }
173 return nil
174 }
175
176 // The HeaderMutation structure specifies an action that may be taken on HTTP
177 // headers.
178 type HeaderMutation struct {
179 state protoimpl.MessageState
180 sizeCache protoimpl.SizeCache
181 unknownFields protoimpl.UnknownFields
182
183 // Types that are assignable to Action:
184 //
185 // *HeaderMutation_Remove
186 // *HeaderMutation_Append
187 Action isHeaderMutation_Action `protobuf_oneof:"action"`
188 }
189
190 func (x *HeaderMutation) Reset() {
191 *x = HeaderMutation{}
192 if protoimpl.UnsafeEnabled {
193 mi := &file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[1]
194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195 ms.StoreMessageInfo(mi)
196 }
197 }
198
199 func (x *HeaderMutation) String() string {
200 return protoimpl.X.MessageStringOf(x)
201 }
202
203 func (*HeaderMutation) ProtoMessage() {}
204
205 func (x *HeaderMutation) ProtoReflect() protoreflect.Message {
206 mi := &file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[1]
207 if protoimpl.UnsafeEnabled && x != nil {
208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209 if ms.LoadMessageInfo() == nil {
210 ms.StoreMessageInfo(mi)
211 }
212 return ms
213 }
214 return mi.MessageOf(x)
215 }
216
217 // Deprecated: Use HeaderMutation.ProtoReflect.Descriptor instead.
218 func (*HeaderMutation) Descriptor() ([]byte, []int) {
219 return file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescGZIP(), []int{1}
220 }
221
222 func (m *HeaderMutation) GetAction() isHeaderMutation_Action {
223 if m != nil {
224 return m.Action
225 }
226 return nil
227 }
228
229 func (x *HeaderMutation) GetRemove() string {
230 if x, ok := x.GetAction().(*HeaderMutation_Remove); ok {
231 return x.Remove
232 }
233 return ""
234 }
235
236 func (x *HeaderMutation) GetAppend() *v31.HeaderValueOption {
237 if x, ok := x.GetAction().(*HeaderMutation_Append); ok {
238 return x.Append
239 }
240 return nil
241 }
242
243 type isHeaderMutation_Action interface {
244 isHeaderMutation_Action()
245 }
246
247 type HeaderMutation_Remove struct {
248 // Remove the specified header if it exists.
249 Remove string `protobuf:"bytes,1,opt,name=remove,proto3,oneof"`
250 }
251
252 type HeaderMutation_Append struct {
253 // Append new header by the specified HeaderValueOption.
254 Append *v31.HeaderValueOption `protobuf:"bytes,2,opt,name=append,proto3,oneof"`
255 }
256
257 func (*HeaderMutation_Remove) isHeaderMutation_Action() {}
258
259 func (*HeaderMutation_Append) isHeaderMutation_Action() {}
260
261 var File_envoy_config_common_mutation_rules_v3_mutation_rules_proto protoreflect.FileDescriptor
262
263 var file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDesc = []byte{
264 0x0a, 0x3a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
265 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
266 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
267 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x65, 0x6e,
268 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
269 0x6e, 0x2e, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73,
270 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
271 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70,
272 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65,
273 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x67, 0x65,
274 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
275 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72,
276 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
277 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
278 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
279 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
280 0x8c, 0x04, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69,
281 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
282 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
283 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
284 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f,
285 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12,
286 0x3b, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x18, 0x02,
287 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
288 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65,
289 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x12, 0x43, 0x0a, 0x0f,
290 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18,
291 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
292 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75,
293 0x65, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65,
294 0x6d, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c,
295 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
296 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61,
297 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c,
298 0x12, 0x4e, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73,
299 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76,
300 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e,
301 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x65, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52,
302 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
303 0x12, 0x54, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x70,
304 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
305 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68,
306 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x65, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68,
307 0x65, 0x72, 0x52, 0x12, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72,
308 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c,
309 0x6f, 0x77, 0x5f, 0x69, 0x73, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
310 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
311 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x64,
312 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x89,
313 0x01, 0x0a, 0x0e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f,
314 0x6e, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
315 0x09, 0x42, 0x0b, 0xfa, 0x42, 0x08, 0x72, 0x06, 0xc8, 0x01, 0x00, 0xc0, 0x01, 0x02, 0x48, 0x00,
316 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x65,
317 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
318 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
319 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
320 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x42, 0x0d, 0x0a, 0x06, 0x61,
321 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0xb2, 0x01, 0xba, 0x80, 0xc8,
322 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x33, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
323 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
324 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f,
325 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x4d, 0x75, 0x74, 0x61,
326 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
327 0x5a, 0x5d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76,
328 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72,
329 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63,
330 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x75, 0x74,
331 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x6d,
332 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x76, 0x33, 0x62,
333 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
334 }
335
336 var (
337 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescOnce sync.Once
338 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescData = file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDesc
339 )
340
341 func file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescGZIP() []byte {
342 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescOnce.Do(func() {
343 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescData)
344 })
345 return file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDescData
346 }
347
348 var file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
349 var file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_goTypes = []interface{}{
350 (*HeaderMutationRules)(nil), // 0: envoy.config.common.mutation_rules.v3.HeaderMutationRules
351 (*HeaderMutation)(nil), // 1: envoy.config.common.mutation_rules.v3.HeaderMutation
352 (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue
353 (*v3.RegexMatcher)(nil), // 3: envoy.type.matcher.v3.RegexMatcher
354 (*v31.HeaderValueOption)(nil), // 4: envoy.config.core.v3.HeaderValueOption
355 }
356 var file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_depIdxs = []int32{
357 2, // 0: envoy.config.common.mutation_rules.v3.HeaderMutationRules.allow_all_routing:type_name -> google.protobuf.BoolValue
358 2, // 1: envoy.config.common.mutation_rules.v3.HeaderMutationRules.allow_envoy:type_name -> google.protobuf.BoolValue
359 2, // 2: envoy.config.common.mutation_rules.v3.HeaderMutationRules.disallow_system:type_name -> google.protobuf.BoolValue
360 2, // 3: envoy.config.common.mutation_rules.v3.HeaderMutationRules.disallow_all:type_name -> google.protobuf.BoolValue
361 3, // 4: envoy.config.common.mutation_rules.v3.HeaderMutationRules.allow_expression:type_name -> envoy.type.matcher.v3.RegexMatcher
362 3, // 5: envoy.config.common.mutation_rules.v3.HeaderMutationRules.disallow_expression:type_name -> envoy.type.matcher.v3.RegexMatcher
363 2, // 6: envoy.config.common.mutation_rules.v3.HeaderMutationRules.disallow_is_error:type_name -> google.protobuf.BoolValue
364 4, // 7: envoy.config.common.mutation_rules.v3.HeaderMutation.append:type_name -> envoy.config.core.v3.HeaderValueOption
365 8, // [8:8] is the sub-list for method output_type
366 8, // [8:8] is the sub-list for method input_type
367 8, // [8:8] is the sub-list for extension type_name
368 8, // [8:8] is the sub-list for extension extendee
369 0, // [0:8] is the sub-list for field type_name
370 }
371
372 func init() { file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_init() }
373 func file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_init() {
374 if File_envoy_config_common_mutation_rules_v3_mutation_rules_proto != nil {
375 return
376 }
377 if !protoimpl.UnsafeEnabled {
378 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
379 switch v := v.(*HeaderMutationRules); i {
380 case 0:
381 return &v.state
382 case 1:
383 return &v.sizeCache
384 case 2:
385 return &v.unknownFields
386 default:
387 return nil
388 }
389 }
390 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
391 switch v := v.(*HeaderMutation); i {
392 case 0:
393 return &v.state
394 case 1:
395 return &v.sizeCache
396 case 2:
397 return &v.unknownFields
398 default:
399 return nil
400 }
401 }
402 }
403 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes[1].OneofWrappers = []interface{}{
404 (*HeaderMutation_Remove)(nil),
405 (*HeaderMutation_Append)(nil),
406 }
407 type x struct{}
408 out := protoimpl.TypeBuilder{
409 File: protoimpl.DescBuilder{
410 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
411 RawDescriptor: file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDesc,
412 NumEnums: 0,
413 NumMessages: 2,
414 NumExtensions: 0,
415 NumServices: 0,
416 },
417 GoTypes: file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_goTypes,
418 DependencyIndexes: file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_depIdxs,
419 MessageInfos: file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_msgTypes,
420 }.Build()
421 File_envoy_config_common_mutation_rules_v3_mutation_rules_proto = out.File
422 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_rawDesc = nil
423 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_goTypes = nil
424 file_envoy_config_common_mutation_rules_v3_mutation_rules_proto_depIdxs = nil
425 }