gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/service/tap/v2alpha/common.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/service/tap/v2alpha/common.proto 6 7 package envoy_service_tap_v2alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 core "gitee.com/ks-custle/core-gm/go-control-plane/envoy/api/v2/core" 12 route "gitee.com/ks-custle/core-gm/go-control-plane/envoy/api/v2/route" 13 _ "github.com/envoyproxy/protoc-gen-validate/validate" 14 proto "github.com/golang/protobuf/proto" 15 wrappers "github.com/golang/protobuf/ptypes/wrappers" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 // Output format. All output is in the form of one or more :ref:`TraceWrapper 34 // <envoy_api_msg_data.tap.v2alpha.TraceWrapper>` messages. This enumeration indicates 35 // how those messages are written. Note that not all sinks support all output formats. See 36 // individual sink documentation for more information. 37 type OutputSink_Format int32 38 39 const ( 40 // Each message will be written as JSON. Any :ref:`body <envoy_api_msg_data.tap.v2alpha.Body>` 41 // data will be present in the :ref:`as_bytes 42 // <envoy_api_field_data.tap.v2alpha.Body.as_bytes>` field. This means that body data will be 43 // base64 encoded as per the `proto3 JSON mappings 44 // <https://developers.google.com/protocol-buffers/docs/proto3#json>`_. 45 OutputSink_JSON_BODY_AS_BYTES OutputSink_Format = 0 46 // Each message will be written as JSON. Any :ref:`body <envoy_api_msg_data.tap.v2alpha.Body>` 47 // data will be present in the :ref:`as_string 48 // <envoy_api_field_data.tap.v2alpha.Body.as_string>` field. This means that body data will be 49 // string encoded as per the `proto3 JSON mappings 50 // <https://developers.google.com/protocol-buffers/docs/proto3#json>`_. This format type is 51 // useful when it is known that that body is human readable (e.g., JSON over HTTP) and the 52 // user wishes to view it directly without being forced to base64 decode the body. 53 OutputSink_JSON_BODY_AS_STRING OutputSink_Format = 1 54 // Binary proto format. Note that binary proto is not self-delimiting. If a sink writes 55 // multiple binary messages without any length information the data stream will not be 56 // useful. However, for certain sinks that are self-delimiting (e.g., one message per file) 57 // this output format makes consumption simpler. 58 OutputSink_PROTO_BINARY OutputSink_Format = 2 59 // Messages are written as a sequence tuples, where each tuple is the message length encoded 60 // as a `protobuf 32-bit varint 61 // <https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream>`_ 62 // followed by the binary message. The messages can be read back using the language specific 63 // protobuf coded stream implementation to obtain the message length and the message. 64 OutputSink_PROTO_BINARY_LENGTH_DELIMITED OutputSink_Format = 3 65 // Text proto format. 66 OutputSink_PROTO_TEXT OutputSink_Format = 4 67 ) 68 69 // Enum value maps for OutputSink_Format. 70 var ( 71 OutputSink_Format_name = map[int32]string{ 72 0: "JSON_BODY_AS_BYTES", 73 1: "JSON_BODY_AS_STRING", 74 2: "PROTO_BINARY", 75 3: "PROTO_BINARY_LENGTH_DELIMITED", 76 4: "PROTO_TEXT", 77 } 78 OutputSink_Format_value = map[string]int32{ 79 "JSON_BODY_AS_BYTES": 0, 80 "JSON_BODY_AS_STRING": 1, 81 "PROTO_BINARY": 2, 82 "PROTO_BINARY_LENGTH_DELIMITED": 3, 83 "PROTO_TEXT": 4, 84 } 85 ) 86 87 func (x OutputSink_Format) Enum() *OutputSink_Format { 88 p := new(OutputSink_Format) 89 *p = x 90 return p 91 } 92 93 func (x OutputSink_Format) String() string { 94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 95 } 96 97 func (OutputSink_Format) Descriptor() protoreflect.EnumDescriptor { 98 return file_envoy_service_tap_v2alpha_common_proto_enumTypes[0].Descriptor() 99 } 100 101 func (OutputSink_Format) Type() protoreflect.EnumType { 102 return &file_envoy_service_tap_v2alpha_common_proto_enumTypes[0] 103 } 104 105 func (x OutputSink_Format) Number() protoreflect.EnumNumber { 106 return protoreflect.EnumNumber(x) 107 } 108 109 // Deprecated: Use OutputSink_Format.Descriptor instead. 110 func (OutputSink_Format) EnumDescriptor() ([]byte, []int) { 111 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{4, 0} 112 } 113 114 // Tap configuration. 115 type TapConfig struct { 116 state protoimpl.MessageState 117 sizeCache protoimpl.SizeCache 118 unknownFields protoimpl.UnknownFields 119 120 // The match configuration. If the configuration matches the data source being tapped, a tap will 121 // occur, with the result written to the configured output. 122 MatchConfig *MatchPredicate `protobuf:"bytes,1,opt,name=match_config,json=matchConfig,proto3" json:"match_config,omitempty"` 123 // The tap output configuration. If a match configuration matches a data source being tapped, 124 // a tap will occur and the data will be written to the configured output. 125 OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` 126 // [#not-implemented-hide:] Specify if Tap matching is enabled. The % of requests\connections for 127 // which the tap matching is enabled. When not enabled, the request\connection will not be 128 // recorded. 129 // 130 // .. note:: 131 // 132 // This field defaults to 100/:ref:`HUNDRED 133 // <envoy_api_enum_type.FractionalPercent.DenominatorType>`. 134 TapEnabled *core.RuntimeFractionalPercent `protobuf:"bytes,3,opt,name=tap_enabled,json=tapEnabled,proto3" json:"tap_enabled,omitempty"` 135 } 136 137 func (x *TapConfig) Reset() { 138 *x = TapConfig{} 139 if protoimpl.UnsafeEnabled { 140 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[0] 141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 142 ms.StoreMessageInfo(mi) 143 } 144 } 145 146 func (x *TapConfig) String() string { 147 return protoimpl.X.MessageStringOf(x) 148 } 149 150 func (*TapConfig) ProtoMessage() {} 151 152 func (x *TapConfig) ProtoReflect() protoreflect.Message { 153 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[0] 154 if protoimpl.UnsafeEnabled && x != nil { 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 if ms.LoadMessageInfo() == nil { 157 ms.StoreMessageInfo(mi) 158 } 159 return ms 160 } 161 return mi.MessageOf(x) 162 } 163 164 // Deprecated: Use TapConfig.ProtoReflect.Descriptor instead. 165 func (*TapConfig) Descriptor() ([]byte, []int) { 166 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{0} 167 } 168 169 func (x *TapConfig) GetMatchConfig() *MatchPredicate { 170 if x != nil { 171 return x.MatchConfig 172 } 173 return nil 174 } 175 176 func (x *TapConfig) GetOutputConfig() *OutputConfig { 177 if x != nil { 178 return x.OutputConfig 179 } 180 return nil 181 } 182 183 func (x *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent { 184 if x != nil { 185 return x.TapEnabled 186 } 187 return nil 188 } 189 190 // Tap match configuration. This is a recursive structure which allows complex nested match 191 // configurations to be built using various logical operators. 192 // [#next-free-field: 9] 193 type MatchPredicate struct { 194 state protoimpl.MessageState 195 sizeCache protoimpl.SizeCache 196 unknownFields protoimpl.UnknownFields 197 198 // Types that are assignable to Rule: 199 // *MatchPredicate_OrMatch 200 // *MatchPredicate_AndMatch 201 // *MatchPredicate_NotMatch 202 // *MatchPredicate_AnyMatch 203 // *MatchPredicate_HttpRequestHeadersMatch 204 // *MatchPredicate_HttpRequestTrailersMatch 205 // *MatchPredicate_HttpResponseHeadersMatch 206 // *MatchPredicate_HttpResponseTrailersMatch 207 Rule isMatchPredicate_Rule `protobuf_oneof:"rule"` 208 } 209 210 func (x *MatchPredicate) Reset() { 211 *x = MatchPredicate{} 212 if protoimpl.UnsafeEnabled { 213 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[1] 214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 215 ms.StoreMessageInfo(mi) 216 } 217 } 218 219 func (x *MatchPredicate) String() string { 220 return protoimpl.X.MessageStringOf(x) 221 } 222 223 func (*MatchPredicate) ProtoMessage() {} 224 225 func (x *MatchPredicate) ProtoReflect() protoreflect.Message { 226 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[1] 227 if protoimpl.UnsafeEnabled && x != nil { 228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 229 if ms.LoadMessageInfo() == nil { 230 ms.StoreMessageInfo(mi) 231 } 232 return ms 233 } 234 return mi.MessageOf(x) 235 } 236 237 // Deprecated: Use MatchPredicate.ProtoReflect.Descriptor instead. 238 func (*MatchPredicate) Descriptor() ([]byte, []int) { 239 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{1} 240 } 241 242 func (m *MatchPredicate) GetRule() isMatchPredicate_Rule { 243 if m != nil { 244 return m.Rule 245 } 246 return nil 247 } 248 249 func (x *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet { 250 if x, ok := x.GetRule().(*MatchPredicate_OrMatch); ok { 251 return x.OrMatch 252 } 253 return nil 254 } 255 256 func (x *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet { 257 if x, ok := x.GetRule().(*MatchPredicate_AndMatch); ok { 258 return x.AndMatch 259 } 260 return nil 261 } 262 263 func (x *MatchPredicate) GetNotMatch() *MatchPredicate { 264 if x, ok := x.GetRule().(*MatchPredicate_NotMatch); ok { 265 return x.NotMatch 266 } 267 return nil 268 } 269 270 func (x *MatchPredicate) GetAnyMatch() bool { 271 if x, ok := x.GetRule().(*MatchPredicate_AnyMatch); ok { 272 return x.AnyMatch 273 } 274 return false 275 } 276 277 func (x *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch { 278 if x, ok := x.GetRule().(*MatchPredicate_HttpRequestHeadersMatch); ok { 279 return x.HttpRequestHeadersMatch 280 } 281 return nil 282 } 283 284 func (x *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch { 285 if x, ok := x.GetRule().(*MatchPredicate_HttpRequestTrailersMatch); ok { 286 return x.HttpRequestTrailersMatch 287 } 288 return nil 289 } 290 291 func (x *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch { 292 if x, ok := x.GetRule().(*MatchPredicate_HttpResponseHeadersMatch); ok { 293 return x.HttpResponseHeadersMatch 294 } 295 return nil 296 } 297 298 func (x *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch { 299 if x, ok := x.GetRule().(*MatchPredicate_HttpResponseTrailersMatch); ok { 300 return x.HttpResponseTrailersMatch 301 } 302 return nil 303 } 304 305 type isMatchPredicate_Rule interface { 306 isMatchPredicate_Rule() 307 } 308 309 type MatchPredicate_OrMatch struct { 310 // A set that describes a logical OR. If any member of the set matches, the match configuration 311 // matches. 312 OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"` 313 } 314 315 type MatchPredicate_AndMatch struct { 316 // A set that describes a logical AND. If all members of the set match, the match configuration 317 // matches. 318 AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"` 319 } 320 321 type MatchPredicate_NotMatch struct { 322 // A negation match. The match configuration will match if the negated match condition matches. 323 NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"` 324 } 325 326 type MatchPredicate_AnyMatch struct { 327 // The match configuration will always match. 328 AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"` 329 } 330 331 type MatchPredicate_HttpRequestHeadersMatch struct { 332 // HTTP request headers match configuration. 333 HttpRequestHeadersMatch *HttpHeadersMatch `protobuf:"bytes,5,opt,name=http_request_headers_match,json=httpRequestHeadersMatch,proto3,oneof"` 334 } 335 336 type MatchPredicate_HttpRequestTrailersMatch struct { 337 // HTTP request trailers match configuration. 338 HttpRequestTrailersMatch *HttpHeadersMatch `protobuf:"bytes,6,opt,name=http_request_trailers_match,json=httpRequestTrailersMatch,proto3,oneof"` 339 } 340 341 type MatchPredicate_HttpResponseHeadersMatch struct { 342 // HTTP response headers match configuration. 343 HttpResponseHeadersMatch *HttpHeadersMatch `protobuf:"bytes,7,opt,name=http_response_headers_match,json=httpResponseHeadersMatch,proto3,oneof"` 344 } 345 346 type MatchPredicate_HttpResponseTrailersMatch struct { 347 // HTTP response trailers match configuration. 348 HttpResponseTrailersMatch *HttpHeadersMatch `protobuf:"bytes,8,opt,name=http_response_trailers_match,json=httpResponseTrailersMatch,proto3,oneof"` 349 } 350 351 func (*MatchPredicate_OrMatch) isMatchPredicate_Rule() {} 352 353 func (*MatchPredicate_AndMatch) isMatchPredicate_Rule() {} 354 355 func (*MatchPredicate_NotMatch) isMatchPredicate_Rule() {} 356 357 func (*MatchPredicate_AnyMatch) isMatchPredicate_Rule() {} 358 359 func (*MatchPredicate_HttpRequestHeadersMatch) isMatchPredicate_Rule() {} 360 361 func (*MatchPredicate_HttpRequestTrailersMatch) isMatchPredicate_Rule() {} 362 363 func (*MatchPredicate_HttpResponseHeadersMatch) isMatchPredicate_Rule() {} 364 365 func (*MatchPredicate_HttpResponseTrailersMatch) isMatchPredicate_Rule() {} 366 367 // HTTP headers match configuration. 368 type HttpHeadersMatch struct { 369 state protoimpl.MessageState 370 sizeCache protoimpl.SizeCache 371 unknownFields protoimpl.UnknownFields 372 373 // HTTP headers to match. 374 Headers []*route.HeaderMatcher `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` 375 } 376 377 func (x *HttpHeadersMatch) Reset() { 378 *x = HttpHeadersMatch{} 379 if protoimpl.UnsafeEnabled { 380 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[2] 381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 382 ms.StoreMessageInfo(mi) 383 } 384 } 385 386 func (x *HttpHeadersMatch) String() string { 387 return protoimpl.X.MessageStringOf(x) 388 } 389 390 func (*HttpHeadersMatch) ProtoMessage() {} 391 392 func (x *HttpHeadersMatch) ProtoReflect() protoreflect.Message { 393 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[2] 394 if protoimpl.UnsafeEnabled && x != nil { 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 if ms.LoadMessageInfo() == nil { 397 ms.StoreMessageInfo(mi) 398 } 399 return ms 400 } 401 return mi.MessageOf(x) 402 } 403 404 // Deprecated: Use HttpHeadersMatch.ProtoReflect.Descriptor instead. 405 func (*HttpHeadersMatch) Descriptor() ([]byte, []int) { 406 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{2} 407 } 408 409 func (x *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher { 410 if x != nil { 411 return x.Headers 412 } 413 return nil 414 } 415 416 // Tap output configuration. 417 type OutputConfig struct { 418 state protoimpl.MessageState 419 sizeCache protoimpl.SizeCache 420 unknownFields protoimpl.UnknownFields 421 422 // Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple 423 // sink types are supported this constraint will be relaxed. 424 Sinks []*OutputSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` 425 // For buffered tapping, the maximum amount of received body that will be buffered prior to 426 // truncation. If truncation occurs, the :ref:`truncated 427 // <envoy_api_field_data.tap.v2alpha.Body.truncated>` field will be set. If not specified, the 428 // default is 1KiB. 429 MaxBufferedRxBytes *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_buffered_rx_bytes,json=maxBufferedRxBytes,proto3" json:"max_buffered_rx_bytes,omitempty"` 430 // For buffered tapping, the maximum amount of transmitted body that will be buffered prior to 431 // truncation. If truncation occurs, the :ref:`truncated 432 // <envoy_api_field_data.tap.v2alpha.Body.truncated>` field will be set. If not specified, the 433 // default is 1KiB. 434 MaxBufferedTxBytes *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_buffered_tx_bytes,json=maxBufferedTxBytes,proto3" json:"max_buffered_tx_bytes,omitempty"` 435 // Indicates whether taps produce a single buffered message per tap, or multiple streamed 436 // messages per tap in the emitted :ref:`TraceWrapper 437 // <envoy_api_msg_data.tap.v2alpha.TraceWrapper>` messages. Note that streamed tapping does not 438 // mean that no buffering takes place. Buffering may be required if data is processed before a 439 // match can be determined. See the HTTP tap filter :ref:`streaming 440 // <config_http_filters_tap_streaming>` documentation for more information. 441 Streaming bool `protobuf:"varint,4,opt,name=streaming,proto3" json:"streaming,omitempty"` 442 } 443 444 func (x *OutputConfig) Reset() { 445 *x = OutputConfig{} 446 if protoimpl.UnsafeEnabled { 447 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[3] 448 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 449 ms.StoreMessageInfo(mi) 450 } 451 } 452 453 func (x *OutputConfig) String() string { 454 return protoimpl.X.MessageStringOf(x) 455 } 456 457 func (*OutputConfig) ProtoMessage() {} 458 459 func (x *OutputConfig) ProtoReflect() protoreflect.Message { 460 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[3] 461 if protoimpl.UnsafeEnabled && x != nil { 462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 463 if ms.LoadMessageInfo() == nil { 464 ms.StoreMessageInfo(mi) 465 } 466 return ms 467 } 468 return mi.MessageOf(x) 469 } 470 471 // Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead. 472 func (*OutputConfig) Descriptor() ([]byte, []int) { 473 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{3} 474 } 475 476 func (x *OutputConfig) GetSinks() []*OutputSink { 477 if x != nil { 478 return x.Sinks 479 } 480 return nil 481 } 482 483 func (x *OutputConfig) GetMaxBufferedRxBytes() *wrappers.UInt32Value { 484 if x != nil { 485 return x.MaxBufferedRxBytes 486 } 487 return nil 488 } 489 490 func (x *OutputConfig) GetMaxBufferedTxBytes() *wrappers.UInt32Value { 491 if x != nil { 492 return x.MaxBufferedTxBytes 493 } 494 return nil 495 } 496 497 func (x *OutputConfig) GetStreaming() bool { 498 if x != nil { 499 return x.Streaming 500 } 501 return false 502 } 503 504 // Tap output sink configuration. 505 type OutputSink struct { 506 state protoimpl.MessageState 507 sizeCache protoimpl.SizeCache 508 unknownFields protoimpl.UnknownFields 509 510 // Sink output format. 511 Format OutputSink_Format `protobuf:"varint,1,opt,name=format,proto3,enum=envoy.service.tap.v2alpha.OutputSink_Format" json:"format,omitempty"` 512 // Types that are assignable to OutputSinkType: 513 // *OutputSink_StreamingAdmin 514 // *OutputSink_FilePerTap 515 // *OutputSink_StreamingGrpc 516 OutputSinkType isOutputSink_OutputSinkType `protobuf_oneof:"output_sink_type"` 517 } 518 519 func (x *OutputSink) Reset() { 520 *x = OutputSink{} 521 if protoimpl.UnsafeEnabled { 522 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[4] 523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 524 ms.StoreMessageInfo(mi) 525 } 526 } 527 528 func (x *OutputSink) String() string { 529 return protoimpl.X.MessageStringOf(x) 530 } 531 532 func (*OutputSink) ProtoMessage() {} 533 534 func (x *OutputSink) ProtoReflect() protoreflect.Message { 535 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[4] 536 if protoimpl.UnsafeEnabled && x != nil { 537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 538 if ms.LoadMessageInfo() == nil { 539 ms.StoreMessageInfo(mi) 540 } 541 return ms 542 } 543 return mi.MessageOf(x) 544 } 545 546 // Deprecated: Use OutputSink.ProtoReflect.Descriptor instead. 547 func (*OutputSink) Descriptor() ([]byte, []int) { 548 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{4} 549 } 550 551 func (x *OutputSink) GetFormat() OutputSink_Format { 552 if x != nil { 553 return x.Format 554 } 555 return OutputSink_JSON_BODY_AS_BYTES 556 } 557 558 func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType { 559 if m != nil { 560 return m.OutputSinkType 561 } 562 return nil 563 } 564 565 func (x *OutputSink) GetStreamingAdmin() *StreamingAdminSink { 566 if x, ok := x.GetOutputSinkType().(*OutputSink_StreamingAdmin); ok { 567 return x.StreamingAdmin 568 } 569 return nil 570 } 571 572 func (x *OutputSink) GetFilePerTap() *FilePerTapSink { 573 if x, ok := x.GetOutputSinkType().(*OutputSink_FilePerTap); ok { 574 return x.FilePerTap 575 } 576 return nil 577 } 578 579 func (x *OutputSink) GetStreamingGrpc() *StreamingGrpcSink { 580 if x, ok := x.GetOutputSinkType().(*OutputSink_StreamingGrpc); ok { 581 return x.StreamingGrpc 582 } 583 return nil 584 } 585 586 type isOutputSink_OutputSinkType interface { 587 isOutputSink_OutputSinkType() 588 } 589 590 type OutputSink_StreamingAdmin struct { 591 // Tap output will be streamed out the :http:post:`/tap` admin endpoint. 592 // 593 // .. attention:: 594 // 595 // It is only allowed to specify the streaming admin output sink if the tap is being 596 // configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has 597 // been configured to receive tap configuration from some other source (e.g., static 598 // file, XDS, etc.) configuring the streaming admin output type will fail. 599 StreamingAdmin *StreamingAdminSink `protobuf:"bytes,2,opt,name=streaming_admin,json=streamingAdmin,proto3,oneof"` 600 } 601 602 type OutputSink_FilePerTap struct { 603 // Tap output will be written to a file per tap sink. 604 FilePerTap *FilePerTapSink `protobuf:"bytes,3,opt,name=file_per_tap,json=filePerTap,proto3,oneof"` 605 } 606 607 type OutputSink_StreamingGrpc struct { 608 // [#not-implemented-hide:] 609 // GrpcService to stream data to. The format argument must be PROTO_BINARY. 610 StreamingGrpc *StreamingGrpcSink `protobuf:"bytes,4,opt,name=streaming_grpc,json=streamingGrpc,proto3,oneof"` 611 } 612 613 func (*OutputSink_StreamingAdmin) isOutputSink_OutputSinkType() {} 614 615 func (*OutputSink_FilePerTap) isOutputSink_OutputSinkType() {} 616 617 func (*OutputSink_StreamingGrpc) isOutputSink_OutputSinkType() {} 618 619 // Streaming admin sink configuration. 620 type StreamingAdminSink struct { 621 state protoimpl.MessageState 622 sizeCache protoimpl.SizeCache 623 unknownFields protoimpl.UnknownFields 624 } 625 626 func (x *StreamingAdminSink) Reset() { 627 *x = StreamingAdminSink{} 628 if protoimpl.UnsafeEnabled { 629 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[5] 630 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 631 ms.StoreMessageInfo(mi) 632 } 633 } 634 635 func (x *StreamingAdminSink) String() string { 636 return protoimpl.X.MessageStringOf(x) 637 } 638 639 func (*StreamingAdminSink) ProtoMessage() {} 640 641 func (x *StreamingAdminSink) ProtoReflect() protoreflect.Message { 642 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[5] 643 if protoimpl.UnsafeEnabled && x != nil { 644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 645 if ms.LoadMessageInfo() == nil { 646 ms.StoreMessageInfo(mi) 647 } 648 return ms 649 } 650 return mi.MessageOf(x) 651 } 652 653 // Deprecated: Use StreamingAdminSink.ProtoReflect.Descriptor instead. 654 func (*StreamingAdminSink) Descriptor() ([]byte, []int) { 655 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{5} 656 } 657 658 // The file per tap sink outputs a discrete file for every tapped stream. 659 type FilePerTapSink struct { 660 state protoimpl.MessageState 661 sizeCache protoimpl.SizeCache 662 unknownFields protoimpl.UnknownFields 663 664 // Path prefix. The output file will be of the form <path_prefix>_<id>.pb, where <id> is an 665 // identifier distinguishing the recorded trace for stream instances (the Envoy 666 // connection ID, HTTP stream ID, etc.). 667 PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"` 668 } 669 670 func (x *FilePerTapSink) Reset() { 671 *x = FilePerTapSink{} 672 if protoimpl.UnsafeEnabled { 673 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[6] 674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 675 ms.StoreMessageInfo(mi) 676 } 677 } 678 679 func (x *FilePerTapSink) String() string { 680 return protoimpl.X.MessageStringOf(x) 681 } 682 683 func (*FilePerTapSink) ProtoMessage() {} 684 685 func (x *FilePerTapSink) ProtoReflect() protoreflect.Message { 686 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[6] 687 if protoimpl.UnsafeEnabled && x != nil { 688 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 689 if ms.LoadMessageInfo() == nil { 690 ms.StoreMessageInfo(mi) 691 } 692 return ms 693 } 694 return mi.MessageOf(x) 695 } 696 697 // Deprecated: Use FilePerTapSink.ProtoReflect.Descriptor instead. 698 func (*FilePerTapSink) Descriptor() ([]byte, []int) { 699 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{6} 700 } 701 702 func (x *FilePerTapSink) GetPathPrefix() string { 703 if x != nil { 704 return x.PathPrefix 705 } 706 return "" 707 } 708 709 // [#not-implemented-hide:] Streaming gRPC sink configuration sends the taps to an external gRPC 710 // server. 711 type StreamingGrpcSink struct { 712 state protoimpl.MessageState 713 sizeCache protoimpl.SizeCache 714 unknownFields protoimpl.UnknownFields 715 716 // Opaque identifier, that will be sent back to the streaming grpc server. 717 TapId string `protobuf:"bytes,1,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"` 718 // The gRPC server that hosts the Tap Sink Service. 719 GrpcService *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` 720 } 721 722 func (x *StreamingGrpcSink) Reset() { 723 *x = StreamingGrpcSink{} 724 if protoimpl.UnsafeEnabled { 725 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[7] 726 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 727 ms.StoreMessageInfo(mi) 728 } 729 } 730 731 func (x *StreamingGrpcSink) String() string { 732 return protoimpl.X.MessageStringOf(x) 733 } 734 735 func (*StreamingGrpcSink) ProtoMessage() {} 736 737 func (x *StreamingGrpcSink) ProtoReflect() protoreflect.Message { 738 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[7] 739 if protoimpl.UnsafeEnabled && x != nil { 740 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 741 if ms.LoadMessageInfo() == nil { 742 ms.StoreMessageInfo(mi) 743 } 744 return ms 745 } 746 return mi.MessageOf(x) 747 } 748 749 // Deprecated: Use StreamingGrpcSink.ProtoReflect.Descriptor instead. 750 func (*StreamingGrpcSink) Descriptor() ([]byte, []int) { 751 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{7} 752 } 753 754 func (x *StreamingGrpcSink) GetTapId() string { 755 if x != nil { 756 return x.TapId 757 } 758 return "" 759 } 760 761 func (x *StreamingGrpcSink) GetGrpcService() *core.GrpcService { 762 if x != nil { 763 return x.GrpcService 764 } 765 return nil 766 } 767 768 // A set of match configurations used for logical operations. 769 type MatchPredicate_MatchSet struct { 770 state protoimpl.MessageState 771 sizeCache protoimpl.SizeCache 772 unknownFields protoimpl.UnknownFields 773 774 // The list of rules that make up the set. 775 Rules []*MatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` 776 } 777 778 func (x *MatchPredicate_MatchSet) Reset() { 779 *x = MatchPredicate_MatchSet{} 780 if protoimpl.UnsafeEnabled { 781 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[8] 782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 783 ms.StoreMessageInfo(mi) 784 } 785 } 786 787 func (x *MatchPredicate_MatchSet) String() string { 788 return protoimpl.X.MessageStringOf(x) 789 } 790 791 func (*MatchPredicate_MatchSet) ProtoMessage() {} 792 793 func (x *MatchPredicate_MatchSet) ProtoReflect() protoreflect.Message { 794 mi := &file_envoy_service_tap_v2alpha_common_proto_msgTypes[8] 795 if protoimpl.UnsafeEnabled && x != nil { 796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 797 if ms.LoadMessageInfo() == nil { 798 ms.StoreMessageInfo(mi) 799 } 800 return ms 801 } 802 return mi.MessageOf(x) 803 } 804 805 // Deprecated: Use MatchPredicate_MatchSet.ProtoReflect.Descriptor instead. 806 func (*MatchPredicate_MatchSet) Descriptor() ([]byte, []int) { 807 return file_envoy_service_tap_v2alpha_common_proto_rawDescGZIP(), []int{1, 0} 808 } 809 810 func (x *MatchPredicate_MatchSet) GetRules() []*MatchPredicate { 811 if x != nil { 812 return x.Rules 813 } 814 return nil 815 } 816 817 var File_envoy_service_tap_v2alpha_common_proto protoreflect.FileDescriptor 818 819 var file_envoy_service_tap_v2alpha_common_proto_rawDesc = []byte{ 820 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 821 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 822 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 823 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 824 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 825 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 826 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 827 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 828 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 829 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x72, 0x6f, 0x75, 0x74, 830 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 831 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 832 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 833 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 834 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 835 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 836 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 837 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 838 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x02, 0x0a, 0x09, 0x54, 839 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63, 840 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 841 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 842 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 843 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 844 0x02, 0x10, 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 845 0x12, 0x56, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 846 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 847 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 848 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 849 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 850 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, 0x0b, 0x74, 0x61, 0x70, 0x5f, 851 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 852 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 853 0x65, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 854 0x6e, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x74, 0x61, 0x70, 0x45, 855 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xc2, 0x06, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x63, 0x68, 856 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x6f, 0x72, 0x5f, 857 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 858 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 859 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 860 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x74, 0x48, 861 0x00, 0x52, 0x07, 0x6f, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x51, 0x0a, 0x09, 0x61, 0x6e, 862 0x64, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 863 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 864 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x50, 865 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 866 0x74, 0x48, 0x00, 0x52, 0x08, 0x61, 0x6e, 0x64, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x48, 0x0a, 867 0x09, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 868 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 869 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x61, 0x74, 870 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6e, 871 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x09, 0x61, 0x6e, 0x79, 0x5f, 0x6d, 872 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x6a, 873 0x02, 0x08, 0x01, 0x48, 0x00, 0x52, 0x08, 0x61, 0x6e, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 874 0x6a, 0x0a, 0x1a, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 875 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 876 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 877 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 878 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 879 0x48, 0x00, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 880 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x6c, 0x0a, 0x1b, 0x68, 881 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x69, 882 0x6c, 0x65, 0x72, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 883 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 884 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74, 885 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 886 0x18, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 887 0x6c, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x6c, 0x0a, 0x1b, 0x68, 0x74, 0x74, 888 0x70, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 889 0x72, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 890 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 891 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 892 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x18, 0x68, 893 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 894 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x6e, 0x0a, 0x1c, 0x68, 0x74, 0x74, 0x70, 0x5f, 895 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 896 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 897 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 898 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 899 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x48, 0x00, 0x52, 0x19, 0x68, 0x74, 900 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 901 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x55, 0x0a, 0x08, 0x4d, 0x61, 0x74, 0x63, 0x68, 902 0x53, 0x65, 0x74, 0x12, 0x49, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 903 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 904 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 905 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x08, 0xfa, 906 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x02, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x0b, 907 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x4f, 0x0a, 0x10, 0x48, 908 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 909 0x3b, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 910 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 911 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 912 0x68, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0x97, 0x02, 0x0a, 913 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 914 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 915 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 916 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 917 0x69, 0x6e, 0x6b, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x92, 0x01, 0x04, 0x08, 0x01, 0x10, 0x01, 0x52, 918 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x75, 919 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 920 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 921 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 922 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 923 0x52, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x62, 924 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 925 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 926 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 927 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 928 0x64, 0x54, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 929 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x74, 0x72, 930 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0xf5, 0x03, 0x0a, 0x0a, 0x4f, 0x75, 0x74, 0x70, 0x75, 931 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x4e, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 932 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 933 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 934 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x2e, 0x46, 0x6f, 0x72, 935 0x6d, 0x61, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x66, 936 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x58, 0x0a, 0x0f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 937 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 938 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 939 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 940 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 941 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 942 0x4d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x70, 0x18, 943 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 944 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 945 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x54, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x6b, 946 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x54, 0x61, 0x70, 0x12, 0x55, 947 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x72, 0x70, 0x63, 948 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 949 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 950 0x68, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x47, 0x72, 0x70, 0x63, 951 0x53, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 952 0x67, 0x47, 0x72, 0x70, 0x63, 0x22, 0x7e, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 953 0x16, 0x0a, 0x12, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x4f, 0x44, 0x59, 0x5f, 0x41, 0x53, 0x5f, 954 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 955 0x42, 0x4f, 0x44, 0x59, 0x5f, 0x41, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 956 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 957 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x42, 0x49, 0x4e, 0x41, 958 0x52, 0x59, 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x44, 0x45, 0x4c, 0x49, 0x4d, 0x49, 959 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x5f, 0x54, 960 0x45, 0x58, 0x54, 0x10, 0x04, 0x42, 0x17, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 961 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x14, 962 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 963 0x53, 0x69, 0x6e, 0x6b, 0x22, 0x3a, 0x0a, 0x0e, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x54, 964 0x61, 0x70, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x28, 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 965 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 966 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 967 0x22, 0x77, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x47, 0x72, 0x70, 968 0x63, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 969 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x70, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 970 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 971 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 972 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 973 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 974 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x5b, 0x0a, 0x27, 0x69, 0x6f, 0x2e, 975 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 976 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 977 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 978 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x15, 0x12, 0x13, 0x65, 0x6e, 0x76, 0x6f, 0x79, 979 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0xba, 0x80, 980 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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), // 0: envoy.service.tap.v2alpha.OutputSink.Format 999 (*TapConfig)(nil), // 1: envoy.service.tap.v2alpha.TapConfig 1000 (*MatchPredicate)(nil), // 2: envoy.service.tap.v2alpha.MatchPredicate 1001 (*HttpHeadersMatch)(nil), // 3: envoy.service.tap.v2alpha.HttpHeadersMatch 1002 (*OutputConfig)(nil), // 4: envoy.service.tap.v2alpha.OutputConfig 1003 (*OutputSink)(nil), // 5: envoy.service.tap.v2alpha.OutputSink 1004 (*StreamingAdminSink)(nil), // 6: envoy.service.tap.v2alpha.StreamingAdminSink 1005 (*FilePerTapSink)(nil), // 7: envoy.service.tap.v2alpha.FilePerTapSink 1006 (*StreamingGrpcSink)(nil), // 8: envoy.service.tap.v2alpha.StreamingGrpcSink 1007 (*MatchPredicate_MatchSet)(nil), // 9: envoy.service.tap.v2alpha.MatchPredicate.MatchSet 1008 (*core.RuntimeFractionalPercent)(nil), // 10: envoy.api.v2.core.RuntimeFractionalPercent 1009 (*route.HeaderMatcher)(nil), // 11: envoy.api.v2.route.HeaderMatcher 1010 (*wrappers.UInt32Value)(nil), // 12: google.protobuf.UInt32Value 1011 (*core.GrpcService)(nil), // 13: envoy.api.v2.core.GrpcService 1012 } 1013 var file_envoy_service_tap_v2alpha_common_proto_depIdxs = []int32{ 1014 2, // 0: envoy.service.tap.v2alpha.TapConfig.match_config:type_name -> envoy.service.tap.v2alpha.MatchPredicate 1015 4, // 1: envoy.service.tap.v2alpha.TapConfig.output_config:type_name -> envoy.service.tap.v2alpha.OutputConfig 1016 10, // 2: envoy.service.tap.v2alpha.TapConfig.tap_enabled:type_name -> envoy.api.v2.core.RuntimeFractionalPercent 1017 9, // 3: envoy.service.tap.v2alpha.MatchPredicate.or_match:type_name -> envoy.service.tap.v2alpha.MatchPredicate.MatchSet 1018 9, // 4: envoy.service.tap.v2alpha.MatchPredicate.and_match:type_name -> envoy.service.tap.v2alpha.MatchPredicate.MatchSet 1019 2, // 5: envoy.service.tap.v2alpha.MatchPredicate.not_match:type_name -> envoy.service.tap.v2alpha.MatchPredicate 1020 3, // 6: envoy.service.tap.v2alpha.MatchPredicate.http_request_headers_match:type_name -> envoy.service.tap.v2alpha.HttpHeadersMatch 1021 3, // 7: envoy.service.tap.v2alpha.MatchPredicate.http_request_trailers_match:type_name -> envoy.service.tap.v2alpha.HttpHeadersMatch 1022 3, // 8: envoy.service.tap.v2alpha.MatchPredicate.http_response_headers_match:type_name -> envoy.service.tap.v2alpha.HttpHeadersMatch 1023 3, // 9: envoy.service.tap.v2alpha.MatchPredicate.http_response_trailers_match:type_name -> envoy.service.tap.v2alpha.HttpHeadersMatch 1024 11, // 10: envoy.service.tap.v2alpha.HttpHeadersMatch.headers:type_name -> envoy.api.v2.route.HeaderMatcher 1025 5, // 11: envoy.service.tap.v2alpha.OutputConfig.sinks:type_name -> envoy.service.tap.v2alpha.OutputSink 1026 12, // 12: envoy.service.tap.v2alpha.OutputConfig.max_buffered_rx_bytes:type_name -> google.protobuf.UInt32Value 1027 12, // 13: envoy.service.tap.v2alpha.OutputConfig.max_buffered_tx_bytes:type_name -> google.protobuf.UInt32Value 1028 0, // 14: envoy.service.tap.v2alpha.OutputSink.format:type_name -> envoy.service.tap.v2alpha.OutputSink.Format 1029 6, // 15: envoy.service.tap.v2alpha.OutputSink.streaming_admin:type_name -> envoy.service.tap.v2alpha.StreamingAdminSink 1030 7, // 16: envoy.service.tap.v2alpha.OutputSink.file_per_tap:type_name -> envoy.service.tap.v2alpha.FilePerTapSink 1031 8, // 17: envoy.service.tap.v2alpha.OutputSink.streaming_grpc:type_name -> envoy.service.tap.v2alpha.StreamingGrpcSink 1032 13, // 18: envoy.service.tap.v2alpha.StreamingGrpcSink.grpc_service:type_name -> envoy.api.v2.core.GrpcService 1033 2, // 19: envoy.service.tap.v2alpha.MatchPredicate.MatchSet.rules:type_name -> envoy.service.tap.v2alpha.MatchPredicate 1034 20, // [20:20] is the sub-list for method output_type 1035 20, // [20:20] is the sub-list for method input_type 1036 20, // [20:20] is the sub-list for extension type_name 1037 20, // [20:20] is the sub-list for extension extendee 1038 0, // [0:20] is the sub-list for field type_name 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 }