Debian Codegraph @

envoy/service/ext_proc/v3/external_processor.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/service/ext_proc/v3/external_processor.proto
6
7 package ext_procv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
12 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
13 v31 "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/ext_proc/v3"
14 v32 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
15 _ "github.com/envoyproxy/protoc-gen-validate/validate"
16 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
17 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
18 durationpb "google.golang.org/protobuf/types/known/durationpb"
19 structpb "google.golang.org/protobuf/types/known/structpb"
20 reflect "reflect"
21 sync "sync"
22 )
23
24 const (
25 // Verify that this generated code is sufficiently up-to-date.
26 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
27 // Verify that runtime/protoimpl is sufficiently up-to-date.
28 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
29 )
30
31 // The status of the response.
32 type CommonResponse_ResponseStatus int32
33
34 const (
35 // Apply the mutation instructions in this message to the
36 // request or response, and then continue processing the filter
37 // stream as normal. This is the default.
38 CommonResponse_CONTINUE CommonResponse_ResponseStatus = 0
39 // Apply the specified header mutation, replace the body with the body
40 // specified in the body mutation (if present), and do not send any
41 // further messages for this request or response even if the processing
42 // mode is configured to do so.
43 //
44 // When used in response to a request_headers or response_headers message,
45 // this status makes it possible to either completely replace the body
46 // while discarding the original body, or to add a body to a message that
47 // formerly did not have one.
48 //
49 // In other words, this response makes it possible to turn an HTTP GET
50 // into a POST, PUT, or PATCH.
51 CommonResponse_CONTINUE_AND_REPLACE CommonResponse_ResponseStatus = 1
52 )
53
54 // Enum value maps for CommonResponse_ResponseStatus.
55 var (
56 CommonResponse_ResponseStatus_name = map[int32]string{
57 0: "CONTINUE",
58 1: "CONTINUE_AND_REPLACE",
59 }
60 CommonResponse_ResponseStatus_value = map[string]int32{
61 "CONTINUE": 0,
62 "CONTINUE_AND_REPLACE": 1,
63 }
64 )
65
66 func (x CommonResponse_ResponseStatus) Enum() *CommonResponse_ResponseStatus {
67 p := new(CommonResponse_ResponseStatus)
68 *p = x
69 return p
70 }
71
72 func (x CommonResponse_ResponseStatus) String() string {
73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
74 }
75
76 func (CommonResponse_ResponseStatus) Descriptor() protoreflect.EnumDescriptor {
77 return file_envoy_service_ext_proc_v3_external_processor_proto_enumTypes[0].Descriptor()
78 }
79
80 func (CommonResponse_ResponseStatus) Type() protoreflect.EnumType {
81 return &file_envoy_service_ext_proc_v3_external_processor_proto_enumTypes[0]
82 }
83
84 func (x CommonResponse_ResponseStatus) Number() protoreflect.EnumNumber {
85 return protoreflect.EnumNumber(x)
86 }
87
88 // Deprecated: Use CommonResponse_ResponseStatus.Descriptor instead.
89 func (CommonResponse_ResponseStatus) EnumDescriptor() ([]byte, []int) {
90 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{8, 0}
91 }
92
93 // This represents the different types of messages that Envoy can send
94 // to an external processing server.
95 // [#next-free-field: 11]
96 type ProcessingRequest struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 // Each request message will include one of the following sub-messages. Which
102 // ones are set for a particular HTTP request/response depend on the
103 // processing mode.
104 //
105 // Types that are assignable to Request:
106 //
107 // *ProcessingRequest_RequestHeaders
108 // *ProcessingRequest_ResponseHeaders
109 // *ProcessingRequest_RequestBody
110 // *ProcessingRequest_ResponseBody
111 // *ProcessingRequest_RequestTrailers
112 // *ProcessingRequest_ResponseTrailers
113 Request isProcessingRequest_Request `protobuf_oneof:"request"`
114 // Dynamic metadata associated with the request.
115 MetadataContext *v3.Metadata `protobuf:"bytes,8,opt,name=metadata_context,json=metadataContext,proto3" json:"metadata_context,omitempty"`
116 // The values of properties selected by the “request_attributes“
117 // or “response_attributes“ list in the configuration. Each entry
118 // in the list is populated from the standard
119 // :ref:`attributes <arch_overview_attributes>` supported across Envoy.
120 Attributes map[string]*structpb.Struct `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
121 // Specify whether the filter that sent this request is running in :ref:`observability_mode
122 // <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>`
123 // and defaults to false.
124 //
125 // - A value of “false“ indicates that the server must respond
126 // to this message by either sending back a matching ProcessingResponse message,
127 // or by closing the stream.
128 // - A value of “true“ indicates that the server should not respond to this message, as any
129 // responses will be ignored. However, it may still close the stream to indicate that no more messages
130 // are needed.
131 ObservabilityMode bool `protobuf:"varint,10,opt,name=observability_mode,json=observabilityMode,proto3" json:"observability_mode,omitempty"`
132 }
133
134 func (x *ProcessingRequest) Reset() {
135 *x = ProcessingRequest{}
136 if protoimpl.UnsafeEnabled {
137 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[0]
138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139 ms.StoreMessageInfo(mi)
140 }
141 }
142
143 func (x *ProcessingRequest) String() string {
144 return protoimpl.X.MessageStringOf(x)
145 }
146
147 func (*ProcessingRequest) ProtoMessage() {}
148
149 func (x *ProcessingRequest) ProtoReflect() protoreflect.Message {
150 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[0]
151 if protoimpl.UnsafeEnabled && x != nil {
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 if ms.LoadMessageInfo() == nil {
154 ms.StoreMessageInfo(mi)
155 }
156 return ms
157 }
158 return mi.MessageOf(x)
159 }
160
161 // Deprecated: Use ProcessingRequest.ProtoReflect.Descriptor instead.
162 func (*ProcessingRequest) Descriptor() ([]byte, []int) {
163 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{0}
164 }
165
166 func (m *ProcessingRequest) GetRequest() isProcessingRequest_Request {
167 if m != nil {
168 return m.Request
169 }
170 return nil
171 }
172
173 func (x *ProcessingRequest) GetRequestHeaders() *HttpHeaders {
174 if x, ok := x.GetRequest().(*ProcessingRequest_RequestHeaders); ok {
175 return x.RequestHeaders
176 }
177 return nil
178 }
179
180 func (x *ProcessingRequest) GetResponseHeaders() *HttpHeaders {
181 if x, ok := x.GetRequest().(*ProcessingRequest_ResponseHeaders); ok {
182 return x.ResponseHeaders
183 }
184 return nil
185 }
186
187 func (x *ProcessingRequest) GetRequestBody() *HttpBody {
188 if x, ok := x.GetRequest().(*ProcessingRequest_RequestBody); ok {
189 return x.RequestBody
190 }
191 return nil
192 }
193
194 func (x *ProcessingRequest) GetResponseBody() *HttpBody {
195 if x, ok := x.GetRequest().(*ProcessingRequest_ResponseBody); ok {
196 return x.ResponseBody
197 }
198 return nil
199 }
200
201 func (x *ProcessingRequest) GetRequestTrailers() *HttpTrailers {
202 if x, ok := x.GetRequest().(*ProcessingRequest_RequestTrailers); ok {
203 return x.RequestTrailers
204 }
205 return nil
206 }
207
208 func (x *ProcessingRequest) GetResponseTrailers() *HttpTrailers {
209 if x, ok := x.GetRequest().(*ProcessingRequest_ResponseTrailers); ok {
210 return x.ResponseTrailers
211 }
212 return nil
213 }
214
215 func (x *ProcessingRequest) GetMetadataContext() *v3.Metadata {
216 if x != nil {
217 return x.MetadataContext
218 }
219 return nil
220 }
221
222 func (x *ProcessingRequest) GetAttributes() map[string]*structpb.Struct {
223 if x != nil {
224 return x.Attributes
225 }
226 return nil
227 }
228
229 func (x *ProcessingRequest) GetObservabilityMode() bool {
230 if x != nil {
231 return x.ObservabilityMode
232 }
233 return false
234 }
235
236 type isProcessingRequest_Request interface {
237 isProcessingRequest_Request()
238 }
239
240 type ProcessingRequest_RequestHeaders struct {
241 // Information about the HTTP request headers, as well as peer info and additional
242 // properties. Unless “observability_mode“ is “true“, the server must send back a
243 // HeaderResponse message, an ImmediateResponse message, or close the stream.
244 RequestHeaders *HttpHeaders `protobuf:"bytes,2,opt,name=request_headers,json=requestHeaders,proto3,oneof"`
245 }
246
247 type ProcessingRequest_ResponseHeaders struct {
248 // Information about the HTTP response headers, as well as peer info and additional
249 // properties. Unless “observability_mode“ is “true“, the server must send back a
250 // HeaderResponse message or close the stream.
251 ResponseHeaders *HttpHeaders `protobuf:"bytes,3,opt,name=response_headers,json=responseHeaders,proto3,oneof"`
252 }
253
254 type ProcessingRequest_RequestBody struct {
255 // A chunk of the HTTP request body. Unless “observability_mode“ is true, the server must send back
256 // a BodyResponse message, an ImmediateResponse message, or close the stream.
257 RequestBody *HttpBody `protobuf:"bytes,4,opt,name=request_body,json=requestBody,proto3,oneof"`
258 }
259
260 type ProcessingRequest_ResponseBody struct {
261 // A chunk of the HTTP response body. Unless “observability_mode“ is “true“, the server must send back
262 // a BodyResponse message or close the stream.
263 ResponseBody *HttpBody `protobuf:"bytes,5,opt,name=response_body,json=responseBody,proto3,oneof"`
264 }
265
266 type ProcessingRequest_RequestTrailers struct {
267 // The HTTP trailers for the request path. Unless “observability_mode“ is “true“, the server
268 // must send back a TrailerResponse message or close the stream.
269 //
270 // This message is only sent if the trailers processing mode is set to “SEND“ and
271 // the original downstream request has trailers.
272 RequestTrailers *HttpTrailers `protobuf:"bytes,6,opt,name=request_trailers,json=requestTrailers,proto3,oneof"`
273 }
274
275 type ProcessingRequest_ResponseTrailers struct {
276 // The HTTP trailers for the response path. Unless “observability_mode“ is “true“, the server
277 // must send back a TrailerResponse message or close the stream.
278 //
279 // This message is only sent if the trailers processing mode is set to “SEND“ and
280 // the original upstream response has trailers.
281 ResponseTrailers *HttpTrailers `protobuf:"bytes,7,opt,name=response_trailers,json=responseTrailers,proto3,oneof"`
282 }
283
284 func (*ProcessingRequest_RequestHeaders) isProcessingRequest_Request() {}
285
286 func (*ProcessingRequest_ResponseHeaders) isProcessingRequest_Request() {}
287
288 func (*ProcessingRequest_RequestBody) isProcessingRequest_Request() {}
289
290 func (*ProcessingRequest_ResponseBody) isProcessingRequest_Request() {}
291
292 func (*ProcessingRequest_RequestTrailers) isProcessingRequest_Request() {}
293
294 func (*ProcessingRequest_ResponseTrailers) isProcessingRequest_Request() {}
295
296 // For every ProcessingRequest received by the server with the “observability_mode“ field
297 // set to false, the server must send back exactly one ProcessingResponse message.
298 // [#next-free-field: 11]
299 type ProcessingResponse struct {
300 state protoimpl.MessageState
301 sizeCache protoimpl.SizeCache
302 unknownFields protoimpl.UnknownFields
303
304 // The response type that is sent by the server.
305 //
306 // Types that are assignable to Response:
307 //
308 // *ProcessingResponse_RequestHeaders
309 // *ProcessingResponse_ResponseHeaders
310 // *ProcessingResponse_RequestBody
311 // *ProcessingResponse_ResponseBody
312 // *ProcessingResponse_RequestTrailers
313 // *ProcessingResponse_ResponseTrailers
314 // *ProcessingResponse_ImmediateResponse
315 Response isProcessingResponse_Response `protobuf_oneof:"response"`
316 // Optional metadata that will be emitted as dynamic metadata to be consumed by
317 // following filters. This metadata will be placed in the namespace(s) specified by the top-level
318 // field name(s) of the struct.
319 DynamicMetadata *structpb.Struct `protobuf:"bytes,8,opt,name=dynamic_metadata,json=dynamicMetadata,proto3" json:"dynamic_metadata,omitempty"`
320 // Override how parts of the HTTP request and response are processed
321 // for the duration of this particular request/response only. Servers
322 // may use this to intelligently control how requests are processed
323 // based on the headers and other metadata that they see.
324 // This field is only applicable when servers responding to the header requests.
325 // If it is set in the response to the body or trailer requests, it will be ignored by Envoy.
326 // It is also ignored by Envoy when the ext_proc filter config
327 // :ref:`allow_mode_override
328 // <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>`
329 // is set to false, or
330 // :ref:`send_body_without_waiting_for_header_response
331 // <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>`
332 // is set to true.
333 ModeOverride *v31.ProcessingMode `protobuf:"bytes,9,opt,name=mode_override,json=modeOverride,proto3" json:"mode_override,omitempty"`
334 // When ext_proc server receives a request message, in case it needs more
335 // time to process the message, it sends back a ProcessingResponse message
336 // with a new timeout value. When Envoy receives this response message,
337 // it ignores other fields in the response, just stop the original timer,
338 // which has the timeout value specified in
339 // :ref:`message_timeout
340 // <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>`
341 // and start a new timer with this “override_message_timeout“ value and keep the
342 // Envoy ext_proc filter state machine intact.
343 // Has to be >= 1ms and <=
344 // :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>`
345 // Such message can be sent at most once in a particular Envoy ext_proc filter processing state.
346 // To enable this API, one has to set “max_message_timeout“ to a number >= 1ms.
347 OverrideMessageTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=override_message_timeout,json=overrideMessageTimeout,proto3" json:"override_message_timeout,omitempty"`
348 }
349
350 func (x *ProcessingResponse) Reset() {
351 *x = ProcessingResponse{}
352 if protoimpl.UnsafeEnabled {
353 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[1]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357 }
358
359 func (x *ProcessingResponse) String() string {
360 return protoimpl.X.MessageStringOf(x)
361 }
362
363 func (*ProcessingResponse) ProtoMessage() {}
364
365 func (x *ProcessingResponse) ProtoReflect() protoreflect.Message {
366 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[1]
367 if protoimpl.UnsafeEnabled && x != nil {
368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369 if ms.LoadMessageInfo() == nil {
370 ms.StoreMessageInfo(mi)
371 }
372 return ms
373 }
374 return mi.MessageOf(x)
375 }
376
377 // Deprecated: Use ProcessingResponse.ProtoReflect.Descriptor instead.
378 func (*ProcessingResponse) Descriptor() ([]byte, []int) {
379 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{1}
380 }
381
382 func (m *ProcessingResponse) GetResponse() isProcessingResponse_Response {
383 if m != nil {
384 return m.Response
385 }
386 return nil
387 }
388
389 func (x *ProcessingResponse) GetRequestHeaders() *HeadersResponse {
390 if x, ok := x.GetResponse().(*ProcessingResponse_RequestHeaders); ok {
391 return x.RequestHeaders
392 }
393 return nil
394 }
395
396 func (x *ProcessingResponse) GetResponseHeaders() *HeadersResponse {
397 if x, ok := x.GetResponse().(*ProcessingResponse_ResponseHeaders); ok {
398 return x.ResponseHeaders
399 }
400 return nil
401 }
402
403 func (x *ProcessingResponse) GetRequestBody() *BodyResponse {
404 if x, ok := x.GetResponse().(*ProcessingResponse_RequestBody); ok {
405 return x.RequestBody
406 }
407 return nil
408 }
409
410 func (x *ProcessingResponse) GetResponseBody() *BodyResponse {
411 if x, ok := x.GetResponse().(*ProcessingResponse_ResponseBody); ok {
412 return x.ResponseBody
413 }
414 return nil
415 }
416
417 func (x *ProcessingResponse) GetRequestTrailers() *TrailersResponse {
418 if x, ok := x.GetResponse().(*ProcessingResponse_RequestTrailers); ok {
419 return x.RequestTrailers
420 }
421 return nil
422 }
423
424 func (x *ProcessingResponse) GetResponseTrailers() *TrailersResponse {
425 if x, ok := x.GetResponse().(*ProcessingResponse_ResponseTrailers); ok {
426 return x.ResponseTrailers
427 }
428 return nil
429 }
430
431 func (x *ProcessingResponse) GetImmediateResponse() *ImmediateResponse {
432 if x, ok := x.GetResponse().(*ProcessingResponse_ImmediateResponse); ok {
433 return x.ImmediateResponse
434 }
435 return nil
436 }
437
438 func (x *ProcessingResponse) GetDynamicMetadata() *structpb.Struct {
439 if x != nil {
440 return x.DynamicMetadata
441 }
442 return nil
443 }
444
445 func (x *ProcessingResponse) GetModeOverride() *v31.ProcessingMode {
446 if x != nil {
447 return x.ModeOverride
448 }
449 return nil
450 }
451
452 func (x *ProcessingResponse) GetOverrideMessageTimeout() *durationpb.Duration {
453 if x != nil {
454 return x.OverrideMessageTimeout
455 }
456 return nil
457 }
458
459 type isProcessingResponse_Response interface {
460 isProcessingResponse_Response()
461 }
462
463 type ProcessingResponse_RequestHeaders struct {
464 // The server must send back this message in response to a message with the
465 // “request_headers“ field set.
466 RequestHeaders *HeadersResponse `protobuf:"bytes,1,opt,name=request_headers,json=requestHeaders,proto3,oneof"`
467 }
468
469 type ProcessingResponse_ResponseHeaders struct {
470 // The server must send back this message in response to a message with the
471 // “response_headers“ field set.
472 ResponseHeaders *HeadersResponse `protobuf:"bytes,2,opt,name=response_headers,json=responseHeaders,proto3,oneof"`
473 }
474
475 type ProcessingResponse_RequestBody struct {
476 // The server must send back this message in response to a message with
477 // the “request_body“ field set.
478 RequestBody *BodyResponse `protobuf:"bytes,3,opt,name=request_body,json=requestBody,proto3,oneof"`
479 }
480
481 type ProcessingResponse_ResponseBody struct {
482 // The server must send back this message in response to a message with
483 // the “response_body“ field set.
484 ResponseBody *BodyResponse `protobuf:"bytes,4,opt,name=response_body,json=responseBody,proto3,oneof"`
485 }
486
487 type ProcessingResponse_RequestTrailers struct {
488 // The server must send back this message in response to a message with
489 // the “request_trailers“ field set.
490 RequestTrailers *TrailersResponse `protobuf:"bytes,5,opt,name=request_trailers,json=requestTrailers,proto3,oneof"`
491 }
492
493 type ProcessingResponse_ResponseTrailers struct {
494 // The server must send back this message in response to a message with
495 // the “response_trailers“ field set.
496 ResponseTrailers *TrailersResponse `protobuf:"bytes,6,opt,name=response_trailers,json=responseTrailers,proto3,oneof"`
497 }
498
499 type ProcessingResponse_ImmediateResponse struct {
500 // If specified, attempt to create a locally generated response, send it
501 // downstream, and stop processing additional filters and ignore any
502 // additional messages received from the remote server for this request or
503 // response. If a response has already started -- for example, if this
504 // message is sent response to a “response_body“ message -- then
505 // this will either ship the reply directly to the downstream codec,
506 // or reset the stream.
507 ImmediateResponse *ImmediateResponse `protobuf:"bytes,7,opt,name=immediate_response,json=immediateResponse,proto3,oneof"`
508 }
509
510 func (*ProcessingResponse_RequestHeaders) isProcessingResponse_Response() {}
511
512 func (*ProcessingResponse_ResponseHeaders) isProcessingResponse_Response() {}
513
514 func (*ProcessingResponse_RequestBody) isProcessingResponse_Response() {}
515
516 func (*ProcessingResponse_ResponseBody) isProcessingResponse_Response() {}
517
518 func (*ProcessingResponse_RequestTrailers) isProcessingResponse_Response() {}
519
520 func (*ProcessingResponse_ResponseTrailers) isProcessingResponse_Response() {}
521
522 func (*ProcessingResponse_ImmediateResponse) isProcessingResponse_Response() {}
523
524 // This message is sent to the external server when the HTTP request and responses
525 // are first received.
526 type HttpHeaders struct {
527 state protoimpl.MessageState
528 sizeCache protoimpl.SizeCache
529 unknownFields protoimpl.UnknownFields
530
531 // The HTTP request headers. All header keys will be
532 // lower-cased, because HTTP header keys are case-insensitive.
533 // The header value is encoded in the
534 // :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
535 Headers *v3.HeaderMap `protobuf:"bytes,1,opt,name=headers,proto3" json:"headers,omitempty"`
536 // [#not-implemented-hide:]
537 // This field is deprecated and not implemented. Attributes will be sent in
538 // the top-level :ref:`attributes <envoy_v3_api_field_service.ext_proc.v3.ProcessingRequest.attributes`
539 // field.
540 //
541 // Deprecated: Marked as deprecated in envoy/service/ext_proc/v3/external_processor.proto.
542 Attributes map[string]*structpb.Struct `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
543 // If “true“, then there is no message body associated with this
544 // request or response.
545 EndOfStream bool `protobuf:"varint,3,opt,name=end_of_stream,json=endOfStream,proto3" json:"end_of_stream,omitempty"`
546 }
547
548 func (x *HttpHeaders) Reset() {
549 *x = HttpHeaders{}
550 if protoimpl.UnsafeEnabled {
551 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[2]
552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
553 ms.StoreMessageInfo(mi)
554 }
555 }
556
557 func (x *HttpHeaders) String() string {
558 return protoimpl.X.MessageStringOf(x)
559 }
560
561 func (*HttpHeaders) ProtoMessage() {}
562
563 func (x *HttpHeaders) ProtoReflect() protoreflect.Message {
564 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[2]
565 if protoimpl.UnsafeEnabled && x != nil {
566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567 if ms.LoadMessageInfo() == nil {
568 ms.StoreMessageInfo(mi)
569 }
570 return ms
571 }
572 return mi.MessageOf(x)
573 }
574
575 // Deprecated: Use HttpHeaders.ProtoReflect.Descriptor instead.
576 func (*HttpHeaders) Descriptor() ([]byte, []int) {
577 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{2}
578 }
579
580 func (x *HttpHeaders) GetHeaders() *v3.HeaderMap {
581 if x != nil {
582 return x.Headers
583 }
584 return nil
585 }
586
587 // Deprecated: Marked as deprecated in envoy/service/ext_proc/v3/external_processor.proto.
588 func (x *HttpHeaders) GetAttributes() map[string]*structpb.Struct {
589 if x != nil {
590 return x.Attributes
591 }
592 return nil
593 }
594
595 func (x *HttpHeaders) GetEndOfStream() bool {
596 if x != nil {
597 return x.EndOfStream
598 }
599 return false
600 }
601
602 // This message is sent to the external server when the HTTP request and
603 // response bodies are received.
604 type HttpBody struct {
605 state protoimpl.MessageState
606 sizeCache protoimpl.SizeCache
607 unknownFields protoimpl.UnknownFields
608
609 // The contents of the body in the HTTP request/response. Note that in
610 // streaming mode multiple “HttpBody“ messages may be sent.
611 Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
612 // If “true“, this will be the last “HttpBody“ message that will be sent and no
613 // trailers will be sent for the current request/response.
614 EndOfStream bool `protobuf:"varint,2,opt,name=end_of_stream,json=endOfStream,proto3" json:"end_of_stream,omitempty"`
615 }
616
617 func (x *HttpBody) Reset() {
618 *x = HttpBody{}
619 if protoimpl.UnsafeEnabled {
620 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[3]
621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
622 ms.StoreMessageInfo(mi)
623 }
624 }
625
626 func (x *HttpBody) String() string {
627 return protoimpl.X.MessageStringOf(x)
628 }
629
630 func (*HttpBody) ProtoMessage() {}
631
632 func (x *HttpBody) ProtoReflect() protoreflect.Message {
633 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[3]
634 if protoimpl.UnsafeEnabled && x != nil {
635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636 if ms.LoadMessageInfo() == nil {
637 ms.StoreMessageInfo(mi)
638 }
639 return ms
640 }
641 return mi.MessageOf(x)
642 }
643
644 // Deprecated: Use HttpBody.ProtoReflect.Descriptor instead.
645 func (*HttpBody) Descriptor() ([]byte, []int) {
646 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{3}
647 }
648
649 func (x *HttpBody) GetBody() []byte {
650 if x != nil {
651 return x.Body
652 }
653 return nil
654 }
655
656 func (x *HttpBody) GetEndOfStream() bool {
657 if x != nil {
658 return x.EndOfStream
659 }
660 return false
661 }
662
663 // This message is sent to the external server when the HTTP request and
664 // response trailers are received.
665 type HttpTrailers struct {
666 state protoimpl.MessageState
667 sizeCache protoimpl.SizeCache
668 unknownFields protoimpl.UnknownFields
669
670 // The header value is encoded in the
671 // :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
672 Trailers *v3.HeaderMap `protobuf:"bytes,1,opt,name=trailers,proto3" json:"trailers,omitempty"`
673 }
674
675 func (x *HttpTrailers) Reset() {
676 *x = HttpTrailers{}
677 if protoimpl.UnsafeEnabled {
678 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[4]
679 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
680 ms.StoreMessageInfo(mi)
681 }
682 }
683
684 func (x *HttpTrailers) String() string {
685 return protoimpl.X.MessageStringOf(x)
686 }
687
688 func (*HttpTrailers) ProtoMessage() {}
689
690 func (x *HttpTrailers) ProtoReflect() protoreflect.Message {
691 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[4]
692 if protoimpl.UnsafeEnabled && x != nil {
693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
694 if ms.LoadMessageInfo() == nil {
695 ms.StoreMessageInfo(mi)
696 }
697 return ms
698 }
699 return mi.MessageOf(x)
700 }
701
702 // Deprecated: Use HttpTrailers.ProtoReflect.Descriptor instead.
703 func (*HttpTrailers) Descriptor() ([]byte, []int) {
704 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{4}
705 }
706
707 func (x *HttpTrailers) GetTrailers() *v3.HeaderMap {
708 if x != nil {
709 return x.Trailers
710 }
711 return nil
712 }
713
714 // This message is sent by the external server to Envoy after “HttpHeaders“ was
715 // sent to it.
716 type HeadersResponse struct {
717 state protoimpl.MessageState
718 sizeCache protoimpl.SizeCache
719 unknownFields protoimpl.UnknownFields
720
721 // Details the modifications (if any) to be made by Envoy to the current
722 // request/response.
723 Response *CommonResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
724 }
725
726 func (x *HeadersResponse) Reset() {
727 *x = HeadersResponse{}
728 if protoimpl.UnsafeEnabled {
729 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[5]
730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
731 ms.StoreMessageInfo(mi)
732 }
733 }
734
735 func (x *HeadersResponse) String() string {
736 return protoimpl.X.MessageStringOf(x)
737 }
738
739 func (*HeadersResponse) ProtoMessage() {}
740
741 func (x *HeadersResponse) ProtoReflect() protoreflect.Message {
742 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[5]
743 if protoimpl.UnsafeEnabled && x != nil {
744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
745 if ms.LoadMessageInfo() == nil {
746 ms.StoreMessageInfo(mi)
747 }
748 return ms
749 }
750 return mi.MessageOf(x)
751 }
752
753 // Deprecated: Use HeadersResponse.ProtoReflect.Descriptor instead.
754 func (*HeadersResponse) Descriptor() ([]byte, []int) {
755 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{5}
756 }
757
758 func (x *HeadersResponse) GetResponse() *CommonResponse {
759 if x != nil {
760 return x.Response
761 }
762 return nil
763 }
764
765 // This message is sent by the external server to Envoy after “HttpBody“ was
766 // sent to it.
767 type BodyResponse struct {
768 state protoimpl.MessageState
769 sizeCache protoimpl.SizeCache
770 unknownFields protoimpl.UnknownFields
771
772 // Details the modifications (if any) to be made by Envoy to the current
773 // request/response.
774 Response *CommonResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
775 }
776
777 func (x *BodyResponse) Reset() {
778 *x = BodyResponse{}
779 if protoimpl.UnsafeEnabled {
780 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[6]
781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
782 ms.StoreMessageInfo(mi)
783 }
784 }
785
786 func (x *BodyResponse) String() string {
787 return protoimpl.X.MessageStringOf(x)
788 }
789
790 func (*BodyResponse) ProtoMessage() {}
791
792 func (x *BodyResponse) ProtoReflect() protoreflect.Message {
793 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[6]
794 if protoimpl.UnsafeEnabled && x != nil {
795 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
796 if ms.LoadMessageInfo() == nil {
797 ms.StoreMessageInfo(mi)
798 }
799 return ms
800 }
801 return mi.MessageOf(x)
802 }
803
804 // Deprecated: Use BodyResponse.ProtoReflect.Descriptor instead.
805 func (*BodyResponse) Descriptor() ([]byte, []int) {
806 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{6}
807 }
808
809 func (x *BodyResponse) GetResponse() *CommonResponse {
810 if x != nil {
811 return x.Response
812 }
813 return nil
814 }
815
816 // This message is sent by the external server to Envoy after “HttpTrailers“ was
817 // sent to it.
818 type TrailersResponse struct {
819 state protoimpl.MessageState
820 sizeCache protoimpl.SizeCache
821 unknownFields protoimpl.UnknownFields
822
823 // Details the modifications (if any) to be made by Envoy to the current
824 // request/response trailers.
825 HeaderMutation *HeaderMutation `protobuf:"bytes,1,opt,name=header_mutation,json=headerMutation,proto3" json:"header_mutation,omitempty"`
826 }
827
828 func (x *TrailersResponse) Reset() {
829 *x = TrailersResponse{}
830 if protoimpl.UnsafeEnabled {
831 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[7]
832 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
833 ms.StoreMessageInfo(mi)
834 }
835 }
836
837 func (x *TrailersResponse) String() string {
838 return protoimpl.X.MessageStringOf(x)
839 }
840
841 func (*TrailersResponse) ProtoMessage() {}
842
843 func (x *TrailersResponse) ProtoReflect() protoreflect.Message {
844 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[7]
845 if protoimpl.UnsafeEnabled && x != nil {
846 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
847 if ms.LoadMessageInfo() == nil {
848 ms.StoreMessageInfo(mi)
849 }
850 return ms
851 }
852 return mi.MessageOf(x)
853 }
854
855 // Deprecated: Use TrailersResponse.ProtoReflect.Descriptor instead.
856 func (*TrailersResponse) Descriptor() ([]byte, []int) {
857 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{7}
858 }
859
860 func (x *TrailersResponse) GetHeaderMutation() *HeaderMutation {
861 if x != nil {
862 return x.HeaderMutation
863 }
864 return nil
865 }
866
867 // This message contains common fields between header and body responses.
868 // [#next-free-field: 6]
869 type CommonResponse struct {
870 state protoimpl.MessageState
871 sizeCache protoimpl.SizeCache
872 unknownFields protoimpl.UnknownFields
873
874 // If set, provide additional direction on how the Envoy proxy should
875 // handle the rest of the HTTP filter chain.
876 Status CommonResponse_ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=envoy.service.ext_proc.v3.CommonResponse_ResponseStatus" json:"status,omitempty"`
877 // Instructions on how to manipulate the headers. When responding to an
878 // HttpBody request, header mutations will only take effect if
879 // the current processing mode for the body is BUFFERED.
880 HeaderMutation *HeaderMutation `protobuf:"bytes,2,opt,name=header_mutation,json=headerMutation,proto3" json:"header_mutation,omitempty"`
881 // Replace the body of the last message sent to the remote server on this
882 // stream. If responding to an HttpBody request, simply replace or clear
883 // the body chunk that was sent with that request. Body mutations may take
884 // effect in response either to “header“ or “body“ messages. When it is
885 // in response to “header“ messages, it only take effect if the
886 // :ref:`status <envoy_v3_api_field_service.ext_proc.v3.CommonResponse.status>`
887 // is set to CONTINUE_AND_REPLACE.
888 BodyMutation *BodyMutation `protobuf:"bytes,3,opt,name=body_mutation,json=bodyMutation,proto3" json:"body_mutation,omitempty"`
889 // [#not-implemented-hide:]
890 // Add new trailers to the message. This may be used when responding to either a
891 // HttpHeaders or HttpBody message, but only if this message is returned
892 // along with the CONTINUE_AND_REPLACE status.
893 // The header value is encoded in the
894 // :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
895 Trailers *v3.HeaderMap `protobuf:"bytes,4,opt,name=trailers,proto3" json:"trailers,omitempty"`
896 // Clear the route cache for the current client request. This is necessary
897 // if the remote server modified headers that are used to calculate the route.
898 // This field is ignored in the response direction. This field is also ignored
899 // if the Envoy ext_proc filter is in the upstream filter chain.
900 ClearRouteCache bool `protobuf:"varint,5,opt,name=clear_route_cache,json=clearRouteCache,proto3" json:"clear_route_cache,omitempty"`
901 }
902
903 func (x *CommonResponse) Reset() {
904 *x = CommonResponse{}
905 if protoimpl.UnsafeEnabled {
906 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[8]
907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
908 ms.StoreMessageInfo(mi)
909 }
910 }
911
912 func (x *CommonResponse) String() string {
913 return protoimpl.X.MessageStringOf(x)
914 }
915
916 func (*CommonResponse) ProtoMessage() {}
917
918 func (x *CommonResponse) ProtoReflect() protoreflect.Message {
919 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[8]
920 if protoimpl.UnsafeEnabled && x != nil {
921 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
922 if ms.LoadMessageInfo() == nil {
923 ms.StoreMessageInfo(mi)
924 }
925 return ms
926 }
927 return mi.MessageOf(x)
928 }
929
930 // Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.
931 func (*CommonResponse) Descriptor() ([]byte, []int) {
932 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{8}
933 }
934
935 func (x *CommonResponse) GetStatus() CommonResponse_ResponseStatus {
936 if x != nil {
937 return x.Status
938 }
939 return CommonResponse_CONTINUE
940 }
941
942 func (x *CommonResponse) GetHeaderMutation() *HeaderMutation {
943 if x != nil {
944 return x.HeaderMutation
945 }
946 return nil
947 }
948
949 func (x *CommonResponse) GetBodyMutation() *BodyMutation {
950 if x != nil {
951 return x.BodyMutation
952 }
953 return nil
954 }
955
956 func (x *CommonResponse) GetTrailers() *v3.HeaderMap {
957 if x != nil {
958 return x.Trailers
959 }
960 return nil
961 }
962
963 func (x *CommonResponse) GetClearRouteCache() bool {
964 if x != nil {
965 return x.ClearRouteCache
966 }
967 return false
968 }
969
970 // This message causes the filter to attempt to create a locally
971 // generated response, send it downstream, stop processing
972 // additional filters, and ignore any additional messages received
973 // from the remote server for this request or response. If a response
974 // has already started, then this will either ship the reply directly
975 // to the downstream codec, or reset the stream.
976 // [#next-free-field: 6]
977 type ImmediateResponse struct {
978 state protoimpl.MessageState
979 sizeCache protoimpl.SizeCache
980 unknownFields protoimpl.UnknownFields
981
982 // The response code to return.
983 Status *v32.HttpStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
984 // Apply changes to the default headers, which will include content-type.
985 Headers *HeaderMutation `protobuf:"bytes,2,opt,name=headers,proto3" json:"headers,omitempty"`
986 // The message body to return with the response which is sent using the
987 // text/plain content type, or encoded in the grpc-message header.
988 Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
989 // If set, then include a gRPC status trailer.
990 GrpcStatus *GrpcStatus `protobuf:"bytes,4,opt,name=grpc_status,json=grpcStatus,proto3" json:"grpc_status,omitempty"`
991 // A string detailing why this local reply was sent, which may be included
992 // in log and debug output (e.g. this populates the %RESPONSE_CODE_DETAILS%
993 // command operator field for use in access logging).
994 Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
995 }
996
997 func (x *ImmediateResponse) Reset() {
998 *x = ImmediateResponse{}
999 if protoimpl.UnsafeEnabled {
1000 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[9]
1001 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1002 ms.StoreMessageInfo(mi)
1003 }
1004 }
1005
1006 func (x *ImmediateResponse) String() string {
1007 return protoimpl.X.MessageStringOf(x)
1008 }
1009
1010 func (*ImmediateResponse) ProtoMessage() {}
1011
1012 func (x *ImmediateResponse) ProtoReflect() protoreflect.Message {
1013 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[9]
1014 if protoimpl.UnsafeEnabled && x != nil {
1015 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1016 if ms.LoadMessageInfo() == nil {
1017 ms.StoreMessageInfo(mi)
1018 }
1019 return ms
1020 }
1021 return mi.MessageOf(x)
1022 }
1023
1024 // Deprecated: Use ImmediateResponse.ProtoReflect.Descriptor instead.
1025 func (*ImmediateResponse) Descriptor() ([]byte, []int) {
1026 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{9}
1027 }
1028
1029 func (x *ImmediateResponse) GetStatus() *v32.HttpStatus {
1030 if x != nil {
1031 return x.Status
1032 }
1033 return nil
1034 }
1035
1036 func (x *ImmediateResponse) GetHeaders() *HeaderMutation {
1037 if x != nil {
1038 return x.Headers
1039 }
1040 return nil
1041 }
1042
1043 func (x *ImmediateResponse) GetBody() []byte {
1044 if x != nil {
1045 return x.Body
1046 }
1047 return nil
1048 }
1049
1050 func (x *ImmediateResponse) GetGrpcStatus() *GrpcStatus {
1051 if x != nil {
1052 return x.GrpcStatus
1053 }
1054 return nil
1055 }
1056
1057 func (x *ImmediateResponse) GetDetails() string {
1058 if x != nil {
1059 return x.Details
1060 }
1061 return ""
1062 }
1063
1064 // This message specifies a gRPC status for an ImmediateResponse message.
1065 type GrpcStatus struct {
1066 state protoimpl.MessageState
1067 sizeCache protoimpl.SizeCache
1068 unknownFields protoimpl.UnknownFields
1069
1070 // The actual gRPC status.
1071 Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
1072 }
1073
1074 func (x *GrpcStatus) Reset() {
1075 *x = GrpcStatus{}
1076 if protoimpl.UnsafeEnabled {
1077 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[10]
1078 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1079 ms.StoreMessageInfo(mi)
1080 }
1081 }
1082
1083 func (x *GrpcStatus) String() string {
1084 return protoimpl.X.MessageStringOf(x)
1085 }
1086
1087 func (*GrpcStatus) ProtoMessage() {}
1088
1089 func (x *GrpcStatus) ProtoReflect() protoreflect.Message {
1090 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[10]
1091 if protoimpl.UnsafeEnabled && x != nil {
1092 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1093 if ms.LoadMessageInfo() == nil {
1094 ms.StoreMessageInfo(mi)
1095 }
1096 return ms
1097 }
1098 return mi.MessageOf(x)
1099 }
1100
1101 // Deprecated: Use GrpcStatus.ProtoReflect.Descriptor instead.
1102 func (*GrpcStatus) Descriptor() ([]byte, []int) {
1103 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{10}
1104 }
1105
1106 func (x *GrpcStatus) GetStatus() uint32 {
1107 if x != nil {
1108 return x.Status
1109 }
1110 return 0
1111 }
1112
1113 // Change HTTP headers or trailers by appending, replacing, or removing
1114 // headers.
1115 type HeaderMutation struct {
1116 state protoimpl.MessageState
1117 sizeCache protoimpl.SizeCache
1118 unknownFields protoimpl.UnknownFields
1119
1120 // Add or replace HTTP headers. Attempts to set the value of
1121 // any “x-envoy“ header, and attempts to set the “:method“,
1122 // “:authority“, “:scheme“, or “host“ headers will be ignored.
1123 // The header value is encoded in the
1124 // :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
1125 SetHeaders []*v3.HeaderValueOption `protobuf:"bytes,1,rep,name=set_headers,json=setHeaders,proto3" json:"set_headers,omitempty"`
1126 // Remove these HTTP headers. Attempts to remove system headers --
1127 // any header starting with “:“, plus “host“ -- will be ignored.
1128 RemoveHeaders []string `protobuf:"bytes,2,rep,name=remove_headers,json=removeHeaders,proto3" json:"remove_headers,omitempty"`
1129 }
1130
1131 func (x *HeaderMutation) Reset() {
1132 *x = HeaderMutation{}
1133 if protoimpl.UnsafeEnabled {
1134 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[11]
1135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1136 ms.StoreMessageInfo(mi)
1137 }
1138 }
1139
1140 func (x *HeaderMutation) String() string {
1141 return protoimpl.X.MessageStringOf(x)
1142 }
1143
1144 func (*HeaderMutation) ProtoMessage() {}
1145
1146 func (x *HeaderMutation) ProtoReflect() protoreflect.Message {
1147 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[11]
1148 if protoimpl.UnsafeEnabled && x != nil {
1149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1150 if ms.LoadMessageInfo() == nil {
1151 ms.StoreMessageInfo(mi)
1152 }
1153 return ms
1154 }
1155 return mi.MessageOf(x)
1156 }
1157
1158 // Deprecated: Use HeaderMutation.ProtoReflect.Descriptor instead.
1159 func (*HeaderMutation) Descriptor() ([]byte, []int) {
1160 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{11}
1161 }
1162
1163 func (x *HeaderMutation) GetSetHeaders() []*v3.HeaderValueOption {
1164 if x != nil {
1165 return x.SetHeaders
1166 }
1167 return nil
1168 }
1169
1170 func (x *HeaderMutation) GetRemoveHeaders() []string {
1171 if x != nil {
1172 return x.RemoveHeaders
1173 }
1174 return nil
1175 }
1176
1177 // [#not-implemented-hide:]
1178 // The body response message corresponding to FULL_DUPLEX_STREAMED body mode.
1179 type StreamedBodyResponse struct {
1180 state protoimpl.MessageState
1181 sizeCache protoimpl.SizeCache
1182 unknownFields protoimpl.UnknownFields
1183
1184 // The body response chunk that will be passed to the upstream/downstream by Envoy.
1185 Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
1186 // The server sets this flag to true if it has received a body request with
1187 // :ref:`end_of_stream <envoy_v3_api_field_service.ext_proc.v3.HttpBody.end_of_stream>` set to true,
1188 // and this is the last chunk of body responses.
1189 EndOfStream bool `protobuf:"varint,2,opt,name=end_of_stream,json=endOfStream,proto3" json:"end_of_stream,omitempty"`
1190 }
1191
1192 func (x *StreamedBodyResponse) Reset() {
1193 *x = StreamedBodyResponse{}
1194 if protoimpl.UnsafeEnabled {
1195 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[12]
1196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1197 ms.StoreMessageInfo(mi)
1198 }
1199 }
1200
1201 func (x *StreamedBodyResponse) String() string {
1202 return protoimpl.X.MessageStringOf(x)
1203 }
1204
1205 func (*StreamedBodyResponse) ProtoMessage() {}
1206
1207 func (x *StreamedBodyResponse) ProtoReflect() protoreflect.Message {
1208 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[12]
1209 if protoimpl.UnsafeEnabled && x != nil {
1210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1211 if ms.LoadMessageInfo() == nil {
1212 ms.StoreMessageInfo(mi)
1213 }
1214 return ms
1215 }
1216 return mi.MessageOf(x)
1217 }
1218
1219 // Deprecated: Use StreamedBodyResponse.ProtoReflect.Descriptor instead.
1220 func (*StreamedBodyResponse) Descriptor() ([]byte, []int) {
1221 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{12}
1222 }
1223
1224 func (x *StreamedBodyResponse) GetBody() []byte {
1225 if x != nil {
1226 return x.Body
1227 }
1228 return nil
1229 }
1230
1231 func (x *StreamedBodyResponse) GetEndOfStream() bool {
1232 if x != nil {
1233 return x.EndOfStream
1234 }
1235 return false
1236 }
1237
1238 // This message specifies the body mutation the server sends to Envoy.
1239 type BodyMutation struct {
1240 state protoimpl.MessageState
1241 sizeCache protoimpl.SizeCache
1242 unknownFields protoimpl.UnknownFields
1243
1244 // The type of mutation for the body.
1245 //
1246 // Types that are assignable to Mutation:
1247 //
1248 // *BodyMutation_Body
1249 // *BodyMutation_ClearBody
1250 // *BodyMutation_StreamedResponse
1251 Mutation isBodyMutation_Mutation `protobuf_oneof:"mutation"`
1252 }
1253
1254 func (x *BodyMutation) Reset() {
1255 *x = BodyMutation{}
1256 if protoimpl.UnsafeEnabled {
1257 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[13]
1258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1259 ms.StoreMessageInfo(mi)
1260 }
1261 }
1262
1263 func (x *BodyMutation) String() string {
1264 return protoimpl.X.MessageStringOf(x)
1265 }
1266
1267 func (*BodyMutation) ProtoMessage() {}
1268
1269 func (x *BodyMutation) ProtoReflect() protoreflect.Message {
1270 mi := &file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[13]
1271 if protoimpl.UnsafeEnabled && x != nil {
1272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1273 if ms.LoadMessageInfo() == nil {
1274 ms.StoreMessageInfo(mi)
1275 }
1276 return ms
1277 }
1278 return mi.MessageOf(x)
1279 }
1280
1281 // Deprecated: Use BodyMutation.ProtoReflect.Descriptor instead.
1282 func (*BodyMutation) Descriptor() ([]byte, []int) {
1283 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP(), []int{13}
1284 }
1285
1286 func (m *BodyMutation) GetMutation() isBodyMutation_Mutation {
1287 if m != nil {
1288 return m.Mutation
1289 }
1290 return nil
1291 }
1292
1293 func (x *BodyMutation) GetBody() []byte {
1294 if x, ok := x.GetMutation().(*BodyMutation_Body); ok {
1295 return x.Body
1296 }
1297 return nil
1298 }
1299
1300 func (x *BodyMutation) GetClearBody() bool {
1301 if x, ok := x.GetMutation().(*BodyMutation_ClearBody); ok {
1302 return x.ClearBody
1303 }
1304 return false
1305 }
1306
1307 func (x *BodyMutation) GetStreamedResponse() *StreamedBodyResponse {
1308 if x, ok := x.GetMutation().(*BodyMutation_StreamedResponse); ok {
1309 return x.StreamedResponse
1310 }
1311 return nil
1312 }
1313
1314 type isBodyMutation_Mutation interface {
1315 isBodyMutation_Mutation()
1316 }
1317
1318 type BodyMutation_Body struct {
1319 // The entire body to replace.
1320 // Should only be used when the corresponding “BodySendMode“ in the
1321 // :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
1322 // is not set to “FULL_DUPLEX_STREAMED“.
1323 Body []byte `protobuf:"bytes,1,opt,name=body,proto3,oneof"`
1324 }
1325
1326 type BodyMutation_ClearBody struct {
1327 // Clear the corresponding body chunk.
1328 // Should only be used when the corresponding “BodySendMode“ in the
1329 // :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
1330 // is not set to “FULL_DUPLEX_STREAMED“.
1331 // Clear the corresponding body chunk.
1332 ClearBody bool `protobuf:"varint,2,opt,name=clear_body,json=clearBody,proto3,oneof"`
1333 }
1334
1335 type BodyMutation_StreamedResponse struct {
1336 // [#not-implemented-hide:]
1337 // Must be used when the corresponding “BodySendMode“ in the
1338 // :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`
1339 // is set to “FULL_DUPLEX_STREAMED“.
1340 StreamedResponse *StreamedBodyResponse `protobuf:"bytes,3,opt,name=streamed_response,json=streamedResponse,proto3,oneof"`
1341 }
1342
1343 func (*BodyMutation_Body) isBodyMutation_Mutation() {}
1344
1345 func (*BodyMutation_ClearBody) isBodyMutation_Mutation() {}
1346
1347 func (*BodyMutation_StreamedResponse) isBodyMutation_Mutation() {}
1348
1349 var File_envoy_service_ext_proc_v3_external_processor_proto protoreflect.FileDescriptor
1350
1351 var file_envoy_service_ext_proc_v3_external_processor_proto_rawDesc = []byte{
1352 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
1353 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x74, 0x65,
1354 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x2e, 0x70,
1355 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
1356 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x1a,
1357 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f,
1358 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1359 0x1a, 0x3f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
1360 0x6e, 0x73, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f,
1361 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x63,
1362 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1363 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33,
1364 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
1365 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1366 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
1367 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1368 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1369 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
1370 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
1371 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
1372 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
1373 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
1374 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x06,
1375 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75,
1376 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68,
1377 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65,
1378 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74,
1379 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61,
1380 0x64, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
1381 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1382 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
1383 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1384 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74,
1385 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70,
1386 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x72,
1387 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
1388 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
1389 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74,
1390 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
1391 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1392 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65,
1393 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74,
1394 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64,
1395 0x79, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64,
1396 0x79, 0x12, 0x54, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x61,
1397 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e,
1398 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f,
1399 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x54, 0x72, 0x61, 0x69,
1400 0x6c, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54,
1401 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x56, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x70, 0x6f,
1402 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01,
1403 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
1404 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48,
1405 0x74, 0x74, 0x70, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x10, 0x72,
1406 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12,
1407 0x49, 0x0a, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
1408 0x65, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
1409 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
1410 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64,
1411 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x5c, 0x0a, 0x0a, 0x61, 0x74,
1412 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c,
1413 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65,
1414 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65,
1415 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x74, 0x74,
1416 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74,
1417 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65,
1418 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0a,
1419 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c,
1420 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x56, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69,
1421 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
1422 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05,
1423 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
1424 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
1425 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42,
1426 0x0e, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x4a,
1427 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x0a, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6d, 0x6f, 0x64,
1428 0x65, 0x22, 0x81, 0x07, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67,
1429 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75,
1430 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
1431 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
1432 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65,
1433 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52,
1434 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12,
1435 0x57, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64,
1436 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
1437 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72,
1438 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
1439 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1440 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75,
1441 0x65, 0x73, 0x74, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
1442 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65,
1443 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52,
1444 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65,
1445 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1446 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
1447 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78,
1448 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65,
1449 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1450 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x58, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
1451 0x74, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
1452 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1453 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61,
1454 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52,
1455 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73,
1456 0x12, 0x5a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61,
1457 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e,
1458 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f,
1459 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73,
1460 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x73, 0x70,
1461 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, 0x12,
1462 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1463 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
1464 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f,
1465 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65,
1466 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x11, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69,
1467 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x10, 0x64,
1468 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,
1469 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
1470 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0f,
1471 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
1472 0x5e, 0x0a, 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
1473 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
1474 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
1475 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e,
1476 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64,
1477 0x65, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12,
1478 0x53, 0x0a, 0x18, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73,
1479 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28,
1480 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1481 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6f, 0x76,
1482 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d,
1483 0x65, 0x6f, 0x75, 0x74, 0x42, 0x0f, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1484 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0xa9, 0x02, 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65,
1485 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
1486 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
1487 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65,
1488 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
1489 0x12, 0x63, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02,
1490 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
1491 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33,
1492 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x41, 0x74, 0x74,
1493 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x0b, 0x92, 0xc7,
1494 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x18, 0x01, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69,
1495 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f,
1496 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e,
1497 0x64, 0x4f, 0x66, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x1a, 0x56, 0x0a, 0x0f, 0x41, 0x74, 0x74,
1498 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
1499 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d,
1500 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
1501 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1502 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
1503 0x01, 0x22, 0x42, 0x0a, 0x08, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a,
1504 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64,
1505 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x65,
1506 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x53,
1507 0x74, 0x72, 0x65, 0x61, 0x6d, 0x22, 0x4b, 0x0a, 0x0c, 0x48, 0x74, 0x74, 0x70, 0x54, 0x72, 0x61,
1508 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72,
1509 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
1510 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48,
1511 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65,
1512 0x72, 0x73, 0x22, 0x58, 0x0a, 0x0f, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
1513 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1514 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
1515 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63,
1516 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1517 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x0c,
1518 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x08,
1519 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
1520 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65,
1521 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
1522 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f,
1523 0x6e, 0x73, 0x65, 0x22, 0x66, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x52,
1524 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x64, 0x65,
1525 0x72, 0x5f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1526 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1527 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61,
1528 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x68, 0x65, 0x61,
1529 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb1, 0x03, 0x0a, 0x0e,
1530 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a,
1531 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38,
1532 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65,
1533 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
1534 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1535 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02,
1536 0x10, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x52, 0x0a, 0x0f, 0x68, 0x65,
1537 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
1538 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
1539 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e,
1540 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e,
1541 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c,
1542 0x0a, 0x0d, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1543 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
1544 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76,
1545 0x33, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
1546 0x62, 0x6f, 0x64, 0x79, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x08,
1547 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,
1548 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
1549 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x52,
1550 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x65,
1551 0x61, 0x72, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x05,
1552 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x65,
1553 0x43, 0x61, 0x63, 0x68, 0x65, 0x22, 0x38, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1554 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x54, 0x49,
1555 0x4e, 0x55, 0x45, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55,
1556 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x01, 0x22,
1557 0x8b, 0x02, 0x0a, 0x11, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
1558 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
1559 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79,
1560 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
1561 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
1562 0x75, 0x73, 0x12, 0x43, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20,
1563 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
1564 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e,
1565 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07,
1566 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18,
1567 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x46, 0x0a, 0x0b, 0x67,
1568 0x72, 0x70, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
1569 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1570 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70,
1571 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x67, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61,
1572 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05,
1573 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x24, 0x0a,
1574 0x0a, 0x47, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73,
1575 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x74, 0x61,
1576 0x74, 0x75, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x0e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x75,
1577 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x68, 0x65,
1578 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e,
1579 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
1580 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70,
1581 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
1582 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65,
1583 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65,
1584 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0x4e, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61,
1585 0x6d, 0x65, 0x64, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
1586 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62,
1587 0x6f, 0x64, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x74,
1588 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x4f,
1589 0x66, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x22, 0xb1, 0x01, 0x0a, 0x0c, 0x42, 0x6f, 0x64, 0x79,
1590 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
1591 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x1f,
1592 0x0a, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01,
1593 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x42, 0x6f, 0x64, 0x79, 0x12,
1594 0x5e, 0x0a, 0x11, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70,
1595 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76,
1596 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70,
1597 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x64, 0x42,
1598 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x10, 0x73,
1599 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
1600 0x0a, 0x0a, 0x08, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x81, 0x01, 0x0a, 0x11,
1601 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f,
1602 0x72, 0x12, 0x6c, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x2e, 0x65,
1603 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74,
1604 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
1605 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6e, 0x76,
1606 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70,
1607 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e,
1608 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42,
1609 0x98, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x27, 0x69, 0x6f, 0x2e, 0x65,
1610 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
1611 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63,
1612 0x2e, 0x76, 0x33, 0x42, 0x16, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f,
1613 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67,
1614 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
1615 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
1616 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76,
1617 0x69, 0x63, 0x65, 0x2f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x33, 0x3b,
1618 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
1619 0x6f, 0x33,
1620 }
1621
1622 var (
1623 file_envoy_service_ext_proc_v3_external_processor_proto_rawDescOnce sync.Once
1624 file_envoy_service_ext_proc_v3_external_processor_proto_rawDescData = file_envoy_service_ext_proc_v3_external_processor_proto_rawDesc
1625 )
1626
1627 func file_envoy_service_ext_proc_v3_external_processor_proto_rawDescGZIP() []byte {
1628 file_envoy_service_ext_proc_v3_external_processor_proto_rawDescOnce.Do(func() {
1629 file_envoy_service_ext_proc_v3_external_processor_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_ext_proc_v3_external_processor_proto_rawDescData)
1630 })
1631 return file_envoy_service_ext_proc_v3_external_processor_proto_rawDescData
1632 }
1633
1634 var file_envoy_service_ext_proc_v3_external_processor_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1635 var file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
1636 var file_envoy_service_ext_proc_v3_external_processor_proto_goTypes = []interface{}{
1637 (CommonResponse_ResponseStatus)(0), // 0: envoy.service.ext_proc.v3.CommonResponse.ResponseStatus
1638 (*ProcessingRequest)(nil), // 1: envoy.service.ext_proc.v3.ProcessingRequest
1639 (*ProcessingResponse)(nil), // 2: envoy.service.ext_proc.v3.ProcessingResponse
1640 (*HttpHeaders)(nil), // 3: envoy.service.ext_proc.v3.HttpHeaders
1641 (*HttpBody)(nil), // 4: envoy.service.ext_proc.v3.HttpBody
1642 (*HttpTrailers)(nil), // 5: envoy.service.ext_proc.v3.HttpTrailers
1643 (*HeadersResponse)(nil), // 6: envoy.service.ext_proc.v3.HeadersResponse
1644 (*BodyResponse)(nil), // 7: envoy.service.ext_proc.v3.BodyResponse
1645 (*TrailersResponse)(nil), // 8: envoy.service.ext_proc.v3.TrailersResponse
1646 (*CommonResponse)(nil), // 9: envoy.service.ext_proc.v3.CommonResponse
1647 (*ImmediateResponse)(nil), // 10: envoy.service.ext_proc.v3.ImmediateResponse
1648 (*GrpcStatus)(nil), // 11: envoy.service.ext_proc.v3.GrpcStatus
1649 (*HeaderMutation)(nil), // 12: envoy.service.ext_proc.v3.HeaderMutation
1650 (*StreamedBodyResponse)(nil), // 13: envoy.service.ext_proc.v3.StreamedBodyResponse
1651 (*BodyMutation)(nil), // 14: envoy.service.ext_proc.v3.BodyMutation
1652 nil, // 15: envoy.service.ext_proc.v3.ProcessingRequest.AttributesEntry
1653 nil, // 16: envoy.service.ext_proc.v3.HttpHeaders.AttributesEntry
1654 (*v3.Metadata)(nil), // 17: envoy.config.core.v3.Metadata
1655 (*structpb.Struct)(nil), // 18: google.protobuf.Struct
1656 (*v31.ProcessingMode)(nil), // 19: envoy.extensions.filters.http.ext_proc.v3.ProcessingMode
1657 (*durationpb.Duration)(nil), // 20: google.protobuf.Duration
1658 (*v3.HeaderMap)(nil), // 21: envoy.config.core.v3.HeaderMap
1659 (*v32.HttpStatus)(nil), // 22: envoy.type.v3.HttpStatus
1660 (*v3.HeaderValueOption)(nil), // 23: envoy.config.core.v3.HeaderValueOption
1661 }
1662 var file_envoy_service_ext_proc_v3_external_processor_proto_depIdxs = []int32{
1663 3, // 0: envoy.service.ext_proc.v3.ProcessingRequest.request_headers:type_name -> envoy.service.ext_proc.v3.HttpHeaders
1664 3, // 1: envoy.service.ext_proc.v3.ProcessingRequest.response_headers:type_name -> envoy.service.ext_proc.v3.HttpHeaders
1665 4, // 2: envoy.service.ext_proc.v3.ProcessingRequest.request_body:type_name -> envoy.service.ext_proc.v3.HttpBody
1666 4, // 3: envoy.service.ext_proc.v3.ProcessingRequest.response_body:type_name -> envoy.service.ext_proc.v3.HttpBody
1667 5, // 4: envoy.service.ext_proc.v3.ProcessingRequest.request_trailers:type_name -> envoy.service.ext_proc.v3.HttpTrailers
1668 5, // 5: envoy.service.ext_proc.v3.ProcessingRequest.response_trailers:type_name -> envoy.service.ext_proc.v3.HttpTrailers
1669 17, // 6: envoy.service.ext_proc.v3.ProcessingRequest.metadata_context:type_name -> envoy.config.core.v3.Metadata
1670 15, // 7: envoy.service.ext_proc.v3.ProcessingRequest.attributes:type_name -> envoy.service.ext_proc.v3.ProcessingRequest.AttributesEntry
1671 6, // 8: envoy.service.ext_proc.v3.ProcessingResponse.request_headers:type_name -> envoy.service.ext_proc.v3.HeadersResponse
1672 6, // 9: envoy.service.ext_proc.v3.ProcessingResponse.response_headers:type_name -> envoy.service.ext_proc.v3.HeadersResponse
1673 7, // 10: envoy.service.ext_proc.v3.ProcessingResponse.request_body:type_name -> envoy.service.ext_proc.v3.BodyResponse
1674 7, // 11: envoy.service.ext_proc.v3.ProcessingResponse.response_body:type_name -> envoy.service.ext_proc.v3.BodyResponse
1675 8, // 12: envoy.service.ext_proc.v3.ProcessingResponse.request_trailers:type_name -> envoy.service.ext_proc.v3.TrailersResponse
1676 8, // 13: envoy.service.ext_proc.v3.ProcessingResponse.response_trailers:type_name -> envoy.service.ext_proc.v3.TrailersResponse
1677 10, // 14: envoy.service.ext_proc.v3.ProcessingResponse.immediate_response:type_name -> envoy.service.ext_proc.v3.ImmediateResponse
1678 18, // 15: envoy.service.ext_proc.v3.ProcessingResponse.dynamic_metadata:type_name -> google.protobuf.Struct
1679 19, // 16: envoy.service.ext_proc.v3.ProcessingResponse.mode_override:type_name -> envoy.extensions.filters.http.ext_proc.v3.ProcessingMode
1680 20, // 17: envoy.service.ext_proc.v3.ProcessingResponse.override_message_timeout:type_name -> google.protobuf.Duration
1681 21, // 18: envoy.service.ext_proc.v3.HttpHeaders.headers:type_name -> envoy.config.core.v3.HeaderMap
1682 16, // 19: envoy.service.ext_proc.v3.HttpHeaders.attributes:type_name -> envoy.service.ext_proc.v3.HttpHeaders.AttributesEntry
1683 21, // 20: envoy.service.ext_proc.v3.HttpTrailers.trailers:type_name -> envoy.config.core.v3.HeaderMap
1684 9, // 21: envoy.service.ext_proc.v3.HeadersResponse.response:type_name -> envoy.service.ext_proc.v3.CommonResponse
1685 9, // 22: envoy.service.ext_proc.v3.BodyResponse.response:type_name -> envoy.service.ext_proc.v3.CommonResponse
1686 12, // 23: envoy.service.ext_proc.v3.TrailersResponse.header_mutation:type_name -> envoy.service.ext_proc.v3.HeaderMutation
1687 0, // 24: envoy.service.ext_proc.v3.CommonResponse.status:type_name -> envoy.service.ext_proc.v3.CommonResponse.ResponseStatus
1688 12, // 25: envoy.service.ext_proc.v3.CommonResponse.header_mutation:type_name -> envoy.service.ext_proc.v3.HeaderMutation
1689 14, // 26: envoy.service.ext_proc.v3.CommonResponse.body_mutation:type_name -> envoy.service.ext_proc.v3.BodyMutation
1690 21, // 27: envoy.service.ext_proc.v3.CommonResponse.trailers:type_name -> envoy.config.core.v3.HeaderMap
1691 22, // 28: envoy.service.ext_proc.v3.ImmediateResponse.status:type_name -> envoy.type.v3.HttpStatus
1692 12, // 29: envoy.service.ext_proc.v3.ImmediateResponse.headers:type_name -> envoy.service.ext_proc.v3.HeaderMutation
1693 11, // 30: envoy.service.ext_proc.v3.ImmediateResponse.grpc_status:type_name -> envoy.service.ext_proc.v3.GrpcStatus
1694 23, // 31: envoy.service.ext_proc.v3.HeaderMutation.set_headers:type_name -> envoy.config.core.v3.HeaderValueOption
1695 13, // 32: envoy.service.ext_proc.v3.BodyMutation.streamed_response:type_name -> envoy.service.ext_proc.v3.StreamedBodyResponse
1696 18, // 33: envoy.service.ext_proc.v3.ProcessingRequest.AttributesEntry.value:type_name -> google.protobuf.Struct
1697 18, // 34: envoy.service.ext_proc.v3.HttpHeaders.AttributesEntry.value:type_name -> google.protobuf.Struct
1698 1, // 35: envoy.service.ext_proc.v3.ExternalProcessor.Process:input_type -> envoy.service.ext_proc.v3.ProcessingRequest
1699 2, // 36: envoy.service.ext_proc.v3.ExternalProcessor.Process:output_type -> envoy.service.ext_proc.v3.ProcessingResponse
1700 36, // [36:37] is the sub-list for method output_type
1701 35, // [35:36] is the sub-list for method input_type
1702 35, // [35:35] is the sub-list for extension type_name
1703 35, // [35:35] is the sub-list for extension extendee
1704 0, // [0:35] is the sub-list for field type_name
1705 }
1706
1707 func init() { file_envoy_service_ext_proc_v3_external_processor_proto_init() }
1708 func file_envoy_service_ext_proc_v3_external_processor_proto_init() {
1709 if File_envoy_service_ext_proc_v3_external_processor_proto != nil {
1710 return
1711 }
1712 if !protoimpl.UnsafeEnabled {
1713 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1714 switch v := v.(*ProcessingRequest); i {
1715 case 0:
1716 return &v.state
1717 case 1:
1718 return &v.sizeCache
1719 case 2:
1720 return &v.unknownFields
1721 default:
1722 return nil
1723 }
1724 }
1725 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1726 switch v := v.(*ProcessingResponse); i {
1727 case 0:
1728 return &v.state
1729 case 1:
1730 return &v.sizeCache
1731 case 2:
1732 return &v.unknownFields
1733 default:
1734 return nil
1735 }
1736 }
1737 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1738 switch v := v.(*HttpHeaders); i {
1739 case 0:
1740 return &v.state
1741 case 1:
1742 return &v.sizeCache
1743 case 2:
1744 return &v.unknownFields
1745 default:
1746 return nil
1747 }
1748 }
1749 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1750 switch v := v.(*HttpBody); i {
1751 case 0:
1752 return &v.state
1753 case 1:
1754 return &v.sizeCache
1755 case 2:
1756 return &v.unknownFields
1757 default:
1758 return nil
1759 }
1760 }
1761 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1762 switch v := v.(*HttpTrailers); i {
1763 case 0:
1764 return &v.state
1765 case 1:
1766 return &v.sizeCache
1767 case 2:
1768 return &v.unknownFields
1769 default:
1770 return nil
1771 }
1772 }
1773 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1774 switch v := v.(*HeadersResponse); i {
1775 case 0:
1776 return &v.state
1777 case 1:
1778 return &v.sizeCache
1779 case 2:
1780 return &v.unknownFields
1781 default:
1782 return nil
1783 }
1784 }
1785 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1786 switch v := v.(*BodyResponse); i {
1787 case 0:
1788 return &v.state
1789 case 1:
1790 return &v.sizeCache
1791 case 2:
1792 return &v.unknownFields
1793 default:
1794 return nil
1795 }
1796 }
1797 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1798 switch v := v.(*TrailersResponse); i {
1799 case 0:
1800 return &v.state
1801 case 1:
1802 return &v.sizeCache
1803 case 2:
1804 return &v.unknownFields
1805 default:
1806 return nil
1807 }
1808 }
1809 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1810 switch v := v.(*CommonResponse); i {
1811 case 0:
1812 return &v.state
1813 case 1:
1814 return &v.sizeCache
1815 case 2:
1816 return &v.unknownFields
1817 default:
1818 return nil
1819 }
1820 }
1821 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1822 switch v := v.(*ImmediateResponse); i {
1823 case 0:
1824 return &v.state
1825 case 1:
1826 return &v.sizeCache
1827 case 2:
1828 return &v.unknownFields
1829 default:
1830 return nil
1831 }
1832 }
1833 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1834 switch v := v.(*GrpcStatus); i {
1835 case 0:
1836 return &v.state
1837 case 1:
1838 return &v.sizeCache
1839 case 2:
1840 return &v.unknownFields
1841 default:
1842 return nil
1843 }
1844 }
1845 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1846 switch v := v.(*HeaderMutation); i {
1847 case 0:
1848 return &v.state
1849 case 1:
1850 return &v.sizeCache
1851 case 2:
1852 return &v.unknownFields
1853 default:
1854 return nil
1855 }
1856 }
1857 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1858 switch v := v.(*StreamedBodyResponse); i {
1859 case 0:
1860 return &v.state
1861 case 1:
1862 return &v.sizeCache
1863 case 2:
1864 return &v.unknownFields
1865 default:
1866 return nil
1867 }
1868 }
1869 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1870 switch v := v.(*BodyMutation); i {
1871 case 0:
1872 return &v.state
1873 case 1:
1874 return &v.sizeCache
1875 case 2:
1876 return &v.unknownFields
1877 default:
1878 return nil
1879 }
1880 }
1881 }
1882 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[0].OneofWrappers = []interface{}{
1883 (*ProcessingRequest_RequestHeaders)(nil),
1884 (*ProcessingRequest_ResponseHeaders)(nil),
1885 (*ProcessingRequest_RequestBody)(nil),
1886 (*ProcessingRequest_ResponseBody)(nil),
1887 (*ProcessingRequest_RequestTrailers)(nil),
1888 (*ProcessingRequest_ResponseTrailers)(nil),
1889 }
1890 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[1].OneofWrappers = []interface{}{
1891 (*ProcessingResponse_RequestHeaders)(nil),
1892 (*ProcessingResponse_ResponseHeaders)(nil),
1893 (*ProcessingResponse_RequestBody)(nil),
1894 (*ProcessingResponse_ResponseBody)(nil),
1895 (*ProcessingResponse_RequestTrailers)(nil),
1896 (*ProcessingResponse_ResponseTrailers)(nil),
1897 (*ProcessingResponse_ImmediateResponse)(nil),
1898 }
1899 file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes[13].OneofWrappers = []interface{}{
1900 (*BodyMutation_Body)(nil),
1901 (*BodyMutation_ClearBody)(nil),
1902 (*BodyMutation_StreamedResponse)(nil),
1903 }
1904 type x struct{}
1905 out := protoimpl.TypeBuilder{
1906 File: protoimpl.DescBuilder{
1907 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1908 RawDescriptor: file_envoy_service_ext_proc_v3_external_processor_proto_rawDesc,
1909 NumEnums: 1,
1910 NumMessages: 16,
1911 NumExtensions: 0,
1912 NumServices: 1,
1913 },
1914 GoTypes: file_envoy_service_ext_proc_v3_external_processor_proto_goTypes,
1915 DependencyIndexes: file_envoy_service_ext_proc_v3_external_processor_proto_depIdxs,
1916 EnumInfos: file_envoy_service_ext_proc_v3_external_processor_proto_enumTypes,
1917 MessageInfos: file_envoy_service_ext_proc_v3_external_processor_proto_msgTypes,
1918 }.Build()
1919 File_envoy_service_ext_proc_v3_external_processor_proto = out.File
1920 file_envoy_service_ext_proc_v3_external_processor_proto_rawDesc = nil
1921 file_envoy_service_ext_proc_v3_external_processor_proto_goTypes = nil
1922 file_envoy_service_ext_proc_v3_external_processor_proto_depIdxs = nil
1923 }