github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/xtrace/client/internal/reporting.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: reporting.proto 3 // DO NOT EDIT! 4 5 /* 6 Package pubsub is a generated protocol buffer package. 7 8 It is generated from these files: 9 reporting.proto 10 11 It has these top-level messages: 12 XTraceReportv4 13 */ 14 package internal 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 const _ = proto.ProtoPackageIsVersion1 28 29 // The report specification for X-Trace version 4. 30 type XTraceReportv4 struct { 31 // X-Trace related fields 32 TaskId *int64 `protobuf:"fixed64,1,opt,name=task_id" json:"task_id,omitempty"` 33 EventId *int64 `protobuf:"fixed64,2,opt,name=event_id" json:"event_id,omitempty"` 34 ParentEventId []int64 `protobuf:"fixed64,3,rep,name=parent_event_id" json:"parent_event_id,omitempty"` 35 // Timestamp fields 36 Timestamp *int64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"` 37 Hrt *int64 `protobuf:"varint,5,opt,name=hrt" json:"hrt,omitempty"` 38 Cycles *int64 `protobuf:"varint,6,opt,name=cycles" json:"cycles,omitempty"` 39 // Report source fields 40 Host *string `protobuf:"bytes,7,opt,name=host" json:"host,omitempty"` 41 ProcessId *int32 `protobuf:"varint,8,opt,name=process_id" json:"process_id,omitempty"` 42 ProcessName *string `protobuf:"bytes,9,opt,name=process_name" json:"process_name,omitempty"` 43 ThreadId *int32 `protobuf:"varint,10,opt,name=thread_id" json:"thread_id,omitempty"` 44 ThreadName *string `protobuf:"bytes,11,opt,name=threadName" json:"threadName,omitempty"` 45 Agent *string `protobuf:"bytes,12,opt,name=agent" json:"agent,omitempty"` 46 Source *string `protobuf:"bytes,13,opt,name=source" json:"source,omitempty"` 47 // Messages 48 Label *string `protobuf:"bytes,14,opt,name=label" json:"label,omitempty"` 49 Key []string `protobuf:"bytes,15,rep,name=key" json:"key,omitempty"` 50 Value []string `protobuf:"bytes,16,rep,name=value" json:"value,omitempty"` 51 Tags []string `protobuf:"bytes,17,rep,name=tags" json:"tags,omitempty"` 52 // X-Trace Tenant field 53 TenantClass *int32 `protobuf:"varint,18,opt,name=tenantClass" json:"tenantClass,omitempty"` 54 XXX_unrecognized []byte `json:"-"` 55 } 56 57 func (m *XTraceReportv4) Reset() { *m = XTraceReportv4{} } 58 func (m *XTraceReportv4) String() string { return proto.CompactTextString(m) } 59 func (*XTraceReportv4) ProtoMessage() {} 60 func (*XTraceReportv4) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 61 62 func (m *XTraceReportv4) GetTaskId() int64 { 63 if m != nil && m.TaskId != nil { 64 return *m.TaskId 65 } 66 return 0 67 } 68 69 func (m *XTraceReportv4) GetEventId() int64 { 70 if m != nil && m.EventId != nil { 71 return *m.EventId 72 } 73 return 0 74 } 75 76 func (m *XTraceReportv4) GetParentEventId() []int64 { 77 if m != nil { 78 return m.ParentEventId 79 } 80 return nil 81 } 82 83 func (m *XTraceReportv4) GetTimestamp() int64 { 84 if m != nil && m.Timestamp != nil { 85 return *m.Timestamp 86 } 87 return 0 88 } 89 90 func (m *XTraceReportv4) GetHrt() int64 { 91 if m != nil && m.Hrt != nil { 92 return *m.Hrt 93 } 94 return 0 95 } 96 97 func (m *XTraceReportv4) GetCycles() int64 { 98 if m != nil && m.Cycles != nil { 99 return *m.Cycles 100 } 101 return 0 102 } 103 104 func (m *XTraceReportv4) GetHost() string { 105 if m != nil && m.Host != nil { 106 return *m.Host 107 } 108 return "" 109 } 110 111 func (m *XTraceReportv4) GetProcessId() int32 { 112 if m != nil && m.ProcessId != nil { 113 return *m.ProcessId 114 } 115 return 0 116 } 117 118 func (m *XTraceReportv4) GetProcessName() string { 119 if m != nil && m.ProcessName != nil { 120 return *m.ProcessName 121 } 122 return "" 123 } 124 125 func (m *XTraceReportv4) GetThreadId() int32 { 126 if m != nil && m.ThreadId != nil { 127 return *m.ThreadId 128 } 129 return 0 130 } 131 132 func (m *XTraceReportv4) GetThreadName() string { 133 if m != nil && m.ThreadName != nil { 134 return *m.ThreadName 135 } 136 return "" 137 } 138 139 func (m *XTraceReportv4) GetAgent() string { 140 if m != nil && m.Agent != nil { 141 return *m.Agent 142 } 143 return "" 144 } 145 146 func (m *XTraceReportv4) GetSource() string { 147 if m != nil && m.Source != nil { 148 return *m.Source 149 } 150 return "" 151 } 152 153 func (m *XTraceReportv4) GetLabel() string { 154 if m != nil && m.Label != nil { 155 return *m.Label 156 } 157 return "" 158 } 159 160 func (m *XTraceReportv4) GetKey() []string { 161 if m != nil { 162 return m.Key 163 } 164 return nil 165 } 166 167 func (m *XTraceReportv4) GetValue() []string { 168 if m != nil { 169 return m.Value 170 } 171 return nil 172 } 173 174 func (m *XTraceReportv4) GetTags() []string { 175 if m != nil { 176 return m.Tags 177 } 178 return nil 179 } 180 181 func (m *XTraceReportv4) GetTenantClass() int32 { 182 if m != nil && m.TenantClass != nil { 183 return *m.TenantClass 184 } 185 return 0 186 } 187 188 func init() { 189 proto.RegisterType((*XTraceReportv4)(nil), "pubsub.XTraceReportv4") 190 } 191 192 var fileDescriptor0 = []byte{ 193 // 295 bytes of a gzipped FileDescriptorProto 194 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x3c, 0x91, 0xbb, 0x6e, 0xf2, 0x40, 195 0x10, 0x85, 0x05, 0xe6, 0xe6, 0xe1, 0x62, 0xd8, 0xff, 0x97, 0x32, 0x52, 0x1a, 0x94, 0x8a, 0xca, 196 0x55, 0x9e, 0x80, 0xf4, 0x29, 0x50, 0x8a, 0x74, 0xd1, 0xda, 0x8c, 0x00, 0x61, 0x7b, 0xad, 0x9d, 197 0x31, 0x09, 0x6f, 0x98, 0xc7, 0xca, 0xee, 0x44, 0x4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