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