zipkin_query 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1219 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.9.1)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require 'zipkin_query/zipkin_query_types'
9
+
10
+ module Zipkin
11
+ module ZipkinQuery
12
+ class Client
13
+ include ::Thrift::Client
14
+
15
+ def getTraceIds(request)
16
+ send_getTraceIds(request)
17
+ return recv_getTraceIds()
18
+ end
19
+
20
+ def send_getTraceIds(request)
21
+ send_message('getTraceIds', GetTraceIds_args, :request => request)
22
+ end
23
+
24
+ def recv_getTraceIds()
25
+ result = receive_message(GetTraceIds_result)
26
+ return result.success unless result.success.nil?
27
+ raise result.qe unless result.qe.nil?
28
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIds failed: unknown result')
29
+ end
30
+
31
+ def getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order)
32
+ send_getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order)
33
+ return recv_getTraceIdsBySpanName()
34
+ end
35
+
36
+ def send_getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order)
37
+ send_message('getTraceIdsBySpanName', GetTraceIdsBySpanName_args, :service_name => service_name, :span_name => span_name, :end_ts => end_ts, :limit => limit, :order => order)
38
+ end
39
+
40
+ def recv_getTraceIdsBySpanName()
41
+ result = receive_message(GetTraceIdsBySpanName_result)
42
+ return result.success unless result.success.nil?
43
+ raise result.qe unless result.qe.nil?
44
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIdsBySpanName failed: unknown result')
45
+ end
46
+
47
+ def getTraceIdsByServiceName(service_name, end_ts, limit, order)
48
+ send_getTraceIdsByServiceName(service_name, end_ts, limit, order)
49
+ return recv_getTraceIdsByServiceName()
50
+ end
51
+
52
+ def send_getTraceIdsByServiceName(service_name, end_ts, limit, order)
53
+ send_message('getTraceIdsByServiceName', GetTraceIdsByServiceName_args, :service_name => service_name, :end_ts => end_ts, :limit => limit, :order => order)
54
+ end
55
+
56
+ def recv_getTraceIdsByServiceName()
57
+ result = receive_message(GetTraceIdsByServiceName_result)
58
+ return result.success unless result.success.nil?
59
+ raise result.qe unless result.qe.nil?
60
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIdsByServiceName failed: unknown result')
61
+ end
62
+
63
+ def getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order)
64
+ send_getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order)
65
+ return recv_getTraceIdsByAnnotation()
66
+ end
67
+
68
+ def send_getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order)
69
+ send_message('getTraceIdsByAnnotation', GetTraceIdsByAnnotation_args, :service_name => service_name, :annotation => annotation, :value => value, :end_ts => end_ts, :limit => limit, :order => order)
70
+ end
71
+
72
+ def recv_getTraceIdsByAnnotation()
73
+ result = receive_message(GetTraceIdsByAnnotation_result)
74
+ return result.success unless result.success.nil?
75
+ raise result.qe unless result.qe.nil?
76
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIdsByAnnotation failed: unknown result')
77
+ end
78
+
79
+ def tracesExist(trace_ids)
80
+ send_tracesExist(trace_ids)
81
+ return recv_tracesExist()
82
+ end
83
+
84
+ def send_tracesExist(trace_ids)
85
+ send_message('tracesExist', TracesExist_args, :trace_ids => trace_ids)
86
+ end
87
+
88
+ def recv_tracesExist()
89
+ result = receive_message(TracesExist_result)
90
+ return result.success unless result.success.nil?
91
+ raise result.qe unless result.qe.nil?
92
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'tracesExist failed: unknown result')
93
+ end
94
+
95
+ def getTracesByIds(trace_ids, adjust)
96
+ send_getTracesByIds(trace_ids, adjust)
97
+ return recv_getTracesByIds()
98
+ end
99
+
100
+ def send_getTracesByIds(trace_ids, adjust)
101
+ send_message('getTracesByIds', GetTracesByIds_args, :trace_ids => trace_ids, :adjust => adjust)
102
+ end
103
+
104
+ def recv_getTracesByIds()
105
+ result = receive_message(GetTracesByIds_result)
106
+ return result.success unless result.success.nil?
107
+ raise result.qe unless result.qe.nil?
108
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTracesByIds failed: unknown result')
109
+ end
110
+
111
+ def getTraceTimelinesByIds(trace_ids, adjust)
112
+ send_getTraceTimelinesByIds(trace_ids, adjust)
113
+ return recv_getTraceTimelinesByIds()
114
+ end
115
+
116
+ def send_getTraceTimelinesByIds(trace_ids, adjust)
117
+ send_message('getTraceTimelinesByIds', GetTraceTimelinesByIds_args, :trace_ids => trace_ids, :adjust => adjust)
118
+ end
119
+
120
+ def recv_getTraceTimelinesByIds()
121
+ result = receive_message(GetTraceTimelinesByIds_result)
122
+ return result.success unless result.success.nil?
123
+ raise result.qe unless result.qe.nil?
124
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceTimelinesByIds failed: unknown result')
125
+ end
126
+
127
+ def getTraceSummariesByIds(trace_ids, adjust)
128
+ send_getTraceSummariesByIds(trace_ids, adjust)
129
+ return recv_getTraceSummariesByIds()
130
+ end
131
+
132
+ def send_getTraceSummariesByIds(trace_ids, adjust)
133
+ send_message('getTraceSummariesByIds', GetTraceSummariesByIds_args, :trace_ids => trace_ids, :adjust => adjust)
134
+ end
135
+
136
+ def recv_getTraceSummariesByIds()
137
+ result = receive_message(GetTraceSummariesByIds_result)
138
+ return result.success unless result.success.nil?
139
+ raise result.qe unless result.qe.nil?
140
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceSummariesByIds failed: unknown result')
141
+ end
142
+
143
+ def getTraceCombosByIds(trace_ids, adjust)
144
+ send_getTraceCombosByIds(trace_ids, adjust)
145
+ return recv_getTraceCombosByIds()
146
+ end
147
+
148
+ def send_getTraceCombosByIds(trace_ids, adjust)
149
+ send_message('getTraceCombosByIds', GetTraceCombosByIds_args, :trace_ids => trace_ids, :adjust => adjust)
150
+ end
151
+
152
+ def recv_getTraceCombosByIds()
153
+ result = receive_message(GetTraceCombosByIds_result)
154
+ return result.success unless result.success.nil?
155
+ raise result.qe unless result.qe.nil?
156
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceCombosByIds failed: unknown result')
157
+ end
158
+
159
+ def getServiceNames()
160
+ send_getServiceNames()
161
+ return recv_getServiceNames()
162
+ end
163
+
164
+ def send_getServiceNames()
165
+ send_message('getServiceNames', GetServiceNames_args)
166
+ end
167
+
168
+ def recv_getServiceNames()
169
+ result = receive_message(GetServiceNames_result)
170
+ return result.success unless result.success.nil?
171
+ raise result.qe unless result.qe.nil?
172
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getServiceNames failed: unknown result')
173
+ end
174
+
175
+ def getSpanNames(service_name)
176
+ send_getSpanNames(service_name)
177
+ return recv_getSpanNames()
178
+ end
179
+
180
+ def send_getSpanNames(service_name)
181
+ send_message('getSpanNames', GetSpanNames_args, :service_name => service_name)
182
+ end
183
+
184
+ def recv_getSpanNames()
185
+ result = receive_message(GetSpanNames_result)
186
+ return result.success unless result.success.nil?
187
+ raise result.qe unless result.qe.nil?
188
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSpanNames failed: unknown result')
189
+ end
190
+
191
+ def setTraceTimeToLive(trace_id, ttl_seconds)
192
+ send_setTraceTimeToLive(trace_id, ttl_seconds)
193
+ recv_setTraceTimeToLive()
194
+ end
195
+
196
+ def send_setTraceTimeToLive(trace_id, ttl_seconds)
197
+ send_message('setTraceTimeToLive', SetTraceTimeToLive_args, :trace_id => trace_id, :ttl_seconds => ttl_seconds)
198
+ end
199
+
200
+ def recv_setTraceTimeToLive()
201
+ result = receive_message(SetTraceTimeToLive_result)
202
+ raise result.qe unless result.qe.nil?
203
+ return
204
+ end
205
+
206
+ def getTraceTimeToLive(trace_id)
207
+ send_getTraceTimeToLive(trace_id)
208
+ return recv_getTraceTimeToLive()
209
+ end
210
+
211
+ def send_getTraceTimeToLive(trace_id)
212
+ send_message('getTraceTimeToLive', GetTraceTimeToLive_args, :trace_id => trace_id)
213
+ end
214
+
215
+ def recv_getTraceTimeToLive()
216
+ result = receive_message(GetTraceTimeToLive_result)
217
+ return result.success unless result.success.nil?
218
+ raise result.qe unless result.qe.nil?
219
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceTimeToLive failed: unknown result')
220
+ end
221
+
222
+ def getDataTimeToLive()
223
+ send_getDataTimeToLive()
224
+ return recv_getDataTimeToLive()
225
+ end
226
+
227
+ def send_getDataTimeToLive()
228
+ send_message('getDataTimeToLive', GetDataTimeToLive_args)
229
+ end
230
+
231
+ def recv_getDataTimeToLive()
232
+ result = receive_message(GetDataTimeToLive_result)
233
+ return result.success unless result.success.nil?
234
+ raise result.qe unless result.qe.nil?
235
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getDataTimeToLive failed: unknown result')
236
+ end
237
+
238
+ def getDependencies(start_time, end_time)
239
+ send_getDependencies(start_time, end_time)
240
+ return recv_getDependencies()
241
+ end
242
+
243
+ def send_getDependencies(start_time, end_time)
244
+ send_message('getDependencies', GetDependencies_args, :start_time => start_time, :end_time => end_time)
245
+ end
246
+
247
+ def recv_getDependencies()
248
+ result = receive_message(GetDependencies_result)
249
+ return result.success unless result.success.nil?
250
+ raise result.qe unless result.qe.nil?
251
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getDependencies failed: unknown result')
252
+ end
253
+
254
+ def getTopAnnotations(service_name)
255
+ send_getTopAnnotations(service_name)
256
+ return recv_getTopAnnotations()
257
+ end
258
+
259
+ def send_getTopAnnotations(service_name)
260
+ send_message('getTopAnnotations', GetTopAnnotations_args, :service_name => service_name)
261
+ end
262
+
263
+ def recv_getTopAnnotations()
264
+ result = receive_message(GetTopAnnotations_result)
265
+ return result.success unless result.success.nil?
266
+ raise result.qe unless result.qe.nil?
267
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTopAnnotations failed: unknown result')
268
+ end
269
+
270
+ def getTopKeyValueAnnotations(service_name)
271
+ send_getTopKeyValueAnnotations(service_name)
272
+ return recv_getTopKeyValueAnnotations()
273
+ end
274
+
275
+ def send_getTopKeyValueAnnotations(service_name)
276
+ send_message('getTopKeyValueAnnotations', GetTopKeyValueAnnotations_args, :service_name => service_name)
277
+ end
278
+
279
+ def recv_getTopKeyValueAnnotations()
280
+ result = receive_message(GetTopKeyValueAnnotations_result)
281
+ return result.success unless result.success.nil?
282
+ raise result.qe unless result.qe.nil?
283
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTopKeyValueAnnotations failed: unknown result')
284
+ end
285
+
286
+ def getSpanDurations(time_stamp, service_name, rpc_name)
287
+ send_getSpanDurations(time_stamp, service_name, rpc_name)
288
+ return recv_getSpanDurations()
289
+ end
290
+
291
+ def send_getSpanDurations(time_stamp, service_name, rpc_name)
292
+ send_message('getSpanDurations', GetSpanDurations_args, :time_stamp => time_stamp, :service_name => service_name, :rpc_name => rpc_name)
293
+ end
294
+
295
+ def recv_getSpanDurations()
296
+ result = receive_message(GetSpanDurations_result)
297
+ return result.success unless result.success.nil?
298
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSpanDurations failed: unknown result')
299
+ end
300
+
301
+ def getServiceNamesToTraceIds(time_stamp, service_name, rpc_name)
302
+ send_getServiceNamesToTraceIds(time_stamp, service_name, rpc_name)
303
+ return recv_getServiceNamesToTraceIds()
304
+ end
305
+
306
+ def send_getServiceNamesToTraceIds(time_stamp, service_name, rpc_name)
307
+ send_message('getServiceNamesToTraceIds', GetServiceNamesToTraceIds_args, :time_stamp => time_stamp, :service_name => service_name, :rpc_name => rpc_name)
308
+ end
309
+
310
+ def recv_getServiceNamesToTraceIds()
311
+ result = receive_message(GetServiceNamesToTraceIds_result)
312
+ return result.success unless result.success.nil?
313
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getServiceNamesToTraceIds failed: unknown result')
314
+ end
315
+
316
+ end
317
+
318
+ class Processor
319
+ include ::Thrift::Processor
320
+
321
+ def process_getTraceIds(seqid, iprot, oprot)
322
+ args = read_args(iprot, GetTraceIds_args)
323
+ result = GetTraceIds_result.new()
324
+ begin
325
+ result.success = @handler.getTraceIds(args.request)
326
+ rescue ::Zipkin::QueryException => qe
327
+ result.qe = qe
328
+ end
329
+ write_result(result, oprot, 'getTraceIds', seqid)
330
+ end
331
+
332
+ def process_getTraceIdsBySpanName(seqid, iprot, oprot)
333
+ args = read_args(iprot, GetTraceIdsBySpanName_args)
334
+ result = GetTraceIdsBySpanName_result.new()
335
+ begin
336
+ result.success = @handler.getTraceIdsBySpanName(args.service_name, args.span_name, args.end_ts, args.limit, args.order)
337
+ rescue ::Zipkin::QueryException => qe
338
+ result.qe = qe
339
+ end
340
+ write_result(result, oprot, 'getTraceIdsBySpanName', seqid)
341
+ end
342
+
343
+ def process_getTraceIdsByServiceName(seqid, iprot, oprot)
344
+ args = read_args(iprot, GetTraceIdsByServiceName_args)
345
+ result = GetTraceIdsByServiceName_result.new()
346
+ begin
347
+ result.success = @handler.getTraceIdsByServiceName(args.service_name, args.end_ts, args.limit, args.order)
348
+ rescue ::Zipkin::QueryException => qe
349
+ result.qe = qe
350
+ end
351
+ write_result(result, oprot, 'getTraceIdsByServiceName', seqid)
352
+ end
353
+
354
+ def process_getTraceIdsByAnnotation(seqid, iprot, oprot)
355
+ args = read_args(iprot, GetTraceIdsByAnnotation_args)
356
+ result = GetTraceIdsByAnnotation_result.new()
357
+ begin
358
+ result.success = @handler.getTraceIdsByAnnotation(args.service_name, args.annotation, args.value, args.end_ts, args.limit, args.order)
359
+ rescue ::Zipkin::QueryException => qe
360
+ result.qe = qe
361
+ end
362
+ write_result(result, oprot, 'getTraceIdsByAnnotation', seqid)
363
+ end
364
+
365
+ def process_tracesExist(seqid, iprot, oprot)
366
+ args = read_args(iprot, TracesExist_args)
367
+ result = TracesExist_result.new()
368
+ begin
369
+ result.success = @handler.tracesExist(args.trace_ids)
370
+ rescue ::Zipkin::QueryException => qe
371
+ result.qe = qe
372
+ end
373
+ write_result(result, oprot, 'tracesExist', seqid)
374
+ end
375
+
376
+ def process_getTracesByIds(seqid, iprot, oprot)
377
+ args = read_args(iprot, GetTracesByIds_args)
378
+ result = GetTracesByIds_result.new()
379
+ begin
380
+ result.success = @handler.getTracesByIds(args.trace_ids, args.adjust)
381
+ rescue ::Zipkin::QueryException => qe
382
+ result.qe = qe
383
+ end
384
+ write_result(result, oprot, 'getTracesByIds', seqid)
385
+ end
386
+
387
+ def process_getTraceTimelinesByIds(seqid, iprot, oprot)
388
+ args = read_args(iprot, GetTraceTimelinesByIds_args)
389
+ result = GetTraceTimelinesByIds_result.new()
390
+ begin
391
+ result.success = @handler.getTraceTimelinesByIds(args.trace_ids, args.adjust)
392
+ rescue ::Zipkin::QueryException => qe
393
+ result.qe = qe
394
+ end
395
+ write_result(result, oprot, 'getTraceTimelinesByIds', seqid)
396
+ end
397
+
398
+ def process_getTraceSummariesByIds(seqid, iprot, oprot)
399
+ args = read_args(iprot, GetTraceSummariesByIds_args)
400
+ result = GetTraceSummariesByIds_result.new()
401
+ begin
402
+ result.success = @handler.getTraceSummariesByIds(args.trace_ids, args.adjust)
403
+ rescue ::Zipkin::QueryException => qe
404
+ result.qe = qe
405
+ end
406
+ write_result(result, oprot, 'getTraceSummariesByIds', seqid)
407
+ end
408
+
409
+ def process_getTraceCombosByIds(seqid, iprot, oprot)
410
+ args = read_args(iprot, GetTraceCombosByIds_args)
411
+ result = GetTraceCombosByIds_result.new()
412
+ begin
413
+ result.success = @handler.getTraceCombosByIds(args.trace_ids, args.adjust)
414
+ rescue ::Zipkin::QueryException => qe
415
+ result.qe = qe
416
+ end
417
+ write_result(result, oprot, 'getTraceCombosByIds', seqid)
418
+ end
419
+
420
+ def process_getServiceNames(seqid, iprot, oprot)
421
+ args = read_args(iprot, GetServiceNames_args)
422
+ result = GetServiceNames_result.new()
423
+ begin
424
+ result.success = @handler.getServiceNames()
425
+ rescue ::Zipkin::QueryException => qe
426
+ result.qe = qe
427
+ end
428
+ write_result(result, oprot, 'getServiceNames', seqid)
429
+ end
430
+
431
+ def process_getSpanNames(seqid, iprot, oprot)
432
+ args = read_args(iprot, GetSpanNames_args)
433
+ result = GetSpanNames_result.new()
434
+ begin
435
+ result.success = @handler.getSpanNames(args.service_name)
436
+ rescue ::Zipkin::QueryException => qe
437
+ result.qe = qe
438
+ end
439
+ write_result(result, oprot, 'getSpanNames', seqid)
440
+ end
441
+
442
+ def process_setTraceTimeToLive(seqid, iprot, oprot)
443
+ args = read_args(iprot, SetTraceTimeToLive_args)
444
+ result = SetTraceTimeToLive_result.new()
445
+ begin
446
+ @handler.setTraceTimeToLive(args.trace_id, args.ttl_seconds)
447
+ rescue ::Zipkin::QueryException => qe
448
+ result.qe = qe
449
+ end
450
+ write_result(result, oprot, 'setTraceTimeToLive', seqid)
451
+ end
452
+
453
+ def process_getTraceTimeToLive(seqid, iprot, oprot)
454
+ args = read_args(iprot, GetTraceTimeToLive_args)
455
+ result = GetTraceTimeToLive_result.new()
456
+ begin
457
+ result.success = @handler.getTraceTimeToLive(args.trace_id)
458
+ rescue ::Zipkin::QueryException => qe
459
+ result.qe = qe
460
+ end
461
+ write_result(result, oprot, 'getTraceTimeToLive', seqid)
462
+ end
463
+
464
+ def process_getDataTimeToLive(seqid, iprot, oprot)
465
+ args = read_args(iprot, GetDataTimeToLive_args)
466
+ result = GetDataTimeToLive_result.new()
467
+ begin
468
+ result.success = @handler.getDataTimeToLive()
469
+ rescue ::Zipkin::QueryException => qe
470
+ result.qe = qe
471
+ end
472
+ write_result(result, oprot, 'getDataTimeToLive', seqid)
473
+ end
474
+
475
+ def process_getDependencies(seqid, iprot, oprot)
476
+ args = read_args(iprot, GetDependencies_args)
477
+ result = GetDependencies_result.new()
478
+ begin
479
+ result.success = @handler.getDependencies(args.start_time, args.end_time)
480
+ rescue ::Zipkin::QueryException => qe
481
+ result.qe = qe
482
+ end
483
+ write_result(result, oprot, 'getDependencies', seqid)
484
+ end
485
+
486
+ def process_getTopAnnotations(seqid, iprot, oprot)
487
+ args = read_args(iprot, GetTopAnnotations_args)
488
+ result = GetTopAnnotations_result.new()
489
+ begin
490
+ result.success = @handler.getTopAnnotations(args.service_name)
491
+ rescue ::Zipkin::QueryException => qe
492
+ result.qe = qe
493
+ end
494
+ write_result(result, oprot, 'getTopAnnotations', seqid)
495
+ end
496
+
497
+ def process_getTopKeyValueAnnotations(seqid, iprot, oprot)
498
+ args = read_args(iprot, GetTopKeyValueAnnotations_args)
499
+ result = GetTopKeyValueAnnotations_result.new()
500
+ begin
501
+ result.success = @handler.getTopKeyValueAnnotations(args.service_name)
502
+ rescue ::Zipkin::QueryException => qe
503
+ result.qe = qe
504
+ end
505
+ write_result(result, oprot, 'getTopKeyValueAnnotations', seqid)
506
+ end
507
+
508
+ def process_getSpanDurations(seqid, iprot, oprot)
509
+ args = read_args(iprot, GetSpanDurations_args)
510
+ result = GetSpanDurations_result.new()
511
+ result.success = @handler.getSpanDurations(args.time_stamp, args.service_name, args.rpc_name)
512
+ write_result(result, oprot, 'getSpanDurations', seqid)
513
+ end
514
+
515
+ def process_getServiceNamesToTraceIds(seqid, iprot, oprot)
516
+ args = read_args(iprot, GetServiceNamesToTraceIds_args)
517
+ result = GetServiceNamesToTraceIds_result.new()
518
+ result.success = @handler.getServiceNamesToTraceIds(args.time_stamp, args.service_name, args.rpc_name)
519
+ write_result(result, oprot, 'getServiceNamesToTraceIds', seqid)
520
+ end
521
+
522
+ end
523
+
524
+ # HELPER FUNCTIONS AND STRUCTURES
525
+
526
+ class GetTraceIds_args
527
+ include ::Thrift::Struct, ::Thrift::Struct_Union
528
+ REQUEST = 1
529
+
530
+ FIELDS = {
531
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::Zipkin::QueryRequest}
532
+ }
533
+
534
+ def struct_fields; FIELDS; end
535
+
536
+ def validate
537
+ end
538
+
539
+ ::Thrift::Struct.generate_accessors self
540
+ end
541
+
542
+ class GetTraceIds_result
543
+ include ::Thrift::Struct, ::Thrift::Struct_Union
544
+ SUCCESS = 0
545
+ QE = 1
546
+
547
+ FIELDS = {
548
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Zipkin::QueryResponse},
549
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
550
+ }
551
+
552
+ def struct_fields; FIELDS; end
553
+
554
+ def validate
555
+ end
556
+
557
+ ::Thrift::Struct.generate_accessors self
558
+ end
559
+
560
+ class GetTraceIdsBySpanName_args
561
+ include ::Thrift::Struct, ::Thrift::Struct_Union
562
+ SERVICE_NAME = 1
563
+ SPAN_NAME = 2
564
+ END_TS = 4
565
+ LIMIT = 5
566
+ ORDER = 6
567
+
568
+ FIELDS = {
569
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
570
+ SPAN_NAME => {:type => ::Thrift::Types::STRING, :name => 'span_name'},
571
+ END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
572
+ LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
573
+ ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
574
+ }
575
+
576
+ def struct_fields; FIELDS; end
577
+
578
+ def validate
579
+ unless @order.nil? || ::Zipkin::Order::VALID_VALUES.include?(@order)
580
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field order!')
581
+ end
582
+ end
583
+
584
+ ::Thrift::Struct.generate_accessors self
585
+ end
586
+
587
+ class GetTraceIdsBySpanName_result
588
+ include ::Thrift::Struct, ::Thrift::Struct_Union
589
+ SUCCESS = 0
590
+ QE = 1
591
+
592
+ FIELDS = {
593
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::I64}},
594
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
595
+ }
596
+
597
+ def struct_fields; FIELDS; end
598
+
599
+ def validate
600
+ end
601
+
602
+ ::Thrift::Struct.generate_accessors self
603
+ end
604
+
605
+ class GetTraceIdsByServiceName_args
606
+ include ::Thrift::Struct, ::Thrift::Struct_Union
607
+ SERVICE_NAME = 1
608
+ END_TS = 3
609
+ LIMIT = 4
610
+ ORDER = 5
611
+
612
+ FIELDS = {
613
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
614
+ END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
615
+ LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
616
+ ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
617
+ }
618
+
619
+ def struct_fields; FIELDS; end
620
+
621
+ def validate
622
+ unless @order.nil? || ::Zipkin::Order::VALID_VALUES.include?(@order)
623
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field order!')
624
+ end
625
+ end
626
+
627
+ ::Thrift::Struct.generate_accessors self
628
+ end
629
+
630
+ class GetTraceIdsByServiceName_result
631
+ include ::Thrift::Struct, ::Thrift::Struct_Union
632
+ SUCCESS = 0
633
+ QE = 1
634
+
635
+ FIELDS = {
636
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::I64}},
637
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
638
+ }
639
+
640
+ def struct_fields; FIELDS; end
641
+
642
+ def validate
643
+ end
644
+
645
+ ::Thrift::Struct.generate_accessors self
646
+ end
647
+
648
+ class GetTraceIdsByAnnotation_args
649
+ include ::Thrift::Struct, ::Thrift::Struct_Union
650
+ SERVICE_NAME = 1
651
+ ANNOTATION = 2
652
+ VALUE = 3
653
+ END_TS = 5
654
+ LIMIT = 6
655
+ ORDER = 7
656
+
657
+ FIELDS = {
658
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
659
+ ANNOTATION => {:type => ::Thrift::Types::STRING, :name => 'annotation'},
660
+ VALUE => {:type => ::Thrift::Types::STRING, :name => 'value', :binary => true},
661
+ END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
662
+ LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
663
+ ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
664
+ }
665
+
666
+ def struct_fields; FIELDS; end
667
+
668
+ def validate
669
+ unless @order.nil? || ::Zipkin::Order::VALID_VALUES.include?(@order)
670
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field order!')
671
+ end
672
+ end
673
+
674
+ ::Thrift::Struct.generate_accessors self
675
+ end
676
+
677
+ class GetTraceIdsByAnnotation_result
678
+ include ::Thrift::Struct, ::Thrift::Struct_Union
679
+ SUCCESS = 0
680
+ QE = 1
681
+
682
+ FIELDS = {
683
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::I64}},
684
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
685
+ }
686
+
687
+ def struct_fields; FIELDS; end
688
+
689
+ def validate
690
+ end
691
+
692
+ ::Thrift::Struct.generate_accessors self
693
+ end
694
+
695
+ class TracesExist_args
696
+ include ::Thrift::Struct, ::Thrift::Struct_Union
697
+ TRACE_IDS = 1
698
+
699
+ FIELDS = {
700
+ TRACE_IDS => {:type => ::Thrift::Types::LIST, :name => 'trace_ids', :element => {:type => ::Thrift::Types::I64}}
701
+ }
702
+
703
+ def struct_fields; FIELDS; end
704
+
705
+ def validate
706
+ end
707
+
708
+ ::Thrift::Struct.generate_accessors self
709
+ end
710
+
711
+ class TracesExist_result
712
+ include ::Thrift::Struct, ::Thrift::Struct_Union
713
+ SUCCESS = 0
714
+ QE = 1
715
+
716
+ FIELDS = {
717
+ SUCCESS => {:type => ::Thrift::Types::SET, :name => 'success', :element => {:type => ::Thrift::Types::I64}},
718
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
719
+ }
720
+
721
+ def struct_fields; FIELDS; end
722
+
723
+ def validate
724
+ end
725
+
726
+ ::Thrift::Struct.generate_accessors self
727
+ end
728
+
729
+ class GetTracesByIds_args
730
+ include ::Thrift::Struct, ::Thrift::Struct_Union
731
+ TRACE_IDS = 1
732
+ ADJUST = 2
733
+
734
+ FIELDS = {
735
+ TRACE_IDS => {:type => ::Thrift::Types::LIST, :name => 'trace_ids', :element => {:type => ::Thrift::Types::I64}},
736
+ ADJUST => {:type => ::Thrift::Types::LIST, :name => 'adjust', :element => {:type => ::Thrift::Types::I32, :enum_class => ::Zipkin::Adjust}}
737
+ }
738
+
739
+ def struct_fields; FIELDS; end
740
+
741
+ def validate
742
+ end
743
+
744
+ ::Thrift::Struct.generate_accessors self
745
+ end
746
+
747
+ class GetTracesByIds_result
748
+ include ::Thrift::Struct, ::Thrift::Struct_Union
749
+ SUCCESS = 0
750
+ QE = 1
751
+
752
+ FIELDS = {
753
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::Trace}},
754
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
755
+ }
756
+
757
+ def struct_fields; FIELDS; end
758
+
759
+ def validate
760
+ end
761
+
762
+ ::Thrift::Struct.generate_accessors self
763
+ end
764
+
765
+ class GetTraceTimelinesByIds_args
766
+ include ::Thrift::Struct, ::Thrift::Struct_Union
767
+ TRACE_IDS = 1
768
+ ADJUST = 2
769
+
770
+ FIELDS = {
771
+ TRACE_IDS => {:type => ::Thrift::Types::LIST, :name => 'trace_ids', :element => {:type => ::Thrift::Types::I64}},
772
+ ADJUST => {:type => ::Thrift::Types::LIST, :name => 'adjust', :element => {:type => ::Thrift::Types::I32, :enum_class => ::Zipkin::Adjust}}
773
+ }
774
+
775
+ def struct_fields; FIELDS; end
776
+
777
+ def validate
778
+ end
779
+
780
+ ::Thrift::Struct.generate_accessors self
781
+ end
782
+
783
+ class GetTraceTimelinesByIds_result
784
+ include ::Thrift::Struct, ::Thrift::Struct_Union
785
+ SUCCESS = 0
786
+ QE = 1
787
+
788
+ FIELDS = {
789
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::TraceTimeline}},
790
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
791
+ }
792
+
793
+ def struct_fields; FIELDS; end
794
+
795
+ def validate
796
+ end
797
+
798
+ ::Thrift::Struct.generate_accessors self
799
+ end
800
+
801
+ class GetTraceSummariesByIds_args
802
+ include ::Thrift::Struct, ::Thrift::Struct_Union
803
+ TRACE_IDS = 1
804
+ ADJUST = 2
805
+
806
+ FIELDS = {
807
+ TRACE_IDS => {:type => ::Thrift::Types::LIST, :name => 'trace_ids', :element => {:type => ::Thrift::Types::I64}},
808
+ ADJUST => {:type => ::Thrift::Types::LIST, :name => 'adjust', :element => {:type => ::Thrift::Types::I32, :enum_class => ::Zipkin::Adjust}}
809
+ }
810
+
811
+ def struct_fields; FIELDS; end
812
+
813
+ def validate
814
+ end
815
+
816
+ ::Thrift::Struct.generate_accessors self
817
+ end
818
+
819
+ class GetTraceSummariesByIds_result
820
+ include ::Thrift::Struct, ::Thrift::Struct_Union
821
+ SUCCESS = 0
822
+ QE = 1
823
+
824
+ FIELDS = {
825
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::TraceSummary}},
826
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
827
+ }
828
+
829
+ def struct_fields; FIELDS; end
830
+
831
+ def validate
832
+ end
833
+
834
+ ::Thrift::Struct.generate_accessors self
835
+ end
836
+
837
+ class GetTraceCombosByIds_args
838
+ include ::Thrift::Struct, ::Thrift::Struct_Union
839
+ TRACE_IDS = 1
840
+ ADJUST = 2
841
+
842
+ FIELDS = {
843
+ TRACE_IDS => {:type => ::Thrift::Types::LIST, :name => 'trace_ids', :element => {:type => ::Thrift::Types::I64}},
844
+ ADJUST => {:type => ::Thrift::Types::LIST, :name => 'adjust', :element => {:type => ::Thrift::Types::I32, :enum_class => ::Zipkin::Adjust}}
845
+ }
846
+
847
+ def struct_fields; FIELDS; end
848
+
849
+ def validate
850
+ end
851
+
852
+ ::Thrift::Struct.generate_accessors self
853
+ end
854
+
855
+ class GetTraceCombosByIds_result
856
+ include ::Thrift::Struct, ::Thrift::Struct_Union
857
+ SUCCESS = 0
858
+ QE = 1
859
+
860
+ FIELDS = {
861
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::TraceCombo}},
862
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
863
+ }
864
+
865
+ def struct_fields; FIELDS; end
866
+
867
+ def validate
868
+ end
869
+
870
+ ::Thrift::Struct.generate_accessors self
871
+ end
872
+
873
+ class GetServiceNames_args
874
+ include ::Thrift::Struct, ::Thrift::Struct_Union
875
+
876
+ FIELDS = {
877
+
878
+ }
879
+
880
+ def struct_fields; FIELDS; end
881
+
882
+ def validate
883
+ end
884
+
885
+ ::Thrift::Struct.generate_accessors self
886
+ end
887
+
888
+ class GetServiceNames_result
889
+ include ::Thrift::Struct, ::Thrift::Struct_Union
890
+ SUCCESS = 0
891
+ QE = 1
892
+
893
+ FIELDS = {
894
+ SUCCESS => {:type => ::Thrift::Types::SET, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
895
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
896
+ }
897
+
898
+ def struct_fields; FIELDS; end
899
+
900
+ def validate
901
+ end
902
+
903
+ ::Thrift::Struct.generate_accessors self
904
+ end
905
+
906
+ class GetSpanNames_args
907
+ include ::Thrift::Struct, ::Thrift::Struct_Union
908
+ SERVICE_NAME = 1
909
+
910
+ FIELDS = {
911
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'}
912
+ }
913
+
914
+ def struct_fields; FIELDS; end
915
+
916
+ def validate
917
+ end
918
+
919
+ ::Thrift::Struct.generate_accessors self
920
+ end
921
+
922
+ class GetSpanNames_result
923
+ include ::Thrift::Struct, ::Thrift::Struct_Union
924
+ SUCCESS = 0
925
+ QE = 1
926
+
927
+ FIELDS = {
928
+ SUCCESS => {:type => ::Thrift::Types::SET, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
929
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
930
+ }
931
+
932
+ def struct_fields; FIELDS; end
933
+
934
+ def validate
935
+ end
936
+
937
+ ::Thrift::Struct.generate_accessors self
938
+ end
939
+
940
+ class SetTraceTimeToLive_args
941
+ include ::Thrift::Struct, ::Thrift::Struct_Union
942
+ TRACE_ID = 1
943
+ TTL_SECONDS = 2
944
+
945
+ FIELDS = {
946
+ TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'},
947
+ TTL_SECONDS => {:type => ::Thrift::Types::I32, :name => 'ttl_seconds'}
948
+ }
949
+
950
+ def struct_fields; FIELDS; end
951
+
952
+ def validate
953
+ end
954
+
955
+ ::Thrift::Struct.generate_accessors self
956
+ end
957
+
958
+ class SetTraceTimeToLive_result
959
+ include ::Thrift::Struct, ::Thrift::Struct_Union
960
+ QE = 1
961
+
962
+ FIELDS = {
963
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
964
+ }
965
+
966
+ def struct_fields; FIELDS; end
967
+
968
+ def validate
969
+ end
970
+
971
+ ::Thrift::Struct.generate_accessors self
972
+ end
973
+
974
+ class GetTraceTimeToLive_args
975
+ include ::Thrift::Struct, ::Thrift::Struct_Union
976
+ TRACE_ID = 1
977
+
978
+ FIELDS = {
979
+ TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'}
980
+ }
981
+
982
+ def struct_fields; FIELDS; end
983
+
984
+ def validate
985
+ end
986
+
987
+ ::Thrift::Struct.generate_accessors self
988
+ end
989
+
990
+ class GetTraceTimeToLive_result
991
+ include ::Thrift::Struct, ::Thrift::Struct_Union
992
+ SUCCESS = 0
993
+ QE = 1
994
+
995
+ FIELDS = {
996
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
997
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
998
+ }
999
+
1000
+ def struct_fields; FIELDS; end
1001
+
1002
+ def validate
1003
+ end
1004
+
1005
+ ::Thrift::Struct.generate_accessors self
1006
+ end
1007
+
1008
+ class GetDataTimeToLive_args
1009
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1010
+
1011
+ FIELDS = {
1012
+
1013
+ }
1014
+
1015
+ def struct_fields; FIELDS; end
1016
+
1017
+ def validate
1018
+ end
1019
+
1020
+ ::Thrift::Struct.generate_accessors self
1021
+ end
1022
+
1023
+ class GetDataTimeToLive_result
1024
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1025
+ SUCCESS = 0
1026
+ QE = 1
1027
+
1028
+ FIELDS = {
1029
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
1030
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
1031
+ }
1032
+
1033
+ def struct_fields; FIELDS; end
1034
+
1035
+ def validate
1036
+ end
1037
+
1038
+ ::Thrift::Struct.generate_accessors self
1039
+ end
1040
+
1041
+ class GetDependencies_args
1042
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1043
+ START_TIME = 1
1044
+ END_TIME = 2
1045
+
1046
+ FIELDS = {
1047
+ START_TIME => {:type => ::Thrift::Types::I64, :name => 'start_time'},
1048
+ END_TIME => {:type => ::Thrift::Types::I64, :name => 'end_time'}
1049
+ }
1050
+
1051
+ def struct_fields; FIELDS; end
1052
+
1053
+ def validate
1054
+ end
1055
+
1056
+ ::Thrift::Struct.generate_accessors self
1057
+ end
1058
+
1059
+ class GetDependencies_result
1060
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1061
+ SUCCESS = 0
1062
+ QE = 1
1063
+
1064
+ FIELDS = {
1065
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Zipkin::Dependencies},
1066
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
1067
+ }
1068
+
1069
+ def struct_fields; FIELDS; end
1070
+
1071
+ def validate
1072
+ end
1073
+
1074
+ ::Thrift::Struct.generate_accessors self
1075
+ end
1076
+
1077
+ class GetTopAnnotations_args
1078
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1079
+ SERVICE_NAME = 1
1080
+
1081
+ FIELDS = {
1082
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'}
1083
+ }
1084
+
1085
+ def struct_fields; FIELDS; end
1086
+
1087
+ def validate
1088
+ end
1089
+
1090
+ ::Thrift::Struct.generate_accessors self
1091
+ end
1092
+
1093
+ class GetTopAnnotations_result
1094
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1095
+ SUCCESS = 0
1096
+ QE = 1
1097
+
1098
+ FIELDS = {
1099
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
1100
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
1101
+ }
1102
+
1103
+ def struct_fields; FIELDS; end
1104
+
1105
+ def validate
1106
+ end
1107
+
1108
+ ::Thrift::Struct.generate_accessors self
1109
+ end
1110
+
1111
+ class GetTopKeyValueAnnotations_args
1112
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1113
+ SERVICE_NAME = 1
1114
+
1115
+ FIELDS = {
1116
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'}
1117
+ }
1118
+
1119
+ def struct_fields; FIELDS; end
1120
+
1121
+ def validate
1122
+ end
1123
+
1124
+ ::Thrift::Struct.generate_accessors self
1125
+ end
1126
+
1127
+ class GetTopKeyValueAnnotations_result
1128
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1129
+ SUCCESS = 0
1130
+ QE = 1
1131
+
1132
+ FIELDS = {
1133
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
1134
+ QE => {:type => ::Thrift::Types::STRUCT, :name => 'qe', :class => ::Zipkin::QueryException}
1135
+ }
1136
+
1137
+ def struct_fields; FIELDS; end
1138
+
1139
+ def validate
1140
+ end
1141
+
1142
+ ::Thrift::Struct.generate_accessors self
1143
+ end
1144
+
1145
+ class GetSpanDurations_args
1146
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1147
+ TIME_STAMP = 1
1148
+ SERVICE_NAME = 2
1149
+ RPC_NAME = 3
1150
+
1151
+ FIELDS = {
1152
+ TIME_STAMP => {:type => ::Thrift::Types::I64, :name => 'time_stamp'},
1153
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
1154
+ RPC_NAME => {:type => ::Thrift::Types::STRING, :name => 'rpc_name'}
1155
+ }
1156
+
1157
+ def struct_fields; FIELDS; end
1158
+
1159
+ def validate
1160
+ end
1161
+
1162
+ ::Thrift::Struct.generate_accessors self
1163
+ end
1164
+
1165
+ class GetSpanDurations_result
1166
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1167
+ SUCCESS = 0
1168
+
1169
+ FIELDS = {
1170
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::I64}}}
1171
+ }
1172
+
1173
+ def struct_fields; FIELDS; end
1174
+
1175
+ def validate
1176
+ end
1177
+
1178
+ ::Thrift::Struct.generate_accessors self
1179
+ end
1180
+
1181
+ class GetServiceNamesToTraceIds_args
1182
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1183
+ TIME_STAMP = 1
1184
+ SERVICE_NAME = 2
1185
+ RPC_NAME = 3
1186
+
1187
+ FIELDS = {
1188
+ TIME_STAMP => {:type => ::Thrift::Types::I64, :name => 'time_stamp'},
1189
+ SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
1190
+ RPC_NAME => {:type => ::Thrift::Types::STRING, :name => 'rpc_name'}
1191
+ }
1192
+
1193
+ def struct_fields; FIELDS; end
1194
+
1195
+ def validate
1196
+ end
1197
+
1198
+ ::Thrift::Struct.generate_accessors self
1199
+ end
1200
+
1201
+ class GetServiceNamesToTraceIds_result
1202
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1203
+ SUCCESS = 0
1204
+
1205
+ FIELDS = {
1206
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::I64}}}
1207
+ }
1208
+
1209
+ def struct_fields; FIELDS; end
1210
+
1211
+ def validate
1212
+ end
1213
+
1214
+ ::Thrift::Struct.generate_accessors self
1215
+ end
1216
+
1217
+ end
1218
+
1219
+ end