forked from tsuna/gohbase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tracing.pb.go
44 lines (36 loc) · 1.23 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
// Code generated by protoc-gen-go.
// source: Tracing.proto
// DO NOT EDIT!
package pb
import proto "github.com/golang/protobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
// Used to pass through the information necessary to continue
// a trace after an RPC is made. All we need is the traceid
// (so we know the overarching trace this message is a part of), and
// the id of the current span when this message was sent, so we know
// what span caused the new span we will create when this message is received.
type RPCTInfo struct {
TraceId *int64 `protobuf:"varint,1,opt,name=trace_id" json:"trace_id,omitempty"`
ParentId *int64 `protobuf:"varint,2,opt,name=parent_id" json:"parent_id,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RPCTInfo) Reset() { *m = RPCTInfo{} }
func (m *RPCTInfo) String() string { return proto.CompactTextString(m) }
func (*RPCTInfo) ProtoMessage() {}
func (m *RPCTInfo) GetTraceId() int64 {
if m != nil && m.TraceId != nil {
return *m.TraceId
}
return 0
}
func (m *RPCTInfo) GetParentId() int64 {
if m != nil && m.ParentId != nil {
return *m.ParentId
}
return 0
}
func init() {
}