Debian Codegraph @

golang/protobuf/lightsteppb/lightstep.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: github.com/lightstep/lightstep-tracer-common/tmpgen/lightstep.proto
3
4 /*
5 Package lightsteppb is a generated protocol buffer package.
6
7 It is generated from these files:
8 github.com/lightstep/lightstep-tracer-common/tmpgen/lightstep.proto
9
10 It has these top-level messages:
11 BinaryCarrier
12 BasicTracerCarrier
13 */
14 package lightsteppb // import "github.com/lightstep/lightstep-tracer-common/golang/protobuf/lightsteppb"
15
16 import proto "github.com/golang/protobuf/proto"
17 import fmt "fmt"
18 import math "math"
19
20 // Reference imports to suppress errors if they are not otherwise used.
21 var _ = proto.Marshal
22 var _ = fmt.Errorf
23 var _ = math.Inf
24
25 // This is a compile-time assertion to ensure that this generated file
26 // is compatible with the proto package it is being compiled against.
27 // A compilation error at this line likely means your copy of the
28 // proto package needs to be updated.
29 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
30
31 // The standard carrier for binary context propagation into LightStep.
32 type BinaryCarrier struct {
33 // "text_ctx" was deprecated following lightstep-tracer-cpp-0.36
34 DeprecatedTextCtx [][]byte `protobuf:"bytes,1,rep,name=deprecated_text_ctx,json=deprecatedTextCtx,proto3" json:"deprecated_text_ctx,omitempty"`
35 // The Opentracing "basictracer" proto.
36 BasicCtx *BasicTracerCarrier `protobuf:"bytes,2,opt,name=basic_ctx,json=basicCtx" json:"basic_ctx,omitempty"`
37 }
38
39 func (m *BinaryCarrier) Reset() { *m = BinaryCarrier{} }
40 func (m *BinaryCarrier) String() string { return proto.CompactTextString(m) }
41 func (*BinaryCarrier) ProtoMessage() {}
42 func (*BinaryCarrier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
43
44 func (m *BinaryCarrier) GetDeprecatedTextCtx() [][]byte {
45 if m != nil {
46 return m.DeprecatedTextCtx
47 }
48 return nil
49 }
50
51 func (m *BinaryCarrier) GetBasicCtx() *BasicTracerCarrier {
52 if m != nil {
53 return m.BasicCtx
54 }
55 return nil
56 }
57
58 // Copy of https://github.com/opentracing/basictracer-go/blob/master/wire/wire.proto
59 type BasicTracerCarrier struct {
60 TraceId uint64 `protobuf:"fixed64,1,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
61 SpanId uint64 `protobuf:"fixed64,2,opt,name=span_id,json=spanId" json:"span_id,omitempty"`
62 Sampled bool `protobuf:"varint,3,opt,name=sampled" json:"sampled,omitempty"`
63 BaggageItems map[string]string `protobuf:"bytes,4,rep,name=baggage_items,json=baggageItems" json:"baggage_items,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
64 }
65
66 func (m *BasicTracerCarrier) Reset() { *m = BasicTracerCarrier{} }
67 func (m *BasicTracerCarrier) String() string { return proto.CompactTextString(m) }
68 func (*BasicTracerCarrier) ProtoMessage() {}
69 func (*BasicTracerCarrier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
70
71 func (m *BasicTracerCarrier) GetTraceId() uint64 {
72 if m != nil {
73 return m.TraceId
74 }
75 return 0
76 }
77
78 func (m *BasicTracerCarrier) GetSpanId() uint64 {
79 if m != nil {
80 return m.SpanId
81 }
82 return 0
83 }
84
85 func (m *BasicTracerCarrier) GetSampled() bool {
86 if m != nil {
87 return m.Sampled
88 }
89 return false
90 }
91
92 func (m *BasicTracerCarrier) GetBaggageItems() map[string]string {
93 if m != nil {
94 return m.BaggageItems
95 }
96 return nil
97 }
98
99 func init() {
100 proto.RegisterType((*BinaryCarrier)(nil), "lightstep.BinaryCarrier")
101 proto.RegisterType((*BasicTracerCarrier)(nil), "lightstep.BasicTracerCarrier")
102 }
103
104 func init() {
105 proto.RegisterFile("github.com/lightstep/lightstep-tracer-common/tmpgen/lightstep.proto", fileDescriptor0)
106 }
107
108 var fileDescriptor0 = []byte{
109 // 316 bytes of a gzipped FileDescriptorProto
110 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x6b, 0xf3, 0x30,
111 0x10, 0xc5, 0x51, 0xfc, 0x7d, 0x49, 0xac, 0x24, 0xd0, 0xa8, 0x85, 0xba, 0x85, 0x82, 0xc9, 0xe4,
112 0x25, 0x0e, 0xa4, 0x4b, 0xc9, 0x52, 0xb0, 0xe9, 0x90, 0x55, 0x64, 0xea, 0x62, 0x64, 0xfb, 0x70,
113 0x44, 0x23, 0x5b, 0xc8, 0x97, 0x62, 0xd3, 0xbf, 0xbc, 0x5b, 0xb1, 0xd2, 0xc6, 0x85, 0x40, 0xb7,
114 0x7b, 0xf7, 0xde, 0xf1, 0x7e, 0x42, 0x34, 0x2e, 0x24, 0xee, 0x8f, 0x69, 0x98, 0x55, 0x6a, 0x75,
115 0x90, 0xc5, 0x1e, 0x6b, 0x04, 0xdd, 0x4f, 0x4b, 0x34, 0x22, 0x03, 0xb3, 0xcc, 0x2a, 0xa5, 0xaa,
116 0x72, 0x85, 0x4a, 0x17, 0x50, 0xf6, 0x76, 0xa8, 0x4d, 0x85, 0x15, 0x73, 0xcf, 0x8b, 0xc5, 0x07,
117 0x9d, 0x45, 0xb2, 0x14, 0xa6, 0x8d, 0x85, 0x31, 0x12, 0x0c, 0x0b, 0xe9, 0x75, 0x0e, 0xda, 0x40,
118 0x26, 0x10, 0xf2, 0x04, 0xa1, 0xc1, 0x24, 0xc3, 0xc6, 0x23, 0xbe, 0x13, 0x4c, 0xf9, 0xbc, 0xb7,
119 0x76, 0xd0, 0x60, 0x8c, 0x0d, 0xdb, 0x50, 0x37, 0x15, 0xb5, 0xcc, 0x6c, 0x6a, 0xe0, 0x93, 0x60,
120 0xb2, 0x7e, 0x08, 0xfb, 0xc2, 0xa8, 0xf3, 0x76, 0x16, 0xea, 0xbb, 0x81, 0x8f, 0x6d, 0x3e, 0xc6,
121 0x66, 0xf1, 0x49, 0x28, 0xbb, 0x0c, 0xb0, 0x3b, 0x3a, 0xb6, 0xcf, 0x48, 0x64, 0xee, 0x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