Tracing.pb.go 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: Tracing.proto
  3. package pb
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // Used to pass through the information necessary to continue
  12. // a trace after an RPC is made. All we need is the traceid
  13. // (so we know the overarching trace this message is a part of), and
  14. // the id of the current span when this message was sent, so we know
  15. // what span caused the new span we will create when this message is received.
  16. type RPCTInfo struct {
  17. TraceId *int64 `protobuf:"varint,1,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
  18. ParentId *int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"`
  19. XXX_unrecognized []byte `json:"-"`
  20. }
  21. func (m *RPCTInfo) Reset() { *m = RPCTInfo{} }
  22. func (m *RPCTInfo) String() string { return proto.CompactTextString(m) }
  23. func (*RPCTInfo) ProtoMessage() {}
  24. func (*RPCTInfo) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{0} }
  25. func (m *RPCTInfo) GetTraceId() int64 {
  26. if m != nil && m.TraceId != nil {
  27. return *m.TraceId
  28. }
  29. return 0
  30. }
  31. func (m *RPCTInfo) GetParentId() int64 {
  32. if m != nil && m.ParentId != nil {
  33. return *m.ParentId
  34. }
  35. return 0
  36. }
  37. func init() {
  38. proto.RegisterType((*RPCTInfo)(nil), "pb.RPCTInfo")
  39. }
  40. func init() { proto.RegisterFile("Tracing.proto", fileDescriptor17) }
  41. var fileDescriptor17 = []byte{
  42. // 153 bytes of a gzipped FileDescriptorProto
  43. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x0d, 0x29, 0x4a, 0x4c,
  44. 0xce, 0xcc, 0x4b, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x48, 0x52, 0x72, 0xe2,
  45. 0xe2, 0x08, 0x0a, 0x70, 0x0e, 0xf1, 0xcc, 0x4b, 0xcb, 0x17, 0x92, 0xe4, 0xe2, 0x28, 0x29, 0x4a,
  46. 0x4c, 0x4e, 0x8d, 0xcf, 0x4c, 0x91, 0x60, 0x54, 0x60, 0xd4, 0x60, 0x0e, 0x62, 0x07, 0xf3, 0x3d,
  47. 0x53, 0x84, 0xa4, 0xb9, 0x38, 0x0b, 0x12, 0x8b, 0x52, 0xf3, 0x4a, 0x40, 0x72, 0x4c, 0x60, 0x39,
  48. 0x0e, 0x88, 0x80, 0x67, 0x8a, 0x93, 0x03, 0x97, 0x56, 0x7e, 0x51, 0xba, 0x5e, 0x62, 0x41, 0x62,
  49. 0x72, 0x46, 0xaa, 0x5e, 0x46, 0x62, 0x4a, 0x7e, 0x7e, 0x81, 0x5e, 0x46, 0x52, 0x62, 0x71, 0x2a,
  50. 0xc4, 0xa2, 0xa4, 0xd2, 0x34, 0xbd, 0xf4, 0xd4, 0xbc, 0xd4, 0xa2, 0xc4, 0x92, 0xd4, 0x14, 0x27,
  51. 0x98, 0x23, 0x02, 0x40, 0x52, 0xc5, 0x1e, 0x8c, 0x0b, 0x18, 0x19, 0x01, 0x01, 0x00, 0x00, 0xff,
  52. 0xff, 0x4f, 0x30, 0xae, 0x8e, 0x99, 0x00, 0x00, 0x00,
  53. }