github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/data/tap/v2alpha/http.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/data/tap/v2alpha/http.proto 6 7 package envoy_data_tap_v2alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 core "github.com/hxx258456/ccgo/go-control-plane/envoy/api/v2/core" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 // A fully buffered HTTP trace message. 31 type HttpBufferedTrace struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // Request message. 37 Request *HttpBufferedTrace_Message `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` 38 // Response message. 39 Response *HttpBufferedTrace_Message `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` 40 } 41 42 func (x *HttpBufferedTrace) Reset() { 43 *x = HttpBufferedTrace{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_envoy_data_tap_v2alpha_http_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *HttpBufferedTrace) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*HttpBufferedTrace) ProtoMessage() {} 56 57 func (x *HttpBufferedTrace) ProtoReflect() protoreflect.Message { 58 mi := &file_envoy_data_tap_v2alpha_http_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use HttpBufferedTrace.ProtoReflect.Descriptor instead. 70 func (*HttpBufferedTrace) Descriptor() ([]byte, []int) { 71 return file_envoy_data_tap_v2alpha_http_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *HttpBufferedTrace) GetRequest() *HttpBufferedTrace_Message { 75 if x != nil { 76 return x.Request 77 } 78 return nil 79 } 80 81 func (x *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message { 82 if x != nil { 83 return x.Response 84 } 85 return nil 86 } 87 88 // A streamed HTTP trace segment. Multiple segments make up a full trace. 89 // [#next-free-field: 8] 90 type HttpStreamedTraceSegment struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94 95 // Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used 96 // for long term stable uniqueness. 97 TraceId uint64 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` 98 // Types that are assignable to MessagePiece: 99 // *HttpStreamedTraceSegment_RequestHeaders 100 // *HttpStreamedTraceSegment_RequestBodyChunk 101 // *HttpStreamedTraceSegment_RequestTrailers 102 // *HttpStreamedTraceSegment_ResponseHeaders 103 // *HttpStreamedTraceSegment_ResponseBodyChunk 104 // *HttpStreamedTraceSegment_ResponseTrailers 105 MessagePiece isHttpStreamedTraceSegment_MessagePiece `protobuf_oneof:"message_piece"` 106 } 107 108 func (x *HttpStreamedTraceSegment) Reset() { 109 *x = HttpStreamedTraceSegment{} 110 if protoimpl.UnsafeEnabled { 111 mi := &file_envoy_data_tap_v2alpha_http_proto_msgTypes[1] 112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 113 ms.StoreMessageInfo(mi) 114 } 115 } 116 117 func (x *HttpStreamedTraceSegment) String() string { 118 return protoimpl.X.MessageStringOf(x) 119 } 120 121 func (*HttpStreamedTraceSegment) ProtoMessage() {} 122 123 func (x *HttpStreamedTraceSegment) ProtoReflect() protoreflect.Message { 124 mi := &file_envoy_data_tap_v2alpha_http_proto_msgTypes[1] 125 if protoimpl.UnsafeEnabled && x != nil { 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 if ms.LoadMessageInfo() == nil { 128 ms.StoreMessageInfo(mi) 129 } 130 return ms 131 } 132 return mi.MessageOf(x) 133 } 134 135 // Deprecated: Use HttpStreamedTraceSegment.ProtoReflect.Descriptor instead. 136 func (*HttpStreamedTraceSegment) Descriptor() ([]byte, []int) { 137 return file_envoy_data_tap_v2alpha_http_proto_rawDescGZIP(), []int{1} 138 } 139 140 func (x *HttpStreamedTraceSegment) GetTraceId() uint64 { 141 if x != nil { 142 return x.TraceId 143 } 144 return 0 145 } 146 147 func (m *HttpStreamedTraceSegment) GetMessagePiece() isHttpStreamedTraceSegment_MessagePiece { 148 if m != nil { 149 return m.MessagePiece 150 } 151 return nil 152 } 153 154 func (x *HttpStreamedTraceSegment) GetRequestHeaders() *core.HeaderMap { 155 if x, ok := x.GetMessagePiece().(*HttpStreamedTraceSegment_RequestHeaders); ok { 156 return x.RequestHeaders 157 } 158 return nil 159 } 160 161 func (x *HttpStreamedTraceSegment) GetRequestBodyChunk() *Body { 162 if x, ok := x.GetMessagePiece().(*HttpStreamedTraceSegment_RequestBodyChunk); ok { 163 return x.RequestBodyChunk 164 } 165 return nil 166 } 167 168 func (x *HttpStreamedTraceSegment) GetRequestTrailers() *core.HeaderMap { 169 if x, ok := x.GetMessagePiece().(*HttpStreamedTraceSegment_RequestTrailers); ok { 170 return x.RequestTrailers 171 } 172 return nil 173 } 174 175 func (x *HttpStreamedTraceSegment) GetResponseHeaders() *core.HeaderMap { 176 if x, ok := x.GetMessagePiece().(*HttpStreamedTraceSegment_ResponseHeaders); ok { 177 return x.ResponseHeaders 178 } 179 return nil 180 } 181 182 func (x *HttpStreamedTraceSegment) GetResponseBodyChunk() *Body { 183 if x, ok := x.GetMessagePiece().(*HttpStreamedTraceSegment_ResponseBodyChunk); ok { 184 return x.ResponseBodyChunk 185 } 186 return nil 187 } 188 189 func (x *HttpStreamedTraceSegment) GetResponseTrailers() *core.HeaderMap { 190 if x, ok := x.GetMessagePiece().(*HttpStreamedTraceSegment_ResponseTrailers); ok { 191 return x.ResponseTrailers 192 } 193 return nil 194 } 195 196 type isHttpStreamedTraceSegment_MessagePiece interface { 197 isHttpStreamedTraceSegment_MessagePiece() 198 } 199 200 type HttpStreamedTraceSegment_RequestHeaders struct { 201 // Request headers. 202 RequestHeaders *core.HeaderMap `protobuf:"bytes,2,opt,name=request_headers,json=requestHeaders,proto3,oneof"` 203 } 204 205 type HttpStreamedTraceSegment_RequestBodyChunk struct { 206 // Request body chunk. 207 RequestBodyChunk *Body `protobuf:"bytes,3,opt,name=request_body_chunk,json=requestBodyChunk,proto3,oneof"` 208 } 209 210 type HttpStreamedTraceSegment_RequestTrailers struct { 211 // Request trailers. 212 RequestTrailers *core.HeaderMap `protobuf:"bytes,4,opt,name=request_trailers,json=requestTrailers,proto3,oneof"` 213 } 214 215 type HttpStreamedTraceSegment_ResponseHeaders struct { 216 // Response headers. 217 ResponseHeaders *core.HeaderMap `protobuf:"bytes,5,opt,name=response_headers,json=responseHeaders,proto3,oneof"` 218 } 219 220 type HttpStreamedTraceSegment_ResponseBodyChunk struct { 221 // Response body chunk. 222 ResponseBodyChunk *Body `protobuf:"bytes,6,opt,name=response_body_chunk,json=responseBodyChunk,proto3,oneof"` 223 } 224 225 type HttpStreamedTraceSegment_ResponseTrailers struct { 226 // Response trailers. 227 ResponseTrailers *core.HeaderMap `protobuf:"bytes,7,opt,name=response_trailers,json=responseTrailers,proto3,oneof"` 228 } 229 230 func (*HttpStreamedTraceSegment_RequestHeaders) isHttpStreamedTraceSegment_MessagePiece() {} 231 232 func (*HttpStreamedTraceSegment_RequestBodyChunk) isHttpStreamedTraceSegment_MessagePiece() {} 233 234 func (*HttpStreamedTraceSegment_RequestTrailers) isHttpStreamedTraceSegment_MessagePiece() {} 235 236 func (*HttpStreamedTraceSegment_ResponseHeaders) isHttpStreamedTraceSegment_MessagePiece() {} 237 238 func (*HttpStreamedTraceSegment_ResponseBodyChunk) isHttpStreamedTraceSegment_MessagePiece() {} 239 240 func (*HttpStreamedTraceSegment_ResponseTrailers) isHttpStreamedTraceSegment_MessagePiece() {} 241 242 // HTTP message wrapper. 243 type HttpBufferedTrace_Message struct { 244 state protoimpl.MessageState 245 sizeCache protoimpl.SizeCache 246 unknownFields protoimpl.UnknownFields 247 248 // Message headers. 249 Headers []*core.HeaderValue `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` 250 // Message body. 251 Body *Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` 252 // Message trailers. 253 Trailers []*core.HeaderValue `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"` 254 } 255 256 func (x *HttpBufferedTrace_Message) Reset() { 257 *x = HttpBufferedTrace_Message{} 258 if protoimpl.UnsafeEnabled { 259 mi := &file_envoy_data_tap_v2alpha_http_proto_msgTypes[2] 260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 261 ms.StoreMessageInfo(mi) 262 } 263 } 264 265 func (x *HttpBufferedTrace_Message) String() string { 266 return protoimpl.X.MessageStringOf(x) 267 } 268 269 func (*HttpBufferedTrace_Message) ProtoMessage() {} 270 271 func (x *HttpBufferedTrace_Message) ProtoReflect() protoreflect.Message { 272 mi := &file_envoy_data_tap_v2alpha_http_proto_msgTypes[2] 273 if protoimpl.UnsafeEnabled && x != nil { 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 if ms.LoadMessageInfo() == nil { 276 ms.StoreMessageInfo(mi) 277 } 278 return ms 279 } 280 return mi.MessageOf(x) 281 } 282 283 // Deprecated: Use HttpBufferedTrace_Message.ProtoReflect.Descriptor instead. 284 func (*HttpBufferedTrace_Message) Descriptor() ([]byte, []int) { 285 return file_envoy_data_tap_v2alpha_http_proto_rawDescGZIP(), []int{0, 0} 286 } 287 288 func (x *HttpBufferedTrace_Message) GetHeaders() []*core.HeaderValue { 289 if x != nil { 290 return x.Headers 291 } 292 return nil 293 } 294 295 func (x *HttpBufferedTrace_Message) GetBody() *Body { 296 if x != nil { 297 return x.Body 298 } 299 return nil 300 } 301 302 func (x *HttpBufferedTrace_Message) GetTrailers() []*core.HeaderValue { 303 if x != nil { 304 return x.Trailers 305 } 306 return nil 307 } 308 309 var File_envoy_data_tap_v2alpha_http_proto protoreflect.FileDescriptor 310 311 var file_envoy_data_tap_v2alpha_http_proto_rawDesc = []byte{ 312 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x70, 313 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 314 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 315 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 316 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 317 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 318 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 319 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 320 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 321 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x02, 322 0x0a, 0x11, 0x48, 0x74, 0x74, 0x70, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x54, 0x72, 323 0x61, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 324 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 325 0x61, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 326 0x74, 0x70, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 327 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 328 0x12, 0x4d, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 329 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 330 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x74, 0x74, 0x70, 331 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x65, 0x64, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x4d, 0x65, 332 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 333 0xb1, 0x01, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x68, 334 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 335 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 336 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x68, 0x65, 337 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 338 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 339 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x6f, 0x64, 340 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 341 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 342 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 343 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 344 0x65, 0x72, 0x73, 0x22, 0x90, 0x04, 0x0a, 0x18, 0x48, 0x74, 0x74, 0x70, 0x53, 0x74, 0x72, 0x65, 345 0x61, 0x6d, 0x65, 0x64, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 346 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 347 0x28, 0x04, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0f, 0x72, 348 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 349 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 350 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 351 0x61, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 352 0x64, 0x65, 0x72, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 353 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 354 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x74, 0x61, 355 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 356 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x68, 0x75, 357 0x6e, 0x6b, 0x12, 0x49, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x72, 358 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 359 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 360 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 361 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 362 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 363 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 364 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 365 0x65, 0x72, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 366 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x4e, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x70, 367 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 368 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 369 0x74, 0x61, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 370 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 371 0x6f, 0x64, 0x79, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x4b, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x70, 372 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 373 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 374 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 375 0x70, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x72, 0x61, 376 0x69, 0x6c, 0x65, 0x72, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 377 0x5f, 0x70, 0x69, 0x65, 0x63, 0x65, 0x42, 0x3b, 0x0a, 0x24, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 378 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 379 0x74, 0x61, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x09, 380 0x48, 0x74, 0x74, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 381 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 382 } 383 384 var ( 385 file_envoy_data_tap_v2alpha_http_proto_rawDescOnce sync.Once 386 file_envoy_data_tap_v2alpha_http_proto_rawDescData = file_envoy_data_tap_v2alpha_http_proto_rawDesc 387 ) 388 389 func file_envoy_data_tap_v2alpha_http_proto_rawDescGZIP() []byte { 390 file_envoy_data_tap_v2alpha_http_proto_rawDescOnce.Do(func() { 391 file_envoy_data_tap_v2alpha_http_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_data_tap_v2alpha_http_proto_rawDescData) 392 }) 393 return file_envoy_data_tap_v2alpha_http_proto_rawDescData 394 } 395 396 var file_envoy_data_tap_v2alpha_http_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 397 var file_envoy_data_tap_v2alpha_http_proto_goTypes = []interface{}{ 398 (*HttpBufferedTrace)(nil), // 0: envoy.data.tap.v2alpha.HttpBufferedTrace 399 (*HttpStreamedTraceSegment)(nil), // 1: envoy.data.tap.v2alpha.HttpStreamedTraceSegment 400 (*HttpBufferedTrace_Message)(nil), // 2: envoy.data.tap.v2alpha.HttpBufferedTrace.Message 401 (*core.HeaderMap)(nil), // 3: envoy.api.v2.core.HeaderMap 402 (*Body)(nil), // 4: envoy.data.tap.v2alpha.Body 403 (*core.HeaderValue)(nil), // 5: envoy.api.v2.core.HeaderValue 404 } 405 var file_envoy_data_tap_v2alpha_http_proto_depIdxs = []int32{ 406 2, // 0: envoy.data.tap.v2alpha.HttpBufferedTrace.request:type_name -> envoy.data.tap.v2alpha.HttpBufferedTrace.Message 407 2, // 1: envoy.data.tap.v2alpha.HttpBufferedTrace.response:type_name -> envoy.data.tap.v2alpha.HttpBufferedTrace.Message 408 3, // 2: envoy.data.tap.v2alpha.HttpStreamedTraceSegment.request_headers:type_name -> envoy.api.v2.core.HeaderMap 409 4, // 3: envoy.data.tap.v2alpha.HttpStreamedTraceSegment.request_body_chunk:type_name -> envoy.data.tap.v2alpha.Body 410 3, // 4: envoy.data.tap.v2alpha.HttpStreamedTraceSegment.request_trailers:type_name -> envoy.api.v2.core.HeaderMap 411 3, // 5: envoy.data.tap.v2alpha.HttpStreamedTraceSegment.response_headers:type_name -> envoy.api.v2.core.HeaderMap 412 4, // 6: envoy.data.tap.v2alpha.HttpStreamedTraceSegment.response_body_chunk:type_name -> envoy.data.tap.v2alpha.Body 413 3, // 7: envoy.data.tap.v2alpha.HttpStreamedTraceSegment.response_trailers:type_name -> envoy.api.v2.core.HeaderMap 414 5, // 8: envoy.data.tap.v2alpha.HttpBufferedTrace.Message.headers:type_name -> envoy.api.v2.core.HeaderValue 415 4, // 9: envoy.data.tap.v2alpha.HttpBufferedTrace.Message.body:type_name -> envoy.data.tap.v2alpha.Body 416 5, // 10: envoy.data.tap.v2alpha.HttpBufferedTrace.Message.trailers:type_name -> envoy.api.v2.core.HeaderValue 417 11, // [11:11] is the sub-list for method output_type 418 11, // [11:11] is the sub-list for method input_type 419 11, // [11:11] is the sub-list for extension type_name 420 11, // [11:11] is the sub-list for extension extendee 421 0, // [0:11] is the sub-list for field type_name 422 } 423 424 func init() { file_envoy_data_tap_v2alpha_http_proto_init() } 425 func file_envoy_data_tap_v2alpha_http_proto_init() { 426 if File_envoy_data_tap_v2alpha_http_proto != nil { 427 return 428 } 429 file_envoy_data_tap_v2alpha_common_proto_init() 430 if !protoimpl.UnsafeEnabled { 431 file_envoy_data_tap_v2alpha_http_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 432 switch v := v.(*HttpBufferedTrace); i { 433 case 0: 434 return &v.state 435 case 1: 436 return &v.sizeCache 437 case 2: 438 return &v.unknownFields 439 default: 440 return nil 441 } 442 } 443 file_envoy_data_tap_v2alpha_http_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 444 switch v := v.(*HttpStreamedTraceSegment); i { 445 case 0: 446 return &v.state 447 case 1: 448 return &v.sizeCache 449 case 2: 450 return &v.unknownFields 451 default: 452 return nil 453 } 454 } 455 file_envoy_data_tap_v2alpha_http_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 456 switch v := v.(*HttpBufferedTrace_Message); i { 457 case 0: 458 return &v.state 459 case 1: 460 return &v.sizeCache 461 case 2: 462 return &v.unknownFields 463 default: 464 return nil 465 } 466 } 467 } 468 file_envoy_data_tap_v2alpha_http_proto_msgTypes[1].OneofWrappers = []interface{}{ 469 (*HttpStreamedTraceSegment_RequestHeaders)(nil), 470 (*HttpStreamedTraceSegment_RequestBodyChunk)(nil), 471 (*HttpStreamedTraceSegment_RequestTrailers)(nil), 472 (*HttpStreamedTraceSegment_ResponseHeaders)(nil), 473 (*HttpStreamedTraceSegment_ResponseBodyChunk)(nil), 474 (*HttpStreamedTraceSegment_ResponseTrailers)(nil), 475 } 476 type x struct{} 477 out := protoimpl.TypeBuilder{ 478 File: protoimpl.DescBuilder{ 479 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 480 RawDescriptor: file_envoy_data_tap_v2alpha_http_proto_rawDesc, 481 NumEnums: 0, 482 NumMessages: 3, 483 NumExtensions: 0, 484 NumServices: 0, 485 }, 486 GoTypes: file_envoy_data_tap_v2alpha_http_proto_goTypes, 487 DependencyIndexes: file_envoy_data_tap_v2alpha_http_proto_depIdxs, 488 MessageInfos: file_envoy_data_tap_v2alpha_http_proto_msgTypes, 489 }.Build() 490 File_envoy_data_tap_v2alpha_http_proto = out.File 491 file_envoy_data_tap_v2alpha_http_proto_rawDesc = nil 492 file_envoy_data_tap_v2alpha_http_proto_goTypes = nil 493 file_envoy_data_tap_v2alpha_http_proto_depIdxs = nil 494 }