github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/Tracing.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: Tracing.proto
     3  // DO NOT EDIT!
     4  
     5  package proto
     6  
     7  import proto1 "github.com/insionng/yougam/libraries/golang/protobuf/proto"
     8  import math "math"
     9  
    10  // Reference imports to suppress errors if they are not otherwise used.
    11  var _ = proto1.Marshal
    12  var _ = math.Inf
    13  
    14  // Used to pass through the information necessary to continue
    15  // a trace after an RPC is made. All we need is the traceid
    16  // (so we know the overarching trace this message is a part of), and
    17  // the id of the current span when this message was sent, so we know
    18  // what span caused the new span we will create when this message is received.
    19  type RPCTInfo struct {
    20  	TraceId          *int64 `protobuf:"varint,1,opt,name=trace_id" json:"trace_id,omitempty"`
    21  	ParentId         *int64 `protobuf:"varint,2,opt,name=parent_id" json:"parent_id,omitempty"`
    22  	XXX_unrecognized []byte `json:"-"`
    23  }
    24  
    25  func (m *RPCTInfo) Reset()         { *m = RPCTInfo{} }
    26  func (m *RPCTInfo) String() string { return proto1.CompactTextString(m) }
    27  func (*RPCTInfo) ProtoMessage()    {}
    28  
    29  func (m *RPCTInfo) GetTraceId() int64 {
    30  	if m != nil && m.TraceId != nil {
    31  		return *m.TraceId
    32  	}
    33  	return 0
    34  }
    35  
    36  func (m *RPCTInfo) GetParentId() int64 {
    37  	if m != nil && m.ParentId != nil {
    38  		return *m.ParentId
    39  	}
    40  	return 0
    41  }
    42  
    43  func init() {
    44  }