This repository has been archived by the owner on Oct 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
analysis.pb.go
303 lines (261 loc) · 10 KB
/
analysis.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
// Code generated by protoc-gen-go.
// source: analysis.proto
// DO NOT EDIT!
package apiclient
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// A graph is a way to represent data.
type Sample struct {
Label *string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
XValue *uint64 `protobuf:"varint,2,opt,name=x_value,json=xValue" json:"x_value,omitempty"`
YValue *uint64 `protobuf:"varint,3,opt,name=y_value,json=yValue" json:"y_value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Sample) Reset() { *m = Sample{} }
func (m *Sample) String() string { return proto.CompactTextString(m) }
func (*Sample) ProtoMessage() {}
func (*Sample) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *Sample) GetLabel() string {
if m != nil && m.Label != nil {
return *m.Label
}
return ""
}
func (m *Sample) GetXValue() uint64 {
if m != nil && m.XValue != nil {
return *m.XValue
}
return 0
}
func (m *Sample) GetYValue() uint64 {
if m != nil && m.YValue != nil {
return *m.YValue
}
return 0
}
type SampleFloat struct {
Label *string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
XValue *float32 `protobuf:"fixed32,2,opt,name=x_value,json=xValue" json:"x_value,omitempty"`
YValue *float32 `protobuf:"fixed32,3,opt,name=y_value,json=yValue" json:"y_value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *SampleFloat) Reset() { *m = SampleFloat{} }
func (m *SampleFloat) String() string { return proto.CompactTextString(m) }
func (*SampleFloat) ProtoMessage() {}
func (*SampleFloat) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *SampleFloat) GetLabel() string {
if m != nil && m.Label != nil {
return *m.Label
}
return ""
}
func (m *SampleFloat) GetXValue() float32 {
if m != nil && m.XValue != nil {
return *m.XValue
}
return 0
}
func (m *SampleFloat) GetYValue() float32 {
if m != nil && m.YValue != nil {
return *m.YValue
}
return 0
}
type Graph struct {
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Xtitle *string `protobuf:"bytes,2,opt,name=xtitle" json:"xtitle,omitempty"`
Ytitle *string `protobuf:"bytes,3,opt,name=ytitle" json:"ytitle,omitempty"`
Data []*Sample `protobuf:"bytes,4,rep,name=data" json:"data,omitempty"`
XScale *uint32 `protobuf:"varint,5,opt,name=x_scale,json=xScale,def=1" json:"x_scale,omitempty"`
YScale *uint32 `protobuf:"varint,6,opt,name=y_scale,json=yScale,def=1" json:"y_scale,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Graph) Reset() { *m = Graph{} }
func (m *Graph) String() string { return proto.CompactTextString(m) }
func (*Graph) ProtoMessage() {}
func (*Graph) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
const Default_Graph_XScale uint32 = 1
const Default_Graph_YScale uint32 = 1
func (m *Graph) GetTitle() string {
if m != nil && m.Title != nil {
return *m.Title
}
return ""
}
func (m *Graph) GetXtitle() string {
if m != nil && m.Xtitle != nil {
return *m.Xtitle
}
return ""
}
func (m *Graph) GetYtitle() string {
if m != nil && m.Ytitle != nil {
return *m.Ytitle
}
return ""
}
func (m *Graph) GetData() []*Sample {
if m != nil {
return m.Data
}
return nil
}
func (m *Graph) GetXScale() uint32 {
if m != nil && m.XScale != nil {
return *m.XScale
}
return Default_Graph_XScale
}
func (m *Graph) GetYScale() uint32 {
if m != nil && m.YScale != nil {
return *m.YScale
}
return Default_Graph_YScale
}
type GraphFloat struct {
Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
Xtitle *string `protobuf:"bytes,2,opt,name=xtitle" json:"xtitle,omitempty"`
Ytitle *string `protobuf:"bytes,3,opt,name=ytitle" json:"ytitle,omitempty"`
Data []*SampleFloat `protobuf:"bytes,4,rep,name=data" json:"data,omitempty"`
XScale *uint32 `protobuf:"varint,5,opt,name=x_scale,json=xScale,def=1" json:"x_scale,omitempty"`
YScale *uint32 `protobuf:"varint,6,opt,name=y_scale,json=yScale,def=1" json:"y_scale,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GraphFloat) Reset() { *m = GraphFloat{} }
func (m *GraphFloat) String() string { return proto.CompactTextString(m) }
func (*GraphFloat) ProtoMessage() {}
func (*GraphFloat) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
const Default_GraphFloat_XScale uint32 = 1
const Default_GraphFloat_YScale uint32 = 1
func (m *GraphFloat) GetTitle() string {
if m != nil && m.Title != nil {
return *m.Title
}
return ""
}
func (m *GraphFloat) GetXtitle() string {
if m != nil && m.Xtitle != nil {
return *m.Xtitle
}
return ""
}
func (m *GraphFloat) GetYtitle() string {
if m != nil && m.Ytitle != nil {
return *m.Ytitle
}
return ""
}
func (m *GraphFloat) GetData() []*SampleFloat {
if m != nil {
return m.Data
}
return nil
}
func (m *GraphFloat) GetXScale() uint32 {
if m != nil && m.XScale != nil {
return *m.XScale
}
return Default_GraphFloat_XScale
}
func (m *GraphFloat) GetYScale() uint32 {
if m != nil && m.YScale != nil {
return *m.YScale
}
return Default_GraphFloat_YScale
}
// The following relate to the timelining functionality.
type Event struct {
Timestamp *uint64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
Source *string `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
// The name of the object which this event is talking about.
Subject *string `protobuf:"bytes,3,opt,name=subject" json:"subject,omitempty"`
// The type of this event.
Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
Stat *StatEntry `protobuf:"bytes,5,opt,name=stat" json:"stat,omitempty"`
// The sequential number of this event as stored in the time series.
Id *uint32 `protobuf:"varint,6,opt,name=id" json:"id,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Event) Reset() { *m = Event{} }
func (m *Event) String() string { return proto.CompactTextString(m) }
func (*Event) ProtoMessage() {}
func (*Event) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (m *Event) GetTimestamp() uint64 {
if m != nil && m.Timestamp != nil {
return *m.Timestamp
}
return 0
}
func (m *Event) GetSource() string {
if m != nil && m.Source != nil {
return *m.Source
}
return ""
}
func (m *Event) GetSubject() string {
if m != nil && m.Subject != nil {
return *m.Subject
}
return ""
}
func (m *Event) GetType() string {
if m != nil && m.Type != nil {
return *m.Type
}
return ""
}
func (m *Event) GetStat() *StatEntry {
if m != nil {
return m.Stat
}
return nil
}
func (m *Event) GetId() uint32 {
if m != nil && m.Id != nil {
return *m.Id
}
return 0
}
func init() {
proto.RegisterType((*Sample)(nil), "Sample")
proto.RegisterType((*SampleFloat)(nil), "SampleFloat")
proto.RegisterType((*Graph)(nil), "Graph")
proto.RegisterType((*GraphFloat)(nil), "GraphFloat")
proto.RegisterType((*Event)(nil), "Event")
}
func init() { proto.RegisterFile("analysis.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 423 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x90, 0x41, 0x6e, 0x13, 0x31,
0x14, 0x86, 0xe5, 0xc9, 0x64, 0xa2, 0xbe, 0x40, 0x16, 0x56, 0x05, 0xa3, 0x22, 0x21, 0x2b, 0x6c,
0xc2, 0x66, 0xa4, 0x76, 0x09, 0x2b, 0xaa, 0x34, 0xdd, 0x21, 0xe4, 0x50, 0x24, 0x56, 0xe8, 0x25,
0x71, 0x1b, 0x57, 0xce, 0x78, 0x34, 0x7e, 0x89, 0xe2, 0x23, 0x70, 0x0d, 0xd6, 0x1c, 0x83, 0x93,
0xc0, 0x35, 0x58, 0x20, 0xdb, 0x93, 0x00, 0x0b, 0x24, 0x24, 0xd8, 0xf9, 0xff, 0x7f, 0xfb, 0xf3,
0xff, 0x1e, 0x8c, 0xb0, 0x46, 0xe3, 0x9d, 0x76, 0x55, 0xd3, 0x5a, 0xb2, 0x67, 0x70, 0x6f, 0x17,
0x87, 0xf3, 0xc8, 0xa9, 0x0d, 0xd6, 0xa4, 0x97, 0x49, 0x8f, 0xdf, 0x40, 0x31, 0xc7, 0x4d, 0x63,
0x14, 0x3f, 0x85, 0xbe, 0xc1, 0x85, 0x32, 0x25, 0x13, 0x6c, 0x72, 0x22, 0x93, 0xe0, 0x8f, 0x61,
0xb0, 0xff, 0xb0, 0x43, 0xb3, 0x55, 0x65, 0x26, 0xd8, 0x24, 0x97, 0xc5, 0xfe, 0x5d, 0x50, 0x21,
0xf0, 0x5d, 0xd0, 0x4b, 0x81, 0x8f, 0xc1, 0xf8, 0x06, 0x86, 0x89, 0x38, 0x33, 0x16, 0xe9, 0xef,
0xb0, 0xd9, 0x9f, 0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