forked from SkyAPM/go2sky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tracing.pb.go
693 lines (599 loc) · 23.2 KB
/
Tracing.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: language-agent/Tracing.proto
package language_agent
import (
context "context"
fmt "fmt"
common "github.com/hammercui/go2sky/reporter/grpc/common"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type SkySpanType int32
const (
SpanType_Entry SkySpanType = 0
SpanType_Exit SkySpanType = 1
SpanType_Local SkySpanType = 2
)
var SpanType_name = map[int32]string{
0: "Entry",
1: "Exit",
2: "Local",
}
var SpanType_value = map[string]int32{
"Entry": 0,
"Exit": 1,
"Local": 2,
}
func (x SkySpanType) String() string {
return proto.EnumName(SpanType_name, int32(x))
}
func (SkySpanType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{0}
}
type RefType int32
const (
RefType_CrossProcess RefType = 0
RefType_CrossThread RefType = 1
)
var RefType_name = map[int32]string{
0: "CrossProcess",
1: "CrossThread",
}
var RefType_value = map[string]int32{
"CrossProcess": 0,
"CrossThread": 1,
}
func (x RefType) String() string {
return proto.EnumName(RefType_name, int32(x))
}
func (RefType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{1}
}
type SpanLayer int32
const (
SpanLayer_Unknown SpanLayer = 0
SpanLayer_Database SpanLayer = 1
SpanLayer_RPCFramework SpanLayer = 2
SpanLayer_Http SpanLayer = 3
SpanLayer_MQ SpanLayer = 4
SpanLayer_Cache SpanLayer = 5
)
var SpanLayer_name = map[int32]string{
0: "Unknown",
1: "Database",
2: "RPCFramework",
3: "Http",
4: "MQ",
5: "Cache",
}
var SpanLayer_value = map[string]int32{
"Unknown": 0,
"Database": 1,
"RPCFramework": 2,
"Http": 3,
"MQ": 4,
"Cache": 5,
}
func (x SpanLayer) String() string {
return proto.EnumName(SpanLayer_name, int32(x))
}
func (SpanLayer) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{2}
}
type SegmentObject struct {
TraceId string `protobuf:"bytes,1,opt,name=traceId,proto3" json:"traceId,omitempty"`
TraceSegmentId string `protobuf:"bytes,2,opt,name=traceSegmentId,proto3" json:"traceSegmentId,omitempty"`
Spans []*SpanObject `protobuf:"bytes,3,rep,name=spans,proto3" json:"spans,omitempty"`
Service string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
ServiceInstance string `protobuf:"bytes,5,opt,name=serviceInstance,proto3" json:"serviceInstance,omitempty"`
IsSizeLimited bool `protobuf:"varint,6,opt,name=isSizeLimited,proto3" json:"isSizeLimited,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentObject) Reset() { *m = SegmentObject{} }
func (m *SegmentObject) String() string { return proto.CompactTextString(m) }
func (*SegmentObject) ProtoMessage() {}
func (*SegmentObject) Descriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{0}
}
func (m *SegmentObject) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentObject.Unmarshal(m, b)
}
func (m *SegmentObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentObject.Marshal(b, m, deterministic)
}
func (m *SegmentObject) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentObject.Merge(m, src)
}
func (m *SegmentObject) XXX_Size() int {
return xxx_messageInfo_SegmentObject.Size(m)
}
func (m *SegmentObject) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentObject.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentObject proto.InternalMessageInfo
func (m *SegmentObject) GetTraceId() string {
if m != nil {
return m.TraceId
}
return ""
}
func (m *SegmentObject) GetTraceSegmentId() string {
if m != nil {
return m.TraceSegmentId
}
return ""
}
func (m *SegmentObject) GetSpans() []*SpanObject {
if m != nil {
return m.Spans
}
return nil
}
func (m *SegmentObject) GetService() string {
if m != nil {
return m.Service
}
return ""
}
func (m *SegmentObject) GetServiceInstance() string {
if m != nil {
return m.ServiceInstance
}
return ""
}
func (m *SegmentObject) GetIsSizeLimited() bool {
if m != nil {
return m.IsSizeLimited
}
return false
}
type SegmentReference struct {
RefType RefType `protobuf:"varint,1,opt,name=refType,proto3,enum=RefType" json:"refType,omitempty"`
TraceId string `protobuf:"bytes,2,opt,name=traceId,proto3" json:"traceId,omitempty"`
ParentTraceSegmentId string `protobuf:"bytes,3,opt,name=parentTraceSegmentId,proto3" json:"parentTraceSegmentId,omitempty"`
ParentSpanId int32 `protobuf:"varint,4,opt,name=parentSpanId,proto3" json:"parentSpanId,omitempty"`
ParentService string `protobuf:"bytes,5,opt,name=parentService,proto3" json:"parentService,omitempty"`
ParentServiceInstance string `protobuf:"bytes,6,opt,name=parentServiceInstance,proto3" json:"parentServiceInstance,omitempty"`
ParentEndpoint string `protobuf:"bytes,7,opt,name=parentEndpoint,proto3" json:"parentEndpoint,omitempty"`
NetworkAddressUsedAtPeer string `protobuf:"bytes,8,opt,name=networkAddressUsedAtPeer,proto3" json:"networkAddressUsedAtPeer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentReference) Reset() { *m = SegmentReference{} }
func (m *SegmentReference) String() string { return proto.CompactTextString(m) }
func (*SegmentReference) ProtoMessage() {}
func (*SegmentReference) Descriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{1}
}
func (m *SegmentReference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentReference.Unmarshal(m, b)
}
func (m *SegmentReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentReference.Marshal(b, m, deterministic)
}
func (m *SegmentReference) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentReference.Merge(m, src)
}
func (m *SegmentReference) XXX_Size() int {
return xxx_messageInfo_SegmentReference.Size(m)
}
func (m *SegmentReference) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentReference.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentReference proto.InternalMessageInfo
func (m *SegmentReference) GetRefType() RefType {
if m != nil {
return m.RefType
}
return RefType_CrossProcess
}
func (m *SegmentReference) GetTraceId() string {
if m != nil {
return m.TraceId
}
return ""
}
func (m *SegmentReference) GetParentTraceSegmentId() string {
if m != nil {
return m.ParentTraceSegmentId
}
return ""
}
func (m *SegmentReference) GetParentSpanId() int32 {
if m != nil {
return m.ParentSpanId
}
return 0
}
func (m *SegmentReference) GetParentService() string {
if m != nil {
return m.ParentService
}
return ""
}
func (m *SegmentReference) GetParentServiceInstance() string {
if m != nil {
return m.ParentServiceInstance
}
return ""
}
func (m *SegmentReference) GetParentEndpoint() string {
if m != nil {
return m.ParentEndpoint
}
return ""
}
func (m *SegmentReference) GetNetworkAddressUsedAtPeer() string {
if m != nil {
return m.NetworkAddressUsedAtPeer
}
return ""
}
type SpanObject struct {
SpanId int32 `protobuf:"varint,1,opt,name=spanId,proto3" json:"spanId,omitempty"`
ParentSpanId int32 `protobuf:"varint,2,opt,name=parentSpanId,proto3" json:"parentSpanId,omitempty"`
StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
Refs []*SegmentReference `protobuf:"bytes,5,rep,name=refs,proto3" json:"refs,omitempty"`
OperationName string `protobuf:"bytes,6,opt,name=operationName,proto3" json:"operationName,omitempty"`
Peer string `protobuf:"bytes,7,opt,name=peer,proto3" json:"peer,omitempty"`
SpanType SkySpanType `protobuf:"varint,8,opt,name=spanType,proto3,enum=SpanType" json:"spanType,omitempty"`
SpanLayer SpanLayer `protobuf:"varint,9,opt,name=spanLayer,proto3,enum=SpanLayer" json:"spanLayer,omitempty"`
ComponentId int32 `protobuf:"varint,10,opt,name=componentId,proto3" json:"componentId,omitempty"`
IsError bool `protobuf:"varint,11,opt,name=isError,proto3" json:"isError,omitempty"`
Tags []*common.KeyStringValuePair `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
Logs []*Log `protobuf:"bytes,13,rep,name=logs,proto3" json:"logs,omitempty"`
SkipAnalysis bool `protobuf:"varint,14,opt,name=skipAnalysis,proto3" json:"skipAnalysis,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SpanObject) Reset() { *m = SpanObject{} }
func (m *SpanObject) String() string { return proto.CompactTextString(m) }
func (*SpanObject) ProtoMessage() {}
func (*SpanObject) Descriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{2}
}
func (m *SpanObject) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SpanObject.Unmarshal(m, b)
}
func (m *SpanObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SpanObject.Marshal(b, m, deterministic)
}
func (m *SpanObject) XXX_Merge(src proto.Message) {
xxx_messageInfo_SpanObject.Merge(m, src)
}
func (m *SpanObject) XXX_Size() int {
return xxx_messageInfo_SpanObject.Size(m)
}
func (m *SpanObject) XXX_DiscardUnknown() {
xxx_messageInfo_SpanObject.DiscardUnknown(m)
}
var xxx_messageInfo_SpanObject proto.InternalMessageInfo
func (m *SpanObject) GetSpanId() int32 {
if m != nil {
return m.SpanId
}
return 0
}
func (m *SpanObject) GetParentSpanId() int32 {
if m != nil {
return m.ParentSpanId
}
return 0
}
func (m *SpanObject) GetStartTime() int64 {
if m != nil {
return m.StartTime
}
return 0
}
func (m *SpanObject) GetEndTime() int64 {
if m != nil {
return m.EndTime
}
return 0
}
func (m *SpanObject) GetRefs() []*SegmentReference {
if m != nil {
return m.Refs
}
return nil
}
func (m *SpanObject) GetOperationName() string {
if m != nil {
return m.OperationName
}
return ""
}
func (m *SpanObject) GetPeer() string {
if m != nil {
return m.Peer
}
return ""
}
func (m *SpanObject) GetSpanType() SkySpanType {
if m != nil {
return m.SpanType
}
return SpanType_Entry
}
func (m *SpanObject) GetSpanLayer() SpanLayer {
if m != nil {
return m.SpanLayer
}
return SpanLayer_Unknown
}
func (m *SpanObject) GetComponentId() int32 {
if m != nil {
return m.ComponentId
}
return 0
}
func (m *SpanObject) GetIsError() bool {
if m != nil {
return m.IsError
}
return false
}
func (m *SpanObject) GetTags() []*common.KeyStringValuePair {
if m != nil {
return m.Tags
}
return nil
}
func (m *SpanObject) GetLogs() []*Log {
if m != nil {
return m.Logs
}
return nil
}
func (m *SpanObject) GetSkipAnalysis() bool {
if m != nil {
return m.SkipAnalysis
}
return false
}
type Log struct {
Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Data []*common.KeyStringValuePair `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Log) Reset() { *m = Log{} }
func (m *Log) String() string { return proto.CompactTextString(m) }
func (*Log) ProtoMessage() {}
func (*Log) Descriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{3}
}
func (m *Log) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Log.Unmarshal(m, b)
}
func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Log.Marshal(b, m, deterministic)
}
func (m *Log) XXX_Merge(src proto.Message) {
xxx_messageInfo_Log.Merge(m, src)
}
func (m *Log) XXX_Size() int {
return xxx_messageInfo_Log.Size(m)
}
func (m *Log) XXX_DiscardUnknown() {
xxx_messageInfo_Log.DiscardUnknown(m)
}
var xxx_messageInfo_Log proto.InternalMessageInfo
func (m *Log) GetTime() int64 {
if m != nil {
return m.Time
}
return 0
}
func (m *Log) GetData() []*common.KeyStringValuePair {
if m != nil {
return m.Data
}
return nil
}
type ID struct {
Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ID) Reset() { *m = ID{} }
func (m *ID) String() string { return proto.CompactTextString(m) }
func (*ID) ProtoMessage() {}
func (*ID) Descriptor() ([]byte, []int) {
return fileDescriptor_e1989527c3daf331, []int{4}
}
func (m *ID) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ID.Unmarshal(m, b)
}
func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ID.Marshal(b, m, deterministic)
}
func (m *ID) XXX_Merge(src proto.Message) {
xxx_messageInfo_ID.Merge(m, src)
}
func (m *ID) XXX_Size() int {
return xxx_messageInfo_ID.Size(m)
}
func (m *ID) XXX_DiscardUnknown() {
xxx_messageInfo_ID.DiscardUnknown(m)
}
var xxx_messageInfo_ID proto.InternalMessageInfo
func (m *ID) GetId() []string {
if m != nil {
return m.Id
}
return nil
}
func init() {
//proto.RegisterEnum("SpanType", SpanType_name, SpanType_value)
proto.RegisterEnum("RefType", RefType_name, RefType_value)
proto.RegisterEnum("SpanLayer", SpanLayer_name, SpanLayer_value)
proto.RegisterType((*SegmentObject)(nil), "SegmentObject")
proto.RegisterType((*SegmentReference)(nil), "SegmentReference")
proto.RegisterType((*SpanObject)(nil), "SpanObject")
proto.RegisterType((*Log)(nil), "Log")
proto.RegisterType((*ID)(nil), "ID")
}
func init() { proto.RegisterFile("language-agent/Tracing.proto", fileDescriptor_e1989527c3daf331) }
var fileDescriptor_e1989527c3daf331 = []byte{
// 845 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xdd, 0x72, 0xe3, 0x34,
0x14, 0xae, 0x9d, 0xff, 0x93, 0x36, 0x6b, 0xb4, 0x0b, 0x63, 0x3a, 0x7b, 0x51, 0x32, 0x2c, 0x64,
0x3a, 0xe0, 0xcc, 0xa4, 0x70, 0xc3, 0x5d, 0xb7, 0x1b, 0x86, 0x0c, 0xd9, 0x25, 0x38, 0x29, 0xcc,
0x70, 0xa7, 0xda, 0xa7, 0xae, 0x48, 0x2c, 0x79, 0x24, 0xb5, 0x25, 0xbc, 0x02, 0x6f, 0xc2, 0xfb,
0x70, 0xcb, 0x35, 0x8f, 0xc1, 0xe8, 0xd8, 0x69, 0xeb, 0x52, 0xf6, 0xca, 0x3a, 0xdf, 0x77, 0x2c,
0xe9, 0x7c, 0xe7, 0x93, 0x04, 0x2f, 0x37, 0x5c, 0x66, 0xd7, 0x3c, 0xc3, 0x2f, 0x79, 0x86, 0xd2,
0x8e, 0x57, 0x9a, 0x27, 0x42, 0x66, 0x51, 0xa1, 0x95, 0x55, 0x87, 0xcf, 0x13, 0x95, 0xe7, 0x4a,
0x8e, 0xcf, 0xe8, 0x53, 0x82, 0xc3, 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0x06, 0x9e, 0x9b,
0x2a, 0x5e, 0x9c, 0x7d, 0xab, 0x79, 0x8e, 0xce, 0xd4, 0x81, 0xef, 0x16, 0xff, 0xce, 0xda, 0x22,
0x68, 0xb0, 0x36, 0xf8, 0x6f, 0x7f, 0x0c, 0x9a, 0x6e, 0x13, 0x67, 0x3c, 0xb9, 0xc2, 0xa0, 0x35,
0x99, 0xc2, 0xc7, 0x0f, 0x0f, 0x76, 0x8c, 0x85, 0xd2, 0x77, 0x27, 0x73, 0x04, 0x9d, 0x44, 0x6d,
0x36, 0xce, 0xfb, 0x83, 0xa8, 0x76, 0xa9, 0x1e, 0xf6, 0x22, 0x77, 0xeb, 0x72, 0x99, 0x9a, 0xe1,
0xde, 0xc8, 0x7b, 0xfd, 0x87, 0x07, 0x27, 0x4a, 0x67, 0x11, 0x2f, 0xdc, 0xbc, 0x91, 0x59, 0x6f,
0x6f, 0xf9, 0x66, 0xed, 0xae, 0x6a, 0x5e, 0xe4, 0x51, 0x75, 0xc0, 0xa2, 0xdd, 0x6d, 0x1e, 0xd1,
0x6d, 0x1e, 0xdd, 0x9c, 0x2c, 0xbc, 0x5f, 0xbe, 0xce, 0x84, 0xbd, 0xba, 0xbe, 0x88, 0x12, 0x95,
0x8f, 0x97, 0xeb, 0xed, 0xe9, 0xe2, 0xed, 0x38, 0x53, 0x13, 0xb3, 0xde, 0x8e, 0x35, 0xed, 0x05,
0xf5, 0x38, 0xd3, 0x45, 0x32, 0xae, 0xbf, 0x04, 0x7f, 0xfa, 0x87, 0xcb, 0xf5, 0xf6, 0xe7, 0x6a,
0x8d, 0x77, 0xe5, 0xfc, 0x0b, 0xf7, 0x00, 0x24, 0x6a, 0x73, 0xd1, 0xa6, 0xa7, 0xe0, 0xe4, 0xdf,
0x00, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x1e, 0xaa, 0xc8, 0x3f, 0x06, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// TraceSegmentReportServiceClient is the client API for TraceSegmentReportService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type TraceSegmentReportServiceClient interface {
Collect(ctx context.Context, opts ...grpc.CallOption) (TraceSegmentReportService_CollectClient, error)
}
type traceSegmentReportServiceClient struct {
cc *grpc.ClientConn
}
func NewTraceSegmentReportServiceClient(cc *grpc.ClientConn) TraceSegmentReportServiceClient {
return &traceSegmentReportServiceClient{cc}
}
func (c *traceSegmentReportServiceClient) Collect(ctx context.Context, opts ...grpc.CallOption) (TraceSegmentReportService_CollectClient, error) {
stream, err := c.cc.NewStream(ctx, &_TraceSegmentReportService_serviceDesc.Streams[0], "/TraceSegmentReportService/collect", opts...)
if err != nil {
return nil, err
}
x := &traceSegmentReportServiceCollectClient{stream}
return x, nil
}
type TraceSegmentReportService_CollectClient interface {
Send(*SegmentObject) error
CloseAndRecv() (*common.Commands, error)
grpc.ClientStream
}
type traceSegmentReportServiceCollectClient struct {
grpc.ClientStream
}
func (x *traceSegmentReportServiceCollectClient) Send(m *SegmentObject) error {
return x.ClientStream.SendMsg(m)
}
func (x *traceSegmentReportServiceCollectClient) CloseAndRecv() (*common.Commands, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(common.Commands)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// TraceSegmentReportServiceServer is the server API for TraceSegmentReportService service.
type TraceSegmentReportServiceServer interface {
Collect(TraceSegmentReportService_CollectServer) error
}
func RegisterTraceSegmentReportServiceServer(s *grpc.Server, srv TraceSegmentReportServiceServer) {
s.RegisterService(&_TraceSegmentReportService_serviceDesc, srv)
}
func _TraceSegmentReportService_Collect_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(TraceSegmentReportServiceServer).Collect(&traceSegmentReportServiceCollectServer{stream})
}
type TraceSegmentReportService_CollectServer interface {
SendAndClose(*common.Commands) error
Recv() (*SegmentObject, error)
grpc.ServerStream
}
type traceSegmentReportServiceCollectServer struct {
grpc.ServerStream
}
func (x *traceSegmentReportServiceCollectServer) SendAndClose(m *common.Commands) error {
return x.ServerStream.SendMsg(m)
}
func (x *traceSegmentReportServiceCollectServer) Recv() (*SegmentObject, error) {
m := new(SegmentObject)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _TraceSegmentReportService_serviceDesc = grpc.ServiceDesc{
ServiceName: "TraceSegmentReportService",
HandlerType: (*TraceSegmentReportServiceServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "collect",
Handler: _TraceSegmentReportService_Collect_Handler,
ClientStreams: true,
},
},
Metadata: "language-agent/Tracing.proto",
}