1
2
3
4
5
6
7 package v2alpha
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 core "github.com/emissary-ingress/emissary/v3/pkg/api/envoy/api/v2/core"
12 route "github.com/emissary-ingress/emissary/v3/pkg/api/envoy/api/v2/route"
13 _ "github.com/envoyproxy/protoc-gen-validate/validate"
14 wrappers "github.com/golang/protobuf/ptypes/wrappers"
15 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28
29
30
31
32 type OutputSink_Format int32
33
34 const (
35
36
37
38
39
40 OutputSink_JSON_BODY_AS_BYTES OutputSink_Format = 0
41
42
43
44
45
46
47
48 OutputSink_JSON_BODY_AS_STRING OutputSink_Format = 1
49
50
51
52
53 OutputSink_PROTO_BINARY OutputSink_Format = 2
54
55
56
57
58
59 OutputSink_PROTO_BINARY_LENGTH_DELIMITED OutputSink_Format = 3
60
61 OutputSink_PROTO_TEXT OutputSink_Format = 4
62 )
63
64
65 var (
66 OutputSink_Format_name = map[int32]string{
67 0: "JSON_BODY_AS_BYTES",
68 1: "JSON_BODY_AS_STRING",
69 2: "PROTO_BINARY",
70 3: "PROTO_BINARY_LENGTH_DELIMITED",
71 4: "PROTO_TEXT",
72 }
73 OutputSink_Format_value = map[string]int32{
74 "JSON_BODY_AS_BYTES": 0,
75 "JSON_BODY_AS_STRING": 1,
76 "PROTO_BINARY": 2,
77 "PROTO_BINARY_LENGTH_DELIMITED": 3,
78 "PROTO_TEXT": 4,
79 }
80 )
81
82 func (x OutputSink_Format) Enum() *OutputSink_Format {
83 p := new(OutputSink_Format)
84 *p = x
85 return p
86 }
87
88 func (x OutputSink_Format) String() string {
89 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
90 }
91
92 func (OutputSink_Format) Descriptor() protoreflect.EnumDescriptor {
93 return file_envoy_service_tap_v2alpha_common_proto_enumTypes[0].Descriptor()
94 }
95
96 func (OutputSink_Format) Type() protoreflect.EnumType {
97 return &file_envoy_service_tap_v2alpha_common_proto_enumTypes[0]
98 }
99
100 func (x OutputSink_Format) Number() protoreflect.EnumNumber {
101 return protoreflect.EnumNumber(x)
102 }
103
104
105 func (OutputSink_Format) EnumDescriptor() ([]byte, []int) {
106 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{4, 0}
107 }
108
109
110 type TapConfig struct {
111 state protoimpl.MessageState
112 sizeCache protoimpl.SizeCache
113 unknownFields protoimpl.UnknownFields
114
115
116
117 MatchConfig *MatchPredicate `protobuf:"bytes,1,opt,name=match_config,json=matchConfig,proto3" json:"match_config,omitempty"`
118
119
120 OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
121
122
123
124
125
126
127
128
129 TapEnabled *core.RuntimeFractionalPercent `protobuf:"bytes,3,opt,name=tap_enabled,json=tapEnabled,proto3" json:"tap_enabled,omitempty"`
130 }
131
132 func (x *TapConfig) Reset() {
133 *x = TapConfig{}
134 if protoimpl.UnsafeEnabled {
135 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[0]
136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
137 ms.StoreMessageInfo(mi)
138 }
139 }
140
141 func (x *TapConfig) String() string {
142 return protoimpl.X.MessageStringOf(x)
143 }
144
145 func (*TapConfig) ProtoMessage() {}
146
147 func (x *TapConfig) ProtoReflect() protoreflect.Message {
148 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[0]
149 if protoimpl.UnsafeEnabled && x != nil {
150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151 if ms.LoadMessageInfo() == nil {
152 ms.StoreMessageInfo(mi)
153 }
154 return ms
155 }
156 return mi.MessageOf(x)
157 }
158
159
160 func (*TapConfig) Descriptor() ([]byte, []int) {
161 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{0}
162 }
163
164 func (x *TapConfig) GetMatchConfig() *MatchPredicate {
165 if x != nil {
166 return x.MatchConfig
167 }
168 return nil
169 }
170
171 func (x *TapConfig) GetOutputConfig() *OutputConfig {
172 if x != nil {
173 return x.OutputConfig
174 }
175 return nil
176 }
177
178 func (x *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent {
179 if x != nil {
180 return x.TapEnabled
181 }
182 return nil
183 }
184
185
186
187
188 type MatchPredicate struct {
189 state protoimpl.MessageState
190 sizeCache protoimpl.SizeCache
191 unknownFields protoimpl.UnknownFields
192
193
194
195
196
197
198
199
200
201
202 Rule isMatchPredicate_Rule `protobuf_oneof:"rule"`
203 }
204
205 func (x *MatchPredicate) Reset() {
206 *x = MatchPredicate{}
207 if protoimpl.UnsafeEnabled {
208 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[1]
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 ms.StoreMessageInfo(mi)
211 }
212 }
213
214 func (x *MatchPredicate) String() string {
215 return protoimpl.X.MessageStringOf(x)
216 }
217
218 func (*MatchPredicate) ProtoMessage() {}
219
220 func (x *MatchPredicate) ProtoReflect() protoreflect.Message {
221 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[1]
222 if protoimpl.UnsafeEnabled && x != nil {
223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224 if ms.LoadMessageInfo() == nil {
225 ms.StoreMessageInfo(mi)
226 }
227 return ms
228 }
229 return mi.MessageOf(x)
230 }
231
232
233 func (*MatchPredicate) Descriptor() ([]byte, []int) {
234 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{1}
235 }
236
237 func (m *MatchPredicate) GetRule() isMatchPredicate_Rule {
238 if m != nil {
239 return m.Rule
240 }
241 return nil
242 }
243
244 func (x *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet {
245 if x, ok := x.GetRule().(*MatchPredicate_OrMatch); ok {
246 return x.OrMatch
247 }
248 return nil
249 }
250
251 func (x *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet {
252 if x, ok := x.GetRule().(*MatchPredicate_AndMatch); ok {
253 return x.AndMatch
254 }
255 return nil
256 }
257
258 func (x *MatchPredicate) GetNotMatch() *MatchPredicate {
259 if x, ok := x.GetRule().(*MatchPredicate_NotMatch); ok {
260 return x.NotMatch
261 }
262 return nil
263 }
264
265 func (x *MatchPredicate) GetAnyMatch() bool {
266 if x, ok := x.GetRule().(*MatchPredicate_AnyMatch); ok {
267 return x.AnyMatch
268 }
269 return false
270 }
271
272 func (x *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch {
273 if x, ok := x.GetRule().(*MatchPredicate_HttpRequestHeadersMatch); ok {
274 return x.HttpRequestHeadersMatch
275 }
276 return nil
277 }
278
279 func (x *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch {
280 if x, ok := x.GetRule().(*MatchPredicate_HttpRequestTrailersMatch); ok {
281 return x.HttpRequestTrailersMatch
282 }
283 return nil
284 }
285
286 func (x *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch {
287 if x, ok := x.GetRule().(*MatchPredicate_HttpResponseHeadersMatch); ok {
288 return x.HttpResponseHeadersMatch
289 }
290 return nil
291 }
292
293 func (x *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch {
294 if x, ok := x.GetRule().(*MatchPredicate_HttpResponseTrailersMatch); ok {
295 return x.HttpResponseTrailersMatch
296 }
297 return nil
298 }
299
300 type isMatchPredicate_Rule interface {
301 isMatchPredicate_Rule()
302 }
303
304 type MatchPredicate_OrMatch struct {
305
306
307 OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"`
308 }
309
310 type MatchPredicate_AndMatch struct {
311
312
313 AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"`
314 }
315
316 type MatchPredicate_NotMatch struct {
317
318 NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"`
319 }
320
321 type MatchPredicate_AnyMatch struct {
322
323 AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"`
324 }
325
326 type MatchPredicate_HttpRequestHeadersMatch struct {
327
328 HttpRequestHeadersMatch *HttpHeadersMatch `protobuf:"bytes,5,opt,name=http_request_headers_match,json=httpRequestHeadersMatch,proto3,oneof"`
329 }
330
331 type MatchPredicate_HttpRequestTrailersMatch struct {
332
333 HttpRequestTrailersMatch *HttpHeadersMatch `protobuf:"bytes,6,opt,name=http_request_trailers_match,json=httpRequestTrailersMatch,proto3,oneof"`
334 }
335
336 type MatchPredicate_HttpResponseHeadersMatch struct {
337
338 HttpResponseHeadersMatch *HttpHeadersMatch `protobuf:"bytes,7,opt,name=http_response_headers_match,json=httpResponseHeadersMatch,proto3,oneof"`
339 }
340
341 type MatchPredicate_HttpResponseTrailersMatch struct {
342
343 HttpResponseTrailersMatch *HttpHeadersMatch `protobuf:"bytes,8,opt,name=http_response_trailers_match,json=httpResponseTrailersMatch,proto3,oneof"`
344 }
345
346 func (*MatchPredicate_OrMatch) isMatchPredicate_Rule() {}
347
348 func (*MatchPredicate_AndMatch) isMatchPredicate_Rule() {}
349
350 func (*MatchPredicate_NotMatch) isMatchPredicate_Rule() {}
351
352 func (*MatchPredicate_AnyMatch) isMatchPredicate_Rule() {}
353
354 func (*MatchPredicate_HttpRequestHeadersMatch) isMatchPredicate_Rule() {}
355
356 func (*MatchPredicate_HttpRequestTrailersMatch) isMatchPredicate_Rule() {}
357
358 func (*MatchPredicate_HttpResponseHeadersMatch) isMatchPredicate_Rule() {}
359
360 func (*MatchPredicate_HttpResponseTrailersMatch) isMatchPredicate_Rule() {}
361
362
363 type HttpHeadersMatch struct {
364 state protoimpl.MessageState
365 sizeCache protoimpl.SizeCache
366 unknownFields protoimpl.UnknownFields
367
368
369 Headers []*route.HeaderMatcher `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
370 }
371
372 func (x *HttpHeadersMatch) Reset() {
373 *x = HttpHeadersMatch{}
374 if protoimpl.UnsafeEnabled {
375 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[2]
376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377 ms.StoreMessageInfo(mi)
378 }
379 }
380
381 func (x *HttpHeadersMatch) String() string {
382 return protoimpl.X.MessageStringOf(x)
383 }
384
385 func (*HttpHeadersMatch) ProtoMessage() {}
386
387 func (x *HttpHeadersMatch) ProtoReflect() protoreflect.Message {
388 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[2]
389 if protoimpl.UnsafeEnabled && x != nil {
390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
391 if ms.LoadMessageInfo() == nil {
392 ms.StoreMessageInfo(mi)
393 }
394 return ms
395 }
396 return mi.MessageOf(x)
397 }
398
399
400 func (*HttpHeadersMatch) Descriptor() ([]byte, []int) {
401 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{2}
402 }
403
404 func (x *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher {
405 if x != nil {
406 return x.Headers
407 }
408 return nil
409 }
410
411
412 type OutputConfig struct {
413 state protoimpl.MessageState
414 sizeCache protoimpl.SizeCache
415 unknownFields protoimpl.UnknownFields
416
417
418
419 Sinks []*OutputSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"`
420
421
422
423
424 MaxBufferedRxBytes *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_buffered_rx_bytes,json=maxBufferedRxBytes,proto3" json:"max_buffered_rx_bytes,omitempty"`
425
426
427
428
429 MaxBufferedTxBytes *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_buffered_tx_bytes,json=maxBufferedTxBytes,proto3" json:"max_buffered_tx_bytes,omitempty"`
430
431
432
433
434
435
436 Streaming bool `protobuf:"varint,4,opt,name=streaming,proto3" json:"streaming,omitempty"`
437 }
438
439 func (x *OutputConfig) Reset() {
440 *x = OutputConfig{}
441 if protoimpl.UnsafeEnabled {
442 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[3]
443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
444 ms.StoreMessageInfo(mi)
445 }
446 }
447
448 func (x *OutputConfig) String() string {
449 return protoimpl.X.MessageStringOf(x)
450 }
451
452 func (*OutputConfig) ProtoMessage() {}
453
454 func (x *OutputConfig) ProtoReflect() protoreflect.Message {
455 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[3]
456 if protoimpl.UnsafeEnabled && x != nil {
457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
458 if ms.LoadMessageInfo() == nil {
459 ms.StoreMessageInfo(mi)
460 }
461 return ms
462 }
463 return mi.MessageOf(x)
464 }
465
466
467 func (*OutputConfig) Descriptor() ([]byte, []int) {
468 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{3}
469 }
470
471 func (x *OutputConfig) GetSinks() []*OutputSink {
472 if x != nil {
473 return x.Sinks
474 }
475 return nil
476 }
477
478 func (x *OutputConfig) GetMaxBufferedRxBytes() *wrappers.UInt32Value {
479 if x != nil {
480 return x.MaxBufferedRxBytes
481 }
482 return nil
483 }
484
485 func (x *OutputConfig) GetMaxBufferedTxBytes() *wrappers.UInt32Value {
486 if x != nil {
487 return x.MaxBufferedTxBytes
488 }
489 return nil
490 }
491
492 func (x *OutputConfig) GetStreaming() bool {
493 if x != nil {
494 return x.Streaming
495 }
496 return false
497 }
498
499
500 type OutputSink struct {
501 state protoimpl.MessageState
502 sizeCache protoimpl.SizeCache
503 unknownFields protoimpl.UnknownFields
504
505
506 Format OutputSink_Format `protobuf:"varint,1,opt,name=format,proto3,enum=envoy.service.tap.v2alpha.OutputSink_Format" json:"format,omitempty"`
507
508
509
510
511 OutputSinkType isOutputSink_OutputSinkType `protobuf_oneof:"output_sink_type"`
512 }
513
514 func (x *OutputSink) Reset() {
515 *x = OutputSink{}
516 if protoimpl.UnsafeEnabled {
517 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[4]
518 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
519 ms.StoreMessageInfo(mi)
520 }
521 }
522
523 func (x *OutputSink) String() string {
524 return protoimpl.X.MessageStringOf(x)
525 }
526
527 func (*OutputSink) ProtoMessage() {}
528
529 func (x *OutputSink) ProtoReflect() protoreflect.Message {
530 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[4]
531 if protoimpl.UnsafeEnabled && x != nil {
532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533 if ms.LoadMessageInfo() == nil {
534 ms.StoreMessageInfo(mi)
535 }
536 return ms
537 }
538 return mi.MessageOf(x)
539 }
540
541
542 func (*OutputSink) Descriptor() ([]byte, []int) {
543 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{4}
544 }
545
546 func (x *OutputSink) GetFormat() OutputSink_Format {
547 if x != nil {
548 return x.Format
549 }
550 return OutputSink_JSON_BODY_AS_BYTES
551 }
552
553 func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType {
554 if m != nil {
555 return m.OutputSinkType
556 }
557 return nil
558 }
559
560 func (x *OutputSink) GetStreamingAdmin() *StreamingAdminSink {
561 if x, ok := x.GetOutputSinkType().(*OutputSink_StreamingAdmin); ok {
562 return x.StreamingAdmin
563 }
564 return nil
565 }
566
567 func (x *OutputSink) GetFilePerTap() *FilePerTapSink {
568 if x, ok := x.GetOutputSinkType().(*OutputSink_FilePerTap); ok {
569 return x.FilePerTap
570 }
571 return nil
572 }
573
574 func (x *OutputSink) GetStreamingGrpc() *StreamingGrpcSink {
575 if x, ok := x.GetOutputSinkType().(*OutputSink_StreamingGrpc); ok {
576 return x.StreamingGrpc
577 }
578 return nil
579 }
580
581 type isOutputSink_OutputSinkType interface {
582 isOutputSink_OutputSinkType()
583 }
584
585 type OutputSink_StreamingAdmin struct {
586
587
588
589
590
591
592
593
594 StreamingAdmin *StreamingAdminSink `protobuf:"bytes,2,opt,name=streaming_admin,json=streamingAdmin,proto3,oneof"`
595 }
596
597 type OutputSink_FilePerTap struct {
598
599 FilePerTap *FilePerTapSink `protobuf:"bytes,3,opt,name=file_per_tap,json=filePerTap,proto3,oneof"`
600 }
601
602 type OutputSink_StreamingGrpc struct {
603
604
605 StreamingGrpc *StreamingGrpcSink `protobuf:"bytes,4,opt,name=streaming_grpc,json=streamingGrpc,proto3,oneof"`
606 }
607
608 func (*OutputSink_StreamingAdmin) isOutputSink_OutputSinkType() {}
609
610 func (*OutputSink_FilePerTap) isOutputSink_OutputSinkType() {}
611
612 func (*OutputSink_StreamingGrpc) isOutputSink_OutputSinkType() {}
613
614
615 type StreamingAdminSink struct {
616 state protoimpl.MessageState
617 sizeCache protoimpl.SizeCache
618 unknownFields protoimpl.UnknownFields
619 }
620
621 func (x *StreamingAdminSink) Reset() {
622 *x = StreamingAdminSink{}
623 if protoimpl.UnsafeEnabled {
624 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[5]
625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
626 ms.StoreMessageInfo(mi)
627 }
628 }
629
630 func (x *StreamingAdminSink) String() string {
631 return protoimpl.X.MessageStringOf(x)
632 }
633
634 func (*StreamingAdminSink) ProtoMessage() {}
635
636 func (x *StreamingAdminSink) ProtoReflect() protoreflect.Message {
637 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[5]
638 if protoimpl.UnsafeEnabled && x != nil {
639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
640 if ms.LoadMessageInfo() == nil {
641 ms.StoreMessageInfo(mi)
642 }
643 return ms
644 }
645 return mi.MessageOf(x)
646 }
647
648
649 func (*StreamingAdminSink) Descriptor() ([]byte, []int) {
650 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{5}
651 }
652
653
654 type FilePerTapSink struct {
655 state protoimpl.MessageState
656 sizeCache protoimpl.SizeCache
657 unknownFields protoimpl.UnknownFields
658
659
660
661
662 PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
663 }
664
665 func (x *FilePerTapSink) Reset() {
666 *x = FilePerTapSink{}
667 if protoimpl.UnsafeEnabled {
668 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[6]
669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
670 ms.StoreMessageInfo(mi)
671 }
672 }
673
674 func (x *FilePerTapSink) String() string {
675 return protoimpl.X.MessageStringOf(x)
676 }
677
678 func (*FilePerTapSink) ProtoMessage() {}
679
680 func (x *FilePerTapSink) ProtoReflect() protoreflect.Message {
681 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[6]
682 if protoimpl.UnsafeEnabled && x != nil {
683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
684 if ms.LoadMessageInfo() == nil {
685 ms.StoreMessageInfo(mi)
686 }
687 return ms
688 }
689 return mi.MessageOf(x)
690 }
691
692
693 func (*FilePerTapSink) Descriptor() ([]byte, []int) {
694 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{6}
695 }
696
697 func (x *FilePerTapSink) GetPathPrefix() string {
698 if x != nil {
699 return x.PathPrefix
700 }
701 return ""
702 }
703
704
705
706 type StreamingGrpcSink struct {
707 state protoimpl.MessageState
708 sizeCache protoimpl.SizeCache
709 unknownFields protoimpl.UnknownFields
710
711
712 TapId string `protobuf:"bytes,1,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"`
713
714 GrpcService *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
715 }
716
717 func (x *StreamingGrpcSink) Reset() {
718 *x = StreamingGrpcSink{}
719 if protoimpl.UnsafeEnabled {
720 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[7]
721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
722 ms.StoreMessageInfo(mi)
723 }
724 }
725
726 func (x *StreamingGrpcSink) String() string {
727 return protoimpl.X.MessageStringOf(x)
728 }
729
730 func (*StreamingGrpcSink) ProtoMessage() {}
731
732 func (x *StreamingGrpcSink) ProtoReflect() protoreflect.Message {
733 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[7]
734 if protoimpl.UnsafeEnabled && x != nil {
735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
736 if ms.LoadMessageInfo() == nil {
737 ms.StoreMessageInfo(mi)
738 }
739 return ms
740 }
741 return mi.MessageOf(x)
742 }
743
744
745 func (*StreamingGrpcSink) Descriptor() ([]byte, []int) {
746 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{7}
747 }
748
749 func (x *StreamingGrpcSink) GetTapId() string {
750 if x != nil {
751 return x.TapId
752 }
753 return ""
754 }
755
756 func (x *StreamingGrpcSink) GetGrpcService() *core.GrpcService {
757 if x != nil {
758 return x.GrpcService
759 }
760 return nil
761 }
762
763
764 type MatchPredicate_MatchSet struct {
765 state protoimpl.MessageState
766 sizeCache protoimpl.SizeCache
767 unknownFields protoimpl.UnknownFields
768
769
770 Rules []*MatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
771 }
772
773 func (x *MatchPredicate_MatchSet) Reset() {
774 *x = MatchPredicate_MatchSet{}
775 if protoimpl.UnsafeEnabled {
776 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[8]
777 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
778 ms.StoreMessageInfo(mi)
779 }
780 }
781
782 func (x *MatchPredicate_MatchSet) String() string {
783 return protoimpl.X.MessageStringOf(x)
784 }
785
786 func (*MatchPredicate_MatchSet) ProtoMessage() {}
787
788 func (x *MatchPredicate_MatchSet) ProtoReflect() protoreflect.Message {
789 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[8]
790 if protoimpl.UnsafeEnabled && x != nil {
791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
792 if ms.LoadMessageInfo() == nil {
793 ms.StoreMessageInfo(mi)
794 }
795 return ms
796 }
797 return mi.MessageOf(x)
798 }
799
800
801 func (*MatchPredicate_MatchSet) Descriptor() ([]byte, []int) {
802 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{1, 0}
803 }
804
805 func (x *MatchPredicate_MatchSet) GetRules() []*MatchPredicate {
806 if x != nil {
807 return x.Rules
808 }
809 return nil
810 }
811
812 var File_envoy_service_tap_v2alpha_common_proto protoreflect.FileDescriptor
813
814 var file_envoy_service_tap_v2alpha_common_proto_rawDesc = []byte{
815 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
816 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
817 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
818 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c,
819 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
820 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
821 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f,
822 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
823 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61,
824 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x72, 0x6f, 0x75, 0x74,
825 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f,
826 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
827 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
828 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
829 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
830 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
831 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
832 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
833 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x02, 0x0a, 0x09, 0x54,
834 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63,
835 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
836 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74,
837 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68,
838 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01,
839 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
840 0x12, 0x56, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
841 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
842 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c,
843 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
844 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70,
845 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, 0x0b, 0x74, 0x61, 0x70, 0x5f,
846 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
847 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
848 0x65, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
849 0x6e, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x74, 0x61, 0x70, 0x45,
850 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xc2, 0x06, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x63, 0x68,
851 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x6f, 0x72, 0x5f,
852 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e,
853 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e,
854 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65,
855 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x48,
856 0x00, 0x52, 0x07, 0x6f, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x51, 0x0a, 0x09, 0x61, 0x6e,
857 0x64, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e,
858 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61,
859 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50,
860 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65,
861 0x74, 0x48, 0x00, 0x52, 0x08, 0x61, 0x6e, 0x64, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x48, 0x0a,
862 0x09, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
863 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
864 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74,
865 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6e,
866 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x09, 0x61, 0x6e, 0x79, 0x5f, 0x6d,
867 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x6a,
868 0x02, 0x08, 0x01, 0x48, 0x00, 0x52, 0x08, 0x61, 0x6e, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12,
869 0x6a, 0x0a, 0x1a, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f,
870 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20,
871 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
872 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
873 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68,
874 0x48, 0x00, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
875 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x6c, 0x0a, 0x1b, 0x68,
876 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x69,
877 0x6c, 0x65, 0x72, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
878 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
879 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74,
880 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52,
881 0x18, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69,
882 0x6c, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x6c, 0x0a, 0x1b, 0x68, 0x74, 0x74,
883 0x70, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65,
884 0x72, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b,
885 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74,
886 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48,
887 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x18, 0x68,
888 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65,
889 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x6e, 0x0a, 0x1c, 0x68, 0x74, 0x74, 0x70, 0x5f,
890 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72,
891 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
892 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61,
893 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65,
894 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x19, 0x68, 0x74,
895 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65,
896 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x55, 0x0a, 0x08, 0x4d, 0x61, 0x74, 0x63, 0x68,
897 0x53, 0x65, 0x74, 0x12, 0x49, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
898 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
899 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d,
900 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x08, 0xfa,
901 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x02, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x0b,
902 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x4f, 0x0a, 0x10, 0x48,
903 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12,
904 0x3b, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
905 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
906 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63,
907 0x68, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0x97, 0x02, 0x0a,
908 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a,
909 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65,
910 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70,
911 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53,
912 0x69, 0x6e, 0x6b, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x92, 0x01, 0x04, 0x08, 0x01, 0x10, 0x01, 0x52,
913 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x75,
914 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18,
915 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
916 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61,
917 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64,
918 0x52, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x62,
919 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
920 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
921 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
922 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65,
923 0x64, 0x54, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65,
924 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x74, 0x72,
925 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0xf5, 0x03, 0x0a, 0x0a, 0x4f, 0x75, 0x74, 0x70, 0x75,
926 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x4e, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18,
927 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
928 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
929 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x2e, 0x46, 0x6f, 0x72,
930 0x6d, 0x61, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x66,
931 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x58, 0x0a, 0x0f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69,
932 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d,
933 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74,
934 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
935 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52,
936 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12,
937 0x4d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x70, 0x18,
938 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
939 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
940 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x54, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x6b,
941 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x54, 0x61, 0x70, 0x12, 0x55,
942 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x72, 0x70, 0x63,
943 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
944 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
945 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x47, 0x72, 0x70, 0x63,
946 0x53, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e,
947 0x67, 0x47, 0x72, 0x70, 0x63, 0x22, 0x7e, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
948 0x16, 0x0a, 0x12, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x4f, 0x44, 0x59, 0x5f, 0x41, 0x53, 0x5f,
949 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f,
950 0x42, 0x4f, 0x44, 0x59, 0x5f, 0x41, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01,
951 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59,
952 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x42, 0x49, 0x4e, 0x41,
953 0x52, 0x59, 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x44, 0x45, 0x4c, 0x49, 0x4d, 0x49,
954 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x54,
955 0x45, 0x58, 0x54, 0x10, 0x04, 0x42, 0x17, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f,
956 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x14,
957 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e,
958 0x53, 0x69, 0x6e, 0x6b, 0x22, 0x3a, 0x0a, 0x0e, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x54,
959 0x61, 0x70, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x28, 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70,
960 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
961 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78,
962 0x22, 0x77, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x47, 0x72, 0x70,
963 0x63, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18,
964 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x70, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0c,
965 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
966 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
967 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69,
968 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72,
969 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x9d, 0x01, 0x0a, 0x27, 0x69, 0x6f,
970 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
971 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32,
972 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f,
973 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
974 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63,
975 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76,
976 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76,
977 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x15, 0x12, 0x13, 0x65, 0x6e,
978 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76,
979 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
980 0x33,
981 }
982
983 var (
984 file_envoy_service_tap_v2alpha_common_proto_rawDescOnce sync.Once
985 file_envoy_service_tap_v2alpha_common_proto_rawDescData = file_envoy_service_tap_v2alpha_common_proto_rawDesc
986 )
987
988 func file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP() []byte {
989 file_envoy_service_tap_v2alpha_common_proto_rawDescOnce.Do(func() {
990 file_envoy_service_tap_v2alpha_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_tap_v2alpha_common_proto_rawDescData)
991 })
992 return file_envoy_service_tap_v2alpha_common_proto_rawDescData
993 }
994
995 var file_envoy_service_tap_v2alpha_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
996 var file_envoy_service_tap_v2alpha_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
997 var file_envoy_service_tap_v2alpha_common_proto_goTypes = []interface{}{
998 (OutputSink_Format)(0),
999 (*TapConfig)(nil),
1000 (*MatchPredicate)(nil),
1001 (*HttpHeadersMatch)(nil),
1002 (*OutputConfig)(nil),
1003 (*OutputSink)(nil),
1004 (*StreamingAdminSink)(nil),
1005 (*FilePerTapSink)(nil),
1006 (*StreamingGrpcSink)(nil),
1007 (*MatchPredicate_MatchSet)(nil),
1008 (*core.RuntimeFractionalPercent)(nil),
1009 (*route.HeaderMatcher)(nil),
1010 (*wrappers.UInt32Value)(nil),
1011 (*core.GrpcService)(nil),
1012 }
1013 var file_envoy_service_tap_v2alpha_common_proto_depIdxs = []int32{
1014 2,
1015 4,
1016 10,
1017 9,
1018 9,
1019 2,
1020 3,
1021 3,
1022 3,
1023 3,
1024 11,
1025 5,
1026 12,
1027 12,
1028 0,
1029 6,
1030 7,
1031 8,
1032 13,
1033 2,
1034 20,
1035 20,
1036 20,
1037 20,
1038 0,
1039 }
1040
1041 func init() { file_envoy_service_tap_v2alpha_common_proto_init() }
1042 func file_envoy_service_tap_v2alpha_common_proto_init() {
1043 if File_envoy_service_tap_v2alpha_common_proto != nil {
1044 return
1045 }
1046 if !protoimpl.UnsafeEnabled {
1047 file_envoy_service_tap_v2alpha_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1048 switch v := v.(*TapConfig); i {
1049 case 0:
1050 return &v.state
1051 case 1:
1052 return &v.sizeCache
1053 case 2:
1054 return &v.unknownFields
1055 default:
1056 return nil
1057 }
1058 }
1059 file_envoy_service_tap_v2alpha_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1060 switch v := v.(*MatchPredicate); i {
1061 case 0:
1062 return &v.state
1063 case 1:
1064 return &v.sizeCache
1065 case 2:
1066 return &v.unknownFields
1067 default:
1068 return nil
1069 }
1070 }
1071 file_envoy_service_tap_v2alpha_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1072 switch v := v.(*HttpHeadersMatch); i {
1073 case 0:
1074 return &v.state
1075 case 1:
1076 return &v.sizeCache
1077 case 2:
1078 return &v.unknownFields
1079 default:
1080 return nil
1081 }
1082 }
1083 file_envoy_service_tap_v2alpha_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1084 switch v := v.(*OutputConfig); i {
1085 case 0:
1086 return &v.state
1087 case 1:
1088 return &v.sizeCache
1089 case 2:
1090 return &v.unknownFields
1091 default:
1092 return nil
1093 }
1094 }
1095 file_envoy_service_tap_v2alpha_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1096 switch v := v.(*OutputSink); i {
1097 case 0:
1098 return &v.state
1099 case 1:
1100 return &v.sizeCache
1101 case 2:
1102 return &v.unknownFields
1103 default:
1104 return nil
1105 }
1106 }
1107 file_envoy_service_tap_v2alpha_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1108 switch v := v.(*StreamingAdminSink); i {
1109 case 0:
1110 return &v.state
1111 case 1:
1112 return &v.sizeCache
1113 case 2:
1114 return &v.unknownFields
1115 default:
1116 return nil
1117 }
1118 }
1119 file_envoy_service_tap_v2alpha_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1120 switch v := v.(*FilePerTapSink); i {
1121 case 0:
1122 return &v.state
1123 case 1:
1124 return &v.sizeCache
1125 case 2:
1126 return &v.unknownFields
1127 default:
1128 return nil
1129 }
1130 }
1131 file_envoy_service_tap_v2alpha_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1132 switch v := v.(*StreamingGrpcSink); i {
1133 case 0:
1134 return &v.state
1135 case 1:
1136 return &v.sizeCache
1137 case 2:
1138 return &v.unknownFields
1139 default:
1140 return nil
1141 }
1142 }
1143 file_envoy_service_tap_v2alpha_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1144 switch v := v.(*MatchPredicate_MatchSet); i {
1145 case 0:
1146 return &v.state
1147 case 1:
1148 return &v.sizeCache
1149 case 2:
1150 return &v.unknownFields
1151 default:
1152 return nil
1153 }
1154 }
1155 }
1156 file_envoy_service_tap_v2alpha_common_proto_msgTypes[1].OneofWrappers = []interface{}{
1157 (*MatchPredicate_OrMatch)(nil),
1158 (*MatchPredicate_AndMatch)(nil),
1159 (*MatchPredicate_NotMatch)(nil),
1160 (*MatchPredicate_AnyMatch)(nil),
1161 (*MatchPredicate_HttpRequestHeadersMatch)(nil),
1162 (*MatchPredicate_HttpRequestTrailersMatch)(nil),
1163 (*MatchPredicate_HttpResponseHeadersMatch)(nil),
1164 (*MatchPredicate_HttpResponseTrailersMatch)(nil),
1165 }
1166 file_envoy_service_tap_v2alpha_common_proto_msgTypes[4].OneofWrappers = []interface{}{
1167 (*OutputSink_StreamingAdmin)(nil),
1168 (*OutputSink_FilePerTap)(nil),
1169 (*OutputSink_StreamingGrpc)(nil),
1170 }
1171 type x struct{}
1172 out := protoimpl.TypeBuilder{
1173 File: protoimpl.DescBuilder{
1174 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1175 RawDescriptor: file_envoy_service_tap_v2alpha_common_proto_rawDesc,
1176 NumEnums: 1,
1177 NumMessages: 9,
1178 NumExtensions: 0,
1179 NumServices: 0,
1180 },
1181 GoTypes: file_envoy_service_tap_v2alpha_common_proto_goTypes,
1182 DependencyIndexes: file_envoy_service_tap_v2alpha_common_proto_depIdxs,
1183 EnumInfos: file_envoy_service_tap_v2alpha_common_proto_enumTypes,
1184 MessageInfos: file_envoy_service_tap_v2alpha_common_proto_msgTypes,
1185 }.Build()
1186 File_envoy_service_tap_v2alpha_common_proto = out.File
1187 file_envoy_service_tap_v2alpha_common_proto_rawDesc = nil
1188 file_envoy_service_tap_v2alpha_common_proto_goTypes = nil
1189 file_envoy_service_tap_v2alpha_common_proto_depIdxs = nil
1190 }
1191
View as plain text