@marleena/trb-proto 1.0.40 → 1.0.42
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.
|
@@ -32,8 +32,15 @@ goog.exportSymbol('proto.trb.indicators.v1.ComputeResponse', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorInfo', null, global);
|
|
33
33
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorPoint', null, global);
|
|
34
34
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorType', null, global);
|
|
35
|
+
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesRequest', null, global);
|
|
36
|
+
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);
|
|
35
39
|
goog.exportSymbol('proto.trb.indicators.v1.ListSupportedRequest', null, global);
|
|
36
40
|
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);
|
|
37
44
|
/**
|
|
38
45
|
* Generated by JsPbCodeGenerator.
|
|
39
46
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -97,6 +104,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
97
104
|
*/
|
|
98
105
|
proto.trb.indicators.v1.ComputeForInstrumentRequest.displayName = 'proto.trb.indicators.v1.ComputeForInstrumentRequest';
|
|
99
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Generated by JsPbCodeGenerator.
|
|
109
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
110
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
111
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
112
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
113
|
+
* valid.
|
|
114
|
+
* @extends {jspb.Message}
|
|
115
|
+
* @constructor
|
|
116
|
+
*/
|
|
117
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest = function(opt_data) {
|
|
118
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
119
|
+
};
|
|
120
|
+
goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesRequest, jspb.Message);
|
|
121
|
+
if (goog.DEBUG && !COMPILED) {
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @override
|
|
125
|
+
*/
|
|
126
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesRequest';
|
|
127
|
+
}
|
|
100
128
|
/**
|
|
101
129
|
* Generated by JsPbCodeGenerator.
|
|
102
130
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -139,6 +167,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
139
167
|
*/
|
|
140
168
|
proto.trb.indicators.v1.ComputeResponse.displayName = 'proto.trb.indicators.v1.ComputeResponse';
|
|
141
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* Generated by JsPbCodeGenerator.
|
|
172
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
173
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
174
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
175
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
176
|
+
* valid.
|
|
177
|
+
* @extends {jspb.Message}
|
|
178
|
+
* @constructor
|
|
179
|
+
*/
|
|
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);
|
|
182
|
+
};
|
|
183
|
+
goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesResponse, jspb.Message);
|
|
184
|
+
if (goog.DEBUG && !COMPILED) {
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @override
|
|
188
|
+
*/
|
|
189
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesResponse';
|
|
190
|
+
}
|
|
142
191
|
/**
|
|
143
192
|
* Generated by JsPbCodeGenerator.
|
|
144
193
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -202,6 +251,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
202
251
|
*/
|
|
203
252
|
proto.trb.indicators.v1.ListSupportedResponse.displayName = 'proto.trb.indicators.v1.ListSupportedResponse';
|
|
204
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Generated by JsPbCodeGenerator.
|
|
256
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
257
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
258
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
259
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
260
|
+
* valid.
|
|
261
|
+
* @extends {jspb.Message}
|
|
262
|
+
* @constructor
|
|
263
|
+
*/
|
|
264
|
+
proto.trb.indicators.v1.SchedulerTarget = function(opt_data) {
|
|
265
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
266
|
+
};
|
|
267
|
+
goog.inherits(proto.trb.indicators.v1.SchedulerTarget, jspb.Message);
|
|
268
|
+
if (goog.DEBUG && !COMPILED) {
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
* @override
|
|
272
|
+
*/
|
|
273
|
+
proto.trb.indicators.v1.SchedulerTarget.displayName = 'proto.trb.indicators.v1.SchedulerTarget';
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Generated by JsPbCodeGenerator.
|
|
277
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
278
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
279
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
280
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
281
|
+
* valid.
|
|
282
|
+
* @extends {jspb.Message}
|
|
283
|
+
* @constructor
|
|
284
|
+
*/
|
|
285
|
+
proto.trb.indicators.v1.ListSchedulerTargetsRequest = function(opt_data) {
|
|
286
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
287
|
+
};
|
|
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);
|
|
310
|
+
if (goog.DEBUG && !COMPILED) {
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* @override
|
|
314
|
+
*/
|
|
315
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsResponse';
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Generated by JsPbCodeGenerator.
|
|
319
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
320
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
321
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
322
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
323
|
+
* valid.
|
|
324
|
+
* @extends {jspb.Message}
|
|
325
|
+
* @constructor
|
|
326
|
+
*/
|
|
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);
|
|
329
|
+
};
|
|
330
|
+
goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsRequest, jspb.Message);
|
|
331
|
+
if (goog.DEBUG && !COMPILED) {
|
|
332
|
+
/**
|
|
333
|
+
* @public
|
|
334
|
+
* @override
|
|
335
|
+
*/
|
|
336
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsRequest';
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Generated by JsPbCodeGenerator.
|
|
340
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
341
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
342
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
343
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
344
|
+
* valid.
|
|
345
|
+
* @extends {jspb.Message}
|
|
346
|
+
* @constructor
|
|
347
|
+
*/
|
|
348
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse = function(opt_data) {
|
|
349
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
350
|
+
};
|
|
351
|
+
goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsResponse, jspb.Message);
|
|
352
|
+
if (goog.DEBUG && !COMPILED) {
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
* @override
|
|
356
|
+
*/
|
|
357
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsResponse';
|
|
358
|
+
}
|
|
205
359
|
|
|
206
360
|
|
|
207
361
|
|
|
@@ -765,7 +919,8 @@ from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(inc
|
|
|
765
919
|
to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
766
920
|
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
767
921
|
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
768
|
-
persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
922
|
+
persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
923
|
+
maxResponsePoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
|
|
769
924
|
};
|
|
770
925
|
|
|
771
926
|
if (includeInstance) {
|
|
@@ -834,6 +989,10 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader
|
|
|
834
989
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
835
990
|
msg.setPersist(value);
|
|
836
991
|
break;
|
|
992
|
+
case 8:
|
|
993
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
994
|
+
msg.setMaxResponsePoints(value);
|
|
995
|
+
break;
|
|
837
996
|
default:
|
|
838
997
|
reader.skipField();
|
|
839
998
|
break;
|
|
@@ -911,6 +1070,13 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = fu
|
|
|
911
1070
|
f
|
|
912
1071
|
);
|
|
913
1072
|
}
|
|
1073
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
1074
|
+
if (f != null) {
|
|
1075
|
+
writer.writeInt32(
|
|
1076
|
+
8,
|
|
1077
|
+
f
|
|
1078
|
+
);
|
|
1079
|
+
}
|
|
914
1080
|
};
|
|
915
1081
|
|
|
916
1082
|
|
|
@@ -1083,6 +1249,42 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setPersist = funct
|
|
|
1083
1249
|
};
|
|
1084
1250
|
|
|
1085
1251
|
|
|
1252
|
+
/**
|
|
1253
|
+
* optional int32 max_response_points = 8;
|
|
1254
|
+
* @return {number}
|
|
1255
|
+
*/
|
|
1256
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getMaxResponsePoints = function() {
|
|
1257
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* @param {number} value
|
|
1263
|
+
* @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
|
|
1264
|
+
*/
|
|
1265
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setMaxResponsePoints = function(value) {
|
|
1266
|
+
return jspb.Message.setField(this, 8, value);
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
|
|
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
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Returns whether this field is set.
|
|
1281
|
+
* @return {boolean}
|
|
1282
|
+
*/
|
|
1283
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasMaxResponsePoints = function() {
|
|
1284
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
|
|
1086
1288
|
|
|
1087
1289
|
|
|
1088
1290
|
|
|
@@ -1099,8 +1301,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1099
1301
|
* http://goto/soy-param-migration
|
|
1100
1302
|
* @return {!Object}
|
|
1101
1303
|
*/
|
|
1102
|
-
proto.trb.indicators.v1.
|
|
1103
|
-
return proto.trb.indicators.v1.
|
|
1304
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1305
|
+
return proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject(opt_includeInstance, this);
|
|
1104
1306
|
};
|
|
1105
1307
|
|
|
1106
1308
|
|
|
@@ -1109,14 +1311,20 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_include
|
|
|
1109
1311
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1110
1312
|
* the JSPB instance for transitional soy proto support:
|
|
1111
1313
|
* http://goto/soy-param-migration
|
|
1112
|
-
* @param {!proto.trb.indicators.v1.
|
|
1314
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The msg instance to transform.
|
|
1113
1315
|
* @return {!Object}
|
|
1114
1316
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1115
1317
|
*/
|
|
1116
|
-
proto.trb.indicators.v1.
|
|
1318
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject = function(includeInstance, msg) {
|
|
1117
1319
|
var f, obj = {
|
|
1118
|
-
|
|
1119
|
-
|
|
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)
|
|
1120
1328
|
};
|
|
1121
1329
|
|
|
1122
1330
|
if (includeInstance) {
|
|
@@ -1130,23 +1338,23 @@ valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : [
|
|
|
1130
1338
|
/**
|
|
1131
1339
|
* Deserializes binary data (in protobuf wire format).
|
|
1132
1340
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1133
|
-
* @return {!proto.trb.indicators.v1.
|
|
1341
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
|
|
1134
1342
|
*/
|
|
1135
|
-
proto.trb.indicators.v1.
|
|
1343
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinary = function(bytes) {
|
|
1136
1344
|
var reader = new jspb.BinaryReader(bytes);
|
|
1137
|
-
var msg = new proto.trb.indicators.v1.
|
|
1138
|
-
return proto.trb.indicators.v1.
|
|
1345
|
+
var msg = new proto.trb.indicators.v1.ListIndicatorValuesRequest;
|
|
1346
|
+
return proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader(msg, reader);
|
|
1139
1347
|
};
|
|
1140
1348
|
|
|
1141
1349
|
|
|
1142
1350
|
/**
|
|
1143
1351
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1144
1352
|
* given reader into the given message object.
|
|
1145
|
-
* @param {!proto.trb.indicators.v1.
|
|
1353
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The message object to deserialize into.
|
|
1146
1354
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1147
|
-
* @return {!proto.trb.indicators.v1.
|
|
1355
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
|
|
1148
1356
|
*/
|
|
1149
|
-
proto.trb.indicators.v1.
|
|
1357
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1150
1358
|
while (reader.nextField()) {
|
|
1151
1359
|
if (reader.isEndGroup()) {
|
|
1152
1360
|
break;
|
|
@@ -1154,16 +1362,42 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
|
|
|
1154
1362
|
var field = reader.getFieldNumber();
|
|
1155
1363
|
switch (field) {
|
|
1156
1364
|
case 1:
|
|
1365
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1366
|
+
msg.setUid(value);
|
|
1367
|
+
break;
|
|
1368
|
+
case 2:
|
|
1369
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1370
|
+
msg.setInterval(value);
|
|
1371
|
+
break;
|
|
1372
|
+
case 3:
|
|
1157
1373
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1158
1374
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1159
|
-
msg.
|
|
1375
|
+
msg.setFrom(value);
|
|
1160
1376
|
break;
|
|
1161
|
-
case
|
|
1162
|
-
var value =
|
|
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
|
+
var value = msg.getParamsMap();
|
|
1163
1388
|
reader.readMessage(value, function(message, reader) {
|
|
1164
1389
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1165
1390
|
});
|
|
1166
1391
|
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;
|
|
1167
1401
|
default:
|
|
1168
1402
|
reader.skipField();
|
|
1169
1403
|
break;
|
|
@@ -1177,9 +1411,9 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
|
|
|
1177
1411
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1178
1412
|
* @return {!Uint8Array}
|
|
1179
1413
|
*/
|
|
1180
|
-
proto.trb.indicators.v1.
|
|
1414
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.serializeBinary = function() {
|
|
1181
1415
|
var writer = new jspb.BinaryWriter();
|
|
1182
|
-
proto.trb.indicators.v1.
|
|
1416
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter(this, writer);
|
|
1183
1417
|
return writer.getResultBuffer();
|
|
1184
1418
|
};
|
|
1185
1419
|
|
|
@@ -1187,94 +1421,1455 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
|
|
|
1187
1421
|
/**
|
|
1188
1422
|
* Serializes the given message to binary data (in protobuf wire
|
|
1189
1423
|
* format), writing to the given BinaryWriter.
|
|
1190
|
-
* @param {!proto.trb.indicators.v1.
|
|
1424
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} message
|
|
1191
1425
|
* @param {!jspb.BinaryWriter} writer
|
|
1192
1426
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1193
1427
|
*/
|
|
1194
|
-
proto.trb.indicators.v1.
|
|
1428
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1195
1429
|
var f = undefined;
|
|
1196
|
-
f = message.
|
|
1430
|
+
f = message.getUid();
|
|
1431
|
+
if (f.length > 0) {
|
|
1432
|
+
writer.writeString(
|
|
1433
|
+
1,
|
|
1434
|
+
f
|
|
1435
|
+
);
|
|
1436
|
+
}
|
|
1437
|
+
f = message.getInterval();
|
|
1438
|
+
if (f !== 0) {
|
|
1439
|
+
writer.writeInt32(
|
|
1440
|
+
2,
|
|
1441
|
+
f
|
|
1442
|
+
);
|
|
1443
|
+
}
|
|
1444
|
+
f = message.getFrom();
|
|
1197
1445
|
if (f != null) {
|
|
1198
1446
|
writer.writeMessage(
|
|
1199
|
-
|
|
1447
|
+
3,
|
|
1200
1448
|
f,
|
|
1201
1449
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1202
1450
|
);
|
|
1203
1451
|
}
|
|
1204
|
-
f = message.
|
|
1452
|
+
f = message.getTo();
|
|
1453
|
+
if (f != null) {
|
|
1454
|
+
writer.writeMessage(
|
|
1455
|
+
4,
|
|
1456
|
+
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
|
|
1465
|
+
);
|
|
1466
|
+
}
|
|
1467
|
+
f = message.getParamsMap(true);
|
|
1205
1468
|
if (f && f.getLength() > 0) {
|
|
1206
|
-
f.serializeBinary(
|
|
1469
|
+
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1207
1470
|
}
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
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
|
+
);
|
|
1485
|
+
}
|
|
1486
|
+
};
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* optional string uid = 1;
|
|
1491
|
+
* @return {string}
|
|
1492
|
+
*/
|
|
1493
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getUid = function() {
|
|
1494
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1495
|
+
};
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* @param {string} value
|
|
1500
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1501
|
+
*/
|
|
1502
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setUid = function(value) {
|
|
1503
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* optional int32 interval = 2;
|
|
1509
|
+
* @return {number}
|
|
1510
|
+
*/
|
|
1511
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getInterval = function() {
|
|
1512
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
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);
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* optional google.protobuf.Timestamp from = 3;
|
|
1527
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1528
|
+
*/
|
|
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));
|
|
1532
|
+
};
|
|
1219
1533
|
|
|
1220
1534
|
|
|
1221
1535
|
/**
|
|
1222
1536
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1223
|
-
* @return {!proto.trb.indicators.v1.
|
|
1537
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1224
1538
|
*/
|
|
1225
|
-
proto.trb.indicators.v1.
|
|
1226
|
-
return jspb.Message.setWrapperField(this,
|
|
1539
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setFrom = function(value) {
|
|
1540
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1227
1541
|
};
|
|
1228
1542
|
|
|
1229
1543
|
|
|
1230
1544
|
/**
|
|
1231
1545
|
* Clears the message field making it undefined.
|
|
1232
|
-
* @return {!proto.trb.indicators.v1.
|
|
1546
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1233
1547
|
*/
|
|
1234
|
-
proto.trb.indicators.v1.
|
|
1235
|
-
return this.
|
|
1548
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearFrom = function() {
|
|
1549
|
+
return this.setFrom(undefined);
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Returns whether this field is set.
|
|
1555
|
+
* @return {boolean}
|
|
1556
|
+
*/
|
|
1557
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasFrom = function() {
|
|
1558
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
|
|
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
|
+
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
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);
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* Clears the message field making it undefined.
|
|
1583
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1584
|
+
*/
|
|
1585
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearTo = function() {
|
|
1586
|
+
return this.setTo(undefined);
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* Returns whether this field is set.
|
|
1592
|
+
* @return {boolean}
|
|
1593
|
+
*/
|
|
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);
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1753
|
+
* given reader into the given message object.
|
|
1754
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
|
|
1755
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1756
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
1757
|
+
*/
|
|
1758
|
+
proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
1759
|
+
while (reader.nextField()) {
|
|
1760
|
+
if (reader.isEndGroup()) {
|
|
1761
|
+
break;
|
|
1762
|
+
}
|
|
1763
|
+
var field = reader.getFieldNumber();
|
|
1764
|
+
switch (field) {
|
|
1765
|
+
case 1:
|
|
1766
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1767
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1768
|
+
msg.setTime(value);
|
|
1769
|
+
break;
|
|
1770
|
+
case 2:
|
|
1771
|
+
var value = msg.getValuesMap();
|
|
1772
|
+
reader.readMessage(value, function(message, reader) {
|
|
1773
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1774
|
+
});
|
|
1775
|
+
break;
|
|
1776
|
+
default:
|
|
1777
|
+
reader.skipField();
|
|
1778
|
+
break;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
return msg;
|
|
1782
|
+
};
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1787
|
+
* @return {!Uint8Array}
|
|
1788
|
+
*/
|
|
1789
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
|
|
1790
|
+
var writer = new jspb.BinaryWriter();
|
|
1791
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
|
|
1792
|
+
return writer.getResultBuffer();
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1798
|
+
* format), writing to the given BinaryWriter.
|
|
1799
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} message
|
|
1800
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1801
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1802
|
+
*/
|
|
1803
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
|
|
1804
|
+
var f = undefined;
|
|
1805
|
+
f = message.getTime();
|
|
1806
|
+
if (f != null) {
|
|
1807
|
+
writer.writeMessage(
|
|
1808
|
+
1,
|
|
1809
|
+
f,
|
|
1810
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1811
|
+
);
|
|
1812
|
+
}
|
|
1813
|
+
f = message.getValuesMap(true);
|
|
1814
|
+
if (f && f.getLength() > 0) {
|
|
1815
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1816
|
+
}
|
|
1817
|
+
};
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* optional google.protobuf.Timestamp time = 1;
|
|
1822
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1823
|
+
*/
|
|
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);
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Clears the message field making it undefined.
|
|
1841
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1842
|
+
*/
|
|
1843
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
|
|
1844
|
+
return this.setTime(undefined);
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Returns whether this field is set.
|
|
1850
|
+
* @return {boolean}
|
|
1851
|
+
*/
|
|
1852
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
|
|
1853
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1854
|
+
};
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
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>}
|
|
1862
|
+
*/
|
|
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));
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Clears values from the map. The map will be non-null.
|
|
1872
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1873
|
+
*/
|
|
1874
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
|
|
1875
|
+
this.getValuesMap().clear();
|
|
1876
|
+
return this;
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
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
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1891
|
+
/**
|
|
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}
|
|
1902
|
+
*/
|
|
1903
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1904
|
+
return proto.trb.indicators.v1.ComputeResponse.toObject(opt_includeInstance, this);
|
|
1905
|
+
};
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
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
|
|
1916
|
+
*/
|
|
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;
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1936
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1937
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse}
|
|
1938
|
+
*/
|
|
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);
|
|
1943
|
+
};
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
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;
|
|
1985
|
+
};
|
|
1986
|
+
|
|
1987
|
+
|
|
1988
|
+
/**
|
|
1989
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1990
|
+
* @return {!Uint8Array}
|
|
1991
|
+
*/
|
|
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();
|
|
1996
|
+
};
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
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
|
|
2005
|
+
*/
|
|
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
|
+
}
|
|
2034
|
+
};
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* optional IndicatorType type = 1;
|
|
2039
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
2040
|
+
*/
|
|
2041
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getType = function() {
|
|
2042
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2043
|
+
};
|
|
2044
|
+
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
2048
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2049
|
+
*/
|
|
2050
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.setType = function(value) {
|
|
2051
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* map<string, double> params = 2;
|
|
2057
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
2058
|
+
* empty, instead returning `undefined`
|
|
2059
|
+
* @return {!jspb.Map<string,number>}
|
|
2060
|
+
*/
|
|
2061
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
2062
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
2063
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
2064
|
+
null));
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Clears values from the map. The map will be non-null.
|
|
2070
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2071
|
+
*/
|
|
2072
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.clearParamsMap = function() {
|
|
2073
|
+
this.getParamsMap().clear();
|
|
2074
|
+
return this;
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* repeated IndicatorPoint points = 3;
|
|
2080
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
|
|
2081
|
+
*/
|
|
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));
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
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);
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
|
|
2099
|
+
* @param {number=} opt_index
|
|
2100
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
2101
|
+
*/
|
|
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);
|
|
2104
|
+
};
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* Clears the list making it empty but non-null.
|
|
2109
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2110
|
+
*/
|
|
2111
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.clearPointsList = function() {
|
|
2112
|
+
return this.setPointsList([]);
|
|
2113
|
+
};
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* optional int32 total_points = 4;
|
|
2118
|
+
* @return {number}
|
|
2119
|
+
*/
|
|
2120
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getTotalPoints = function() {
|
|
2121
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* @param {number} value
|
|
2127
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2128
|
+
*/
|
|
2129
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.setTotalPoints = function(value) {
|
|
2130
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
|
|
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
|
+
|
|
2143
|
+
|
|
2144
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2145
|
+
/**
|
|
2146
|
+
* Creates an object representation of this proto.
|
|
2147
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2148
|
+
* Optional fields that are not set will be set to undefined.
|
|
2149
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2150
|
+
* For the list of reserved names please see:
|
|
2151
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2152
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2153
|
+
* JSPB instance for transitional soy proto support:
|
|
2154
|
+
* http://goto/soy-param-migration
|
|
2155
|
+
* @return {!Object}
|
|
2156
|
+
*/
|
|
2157
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2158
|
+
return proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject(opt_includeInstance, this);
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* Static version of the {@see toObject} method.
|
|
2164
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2165
|
+
* the JSPB instance for transitional soy proto support:
|
|
2166
|
+
* http://goto/soy-param-migration
|
|
2167
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The msg instance to transform.
|
|
2168
|
+
* @return {!Object}
|
|
2169
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2170
|
+
*/
|
|
2171
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject = function(includeInstance, msg) {
|
|
2172
|
+
var f, obj = {
|
|
2173
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2174
|
+
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)
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
if (includeInstance) {
|
|
2181
|
+
obj.$jspbMessageInstance = msg;
|
|
2182
|
+
}
|
|
2183
|
+
return obj;
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2190
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2191
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
|
|
2192
|
+
*/
|
|
2193
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinary = function(bytes) {
|
|
2194
|
+
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);
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2202
|
+
* given reader into the given message object.
|
|
2203
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The message object to deserialize into.
|
|
2204
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2205
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
|
|
2206
|
+
*/
|
|
2207
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2208
|
+
while (reader.nextField()) {
|
|
2209
|
+
if (reader.isEndGroup()) {
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
var field = reader.getFieldNumber();
|
|
2213
|
+
switch (field) {
|
|
2214
|
+
case 1:
|
|
2215
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
2216
|
+
msg.setType(value);
|
|
2217
|
+
break;
|
|
2218
|
+
case 2:
|
|
2219
|
+
var value = msg.getParamsMap();
|
|
2220
|
+
reader.readMessage(value, function(message, reader) {
|
|
2221
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
2222
|
+
});
|
|
2223
|
+
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);
|
|
2228
|
+
break;
|
|
2229
|
+
case 4:
|
|
2230
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2231
|
+
msg.setHasMore(value);
|
|
2232
|
+
break;
|
|
2233
|
+
default:
|
|
2234
|
+
reader.skipField();
|
|
2235
|
+
break;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
return msg;
|
|
2239
|
+
};
|
|
2240
|
+
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2244
|
+
* @return {!Uint8Array}
|
|
2245
|
+
*/
|
|
2246
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.serializeBinary = function() {
|
|
2247
|
+
var writer = new jspb.BinaryWriter();
|
|
2248
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter(this, writer);
|
|
2249
|
+
return writer.getResultBuffer();
|
|
2250
|
+
};
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2255
|
+
* format), writing to the given BinaryWriter.
|
|
2256
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} message
|
|
2257
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2259
|
+
*/
|
|
2260
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2261
|
+
var f = undefined;
|
|
2262
|
+
f = message.getType();
|
|
2263
|
+
if (f !== 0.0) {
|
|
2264
|
+
writer.writeEnum(
|
|
2265
|
+
1,
|
|
2266
|
+
f
|
|
2267
|
+
);
|
|
2268
|
+
}
|
|
2269
|
+
f = message.getParamsMap(true);
|
|
2270
|
+
if (f && f.getLength() > 0) {
|
|
2271
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
2272
|
+
}
|
|
2273
|
+
f = message.getPointsList();
|
|
2274
|
+
if (f.length > 0) {
|
|
2275
|
+
writer.writeRepeatedMessage(
|
|
2276
|
+
3,
|
|
2277
|
+
f,
|
|
2278
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
|
|
2279
|
+
);
|
|
2280
|
+
}
|
|
2281
|
+
f = message.getHasMore();
|
|
2282
|
+
if (f) {
|
|
2283
|
+
writer.writeBool(
|
|
2284
|
+
4,
|
|
2285
|
+
f
|
|
2286
|
+
);
|
|
2287
|
+
}
|
|
2288
|
+
};
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
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
|
|
2303
|
+
*/
|
|
2304
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setType = function(value) {
|
|
2305
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
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>}
|
|
2314
|
+
*/
|
|
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));
|
|
2319
|
+
};
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* Clears values from the map. The map will be non-null.
|
|
2324
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2325
|
+
*/
|
|
2326
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearParamsMap = function() {
|
|
2327
|
+
this.getParamsMap().clear();
|
|
2328
|
+
return this;
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* repeated IndicatorPoint points = 3;
|
|
2334
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
|
|
2335
|
+
*/
|
|
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);
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
|
|
2353
|
+
* @param {number=} opt_index
|
|
2354
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
2355
|
+
*/
|
|
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);
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
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([]);
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* optional bool has_more = 4;
|
|
2372
|
+
* @return {boolean}
|
|
2373
|
+
*/
|
|
2374
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getHasMore = function() {
|
|
2375
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* @param {boolean} value
|
|
2381
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2382
|
+
*/
|
|
2383
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setHasMore = function(value) {
|
|
2384
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2392
|
+
/**
|
|
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}
|
|
2403
|
+
*/
|
|
2404
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.toObject = function(opt_includeInstance) {
|
|
2405
|
+
return proto.trb.indicators.v1.IndicatorInfo.toObject(opt_includeInstance, this);
|
|
2406
|
+
};
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
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;
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2436
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2437
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
2438
|
+
*/
|
|
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);
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
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}
|
|
2452
|
+
*/
|
|
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;
|
|
2484
|
+
};
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2489
|
+
* @return {!Uint8Array}
|
|
2490
|
+
*/
|
|
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();
|
|
2495
|
+
};
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
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
|
|
2504
|
+
*/
|
|
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
|
+
}
|
|
2532
|
+
};
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* optional IndicatorType type = 1;
|
|
2537
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
2538
|
+
*/
|
|
2539
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getType = function() {
|
|
2540
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2541
|
+
};
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
2546
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2547
|
+
*/
|
|
2548
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.setType = function(value) {
|
|
2549
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2550
|
+
};
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* optional string name = 2;
|
|
2555
|
+
* @return {string}
|
|
2556
|
+
*/
|
|
2557
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getName = function() {
|
|
2558
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2559
|
+
};
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* @param {string} value
|
|
2564
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2565
|
+
*/
|
|
2566
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.setName = function(value) {
|
|
2567
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2568
|
+
};
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* optional int32 min_bars = 3;
|
|
2573
|
+
* @return {number}
|
|
2574
|
+
*/
|
|
2575
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getMinBars = function() {
|
|
2576
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2577
|
+
};
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
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);
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
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>}
|
|
2594
|
+
*/
|
|
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));
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Clears values from the map. The map will be non-null.
|
|
2604
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2605
|
+
*/
|
|
2606
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.clearDefaultParamsMap = function() {
|
|
2607
|
+
this.getDefaultParamsMap().clear();
|
|
2608
|
+
return this;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2616
|
+
/**
|
|
2617
|
+
* Creates an object representation of this proto.
|
|
2618
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2619
|
+
* Optional fields that are not set will be set to undefined.
|
|
2620
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2621
|
+
* For the list of reserved names please see:
|
|
2622
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2623
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2624
|
+
* JSPB instance for transitional soy proto support:
|
|
2625
|
+
* http://goto/soy-param-migration
|
|
2626
|
+
* @return {!Object}
|
|
2627
|
+
*/
|
|
2628
|
+
proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2629
|
+
return proto.trb.indicators.v1.ListSupportedRequest.toObject(opt_includeInstance, this);
|
|
2630
|
+
};
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* Static version of the {@see toObject} method.
|
|
2635
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2636
|
+
* the JSPB instance for transitional soy proto support:
|
|
2637
|
+
* http://goto/soy-param-migration
|
|
2638
|
+
* @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The msg instance to transform.
|
|
2639
|
+
* @return {!Object}
|
|
2640
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2641
|
+
*/
|
|
2642
|
+
proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance, msg) {
|
|
2643
|
+
var f, obj = {
|
|
2644
|
+
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
if (includeInstance) {
|
|
2648
|
+
obj.$jspbMessageInstance = msg;
|
|
2649
|
+
}
|
|
2650
|
+
return obj;
|
|
2651
|
+
};
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2657
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2658
|
+
* @return {!proto.trb.indicators.v1.ListSupportedRequest}
|
|
2659
|
+
*/
|
|
2660
|
+
proto.trb.indicators.v1.ListSupportedRequest.deserializeBinary = function(bytes) {
|
|
2661
|
+
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);
|
|
2664
|
+
};
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2669
|
+
* given reader into the given message object.
|
|
2670
|
+
* @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The message object to deserialize into.
|
|
2671
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2672
|
+
* @return {!proto.trb.indicators.v1.ListSupportedRequest}
|
|
2673
|
+
*/
|
|
2674
|
+
proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2675
|
+
while (reader.nextField()) {
|
|
2676
|
+
if (reader.isEndGroup()) {
|
|
2677
|
+
break;
|
|
2678
|
+
}
|
|
2679
|
+
var field = reader.getFieldNumber();
|
|
2680
|
+
switch (field) {
|
|
2681
|
+
default:
|
|
2682
|
+
reader.skipField();
|
|
2683
|
+
break;
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
return msg;
|
|
2687
|
+
};
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2692
|
+
* @return {!Uint8Array}
|
|
2693
|
+
*/
|
|
2694
|
+
proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = function() {
|
|
2695
|
+
var writer = new jspb.BinaryWriter();
|
|
2696
|
+
proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter(this, writer);
|
|
2697
|
+
return writer.getResultBuffer();
|
|
2698
|
+
};
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
/**
|
|
2702
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2703
|
+
* format), writing to the given BinaryWriter.
|
|
2704
|
+
* @param {!proto.trb.indicators.v1.ListSupportedRequest} message
|
|
2705
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2706
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2707
|
+
*/
|
|
2708
|
+
proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2709
|
+
var f = undefined;
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* List of repeated fields within this message type.
|
|
2716
|
+
* @private {!Array<number>}
|
|
2717
|
+
* @const
|
|
2718
|
+
*/
|
|
2719
|
+
proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_ = [1];
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2724
|
+
/**
|
|
2725
|
+
* Creates an object representation of this proto.
|
|
2726
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2727
|
+
* Optional fields that are not set will be set to undefined.
|
|
2728
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2729
|
+
* For the list of reserved names please see:
|
|
2730
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2731
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2732
|
+
* JSPB instance for transitional soy proto support:
|
|
2733
|
+
* http://goto/soy-param-migration
|
|
2734
|
+
* @return {!Object}
|
|
2735
|
+
*/
|
|
2736
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2737
|
+
return proto.trb.indicators.v1.ListSupportedResponse.toObject(opt_includeInstance, this);
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* Static version of the {@see toObject} method.
|
|
2743
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2744
|
+
* the JSPB instance for transitional soy proto support:
|
|
2745
|
+
* http://goto/soy-param-migration
|
|
2746
|
+
* @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The msg instance to transform.
|
|
2747
|
+
* @return {!Object}
|
|
2748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2749
|
+
*/
|
|
2750
|
+
proto.trb.indicators.v1.ListSupportedResponse.toObject = function(includeInstance, msg) {
|
|
2751
|
+
var f, obj = {
|
|
2752
|
+
indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
|
|
2753
|
+
proto.trb.indicators.v1.IndicatorInfo.toObject, includeInstance)
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
if (includeInstance) {
|
|
2757
|
+
obj.$jspbMessageInstance = msg;
|
|
2758
|
+
}
|
|
2759
|
+
return obj;
|
|
2760
|
+
};
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2766
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2767
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse}
|
|
2768
|
+
*/
|
|
2769
|
+
proto.trb.indicators.v1.ListSupportedResponse.deserializeBinary = function(bytes) {
|
|
2770
|
+
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);
|
|
2773
|
+
};
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2778
|
+
* given reader into the given message object.
|
|
2779
|
+
* @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The message object to deserialize into.
|
|
2780
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2781
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse}
|
|
2782
|
+
*/
|
|
2783
|
+
proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2784
|
+
while (reader.nextField()) {
|
|
2785
|
+
if (reader.isEndGroup()) {
|
|
2786
|
+
break;
|
|
2787
|
+
}
|
|
2788
|
+
var field = reader.getFieldNumber();
|
|
2789
|
+
switch (field) {
|
|
2790
|
+
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);
|
|
2794
|
+
break;
|
|
2795
|
+
default:
|
|
2796
|
+
reader.skipField();
|
|
2797
|
+
break;
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
return msg;
|
|
2801
|
+
};
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
/**
|
|
2805
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2806
|
+
* @return {!Uint8Array}
|
|
2807
|
+
*/
|
|
2808
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.serializeBinary = function() {
|
|
2809
|
+
var writer = new jspb.BinaryWriter();
|
|
2810
|
+
proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter(this, writer);
|
|
2811
|
+
return writer.getResultBuffer();
|
|
2812
|
+
};
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
/**
|
|
2816
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2817
|
+
* format), writing to the given BinaryWriter.
|
|
2818
|
+
* @param {!proto.trb.indicators.v1.ListSupportedResponse} message
|
|
2819
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2820
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2821
|
+
*/
|
|
2822
|
+
proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2823
|
+
var f = undefined;
|
|
2824
|
+
f = message.getIndicatorsList();
|
|
2825
|
+
if (f.length > 0) {
|
|
2826
|
+
writer.writeRepeatedMessage(
|
|
2827
|
+
1,
|
|
2828
|
+
f,
|
|
2829
|
+
proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter
|
|
2830
|
+
);
|
|
2831
|
+
}
|
|
1236
2832
|
};
|
|
1237
2833
|
|
|
1238
2834
|
|
|
1239
2835
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @return {
|
|
2836
|
+
* repeated IndicatorInfo indicators = 1;
|
|
2837
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorInfo>}
|
|
1242
2838
|
*/
|
|
1243
|
-
proto.trb.indicators.v1.
|
|
1244
|
-
return
|
|
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));
|
|
1245
2842
|
};
|
|
1246
2843
|
|
|
1247
2844
|
|
|
1248
2845
|
/**
|
|
1249
|
-
*
|
|
1250
|
-
* @
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
|
|
1255
|
-
return /** @type {!jspb.Map<string,number>} */ (
|
|
1256
|
-
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
1257
|
-
null));
|
|
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);
|
|
1258
2851
|
};
|
|
1259
2852
|
|
|
1260
2853
|
|
|
1261
2854
|
/**
|
|
1262
|
-
*
|
|
1263
|
-
* @
|
|
2855
|
+
* @param {!proto.trb.indicators.v1.IndicatorInfo=} opt_value
|
|
2856
|
+
* @param {number=} opt_index
|
|
2857
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
1264
2858
|
*/
|
|
1265
|
-
proto.trb.indicators.v1.
|
|
1266
|
-
|
|
1267
|
-
return this;
|
|
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);
|
|
1268
2861
|
};
|
|
1269
2862
|
|
|
1270
2863
|
|
|
1271
|
-
|
|
1272
2864
|
/**
|
|
1273
|
-
*
|
|
1274
|
-
* @
|
|
1275
|
-
* @const
|
|
2865
|
+
* Clears the list making it empty but non-null.
|
|
2866
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
|
|
1276
2867
|
*/
|
|
1277
|
-
proto.trb.indicators.v1.
|
|
2868
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.clearIndicatorsList = function() {
|
|
2869
|
+
return this.setIndicatorsList([]);
|
|
2870
|
+
};
|
|
2871
|
+
|
|
2872
|
+
|
|
1278
2873
|
|
|
1279
2874
|
|
|
1280
2875
|
|
|
@@ -1291,8 +2886,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1291
2886
|
* http://goto/soy-param-migration
|
|
1292
2887
|
* @return {!Object}
|
|
1293
2888
|
*/
|
|
1294
|
-
proto.trb.indicators.v1.
|
|
1295
|
-
return proto.trb.indicators.v1.
|
|
2889
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.toObject = function(opt_includeInstance) {
|
|
2890
|
+
return proto.trb.indicators.v1.SchedulerTarget.toObject(opt_includeInstance, this);
|
|
1296
2891
|
};
|
|
1297
2892
|
|
|
1298
2893
|
|
|
@@ -1301,16 +2896,17 @@ proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includ
|
|
|
1301
2896
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1302
2897
|
* the JSPB instance for transitional soy proto support:
|
|
1303
2898
|
* http://goto/soy-param-migration
|
|
1304
|
-
* @param {!proto.trb.indicators.v1.
|
|
2899
|
+
* @param {!proto.trb.indicators.v1.SchedulerTarget} msg The msg instance to transform.
|
|
1305
2900
|
* @return {!Object}
|
|
1306
2901
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1307
2902
|
*/
|
|
1308
|
-
proto.trb.indicators.v1.
|
|
2903
|
+
proto.trb.indicators.v1.SchedulerTarget.toObject = function(includeInstance, msg) {
|
|
1309
2904
|
var f, obj = {
|
|
1310
|
-
|
|
2905
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2906
|
+
interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2907
|
+
indicator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1311
2908
|
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1312
|
-
|
|
1313
|
-
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance)
|
|
2909
|
+
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
1314
2910
|
};
|
|
1315
2911
|
|
|
1316
2912
|
if (includeInstance) {
|
|
@@ -1324,23 +2920,23 @@ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
|
1324
2920
|
/**
|
|
1325
2921
|
* Deserializes binary data (in protobuf wire format).
|
|
1326
2922
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1327
|
-
* @return {!proto.trb.indicators.v1.
|
|
2923
|
+
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
1328
2924
|
*/
|
|
1329
|
-
proto.trb.indicators.v1.
|
|
2925
|
+
proto.trb.indicators.v1.SchedulerTarget.deserializeBinary = function(bytes) {
|
|
1330
2926
|
var reader = new jspb.BinaryReader(bytes);
|
|
1331
|
-
var msg = new proto.trb.indicators.v1.
|
|
1332
|
-
return proto.trb.indicators.v1.
|
|
2927
|
+
var msg = new proto.trb.indicators.v1.SchedulerTarget;
|
|
2928
|
+
return proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader(msg, reader);
|
|
1333
2929
|
};
|
|
1334
2930
|
|
|
1335
2931
|
|
|
1336
2932
|
/**
|
|
1337
2933
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1338
2934
|
* given reader into the given message object.
|
|
1339
|
-
* @param {!proto.trb.indicators.v1.
|
|
2935
|
+
* @param {!proto.trb.indicators.v1.SchedulerTarget} msg The message object to deserialize into.
|
|
1340
2936
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1341
|
-
* @return {!proto.trb.indicators.v1.
|
|
2937
|
+
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
1342
2938
|
*/
|
|
1343
|
-
proto.trb.indicators.v1.
|
|
2939
|
+
proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(msg, reader) {
|
|
1344
2940
|
while (reader.nextField()) {
|
|
1345
2941
|
if (reader.isEndGroup()) {
|
|
1346
2942
|
break;
|
|
@@ -1348,19 +2944,26 @@ proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(m
|
|
|
1348
2944
|
var field = reader.getFieldNumber();
|
|
1349
2945
|
switch (field) {
|
|
1350
2946
|
case 1:
|
|
1351
|
-
var value = /** @type {
|
|
1352
|
-
msg.
|
|
2947
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2948
|
+
msg.setUid(value);
|
|
1353
2949
|
break;
|
|
1354
2950
|
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:
|
|
1355
2959
|
var value = msg.getParamsMap();
|
|
1356
2960
|
reader.readMessage(value, function(message, reader) {
|
|
1357
2961
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1358
2962
|
});
|
|
1359
2963
|
break;
|
|
1360
|
-
case
|
|
1361
|
-
var value =
|
|
1362
|
-
|
|
1363
|
-
msg.addPoints(value);
|
|
2964
|
+
case 5:
|
|
2965
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2966
|
+
msg.setEnabled(value);
|
|
1364
2967
|
break;
|
|
1365
2968
|
default:
|
|
1366
2969
|
reader.skipField();
|
|
@@ -1375,9 +2978,9 @@ proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(m
|
|
|
1375
2978
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1376
2979
|
* @return {!Uint8Array}
|
|
1377
2980
|
*/
|
|
1378
|
-
proto.trb.indicators.v1.
|
|
2981
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.serializeBinary = function() {
|
|
1379
2982
|
var writer = new jspb.BinaryWriter();
|
|
1380
|
-
proto.trb.indicators.v1.
|
|
2983
|
+
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter(this, writer);
|
|
1381
2984
|
return writer.getResultBuffer();
|
|
1382
2985
|
};
|
|
1383
2986
|
|
|
@@ -1385,114 +2988,251 @@ proto.trb.indicators.v1.ComputeResponse.prototype.serializeBinary = function() {
|
|
|
1385
2988
|
/**
|
|
1386
2989
|
* Serializes the given message to binary data (in protobuf wire
|
|
1387
2990
|
* format), writing to the given BinaryWriter.
|
|
1388
|
-
* @param {!proto.trb.indicators.v1.
|
|
2991
|
+
* @param {!proto.trb.indicators.v1.SchedulerTarget} message
|
|
1389
2992
|
* @param {!jspb.BinaryWriter} writer
|
|
1390
2993
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1391
2994
|
*/
|
|
1392
|
-
proto.trb.indicators.v1.
|
|
2995
|
+
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter = function(message, writer) {
|
|
1393
2996
|
var f = undefined;
|
|
1394
|
-
f = message.
|
|
1395
|
-
if (f
|
|
1396
|
-
writer.
|
|
2997
|
+
f = message.getUid();
|
|
2998
|
+
if (f.length > 0) {
|
|
2999
|
+
writer.writeString(
|
|
1397
3000
|
1,
|
|
1398
3001
|
f
|
|
1399
3002
|
);
|
|
1400
3003
|
}
|
|
1401
|
-
f = message.
|
|
1402
|
-
if (f
|
|
1403
|
-
|
|
3004
|
+
f = message.getInterval();
|
|
3005
|
+
if (f !== 0) {
|
|
3006
|
+
writer.writeInt32(
|
|
3007
|
+
2,
|
|
3008
|
+
f
|
|
3009
|
+
);
|
|
1404
3010
|
}
|
|
1405
|
-
f = message.
|
|
3011
|
+
f = message.getIndicator();
|
|
1406
3012
|
if (f.length > 0) {
|
|
1407
|
-
writer.
|
|
3013
|
+
writer.writeString(
|
|
1408
3014
|
3,
|
|
1409
|
-
f
|
|
1410
|
-
|
|
3015
|
+
f
|
|
3016
|
+
);
|
|
3017
|
+
}
|
|
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();
|
|
3023
|
+
if (f) {
|
|
3024
|
+
writer.writeBool(
|
|
3025
|
+
5,
|
|
3026
|
+
f
|
|
1411
3027
|
);
|
|
1412
3028
|
}
|
|
1413
3029
|
};
|
|
1414
3030
|
|
|
1415
3031
|
|
|
1416
3032
|
/**
|
|
1417
|
-
* optional
|
|
1418
|
-
* @return {
|
|
3033
|
+
* optional string uid = 1;
|
|
3034
|
+
* @return {string}
|
|
1419
3035
|
*/
|
|
1420
|
-
proto.trb.indicators.v1.
|
|
1421
|
-
return /** @type {
|
|
3036
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.getUid = function() {
|
|
3037
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1422
3038
|
};
|
|
1423
3039
|
|
|
1424
3040
|
|
|
1425
3041
|
/**
|
|
1426
|
-
* @param {
|
|
1427
|
-
* @return {!proto.trb.indicators.v1.
|
|
3042
|
+
* @param {string} value
|
|
3043
|
+
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
1428
3044
|
*/
|
|
1429
|
-
proto.trb.indicators.v1.
|
|
1430
|
-
return jspb.Message.
|
|
3045
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.setUid = function(value) {
|
|
3046
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1431
3047
|
};
|
|
1432
3048
|
|
|
1433
3049
|
|
|
1434
3050
|
/**
|
|
1435
|
-
*
|
|
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}
|
|
3071
|
+
*/
|
|
3072
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.getIndicator = function() {
|
|
3073
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3074
|
+
};
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* @param {string} value
|
|
3079
|
+
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
3080
|
+
*/
|
|
3081
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.setIndicator = function(value) {
|
|
3082
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3083
|
+
};
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* map<string, double> params = 4;
|
|
1436
3088
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1437
3089
|
* empty, instead returning `undefined`
|
|
1438
3090
|
* @return {!jspb.Map<string,number>}
|
|
1439
3091
|
*/
|
|
1440
|
-
proto.trb.indicators.v1.
|
|
3092
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
1441
3093
|
return /** @type {!jspb.Map<string,number>} */ (
|
|
1442
|
-
jspb.Message.getMapField(this,
|
|
3094
|
+
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
1443
3095
|
null));
|
|
1444
3096
|
};
|
|
1445
3097
|
|
|
1446
3098
|
|
|
1447
3099
|
/**
|
|
1448
3100
|
* Clears values from the map. The map will be non-null.
|
|
1449
|
-
* @return {!proto.trb.indicators.v1.
|
|
3101
|
+
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
1450
3102
|
*/
|
|
1451
|
-
proto.trb.indicators.v1.
|
|
3103
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.clearParamsMap = function() {
|
|
1452
3104
|
this.getParamsMap().clear();
|
|
1453
3105
|
return this;
|
|
1454
3106
|
};
|
|
1455
3107
|
|
|
1456
3108
|
|
|
1457
3109
|
/**
|
|
1458
|
-
*
|
|
1459
|
-
* @return {
|
|
3110
|
+
* optional bool enabled = 5;
|
|
3111
|
+
* @return {boolean}
|
|
1460
3112
|
*/
|
|
1461
|
-
proto.trb.indicators.v1.
|
|
1462
|
-
return /** @type{
|
|
1463
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
|
|
3113
|
+
proto.trb.indicators.v1.SchedulerTarget.prototype.getEnabled = function() {
|
|
3114
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
1464
3115
|
};
|
|
1465
3116
|
|
|
1466
3117
|
|
|
1467
3118
|
/**
|
|
1468
|
-
* @param {
|
|
1469
|
-
* @return {!proto.trb.indicators.v1.
|
|
1470
|
-
*/
|
|
1471
|
-
proto.trb.indicators.v1.
|
|
1472
|
-
return jspb.Message.
|
|
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);
|
|
1473
3124
|
};
|
|
1474
3125
|
|
|
1475
3126
|
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1476
3131
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
*
|
|
1479
|
-
*
|
|
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}
|
|
1480
3142
|
*/
|
|
1481
|
-
proto.trb.indicators.v1.
|
|
1482
|
-
return
|
|
3143
|
+
proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3144
|
+
return proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject(opt_includeInstance, this);
|
|
1483
3145
|
};
|
|
1484
3146
|
|
|
1485
3147
|
|
|
1486
3148
|
/**
|
|
1487
|
-
*
|
|
1488
|
-
* @
|
|
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
|
|
1489
3156
|
*/
|
|
1490
|
-
proto.trb.indicators.v1.
|
|
1491
|
-
|
|
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;
|
|
3166
|
+
};
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
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);
|
|
3179
|
+
};
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
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}
|
|
3188
|
+
*/
|
|
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;
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3207
|
+
* @return {!Uint8Array}
|
|
3208
|
+
*/
|
|
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();
|
|
3213
|
+
};
|
|
3214
|
+
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
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
|
|
3222
|
+
*/
|
|
3223
|
+
proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3224
|
+
var f = undefined;
|
|
1492
3225
|
};
|
|
1493
3226
|
|
|
1494
3227
|
|
|
1495
3228
|
|
|
3229
|
+
/**
|
|
3230
|
+
* List of repeated fields within this message type.
|
|
3231
|
+
* @private {!Array<number>}
|
|
3232
|
+
* @const
|
|
3233
|
+
*/
|
|
3234
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_ = [1];
|
|
3235
|
+
|
|
1496
3236
|
|
|
1497
3237
|
|
|
1498
3238
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1508,8 +3248,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1508
3248
|
* http://goto/soy-param-migration
|
|
1509
3249
|
* @return {!Object}
|
|
1510
3250
|
*/
|
|
1511
|
-
proto.trb.indicators.v1.
|
|
1512
|
-
return proto.trb.indicators.v1.
|
|
3251
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3252
|
+
return proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject(opt_includeInstance, this);
|
|
1513
3253
|
};
|
|
1514
3254
|
|
|
1515
3255
|
|
|
@@ -1518,16 +3258,14 @@ proto.trb.indicators.v1.IndicatorInfo.prototype.toObject = function(opt_includeI
|
|
|
1518
3258
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1519
3259
|
* the JSPB instance for transitional soy proto support:
|
|
1520
3260
|
* http://goto/soy-param-migration
|
|
1521
|
-
* @param {!proto.trb.indicators.v1.
|
|
3261
|
+
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The msg instance to transform.
|
|
1522
3262
|
* @return {!Object}
|
|
1523
3263
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1524
3264
|
*/
|
|
1525
|
-
proto.trb.indicators.v1.
|
|
3265
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
|
|
1526
3266
|
var f, obj = {
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
minBars: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1530
|
-
defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3267
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
3268
|
+
proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance)
|
|
1531
3269
|
};
|
|
1532
3270
|
|
|
1533
3271
|
if (includeInstance) {
|
|
@@ -1541,23 +3279,23 @@ defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance,
|
|
|
1541
3279
|
/**
|
|
1542
3280
|
* Deserializes binary data (in protobuf wire format).
|
|
1543
3281
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1544
|
-
* @return {!proto.trb.indicators.v1.
|
|
3282
|
+
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
|
|
1545
3283
|
*/
|
|
1546
|
-
proto.trb.indicators.v1.
|
|
3284
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinary = function(bytes) {
|
|
1547
3285
|
var reader = new jspb.BinaryReader(bytes);
|
|
1548
|
-
var msg = new proto.trb.indicators.v1.
|
|
1549
|
-
return proto.trb.indicators.v1.
|
|
3286
|
+
var msg = new proto.trb.indicators.v1.ListSchedulerTargetsResponse;
|
|
3287
|
+
return proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
1550
3288
|
};
|
|
1551
3289
|
|
|
1552
3290
|
|
|
1553
3291
|
/**
|
|
1554
3292
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1555
3293
|
* given reader into the given message object.
|
|
1556
|
-
* @param {!proto.trb.indicators.v1.
|
|
3294
|
+
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The message object to deserialize into.
|
|
1557
3295
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1558
|
-
* @return {!proto.trb.indicators.v1.
|
|
3296
|
+
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
|
|
1559
3297
|
*/
|
|
1560
|
-
proto.trb.indicators.v1.
|
|
3298
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1561
3299
|
while (reader.nextField()) {
|
|
1562
3300
|
if (reader.isEndGroup()) {
|
|
1563
3301
|
break;
|
|
@@ -1565,22 +3303,9 @@ proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg
|
|
|
1565
3303
|
var field = reader.getFieldNumber();
|
|
1566
3304
|
switch (field) {
|
|
1567
3305
|
case 1:
|
|
1568
|
-
var value =
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
case 2:
|
|
1572
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1573
|
-
msg.setName(value);
|
|
1574
|
-
break;
|
|
1575
|
-
case 3:
|
|
1576
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1577
|
-
msg.setMinBars(value);
|
|
1578
|
-
break;
|
|
1579
|
-
case 4:
|
|
1580
|
-
var value = msg.getDefaultParamsMap();
|
|
1581
|
-
reader.readMessage(value, function(message, reader) {
|
|
1582
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1583
|
-
});
|
|
3306
|
+
var value = new proto.trb.indicators.v1.SchedulerTarget;
|
|
3307
|
+
reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
|
|
3308
|
+
msg.addItems(value);
|
|
1584
3309
|
break;
|
|
1585
3310
|
default:
|
|
1586
3311
|
reader.skipField();
|
|
@@ -1595,9 +3320,9 @@ proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg
|
|
|
1595
3320
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1596
3321
|
* @return {!Uint8Array}
|
|
1597
3322
|
*/
|
|
1598
|
-
proto.trb.indicators.v1.
|
|
3323
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.serializeBinary = function() {
|
|
1599
3324
|
var writer = new jspb.BinaryWriter();
|
|
1600
|
-
proto.trb.indicators.v1.
|
|
3325
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
|
|
1601
3326
|
return writer.getResultBuffer();
|
|
1602
3327
|
};
|
|
1603
3328
|
|
|
@@ -1605,117 +3330,68 @@ proto.trb.indicators.v1.IndicatorInfo.prototype.serializeBinary = function() {
|
|
|
1605
3330
|
/**
|
|
1606
3331
|
* Serializes the given message to binary data (in protobuf wire
|
|
1607
3332
|
* format), writing to the given BinaryWriter.
|
|
1608
|
-
* @param {!proto.trb.indicators.v1.
|
|
3333
|
+
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} message
|
|
1609
3334
|
* @param {!jspb.BinaryWriter} writer
|
|
1610
3335
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1611
3336
|
*/
|
|
1612
|
-
proto.trb.indicators.v1.
|
|
3337
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1613
3338
|
var f = undefined;
|
|
1614
|
-
f = message.
|
|
1615
|
-
if (f !== 0.0) {
|
|
1616
|
-
writer.writeEnum(
|
|
1617
|
-
1,
|
|
1618
|
-
f
|
|
1619
|
-
);
|
|
1620
|
-
}
|
|
1621
|
-
f = message.getName();
|
|
3339
|
+
f = message.getItemsList();
|
|
1622
3340
|
if (f.length > 0) {
|
|
1623
|
-
writer.
|
|
1624
|
-
|
|
1625
|
-
f
|
|
1626
|
-
|
|
1627
|
-
}
|
|
1628
|
-
f = message.getMinBars();
|
|
1629
|
-
if (f !== 0) {
|
|
1630
|
-
writer.writeInt32(
|
|
1631
|
-
3,
|
|
1632
|
-
f
|
|
3341
|
+
writer.writeRepeatedMessage(
|
|
3342
|
+
1,
|
|
3343
|
+
f,
|
|
3344
|
+
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
|
|
1633
3345
|
);
|
|
1634
3346
|
}
|
|
1635
|
-
f = message.getDefaultParamsMap(true);
|
|
1636
|
-
if (f && f.getLength() > 0) {
|
|
1637
|
-
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1638
|
-
}
|
|
1639
|
-
};
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* optional IndicatorType type = 1;
|
|
1644
|
-
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
1645
|
-
*/
|
|
1646
|
-
proto.trb.indicators.v1.IndicatorInfo.prototype.getType = function() {
|
|
1647
|
-
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1648
|
-
};
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
/**
|
|
1652
|
-
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
1653
|
-
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
1654
|
-
*/
|
|
1655
|
-
proto.trb.indicators.v1.IndicatorInfo.prototype.setType = function(value) {
|
|
1656
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1657
3347
|
};
|
|
1658
3348
|
|
|
1659
3349
|
|
|
1660
3350
|
/**
|
|
1661
|
-
*
|
|
1662
|
-
* @return {
|
|
3351
|
+
* repeated SchedulerTarget items = 1;
|
|
3352
|
+
* @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
|
|
1663
3353
|
*/
|
|
1664
|
-
proto.trb.indicators.v1.
|
|
1665
|
-
return /** @type
|
|
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));
|
|
1666
3357
|
};
|
|
1667
3358
|
|
|
1668
3359
|
|
|
1669
3360
|
/**
|
|
1670
|
-
* @param {
|
|
1671
|
-
* @return {!proto.trb.indicators.v1.
|
|
1672
|
-
|
|
1673
|
-
proto.trb.indicators.v1.
|
|
1674
|
-
return jspb.Message.
|
|
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);
|
|
1675
3366
|
};
|
|
1676
3367
|
|
|
1677
3368
|
|
|
1678
3369
|
/**
|
|
1679
|
-
*
|
|
1680
|
-
* @
|
|
3370
|
+
* @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
|
|
3371
|
+
* @param {number=} opt_index
|
|
3372
|
+
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
1681
3373
|
*/
|
|
1682
|
-
proto.trb.indicators.v1.
|
|
1683
|
-
return
|
|
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);
|
|
1684
3376
|
};
|
|
1685
3377
|
|
|
1686
3378
|
|
|
1687
3379
|
/**
|
|
1688
|
-
*
|
|
1689
|
-
* @return {!proto.trb.indicators.v1.
|
|
3380
|
+
* Clears the list making it empty but non-null.
|
|
3381
|
+
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
|
|
1690
3382
|
*/
|
|
1691
|
-
proto.trb.indicators.v1.
|
|
1692
|
-
return
|
|
3383
|
+
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.clearItemsList = function() {
|
|
3384
|
+
return this.setItemsList([]);
|
|
1693
3385
|
};
|
|
1694
3386
|
|
|
1695
3387
|
|
|
1696
|
-
/**
|
|
1697
|
-
* map<string, double> default_params = 4;
|
|
1698
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1699
|
-
* empty, instead returning `undefined`
|
|
1700
|
-
* @return {!jspb.Map<string,number>}
|
|
1701
|
-
*/
|
|
1702
|
-
proto.trb.indicators.v1.IndicatorInfo.prototype.getDefaultParamsMap = function(opt_noLazyCreate) {
|
|
1703
|
-
return /** @type {!jspb.Map<string,number>} */ (
|
|
1704
|
-
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
1705
|
-
null));
|
|
1706
|
-
};
|
|
1707
|
-
|
|
1708
3388
|
|
|
1709
3389
|
/**
|
|
1710
|
-
*
|
|
1711
|
-
* @
|
|
3390
|
+
* List of repeated fields within this message type.
|
|
3391
|
+
* @private {!Array<number>}
|
|
3392
|
+
* @const
|
|
1712
3393
|
*/
|
|
1713
|
-
proto.trb.indicators.v1.
|
|
1714
|
-
this.getDefaultParamsMap().clear();
|
|
1715
|
-
return this;
|
|
1716
|
-
};
|
|
1717
|
-
|
|
1718
|
-
|
|
3394
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_ = [1];
|
|
1719
3395
|
|
|
1720
3396
|
|
|
1721
3397
|
|
|
@@ -1732,8 +3408,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1732
3408
|
* http://goto/soy-param-migration
|
|
1733
3409
|
* @return {!Object}
|
|
1734
3410
|
*/
|
|
1735
|
-
proto.trb.indicators.v1.
|
|
1736
|
-
return proto.trb.indicators.v1.
|
|
3411
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3412
|
+
return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject(opt_includeInstance, this);
|
|
1737
3413
|
};
|
|
1738
3414
|
|
|
1739
3415
|
|
|
@@ -1742,13 +3418,15 @@ proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_i
|
|
|
1742
3418
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1743
3419
|
* the JSPB instance for transitional soy proto support:
|
|
1744
3420
|
* http://goto/soy-param-migration
|
|
1745
|
-
* @param {!proto.trb.indicators.v1.
|
|
3421
|
+
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The msg instance to transform.
|
|
1746
3422
|
* @return {!Object}
|
|
1747
3423
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1748
3424
|
*/
|
|
1749
|
-
proto.trb.indicators.v1.
|
|
3425
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
|
|
1750
3426
|
var f, obj = {
|
|
1751
|
-
|
|
3427
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
3428
|
+
proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance),
|
|
3429
|
+
allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
1752
3430
|
};
|
|
1753
3431
|
|
|
1754
3432
|
if (includeInstance) {
|
|
@@ -1762,29 +3440,38 @@ proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance
|
|
|
1762
3440
|
/**
|
|
1763
3441
|
* Deserializes binary data (in protobuf wire format).
|
|
1764
3442
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1765
|
-
* @return {!proto.trb.indicators.v1.
|
|
3443
|
+
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
|
|
1766
3444
|
*/
|
|
1767
|
-
proto.trb.indicators.v1.
|
|
3445
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinary = function(bytes) {
|
|
1768
3446
|
var reader = new jspb.BinaryReader(bytes);
|
|
1769
|
-
var msg = new proto.trb.indicators.v1.
|
|
1770
|
-
return proto.trb.indicators.v1.
|
|
3447
|
+
var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsRequest;
|
|
3448
|
+
return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
1771
3449
|
};
|
|
1772
3450
|
|
|
1773
3451
|
|
|
1774
3452
|
/**
|
|
1775
3453
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1776
3454
|
* given reader into the given message object.
|
|
1777
|
-
* @param {!proto.trb.indicators.v1.
|
|
3455
|
+
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The message object to deserialize into.
|
|
1778
3456
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1779
|
-
* @return {!proto.trb.indicators.v1.
|
|
3457
|
+
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
|
|
1780
3458
|
*/
|
|
1781
|
-
proto.trb.indicators.v1.
|
|
3459
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1782
3460
|
while (reader.nextField()) {
|
|
1783
3461
|
if (reader.isEndGroup()) {
|
|
1784
3462
|
break;
|
|
1785
3463
|
}
|
|
1786
3464
|
var field = reader.getFieldNumber();
|
|
1787
3465
|
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;
|
|
1788
3475
|
default:
|
|
1789
3476
|
reader.skipField();
|
|
1790
3477
|
break;
|
|
@@ -1798,9 +3485,9 @@ proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = funct
|
|
|
1798
3485
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1799
3486
|
* @return {!Uint8Array}
|
|
1800
3487
|
*/
|
|
1801
|
-
proto.trb.indicators.v1.
|
|
3488
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.serializeBinary = function() {
|
|
1802
3489
|
var writer = new jspb.BinaryWriter();
|
|
1803
|
-
proto.trb.indicators.v1.
|
|
3490
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
|
|
1804
3491
|
return writer.getResultBuffer();
|
|
1805
3492
|
};
|
|
1806
3493
|
|
|
@@ -1808,22 +3495,86 @@ proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = functio
|
|
|
1808
3495
|
/**
|
|
1809
3496
|
* Serializes the given message to binary data (in protobuf wire
|
|
1810
3497
|
* format), writing to the given BinaryWriter.
|
|
1811
|
-
* @param {!proto.trb.indicators.v1.
|
|
3498
|
+
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} message
|
|
1812
3499
|
* @param {!jspb.BinaryWriter} writer
|
|
1813
3500
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1814
3501
|
*/
|
|
1815
|
-
proto.trb.indicators.v1.
|
|
3502
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1816
3503
|
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
|
+
}
|
|
1817
3519
|
};
|
|
1818
3520
|
|
|
1819
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
|
+
|
|
1820
3531
|
|
|
1821
3532
|
/**
|
|
1822
|
-
*
|
|
1823
|
-
* @
|
|
1824
|
-
|
|
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}
|
|
1825
3545
|
*/
|
|
1826
|
-
proto.trb.indicators.v1.
|
|
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
|
+
};
|
|
3549
|
+
|
|
3550
|
+
|
|
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
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* @param {boolean} value
|
|
3571
|
+
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
|
|
3572
|
+
*/
|
|
3573
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setAllowEmpty = function(value) {
|
|
3574
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
3575
|
+
};
|
|
3576
|
+
|
|
3577
|
+
|
|
1827
3578
|
|
|
1828
3579
|
|
|
1829
3580
|
|
|
@@ -1840,8 +3591,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1840
3591
|
* http://goto/soy-param-migration
|
|
1841
3592
|
* @return {!Object}
|
|
1842
3593
|
*/
|
|
1843
|
-
proto.trb.indicators.v1.
|
|
1844
|
-
return proto.trb.indicators.v1.
|
|
3594
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3595
|
+
return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject(opt_includeInstance, this);
|
|
1845
3596
|
};
|
|
1846
3597
|
|
|
1847
3598
|
|
|
@@ -1850,14 +3601,13 @@ proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_
|
|
|
1850
3601
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1851
3602
|
* the JSPB instance for transitional soy proto support:
|
|
1852
3603
|
* http://goto/soy-param-migration
|
|
1853
|
-
* @param {!proto.trb.indicators.v1.
|
|
3604
|
+
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The msg instance to transform.
|
|
1854
3605
|
* @return {!Object}
|
|
1855
3606
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1856
3607
|
*/
|
|
1857
|
-
proto.trb.indicators.v1.
|
|
3608
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
|
|
1858
3609
|
var f, obj = {
|
|
1859
|
-
|
|
1860
|
-
proto.trb.indicators.v1.IndicatorInfo.toObject, includeInstance)
|
|
3610
|
+
count: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1861
3611
|
};
|
|
1862
3612
|
|
|
1863
3613
|
if (includeInstance) {
|
|
@@ -1871,23 +3621,23 @@ indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
|
|
|
1871
3621
|
/**
|
|
1872
3622
|
* Deserializes binary data (in protobuf wire format).
|
|
1873
3623
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1874
|
-
* @return {!proto.trb.indicators.v1.
|
|
3624
|
+
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
|
|
1875
3625
|
*/
|
|
1876
|
-
proto.trb.indicators.v1.
|
|
3626
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinary = function(bytes) {
|
|
1877
3627
|
var reader = new jspb.BinaryReader(bytes);
|
|
1878
|
-
var msg = new proto.trb.indicators.v1.
|
|
1879
|
-
return proto.trb.indicators.v1.
|
|
3628
|
+
var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsResponse;
|
|
3629
|
+
return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
1880
3630
|
};
|
|
1881
3631
|
|
|
1882
3632
|
|
|
1883
3633
|
/**
|
|
1884
3634
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1885
3635
|
* given reader into the given message object.
|
|
1886
|
-
* @param {!proto.trb.indicators.v1.
|
|
3636
|
+
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The message object to deserialize into.
|
|
1887
3637
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1888
|
-
* @return {!proto.trb.indicators.v1.
|
|
3638
|
+
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
|
|
1889
3639
|
*/
|
|
1890
|
-
proto.trb.indicators.v1.
|
|
3640
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1891
3641
|
while (reader.nextField()) {
|
|
1892
3642
|
if (reader.isEndGroup()) {
|
|
1893
3643
|
break;
|
|
@@ -1895,9 +3645,8 @@ proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = func
|
|
|
1895
3645
|
var field = reader.getFieldNumber();
|
|
1896
3646
|
switch (field) {
|
|
1897
3647
|
case 1:
|
|
1898
|
-
var value =
|
|
1899
|
-
|
|
1900
|
-
msg.addIndicators(value);
|
|
3648
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3649
|
+
msg.setCount(value);
|
|
1901
3650
|
break;
|
|
1902
3651
|
default:
|
|
1903
3652
|
reader.skipField();
|
|
@@ -1912,9 +3661,9 @@ proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = func
|
|
|
1912
3661
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1913
3662
|
* @return {!Uint8Array}
|
|
1914
3663
|
*/
|
|
1915
|
-
proto.trb.indicators.v1.
|
|
3664
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.serializeBinary = function() {
|
|
1916
3665
|
var writer = new jspb.BinaryWriter();
|
|
1917
|
-
proto.trb.indicators.v1.
|
|
3666
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
|
|
1918
3667
|
return writer.getResultBuffer();
|
|
1919
3668
|
};
|
|
1920
3669
|
|
|
@@ -1922,58 +3671,37 @@ proto.trb.indicators.v1.ListSupportedResponse.prototype.serializeBinary = functi
|
|
|
1922
3671
|
/**
|
|
1923
3672
|
* Serializes the given message to binary data (in protobuf wire
|
|
1924
3673
|
* format), writing to the given BinaryWriter.
|
|
1925
|
-
* @param {!proto.trb.indicators.v1.
|
|
3674
|
+
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} message
|
|
1926
3675
|
* @param {!jspb.BinaryWriter} writer
|
|
1927
3676
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1928
3677
|
*/
|
|
1929
|
-
proto.trb.indicators.v1.
|
|
3678
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1930
3679
|
var f = undefined;
|
|
1931
|
-
f = message.
|
|
1932
|
-
if (f
|
|
1933
|
-
writer.
|
|
3680
|
+
f = message.getCount();
|
|
3681
|
+
if (f !== 0) {
|
|
3682
|
+
writer.writeInt32(
|
|
1934
3683
|
1,
|
|
1935
|
-
f
|
|
1936
|
-
proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter
|
|
3684
|
+
f
|
|
1937
3685
|
);
|
|
1938
3686
|
}
|
|
1939
3687
|
};
|
|
1940
3688
|
|
|
1941
3689
|
|
|
1942
3690
|
/**
|
|
1943
|
-
*
|
|
1944
|
-
* @return {
|
|
1945
|
-
*/
|
|
1946
|
-
proto.trb.indicators.v1.ListSupportedResponse.prototype.getIndicatorsList = function() {
|
|
1947
|
-
return /** @type{!Array<!proto.trb.indicators.v1.IndicatorInfo>} */ (
|
|
1948
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorInfo, 1));
|
|
1949
|
-
};
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
/**
|
|
1953
|
-
* @param {!Array<!proto.trb.indicators.v1.IndicatorInfo>} value
|
|
1954
|
-
* @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
|
|
1955
|
-
*/
|
|
1956
|
-
proto.trb.indicators.v1.ListSupportedResponse.prototype.setIndicatorsList = function(value) {
|
|
1957
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1958
|
-
};
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
/**
|
|
1962
|
-
* @param {!proto.trb.indicators.v1.IndicatorInfo=} opt_value
|
|
1963
|
-
* @param {number=} opt_index
|
|
1964
|
-
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
3691
|
+
* optional int32 count = 1;
|
|
3692
|
+
* @return {number}
|
|
1965
3693
|
*/
|
|
1966
|
-
proto.trb.indicators.v1.
|
|
1967
|
-
return jspb.Message.
|
|
3694
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.getCount = function() {
|
|
3695
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1968
3696
|
};
|
|
1969
3697
|
|
|
1970
3698
|
|
|
1971
3699
|
/**
|
|
1972
|
-
*
|
|
1973
|
-
* @return {!proto.trb.indicators.v1.
|
|
3700
|
+
* @param {number} value
|
|
3701
|
+
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} returns this
|
|
1974
3702
|
*/
|
|
1975
|
-
proto.trb.indicators.v1.
|
|
1976
|
-
return
|
|
3703
|
+
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.setCount = function(value) {
|
|
3704
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1977
3705
|
};
|
|
1978
3706
|
|
|
1979
3707
|
|