@marleena/trb-proto 1.0.42 → 1.0.44

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.
@@ -25,6 +25,10 @@ var google_api_annotations_pb = require('../google/api/annotations_pb.js');
25
25
  goog.object.extend(proto, google_api_annotations_pb);
26
26
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
27
  goog.object.extend(proto, google_protobuf_timestamp_pb);
28
+ var indicators_params_pb = require('../indicators/params_pb.js');
29
+ goog.object.extend(proto, indicators_params_pb);
30
+ var indicators_values_pb = require('../indicators/values_pb.js');
31
+ goog.object.extend(proto, indicators_values_pb);
28
32
  goog.exportSymbol('proto.trb.indicators.v1.Candle', null, global);
29
33
  goog.exportSymbol('proto.trb.indicators.v1.ComputeForInstrumentRequest', null, global);
30
34
  goog.exportSymbol('proto.trb.indicators.v1.ComputeRequest', null, global);
@@ -34,13 +38,10 @@ goog.exportSymbol('proto.trb.indicators.v1.IndicatorPoint', null, global);
34
38
  goog.exportSymbol('proto.trb.indicators.v1.IndicatorType', null, global);
35
39
  goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesRequest', null, global);
36
40
  goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesResponse', null, global);
37
- goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsRequest', null, global);
38
- goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsResponse', null, global);
39
41
  goog.exportSymbol('proto.trb.indicators.v1.ListSupportedRequest', null, global);
40
42
  goog.exportSymbol('proto.trb.indicators.v1.ListSupportedResponse', null, global);
41
- goog.exportSymbol('proto.trb.indicators.v1.SchedulerTarget', null, global);
42
- goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsRequest', null, global);
43
- goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsResponse', null, global);
43
+ goog.exportSymbol('proto.trb.indicators.v1.SettingsHashResponse', null, global);
44
+ goog.exportSymbol('proto.trb.indicators.v1.SettingsRequest', null, global);
44
45
  /**
45
46
  * Generated by JsPbCodeGenerator.
46
47
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -51,58 +52,16 @@ goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsResponse', null,
51
52
  * @extends {jspb.Message}
52
53
  * @constructor
53
54
  */
54
- proto.trb.indicators.v1.Candle = function(opt_data) {
55
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
56
- };
57
- goog.inherits(proto.trb.indicators.v1.Candle, jspb.Message);
58
- if (goog.DEBUG && !COMPILED) {
59
- /**
60
- * @public
61
- * @override
62
- */
63
- proto.trb.indicators.v1.Candle.displayName = 'proto.trb.indicators.v1.Candle';
64
- }
65
- /**
66
- * Generated by JsPbCodeGenerator.
67
- * @param {Array=} opt_data Optional initial data array, typically from a
68
- * server response, or constructed directly in Javascript. The array is used
69
- * in place and becomes part of the constructed object. It is not cloned.
70
- * If no data is provided, the constructed object will be empty, but still
71
- * valid.
72
- * @extends {jspb.Message}
73
- * @constructor
74
- */
75
- proto.trb.indicators.v1.ComputeRequest = function(opt_data) {
76
- jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ComputeRequest.repeatedFields_, null);
77
- };
78
- goog.inherits(proto.trb.indicators.v1.ComputeRequest, jspb.Message);
79
- if (goog.DEBUG && !COMPILED) {
80
- /**
81
- * @public
82
- * @override
83
- */
84
- proto.trb.indicators.v1.ComputeRequest.displayName = 'proto.trb.indicators.v1.ComputeRequest';
85
- }
86
- /**
87
- * Generated by JsPbCodeGenerator.
88
- * @param {Array=} opt_data Optional initial data array, typically from a
89
- * server response, or constructed directly in Javascript. The array is used
90
- * in place and becomes part of the constructed object. It is not cloned.
91
- * If no data is provided, the constructed object will be empty, but still
92
- * valid.
93
- * @extends {jspb.Message}
94
- * @constructor
95
- */
96
- proto.trb.indicators.v1.ComputeForInstrumentRequest = function(opt_data) {
55
+ proto.trb.indicators.v1.SettingsRequest = function(opt_data) {
97
56
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
98
57
  };
99
- goog.inherits(proto.trb.indicators.v1.ComputeForInstrumentRequest, jspb.Message);
58
+ goog.inherits(proto.trb.indicators.v1.SettingsRequest, jspb.Message);
100
59
  if (goog.DEBUG && !COMPILED) {
101
60
  /**
102
61
  * @public
103
62
  * @override
104
63
  */
105
- proto.trb.indicators.v1.ComputeForInstrumentRequest.displayName = 'proto.trb.indicators.v1.ComputeForInstrumentRequest';
64
+ proto.trb.indicators.v1.SettingsRequest.displayName = 'proto.trb.indicators.v1.SettingsRequest';
106
65
  }
107
66
  /**
108
67
  * Generated by JsPbCodeGenerator.
@@ -114,16 +73,16 @@ if (goog.DEBUG && !COMPILED) {
114
73
  * @extends {jspb.Message}
115
74
  * @constructor
116
75
  */
117
- proto.trb.indicators.v1.ListIndicatorValuesRequest = function(opt_data) {
76
+ proto.trb.indicators.v1.SettingsHashResponse = function(opt_data) {
118
77
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
119
78
  };
120
- goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesRequest, jspb.Message);
79
+ goog.inherits(proto.trb.indicators.v1.SettingsHashResponse, jspb.Message);
121
80
  if (goog.DEBUG && !COMPILED) {
122
81
  /**
123
82
  * @public
124
83
  * @override
125
84
  */
126
- proto.trb.indicators.v1.ListIndicatorValuesRequest.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesRequest';
85
+ proto.trb.indicators.v1.SettingsHashResponse.displayName = 'proto.trb.indicators.v1.SettingsHashResponse';
127
86
  }
128
87
  /**
129
88
  * Generated by JsPbCodeGenerator.
@@ -135,16 +94,16 @@ if (goog.DEBUG && !COMPILED) {
135
94
  * @extends {jspb.Message}
136
95
  * @constructor
137
96
  */
138
- proto.trb.indicators.v1.IndicatorPoint = function(opt_data) {
97
+ proto.trb.indicators.v1.Candle = function(opt_data) {
139
98
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
140
99
  };
141
- goog.inherits(proto.trb.indicators.v1.IndicatorPoint, jspb.Message);
100
+ goog.inherits(proto.trb.indicators.v1.Candle, jspb.Message);
142
101
  if (goog.DEBUG && !COMPILED) {
143
102
  /**
144
103
  * @public
145
104
  * @override
146
105
  */
147
- proto.trb.indicators.v1.IndicatorPoint.displayName = 'proto.trb.indicators.v1.IndicatorPoint';
106
+ proto.trb.indicators.v1.Candle.displayName = 'proto.trb.indicators.v1.Candle';
148
107
  }
149
108
  /**
150
109
  * Generated by JsPbCodeGenerator.
@@ -156,16 +115,16 @@ if (goog.DEBUG && !COMPILED) {
156
115
  * @extends {jspb.Message}
157
116
  * @constructor
158
117
  */
159
- proto.trb.indicators.v1.ComputeResponse = function(opt_data) {
160
- jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ComputeResponse.repeatedFields_, null);
118
+ proto.trb.indicators.v1.ComputeRequest = function(opt_data) {
119
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ComputeRequest.repeatedFields_, null);
161
120
  };
162
- goog.inherits(proto.trb.indicators.v1.ComputeResponse, jspb.Message);
121
+ goog.inherits(proto.trb.indicators.v1.ComputeRequest, jspb.Message);
163
122
  if (goog.DEBUG && !COMPILED) {
164
123
  /**
165
124
  * @public
166
125
  * @override
167
126
  */
168
- proto.trb.indicators.v1.ComputeResponse.displayName = 'proto.trb.indicators.v1.ComputeResponse';
127
+ proto.trb.indicators.v1.ComputeRequest.displayName = 'proto.trb.indicators.v1.ComputeRequest';
169
128
  }
170
129
  /**
171
130
  * Generated by JsPbCodeGenerator.
@@ -177,16 +136,16 @@ if (goog.DEBUG && !COMPILED) {
177
136
  * @extends {jspb.Message}
178
137
  * @constructor
179
138
  */
180
- proto.trb.indicators.v1.ListIndicatorValuesResponse = function(opt_data) {
181
- jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_, null);
139
+ proto.trb.indicators.v1.ComputeForInstrumentRequest = function(opt_data) {
140
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
182
141
  };
183
- goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesResponse, jspb.Message);
142
+ goog.inherits(proto.trb.indicators.v1.ComputeForInstrumentRequest, jspb.Message);
184
143
  if (goog.DEBUG && !COMPILED) {
185
144
  /**
186
145
  * @public
187
146
  * @override
188
147
  */
189
- proto.trb.indicators.v1.ListIndicatorValuesResponse.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesResponse';
148
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.displayName = 'proto.trb.indicators.v1.ComputeForInstrumentRequest';
190
149
  }
191
150
  /**
192
151
  * Generated by JsPbCodeGenerator.
@@ -198,16 +157,16 @@ if (goog.DEBUG && !COMPILED) {
198
157
  * @extends {jspb.Message}
199
158
  * @constructor
200
159
  */
201
- proto.trb.indicators.v1.IndicatorInfo = function(opt_data) {
160
+ proto.trb.indicators.v1.ListIndicatorValuesRequest = function(opt_data) {
202
161
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
203
162
  };
204
- goog.inherits(proto.trb.indicators.v1.IndicatorInfo, jspb.Message);
163
+ goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesRequest, jspb.Message);
205
164
  if (goog.DEBUG && !COMPILED) {
206
165
  /**
207
166
  * @public
208
167
  * @override
209
168
  */
210
- proto.trb.indicators.v1.IndicatorInfo.displayName = 'proto.trb.indicators.v1.IndicatorInfo';
169
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesRequest';
211
170
  }
212
171
  /**
213
172
  * Generated by JsPbCodeGenerator.
@@ -219,16 +178,16 @@ if (goog.DEBUG && !COMPILED) {
219
178
  * @extends {jspb.Message}
220
179
  * @constructor
221
180
  */
222
- proto.trb.indicators.v1.ListSupportedRequest = function(opt_data) {
181
+ proto.trb.indicators.v1.IndicatorPoint = function(opt_data) {
223
182
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
224
183
  };
225
- goog.inherits(proto.trb.indicators.v1.ListSupportedRequest, jspb.Message);
184
+ goog.inherits(proto.trb.indicators.v1.IndicatorPoint, jspb.Message);
226
185
  if (goog.DEBUG && !COMPILED) {
227
186
  /**
228
187
  * @public
229
188
  * @override
230
189
  */
231
- proto.trb.indicators.v1.ListSupportedRequest.displayName = 'proto.trb.indicators.v1.ListSupportedRequest';
190
+ proto.trb.indicators.v1.IndicatorPoint.displayName = 'proto.trb.indicators.v1.IndicatorPoint';
232
191
  }
233
192
  /**
234
193
  * Generated by JsPbCodeGenerator.
@@ -240,16 +199,16 @@ if (goog.DEBUG && !COMPILED) {
240
199
  * @extends {jspb.Message}
241
200
  * @constructor
242
201
  */
243
- proto.trb.indicators.v1.ListSupportedResponse = function(opt_data) {
244
- jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_, null);
202
+ proto.trb.indicators.v1.ComputeResponse = function(opt_data) {
203
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ComputeResponse.repeatedFields_, null);
245
204
  };
246
- goog.inherits(proto.trb.indicators.v1.ListSupportedResponse, jspb.Message);
205
+ goog.inherits(proto.trb.indicators.v1.ComputeResponse, jspb.Message);
247
206
  if (goog.DEBUG && !COMPILED) {
248
207
  /**
249
208
  * @public
250
209
  * @override
251
210
  */
252
- proto.trb.indicators.v1.ListSupportedResponse.displayName = 'proto.trb.indicators.v1.ListSupportedResponse';
211
+ proto.trb.indicators.v1.ComputeResponse.displayName = 'proto.trb.indicators.v1.ComputeResponse';
253
212
  }
254
213
  /**
255
214
  * Generated by JsPbCodeGenerator.
@@ -261,16 +220,16 @@ if (goog.DEBUG && !COMPILED) {
261
220
  * @extends {jspb.Message}
262
221
  * @constructor
263
222
  */
264
- proto.trb.indicators.v1.SchedulerTarget = function(opt_data) {
265
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
223
+ proto.trb.indicators.v1.ListIndicatorValuesResponse = function(opt_data) {
224
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_, null);
266
225
  };
267
- goog.inherits(proto.trb.indicators.v1.SchedulerTarget, jspb.Message);
226
+ goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesResponse, jspb.Message);
268
227
  if (goog.DEBUG && !COMPILED) {
269
228
  /**
270
229
  * @public
271
230
  * @override
272
231
  */
273
- proto.trb.indicators.v1.SchedulerTarget.displayName = 'proto.trb.indicators.v1.SchedulerTarget';
232
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesResponse';
274
233
  }
275
234
  /**
276
235
  * Generated by JsPbCodeGenerator.
@@ -282,37 +241,16 @@ if (goog.DEBUG && !COMPILED) {
282
241
  * @extends {jspb.Message}
283
242
  * @constructor
284
243
  */
285
- proto.trb.indicators.v1.ListSchedulerTargetsRequest = function(opt_data) {
244
+ proto.trb.indicators.v1.IndicatorInfo = function(opt_data) {
286
245
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
287
246
  };
288
- goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsRequest, jspb.Message);
289
- if (goog.DEBUG && !COMPILED) {
290
- /**
291
- * @public
292
- * @override
293
- */
294
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsRequest';
295
- }
296
- /**
297
- * Generated by JsPbCodeGenerator.
298
- * @param {Array=} opt_data Optional initial data array, typically from a
299
- * server response, or constructed directly in Javascript. The array is used
300
- * in place and becomes part of the constructed object. It is not cloned.
301
- * If no data is provided, the constructed object will be empty, but still
302
- * valid.
303
- * @extends {jspb.Message}
304
- * @constructor
305
- */
306
- proto.trb.indicators.v1.ListSchedulerTargetsResponse = function(opt_data) {
307
- jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_, null);
308
- };
309
- goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsResponse, jspb.Message);
247
+ goog.inherits(proto.trb.indicators.v1.IndicatorInfo, jspb.Message);
310
248
  if (goog.DEBUG && !COMPILED) {
311
249
  /**
312
250
  * @public
313
251
  * @override
314
252
  */
315
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsResponse';
253
+ proto.trb.indicators.v1.IndicatorInfo.displayName = 'proto.trb.indicators.v1.IndicatorInfo';
316
254
  }
317
255
  /**
318
256
  * Generated by JsPbCodeGenerator.
@@ -324,16 +262,16 @@ if (goog.DEBUG && !COMPILED) {
324
262
  * @extends {jspb.Message}
325
263
  * @constructor
326
264
  */
327
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest = function(opt_data) {
328
- jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_, null);
265
+ proto.trb.indicators.v1.ListSupportedRequest = function(opt_data) {
266
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
329
267
  };
330
- goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsRequest, jspb.Message);
268
+ goog.inherits(proto.trb.indicators.v1.ListSupportedRequest, jspb.Message);
331
269
  if (goog.DEBUG && !COMPILED) {
332
270
  /**
333
271
  * @public
334
272
  * @override
335
273
  */
336
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsRequest';
274
+ proto.trb.indicators.v1.ListSupportedRequest.displayName = 'proto.trb.indicators.v1.ListSupportedRequest';
337
275
  }
338
276
  /**
339
277
  * Generated by JsPbCodeGenerator.
@@ -345,16 +283,16 @@ if (goog.DEBUG && !COMPILED) {
345
283
  * @extends {jspb.Message}
346
284
  * @constructor
347
285
  */
348
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse = function(opt_data) {
349
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
286
+ proto.trb.indicators.v1.ListSupportedResponse = function(opt_data) {
287
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_, null);
350
288
  };
351
- goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsResponse, jspb.Message);
289
+ goog.inherits(proto.trb.indicators.v1.ListSupportedResponse, jspb.Message);
352
290
  if (goog.DEBUG && !COMPILED) {
353
291
  /**
354
292
  * @public
355
293
  * @override
356
294
  */
357
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsResponse';
295
+ proto.trb.indicators.v1.ListSupportedResponse.displayName = 'proto.trb.indicators.v1.ListSupportedResponse';
358
296
  }
359
297
 
360
298
 
@@ -372,8 +310,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
372
310
  * http://goto/soy-param-migration
373
311
  * @return {!Object}
374
312
  */
