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