375
- proto.trb.indicators.v1.Candle.prototype.toObject = function(opt_includeInstance) {
376
- return proto.trb.indicators.v1.Candle.toObject(opt_includeInstance, this);
313
+ proto.trb.indicators.v1.SettingsRequest.prototype.toObject = function(opt_includeInstance) {
314
+ return proto.trb.indicators.v1.SettingsRequest.toObject(opt_includeInstance, this);
377
315
  };
378
316
 
379
317
 
@@ -382,18 +320,17 @@ proto.trb.indicators.v1.Candle.prototype.toObject = function(opt_includeInstance
382
320
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
383
321
  * the JSPB instance for transitional soy proto support:
384
322
  * http://goto/soy-param-migration
385
- * @param {!proto.trb.indicators.v1.Candle} msg The msg instance to transform.
323
+ * @param {!proto.trb.indicators.v1.SettingsRequest} msg The msg instance to transform.
386
324
  * @return {!Object}
387
325
  * @suppress {unusedLocalVariables} f is only used for nested messages
388
326
  */
389
- proto.trb.indicators.v1.Candle.toObject = function(includeInstance, msg) {
327
+ proto.trb.indicators.v1.SettingsRequest.toObject = function(includeInstance, msg) {
390
328
  var f, obj = {
391
- time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
392
- open: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
393
- high: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
394
- low: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
395
- close: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
396
- volume: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
329
+ interval: jspb.Message.getFieldWithDefault(msg, 1, 0),
330
+ uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
331
+ settings: (f = msg.getSettings()) && indicators_params_pb.IndicatorSettings.toObject(includeInstance, f),
332
+ start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
333
+ end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
397
334
  };
398
335
 
399
336
  if (includeInstance) {
@@ -407,23 +344,23 @@ volume: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
407
344
  /**
408
345
  * Deserializes binary data (in protobuf wire format).
409
346
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
410
- * @return {!proto.trb.indicators.v1.Candle}
347
+ * @return {!proto.trb.indicators.v1.SettingsRequest}
411
348
  */
412
- proto.trb.indicators.v1.Candle.deserializeBinary = function(bytes) {
349
+ proto.trb.indicators.v1.SettingsRequest.deserializeBinary = function(bytes) {
413
350
  var reader = new jspb.BinaryReader(bytes);
414
- var msg = new proto.trb.indicators.v1.Candle;
415
- return proto.trb.indicators.v1.Candle.deserializeBinaryFromReader(msg, reader);
351
+ var msg = new proto.trb.indicators.v1.SettingsRequest;
352
+ return proto.trb.indicators.v1.SettingsRequest.deserializeBinaryFromReader(msg, reader);
416
353
  };
417
354
 
418
355
 
419
356
  /**
420
357
  * Deserializes binary data (in protobuf wire format) from the
421
358
  * given reader into the given message object.
422
- * @param {!proto.trb.indicators.v1.Candle} msg The message object to deserialize into.
359
+ * @param {!proto.trb.indicators.v1.SettingsRequest} msg The message object to deserialize into.
423
360
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
424
- * @return {!proto.trb.indicators.v1.Candle}
361
+ * @return {!proto.trb.indicators.v1.SettingsRequest}
425
362
  */
426
- proto.trb.indicators.v1.Candle.deserializeBinaryFromReader = function(msg, reader) {
363
+ proto.trb.indicators.v1.SettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
427
364
  while (reader.nextField()) {
428
365
  if (reader.isEndGroup()) {
429
366
  break;
@@ -431,29 +368,27 @@ proto.trb.indicators.v1.Candle.deserializeBinaryFromReader = function(msg, reade
431
368
  var field = reader.getFieldNumber();
432
369
  switch (field) {
433
370
  case 1:
434
- var value = new google_protobuf_timestamp_pb.Timestamp;
435
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
436
- msg.setTime(value);
371
+ var value = /** @type {number} */ (reader.readUint32());
372
+ msg.setInterval(value);
437
373
  break;
438
374
  case 2:
439
- var value = /** @type {number} */ (reader.readDouble());
440
- msg.setOpen(value);
375
+ var value = /** @type {string} */ (reader.readString());
376
+ msg.setUid(value);
441
377
  break;
442
378
  case 3:
443
- var value = /** @type {number} */ (reader.readDouble());
444
- msg.setHigh(value);
379
+ var value = new indicators_params_pb.IndicatorSettings;
380
+ reader.readMessage(value,indicators_params_pb.IndicatorSettings.deserializeBinaryFromReader);
381
+ msg.setSettings(value);
445
382
  break;
446
383
  case 4:
447
- var value = /** @type {number} */ (reader.readDouble());
448
- msg.setLow(value);
384
+ var value = new google_protobuf_timestamp_pb.Timestamp;
385
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
386
+ msg.setStart(value);
449
387
  break;
450
388
  case 5:
451
- var value = /** @type {number} */ (reader.readDouble());
452
- msg.setClose(value);
453
- break;
454
- case 6:
455
- var value = /** @type {number} */ (reader.readDouble());
456
- msg.setVolume(value);
389
+ var value = new google_protobuf_timestamp_pb.Timestamp;
390
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
391
+ msg.setEnd(value);
457
392
  break;
458
393
  default:
459
394
  reader.skipField();
@@ -468,9 +403,9 @@ proto.trb.indicators.v1.Candle.deserializeBinaryFromReader = function(msg, reade
468
403
  * Serializes the message to binary data (in protobuf wire format).
469
404
  * @return {!Uint8Array}
470
405
  */
471
- proto.trb.indicators.v1.Candle.prototype.serializeBinary = function() {
406
+ proto.trb.indicators.v1.SettingsRequest.prototype.serializeBinary = function() {
472
407
  var writer = new jspb.BinaryWriter();
473
- proto.trb.indicators.v1.Candle.serializeBinaryToWriter(this, writer);
408
+ proto.trb.indicators.v1.SettingsRequest.serializeBinaryToWriter(this, writer);
474
409
  return writer.getResultBuffer();
475
410
  };
476
411
 
@@ -478,192 +413,200 @@ proto.trb.indicators.v1.Candle.prototype.serializeBinary = function() {
478
413
  /**
479
414
  * Serializes the given message to binary data (in protobuf wire
480
415
  * format), writing to the given BinaryWriter.
481
- * @param {!proto.trb.indicators.v1.Candle} message
416
+ * @param {!proto.trb.indicators.v1.SettingsRequest} message
482
417
  * @param {!jspb.BinaryWriter} writer
483
418
  * @suppress {unusedLocalVariables} f is only used for nested messages
484
419
  */
485
- proto.trb.indicators.v1.Candle.serializeBinaryToWriter = function(message, writer) {
420
+ proto.trb.indicators.v1.SettingsRequest.serializeBinaryToWriter = function(message, writer) {
486
421
  var f = undefined;
487
- f = message.getTime();
488
- if (f != null) {
489
- writer.writeMessage(
422
+ f = message.getInterval();
423
+ if (f !== 0) {
424
+ writer.writeUint32(
490
425
  1,
491
- f,
492
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
426
+ f
493
427
  );
494
428
  }
495
- f = message.getOpen();
496
- if (f !== 0.0) {
497
- writer.writeDouble(
429
+ f = message.getUid();
430
+ if (f.length > 0) {
431
+ writer.writeString(
498
432
  2,
499
433
  f
500
434
  );
501
435
  }
502
- f = message.getHigh();
503
- if (f !== 0.0) {
504
- writer.writeDouble(
436
+ f = message.getSettings();
437
+ if (f != null) {
438
+ writer.writeMessage(
505
439
  3,
506
- f
440
+ f,
441
+ indicators_params_pb.IndicatorSettings.serializeBinaryToWriter
507
442
  );
508
443
  }
509
- f = message.getLow();
510
- if (f !== 0.0) {
511
- writer.writeDouble(
444
+ f = message.getStart();
445
+ if (f != null) {
446
+ writer.writeMessage(
512
447
  4,
513
- f
448
+ f,
449
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
514
450
  );
515
451
  }
516
- f = message.getClose();
517
- if (f !== 0.0) {
518
- writer.writeDouble(
452
+ f = message.getEnd();
453
+ if (f != null) {
454
+ writer.writeMessage(
519
455
  5,
520
- f
521
- );
522
- }
523
- f = message.getVolume();
524
- if (f !== 0.0) {
525
- writer.writeDouble(
526
- 6,
527
- f
456
+ f,
457
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
528
458
  );
529
459
  }
530
460
  };
531
461
 
532
462
 
533
463
  /**
534
- * optional google.protobuf.Timestamp time = 1;
535
- * @return {?proto.google.protobuf.Timestamp}
464
+ * optional uint32 interval = 1;
465
+ * @return {number}
536
466
  */
537
- proto.trb.indicators.v1.Candle.prototype.getTime = function() {
538
- return /** @type{?proto.google.protobuf.Timestamp} */ (
539
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
467
+ proto.trb.indicators.v1.SettingsRequest.prototype.getInterval = function() {
468
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
540
469
  };
541
470
 
542
471
 
543
472
  /**
544
- * @param {?proto.google.protobuf.Timestamp|undefined} value
545
- * @return {!proto.trb.indicators.v1.Candle} returns this
546
- */
547
- proto.trb.indicators.v1.Candle.prototype.setTime = function(value) {
548
- return jspb.Message.setWrapperField(this, 1, value);
473
+ * @param {number} value
474
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
475
+ */
476
+ proto.trb.indicators.v1.SettingsRequest.prototype.setInterval = function(value) {
477
+ return jspb.Message.setProto3IntField(this, 1, value);
549
478
  };
550
479
 
551
480
 
552
481
  /**
553
- * Clears the message field making it undefined.
554
- * @return {!proto.trb.indicators.v1.Candle} returns this
482
+ * optional string uid = 2;
483
+ * @return {string}
555
484
  */
556
- proto.trb.indicators.v1.Candle.prototype.clearTime = function() {
557
- return this.setTime(undefined);
485
+ proto.trb.indicators.v1.SettingsRequest.prototype.getUid = function() {
486
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
558
487
  };
559
488
 
560
489
 
561
490
  /**
562
- * Returns whether this field is set.
563
- * @return {boolean}
491
+ * @param {string} value
492
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
564
493
  */
565
- proto.trb.indicators.v1.Candle.prototype.hasTime = function() {
566
- return jspb.Message.getField(this, 1) != null;
494
+ proto.trb.indicators.v1.SettingsRequest.prototype.setUid = function(value) {
495
+ return jspb.Message.setProto3StringField(this, 2, value);
567
496
  };
568
497
 
569
498
 
570
499
  /**
571
- * optional double open = 2;
572
- * @return {number}
500
+ * optional IndicatorSettings settings = 3;
501
+ * @return {?proto.trb.indicators.v1.IndicatorSettings}
573
502
  */
574
- proto.trb.indicators.v1.Candle.prototype.getOpen = function() {
575
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
503
+ proto.trb.indicators.v1.SettingsRequest.prototype.getSettings = function() {
504
+ return /** @type{?proto.trb.indicators.v1.IndicatorSettings} */ (
505
+ jspb.Message.getWrapperField(this, indicators_params_pb.IndicatorSettings, 3));
576
506
  };
577
507
 
578
508
 
579
509
  /**
580
- * @param {number} value
581
- * @return {!proto.trb.indicators.v1.Candle} returns this
582
- */
583
- proto.trb.indicators.v1.Candle.prototype.setOpen = function(value) {
584
- return jspb.Message.setProto3FloatField(this, 2, value);
510
+ * @param {?proto.trb.indicators.v1.IndicatorSettings|undefined} value
511
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
512
+ */
513
+ proto.trb.indicators.v1.SettingsRequest.prototype.setSettings = function(value) {
514
+ return jspb.Message.setWrapperField(this, 3, value);
585
515
  };
586
516
 
587
517
 
588
518
  /**
589
- * optional double high = 3;
590
- * @return {number}
519
+ * Clears the message field making it undefined.
520
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
591
521
  */
592
- proto.trb.indicators.v1.Candle.prototype.getHigh = function() {
593
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
522
+ proto.trb.indicators.v1.SettingsRequest.prototype.clearSettings = function() {
523
+ return this.setSettings(undefined);
594
524
  };
595
525
 
596
526
 
597
527
  /**
598
- * @param {number} value
599
- * @return {!proto.trb.indicators.v1.Candle} returns this
528
+ * Returns whether this field is set.
529
+ * @return {boolean}
600
530
  */
601
- proto.trb.indicators.v1.Candle.prototype.setHigh = function(value) {
602
- return jspb.Message.setProto3FloatField(this, 3, value);
531
+ proto.trb.indicators.v1.SettingsRequest.prototype.hasSettings = function() {
532
+ return jspb.Message.getField(this, 3) != null;
603
533
  };
604
534
 
605
535
 
606
536
  /**
607
- * optional double low = 4;
608
- * @return {number}
537
+ * optional google.protobuf.Timestamp start = 4;
538
+ * @return {?proto.google.protobuf.Timestamp}
609
539
  */
610
- proto.trb.indicators.v1.Candle.prototype.getLow = function() {
611
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
540
+ proto.trb.indicators.v1.SettingsRequest.prototype.getStart = function() {
541
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
542
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
612
543
  };
613
544
 
614
545
 
615
546
  /**
616
- * @param {number} value
617
- * @return {!proto.trb.indicators.v1.Candle} returns this
618
- */
619
- proto.trb.indicators.v1.Candle.prototype.setLow = function(value) {
620
- return jspb.Message.setProto3FloatField(this, 4, value);
547
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
548
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
549
+ */
550
+ proto.trb.indicators.v1.SettingsRequest.prototype.setStart = function(value) {
551
+ return jspb.Message.setWrapperField(this, 4, value);
621
552
  };
622
553
 
623
554
 
624
555
  /**
625
- * optional double close = 5;
626
- * @return {number}
556
+ * Clears the message field making it undefined.
557
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
627
558
  */
628
- proto.trb.indicators.v1.Candle.prototype.getClose = function() {
629
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
559
+ proto.trb.indicators.v1.SettingsRequest.prototype.clearStart = function() {
560
+ return this.setStart(undefined);
630
561
  };
631
562
 
632
563
 
633
564
  /**
634
- * @param {number} value
635
- * @return {!proto.trb.indicators.v1.Candle} returns this
565
+ * Returns whether this field is set.
566
+ * @return {boolean}
636
567
  */
637
- proto.trb.indicators.v1.Candle.prototype.setClose = function(value) {
638
- return jspb.Message.setProto3FloatField(this, 5, value);
568
+ proto.trb.indicators.v1.SettingsRequest.prototype.hasStart = function() {
569
+ return jspb.Message.getField(this, 4) != null;
639
570
  };
640
571
 
641
572
 
642
573
  /**
643
- * optional double volume = 6;
644
- * @return {number}
574
+ * optional google.protobuf.Timestamp end = 5;
575
+ * @return {?proto.google.protobuf.Timestamp}
645
576
  */
646
- proto.trb.indicators.v1.Candle.prototype.getVolume = function() {
647
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
577
+ proto.trb.indicators.v1.SettingsRequest.prototype.getEnd = function() {
578
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
579
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
648
580
  };
649
581
 
650
582
 
651
583
  /**
652
- * @param {number} value
653
- * @return {!proto.trb.indicators.v1.Candle} returns this
654
- */
655
- proto.trb.indicators.v1.Candle.prototype.setVolume = function(value) {
656
- return jspb.Message.setProto3FloatField(this, 6, value);
584
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
585
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
586
+ */
587
+ proto.trb.indicators.v1.SettingsRequest.prototype.setEnd = function(value) {
588
+ return jspb.Message.setWrapperField(this, 5, value);
657
589
  };
658
590
 
659
591
 
592
+ /**
593
+ * Clears the message field making it undefined.
594
+ * @return {!proto.trb.indicators.v1.SettingsRequest} returns this
595
+ */
596
+ proto.trb.indicators.v1.SettingsRequest.prototype.clearEnd = function() {
597
+ return this.setEnd(undefined);
598
+ };
599
+
660
600
 
661
601
  /**
662
- * List of repeated fields within this message type.
663
- * @private {!Array<number>}
664
- * @const
602
+ * Returns whether this field is set.
603
+ * @return {boolean}
665
604
  */
666
- proto.trb.indicators.v1.ComputeRequest.repeatedFields_ = [2];
605
+ proto.trb.indicators.v1.SettingsRequest.prototype.hasEnd = function() {
606
+ return jspb.Message.getField(this, 5) != null;
607
+ };
608
+
609
+
667
610
 
668
611
 
669
612
 
@@ -680,8 +623,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
680
623
  * http://goto/soy-param-migration
681
624
  * @return {!Object}
682
625
  */
683
- proto.trb.indicators.v1.ComputeRequest.prototype.toObject = function(opt_includeInstance) {
684
- return proto.trb.indicators.v1.ComputeRequest.toObject(opt_includeInstance, this);
626
+ proto.trb.indicators.v1.SettingsHashResponse.prototype.toObject = function(opt_includeInstance) {
627
+ return proto.trb.indicators.v1.SettingsHashResponse.toObject(opt_includeInstance, this);
685
628
  };
686
629
 
687
630
 
@@ -690,16 +633,13 @@ proto.trb.indicators.v1.ComputeRequest.prototype.toObject = function(opt_include
690
633
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
691
634
  * the JSPB instance for transitional soy proto support:
692
635
  * http://goto/soy-param-migration
693
- * @param {!proto.trb.indicators.v1.ComputeRequest} msg The msg instance to transform.
636
+ * @param {!proto.trb.indicators.v1.SettingsHashResponse} msg The msg instance to transform.
694
637
  * @return {!Object}
695
638
  * @suppress {unusedLocalVariables} f is only used for nested messages
696
639
  */
697
- proto.trb.indicators.v1.ComputeRequest.toObject = function(includeInstance, msg) {
640
+ proto.trb.indicators.v1.SettingsHashResponse.toObject = function(includeInstance, msg) {
698
641
  var f, obj = {
699
- type: jspb.Message.getFieldWithDefault(msg, 1, 0),
700
- candlesList: jspb.Message.toObjectList(msg.getCandlesList(),
701
- proto.trb.indicators.v1.Candle.toObject, includeInstance),
702
- paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : []
642
+ hash: jspb.Message.getFieldWithDefault(msg, 1, 0)
703
643
  };
704
644
 
705
645
  if (includeInstance) {
@@ -713,23 +653,23 @@ paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [
713
653
  /**
714
654
  * Deserializes binary data (in protobuf wire format).
715
655
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
716
- * @return {!proto.trb.indicators.v1.ComputeRequest}
656
+ * @return {!proto.trb.indicators.v1.SettingsHashResponse}
717
657
  */
718
- proto.trb.indicators.v1.ComputeRequest.deserializeBinary = function(bytes) {
658
+ proto.trb.indicators.v1.SettingsHashResponse.deserializeBinary = function(bytes) {
719
659
  var reader = new jspb.BinaryReader(bytes);
720
- var msg = new proto.trb.indicators.v1.ComputeRequest;
721
- return proto.trb.indicators.v1.ComputeRequest.deserializeBinaryFromReader(msg, reader);
660
+ var msg = new proto.trb.indicators.v1.SettingsHashResponse;
661
+ return proto.trb.indicators.v1.SettingsHashResponse.deserializeBinaryFromReader(msg, reader);
722
662
  };
723
663
 
724
664
 
725
665
  /**
726
666
  * Deserializes binary data (in protobuf wire format) from the
727
667
  * given reader into the given message object.
728
- * @param {!proto.trb.indicators.v1.ComputeRequest} msg The message object to deserialize into.
668
+ * @param {!proto.trb.indicators.v1.SettingsHashResponse} msg The message object to deserialize into.
729
669
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
730
- * @return {!proto.trb.indicators.v1.ComputeRequest}
670
+ * @return {!proto.trb.indicators.v1.SettingsHashResponse}
731
671
  */
732
- proto.trb.indicators.v1.ComputeRequest.deserializeBinaryFromReader = function(msg, reader) {
672
+ proto.trb.indicators.v1.SettingsHashResponse.deserializeBinaryFromReader = function(msg, reader) {
733
673
  while (reader.nextField()) {
734
674
  if (reader.isEndGroup()) {
735
675
  break;
@@ -737,19 +677,8 @@ proto.trb.indicators.v1.ComputeRequest.deserializeBinaryFromReader = function(ms
737
677
  var field = reader.getFieldNumber();
738
678
  switch (field) {
739
679
  case 1:
740
- var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
741
- msg.setType(value);
742
- break;
743
- case 2:
744
- var value = new proto.trb.indicators.v1.Candle;
745
- reader.readMessage(value,proto.trb.indicators.v1.Candle.deserializeBinaryFromReader);
746
- msg.addCandles(value);
747
- break;
748
- case 3:
749
- var value = msg.getParamsMap();
750
- reader.readMessage(value, function(message, reader) {
751
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
752
- });
680
+ var value = /** @type {number} */ (reader.readUint64());
681
+ msg.setHash(value);
753
682
  break;
754
683
  default:
755
684
  reader.skipField();
@@ -764,9 +693,9 @@ proto.trb.indicators.v1.ComputeRequest.deserializeBinaryFromReader = function(ms
764
693
  * Serializes the message to binary data (in protobuf wire format).
765
694
  * @return {!Uint8Array}
766
695
  */
767
- proto.trb.indicators.v1.ComputeRequest.prototype.serializeBinary = function() {
696
+ proto.trb.indicators.v1.SettingsHashResponse.prototype.serializeBinary = function() {
768
697
  var writer = new jspb.BinaryWriter();
769
- proto.trb.indicators.v1.ComputeRequest.serializeBinaryToWriter(this, writer);
698
+ proto.trb.indicators.v1.SettingsHashResponse.serializeBinaryToWriter(this, writer);
770
699
  return writer.getResultBuffer();
771
700
  };
772
701
 
@@ -774,110 +703,37 @@ proto.trb.indicators.v1.ComputeRequest.prototype.serializeBinary = function() {
774
703
  /**
775
704
  * Serializes the given message to binary data (in protobuf wire
776
705
  * format), writing to the given BinaryWriter.
777
- * @param {!proto.trb.indicators.v1.ComputeRequest} message
706
+ * @param {!proto.trb.indicators.v1.SettingsHashResponse} message
778
707
  * @param {!jspb.BinaryWriter} writer
779
708
  * @suppress {unusedLocalVariables} f is only used for nested messages
780
709
  */
781
- proto.trb.indicators.v1.ComputeRequest.serializeBinaryToWriter = function(message, writer) {
710
+ proto.trb.indicators.v1.SettingsHashResponse.serializeBinaryToWriter = function(message, writer) {
782
711
  var f = undefined;
783
- f = message.getType();
784
- if (f !== 0.0) {
785
- writer.writeEnum(
712
+ f = message.getHash();
713
+ if (f !== 0) {
714
+ writer.writeUint64(
786
715
  1,
787
716
  f
788
717
  );
789
718
  }
790
- f = message.getCandlesList();
791
- if (f.length > 0) {
792
- writer.writeRepeatedMessage(
793
- 2,
794
- f,
795
- proto.trb.indicators.v1.Candle.serializeBinaryToWriter
796
- );
797
- }
798
- f = message.getParamsMap(true);
799
- if (f && f.getLength() > 0) {
800
- f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
801
- }
802
- };
803
-
804
-
805
- /**
806
- * optional IndicatorType type = 1;
807
- * @return {!proto.trb.indicators.v1.IndicatorType}
808
- */
809
- proto.trb.indicators.v1.ComputeRequest.prototype.getType = function() {
810
- return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
811
- };
812
-
813
-
814
- /**
815
- * @param {!proto.trb.indicators.v1.IndicatorType} value
816
- * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
817
- */
818
- proto.trb.indicators.v1.ComputeRequest.prototype.setType = function(value) {
819
- return jspb.Message.setProto3EnumField(this, 1, value);
820
- };
821
-
822
-
823
- /**
824
- * repeated Candle candles = 2;
825
- * @return {!Array<!proto.trb.indicators.v1.Candle>}
826
- */
827
- proto.trb.indicators.v1.ComputeRequest.prototype.getCandlesList = function() {
828
- return /** @type{!Array<!proto.trb.indicators.v1.Candle>} */ (
829
- jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.Candle, 2));
830
- };
831
-
832
-
833
- /**
834
- * @param {!Array<!proto.trb.indicators.v1.Candle>} value
835
- * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
836
- */
837
- proto.trb.indicators.v1.ComputeRequest.prototype.setCandlesList = function(value) {
838
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
839
- };
840
-
841
-
842
- /**
843
- * @param {!proto.trb.indicators.v1.Candle=} opt_value
844
- * @param {number=} opt_index
845
- * @return {!proto.trb.indicators.v1.Candle}
846
- */
847
- proto.trb.indicators.v1.ComputeRequest.prototype.addCandles = function(opt_value, opt_index) {
848
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.trb.indicators.v1.Candle, opt_index);
849
- };
850
-
851
-
852
- /**
853
- * Clears the list making it empty but non-null.
854
- * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
855
- */
856
- proto.trb.indicators.v1.ComputeRequest.prototype.clearCandlesList = function() {
857
- return this.setCandlesList([]);
858
719
  };
859
720
 
860
721
 
861
722
  /**
862
- * map<string, double> params = 3;
863
- * @param {boolean=} opt_noLazyCreate Do not create the map if
864
- * empty, instead returning `undefined`
865
- * @return {!jspb.Map<string,number>}
723
+ * optional uint64 hash = 1;
724
+ * @return {number}
866
725
  */
867
- proto.trb.indicators.v1.ComputeRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
868
- return /** @type {!jspb.Map<string,number>} */ (
869
- jspb.Message.getMapField(this, 3, opt_noLazyCreate,
870
- null));
726
+ proto.trb.indicators.v1.SettingsHashResponse.prototype.getHash = function() {
727
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
871
728
  };
872
729
 
873
730
 
874
731
  /**
875
- * Clears values from the map. The map will be non-null.
876
- * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
732
+ * @param {number} value
733
+ * @return {!proto.trb.indicators.v1.SettingsHashResponse} returns this
877
734
  */
878
- proto.trb.indicators.v1.ComputeRequest.prototype.clearParamsMap = function() {
879
- this.getParamsMap().clear();
880
- return this;
735
+ proto.trb.indicators.v1.SettingsHashResponse.prototype.setHash = function(value) {
736
+ return jspb.Message.setProto3IntField(this, 1, value);
881
737
  };
882
738
 
883
739
 
@@ -897,8 +753,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
897
753
  * http://goto/soy-param-migration
898
754
  * @return {!Object}
899
755
  */
900
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.toObject = function(opt_includeInstance) {
901
- return proto.trb.indicators.v1.ComputeForInstrumentRequest.toObject(opt_includeInstance, this);
756
+ proto.trb.indicators.v1.Candle.prototype.toObject = function(opt_includeInstance) {
757
+ return proto.trb.indicators.v1.Candle.toObject(opt_includeInstance, this);
902
758
  };
903
759
 
904
760
 
@@ -907,20 +763,18 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.toObject = functio
907
763
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
908
764
  * the JSPB instance for transitional soy proto support:
909
765
  * http://goto/soy-param-migration
910
- * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} msg The msg instance to transform.
766
+ * @param {!proto.trb.indicators.v1.Candle} msg The msg instance to transform.
911
767
  * @return {!Object}
912
768
  * @suppress {unusedLocalVariables} f is only used for nested messages
913
769
  */
914
- proto.trb.indicators.v1.ComputeForInstrumentRequest.toObject = function(includeInstance, msg) {
770
+ proto.trb.indicators.v1.Candle.toObject = function(includeInstance, msg) {
915
771
  var f, obj = {
916
- uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
917
- interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
918
- from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
919
- to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
920
- type: jspb.Message.getFieldWithDefault(msg, 5, 0),
921
- paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
922
- persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
923
- maxResponsePoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
772
+ time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
773
+ open: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
774
+ high: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
775
+ low: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
776
+ close: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
777
+ volume: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
924
778
  };
925
779
 
926
780
  if (includeInstance) {
@@ -934,23 +788,23 @@ maxResponsePoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
934
788
  /**
935
789
  * Deserializes binary data (in protobuf wire format).
936
790
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
937
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest}
791
+ * @return {!proto.trb.indicators.v1.Candle}
938
792
  */
939
- proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinary = function(bytes) {
793
+ proto.trb.indicators.v1.Candle.deserializeBinary = function(bytes) {
940
794
  var reader = new jspb.BinaryReader(bytes);
941
- var msg = new proto.trb.indicators.v1.ComputeForInstrumentRequest;
942
- return proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader(msg, reader);
795
+ var msg = new proto.trb.indicators.v1.Candle;
796
+ return proto.trb.indicators.v1.Candle.deserializeBinaryFromReader(msg, reader);
943
797
  };
944
798
 
945
799
 
946
800
  /**
947
801
  * Deserializes binary data (in protobuf wire format) from the
948
802
  * given reader into the given message object.
949
- * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} msg The message object to deserialize into.
803
+ * @param {!proto.trb.indicators.v1.Candle} msg The message object to deserialize into.
950
804
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
951
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest}
805
+ * @return {!proto.trb.indicators.v1.Candle}
952
806
  */
953
- proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader = function(msg, reader) {
807
+ proto.trb.indicators.v1.Candle.deserializeBinaryFromReader = function(msg, reader) {
954
808
  while (reader.nextField()) {
955
809
  if (reader.isEndGroup()) {
956
810
  break;
@@ -958,40 +812,29 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader
958
812
  var field = reader.getFieldNumber();
959
813
  switch (field) {
960
814
  case 1:
961
- var value = /** @type {string} */ (reader.readString());
962
- msg.setUid(value);
815
+ var value = new google_protobuf_timestamp_pb.Timestamp;
816
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
817
+ msg.setTime(value);
963
818
  break;
964
819
  case 2:
965
- var value = /** @type {number} */ (reader.readInt32());
966
- msg.setInterval(value);
820
+ var value = /** @type {number} */ (reader.readDouble());
821
+ msg.setOpen(value);
967
822
  break;
968
823
  case 3:
969
- var value = new google_protobuf_timestamp_pb.Timestamp;
970
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
971
- msg.setFrom(value);
824
+ var value = /** @type {number} */ (reader.readDouble());
825
+ msg.setHigh(value);
972
826
  break;
973
827
  case 4:
974
- var value = new google_protobuf_timestamp_pb.Timestamp;
975
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
976
- msg.setTo(value);
828
+ var value = /** @type {number} */ (reader.readDouble());
829
+ msg.setLow(value);
977
830
  break;
978
831
  case 5:
979
- var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
980
- msg.setType(value);
832
+ var value = /** @type {number} */ (reader.readDouble());
833
+ msg.setClose(value);
981
834
  break;
982
835
  case 6:
983
- var value = msg.getParamsMap();
984
- reader.readMessage(value, function(message, reader) {
985
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
986
- });
987
- break;
988
- case 7:
989
- var value = /** @type {boolean} */ (reader.readBool());
990
- msg.setPersist(value);
991
- break;
992
- case 8:
993
- var value = /** @type {number} */ (reader.readInt32());
994
- msg.setMaxResponsePoints(value);
836
+ var value = /** @type {number} */ (reader.readDouble());
837
+ msg.setVolume(value);
995
838
  break;
996
839
  default:
997
840
  reader.skipField();
@@ -1006,9 +849,9 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader
1006
849
  * Serializes the message to binary data (in protobuf wire format).
1007
850
  * @return {!Uint8Array}
1008
851
  */
1009
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.serializeBinary = function() {
852
+ proto.trb.indicators.v1.Candle.prototype.serializeBinary = function() {
1010
853
  var writer = new jspb.BinaryWriter();
1011
- proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter(this, writer);
854
+ proto.trb.indicators.v1.Candle.serializeBinaryToWriter(this, writer);
1012
855
  return writer.getResultBuffer();
1013
856
  };
1014
857
 
@@ -1016,64 +859,52 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.serializeBinary =
1016
859
  /**
1017
860
  * Serializes the given message to binary data (in protobuf wire
1018
861
  * format), writing to the given BinaryWriter.
1019
- * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} message
862
+ * @param {!proto.trb.indicators.v1.Candle} message
1020
863
  * @param {!jspb.BinaryWriter} writer
1021
864
  * @suppress {unusedLocalVariables} f is only used for nested messages
1022
865
  */
1023
- proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = function(message, writer) {
866
+ proto.trb.indicators.v1.Candle.serializeBinaryToWriter = function(message, writer) {
1024
867
  var f = undefined;
1025
- f = message.getUid();
1026
- if (f.length > 0) {
1027
- writer.writeString(
868
+ f = message.getTime();
869
+ if (f != null) {
870
+ writer.writeMessage(
1028
871
  1,
1029
- f
872
+ f,
873
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1030
874
  );
1031
875
  }
1032
- f = message.getInterval();
1033
- if (f !== 0) {
1034
- writer.writeInt32(
876
+ f = message.getOpen();
877
+ if (f !== 0.0) {
878
+ writer.writeDouble(
1035
879
  2,
1036
880
  f
1037
881
  );
1038
882
  }
1039
- f = message.getFrom();
1040
- if (f != null) {
1041
- writer.writeMessage(
883
+ f = message.getHigh();
884
+ if (f !== 0.0) {
885
+ writer.writeDouble(
1042
886
  3,
1043
- f,
1044
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
887
+ f
1045
888
  );
1046
889
  }
1047
- f = message.getTo();
1048
- if (f != null) {
1049
- writer.writeMessage(
890
+ f = message.getLow();
891
+ if (f !== 0.0) {
892
+ writer.writeDouble(
1050
893
  4,
1051
- f,
1052
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
894
+ f
1053
895
  );
1054
896
  }
1055
- f = message.getType();
897
+ f = message.getClose();
1056
898
  if (f !== 0.0) {
1057
- writer.writeEnum(
899
+ writer.writeDouble(
1058
900
  5,
1059
901
  f
1060
902
  );
1061
903
  }
1062
- f = message.getParamsMap(true);
1063
- if (f && f.getLength() > 0) {
1064
- f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1065
- }
1066
- f = message.getPersist();
1067
- if (f) {
1068
- writer.writeBool(
1069
- 7,
1070
- f
1071
- );
1072
- }
1073
- f = /** @type {number} */ (jspb.Message.getField(message, 8));
1074
- if (f != null) {
1075
- writer.writeInt32(
1076
- 8,
904
+ f = message.getVolume();
905
+ if (f !== 0.0) {
906
+ writer.writeDouble(
907
+ 6,
1077
908
  f
1078
909
  );
1079
910
  }
@@ -1081,66 +912,30 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = fu
1081
912
 
1082
913
 
1083
914
  /**
1084
- * optional string uid = 1;
1085
- * @return {string}
1086
- */
1087
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getUid = function() {
1088
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1089
- };
1090
-
1091
-
1092
- /**
1093
- * @param {string} value
1094
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1095
- */
1096
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setUid = function(value) {
1097
- return jspb.Message.setProto3StringField(this, 1, value);
1098
- };
1099
-
1100
-
1101
- /**
1102
- * optional int32 interval = 2;
1103
- * @return {number}
1104
- */
1105
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getInterval = function() {
1106
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1107
- };
1108
-
1109
-
1110
- /**
1111
- * @param {number} value
1112
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1113
- */
1114
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setInterval = function(value) {
1115
- return jspb.Message.setProto3IntField(this, 2, value);
1116
- };
1117
-
1118
-
1119
- /**
1120
- * optional google.protobuf.Timestamp from = 3;
915
+ * optional google.protobuf.Timestamp time = 1;
1121
916
  * @return {?proto.google.protobuf.Timestamp}
1122
917
  */
1123
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getFrom = function() {
918
+ proto.trb.indicators.v1.Candle.prototype.getTime = function() {
1124
919
  return /** @type{?proto.google.protobuf.Timestamp} */ (
1125
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
920
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
1126
921
  };
1127
922
 
1128
923
 
1129
924
  /**
1130
925
  * @param {?proto.google.protobuf.Timestamp|undefined} value
1131
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
926
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1132
927
  */
1133
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setFrom = function(value) {
1134
- return jspb.Message.setWrapperField(this, 3, value);
928
+ proto.trb.indicators.v1.Candle.prototype.setTime = function(value) {
929
+ return jspb.Message.setWrapperField(this, 1, value);
1135
930
  };
1136
931
 
1137
932
 
1138
933
  /**
1139
934
  * Clears the message field making it undefined.
1140
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
935
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1141
936
  */
1142
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearFrom = function() {
1143
- return this.setFrom(undefined);
937
+ proto.trb.indicators.v1.Candle.prototype.clearTime = function() {
938
+ return this.setTime(undefined);
1144
939
  };
1145
940
 
1146
941
 
@@ -1148,143 +943,108 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearFrom = functi
1148
943
  * Returns whether this field is set.
1149
944
  * @return {boolean}
1150
945
  */
1151
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasFrom = function() {
1152
- return jspb.Message.getField(this, 3) != null;
1153
- };
1154
-
1155
-
1156
- /**
1157
- * optional google.protobuf.Timestamp to = 4;
1158
- * @return {?proto.google.protobuf.Timestamp}
1159
- */
1160
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getTo = function() {
1161
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1162
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1163
- };
1164
-
1165
-
1166
- /**
1167
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1168
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1169
- */
1170
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setTo = function(value) {
1171
- return jspb.Message.setWrapperField(this, 4, value);
946
+ proto.trb.indicators.v1.Candle.prototype.hasTime = function() {
947
+ return jspb.Message.getField(this, 1) != null;
1172
948
  };
1173
949
 
1174
950
 
1175
951
  /**
1176
- * Clears the message field making it undefined.
1177
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
952
+ * optional double open = 2;
953
+ * @return {number}
1178
954
  */
1179
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearTo = function() {
1180
- return this.setTo(undefined);
955
+ proto.trb.indicators.v1.Candle.prototype.getOpen = function() {
956
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
1181
957
  };
1182
958
 
1183
959
 
1184
960
  /**
1185
- * Returns whether this field is set.
1186
- * @return {boolean}
961
+ * @param {number} value
962
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1187
963
  */
1188
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasTo = function() {
1189
- return jspb.Message.getField(this, 4) != null;
964
+ proto.trb.indicators.v1.Candle.prototype.setOpen = function(value) {
965
+ return jspb.Message.setProto3FloatField(this, 2, value);
1190
966
  };
1191
967
 
1192
968
 
1193
969
  /**
1194
- * optional IndicatorType type = 5;
1195
- * @return {!proto.trb.indicators.v1.IndicatorType}
970
+ * optional double high = 3;
971
+ * @return {number}
1196
972
  */
1197
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getType = function() {
1198
- return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
973
+ proto.trb.indicators.v1.Candle.prototype.getHigh = function() {
974
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
1199
975
  };
1200
976
 
1201
977
 
1202
978
  /**
1203
- * @param {!proto.trb.indicators.v1.IndicatorType} value
1204
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
979
+ * @param {number} value
980
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1205
981
  */
1206
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setType = function(value) {
1207
- return jspb.Message.setProto3EnumField(this, 5, value);
982
+ proto.trb.indicators.v1.Candle.prototype.setHigh = function(value) {
983
+ return jspb.Message.setProto3FloatField(this, 3, value);
1208
984
  };
1209
985
 
1210
986
 
1211
987
  /**
1212
- * map<string, double> params = 6;
1213
- * @param {boolean=} opt_noLazyCreate Do not create the map if
1214
- * empty, instead returning `undefined`
1215
- * @return {!jspb.Map<string,number>}
988
+ * optional double low = 4;
989
+ * @return {number}
1216
990
  */
1217
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
1218
- return /** @type {!jspb.Map<string,number>} */ (
1219
- jspb.Message.getMapField(this, 6, opt_noLazyCreate,
1220
- null));
991
+ proto.trb.indicators.v1.Candle.prototype.getLow = function() {
992
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
1221
993
  };
1222
994
 
1223
995
 
1224
996
  /**
1225
- * Clears values from the map. The map will be non-null.
1226
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
997
+ * @param {number} value
998
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1227
999
  */
1228
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearParamsMap = function() {
1229
- this.getParamsMap().clear();
1230
- return this;
1000
+ proto.trb.indicators.v1.Candle.prototype.setLow = function(value) {
1001
+ return jspb.Message.setProto3FloatField(this, 4, value);
1231
1002
  };
1232
1003
 
1233
1004
 
1234
1005
  /**
1235
- * optional bool persist = 7;
1236
- * @return {boolean}
1006
+ * optional double close = 5;
1007
+ * @return {number}
1237
1008
  */
1238
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getPersist = function() {
1239
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
1009
+ proto.trb.indicators.v1.Candle.prototype.getClose = function() {
1010
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
1240
1011
  };
1241
1012
 
1242
1013
 
1243
1014
  /**
1244
- * @param {boolean} value
1245
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1015
+ * @param {number} value
1016
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1246
1017
  */
1247
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setPersist = function(value) {
1248
- return jspb.Message.setProto3BooleanField(this, 7, value);
1018
+ proto.trb.indicators.v1.Candle.prototype.setClose = function(value) {
1019
+ return jspb.Message.setProto3FloatField(this, 5, value);
1249
1020
  };
1250
1021
 
1251
1022
 
1252
1023
  /**
1253
- * optional int32 max_response_points = 8;
1024
+ * optional double volume = 6;
1254
1025
  * @return {number}
1255
1026
  */
1256
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getMaxResponsePoints = function() {
1257
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
1027
+ proto.trb.indicators.v1.Candle.prototype.getVolume = function() {
1028
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
1258
1029
  };
1259
1030
 
1260
1031
 
1261
1032
  /**
1262
1033
  * @param {number} value
1263
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1034
+ * @return {!proto.trb.indicators.v1.Candle} returns this
1264
1035
  */
1265
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setMaxResponsePoints = function(value) {
1266
- return jspb.Message.setField(this, 8, value);
1036
+ proto.trb.indicators.v1.Candle.prototype.setVolume = function(value) {
1037
+ return jspb.Message.setProto3FloatField(this, 6, value);
1267
1038
  };
1268
1039
 
1269
1040
 
1270
- /**
1271
- * Clears the field making it undefined.
1272
- * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1273
- */
1274
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearMaxResponsePoints = function() {
1275
- return jspb.Message.setField(this, 8, undefined);
1276
- };
1277
-
1278
1041
 
1279
1042
  /**
1280
- * Returns whether this field is set.
1281
- * @return {boolean}
1043
+ * List of repeated fields within this message type.
1044
+ * @private {!Array<number>}
1045
+ * @const
1282
1046
  */
1283
- proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasMaxResponsePoints = function() {
1284
- return jspb.Message.getField(this, 8) != null;
1285
- };
1286
-
1287
-
1047
+ proto.trb.indicators.v1.ComputeRequest.repeatedFields_ = [2];
1288
1048
 
1289
1049
 
1290
1050
 
@@ -1301,8 +1061,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1301
1061
  * http://goto/soy-param-migration
1302
1062
  * @return {!Object}
1303
1063
  */
1304
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.toObject = function(opt_includeInstance) {
1305
- return proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject(opt_includeInstance, this);
1064
+ proto.trb.indicators.v1.ComputeRequest.prototype.toObject = function(opt_includeInstance) {
1065
+ return proto.trb.indicators.v1.ComputeRequest.toObject(opt_includeInstance, this);
1306
1066
  };
1307
1067
 
1308
1068
 
@@ -1311,22 +1071,18 @@ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.toObject = function
1311
1071
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1312
1072
  * the JSPB instance for transitional soy proto support:
1313
1073
  * http://goto/soy-param-migration
1314
- * @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The msg instance to transform.
1074
+ * @param {!proto.trb.indicators.v1.ComputeRequest} msg The msg instance to transform.
1315
1075
  * @return {!Object}
1316
1076
  * @suppress {unusedLocalVariables} f is only used for nested messages
1317
1077
  */
1318
- proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject = function(includeInstance, msg) {
1078
+ proto.trb.indicators.v1.ComputeRequest.toObject = function(includeInstance, msg) {
1319
1079
  var f, obj = {
1320
- uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
1321
- interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
1322
- from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1323
- to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1324
- type: jspb.Message.getFieldWithDefault(msg, 5, 0),
1325
- paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
1326
- limit: jspb.Message.getFieldWithDefault(msg, 7, 0),
1327
- after: (f = msg.getAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1328
- };
1329
-
1080
+ type: jspb.Message.getFieldWithDefault(msg, 1, 0),
1081
+ candlesList: jspb.Message.toObjectList(msg.getCandlesList(),
1082
+ proto.trb.indicators.v1.Candle.toObject, includeInstance),
1083
+ paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : []
1084
+ };
1085
+
1330
1086
  if (includeInstance) {
1331
1087
  obj.$jspbMessageInstance = msg;
1332
1088
  }
@@ -1338,23 +1094,23 @@ after: (f = msg.getAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(i
1338
1094
  /**
1339
1095
  * Deserializes binary data (in protobuf wire format).
1340
1096
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1341
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
1097
+ * @return {!proto.trb.indicators.v1.ComputeRequest}
1342
1098
  */
1343
- proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinary = function(bytes) {
1099
+ proto.trb.indicators.v1.ComputeRequest.deserializeBinary = function(bytes) {
1344
1100
  var reader = new jspb.BinaryReader(bytes);
1345
- var msg = new proto.trb.indicators.v1.ListIndicatorValuesRequest;
1346
- return proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader(msg, reader);
1101
+ var msg = new proto.trb.indicators.v1.ComputeRequest;
1102
+ return proto.trb.indicators.v1.ComputeRequest.deserializeBinaryFromReader(msg, reader);
1347
1103
  };
1348
1104
 
1349
1105
 
1350
1106
  /**
1351
1107
  * Deserializes binary data (in protobuf wire format) from the
1352
1108
  * given reader into the given message object.
1353
- * @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The message object to deserialize into.
1109
+ * @param {!proto.trb.indicators.v1.ComputeRequest} msg The message object to deserialize into.
1354
1110
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1355
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
1111
+ * @return {!proto.trb.indicators.v1.ComputeRequest}
1356
1112
  */
1357
- proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader = function(msg, reader) {
1113
+ proto.trb.indicators.v1.ComputeRequest.deserializeBinaryFromReader = function(msg, reader) {
1358
1114
  while (reader.nextField()) {
1359
1115
  if (reader.isEndGroup()) {
1360
1116
  break;
@@ -1362,42 +1118,20 @@ proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader =
1362
1118
  var field = reader.getFieldNumber();
1363
1119
  switch (field) {
1364
1120
  case 1:
1365
- var value = /** @type {string} */ (reader.readString());
1366
- msg.setUid(value);
1121
+ var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
1122
+ msg.setType(value);
1367
1123
  break;
1368
1124
  case 2:
1369
- var value = /** @type {number} */ (reader.readInt32());
1370
- msg.setInterval(value);
1125
+ var value = new proto.trb.indicators.v1.Candle;
1126
+ reader.readMessage(value,proto.trb.indicators.v1.Candle.deserializeBinaryFromReader);
1127
+ msg.addCandles(value);
1371
1128
  break;
1372
1129
  case 3:
1373
- var value = new google_protobuf_timestamp_pb.Timestamp;
1374
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1375
- msg.setFrom(value);
1376
- break;
1377
- case 4:
1378
- var value = new google_protobuf_timestamp_pb.Timestamp;
1379
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1380
- msg.setTo(value);
1381
- break;
1382
- case 5:
1383
- var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
1384
- msg.setType(value);
1385
- break;
1386
- case 6:
1387
1130
  var value = msg.getParamsMap();
1388
1131
  reader.readMessage(value, function(message, reader) {
1389
1132
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
1390
1133
  });
1391
1134
  break;
1392
- case 7:
1393
- var value = /** @type {number} */ (reader.readInt32());
1394
- msg.setLimit(value);
1395
- break;
1396
- case 8:
1397
- var value = new google_protobuf_timestamp_pb.Timestamp;
1398
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1399
- msg.setAfter(value);
1400
- break;
1401
1135
  default:
1402
1136
  reader.skipField();
1403
1137
  break;
@@ -1411,9 +1145,9 @@ proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader =
1411
1145
  * Serializes the message to binary data (in protobuf wire format).
1412
1146
  * @return {!Uint8Array}
1413
1147
  */
1414
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.serializeBinary = function() {
1148
+ proto.trb.indicators.v1.ComputeRequest.prototype.serializeBinary = function() {
1415
1149
  var writer = new jspb.BinaryWriter();
1416
- proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter(this, writer);
1150
+ proto.trb.indicators.v1.ComputeRequest.serializeBinaryToWriter(this, writer);
1417
1151
  return writer.getResultBuffer();
1418
1152
  };
1419
1153
 
@@ -1421,341 +1155,183 @@ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.serializeBinary = f
1421
1155
  /**
1422
1156
  * Serializes the given message to binary data (in protobuf wire
1423
1157
  * format), writing to the given BinaryWriter.
1424
- * @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} message
1158
+ * @param {!proto.trb.indicators.v1.ComputeRequest} message
1425
1159
  * @param {!jspb.BinaryWriter} writer
1426
1160
  * @suppress {unusedLocalVariables} f is only used for nested messages
1427
1161
  */
1428
- proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter = function(message, writer) {
1162
+ proto.trb.indicators.v1.ComputeRequest.serializeBinaryToWriter = function(message, writer) {
1429
1163
  var f = undefined;
1430
- f = message.getUid();
1431
- if (f.length > 0) {
1432
- writer.writeString(
1164
+ f = message.getType();
1165
+ if (f !== 0.0) {
1166
+ writer.writeEnum(
1433
1167
  1,
1434
1168
  f
1435
1169
  );
1436
1170
  }
1437
- f = message.getInterval();
1438
- if (f !== 0) {
1439
- writer.writeInt32(
1171
+ f = message.getCandlesList();
1172
+ if (f.length > 0) {
1173
+ writer.writeRepeatedMessage(
1440
1174
  2,
1441
- f
1442
- );
1443
- }
1444
- f = message.getFrom();
1445
- if (f != null) {
1446
- writer.writeMessage(
1447
- 3,
1448
- f,
1449
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1450
- );
1451
- }
1452
- f = message.getTo();
1453
- if (f != null) {
1454
- writer.writeMessage(
1455
- 4,
1456
1175
  f,
1457
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1458
- );
1459
- }
1460
- f = message.getType();
1461
- if (f !== 0.0) {
1462
- writer.writeEnum(
1463
- 5,
1464
- f
1176
+ proto.trb.indicators.v1.Candle.serializeBinaryToWriter
1465
1177
  );
1466
1178
  }
1467
1179
  f = message.getParamsMap(true);
1468
1180
  if (f && f.getLength() > 0) {
1469
- f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1470
- }
1471
- f = message.getLimit();
1472
- if (f !== 0) {
1473
- writer.writeInt32(
1474
- 7,
1475
- f
1476
- );
1477
- }
1478
- f = message.getAfter();
1479
- if (f != null) {
1480
- writer.writeMessage(
1481
- 8,
1482
- f,
1483
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1484
- );
1181
+ f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1485
1182
  }
1486
1183
  };
1487
1184
 
1488
1185
 
1489
1186
  /**
1490
- * optional string uid = 1;
1491
- * @return {string}
1187
+ * optional IndicatorType type = 1;
1188
+ * @return {!proto.trb.indicators.v1.IndicatorType}
1492
1189
  */
1493
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getUid = function() {
1494
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1190
+ proto.trb.indicators.v1.ComputeRequest.prototype.getType = function() {
1191
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1495
1192
  };
1496
1193
 
1497
1194
 
1498
1195
  /**
1499
- * @param {string} value
1500
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1196
+ * @param {!proto.trb.indicators.v1.IndicatorType} value
1197
+ * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
1501
1198
  */
1502
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setUid = function(value) {
1503
- return jspb.Message.setProto3StringField(this, 1, value);
1199
+ proto.trb.indicators.v1.ComputeRequest.prototype.setType = function(value) {
1200
+ return jspb.Message.setProto3EnumField(this, 1, value);
1504
1201
  };
1505
1202
 
1506
1203
 
1507
1204
  /**
1508
- * optional int32 interval = 2;
1509
- * @return {number}
1205
+ * repeated Candle candles = 2;
1206
+ * @return {!Array<!proto.trb.indicators.v1.Candle>}
1510
1207
  */
1511
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getInterval = function() {
1512
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1208
+ proto.trb.indicators.v1.ComputeRequest.prototype.getCandlesList = function() {
1209
+ return /** @type{!Array<!proto.trb.indicators.v1.Candle>} */ (
1210
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.Candle, 2));
1513
1211
  };
1514
1212
 
1515
1213
 
1516
1214
  /**
1517
- * @param {number} value
1518
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1519
- */
1520
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setInterval = function(value) {
1521
- return jspb.Message.setProto3IntField(this, 2, value);
1215
+ * @param {!Array<!proto.trb.indicators.v1.Candle>} value
1216
+ * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
1217
+ */
1218
+ proto.trb.indicators.v1.ComputeRequest.prototype.setCandlesList = function(value) {
1219
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
1522
1220
  };
1523
1221
 
1524
1222
 
1525
1223
  /**
1526
- * optional google.protobuf.Timestamp from = 3;
1527
- * @return {?proto.google.protobuf.Timestamp}
1224
+ * @param {!proto.trb.indicators.v1.Candle=} opt_value
1225
+ * @param {number=} opt_index
1226
+ * @return {!proto.trb.indicators.v1.Candle}
1528
1227
  */
1529
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getFrom = function() {
1530
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1531
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
1228
+ proto.trb.indicators.v1.ComputeRequest.prototype.addCandles = function(opt_value, opt_index) {
1229
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.trb.indicators.v1.Candle, opt_index);
1532
1230
  };
1533
1231
 
1534
1232
 
1535
1233
  /**
1536
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1537
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1538
- */
1539
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setFrom = function(value) {
1540
- return jspb.Message.setWrapperField(this, 3, value);
1234
+ * Clears the list making it empty but non-null.
1235
+ * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
1236
+ */
1237
+ proto.trb.indicators.v1.ComputeRequest.prototype.clearCandlesList = function() {
1238
+ return this.setCandlesList([]);
1541
1239
  };
1542
1240
 
1543
1241
 
1544
1242
  /**
1545
- * Clears the message field making it undefined.
1546
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1243
+ * map<string, double> params = 3;
1244
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
1245
+ * empty, instead returning `undefined`
1246
+ * @return {!jspb.Map<string,number>}
1547
1247
  */
1548
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearFrom = function() {
1549
- return this.setFrom(undefined);
1248
+ proto.trb.indicators.v1.ComputeRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
1249
+ return /** @type {!jspb.Map<string,number>} */ (
1250
+ jspb.Message.getMapField(this, 3, opt_noLazyCreate,
1251
+ null));
1550
1252
  };
1551
1253
 
1552
1254
 
1553
1255
  /**
1554
- * Returns whether this field is set.
1555
- * @return {boolean}
1256
+ * Clears values from the map. The map will be non-null.
1257
+ * @return {!proto.trb.indicators.v1.ComputeRequest} returns this
1556
1258
  */
1557
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasFrom = function() {
1558
- return jspb.Message.getField(this, 3) != null;
1259
+ proto.trb.indicators.v1.ComputeRequest.prototype.clearParamsMap = function() {
1260
+ this.getParamsMap().clear();
1261
+ return this;
1559
1262
  };
1560
1263
 
1561
1264
 
1562
- /**
1563
- * optional google.protobuf.Timestamp to = 4;
1564
- * @return {?proto.google.protobuf.Timestamp}
1565
- */
1566
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getTo = function() {
1567
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1568
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1569
- };
1570
1265
 
1571
1266
 
1267
+
1268
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1572
1269
  /**
1573
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1574
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1575
- */
1576
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setTo = function(value) {
1577
- return jspb.Message.setWrapperField(this, 4, value);
1270
+ * Creates an object representation of this proto.
1271
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1272
+ * Optional fields that are not set will be set to undefined.
1273
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1274
+ * For the list of reserved names please see:
1275
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1276
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1277
+ * JSPB instance for transitional soy proto support:
1278
+ * http://goto/soy-param-migration
1279
+ * @return {!Object}
1280
+ */
1281
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.toObject = function(opt_includeInstance) {
1282
+ return proto.trb.indicators.v1.ComputeForInstrumentRequest.toObject(opt_includeInstance, this);
1578
1283
  };
1579
1284
 
1580
1285
 
1581
1286
  /**
1582
- * Clears the message field making it undefined.
1583
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1287
+ * Static version of the {@see toObject} method.
1288
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1289
+ * the JSPB instance for transitional soy proto support:
1290
+ * http://goto/soy-param-migration
1291
+ * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} msg The msg instance to transform.
1292
+ * @return {!Object}
1293
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1584
1294
  */
1585
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearTo = function() {
1586
- return this.setTo(undefined);
1295
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.toObject = function(includeInstance, msg) {
1296
+ var f, obj = {
1297
+ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
1298
+ interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
1299
+ from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1300
+ to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1301
+ type: jspb.Message.getFieldWithDefault(msg, 5, 0),
1302
+ paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
1303
+ persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
1304
+ maxResponsePoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
1305
+ };
1306
+
1307
+ if (includeInstance) {
1308
+ obj.$jspbMessageInstance = msg;
1309
+ }
1310
+ return obj;
1587
1311
  };
1312
+ }
1588
1313
 
1589
1314
 
1590
1315
  /**
1591
- * Returns whether this field is set.
1592
- * @return {boolean}
1316
+ * Deserializes binary data (in protobuf wire format).
1317
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1318
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest}
1593
1319
  */
1594
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasTo = function() {
1595
- return jspb.Message.getField(this, 4) != null;
1596
- };
1597
-
1598
-
1599
- /**
1600
- * optional IndicatorType type = 5;
1601
- * @return {!proto.trb.indicators.v1.IndicatorType}
1602
- */
1603
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getType = function() {
1604
- return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1605
- };
1606
-
1607
-
1608
- /**
1609
- * @param {!proto.trb.indicators.v1.IndicatorType} value
1610
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1611
- */
1612
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setType = function(value) {
1613
- return jspb.Message.setProto3EnumField(this, 5, value);
1614
- };
1615
-
1616
-
1617
- /**
1618
- * map<string, double> params = 6;
1619
- * @param {boolean=} opt_noLazyCreate Do not create the map if
1620
- * empty, instead returning `undefined`
1621
- * @return {!jspb.Map<string,number>}
1622
- */
1623
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
1624
- return /** @type {!jspb.Map<string,number>} */ (
1625
- jspb.Message.getMapField(this, 6, opt_noLazyCreate,
1626
- null));
1627
- };
1628
-
1629
-
1630
- /**
1631
- * Clears values from the map. The map will be non-null.
1632
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1633
- */
1634
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearParamsMap = function() {
1635
- this.getParamsMap().clear();
1636
- return this;
1637
- };
1638
-
1639
-
1640
- /**
1641
- * optional int32 limit = 7;
1642
- * @return {number}
1643
- */
1644
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getLimit = function() {
1645
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1646
- };
1647
-
1648
-
1649
- /**
1650
- * @param {number} value
1651
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1652
- */
1653
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setLimit = function(value) {
1654
- return jspb.Message.setProto3IntField(this, 7, value);
1655
- };
1656
-
1657
-
1658
- /**
1659
- * optional google.protobuf.Timestamp after = 8;
1660
- * @return {?proto.google.protobuf.Timestamp}
1661
- */
1662
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getAfter = function() {
1663
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1664
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
1665
- };
1666
-
1667
-
1668
- /**
1669
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1670
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1671
- */
1672
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setAfter = function(value) {
1673
- return jspb.Message.setWrapperField(this, 8, value);
1674
- };
1675
-
1676
-
1677
- /**
1678
- * Clears the message field making it undefined.
1679
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1680
- */
1681
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearAfter = function() {
1682
- return this.setAfter(undefined);
1683
- };
1684
-
1685
-
1686
- /**
1687
- * Returns whether this field is set.
1688
- * @return {boolean}
1689
- */
1690
- proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasAfter = function() {
1691
- return jspb.Message.getField(this, 8) != null;
1692
- };
1693
-
1694
-
1695
-
1696
-
1697
-
1698
- if (jspb.Message.GENERATE_TO_OBJECT) {
1699
- /**
1700
- * Creates an object representation of this proto.
1701
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1702
- * Optional fields that are not set will be set to undefined.
1703
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1704
- * For the list of reserved names please see:
1705
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1706
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1707
- * JSPB instance for transitional soy proto support:
1708
- * http://goto/soy-param-migration
1709
- * @return {!Object}
1710
- */
1711
- proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_includeInstance) {
1712
- return proto.trb.indicators.v1.IndicatorPoint.toObject(opt_includeInstance, this);
1713
- };
1714
-
1715
-
1716
- /**
1717
- * Static version of the {@see toObject} method.
1718
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1719
- * the JSPB instance for transitional soy proto support:
1720
- * http://goto/soy-param-migration
1721
- * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The msg instance to transform.
1722
- * @return {!Object}
1723
- * @suppress {unusedLocalVariables} f is only used for nested messages
1724
- */
1725
- proto.trb.indicators.v1.IndicatorPoint.toObject = function(includeInstance, msg) {
1726
- var f, obj = {
1727
- time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1728
- valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : []
1729
- };
1730
-
1731
- if (includeInstance) {
1732
- obj.$jspbMessageInstance = msg;
1733
- }
1734
- return obj;
1735
- };
1736
- }
1737
-
1738
-
1739
- /**
1740
- * Deserializes binary data (in protobuf wire format).
1741
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1742
- * @return {!proto.trb.indicators.v1.IndicatorPoint}
1743
- */
1744
- proto.trb.indicators.v1.IndicatorPoint.deserializeBinary = function(bytes) {
1745
- var reader = new jspb.BinaryReader(bytes);
1746
- var msg = new proto.trb.indicators.v1.IndicatorPoint;
1747
- return proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader(msg, reader);
1320
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinary = function(bytes) {
1321
+ var reader = new jspb.BinaryReader(bytes);
1322
+ var msg = new proto.trb.indicators.v1.ComputeForInstrumentRequest;
1323
+ return proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader(msg, reader);
1748
1324
  };
1749
1325
 
1750
1326
 
1751
1327
  /**
1752
1328
  * Deserializes binary data (in protobuf wire format) from the
1753
1329
  * given reader into the given message object.
1754
- * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
1330
+ * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} msg The message object to deserialize into.
1755
1331
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1756
- * @return {!proto.trb.indicators.v1.IndicatorPoint}
1332
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest}
1757
1333
  */
1758
- proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
1334
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader = function(msg, reader) {
1759
1335
  while (reader.nextField()) {
1760
1336
  if (reader.isEndGroup()) {
1761
1337
  break;
@@ -1763,16 +1339,41 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
1763
1339
  var field = reader.getFieldNumber();
1764
1340
  switch (field) {
1765
1341
  case 1:
1342
+ var value = /** @type {string} */ (reader.readString());
1343
+ msg.setUid(value);
1344
+ break;
1345
+ case 2:
1346
+ var value = /** @type {number} */ (reader.readInt32());
1347
+ msg.setInterval(value);
1348
+ break;
1349
+ case 3:
1766
1350
  var value = new google_protobuf_timestamp_pb.Timestamp;
1767
1351
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1768
- msg.setTime(value);
1352
+ msg.setFrom(value);
1769
1353
  break;
1770
- case 2:
1771
- var value = msg.getValuesMap();
1354
+ case 4:
1355
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1356
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1357
+ msg.setTo(value);
1358
+ break;
1359
+ case 5:
1360
+ var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
1361
+ msg.setType(value);
1362
+ break;
1363
+ case 6:
1364
+ var value = msg.getParamsMap();
1772
1365
  reader.readMessage(value, function(message, reader) {
1773
1366
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
1774
1367
  });
1775
1368
  break;
1369
+ case 7:
1370
+ var value = /** @type {boolean} */ (reader.readBool());
1371
+ msg.setPersist(value);
1372
+ break;
1373
+ case 8:
1374
+ var value = /** @type {number} */ (reader.readInt32());
1375
+ msg.setMaxResponsePoints(value);
1376
+ break;
1776
1377
  default:
1777
1378
  reader.skipField();
1778
1379
  break;
@@ -1786,9 +1387,9 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
1786
1387
  * Serializes the message to binary data (in protobuf wire format).
1787
1388
  * @return {!Uint8Array}
1788
1389
  */
1789
- proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
1390
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.serializeBinary = function() {
1790
1391
  var writer = new jspb.BinaryWriter();
1791
- proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
1392
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter(this, writer);
1792
1393
  return writer.getResultBuffer();
1793
1394
  };
1794
1395
 
@@ -1796,349 +1397,276 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
1796
1397
  /**
1797
1398
  * Serializes the given message to binary data (in protobuf wire
1798
1399
  * format), writing to the given BinaryWriter.
1799
- * @param {!proto.trb.indicators.v1.IndicatorPoint} message
1400
+ * @param {!proto.trb.indicators.v1.ComputeForInstrumentRequest} message
1800
1401
  * @param {!jspb.BinaryWriter} writer
1801
1402
  * @suppress {unusedLocalVariables} f is only used for nested messages
1802
1403
  */
1803
- proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
1404
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = function(message, writer) {
1804
1405
  var f = undefined;
1805
- f = message.getTime();
1406
+ f = message.getUid();
1407
+ if (f.length > 0) {
1408
+ writer.writeString(
1409
+ 1,
1410
+ f
1411
+ );
1412
+ }
1413
+ f = message.getInterval();
1414
+ if (f !== 0) {
1415
+ writer.writeInt32(
1416
+ 2,
1417
+ f
1418
+ );
1419
+ }
1420
+ f = message.getFrom();
1806
1421
  if (f != null) {
1807
1422
  writer.writeMessage(
1808
- 1,
1423
+ 3,
1809
1424
  f,
1810
1425
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1811
1426
  );
1812
1427
  }
1813
- f = message.getValuesMap(true);
1428
+ f = message.getTo();
1429
+ if (f != null) {
1430
+ writer.writeMessage(
1431
+ 4,
1432
+ f,
1433
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1434
+ );
1435
+ }
1436
+ f = message.getType();
1437
+ if (f !== 0.0) {
1438
+ writer.writeEnum(
1439
+ 5,
1440
+ f
1441
+ );
1442
+ }
1443
+ f = message.getParamsMap(true);
1814
1444
  if (f && f.getLength() > 0) {
1815
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1445
+ f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1446
+ }
1447
+ f = message.getPersist();
1448
+ if (f) {
1449
+ writer.writeBool(
1450
+ 7,
1451
+ f
1452
+ );
1453
+ }
1454
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
1455
+ if (f != null) {
1456
+ writer.writeInt32(
1457
+ 8,
1458
+ f
1459
+ );
1816
1460
  }
1817
1461
  };
1818
1462
 
1819
1463
 
1820
1464
  /**
1821
- * optional google.protobuf.Timestamp time = 1;
1822
- * @return {?proto.google.protobuf.Timestamp}
1465
+ * optional string uid = 1;
1466
+ * @return {string}
1823
1467
  */
1824
- proto.trb.indicators.v1.IndicatorPoint.prototype.getTime = function() {
1825
- return /** @type{?proto.google.protobuf.Timestamp} */ (
1826
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
1827
- };
1828
-
1829
-
1830
- /**
1831
- * @param {?proto.google.protobuf.Timestamp|undefined} value
1832
- * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1833
- */
1834
- proto.trb.indicators.v1.IndicatorPoint.prototype.setTime = function(value) {
1835
- return jspb.Message.setWrapperField(this, 1, value);
1468
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getUid = function() {
1469
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1836
1470
  };
1837
1471
 
1838
1472
 
1839
1473
  /**
1840
- * Clears the message field making it undefined.
1841
- * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1474
+ * @param {string} value
1475
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1842
1476
  */
1843
- proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
1844
- return this.setTime(undefined);
1477
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setUid = function(value) {
1478
+ return jspb.Message.setProto3StringField(this, 1, value);
1845
1479
  };
1846
1480
 
1847
1481
 
1848
1482
  /**
1849
- * Returns whether this field is set.
1850
- * @return {boolean}
1483
+ * optional int32 interval = 2;
1484
+ * @return {number}
1851
1485
  */
1852
- proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
1853
- return jspb.Message.getField(this, 1) != null;
1486
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getInterval = function() {
1487
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1854
1488
  };
1855
1489
 
1856
1490
 
1857
1491
  /**
1858
- * map<string, double> values = 2;
1859
- * @param {boolean=} opt_noLazyCreate Do not create the map if
1860
- * empty, instead returning `undefined`
1861
- * @return {!jspb.Map<string,number>}
1492
+ * @param {number} value
1493
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1862
1494
  */
1863
- proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
1864
- return /** @type {!jspb.Map<string,number>} */ (
1865
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
1866
- null));
1495
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setInterval = function(value) {
1496
+ return jspb.Message.setProto3IntField(this, 2, value);
1867
1497
  };
1868
1498
 
1869
1499
 
1870
1500
  /**
1871
- * Clears values from the map. The map will be non-null.
1872
- * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
1501
+ * optional google.protobuf.Timestamp from = 3;
1502
+ * @return {?proto.google.protobuf.Timestamp}
1873
1503
  */
1874
- proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
1875
- this.getValuesMap().clear();
1876
- return this;
1504
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getFrom = function() {
1505
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1506
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
1877
1507
  };
1878
1508
 
1879
1509
 
1880
-
1881
1510
  /**
1882
- * List of repeated fields within this message type.
1883
- * @private {!Array<number>}
1884
- * @const
1885
- */
1886
- proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
1887
-
1511
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1512
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1513
+ */
1514
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setFrom = function(value) {
1515
+ return jspb.Message.setWrapperField(this, 3, value);
1516
+ };
1888
1517
 
1889
1518
 
1890
- if (jspb.Message.GENERATE_TO_OBJECT) {
1891
1519
  /**
1892
- * Creates an object representation of this proto.
1893
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1894
- * Optional fields that are not set will be set to undefined.
1895
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1896
- * For the list of reserved names please see:
1897
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1898
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1899
- * JSPB instance for transitional soy proto support:
1900
- * http://goto/soy-param-migration
1901
- * @return {!Object}
1520
+ * Clears the message field making it undefined.
1521
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1902
1522
  */
1903
- proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includeInstance) {
1904
- return proto.trb.indicators.v1.ComputeResponse.toObject(opt_includeInstance, this);
1523
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearFrom = function() {
1524
+ return this.setFrom(undefined);
1905
1525
  };
1906
1526
 
1907
1527
 
1908
1528
  /**
1909
- * Static version of the {@see toObject} method.
1910
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1911
- * the JSPB instance for transitional soy proto support:
1912
- * http://goto/soy-param-migration
1913
- * @param {!proto.trb.indicators.v1.ComputeResponse} msg The msg instance to transform.
1914
- * @return {!Object}
1915
- * @suppress {unusedLocalVariables} f is only used for nested messages
1529
+ * Returns whether this field is set.
1530
+ * @return {boolean}
1916
1531
  */
1917
- proto.trb.indicators.v1.ComputeResponse.toObject = function(includeInstance, msg) {
1918
- var f, obj = {
1919
- type: jspb.Message.getFieldWithDefault(msg, 1, 0),
1920
- paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
1921
- pointsList: jspb.Message.toObjectList(msg.getPointsList(),
1922
- proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
1923
- totalPoints: jspb.Message.getFieldWithDefault(msg, 4, 0)
1924
- };
1925
-
1926
- if (includeInstance) {
1927
- obj.$jspbMessageInstance = msg;
1928
- }
1929
- return obj;
1532
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasFrom = function() {
1533
+ return jspb.Message.getField(this, 3) != null;
1930
1534
  };
1931
- }
1932
1535
 
1933
1536
 
1934
1537
  /**
1935
- * Deserializes binary data (in protobuf wire format).
1936
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1937
- * @return {!proto.trb.indicators.v1.ComputeResponse}
1538
+ * optional google.protobuf.Timestamp to = 4;
1539
+ * @return {?proto.google.protobuf.Timestamp}
1938
1540
  */
1939
- proto.trb.indicators.v1.ComputeResponse.deserializeBinary = function(bytes) {
1940
- var reader = new jspb.BinaryReader(bytes);
1941
- var msg = new proto.trb.indicators.v1.ComputeResponse;
1942
- return proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader(msg, reader);
1541
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getTo = function() {
1542
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1543
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
1943
1544
  };
1944
1545
 
1945
1546
 
1946
1547
  /**
1947
- * Deserializes binary data (in protobuf wire format) from the
1948
- * given reader into the given message object.
1949
- * @param {!proto.trb.indicators.v1.ComputeResponse} msg The message object to deserialize into.
1950
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1951
- * @return {!proto.trb.indicators.v1.ComputeResponse}
1952
- */
1953
- proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(msg, reader) {
1954
- while (reader.nextField()) {
1955
- if (reader.isEndGroup()) {
1956
- break;
1957
- }
1958
- var field = reader.getFieldNumber();
1959
- switch (field) {
1960
- case 1:
1961
- var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
1962
- msg.setType(value);
1963
- break;
1964
- case 2:
1965
- var value = msg.getParamsMap();
1966
- reader.readMessage(value, function(message, reader) {
1967
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
1968
- });
1969
- break;
1970
- case 3:
1971
- var value = new proto.trb.indicators.v1.IndicatorPoint;
1972
- reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
1973
- msg.addPoints(value);
1974
- break;
1975
- case 4:
1976
- var value = /** @type {number} */ (reader.readInt32());
1977
- msg.setTotalPoints(value);
1978
- break;
1979
- default:
1980
- reader.skipField();
1981
- break;
1982
- }
1983
- }
1984
- return msg;
1548
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1549
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1550
+ */
1551
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setTo = function(value) {
1552
+ return jspb.Message.setWrapperField(this, 4, value);
1985
1553
  };
1986
1554
 
1987
1555
 
1988
1556
  /**
1989
- * Serializes the message to binary data (in protobuf wire format).
1990
- * @return {!Uint8Array}
1557
+ * Clears the message field making it undefined.
1558
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1991
1559
  */
1992
- proto.trb.indicators.v1.ComputeResponse.prototype.serializeBinary = function() {
1993
- var writer = new jspb.BinaryWriter();
1994
- proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter(this, writer);
1995
- return writer.getResultBuffer();
1560
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearTo = function() {
1561
+ return this.setTo(undefined);
1996
1562
  };
1997
1563
 
1998
1564
 
1999
1565
  /**
2000
- * Serializes the given message to binary data (in protobuf wire
2001
- * format), writing to the given BinaryWriter.
2002
- * @param {!proto.trb.indicators.v1.ComputeResponse} message
2003
- * @param {!jspb.BinaryWriter} writer
2004
- * @suppress {unusedLocalVariables} f is only used for nested messages
1566
+ * Returns whether this field is set.
1567
+ * @return {boolean}
2005
1568
  */
2006
- proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter = function(message, writer) {
2007
- var f = undefined;
2008
- f = message.getType();
2009
- if (f !== 0.0) {
2010
- writer.writeEnum(
2011
- 1,
2012
- f
2013
- );
2014
- }
2015
- f = message.getParamsMap(true);
2016
- if (f && f.getLength() > 0) {
2017
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
2018
- }
2019
- f = message.getPointsList();
2020
- if (f.length > 0) {
2021
- writer.writeRepeatedMessage(
2022
- 3,
2023
- f,
2024
- proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
2025
- );
2026
- }
2027
- f = message.getTotalPoints();
2028
- if (f !== 0) {
2029
- writer.writeInt32(
2030
- 4,
2031
- f
2032
- );
2033
- }
1569
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasTo = function() {
1570
+ return jspb.Message.getField(this, 4) != null;
2034
1571
  };
2035
1572
 
2036
1573
 
2037
1574
  /**
2038
- * optional IndicatorType type = 1;
1575
+ * optional IndicatorType type = 5;
2039
1576
  * @return {!proto.trb.indicators.v1.IndicatorType}
2040
1577
  */
2041
- proto.trb.indicators.v1.ComputeResponse.prototype.getType = function() {
2042
- return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1578
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getType = function() {
1579
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
2043
1580
  };
2044
1581
 
2045
1582
 
2046
1583
  /**
2047
1584
  * @param {!proto.trb.indicators.v1.IndicatorType} value
2048
- * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
1585
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
2049
1586
  */
2050
- proto.trb.indicators.v1.ComputeResponse.prototype.setType = function(value) {
2051
- return jspb.Message.setProto3EnumField(this, 1, value);
1587
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setType = function(value) {
1588
+ return jspb.Message.setProto3EnumField(this, 5, value);
2052
1589
  };
2053
1590
 
2054
1591
 
2055
1592
  /**
2056
- * map<string, double> params = 2;
1593
+ * map<string, double> params = 6;
2057
1594
  * @param {boolean=} opt_noLazyCreate Do not create the map if
2058
1595
  * empty, instead returning `undefined`
2059
1596
  * @return {!jspb.Map<string,number>}
2060
1597
  */
2061
- proto.trb.indicators.v1.ComputeResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
1598
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
2062
1599
  return /** @type {!jspb.Map<string,number>} */ (
2063
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
1600
+ jspb.Message.getMapField(this, 6, opt_noLazyCreate,
2064
1601
  null));
2065
1602
  };
2066
1603
 
2067
1604
 
2068
1605
  /**
2069
1606
  * Clears values from the map. The map will be non-null.
2070
- * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
1607
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
2071
1608
  */
2072
- proto.trb.indicators.v1.ComputeResponse.prototype.clearParamsMap = function() {
1609
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearParamsMap = function() {
2073
1610
  this.getParamsMap().clear();
2074
1611
  return this;
2075
1612
  };
2076
1613
 
2077
1614
 
2078
1615
  /**
2079
- * repeated IndicatorPoint points = 3;
2080
- * @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
1616
+ * optional bool persist = 7;
1617
+ * @return {boolean}
2081
1618
  */
2082
- proto.trb.indicators.v1.ComputeResponse.prototype.getPointsList = function() {
2083
- return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
2084
- jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
1619
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getPersist = function() {
1620
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
2085
1621
  };
2086
1622
 
2087
1623
 
2088
1624
  /**
2089
- * @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
2090
- * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
2091
- */
2092
- proto.trb.indicators.v1.ComputeResponse.prototype.setPointsList = function(value) {
2093
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
1625
+ * @param {boolean} value
1626
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
1627
+ */
1628
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setPersist = function(value) {
1629
+ return jspb.Message.setProto3BooleanField(this, 7, value);
2094
1630
  };
2095
1631
 
2096
1632
 
2097
1633
  /**
2098
- * @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
2099
- * @param {number=} opt_index
2100
- * @return {!proto.trb.indicators.v1.IndicatorPoint}
1634
+ * optional int32 max_response_points = 8;
1635
+ * @return {number}
2101
1636
  */
2102
- proto.trb.indicators.v1.ComputeResponse.prototype.addPoints = function(opt_value, opt_index) {
2103
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
1637
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getMaxResponsePoints = function() {
1638
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
2104
1639
  };
2105
1640
 
2106
1641
 
2107
1642
  /**
2108
- * Clears the list making it empty but non-null.
2109
- * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
1643
+ * @param {number} value
1644
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
2110
1645
  */
2111
- proto.trb.indicators.v1.ComputeResponse.prototype.clearPointsList = function() {
2112
- return this.setPointsList([]);
1646
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setMaxResponsePoints = function(value) {
1647
+ return jspb.Message.setField(this, 8, value);
2113
1648
  };
2114
1649
 
2115
1650
 
2116
1651
  /**
2117
- * optional int32 total_points = 4;
2118
- * @return {number}
1652
+ * Clears the field making it undefined.
1653
+ * @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
2119
1654
  */
2120
- proto.trb.indicators.v1.ComputeResponse.prototype.getTotalPoints = function() {
2121
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1655
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearMaxResponsePoints = function() {
1656
+ return jspb.Message.setField(this, 8, undefined);
2122
1657
  };
2123
1658
 
2124
1659
 
2125
1660
  /**
2126
- * @param {number} value
2127
- * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
1661
+ * Returns whether this field is set.
1662
+ * @return {boolean}
2128
1663
  */
2129
- proto.trb.indicators.v1.ComputeResponse.prototype.setTotalPoints = function(value) {
2130
- return jspb.Message.setProto3IntField(this, 4, value);
1664
+ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasMaxResponsePoints = function() {
1665
+ return jspb.Message.getField(this, 8) != null;
2131
1666
  };
2132
1667
 
2133
1668
 
2134
1669
 
2135
- /**
2136
- * List of repeated fields within this message type.
2137
- * @private {!Array<number>}
2138
- * @const
2139
- */
2140
- proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_ = [3];
2141
-
2142
1670
 
2143
1671
 
2144
1672
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2154,8 +1682,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2154
1682
  * http://goto/soy-param-migration
2155
1683
  * @return {!Object}
2156
1684
  */
2157
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.toObject = function(opt_includeInstance) {
2158
- return proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject(opt_includeInstance, this);
1685
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.toObject = function(opt_includeInstance) {
1686
+ return proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject(opt_includeInstance, this);
2159
1687
  };
2160
1688
 
2161
1689
 
@@ -2164,17 +1692,20 @@ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.toObject = functio
2164
1692
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2165
1693
  * the JSPB instance for transitional soy proto support:
2166
1694
  * http://goto/soy-param-migration
2167
- * @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The msg instance to transform.
1695
+ * @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The msg instance to transform.
2168
1696
  * @return {!Object}
2169
1697
  * @suppress {unusedLocalVariables} f is only used for nested messages
2170
1698
  */
2171
- proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject = function(includeInstance, msg) {
1699
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject = function(includeInstance, msg) {
2172
1700
  var f, obj = {
2173
- type: jspb.Message.getFieldWithDefault(msg, 1, 0),
1701
+ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
1702
+ interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
1703
+ from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1704
+ to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1705
+ type: jspb.Message.getFieldWithDefault(msg, 5, 0),
2174
1706
  paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
2175
- pointsList: jspb.Message.toObjectList(msg.getPointsList(),
2176
- proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
2177
- hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
1707
+ limit: jspb.Message.getFieldWithDefault(msg, 7, 0),
1708
+ after: (f = msg.getAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
2178
1709
  };
2179
1710
 
2180
1711
  if (includeInstance) {
@@ -2188,23 +1719,23 @@ hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
2188
1719
  /**
2189
1720
  * Deserializes binary data (in protobuf wire format).
2190
1721
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2191
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
1722
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
2192
1723
  */
2193
- proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinary = function(bytes) {
1724
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinary = function(bytes) {
2194
1725
  var reader = new jspb.BinaryReader(bytes);
2195
- var msg = new proto.trb.indicators.v1.ListIndicatorValuesResponse;
2196
- return proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader(msg, reader);
1726
+ var msg = new proto.trb.indicators.v1.ListIndicatorValuesRequest;
1727
+ return proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader(msg, reader);
2197
1728
  };
2198
1729
 
2199
1730
 
2200
1731
  /**
2201
1732
  * Deserializes binary data (in protobuf wire format) from the
2202
1733
  * given reader into the given message object.
2203
- * @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The message object to deserialize into.
1734
+ * @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The message object to deserialize into.
2204
1735
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2205
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
1736
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
2206
1737
  */
2207
- proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader = function(msg, reader) {
1738
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader = function(msg, reader) {
2208
1739
  while (reader.nextField()) {
2209
1740
  if (reader.isEndGroup()) {
2210
1741
  break;
@@ -2212,23 +1743,41 @@ proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader
2212
1743
  var field = reader.getFieldNumber();
2213
1744
  switch (field) {
2214
1745
  case 1:
1746
+ var value = /** @type {string} */ (reader.readString());
1747
+ msg.setUid(value);
1748
+ break;
1749
+ case 2:
1750
+ var value = /** @type {number} */ (reader.readInt32());
1751
+ msg.setInterval(value);
1752
+ break;
1753
+ case 3:
1754
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1755
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1756
+ msg.setFrom(value);
1757
+ break;
1758
+ case 4:
1759
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1760
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1761
+ msg.setTo(value);
1762
+ break;
1763
+ case 5:
2215
1764
  var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
2216
1765
  msg.setType(value);
2217
1766
  break;
2218
- case 2:
1767
+ case 6:
2219
1768
  var value = msg.getParamsMap();
2220
1769
  reader.readMessage(value, function(message, reader) {
2221
1770
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2222
1771
  });
2223
1772
  break;
2224
- case 3:
2225
- var value = new proto.trb.indicators.v1.IndicatorPoint;
2226
- reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
2227
- msg.addPoints(value);
1773
+ case 7:
1774
+ var value = /** @type {number} */ (reader.readInt32());
1775
+ msg.setLimit(value);
2228
1776
  break;
2229
- case 4:
2230
- var value = /** @type {boolean} */ (reader.readBool());
2231
- msg.setHasMore(value);
1777
+ case 8:
1778
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1779
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1780
+ msg.setAfter(value);
2232
1781
  break;
2233
1782
  default:
2234
1783
  reader.skipField();
@@ -2243,9 +1792,9 @@ proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader
2243
1792
  * Serializes the message to binary data (in protobuf wire format).
2244
1793
  * @return {!Uint8Array}
2245
1794
  */
2246
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.serializeBinary = function() {
1795
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.serializeBinary = function() {
2247
1796
  var writer = new jspb.BinaryWriter();
2248
- proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter(this, writer);
1797
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter(this, writer);
2249
1798
  return writer.getResultBuffer();
2250
1799
  };
2251
1800
 
@@ -2253,359 +1802,274 @@ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.serializeBinary =
2253
1802
  /**
2254
1803
  * Serializes the given message to binary data (in protobuf wire
2255
1804
  * format), writing to the given BinaryWriter.
2256
- * @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} message
1805
+ * @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} message
2257
1806
  * @param {!jspb.BinaryWriter} writer
2258
1807
  * @suppress {unusedLocalVariables} f is only used for nested messages
2259
1808
  */
2260
- proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter = function(message, writer) {
1809
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter = function(message, writer) {
2261
1810
  var f = undefined;
2262
- f = message.getType();
2263
- if (f !== 0.0) {
2264
- writer.writeEnum(
1811
+ f = message.getUid();
1812
+ if (f.length > 0) {
1813
+ writer.writeString(
2265
1814
  1,
2266
1815
  f
2267
1816
  );
2268
1817
  }
2269
- f = message.getParamsMap(true);
2270
- if (f && f.getLength() > 0) {
2271
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1818
+ f = message.getInterval();
1819
+ if (f !== 0) {
1820
+ writer.writeInt32(
1821
+ 2,
1822
+ f
1823
+ );
2272
1824
  }
2273
- f = message.getPointsList();
2274
- if (f.length > 0) {
2275
- writer.writeRepeatedMessage(
1825
+ f = message.getFrom();
1826
+ if (f != null) {
1827
+ writer.writeMessage(
2276
1828
  3,
2277
1829
  f,
2278
- proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
1830
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2279
1831
  );
2280
1832
  }
2281
- f = message.getHasMore();
2282
- if (f) {
2283
- writer.writeBool(
1833
+ f = message.getTo();
1834
+ if (f != null) {
1835
+ writer.writeMessage(
2284
1836
  4,
1837
+ f,
1838
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1839
+ );
1840
+ }
1841
+ f = message.getType();
1842
+ if (f !== 0.0) {
1843
+ writer.writeEnum(
1844
+ 5,
2285
1845
  f
2286
1846
  );
2287
1847
  }
1848
+ f = message.getParamsMap(true);
1849
+ if (f && f.getLength() > 0) {
1850
+ f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
1851
+ }
1852
+ f = message.getLimit();
1853
+ if (f !== 0) {
1854
+ writer.writeInt32(
1855
+ 7,
1856
+ f
1857
+ );
1858
+ }
1859
+ f = message.getAfter();
1860
+ if (f != null) {
1861
+ writer.writeMessage(
1862
+ 8,
1863
+ f,
1864
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1865
+ );
1866
+ }
2288
1867
  };
2289
1868
 
2290
1869
 
2291
1870
  /**
2292
- * optional IndicatorType type = 1;
2293
- * @return {!proto.trb.indicators.v1.IndicatorType}
2294
- */
2295
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getType = function() {
2296
- return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2297
- };
2298
-
2299
-
2300
- /**
2301
- * @param {!proto.trb.indicators.v1.IndicatorType} value
2302
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
1871
+ * optional string uid = 1;
1872
+ * @return {string}
2303
1873
  */
2304
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setType = function(value) {
2305
- return jspb.Message.setProto3EnumField(this, 1, value);
1874
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getUid = function() {
1875
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2306
1876
  };
2307
1877
 
2308
1878
 
2309
1879
  /**
2310
- * map<string, double> params = 2;
2311
- * @param {boolean=} opt_noLazyCreate Do not create the map if
2312
- * empty, instead returning `undefined`
2313
- * @return {!jspb.Map<string,number>}
1880
+ * @param {string} value
1881
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2314
1882
  */
2315
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
2316
- return /** @type {!jspb.Map<string,number>} */ (
2317
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
2318
- null));
1883
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setUid = function(value) {
1884
+ return jspb.Message.setProto3StringField(this, 1, value);
2319
1885
  };
2320
1886
 
2321
1887
 
2322
1888
  /**
2323
- * Clears values from the map. The map will be non-null.
2324
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
1889
+ * optional int32 interval = 2;
1890
+ * @return {number}
2325
1891
  */
2326
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearParamsMap = function() {
2327
- this.getParamsMap().clear();
2328
- return this;
1892
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getInterval = function() {
1893
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2329
1894
  };
2330
1895
 
2331
1896
 
2332
1897
  /**
2333
- * repeated IndicatorPoint points = 3;
2334
- * @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
1898
+ * @param {number} value
1899
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2335
1900
  */
2336
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getPointsList = function() {
2337
- return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
2338
- jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
2339
- };
2340
-
2341
-
2342
- /**
2343
- * @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
2344
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
2345
- */
2346
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setPointsList = function(value) {
2347
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
1901
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setInterval = function(value) {
1902
+ return jspb.Message.setProto3IntField(this, 2, value);
2348
1903
  };
2349
1904
 
2350
1905
 
2351
1906
  /**
2352
- * @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
2353
- * @param {number=} opt_index
2354
- * @return {!proto.trb.indicators.v1.IndicatorPoint}
1907
+ * optional google.protobuf.Timestamp from = 3;
1908
+ * @return {?proto.google.protobuf.Timestamp}
2355
1909
  */
2356
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.addPoints = function(opt_value, opt_index) {
2357
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
1910
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getFrom = function() {
1911
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1912
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
2358
1913
  };
2359
1914
 
2360
1915
 
2361
1916
  /**
2362
- * Clears the list making it empty but non-null.
2363
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
2364
- */
2365
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearPointsList = function() {
2366
- return this.setPointsList([]);
1917
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1918
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1919
+ */
1920
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setFrom = function(value) {
1921
+ return jspb.Message.setWrapperField(this, 3, value);
2367
1922
  };
2368
1923
 
2369
1924
 
2370
1925
  /**
2371
- * optional bool has_more = 4;
2372
- * @return {boolean}
1926
+ * Clears the message field making it undefined.
1927
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2373
1928
  */
2374
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getHasMore = function() {
2375
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
1929
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearFrom = function() {
1930
+ return this.setFrom(undefined);
2376
1931
  };
2377
1932
 
2378
1933
 
2379
1934
  /**
2380
- * @param {boolean} value
2381
- * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
1935
+ * Returns whether this field is set.
1936
+ * @return {boolean}
2382
1937
  */
2383
- proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setHasMore = function(value) {
2384
- return jspb.Message.setProto3BooleanField(this, 4, value);
1938
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasFrom = function() {
1939
+ return jspb.Message.getField(this, 3) != null;
2385
1940
  };
2386
1941
 
2387
1942
 
2388
-
2389
-
2390
-
2391
- if (jspb.Message.GENERATE_TO_OBJECT) {
2392
1943
  /**
2393
- * Creates an object representation of this proto.
2394
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2395
- * Optional fields that are not set will be set to undefined.
2396
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2397
- * For the list of reserved names please see:
2398
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2399
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2400
- * JSPB instance for transitional soy proto support:
2401
- * http://goto/soy-param-migration
2402
- * @return {!Object}
1944
+ * optional google.protobuf.Timestamp to = 4;
1945
+ * @return {?proto.google.protobuf.Timestamp}
2403
1946
  */
2404
- proto.trb.indicators.v1.IndicatorInfo.prototype.toObject = function(opt_includeInstance) {
2405
- return proto.trb.indicators.v1.IndicatorInfo.toObject(opt_includeInstance, this);
1947
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getTo = function() {
1948
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1949
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
2406
1950
  };
2407
1951
 
2408
1952
 
2409
1953
  /**
2410
- * Static version of the {@see toObject} method.
2411
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2412
- * the JSPB instance for transitional soy proto support:
2413
- * http://goto/soy-param-migration
2414
- * @param {!proto.trb.indicators.v1.IndicatorInfo} msg The msg instance to transform.
2415
- * @return {!Object}
2416
- * @suppress {unusedLocalVariables} f is only used for nested messages
2417
- */
2418
- proto.trb.indicators.v1.IndicatorInfo.toObject = function(includeInstance, msg) {
2419
- var f, obj = {
2420
- type: jspb.Message.getFieldWithDefault(msg, 1, 0),
2421
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
2422
- minBars: jspb.Message.getFieldWithDefault(msg, 3, 0),
2423
- defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance, undefined) : []
2424
- };
2425
-
2426
- if (includeInstance) {
2427
- obj.$jspbMessageInstance = msg;
2428
- }
2429
- return obj;
1954
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1955
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
1956
+ */
1957
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setTo = function(value) {
1958
+ return jspb.Message.setWrapperField(this, 4, value);
2430
1959
  };
2431
- }
2432
1960
 
2433
1961
 
2434
1962
  /**
2435
- * Deserializes binary data (in protobuf wire format).
2436
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2437
- * @return {!proto.trb.indicators.v1.IndicatorInfo}
1963
+ * Clears the message field making it undefined.
1964
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2438
1965
  */
2439
- proto.trb.indicators.v1.IndicatorInfo.deserializeBinary = function(bytes) {
2440
- var reader = new jspb.BinaryReader(bytes);
2441
- var msg = new proto.trb.indicators.v1.IndicatorInfo;
2442
- return proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader(msg, reader);
1966
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearTo = function() {
1967
+ return this.setTo(undefined);
2443
1968
  };
2444
1969
 
2445
1970
 
2446
1971
  /**
2447
- * Deserializes binary data (in protobuf wire format) from the
2448
- * given reader into the given message object.
2449
- * @param {!proto.trb.indicators.v1.IndicatorInfo} msg The message object to deserialize into.
2450
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2451
- * @return {!proto.trb.indicators.v1.IndicatorInfo}
1972
+ * Returns whether this field is set.
1973
+ * @return {boolean}
2452
1974
  */
2453
- proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg, reader) {
2454
- while (reader.nextField()) {
2455
- if (reader.isEndGroup()) {
2456
- break;
2457
- }
2458
- var field = reader.getFieldNumber();
2459
- switch (field) {
2460
- case 1:
2461
- var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
2462
- msg.setType(value);
2463
- break;
2464
- case 2:
2465
- var value = /** @type {string} */ (reader.readString());
2466
- msg.setName(value);
2467
- break;
2468
- case 3:
2469
- var value = /** @type {number} */ (reader.readInt32());
2470
- msg.setMinBars(value);
2471
- break;
2472
- case 4:
2473
- var value = msg.getDefaultParamsMap();
2474
- reader.readMessage(value, function(message, reader) {
2475
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2476
- });
2477
- break;
2478
- default:
2479
- reader.skipField();
2480
- break;
2481
- }
2482
- }
2483
- return msg;
1975
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasTo = function() {
1976
+ return jspb.Message.getField(this, 4) != null;
2484
1977
  };
2485
1978
 
2486
1979
 
2487
1980
  /**
2488
- * Serializes the message to binary data (in protobuf wire format).
2489
- * @return {!Uint8Array}
1981
+ * optional IndicatorType type = 5;
1982
+ * @return {!proto.trb.indicators.v1.IndicatorType}
2490
1983
  */
2491
- proto.trb.indicators.v1.IndicatorInfo.prototype.serializeBinary = function() {
2492
- var writer = new jspb.BinaryWriter();
2493
- proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter(this, writer);
2494
- return writer.getResultBuffer();
1984
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getType = function() {
1985
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
2495
1986
  };
2496
1987
 
2497
1988
 
2498
1989
  /**
2499
- * Serializes the given message to binary data (in protobuf wire
2500
- * format), writing to the given BinaryWriter.
2501
- * @param {!proto.trb.indicators.v1.IndicatorInfo} message
2502
- * @param {!jspb.BinaryWriter} writer
2503
- * @suppress {unusedLocalVariables} f is only used for nested messages
1990
+ * @param {!proto.trb.indicators.v1.IndicatorType} value
1991
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2504
1992
  */
2505
- proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter = function(message, writer) {
2506
- var f = undefined;
2507
- f = message.getType();
2508
- if (f !== 0.0) {
2509
- writer.writeEnum(
2510
- 1,
2511
- f
2512
- );
2513
- }
2514
- f = message.getName();
2515
- if (f.length > 0) {
2516
- writer.writeString(
2517
- 2,
2518
- f
2519
- );
2520
- }
2521
- f = message.getMinBars();
2522
- if (f !== 0) {
2523
- writer.writeInt32(
2524
- 3,
2525
- f
2526
- );
2527
- }
2528
- f = message.getDefaultParamsMap(true);
2529
- if (f && f.getLength() > 0) {
2530
- f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
2531
- }
1993
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setType = function(value) {
1994
+ return jspb.Message.setProto3EnumField(this, 5, value);
2532
1995
  };
2533
1996
 
2534
1997
 
2535
1998
  /**
2536
- * optional IndicatorType type = 1;
2537
- * @return {!proto.trb.indicators.v1.IndicatorType}
1999
+ * map<string, double> params = 6;
2000
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
2001
+ * empty, instead returning `undefined`
2002
+ * @return {!jspb.Map<string,number>}
2538
2003
  */
2539
- proto.trb.indicators.v1.IndicatorInfo.prototype.getType = function() {
2540
- return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2004
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
2005
+ return /** @type {!jspb.Map<string,number>} */ (
2006
+ jspb.Message.getMapField(this, 6, opt_noLazyCreate,
2007
+ null));
2541
2008
  };
2542
2009
 
2543
2010
 
2544
2011
  /**
2545
- * @param {!proto.trb.indicators.v1.IndicatorType} value
2546
- * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
2012
+ * Clears values from the map. The map will be non-null.
2013
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2547
2014
  */
2548
- proto.trb.indicators.v1.IndicatorInfo.prototype.setType = function(value) {
2549
- return jspb.Message.setProto3EnumField(this, 1, value);
2015
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearParamsMap = function() {
2016
+ this.getParamsMap().clear();
2017
+ return this;
2550
2018
  };
2551
2019
 
2552
2020
 
2553
2021
  /**
2554
- * optional string name = 2;
2555
- * @return {string}
2022
+ * optional int32 limit = 7;
2023
+ * @return {number}
2556
2024
  */
2557
- proto.trb.indicators.v1.IndicatorInfo.prototype.getName = function() {
2558
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2025
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getLimit = function() {
2026
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2559
2027
  };
2560
2028
 
2561
2029
 
2562
2030
  /**
2563
- * @param {string} value
2564
- * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
2031
+ * @param {number} value
2032
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2565
2033
  */
2566
- proto.trb.indicators.v1.IndicatorInfo.prototype.setName = function(value) {
2567
- return jspb.Message.setProto3StringField(this, 2, value);
2034
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setLimit = function(value) {
2035
+ return jspb.Message.setProto3IntField(this, 7, value);
2568
2036
  };
2569
2037
 
2570
2038
 
2571
2039
  /**
2572
- * optional int32 min_bars = 3;
2573
- * @return {number}
2040
+ * optional google.protobuf.Timestamp after = 8;
2041
+ * @return {?proto.google.protobuf.Timestamp}
2574
2042
  */
2575
- proto.trb.indicators.v1.IndicatorInfo.prototype.getMinBars = function() {
2576
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2043
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getAfter = function() {
2044
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2045
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
2577
2046
  };
2578
2047
 
2579
2048
 
2580
2049
  /**
2581
- * @param {number} value
2582
- * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
2583
- */
2584
- proto.trb.indicators.v1.IndicatorInfo.prototype.setMinBars = function(value) {
2585
- return jspb.Message.setProto3IntField(this, 3, value);
2050
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2051
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2052
+ */
2053
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setAfter = function(value) {
2054
+ return jspb.Message.setWrapperField(this, 8, value);
2586
2055
  };
2587
2056
 
2588
2057
 
2589
2058
  /**
2590
- * map<string, double> default_params = 4;
2591
- * @param {boolean=} opt_noLazyCreate Do not create the map if
2592
- * empty, instead returning `undefined`
2593
- * @return {!jspb.Map<string,number>}
2059
+ * Clears the message field making it undefined.
2060
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
2594
2061
  */
2595
- proto.trb.indicators.v1.IndicatorInfo.prototype.getDefaultParamsMap = function(opt_noLazyCreate) {
2596
- return /** @type {!jspb.Map<string,number>} */ (
2597
- jspb.Message.getMapField(this, 4, opt_noLazyCreate,
2598
- null));
2062
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearAfter = function() {
2063
+ return this.setAfter(undefined);
2599
2064
  };
2600
2065
 
2601
2066
 
2602
2067
  /**
2603
- * Clears values from the map. The map will be non-null.
2604
- * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
2068
+ * Returns whether this field is set.
2069
+ * @return {boolean}
2605
2070
  */
2606
- proto.trb.indicators.v1.IndicatorInfo.prototype.clearDefaultParamsMap = function() {
2607
- this.getDefaultParamsMap().clear();
2608
- return this;
2071
+ proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasAfter = function() {
2072
+ return jspb.Message.getField(this, 8) != null;
2609
2073
  };
2610
2074
 
2611
2075
 
@@ -2625,8 +2089,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2625
2089
  * http://goto/soy-param-migration
2626
2090
  * @return {!Object}
2627
2091
  */
2628
- proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_includeInstance) {
2629
- return proto.trb.indicators.v1.ListSupportedRequest.toObject(opt_includeInstance, this);
2092
+ proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_includeInstance) {
2093
+ return proto.trb.indicators.v1.IndicatorPoint.toObject(opt_includeInstance, this);
2630
2094
  };
2631
2095
 
2632
2096
 
@@ -2635,13 +2099,14 @@ proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_i
2635
2099
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2636
2100
  * the JSPB instance for transitional soy proto support:
2637
2101
  * http://goto/soy-param-migration
2638
- * @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The msg instance to transform.
2102
+ * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The msg instance to transform.
2639
2103
  * @return {!Object}
2640
2104
  * @suppress {unusedLocalVariables} f is only used for nested messages
2641
2105
  */
2642
- proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance, msg) {
2106
+ proto.trb.indicators.v1.IndicatorPoint.toObject = function(includeInstance, msg) {
2643
2107
  var f, obj = {
2644
-
2108
+ time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2109
+ valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : []
2645
2110
  };
2646
2111
 
2647
2112
  if (includeInstance) {
@@ -2655,29 +2120,40 @@ proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance
2655
2120
  /**
2656
2121
  * Deserializes binary data (in protobuf wire format).
2657
2122
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2658
- * @return {!proto.trb.indicators.v1.ListSupportedRequest}
2123
+ * @return {!proto.trb.indicators.v1.IndicatorPoint}
2659
2124
  */
2660
- proto.trb.indicators.v1.ListSupportedRequest.deserializeBinary = function(bytes) {
2125
+ proto.trb.indicators.v1.IndicatorPoint.deserializeBinary = function(bytes) {
2661
2126
  var reader = new jspb.BinaryReader(bytes);
2662
- var msg = new proto.trb.indicators.v1.ListSupportedRequest;
2663
- return proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader(msg, reader);
2127
+ var msg = new proto.trb.indicators.v1.IndicatorPoint;
2128
+ return proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader(msg, reader);
2664
2129
  };
2665
2130
 
2666
2131
 
2667
2132
  /**
2668
2133
  * Deserializes binary data (in protobuf wire format) from the
2669
2134
  * given reader into the given message object.
2670
- * @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The message object to deserialize into.
2135
+ * @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
2671
2136
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2672
- * @return {!proto.trb.indicators.v1.ListSupportedRequest}
2137
+ * @return {!proto.trb.indicators.v1.IndicatorPoint}
2673
2138
  */
2674
- proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = function(msg, reader) {
2139
+ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
2675
2140
  while (reader.nextField()) {
2676
2141
  if (reader.isEndGroup()) {
2677
2142
  break;
2678
2143
  }
2679
2144
  var field = reader.getFieldNumber();
2680
2145
  switch (field) {
2146
+ case 1:
2147
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2148
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2149
+ msg.setTime(value);
2150
+ break;
2151
+ case 2:
2152
+ var value = msg.getValuesMap();
2153
+ reader.readMessage(value, function(message, reader) {
2154
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2155
+ });
2156
+ break;
2681
2157
  default:
2682
2158
  reader.skipField();
2683
2159
  break;
@@ -2691,9 +2167,9 @@ proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = funct
2691
2167
  * Serializes the message to binary data (in protobuf wire format).
2692
2168
  * @return {!Uint8Array}
2693
2169
  */
2694
- proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = function() {
2170
+ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
2695
2171
  var writer = new jspb.BinaryWriter();
2696
- proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter(this, writer);
2172
+ proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
2697
2173
  return writer.getResultBuffer();
2698
2174
  };
2699
2175
 
@@ -2701,12 +2177,84 @@ proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = functio
2701
2177
  /**
2702
2178
  * Serializes the given message to binary data (in protobuf wire
2703
2179
  * format), writing to the given BinaryWriter.
2704
- * @param {!proto.trb.indicators.v1.ListSupportedRequest} message
2180
+ * @param {!proto.trb.indicators.v1.IndicatorPoint} message
2705
2181
  * @param {!jspb.BinaryWriter} writer
2706
2182
  * @suppress {unusedLocalVariables} f is only used for nested messages
2707
2183
  */
2708
- proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter = function(message, writer) {
2184
+ proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
2709
2185
  var f = undefined;
2186
+ f = message.getTime();
2187
+ if (f != null) {
2188
+ writer.writeMessage(
2189
+ 1,
2190
+ f,
2191
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2192
+ );
2193
+ }
2194
+ f = message.getValuesMap(true);
2195
+ if (f && f.getLength() > 0) {
2196
+ f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
2197
+ }
2198
+ };
2199
+
2200
+
2201
+ /**
2202
+ * optional google.protobuf.Timestamp time = 1;
2203
+ * @return {?proto.google.protobuf.Timestamp}
2204
+ */
2205
+ proto.trb.indicators.v1.IndicatorPoint.prototype.getTime = function() {
2206
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2207
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
2208
+ };
2209
+
2210
+
2211
+ /**
2212
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2213
+ * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
2214
+ */
2215
+ proto.trb.indicators.v1.IndicatorPoint.prototype.setTime = function(value) {
2216
+ return jspb.Message.setWrapperField(this, 1, value);
2217
+ };
2218
+
2219
+
2220
+ /**
2221
+ * Clears the message field making it undefined.
2222
+ * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
2223
+ */
2224
+ proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
2225
+ return this.setTime(undefined);
2226
+ };
2227
+
2228
+
2229
+ /**
2230
+ * Returns whether this field is set.
2231
+ * @return {boolean}
2232
+ */
2233
+ proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
2234
+ return jspb.Message.getField(this, 1) != null;
2235
+ };
2236
+
2237
+
2238
+ /**
2239
+ * map<string, double> values = 2;
2240
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
2241
+ * empty, instead returning `undefined`
2242
+ * @return {!jspb.Map<string,number>}
2243
+ */
2244
+ proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
2245
+ return /** @type {!jspb.Map<string,number>} */ (
2246
+ jspb.Message.getMapField(this, 2, opt_noLazyCreate,
2247
+ null));
2248
+ };
2249
+
2250
+
2251
+ /**
2252
+ * Clears values from the map. The map will be non-null.
2253
+ * @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
2254
+ */
2255
+ proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
2256
+ this.getValuesMap().clear();
2257
+ return this;
2710
2258
  };
2711
2259
 
2712
2260
 
@@ -2716,7 +2264,7 @@ proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter = function(
2716
2264
  * @private {!Array<number>}
2717
2265
  * @const
2718
2266
  */
2719
- proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_ = [1];
2267
+ proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
2720
2268
 
2721
2269
 
2722
2270
 
@@ -2733,8 +2281,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2733
2281
  * http://goto/soy-param-migration
2734
2282
  * @return {!Object}
2735
2283
  */
2736
- proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_includeInstance) {
2737
- return proto.trb.indicators.v1.ListSupportedResponse.toObject(opt_includeInstance, this);
2284
+ proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includeInstance) {
2285
+ return proto.trb.indicators.v1.ComputeResponse.toObject(opt_includeInstance, this);
2738
2286
  };
2739
2287
 
2740
2288
 
@@ -2743,14 +2291,17 @@ proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_
2743
2291
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2744
2292
  * the JSPB instance for transitional soy proto support:
2745
2293
  * http://goto/soy-param-migration
2746
- * @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The msg instance to transform.
2294
+ * @param {!proto.trb.indicators.v1.ComputeResponse} msg The msg instance to transform.
2747
2295
  * @return {!Object}
2748
2296
  * @suppress {unusedLocalVariables} f is only used for nested messages
2749
2297
  */
2750
- proto.trb.indicators.v1.ListSupportedResponse.toObject = function(includeInstance, msg) {
2298
+ proto.trb.indicators.v1.ComputeResponse.toObject = function(includeInstance, msg) {
2751
2299
  var f, obj = {
2752
- indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
2753
- proto.trb.indicators.v1.IndicatorInfo.toObject, includeInstance)
2300
+ type: jspb.Message.getFieldWithDefault(msg, 1, 0),
2301
+ paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
2302
+ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
2303
+ proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
2304
+ totalPoints: jspb.Message.getFieldWithDefault(msg, 4, 0)
2754
2305
  };
2755
2306
 
2756
2307
  if (includeInstance) {
@@ -2764,23 +2315,23 @@ indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
2764
2315
  /**
2765
2316
  * Deserializes binary data (in protobuf wire format).
2766
2317
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2767
- * @return {!proto.trb.indicators.v1.ListSupportedResponse}
2318
+ * @return {!proto.trb.indicators.v1.ComputeResponse}
2768
2319
  */
2769
- proto.trb.indicators.v1.ListSupportedResponse.deserializeBinary = function(bytes) {
2320
+ proto.trb.indicators.v1.ComputeResponse.deserializeBinary = function(bytes) {
2770
2321
  var reader = new jspb.BinaryReader(bytes);
2771
- var msg = new proto.trb.indicators.v1.ListSupportedResponse;
2772
- return proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader(msg, reader);
2322
+ var msg = new proto.trb.indicators.v1.ComputeResponse;
2323
+ return proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader(msg, reader);
2773
2324
  };
2774
2325
 
2775
2326
 
2776
2327
  /**
2777
2328
  * Deserializes binary data (in protobuf wire format) from the
2778
2329
  * given reader into the given message object.
2779
- * @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The message object to deserialize into.
2330
+ * @param {!proto.trb.indicators.v1.ComputeResponse} msg The message object to deserialize into.
2780
2331
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2781
- * @return {!proto.trb.indicators.v1.ListSupportedResponse}
2332
+ * @return {!proto.trb.indicators.v1.ComputeResponse}
2782
2333
  */
2783
- proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = function(msg, reader) {
2334
+ proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(msg, reader) {
2784
2335
  while (reader.nextField()) {
2785
2336
  if (reader.isEndGroup()) {
2786
2337
  break;
@@ -2788,9 +2339,23 @@ proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = func
2788
2339
  var field = reader.getFieldNumber();
2789
2340
  switch (field) {
2790
2341
  case 1:
2791
- var value = new proto.trb.indicators.v1.IndicatorInfo;
2792
- reader.readMessage(value,proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader);
2793
- msg.addIndicators(value);
2342
+ var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
2343
+ msg.setType(value);
2344
+ break;
2345
+ case 2:
2346
+ var value = msg.getParamsMap();
2347
+ reader.readMessage(value, function(message, reader) {
2348
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2349
+ });
2350
+ break;
2351
+ case 3:
2352
+ var value = new proto.trb.indicators.v1.IndicatorPoint;
2353
+ reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
2354
+ msg.addPoints(value);
2355
+ break;
2356
+ case 4:
2357
+ var value = /** @type {number} */ (reader.readInt32());
2358
+ msg.setTotalPoints(value);
2794
2359
  break;
2795
2360
  default:
2796
2361
  reader.skipField();
@@ -2805,9 +2370,9 @@ proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = func
2805
2370
  * Serializes the message to binary data (in protobuf wire format).
2806
2371
  * @return {!Uint8Array}
2807
2372
  */
2808
- proto.trb.indicators.v1.ListSupportedResponse.prototype.serializeBinary = function() {
2373
+ proto.trb.indicators.v1.ComputeResponse.prototype.serializeBinary = function() {
2809
2374
  var writer = new jspb.BinaryWriter();
2810
- proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter(this, writer);
2375
+ proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter(this, writer);
2811
2376
  return writer.getResultBuffer();
2812
2377
  };
2813
2378
 
@@ -2815,62 +2380,146 @@ proto.trb.indicators.v1.ListSupportedResponse.prototype.serializeBinary = functi
2815
2380
  /**
2816
2381
  * Serializes the given message to binary data (in protobuf wire
2817
2382
  * format), writing to the given BinaryWriter.
2818
- * @param {!proto.trb.indicators.v1.ListSupportedResponse} message
2383
+ * @param {!proto.trb.indicators.v1.ComputeResponse} message
2819
2384
  * @param {!jspb.BinaryWriter} writer
2820
2385
  * @suppress {unusedLocalVariables} f is only used for nested messages
2821
2386
  */
2822
- proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter = function(message, writer) {
2387
+ proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter = function(message, writer) {
2823
2388
  var f = undefined;
2824
- f = message.getIndicatorsList();
2389
+ f = message.getType();
2390
+ if (f !== 0.0) {
2391
+ writer.writeEnum(
2392
+ 1,
2393
+ f
2394
+ );
2395
+ }
2396
+ f = message.getParamsMap(true);
2397
+ if (f && f.getLength() > 0) {
2398
+ f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
2399
+ }
2400
+ f = message.getPointsList();
2825
2401
  if (f.length > 0) {
2826
2402
  writer.writeRepeatedMessage(
2827
- 1,
2403
+ 3,
2828
2404
  f,
2829
- proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter
2405
+ proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
2406
+ );
2407
+ }
2408
+ f = message.getTotalPoints();
2409
+ if (f !== 0) {
2410
+ writer.writeInt32(
2411
+ 4,
2412
+ f
2830
2413
  );
2831
2414
  }
2832
2415
  };
2833
2416
 
2834
2417
 
2835
2418
  /**
2836
- * repeated IndicatorInfo indicators = 1;
2837
- * @return {!Array<!proto.trb.indicators.v1.IndicatorInfo>}
2419
+ * optional IndicatorType type = 1;
2420
+ * @return {!proto.trb.indicators.v1.IndicatorType}
2838
2421
  */
2839
- proto.trb.indicators.v1.ListSupportedResponse.prototype.getIndicatorsList = function() {
2840
- return /** @type{!Array<!proto.trb.indicators.v1.IndicatorInfo>} */ (
2841
- jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorInfo, 1));
2422
+ proto.trb.indicators.v1.ComputeResponse.prototype.getType = function() {
2423
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2424
+ };
2425
+
2426
+
2427
+ /**
2428
+ * @param {!proto.trb.indicators.v1.IndicatorType} value
2429
+ * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
2430
+ */
2431
+ proto.trb.indicators.v1.ComputeResponse.prototype.setType = function(value) {
2432
+ return jspb.Message.setProto3EnumField(this, 1, value);
2433
+ };
2434
+
2435
+
2436
+ /**
2437
+ * map<string, double> params = 2;
2438
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
2439
+ * empty, instead returning `undefined`
2440
+ * @return {!jspb.Map<string,number>}
2441
+ */
2442
+ proto.trb.indicators.v1.ComputeResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
2443
+ return /** @type {!jspb.Map<string,number>} */ (
2444
+ jspb.Message.getMapField(this, 2, opt_noLazyCreate,
2445
+ null));
2446
+ };
2447
+
2448
+
2449
+ /**
2450
+ * Clears values from the map. The map will be non-null.
2451
+ * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
2452
+ */
2453
+ proto.trb.indicators.v1.ComputeResponse.prototype.clearParamsMap = function() {
2454
+ this.getParamsMap().clear();
2455
+ return this;
2456
+ };
2457
+
2458
+
2459
+ /**
2460
+ * repeated IndicatorPoint points = 3;
2461
+ * @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
2462
+ */
2463
+ proto.trb.indicators.v1.ComputeResponse.prototype.getPointsList = function() {
2464
+ return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
2465
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
2471
+ * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
2472
+ */
2473
+ proto.trb.indicators.v1.ComputeResponse.prototype.setPointsList = function(value) {
2474
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
2475
+ };
2476
+
2477
+
2478
+ /**
2479
+ * @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
2480
+ * @param {number=} opt_index
2481
+ * @return {!proto.trb.indicators.v1.IndicatorPoint}
2482
+ */
2483
+ proto.trb.indicators.v1.ComputeResponse.prototype.addPoints = function(opt_value, opt_index) {
2484
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
2842
2485
  };
2843
2486
 
2844
2487
 
2845
2488
  /**
2846
- * @param {!Array<!proto.trb.indicators.v1.IndicatorInfo>} value
2847
- * @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
2848
- */
2849
- proto.trb.indicators.v1.ListSupportedResponse.prototype.setIndicatorsList = function(value) {
2850
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2489
+ * Clears the list making it empty but non-null.
2490
+ * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
2491
+ */
2492
+ proto.trb.indicators.v1.ComputeResponse.prototype.clearPointsList = function() {
2493
+ return this.setPointsList([]);
2851
2494
  };
2852
2495
 
2853
2496
 
2854
2497
  /**
2855
- * @param {!proto.trb.indicators.v1.IndicatorInfo=} opt_value
2856
- * @param {number=} opt_index
2857
- * @return {!proto.trb.indicators.v1.IndicatorInfo}
2498
+ * optional int32 total_points = 4;
2499
+ * @return {number}
2858
2500
  */
2859
- proto.trb.indicators.v1.ListSupportedResponse.prototype.addIndicators = function(opt_value, opt_index) {
2860
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.IndicatorInfo, opt_index);
2501
+ proto.trb.indicators.v1.ComputeResponse.prototype.getTotalPoints = function() {
2502
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
2861
2503
  };
2862
2504
 
2863
2505
 
2864
2506
  /**
2865
- * Clears the list making it empty but non-null.
2866
- * @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
2507
+ * @param {number} value
2508
+ * @return {!proto.trb.indicators.v1.ComputeResponse} returns this
2867
2509
  */
2868
- proto.trb.indicators.v1.ListSupportedResponse.prototype.clearIndicatorsList = function() {
2869
- return this.setIndicatorsList([]);
2510
+ proto.trb.indicators.v1.ComputeResponse.prototype.setTotalPoints = function(value) {
2511
+ return jspb.Message.setProto3IntField(this, 4, value);
2870
2512
  };
2871
2513
 
2872
2514
 
2873
2515
 
2516
+ /**
2517
+ * List of repeated fields within this message type.
2518
+ * @private {!Array<number>}
2519
+ * @const
2520
+ */
2521
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_ = [3];
2522
+
2874
2523
 
2875
2524
 
2876
2525
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2886,8 +2535,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2886
2535
  * http://goto/soy-param-migration
2887
2536
  * @return {!Object}
2888
2537
  */
2889
- proto.trb.indicators.v1.SchedulerTarget.prototype.toObject = function(opt_includeInstance) {
2890
- return proto.trb.indicators.v1.SchedulerTarget.toObject(opt_includeInstance, this);
2538
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.toObject = function(opt_includeInstance) {
2539
+ return proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject(opt_includeInstance, this);
2891
2540
  };
2892
2541
 
2893
2542
 
@@ -2896,17 +2545,17 @@ proto.trb.indicators.v1.SchedulerTarget.prototype.toObject = function(opt_includ
2896
2545
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2897
2546
  * the JSPB instance for transitional soy proto support:
2898
2547
  * http://goto/soy-param-migration
2899
- * @param {!proto.trb.indicators.v1.SchedulerTarget} msg The msg instance to transform.
2548
+ * @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The msg instance to transform.
2900
2549
  * @return {!Object}
2901
2550
  * @suppress {unusedLocalVariables} f is only used for nested messages
2902
2551
  */
2903
- proto.trb.indicators.v1.SchedulerTarget.toObject = function(includeInstance, msg) {
2552
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject = function(includeInstance, msg) {
2904
2553
  var f, obj = {
2905
- uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
2906
- interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
2907
- indicator: jspb.Message.getFieldWithDefault(msg, 3, ""),
2554
+ type: jspb.Message.getFieldWithDefault(msg, 1, 0),
2908
2555
  paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
2909
- enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2556
+ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
2557
+ proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
2558
+ hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
2910
2559
  };
2911
2560
 
2912
2561
  if (includeInstance) {
@@ -2920,23 +2569,23 @@ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2920
2569
  /**
2921
2570
  * Deserializes binary data (in protobuf wire format).
2922
2571
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2923
- * @return {!proto.trb.indicators.v1.SchedulerTarget}
2572
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
2924
2573
  */
2925
- proto.trb.indicators.v1.SchedulerTarget.deserializeBinary = function(bytes) {
2574
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinary = function(bytes) {
2926
2575
  var reader = new jspb.BinaryReader(bytes);
2927
- var msg = new proto.trb.indicators.v1.SchedulerTarget;
2928
- return proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader(msg, reader);
2576
+ var msg = new proto.trb.indicators.v1.ListIndicatorValuesResponse;
2577
+ return proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader(msg, reader);
2929
2578
  };
2930
2579
 
2931
2580
 
2932
2581
  /**
2933
2582
  * Deserializes binary data (in protobuf wire format) from the
2934
2583
  * given reader into the given message object.
2935
- * @param {!proto.trb.indicators.v1.SchedulerTarget} msg The message object to deserialize into.
2584
+ * @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The message object to deserialize into.
2936
2585
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2937
- * @return {!proto.trb.indicators.v1.SchedulerTarget}
2586
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
2938
2587
  */
2939
- proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(msg, reader) {
2588
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader = function(msg, reader) {
2940
2589
  while (reader.nextField()) {
2941
2590
  if (reader.isEndGroup()) {
2942
2591
  break;
@@ -2944,26 +2593,23 @@ proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(m
2944
2593
  var field = reader.getFieldNumber();
2945
2594
  switch (field) {
2946
2595
  case 1:
2947
- var value = /** @type {string} */ (reader.readString());
2948
- msg.setUid(value);
2596
+ var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
2597
+ msg.setType(value);
2949
2598
  break;
2950
2599
  case 2:
2951
- var value = /** @type {number} */ (reader.readInt32());
2952
- msg.setInterval(value);
2953
- break;
2954
- case 3:
2955
- var value = /** @type {string} */ (reader.readString());
2956
- msg.setIndicator(value);
2957
- break;
2958
- case 4:
2959
2600
  var value = msg.getParamsMap();
2960
2601
  reader.readMessage(value, function(message, reader) {
2961
2602
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2962
2603
  });
2963
2604
  break;
2964
- case 5:
2605
+ case 3:
2606
+ var value = new proto.trb.indicators.v1.IndicatorPoint;
2607
+ reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
2608
+ msg.addPoints(value);
2609
+ break;
2610
+ case 4:
2965
2611
  var value = /** @type {boolean} */ (reader.readBool());
2966
- msg.setEnabled(value);
2612
+ msg.setHasMore(value);
2967
2613
  break;
2968
2614
  default:
2969
2615
  reader.skipField();
@@ -2978,9 +2624,9 @@ proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(m
2978
2624
  * Serializes the message to binary data (in protobuf wire format).
2979
2625
  * @return {!Uint8Array}
2980
2626
  */
2981
- proto.trb.indicators.v1.SchedulerTarget.prototype.serializeBinary = function() {
2627
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.serializeBinary = function() {
2982
2628
  var writer = new jspb.BinaryWriter();
2983
- proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter(this, writer);
2629
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter(this, writer);
2984
2630
  return writer.getResultBuffer();
2985
2631
  };
2986
2632
 
@@ -2988,41 +2634,35 @@ proto.trb.indicators.v1.SchedulerTarget.prototype.serializeBinary = function() {
2988
2634
  /**
2989
2635
  * Serializes the given message to binary data (in protobuf wire
2990
2636
  * format), writing to the given BinaryWriter.
2991
- * @param {!proto.trb.indicators.v1.SchedulerTarget} message
2637
+ * @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} message
2992
2638
  * @param {!jspb.BinaryWriter} writer
2993
2639
  * @suppress {unusedLocalVariables} f is only used for nested messages
2994
2640
  */
2995
- proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter = function(message, writer) {
2641
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter = function(message, writer) {
2996
2642
  var f = undefined;
2997
- f = message.getUid();
2998
- if (f.length > 0) {
2999
- writer.writeString(
2643
+ f = message.getType();
2644
+ if (f !== 0.0) {
2645
+ writer.writeEnum(
3000
2646
  1,
3001
2647
  f
3002
2648
  );
3003
2649
  }
3004
- f = message.getInterval();
3005
- if (f !== 0) {
3006
- writer.writeInt32(
3007
- 2,
3008
- f
3009
- );
2650
+ f = message.getParamsMap(true);
2651
+ if (f && f.getLength() > 0) {
2652
+ f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
3010
2653
  }
3011
- f = message.getIndicator();
2654
+ f = message.getPointsList();
3012
2655
  if (f.length > 0) {
3013
- writer.writeString(
2656
+ writer.writeRepeatedMessage(
3014
2657
  3,
3015
- f
2658
+ f,
2659
+ proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
3016
2660
  );
3017
2661
  }
3018
- f = message.getParamsMap(true);
3019
- if (f && f.getLength() > 0) {
3020
- f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
3021
- }
3022
- f = message.getEnabled();
2662
+ f = message.getHasMore();
3023
2663
  if (f) {
3024
2664
  writer.writeBool(
3025
- 5,
2665
+ 4,
3026
2666
  f
3027
2667
  );
3028
2668
  }
@@ -3030,208 +2670,102 @@ proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter = function(messa
3030
2670
 
3031
2671
 
3032
2672
  /**
3033
- * optional string uid = 1;
3034
- * @return {string}
3035
- */
3036
- proto.trb.indicators.v1.SchedulerTarget.prototype.getUid = function() {
3037
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3038
- };
3039
-
3040
-
3041
- /**
3042
- * @param {string} value
3043
- * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
3044
- */
3045
- proto.trb.indicators.v1.SchedulerTarget.prototype.setUid = function(value) {
3046
- return jspb.Message.setProto3StringField(this, 1, value);
3047
- };
3048
-
3049
-
3050
- /**
3051
- * optional int32 interval = 2;
3052
- * @return {number}
3053
- */
3054
- proto.trb.indicators.v1.SchedulerTarget.prototype.getInterval = function() {
3055
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3056
- };
3057
-
3058
-
3059
- /**
3060
- * @param {number} value
3061
- * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
3062
- */
3063
- proto.trb.indicators.v1.SchedulerTarget.prototype.setInterval = function(value) {
3064
- return jspb.Message.setProto3IntField(this, 2, value);
3065
- };
3066
-
3067
-
3068
- /**
3069
- * optional string indicator = 3;
3070
- * @return {string}
2673
+ * optional IndicatorType type = 1;
2674
+ * @return {!proto.trb.indicators.v1.IndicatorType}
3071
2675
  */
3072
- proto.trb.indicators.v1.SchedulerTarget.prototype.getIndicator = function() {
3073
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2676
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getType = function() {
2677
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3074
2678
  };
3075
2679
 
3076
2680
 
3077
2681
  /**
3078
- * @param {string} value
3079
- * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2682
+ * @param {!proto.trb.indicators.v1.IndicatorType} value
2683
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
3080
2684
  */
3081
- proto.trb.indicators.v1.SchedulerTarget.prototype.setIndicator = function(value) {
3082
- return jspb.Message.setProto3StringField(this, 3, value);
2685
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setType = function(value) {
2686
+ return jspb.Message.setProto3EnumField(this, 1, value);
3083
2687
  };
3084
2688
 
3085
2689
 
3086
2690
  /**
3087
- * map<string, double> params = 4;
2691
+ * map<string, double> params = 2;
3088
2692
  * @param {boolean=} opt_noLazyCreate Do not create the map if
3089
2693
  * empty, instead returning `undefined`
3090
2694
  * @return {!jspb.Map<string,number>}
3091
2695
  */
3092
- proto.trb.indicators.v1.SchedulerTarget.prototype.getParamsMap = function(opt_noLazyCreate) {
2696
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
3093
2697
  return /** @type {!jspb.Map<string,number>} */ (
3094
- jspb.Message.getMapField(this, 4, opt_noLazyCreate,
2698
+ jspb.Message.getMapField(this, 2, opt_noLazyCreate,
3095
2699
  null));
3096
2700
  };
3097
2701
 
3098
2702
 
3099
2703
  /**
3100
2704
  * Clears values from the map. The map will be non-null.
3101
- * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
2705
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
3102
2706
  */
3103
- proto.trb.indicators.v1.SchedulerTarget.prototype.clearParamsMap = function() {
2707
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearParamsMap = function() {
3104
2708
  this.getParamsMap().clear();
3105
2709
  return this;
3106
2710
  };
3107
2711
 
3108
2712
 
3109
2713
  /**
3110
- * optional bool enabled = 5;
3111
- * @return {boolean}
3112
- */
3113
- proto.trb.indicators.v1.SchedulerTarget.prototype.getEnabled = function() {
3114
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
3115
- };
3116
-
3117
-
3118
- /**
3119
- * @param {boolean} value
3120
- * @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
3121
- */
3122
- proto.trb.indicators.v1.SchedulerTarget.prototype.setEnabled = function(value) {
3123
- return jspb.Message.setProto3BooleanField(this, 5, value);
3124
- };
3125
-
3126
-
3127
-
3128
-
3129
-
3130
- if (jspb.Message.GENERATE_TO_OBJECT) {
3131
- /**
3132
- * Creates an object representation of this proto.
3133
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3134
- * Optional fields that are not set will be set to undefined.
3135
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3136
- * For the list of reserved names please see:
3137
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3138
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3139
- * JSPB instance for transitional soy proto support:
3140
- * http://goto/soy-param-migration
3141
- * @return {!Object}
3142
- */
3143
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
3144
- return proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject(opt_includeInstance, this);
3145
- };
3146
-
3147
-
3148
- /**
3149
- * Static version of the {@see toObject} method.
3150
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3151
- * the JSPB instance for transitional soy proto support:
3152
- * http://goto/soy-param-migration
3153
- * @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The msg instance to transform.
3154
- * @return {!Object}
3155
- * @suppress {unusedLocalVariables} f is only used for nested messages
2714
+ * repeated IndicatorPoint points = 3;
2715
+ * @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
3156
2716
  */
3157
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
3158
- var f, obj = {
3159
-
3160
- };
3161
-
3162
- if (includeInstance) {
3163
- obj.$jspbMessageInstance = msg;
3164
- }
3165
- return obj;
2717
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getPointsList = function() {
2718
+ return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
2719
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
3166
2720
  };
3167
- }
3168
2721
 
3169
2722
 
3170
2723
  /**
3171
- * Deserializes binary data (in protobuf wire format).
3172
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3173
- * @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
3174
- */
3175
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinary = function(bytes) {
3176
- var reader = new jspb.BinaryReader(bytes);
3177
- var msg = new proto.trb.indicators.v1.ListSchedulerTargetsRequest;
3178
- return proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
2724
+ * @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
2725
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
2726
+ */
2727
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setPointsList = function(value) {
2728
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3179
2729
  };
3180
2730
 
3181
2731
 
3182
2732
  /**
3183
- * Deserializes binary data (in protobuf wire format) from the
3184
- * given reader into the given message object.
3185
- * @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The message object to deserialize into.
3186
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3187
- * @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
2733
+ * @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
2734
+ * @param {number=} opt_index
2735
+ * @return {!proto.trb.indicators.v1.IndicatorPoint}
3188
2736
  */
3189
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
3190
- while (reader.nextField()) {
3191
- if (reader.isEndGroup()) {
3192
- break;
3193
- }
3194
- var field = reader.getFieldNumber();
3195
- switch (field) {
3196
- default:
3197
- reader.skipField();
3198
- break;
3199
- }
3200
- }
3201
- return msg;
2737
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.addPoints = function(opt_value, opt_index) {
2738
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
3202
2739
  };
3203
2740
 
3204
2741
 
3205
2742
  /**
3206
- * Serializes the message to binary data (in protobuf wire format).
3207
- * @return {!Uint8Array}
2743
+ * Clears the list making it empty but non-null.
2744
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
3208
2745
  */
3209
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.serializeBinary = function() {
3210
- var writer = new jspb.BinaryWriter();
3211
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
3212
- return writer.getResultBuffer();
2746
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearPointsList = function() {
2747
+ return this.setPointsList([]);
3213
2748
  };
3214
2749
 
3215
2750
 
3216
2751
  /**
3217
- * Serializes the given message to binary data (in protobuf wire
3218
- * format), writing to the given BinaryWriter.
3219
- * @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} message
3220
- * @param {!jspb.BinaryWriter} writer
3221
- * @suppress {unusedLocalVariables} f is only used for nested messages
2752
+ * optional bool has_more = 4;
2753
+ * @return {boolean}
3222
2754
  */
3223
- proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
3224
- var f = undefined;
2755
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getHasMore = function() {
2756
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
3225
2757
  };
3226
2758
 
3227
2759
 
3228
-
3229
2760
  /**
3230
- * List of repeated fields within this message type.
3231
- * @private {!Array<number>}
3232
- * @const
2761
+ * @param {boolean} value
2762
+ * @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
3233
2763
  */
3234
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_ = [1];
2764
+ proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setHasMore = function(value) {
2765
+ return jspb.Message.setProto3BooleanField(this, 4, value);
2766
+ };
2767
+
2768
+
3235
2769
 
3236
2770
 
3237
2771
 
@@ -3248,8 +2782,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3248
2782
  * http://goto/soy-param-migration
3249
2783
  * @return {!Object}
3250
2784
  */
3251
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
3252
- return proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject(opt_includeInstance, this);
2785
+ proto.trb.indicators.v1.IndicatorInfo.prototype.toObject = function(opt_includeInstance) {
2786
+ return proto.trb.indicators.v1.IndicatorInfo.toObject(opt_includeInstance, this);
3253
2787
  };
3254
2788
 
3255
2789
 
@@ -3258,14 +2792,16 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.toObject = functi
3258
2792
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3259
2793
  * the JSPB instance for transitional soy proto support:
3260
2794
  * http://goto/soy-param-migration
3261
- * @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The msg instance to transform.
2795
+ * @param {!proto.trb.indicators.v1.IndicatorInfo} msg The msg instance to transform.
3262
2796
  * @return {!Object}
3263
2797
  * @suppress {unusedLocalVariables} f is only used for nested messages
3264
2798
  */
3265
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
2799
+ proto.trb.indicators.v1.IndicatorInfo.toObject = function(includeInstance, msg) {
3266
2800
  var f, obj = {
3267
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
3268
- proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance)
2801
+ type: jspb.Message.getFieldWithDefault(msg, 1, 0),
2802
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
2803
+ minBars: jspb.Message.getFieldWithDefault(msg, 3, 0),
2804
+ defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance, undefined) : []
3269
2805
  };
3270
2806
 
3271
2807
  if (includeInstance) {
@@ -3279,23 +2815,23 @@ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
3279
2815
  /**
3280
2816
  * Deserializes binary data (in protobuf wire format).
3281
2817
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3282
- * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
2818
+ * @return {!proto.trb.indicators.v1.IndicatorInfo}
3283
2819
  */
3284
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinary = function(bytes) {
2820
+ proto.trb.indicators.v1.IndicatorInfo.deserializeBinary = function(bytes) {
3285
2821
  var reader = new jspb.BinaryReader(bytes);
3286
- var msg = new proto.trb.indicators.v1.ListSchedulerTargetsResponse;
3287
- return proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
2822
+ var msg = new proto.trb.indicators.v1.IndicatorInfo;
2823
+ return proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader(msg, reader);
3288
2824
  };
3289
2825
 
3290
2826
 
3291
2827
  /**
3292
2828
  * Deserializes binary data (in protobuf wire format) from the
3293
2829
  * given reader into the given message object.
3294
- * @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The message object to deserialize into.
2830
+ * @param {!proto.trb.indicators.v1.IndicatorInfo} msg The message object to deserialize into.
3295
2831
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3296
- * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
2832
+ * @return {!proto.trb.indicators.v1.IndicatorInfo}
3297
2833
  */
3298
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
2834
+ proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg, reader) {
3299
2835
  while (reader.nextField()) {
3300
2836
  if (reader.isEndGroup()) {
3301
2837
  break;
@@ -3303,9 +2839,22 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader
3303
2839
  var field = reader.getFieldNumber();
3304
2840
  switch (field) {
3305
2841
  case 1:
3306
- var value = new proto.trb.indicators.v1.SchedulerTarget;
3307
- reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
3308
- msg.addItems(value);
2842
+ var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
2843
+ msg.setType(value);
2844
+ break;
2845
+ case 2:
2846
+ var value = /** @type {string} */ (reader.readString());
2847
+ msg.setName(value);
2848
+ break;
2849
+ case 3:
2850
+ var value = /** @type {number} */ (reader.readInt32());
2851
+ msg.setMinBars(value);
2852
+ break;
2853
+ case 4:
2854
+ var value = msg.getDefaultParamsMap();
2855
+ reader.readMessage(value, function(message, reader) {
2856
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
2857
+ });
3309
2858
  break;
3310
2859
  default:
3311
2860
  reader.skipField();
@@ -3320,9 +2869,9 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader
3320
2869
  * Serializes the message to binary data (in protobuf wire format).
3321
2870
  * @return {!Uint8Array}
3322
2871
  */
3323
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.serializeBinary = function() {
2872
+ proto.trb.indicators.v1.IndicatorInfo.prototype.serializeBinary = function() {
3324
2873
  var writer = new jspb.BinaryWriter();
3325
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
2874
+ proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter(this, writer);
3326
2875
  return writer.getResultBuffer();
3327
2876
  };
3328
2877
 
@@ -3330,68 +2879,117 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.serializeBinary =
3330
2879
  /**
3331
2880
  * Serializes the given message to binary data (in protobuf wire
3332
2881
  * format), writing to the given BinaryWriter.
3333
- * @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} message
2882
+ * @param {!proto.trb.indicators.v1.IndicatorInfo} message
3334
2883
  * @param {!jspb.BinaryWriter} writer
3335
2884
  * @suppress {unusedLocalVariables} f is only used for nested messages
3336
2885
  */
3337
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
2886
+ proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter = function(message, writer) {
3338
2887
  var f = undefined;
3339
- f = message.getItemsList();
3340
- if (f.length > 0) {
3341
- writer.writeRepeatedMessage(
2888
+ f = message.getType();
2889
+ if (f !== 0.0) {
2890
+ writer.writeEnum(
3342
2891
  1,
3343
- f,
3344
- proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
2892
+ f
2893
+ );
2894
+ }
2895
+ f = message.getName();
2896
+ if (f.length > 0) {
2897
+ writer.writeString(
2898
+ 2,
2899
+ f
2900
+ );
2901
+ }
2902
+ f = message.getMinBars();
2903
+ if (f !== 0) {
2904
+ writer.writeInt32(
2905
+ 3,
2906
+ f
3345
2907
  );
3346
2908
  }
2909
+ f = message.getDefaultParamsMap(true);
2910
+ if (f && f.getLength() > 0) {
2911
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
2912
+ }
3347
2913
  };
3348
2914
 
3349
2915
 
3350
2916
  /**
3351
- * repeated SchedulerTarget items = 1;
3352
- * @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
2917
+ * optional IndicatorType type = 1;
2918
+ * @return {!proto.trb.indicators.v1.IndicatorType}
3353
2919
  */
3354
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.getItemsList = function() {
3355
- return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
3356
- jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
2920
+ proto.trb.indicators.v1.IndicatorInfo.prototype.getType = function() {
2921
+ return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3357
2922
  };
3358
2923
 
3359
2924
 
3360
2925
  /**
3361
- * @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
3362
- * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
3363
- */
3364
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.setItemsList = function(value) {
3365
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2926
+ * @param {!proto.trb.indicators.v1.IndicatorType} value
2927
+ * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
2928
+ */
2929
+ proto.trb.indicators.v1.IndicatorInfo.prototype.setType = function(value) {
2930
+ return jspb.Message.setProto3EnumField(this, 1, value);
3366
2931
  };
3367
2932
 
3368
2933
 
3369
2934
  /**
3370
- * @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
3371
- * @param {number=} opt_index
3372
- * @return {!proto.trb.indicators.v1.SchedulerTarget}
2935
+ * optional string name = 2;
2936
+ * @return {string}
3373
2937
  */
3374
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.addItems = function(opt_value, opt_index) {
3375
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
2938
+ proto.trb.indicators.v1.IndicatorInfo.prototype.getName = function() {
2939
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3376
2940
  };
3377
2941
 
3378
2942
 
3379
2943
  /**
3380
- * Clears the list making it empty but non-null.
3381
- * @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
2944
+ * @param {string} value
2945
+ * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
3382
2946
  */
3383
- proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.clearItemsList = function() {
3384
- return this.setItemsList([]);
2947
+ proto.trb.indicators.v1.IndicatorInfo.prototype.setName = function(value) {
2948
+ return jspb.Message.setProto3StringField(this, 2, value);
3385
2949
  };
3386
2950
 
3387
2951
 
2952
+ /**
2953
+ * optional int32 min_bars = 3;
2954
+ * @return {number}
2955
+ */
2956
+ proto.trb.indicators.v1.IndicatorInfo.prototype.getMinBars = function() {
2957
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2958
+ };
2959
+
3388
2960
 
3389
2961
  /**
3390
- * List of repeated fields within this message type.
3391
- * @private {!Array<number>}
3392
- * @const
2962
+ * @param {number} value
2963
+ * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
2964
+ */
2965
+ proto.trb.indicators.v1.IndicatorInfo.prototype.setMinBars = function(value) {
2966
+ return jspb.Message.setProto3IntField(this, 3, value);
2967
+ };
2968
+
2969
+
2970
+ /**
2971
+ * map<string, double> default_params = 4;
2972
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
2973
+ * empty, instead returning `undefined`
2974
+ * @return {!jspb.Map<string,number>}
2975
+ */
2976
+ proto.trb.indicators.v1.IndicatorInfo.prototype.getDefaultParamsMap = function(opt_noLazyCreate) {
2977
+ return /** @type {!jspb.Map<string,number>} */ (
2978
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
2979
+ null));
2980
+ };
2981
+
2982
+
2983
+ /**
2984
+ * Clears values from the map. The map will be non-null.
2985
+ * @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
3393
2986
  */
3394
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_ = [1];
2987
+ proto.trb.indicators.v1.IndicatorInfo.prototype.clearDefaultParamsMap = function() {
2988
+ this.getDefaultParamsMap().clear();
2989
+ return this;
2990
+ };
2991
+
2992
+
3395
2993
 
3396
2994
 
3397
2995
 
@@ -3408,8 +3006,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3408
3006
  * http://goto/soy-param-migration
3409
3007
  * @return {!Object}
3410
3008
  */
3411
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
3412
- return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject(opt_includeInstance, this);
3009
+ proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_includeInstance) {
3010
+ return proto.trb.indicators.v1.ListSupportedRequest.toObject(opt_includeInstance, this);
3413
3011
  };
3414
3012
 
3415
3013
 
@@ -3418,15 +3016,13 @@ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.toObject = functio
3418
3016
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3419
3017
  * the JSPB instance for transitional soy proto support:
3420
3018
  * http://goto/soy-param-migration
3421
- * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The msg instance to transform.
3019
+ * @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The msg instance to transform.
3422
3020
  * @return {!Object}
3423
3021
  * @suppress {unusedLocalVariables} f is only used for nested messages
3424
3022
  */
3425
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
3023
+ proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance, msg) {
3426
3024
  var f, obj = {
3427
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
3428
- proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance),
3429
- allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
3025
+
3430
3026
  };
3431
3027
 
3432
3028
  if (includeInstance) {
@@ -3440,38 +3036,29 @@ allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
3440
3036
  /**
3441
3037
  * Deserializes binary data (in protobuf wire format).
3442
3038
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3443
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
3039
+ * @return {!proto.trb.indicators.v1.ListSupportedRequest}
3444
3040
  */
3445
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinary = function(bytes) {
3041
+ proto.trb.indicators.v1.ListSupportedRequest.deserializeBinary = function(bytes) {
3446
3042
  var reader = new jspb.BinaryReader(bytes);
3447
- var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsRequest;
3448
- return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
3043
+ var msg = new proto.trb.indicators.v1.ListSupportedRequest;
3044
+ return proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader(msg, reader);
3449
3045
  };
3450
3046
 
3451
3047
 
3452
3048
  /**
3453
3049
  * Deserializes binary data (in protobuf wire format) from the
3454
3050
  * given reader into the given message object.
3455
- * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The message object to deserialize into.
3051
+ * @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The message object to deserialize into.
3456
3052
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3457
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
3053
+ * @return {!proto.trb.indicators.v1.ListSupportedRequest}
3458
3054
  */
3459
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
3055
+ proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = function(msg, reader) {
3460
3056
  while (reader.nextField()) {
3461
3057
  if (reader.isEndGroup()) {
3462
3058
  break;
3463
3059
  }
3464
3060
  var field = reader.getFieldNumber();
3465
3061
  switch (field) {
3466
- case 1:
3467
- var value = new proto.trb.indicators.v1.SchedulerTarget;
3468
- reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
3469
- msg.addItems(value);
3470
- break;
3471
- case 2:
3472
- var value = /** @type {boolean} */ (reader.readBool());
3473
- msg.setAllowEmpty(value);
3474
- break;
3475
3062
  default:
3476
3063
  reader.skipField();
3477
3064
  break;
@@ -3485,9 +3072,9 @@ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader
3485
3072
  * Serializes the message to binary data (in protobuf wire format).
3486
3073
  * @return {!Uint8Array}
3487
3074
  */
3488
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.serializeBinary = function() {
3075
+ proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = function() {
3489
3076
  var writer = new jspb.BinaryWriter();
3490
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
3077
+ proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter(this, writer);
3491
3078
  return writer.getResultBuffer();
3492
3079
  };
3493
3080
 
@@ -3495,86 +3082,22 @@ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.serializeBinary =
3495
3082
  /**
3496
3083
  * Serializes the given message to binary data (in protobuf wire
3497
3084
  * format), writing to the given BinaryWriter.
3498
- * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} message
3085
+ * @param {!proto.trb.indicators.v1.ListSupportedRequest} message
3499
3086
  * @param {!jspb.BinaryWriter} writer
3500
3087
  * @suppress {unusedLocalVariables} f is only used for nested messages
3501
3088
  */
3502
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
3089
+ proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter = function(message, writer) {
3503
3090
  var f = undefined;
3504
- f = message.getItemsList();
3505
- if (f.length > 0) {
3506
- writer.writeRepeatedMessage(
3507
- 1,
3508
- f,
3509
- proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
3510
- );
3511
- }
3512
- f = message.getAllowEmpty();
3513
- if (f) {
3514
- writer.writeBool(
3515
- 2,
3516
- f
3517
- );
3518
- }
3519
- };
3520
-
3521
-
3522
- /**
3523
- * repeated SchedulerTarget items = 1;
3524
- * @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
3525
- */
3526
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getItemsList = function() {
3527
- return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
3528
- jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
3529
- };
3530
-
3531
-
3532
- /**
3533
- * @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
3534
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
3535
- */
3536
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setItemsList = function(value) {
3537
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
3538
- };
3539
-
3540
-
3541
- /**
3542
- * @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
3543
- * @param {number=} opt_index
3544
- * @return {!proto.trb.indicators.v1.SchedulerTarget}
3545
- */
3546
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.addItems = function(opt_value, opt_index) {
3547
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
3548
3091
  };
3549
3092
 
3550
3093
 
3551
- /**
3552
- * Clears the list making it empty but non-null.
3553
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
3554
- */
3555
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.clearItemsList = function() {
3556
- return this.setItemsList([]);
3557
- };
3558
-
3559
-
3560
- /**
3561
- * optional bool allow_empty = 2;
3562
- * @return {boolean}
3563
- */
3564
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getAllowEmpty = function() {
3565
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
3566
- };
3567
-
3568
3094
 
3569
3095
  /**
3570
- * @param {boolean} value
3571
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
3096
+ * List of repeated fields within this message type.
3097
+ * @private {!Array<number>}
3098
+ * @const
3572
3099
  */
3573
- proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setAllowEmpty = function(value) {
3574
- return jspb.Message.setProto3BooleanField(this, 2, value);
3575
- };
3576
-
3577
-
3100
+ proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_ = [1];
3578
3101
 
3579
3102
 
3580
3103
 
@@ -3591,8 +3114,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3591
3114
  * http://goto/soy-param-migration
3592
3115
  * @return {!Object}
3593
3116
  */
3594
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
3595
- return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject(opt_includeInstance, this);
3117
+ proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_includeInstance) {
3118
+ return proto.trb.indicators.v1.ListSupportedResponse.toObject(opt_includeInstance, this);
3596
3119
  };
3597
3120
 
3598
3121
 
@@ -3601,13 +3124,14 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.toObject = functi
3601
3124
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3602
3125
  * the JSPB instance for transitional soy proto support:
3603
3126
  * http://goto/soy-param-migration
3604
- * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The msg instance to transform.
3127
+ * @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The msg instance to transform.
3605
3128
  * @return {!Object}
3606
3129
  * @suppress {unusedLocalVariables} f is only used for nested messages
3607
3130
  */
3608
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
3131
+ proto.trb.indicators.v1.ListSupportedResponse.toObject = function(includeInstance, msg) {
3609
3132
  var f, obj = {
3610
- count: jspb.Message.getFieldWithDefault(msg, 1, 0)
3133
+ indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
3134
+ proto.trb.indicators.v1.IndicatorInfo.toObject, includeInstance)
3611
3135
  };
3612
3136
 
3613
3137
  if (includeInstance) {
@@ -3621,23 +3145,23 @@ count: jspb.Message.getFieldWithDefault(msg, 1, 0)
3621
3145
  /**
3622
3146
  * Deserializes binary data (in protobuf wire format).
3623
3147
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3624
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
3148
+ * @return {!proto.trb.indicators.v1.ListSupportedResponse}
3625
3149
  */
3626
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinary = function(bytes) {
3150
+ proto.trb.indicators.v1.ListSupportedResponse.deserializeBinary = function(bytes) {
3627
3151
  var reader = new jspb.BinaryReader(bytes);
3628
- var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsResponse;
3629
- return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
3152
+ var msg = new proto.trb.indicators.v1.ListSupportedResponse;
3153
+ return proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader(msg, reader);
3630
3154
  };
3631
3155
 
3632
3156
 
3633
3157
  /**
3634
3158
  * Deserializes binary data (in protobuf wire format) from the
3635
3159
  * given reader into the given message object.
3636
- * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The message object to deserialize into.
3160
+ * @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The message object to deserialize into.
3637
3161
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3638
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
3162
+ * @return {!proto.trb.indicators.v1.ListSupportedResponse}
3639
3163
  */
3640
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
3164
+ proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = function(msg, reader) {
3641
3165
  while (reader.nextField()) {
3642
3166
  if (reader.isEndGroup()) {
3643
3167
  break;
@@ -3645,8 +3169,9 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader
3645
3169
  var field = reader.getFieldNumber();
3646
3170
  switch (field) {
3647
3171
  case 1:
3648
- var value = /** @type {number} */ (reader.readInt32());
3649
- msg.setCount(value);
3172
+ var value = new proto.trb.indicators.v1.IndicatorInfo;
3173
+ reader.readMessage(value,proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader);
3174
+ msg.addIndicators(value);
3650
3175
  break;
3651
3176
  default:
3652
3177
  reader.skipField();
@@ -3661,9 +3186,9 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader
3661
3186
  * Serializes the message to binary data (in protobuf wire format).
3662
3187
  * @return {!Uint8Array}
3663
3188
  */
3664
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.serializeBinary = function() {
3189
+ proto.trb.indicators.v1.ListSupportedResponse.prototype.serializeBinary = function() {
3665
3190
  var writer = new jspb.BinaryWriter();
3666
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
3191
+ proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter(this, writer);
3667
3192
  return writer.getResultBuffer();
3668
3193
  };
3669
3194
 
@@ -3671,37 +3196,58 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.serializeBinary =
3671
3196
  /**
3672
3197
  * Serializes the given message to binary data (in protobuf wire
3673
3198
  * format), writing to the given BinaryWriter.
3674
- * @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} message
3199
+ * @param {!proto.trb.indicators.v1.ListSupportedResponse} message
3675
3200
  * @param {!jspb.BinaryWriter} writer
3676
3201
  * @suppress {unusedLocalVariables} f is only used for nested messages
3677
3202
  */
3678
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
3203
+ proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter = function(message, writer) {
3679
3204
  var f = undefined;
3680
- f = message.getCount();
3681
- if (f !== 0) {
3682
- writer.writeInt32(
3205
+ f = message.getIndicatorsList();
3206
+ if (f.length > 0) {
3207
+ writer.writeRepeatedMessage(
3683
3208
  1,
3684
- f
3209
+ f,
3210
+ proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter
3685
3211
  );
3686
3212
  }
3687
3213
  };
3688
3214
 
3689
3215
 
3690
3216
  /**
3691
- * optional int32 count = 1;
3692
- * @return {number}
3217
+ * repeated IndicatorInfo indicators = 1;
3218
+ * @return {!Array<!proto.trb.indicators.v1.IndicatorInfo>}
3693
3219
  */
3694
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.getCount = function() {
3695
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3220
+ proto.trb.indicators.v1.ListSupportedResponse.prototype.getIndicatorsList = function() {
3221
+ return /** @type{!Array<!proto.trb.indicators.v1.IndicatorInfo>} */ (
3222
+ jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorInfo, 1));
3696
3223
  };
3697
3224
 
3698
3225
 
3699
3226
  /**
3700
- * @param {number} value
3701
- * @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} returns this
3227
+ * @param {!Array<!proto.trb.indicators.v1.IndicatorInfo>} value
3228
+ * @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
3229
+ */
3230
+ proto.trb.indicators.v1.ListSupportedResponse.prototype.setIndicatorsList = function(value) {
3231
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3232
+ };
3233
+
3234
+
3235
+ /**
3236
+ * @param {!proto.trb.indicators.v1.IndicatorInfo=} opt_value
3237
+ * @param {number=} opt_index
3238
+ * @return {!proto.trb.indicators.v1.IndicatorInfo}
3702
3239
  */
3703
- proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.setCount = function(value) {
3704
- return jspb.Message.setProto3IntField(this, 1, value);
3240
+ proto.trb.indicators.v1.ListSupportedResponse.prototype.addIndicators = function(opt_value, opt_index) {
3241
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.IndicatorInfo, opt_index);
3242
+ };
3243
+
3244
+
3245
+ /**
3246
+ * Clears the list making it empty but non-null.
3247
+ * @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
3248
+ */
3249
+ proto.trb.indicators.v1.ListSupportedResponse.prototype.clearIndicatorsList = function() {
3250
+ return this.setIndicatorsList([]);
3705
3251
  };
3706
3252
 
3707
3253