@marleena/trb-proto 1.0.41 → 1.0.43
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,13 +32,10 @@ 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.
|
|
36
|
-
goog.exportSymbol('proto.trb.indicators.v1.
|
|
35
|
+
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesResponse', null, global);
|
|
37
37
|
goog.exportSymbol('proto.trb.indicators.v1.ListSupportedRequest', null, global);
|
|
38
38
|
goog.exportSymbol('proto.trb.indicators.v1.ListSupportedResponse', null, global);
|
|
39
|
-
goog.exportSymbol('proto.trb.indicators.v1.SchedulerTarget', null, global);
|
|
40
|
-
goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsRequest', null, global);
|
|
41
|
-
goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsResponse', null, global);
|
|
42
39
|
/**
|
|
43
40
|
* Generated by JsPbCodeGenerator.
|
|
44
41
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -112,37 +109,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
112
109
|
* @extends {jspb.Message}
|
|
113
110
|
* @constructor
|
|
114
111
|
*/
|
|
115
|
-
proto.trb.indicators.v1.
|
|
112
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest = function(opt_data) {
|
|
116
113
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
117
114
|
};
|
|
118
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
119
|
-
if (goog.DEBUG && !COMPILED) {
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
* @override
|
|
123
|
-
*/
|
|
124
|
-
proto.trb.indicators.v1.IndicatorPoint.displayName = 'proto.trb.indicators.v1.IndicatorPoint';
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Generated by JsPbCodeGenerator.
|
|
128
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
129
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
130
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
131
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
132
|
-
* valid.
|
|
133
|
-
* @extends {jspb.Message}
|
|
134
|
-
* @constructor
|
|
135
|
-
*/
|
|
136
|
-
proto.trb.indicators.v1.ComputeResponse = function(opt_data) {
|
|
137
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ComputeResponse.repeatedFields_, null);
|
|
138
|
-
};
|
|
139
|
-
goog.inherits(proto.trb.indicators.v1.ComputeResponse, jspb.Message);
|
|
115
|
+
goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesRequest, jspb.Message);
|
|
140
116
|
if (goog.DEBUG && !COMPILED) {
|
|
141
117
|
/**
|
|
142
118
|
* @public
|
|
143
119
|
* @override
|
|
144
120
|
*/
|
|
145
|
-
proto.trb.indicators.v1.
|
|
121
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesRequest';
|
|
146
122
|
}
|
|
147
123
|
/**
|
|
148
124
|
* Generated by JsPbCodeGenerator.
|
|
@@ -154,16 +130,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
154
130
|
* @extends {jspb.Message}
|
|
155
131
|
* @constructor
|
|
156
132
|
*/
|
|
157
|
-
proto.trb.indicators.v1.
|
|
133
|
+
proto.trb.indicators.v1.IndicatorPoint = function(opt_data) {
|
|
158
134
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
159
135
|
};
|
|
160
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
136
|
+
goog.inherits(proto.trb.indicators.v1.IndicatorPoint, jspb.Message);
|
|
161
137
|
if (goog.DEBUG && !COMPILED) {
|
|
162
138
|
/**
|
|
163
139
|
* @public
|
|
164
140
|
* @override
|
|
165
141
|
*/
|
|
166
|
-
proto.trb.indicators.v1.
|
|
142
|
+
proto.trb.indicators.v1.IndicatorPoint.displayName = 'proto.trb.indicators.v1.IndicatorPoint';
|
|
167
143
|
}
|
|
168
144
|
/**
|
|
169
145
|
* Generated by JsPbCodeGenerator.
|
|
@@ -175,16 +151,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
175
151
|
* @extends {jspb.Message}
|
|
176
152
|
* @constructor
|
|
177
153
|
*/
|
|
178
|
-
proto.trb.indicators.v1.
|
|
179
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
154
|
+
proto.trb.indicators.v1.ComputeResponse = function(opt_data) {
|
|
155
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ComputeResponse.repeatedFields_, null);
|
|
180
156
|
};
|
|
181
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
157
|
+
goog.inherits(proto.trb.indicators.v1.ComputeResponse, jspb.Message);
|
|
182
158
|
if (goog.DEBUG && !COMPILED) {
|
|
183
159
|
/**
|
|
184
160
|
* @public
|
|
185
161
|
* @override
|
|
186
162
|
*/
|
|
187
|
-
proto.trb.indicators.v1.
|
|
163
|
+
proto.trb.indicators.v1.ComputeResponse.displayName = 'proto.trb.indicators.v1.ComputeResponse';
|
|
188
164
|
}
|
|
189
165
|
/**
|
|
190
166
|
* Generated by JsPbCodeGenerator.
|
|
@@ -196,16 +172,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
196
172
|
* @extends {jspb.Message}
|
|
197
173
|
* @constructor
|
|
198
174
|
*/
|
|
199
|
-
proto.trb.indicators.v1.
|
|
200
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.
|
|
175
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse = function(opt_data) {
|
|
176
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_, null);
|
|
201
177
|
};
|
|
202
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
178
|
+
goog.inherits(proto.trb.indicators.v1.ListIndicatorValuesResponse, jspb.Message);
|
|
203
179
|
if (goog.DEBUG && !COMPILED) {
|
|
204
180
|
/**
|
|
205
181
|
* @public
|
|
206
182
|
* @override
|
|
207
183
|
*/
|
|
208
|
-
proto.trb.indicators.v1.
|
|
184
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.displayName = 'proto.trb.indicators.v1.ListIndicatorValuesResponse';
|
|
209
185
|
}
|
|
210
186
|
/**
|
|
211
187
|
* Generated by JsPbCodeGenerator.
|
|
@@ -217,16 +193,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
217
193
|
* @extends {jspb.Message}
|
|
218
194
|
* @constructor
|
|
219
195
|
*/
|
|
220
|
-
proto.trb.indicators.v1.
|
|
196
|
+
proto.trb.indicators.v1.IndicatorInfo = function(opt_data) {
|
|
221
197
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
222
198
|
};
|
|
223
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
199
|
+
goog.inherits(proto.trb.indicators.v1.IndicatorInfo, jspb.Message);
|
|
224
200
|
if (goog.DEBUG && !COMPILED) {
|
|
225
201
|
/**
|
|
226
202
|
* @public
|
|
227
203
|
* @override
|
|
228
204
|
*/
|
|
229
|
-
proto.trb.indicators.v1.
|
|
205
|
+
proto.trb.indicators.v1.IndicatorInfo.displayName = 'proto.trb.indicators.v1.IndicatorInfo';
|
|
230
206
|
}
|
|
231
207
|
/**
|
|
232
208
|
* Generated by JsPbCodeGenerator.
|
|
@@ -238,58 +214,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
238
214
|
* @extends {jspb.Message}
|
|
239
215
|
* @constructor
|
|
240
216
|
*/
|
|
241
|
-
proto.trb.indicators.v1.
|
|
217
|
+
proto.trb.indicators.v1.ListSupportedRequest = function(opt_data) {
|
|
242
218
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
243
219
|
};
|
|
244
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
245
|
-
if (goog.DEBUG && !COMPILED) {
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
* @override
|
|
249
|
-
*/
|
|
250
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsRequest';
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* Generated by JsPbCodeGenerator.
|
|
254
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
255
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
256
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
257
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
258
|
-
* valid.
|
|
259
|
-
* @extends {jspb.Message}
|
|
260
|
-
* @constructor
|
|
261
|
-
*/
|
|
262
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse = function(opt_data) {
|
|
263
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_, null);
|
|
264
|
-
};
|
|
265
|
-
goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsResponse, jspb.Message);
|
|
266
|
-
if (goog.DEBUG && !COMPILED) {
|
|
267
|
-
/**
|
|
268
|
-
* @public
|
|
269
|
-
* @override
|
|
270
|
-
*/
|
|
271
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsResponse';
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Generated by JsPbCodeGenerator.
|
|
275
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
276
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
277
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
278
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
279
|
-
* valid.
|
|
280
|
-
* @extends {jspb.Message}
|
|
281
|
-
* @constructor
|
|
282
|
-
*/
|
|
283
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest = function(opt_data) {
|
|
284
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_, null);
|
|
285
|
-
};
|
|
286
|
-
goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsRequest, jspb.Message);
|
|
220
|
+
goog.inherits(proto.trb.indicators.v1.ListSupportedRequest, jspb.Message);
|
|
287
221
|
if (goog.DEBUG && !COMPILED) {
|
|
288
222
|
/**
|
|
289
223
|
* @public
|
|
290
224
|
* @override
|
|
291
225
|
*/
|
|
292
|
-
proto.trb.indicators.v1.
|
|
226
|
+
proto.trb.indicators.v1.ListSupportedRequest.displayName = 'proto.trb.indicators.v1.ListSupportedRequest';
|
|
293
227
|
}
|
|
294
228
|
/**
|
|
295
229
|
* Generated by JsPbCodeGenerator.
|
|
@@ -301,16 +235,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
301
235
|
* @extends {jspb.Message}
|
|
302
236
|
* @constructor
|
|
303
237
|
*/
|
|
304
|
-
proto.trb.indicators.v1.
|
|
305
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
238
|
+
proto.trb.indicators.v1.ListSupportedResponse = function(opt_data) {
|
|
239
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_, null);
|
|
306
240
|
};
|
|
307
|
-
goog.inherits(proto.trb.indicators.v1.
|
|
241
|
+
goog.inherits(proto.trb.indicators.v1.ListSupportedResponse, jspb.Message);
|
|
308
242
|
if (goog.DEBUG && !COMPILED) {
|
|
309
243
|
/**
|
|
310
244
|
* @public
|
|
311
245
|
* @override
|
|
312
246
|
*/
|
|
313
|
-
proto.trb.indicators.v1.
|
|
247
|
+
proto.trb.indicators.v1.ListSupportedResponse.displayName = 'proto.trb.indicators.v1.ListSupportedResponse';
|
|
314
248
|
}
|
|
315
249
|
|
|
316
250
|
|
|
@@ -875,7 +809,8 @@ from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(inc
|
|
|
875
809
|
to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
876
810
|
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
877
811
|
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
878
|
-
persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
812
|
+
persist: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
813
|
+
maxResponsePoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
|
|
879
814
|
};
|
|
880
815
|
|
|
881
816
|
if (includeInstance) {
|
|
@@ -944,6 +879,10 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.deserializeBinaryFromReader
|
|
|
944
879
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
945
880
|
msg.setPersist(value);
|
|
946
881
|
break;
|
|
882
|
+
case 8:
|
|
883
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
884
|
+
msg.setMaxResponsePoints(value);
|
|
885
|
+
break;
|
|
947
886
|
default:
|
|
948
887
|
reader.skipField();
|
|
949
888
|
break;
|
|
@@ -1021,6 +960,13 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.serializeBinaryToWriter = fu
|
|
|
1021
960
|
f
|
|
1022
961
|
);
|
|
1023
962
|
}
|
|
963
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
964
|
+
if (f != null) {
|
|
965
|
+
writer.writeInt32(
|
|
966
|
+
8,
|
|
967
|
+
f
|
|
968
|
+
);
|
|
969
|
+
}
|
|
1024
970
|
};
|
|
1025
971
|
|
|
1026
972
|
|
|
@@ -1193,6 +1139,42 @@ proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setPersist = funct
|
|
|
1193
1139
|
};
|
|
1194
1140
|
|
|
1195
1141
|
|
|
1142
|
+
/**
|
|
1143
|
+
* optional int32 max_response_points = 8;
|
|
1144
|
+
* @return {number}
|
|
1145
|
+
*/
|
|
1146
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.getMaxResponsePoints = function() {
|
|
1147
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @param {number} value
|
|
1153
|
+
* @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
|
|
1154
|
+
*/
|
|
1155
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.setMaxResponsePoints = function(value) {
|
|
1156
|
+
return jspb.Message.setField(this, 8, value);
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Clears the field making it undefined.
|
|
1162
|
+
* @return {!proto.trb.indicators.v1.ComputeForInstrumentRequest} returns this
|
|
1163
|
+
*/
|
|
1164
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.clearMaxResponsePoints = function() {
|
|
1165
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Returns whether this field is set.
|
|
1171
|
+
* @return {boolean}
|
|
1172
|
+
*/
|
|
1173
|
+
proto.trb.indicators.v1.ComputeForInstrumentRequest.prototype.hasMaxResponsePoints = function() {
|
|
1174
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
|
|
1196
1178
|
|
|
1197
1179
|
|
|
1198
1180
|
|
|
@@ -1209,8 +1191,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1209
1191
|
* http://goto/soy-param-migration
|
|
1210
1192
|
* @return {!Object}
|
|
1211
1193
|
*/
|
|
1212
|
-
proto.trb.indicators.v1.
|
|
1213
|
-
return proto.trb.indicators.v1.
|
|
1194
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1195
|
+
return proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject(opt_includeInstance, this);
|
|
1214
1196
|
};
|
|
1215
1197
|
|
|
1216
1198
|
|
|
@@ -1219,14 +1201,20 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_include
|
|
|
1219
1201
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1220
1202
|
* the JSPB instance for transitional soy proto support:
|
|
1221
1203
|
* http://goto/soy-param-migration
|
|
1222
|
-
* @param {!proto.trb.indicators.v1.
|
|
1204
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The msg instance to transform.
|
|
1223
1205
|
* @return {!Object}
|
|
1224
1206
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1225
1207
|
*/
|
|
1226
|
-
proto.trb.indicators.v1.
|
|
1208
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.toObject = function(includeInstance, msg) {
|
|
1227
1209
|
var f, obj = {
|
|
1228
|
-
|
|
1229
|
-
|
|
1210
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1211
|
+
interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1212
|
+
from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1213
|
+
to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1214
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1215
|
+
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1216
|
+
limit: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1217
|
+
after: (f = msg.getAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1230
1218
|
};
|
|
1231
1219
|
|
|
1232
1220
|
if (includeInstance) {
|
|
@@ -1240,23 +1228,23 @@ valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : [
|
|
|
1240
1228
|
/**
|
|
1241
1229
|
* Deserializes binary data (in protobuf wire format).
|
|
1242
1230
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1243
|
-
* @return {!proto.trb.indicators.v1.
|
|
1231
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
|
|
1244
1232
|
*/
|
|
1245
|
-
proto.trb.indicators.v1.
|
|
1233
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinary = function(bytes) {
|
|
1246
1234
|
var reader = new jspb.BinaryReader(bytes);
|
|
1247
|
-
var msg = new proto.trb.indicators.v1.
|
|
1248
|
-
return proto.trb.indicators.v1.
|
|
1235
|
+
var msg = new proto.trb.indicators.v1.ListIndicatorValuesRequest;
|
|
1236
|
+
return proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader(msg, reader);
|
|
1249
1237
|
};
|
|
1250
1238
|
|
|
1251
1239
|
|
|
1252
1240
|
/**
|
|
1253
1241
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1254
1242
|
* given reader into the given message object.
|
|
1255
|
-
* @param {!proto.trb.indicators.v1.
|
|
1243
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} msg The message object to deserialize into.
|
|
1256
1244
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1257
|
-
* @return {!proto.trb.indicators.v1.
|
|
1245
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest}
|
|
1258
1246
|
*/
|
|
1259
|
-
proto.trb.indicators.v1.
|
|
1247
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1260
1248
|
while (reader.nextField()) {
|
|
1261
1249
|
if (reader.isEndGroup()) {
|
|
1262
1250
|
break;
|
|
@@ -1264,16 +1252,42 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
|
|
|
1264
1252
|
var field = reader.getFieldNumber();
|
|
1265
1253
|
switch (field) {
|
|
1266
1254
|
case 1:
|
|
1255
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1256
|
+
msg.setUid(value);
|
|
1257
|
+
break;
|
|
1258
|
+
case 2:
|
|
1259
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1260
|
+
msg.setInterval(value);
|
|
1261
|
+
break;
|
|
1262
|
+
case 3:
|
|
1267
1263
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1268
1264
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1269
|
-
msg.
|
|
1265
|
+
msg.setFrom(value);
|
|
1270
1266
|
break;
|
|
1271
|
-
case
|
|
1272
|
-
var value =
|
|
1267
|
+
case 4:
|
|
1268
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1269
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1270
|
+
msg.setTo(value);
|
|
1271
|
+
break;
|
|
1272
|
+
case 5:
|
|
1273
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
1274
|
+
msg.setType(value);
|
|
1275
|
+
break;
|
|
1276
|
+
case 6:
|
|
1277
|
+
var value = msg.getParamsMap();
|
|
1273
1278
|
reader.readMessage(value, function(message, reader) {
|
|
1274
1279
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1275
1280
|
});
|
|
1276
1281
|
break;
|
|
1282
|
+
case 7:
|
|
1283
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1284
|
+
msg.setLimit(value);
|
|
1285
|
+
break;
|
|
1286
|
+
case 8:
|
|
1287
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1288
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1289
|
+
msg.setAfter(value);
|
|
1290
|
+
break;
|
|
1277
1291
|
default:
|
|
1278
1292
|
reader.skipField();
|
|
1279
1293
|
break;
|
|
@@ -1287,9 +1301,9 @@ proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(ms
|
|
|
1287
1301
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1288
1302
|
* @return {!Uint8Array}
|
|
1289
1303
|
*/
|
|
1290
|
-
proto.trb.indicators.v1.
|
|
1304
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.serializeBinary = function() {
|
|
1291
1305
|
var writer = new jspb.BinaryWriter();
|
|
1292
|
-
proto.trb.indicators.v1.
|
|
1306
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter(this, writer);
|
|
1293
1307
|
return writer.getResultBuffer();
|
|
1294
1308
|
};
|
|
1295
1309
|
|
|
@@ -1297,308 +1311,274 @@ proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
|
|
|
1297
1311
|
/**
|
|
1298
1312
|
* Serializes the given message to binary data (in protobuf wire
|
|
1299
1313
|
* format), writing to the given BinaryWriter.
|
|
1300
|
-
* @param {!proto.trb.indicators.v1.
|
|
1314
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesRequest} message
|
|
1301
1315
|
* @param {!jspb.BinaryWriter} writer
|
|
1302
1316
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1303
1317
|
*/
|
|
1304
|
-
proto.trb.indicators.v1.
|
|
1318
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1305
1319
|
var f = undefined;
|
|
1306
|
-
f = message.
|
|
1320
|
+
f = message.getUid();
|
|
1321
|
+
if (f.length > 0) {
|
|
1322
|
+
writer.writeString(
|
|
1323
|
+
1,
|
|
1324
|
+
f
|
|
1325
|
+
);
|
|
1326
|
+
}
|
|
1327
|
+
f = message.getInterval();
|
|
1328
|
+
if (f !== 0) {
|
|
1329
|
+
writer.writeInt32(
|
|
1330
|
+
2,
|
|
1331
|
+
f
|
|
1332
|
+
);
|
|
1333
|
+
}
|
|
1334
|
+
f = message.getFrom();
|
|
1307
1335
|
if (f != null) {
|
|
1308
1336
|
writer.writeMessage(
|
|
1309
|
-
|
|
1337
|
+
3,
|
|
1310
1338
|
f,
|
|
1311
1339
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1312
1340
|
);
|
|
1313
1341
|
}
|
|
1314
|
-
f = message.
|
|
1342
|
+
f = message.getTo();
|
|
1343
|
+
if (f != null) {
|
|
1344
|
+
writer.writeMessage(
|
|
1345
|
+
4,
|
|
1346
|
+
f,
|
|
1347
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1348
|
+
);
|
|
1349
|
+
}
|
|
1350
|
+
f = message.getType();
|
|
1351
|
+
if (f !== 0.0) {
|
|
1352
|
+
writer.writeEnum(
|
|
1353
|
+
5,
|
|
1354
|
+
f
|
|
1355
|
+
);
|
|
1356
|
+
}
|
|
1357
|
+
f = message.getParamsMap(true);
|
|
1315
1358
|
if (f && f.getLength() > 0) {
|
|
1316
|
-
f.serializeBinary(
|
|
1359
|
+
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1360
|
+
}
|
|
1361
|
+
f = message.getLimit();
|
|
1362
|
+
if (f !== 0) {
|
|
1363
|
+
writer.writeInt32(
|
|
1364
|
+
7,
|
|
1365
|
+
f
|
|
1366
|
+
);
|
|
1367
|
+
}
|
|
1368
|
+
f = message.getAfter();
|
|
1369
|
+
if (f != null) {
|
|
1370
|
+
writer.writeMessage(
|
|
1371
|
+
8,
|
|
1372
|
+
f,
|
|
1373
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1374
|
+
);
|
|
1317
1375
|
}
|
|
1318
1376
|
};
|
|
1319
1377
|
|
|
1320
1378
|
|
|
1321
1379
|
/**
|
|
1322
|
-
* optional
|
|
1323
|
-
* @return {
|
|
1380
|
+
* optional string uid = 1;
|
|
1381
|
+
* @return {string}
|
|
1324
1382
|
*/
|
|
1325
|
-
proto.trb.indicators.v1.
|
|
1326
|
-
return /** @type{
|
|
1327
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
1383
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getUid = function() {
|
|
1384
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1328
1385
|
};
|
|
1329
1386
|
|
|
1330
1387
|
|
|
1331
1388
|
/**
|
|
1332
|
-
* @param {
|
|
1333
|
-
* @return {!proto.trb.indicators.v1.
|
|
1334
|
-
*/
|
|
1335
|
-
proto.trb.indicators.v1.
|
|
1336
|
-
return jspb.Message.
|
|
1389
|
+
* @param {string} value
|
|
1390
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setUid = function(value) {
|
|
1393
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1337
1394
|
};
|
|
1338
1395
|
|
|
1339
1396
|
|
|
1340
1397
|
/**
|
|
1341
|
-
*
|
|
1342
|
-
* @return {
|
|
1398
|
+
* optional int32 interval = 2;
|
|
1399
|
+
* @return {number}
|
|
1343
1400
|
*/
|
|
1344
|
-
proto.trb.indicators.v1.
|
|
1345
|
-
return
|
|
1401
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getInterval = function() {
|
|
1402
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1346
1403
|
};
|
|
1347
1404
|
|
|
1348
1405
|
|
|
1349
1406
|
/**
|
|
1350
|
-
*
|
|
1351
|
-
* @return {
|
|
1407
|
+
* @param {number} value
|
|
1408
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1352
1409
|
*/
|
|
1353
|
-
proto.trb.indicators.v1.
|
|
1354
|
-
return jspb.Message.
|
|
1410
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setInterval = function(value) {
|
|
1411
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1355
1412
|
};
|
|
1356
1413
|
|
|
1357
1414
|
|
|
1358
1415
|
/**
|
|
1359
|
-
*
|
|
1360
|
-
* @
|
|
1361
|
-
* empty, instead returning `undefined`
|
|
1362
|
-
* @return {!jspb.Map<string,number>}
|
|
1416
|
+
* optional google.protobuf.Timestamp from = 3;
|
|
1417
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1363
1418
|
*/
|
|
1364
|
-
proto.trb.indicators.v1.
|
|
1365
|
-
return /** @type
|
|
1366
|
-
|
|
1367
|
-
null));
|
|
1419
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getFrom = function() {
|
|
1420
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1421
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
1368
1422
|
};
|
|
1369
1423
|
|
|
1370
1424
|
|
|
1371
1425
|
/**
|
|
1372
|
-
*
|
|
1373
|
-
* @return {!proto.trb.indicators.v1.
|
|
1374
|
-
|
|
1375
|
-
proto.trb.indicators.v1.
|
|
1376
|
-
|
|
1377
|
-
return this;
|
|
1426
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1427
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1428
|
+
*/
|
|
1429
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setFrom = function(value) {
|
|
1430
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1378
1431
|
};
|
|
1379
1432
|
|
|
1380
1433
|
|
|
1381
|
-
|
|
1382
1434
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
* @
|
|
1385
|
-
* @const
|
|
1386
|
-
*/
|
|
1387
|
-
proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1392
|
-
/**
|
|
1393
|
-
* Creates an object representation of this proto.
|
|
1394
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1395
|
-
* Optional fields that are not set will be set to undefined.
|
|
1396
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1397
|
-
* For the list of reserved names please see:
|
|
1398
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1399
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1400
|
-
* JSPB instance for transitional soy proto support:
|
|
1401
|
-
* http://goto/soy-param-migration
|
|
1402
|
-
* @return {!Object}
|
|
1435
|
+
* Clears the message field making it undefined.
|
|
1436
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1403
1437
|
*/
|
|
1404
|
-
proto.trb.indicators.v1.
|
|
1405
|
-
return
|
|
1438
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearFrom = function() {
|
|
1439
|
+
return this.setFrom(undefined);
|
|
1406
1440
|
};
|
|
1407
1441
|
|
|
1408
1442
|
|
|
1409
1443
|
/**
|
|
1410
|
-
*
|
|
1411
|
-
* @
|
|
1412
|
-
* the JSPB instance for transitional soy proto support:
|
|
1413
|
-
* http://goto/soy-param-migration
|
|
1414
|
-
* @param {!proto.trb.indicators.v1.ComputeResponse} msg The msg instance to transform.
|
|
1415
|
-
* @return {!Object}
|
|
1416
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1444
|
+
* Returns whether this field is set.
|
|
1445
|
+
* @return {boolean}
|
|
1417
1446
|
*/
|
|
1418
|
-
proto.trb.indicators.v1.
|
|
1419
|
-
|
|
1420
|
-
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1421
|
-
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1422
|
-
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
1423
|
-
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance)
|
|
1424
|
-
};
|
|
1425
|
-
|
|
1426
|
-
if (includeInstance) {
|
|
1427
|
-
obj.$jspbMessageInstance = msg;
|
|
1428
|
-
}
|
|
1429
|
-
return obj;
|
|
1447
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasFrom = function() {
|
|
1448
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1430
1449
|
};
|
|
1431
|
-
}
|
|
1432
1450
|
|
|
1433
1451
|
|
|
1434
1452
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
* @
|
|
1437
|
-
* @return {!proto.trb.indicators.v1.ComputeResponse}
|
|
1453
|
+
* optional google.protobuf.Timestamp to = 4;
|
|
1454
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1438
1455
|
*/
|
|
1439
|
-
proto.trb.indicators.v1.
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
return proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader(msg, reader);
|
|
1456
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getTo = function() {
|
|
1457
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1458
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
1443
1459
|
};
|
|
1444
1460
|
|
|
1445
1461
|
|
|
1446
1462
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
*
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
*/
|
|
1453
|
-
proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1454
|
-
while (reader.nextField()) {
|
|
1455
|
-
if (reader.isEndGroup()) {
|
|
1456
|
-
break;
|
|
1457
|
-
}
|
|
1458
|
-
var field = reader.getFieldNumber();
|
|
1459
|
-
switch (field) {
|
|
1460
|
-
case 1:
|
|
1461
|
-
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
1462
|
-
msg.setType(value);
|
|
1463
|
-
break;
|
|
1464
|
-
case 2:
|
|
1465
|
-
var value = msg.getParamsMap();
|
|
1466
|
-
reader.readMessage(value, function(message, reader) {
|
|
1467
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1468
|
-
});
|
|
1469
|
-
break;
|
|
1470
|
-
case 3:
|
|
1471
|
-
var value = new proto.trb.indicators.v1.IndicatorPoint;
|
|
1472
|
-
reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
|
|
1473
|
-
msg.addPoints(value);
|
|
1474
|
-
break;
|
|
1475
|
-
default:
|
|
1476
|
-
reader.skipField();
|
|
1477
|
-
break;
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
return msg;
|
|
1463
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1464
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1465
|
+
*/
|
|
1466
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setTo = function(value) {
|
|
1467
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1481
1468
|
};
|
|
1482
1469
|
|
|
1483
1470
|
|
|
1484
1471
|
/**
|
|
1485
|
-
*
|
|
1486
|
-
* @return {!
|
|
1472
|
+
* Clears the message field making it undefined.
|
|
1473
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1487
1474
|
*/
|
|
1488
|
-
proto.trb.indicators.v1.
|
|
1489
|
-
|
|
1490
|
-
proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter(this, writer);
|
|
1491
|
-
return writer.getResultBuffer();
|
|
1475
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearTo = function() {
|
|
1476
|
+
return this.setTo(undefined);
|
|
1492
1477
|
};
|
|
1493
1478
|
|
|
1494
1479
|
|
|
1495
1480
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1498
|
-
* @param {!proto.trb.indicators.v1.ComputeResponse} message
|
|
1499
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1500
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1481
|
+
* Returns whether this field is set.
|
|
1482
|
+
* @return {boolean}
|
|
1501
1483
|
*/
|
|
1502
|
-
proto.trb.indicators.v1.
|
|
1503
|
-
|
|
1504
|
-
f = message.getType();
|
|
1505
|
-
if (f !== 0.0) {
|
|
1506
|
-
writer.writeEnum(
|
|
1507
|
-
1,
|
|
1508
|
-
f
|
|
1509
|
-
);
|
|
1510
|
-
}
|
|
1511
|
-
f = message.getParamsMap(true);
|
|
1512
|
-
if (f && f.getLength() > 0) {
|
|
1513
|
-
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1514
|
-
}
|
|
1515
|
-
f = message.getPointsList();
|
|
1516
|
-
if (f.length > 0) {
|
|
1517
|
-
writer.writeRepeatedMessage(
|
|
1518
|
-
3,
|
|
1519
|
-
f,
|
|
1520
|
-
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
|
|
1521
|
-
);
|
|
1522
|
-
}
|
|
1484
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasTo = function() {
|
|
1485
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1523
1486
|
};
|
|
1524
1487
|
|
|
1525
1488
|
|
|
1526
1489
|
/**
|
|
1527
|
-
* optional IndicatorType type =
|
|
1490
|
+
* optional IndicatorType type = 5;
|
|
1528
1491
|
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
1529
1492
|
*/
|
|
1530
|
-
proto.trb.indicators.v1.
|
|
1531
|
-
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this,
|
|
1493
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getType = function() {
|
|
1494
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1532
1495
|
};
|
|
1533
1496
|
|
|
1534
1497
|
|
|
1535
1498
|
/**
|
|
1536
1499
|
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
1537
|
-
* @return {!proto.trb.indicators.v1.
|
|
1500
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1538
1501
|
*/
|
|
1539
|
-
proto.trb.indicators.v1.
|
|
1540
|
-
return jspb.Message.setProto3EnumField(this,
|
|
1502
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setType = function(value) {
|
|
1503
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
1541
1504
|
};
|
|
1542
1505
|
|
|
1543
1506
|
|
|
1544
1507
|
/**
|
|
1545
|
-
* map<string, double> params =
|
|
1508
|
+
* map<string, double> params = 6;
|
|
1546
1509
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1547
1510
|
* empty, instead returning `undefined`
|
|
1548
1511
|
* @return {!jspb.Map<string,number>}
|
|
1549
1512
|
*/
|
|
1550
|
-
proto.trb.indicators.v1.
|
|
1513
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
1551
1514
|
return /** @type {!jspb.Map<string,number>} */ (
|
|
1552
|
-
jspb.Message.getMapField(this,
|
|
1515
|
+
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
|
1553
1516
|
null));
|
|
1554
1517
|
};
|
|
1555
1518
|
|
|
1556
1519
|
|
|
1557
1520
|
/**
|
|
1558
1521
|
* Clears values from the map. The map will be non-null.
|
|
1559
|
-
* @return {!proto.trb.indicators.v1.
|
|
1522
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1560
1523
|
*/
|
|
1561
|
-
proto.trb.indicators.v1.
|
|
1524
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearParamsMap = function() {
|
|
1562
1525
|
this.getParamsMap().clear();
|
|
1563
1526
|
return this;
|
|
1564
1527
|
};
|
|
1565
1528
|
|
|
1566
1529
|
|
|
1567
1530
|
/**
|
|
1568
|
-
*
|
|
1569
|
-
* @return {
|
|
1531
|
+
* optional int32 limit = 7;
|
|
1532
|
+
* @return {number}
|
|
1570
1533
|
*/
|
|
1571
|
-
proto.trb.indicators.v1.
|
|
1572
|
-
return /** @type{
|
|
1573
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
|
|
1534
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getLimit = function() {
|
|
1535
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1574
1536
|
};
|
|
1575
1537
|
|
|
1576
1538
|
|
|
1577
1539
|
/**
|
|
1578
|
-
* @param {
|
|
1579
|
-
* @return {!proto.trb.indicators.v1.
|
|
1540
|
+
* @param {number} value
|
|
1541
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1542
|
+
*/
|
|
1543
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setLimit = function(value) {
|
|
1544
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* optional google.protobuf.Timestamp after = 8;
|
|
1550
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1551
|
+
*/
|
|
1552
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.getAfter = function() {
|
|
1553
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1554
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1560
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1580
1561
|
*/
|
|
1581
|
-
proto.trb.indicators.v1.
|
|
1582
|
-
return jspb.Message.
|
|
1562
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.setAfter = function(value) {
|
|
1563
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
1583
1564
|
};
|
|
1584
1565
|
|
|
1585
1566
|
|
|
1586
1567
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
* @
|
|
1589
|
-
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
1568
|
+
* Clears the message field making it undefined.
|
|
1569
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesRequest} returns this
|
|
1590
1570
|
*/
|
|
1591
|
-
proto.trb.indicators.v1.
|
|
1592
|
-
return
|
|
1571
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.clearAfter = function() {
|
|
1572
|
+
return this.setAfter(undefined);
|
|
1593
1573
|
};
|
|
1594
1574
|
|
|
1595
1575
|
|
|
1596
1576
|
/**
|
|
1597
|
-
*
|
|
1598
|
-
* @return {
|
|
1577
|
+
* Returns whether this field is set.
|
|
1578
|
+
* @return {boolean}
|
|
1599
1579
|
*/
|
|
1600
|
-
proto.trb.indicators.v1.
|
|
1601
|
-
return
|
|
1580
|
+
proto.trb.indicators.v1.ListIndicatorValuesRequest.prototype.hasAfter = function() {
|
|
1581
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1602
1582
|
};
|
|
1603
1583
|
|
|
1604
1584
|
|
|
@@ -1618,8 +1598,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1618
1598
|
* http://goto/soy-param-migration
|
|
1619
1599
|
* @return {!Object}
|
|
1620
1600
|
*/
|
|
1621
|
-
proto.trb.indicators.v1.
|
|
1622
|
-
return proto.trb.indicators.v1.
|
|
1601
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.toObject = function(opt_includeInstance) {
|
|
1602
|
+
return proto.trb.indicators.v1.IndicatorPoint.toObject(opt_includeInstance, this);
|
|
1623
1603
|
};
|
|
1624
1604
|
|
|
1625
1605
|
|
|
@@ -1628,16 +1608,14 @@ proto.trb.indicators.v1.IndicatorInfo.prototype.toObject = function(opt_includeI
|
|
|
1628
1608
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1629
1609
|
* the JSPB instance for transitional soy proto support:
|
|
1630
1610
|
* http://goto/soy-param-migration
|
|
1631
|
-
* @param {!proto.trb.indicators.v1.
|
|
1611
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} msg The msg instance to transform.
|
|
1632
1612
|
* @return {!Object}
|
|
1633
1613
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1634
1614
|
*/
|
|
1635
|
-
proto.trb.indicators.v1.
|
|
1615
|
+
proto.trb.indicators.v1.IndicatorPoint.toObject = function(includeInstance, msg) {
|
|
1636
1616
|
var f, obj = {
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
minBars: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1640
|
-
defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1617
|
+
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1618
|
+
valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1641
1619
|
};
|
|
1642
1620
|
|
|
1643
1621
|
if (includeInstance) {
|
|
@@ -1651,23 +1629,23 @@ defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance,
|
|
|
1651
1629
|
/**
|
|
1652
1630
|
* Deserializes binary data (in protobuf wire format).
|
|
1653
1631
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1654
|
-
* @return {!proto.trb.indicators.v1.
|
|
1632
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
1655
1633
|
*/
|
|
1656
|
-
proto.trb.indicators.v1.
|
|
1634
|
+
proto.trb.indicators.v1.IndicatorPoint.deserializeBinary = function(bytes) {
|
|
1657
1635
|
var reader = new jspb.BinaryReader(bytes);
|
|
1658
|
-
var msg = new proto.trb.indicators.v1.
|
|
1659
|
-
return proto.trb.indicators.v1.
|
|
1636
|
+
var msg = new proto.trb.indicators.v1.IndicatorPoint;
|
|
1637
|
+
return proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader(msg, reader);
|
|
1660
1638
|
};
|
|
1661
1639
|
|
|
1662
1640
|
|
|
1663
1641
|
/**
|
|
1664
1642
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1665
1643
|
* given reader into the given message object.
|
|
1666
|
-
* @param {!proto.trb.indicators.v1.
|
|
1644
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} msg The message object to deserialize into.
|
|
1667
1645
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1668
|
-
* @return {!proto.trb.indicators.v1.
|
|
1646
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
1669
1647
|
*/
|
|
1670
|
-
proto.trb.indicators.v1.
|
|
1648
|
+
proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
1671
1649
|
while (reader.nextField()) {
|
|
1672
1650
|
if (reader.isEndGroup()) {
|
|
1673
1651
|
break;
|
|
@@ -1675,19 +1653,12 @@ proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg
|
|
|
1675
1653
|
var field = reader.getFieldNumber();
|
|
1676
1654
|
switch (field) {
|
|
1677
1655
|
case 1:
|
|
1678
|
-
var value =
|
|
1679
|
-
|
|
1656
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1657
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1658
|
+
msg.setTime(value);
|
|
1680
1659
|
break;
|
|
1681
1660
|
case 2:
|
|
1682
|
-
var value =
|
|
1683
|
-
msg.setName(value);
|
|
1684
|
-
break;
|
|
1685
|
-
case 3:
|
|
1686
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
1687
|
-
msg.setMinBars(value);
|
|
1688
|
-
break;
|
|
1689
|
-
case 4:
|
|
1690
|
-
var value = msg.getDefaultParamsMap();
|
|
1661
|
+
var value = msg.getValuesMap();
|
|
1691
1662
|
reader.readMessage(value, function(message, reader) {
|
|
1692
1663
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1693
1664
|
});
|
|
@@ -1705,9 +1676,9 @@ proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg
|
|
|
1705
1676
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1706
1677
|
* @return {!Uint8Array}
|
|
1707
1678
|
*/
|
|
1708
|
-
proto.trb.indicators.v1.
|
|
1679
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.serializeBinary = function() {
|
|
1709
1680
|
var writer = new jspb.BinaryWriter();
|
|
1710
|
-
proto.trb.indicators.v1.
|
|
1681
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter(this, writer);
|
|
1711
1682
|
return writer.getResultBuffer();
|
|
1712
1683
|
};
|
|
1713
1684
|
|
|
@@ -1715,118 +1686,95 @@ proto.trb.indicators.v1.IndicatorInfo.prototype.serializeBinary = function() {
|
|
|
1715
1686
|
/**
|
|
1716
1687
|
* Serializes the given message to binary data (in protobuf wire
|
|
1717
1688
|
* format), writing to the given BinaryWriter.
|
|
1718
|
-
* @param {!proto.trb.indicators.v1.
|
|
1689
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint} message
|
|
1719
1690
|
* @param {!jspb.BinaryWriter} writer
|
|
1720
1691
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1721
1692
|
*/
|
|
1722
|
-
proto.trb.indicators.v1.
|
|
1693
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter = function(message, writer) {
|
|
1723
1694
|
var f = undefined;
|
|
1724
|
-
f = message.
|
|
1725
|
-
if (f
|
|
1726
|
-
writer.
|
|
1695
|
+
f = message.getTime();
|
|
1696
|
+
if (f != null) {
|
|
1697
|
+
writer.writeMessage(
|
|
1727
1698
|
1,
|
|
1728
|
-
f
|
|
1729
|
-
|
|
1730
|
-
}
|
|
1731
|
-
f = message.getName();
|
|
1732
|
-
if (f.length > 0) {
|
|
1733
|
-
writer.writeString(
|
|
1734
|
-
2,
|
|
1735
|
-
f
|
|
1736
|
-
);
|
|
1737
|
-
}
|
|
1738
|
-
f = message.getMinBars();
|
|
1739
|
-
if (f !== 0) {
|
|
1740
|
-
writer.writeInt32(
|
|
1741
|
-
3,
|
|
1742
|
-
f
|
|
1699
|
+
f,
|
|
1700
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1743
1701
|
);
|
|
1744
1702
|
}
|
|
1745
|
-
f = message.
|
|
1703
|
+
f = message.getValuesMap(true);
|
|
1746
1704
|
if (f && f.getLength() > 0) {
|
|
1747
|
-
f.serializeBinary(
|
|
1705
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1748
1706
|
}
|
|
1749
1707
|
};
|
|
1750
1708
|
|
|
1751
1709
|
|
|
1752
1710
|
/**
|
|
1753
|
-
* optional
|
|
1754
|
-
* @return {
|
|
1755
|
-
*/
|
|
1756
|
-
proto.trb.indicators.v1.IndicatorInfo.prototype.getType = function() {
|
|
1757
|
-
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1758
|
-
};
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
/**
|
|
1762
|
-
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
1763
|
-
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
1764
|
-
*/
|
|
1765
|
-
proto.trb.indicators.v1.IndicatorInfo.prototype.setType = function(value) {
|
|
1766
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1767
|
-
};
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
/**
|
|
1771
|
-
* optional string name = 2;
|
|
1772
|
-
* @return {string}
|
|
1711
|
+
* optional google.protobuf.Timestamp time = 1;
|
|
1712
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1773
1713
|
*/
|
|
1774
|
-
proto.trb.indicators.v1.
|
|
1775
|
-
return /** @type
|
|
1714
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.getTime = function() {
|
|
1715
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1716
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
1776
1717
|
};
|
|
1777
1718
|
|
|
1778
1719
|
|
|
1779
1720
|
/**
|
|
1780
|
-
* @param {
|
|
1781
|
-
* @return {!proto.trb.indicators.v1.
|
|
1782
|
-
|
|
1783
|
-
proto.trb.indicators.v1.
|
|
1784
|
-
return jspb.Message.
|
|
1721
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1722
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1723
|
+
*/
|
|
1724
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.setTime = function(value) {
|
|
1725
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1785
1726
|
};
|
|
1786
1727
|
|
|
1787
1728
|
|
|
1788
1729
|
/**
|
|
1789
|
-
*
|
|
1790
|
-
* @return {
|
|
1730
|
+
* Clears the message field making it undefined.
|
|
1731
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1791
1732
|
*/
|
|
1792
|
-
proto.trb.indicators.v1.
|
|
1793
|
-
return
|
|
1733
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.clearTime = function() {
|
|
1734
|
+
return this.setTime(undefined);
|
|
1794
1735
|
};
|
|
1795
1736
|
|
|
1796
1737
|
|
|
1797
1738
|
/**
|
|
1798
|
-
*
|
|
1799
|
-
* @return {
|
|
1739
|
+
* Returns whether this field is set.
|
|
1740
|
+
* @return {boolean}
|
|
1800
1741
|
*/
|
|
1801
|
-
proto.trb.indicators.v1.
|
|
1802
|
-
return jspb.Message.
|
|
1742
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.hasTime = function() {
|
|
1743
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1803
1744
|
};
|
|
1804
1745
|
|
|
1805
1746
|
|
|
1806
1747
|
/**
|
|
1807
|
-
* map<string, double>
|
|
1748
|
+
* map<string, double> values = 2;
|
|
1808
1749
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1809
1750
|
* empty, instead returning `undefined`
|
|
1810
1751
|
* @return {!jspb.Map<string,number>}
|
|
1811
1752
|
*/
|
|
1812
|
-
proto.trb.indicators.v1.
|
|
1753
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.getValuesMap = function(opt_noLazyCreate) {
|
|
1813
1754
|
return /** @type {!jspb.Map<string,number>} */ (
|
|
1814
|
-
jspb.Message.getMapField(this,
|
|
1755
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
1815
1756
|
null));
|
|
1816
1757
|
};
|
|
1817
1758
|
|
|
1818
1759
|
|
|
1819
1760
|
/**
|
|
1820
1761
|
* Clears values from the map. The map will be non-null.
|
|
1821
|
-
* @return {!proto.trb.indicators.v1.
|
|
1762
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint} returns this
|
|
1822
1763
|
*/
|
|
1823
|
-
proto.trb.indicators.v1.
|
|
1824
|
-
this.
|
|
1764
|
+
proto.trb.indicators.v1.IndicatorPoint.prototype.clearValuesMap = function() {
|
|
1765
|
+
this.getValuesMap().clear();
|
|
1825
1766
|
return this;
|
|
1826
1767
|
};
|
|
1827
1768
|
|
|
1828
1769
|
|
|
1829
1770
|
|
|
1771
|
+
/**
|
|
1772
|
+
* List of repeated fields within this message type.
|
|
1773
|
+
* @private {!Array<number>}
|
|
1774
|
+
* @const
|
|
1775
|
+
*/
|
|
1776
|
+
proto.trb.indicators.v1.ComputeResponse.repeatedFields_ = [3];
|
|
1777
|
+
|
|
1830
1778
|
|
|
1831
1779
|
|
|
1832
1780
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1842,8 +1790,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1842
1790
|
* http://goto/soy-param-migration
|
|
1843
1791
|
* @return {!Object}
|
|
1844
1792
|
*/
|
|
1845
|
-
proto.trb.indicators.v1.
|
|
1846
|
-
return proto.trb.indicators.v1.
|
|
1793
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1794
|
+
return proto.trb.indicators.v1.ComputeResponse.toObject(opt_includeInstance, this);
|
|
1847
1795
|
};
|
|
1848
1796
|
|
|
1849
1797
|
|
|
@@ -1852,13 +1800,17 @@ proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_i
|
|
|
1852
1800
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1853
1801
|
* the JSPB instance for transitional soy proto support:
|
|
1854
1802
|
* http://goto/soy-param-migration
|
|
1855
|
-
* @param {!proto.trb.indicators.v1.
|
|
1803
|
+
* @param {!proto.trb.indicators.v1.ComputeResponse} msg The msg instance to transform.
|
|
1856
1804
|
* @return {!Object}
|
|
1857
1805
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1858
1806
|
*/
|
|
1859
|
-
proto.trb.indicators.v1.
|
|
1807
|
+
proto.trb.indicators.v1.ComputeResponse.toObject = function(includeInstance, msg) {
|
|
1860
1808
|
var f, obj = {
|
|
1861
|
-
|
|
1809
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1810
|
+
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1811
|
+
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
1812
|
+
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
|
|
1813
|
+
totalPoints: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1862
1814
|
};
|
|
1863
1815
|
|
|
1864
1816
|
if (includeInstance) {
|
|
@@ -1872,29 +1824,48 @@ proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance
|
|
|
1872
1824
|
/**
|
|
1873
1825
|
* Deserializes binary data (in protobuf wire format).
|
|
1874
1826
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1875
|
-
* @return {!proto.trb.indicators.v1.
|
|
1827
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse}
|
|
1876
1828
|
*/
|
|
1877
|
-
proto.trb.indicators.v1.
|
|
1829
|
+
proto.trb.indicators.v1.ComputeResponse.deserializeBinary = function(bytes) {
|
|
1878
1830
|
var reader = new jspb.BinaryReader(bytes);
|
|
1879
|
-
var msg = new proto.trb.indicators.v1.
|
|
1880
|
-
return proto.trb.indicators.v1.
|
|
1831
|
+
var msg = new proto.trb.indicators.v1.ComputeResponse;
|
|
1832
|
+
return proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader(msg, reader);
|
|
1881
1833
|
};
|
|
1882
1834
|
|
|
1883
1835
|
|
|
1884
1836
|
/**
|
|
1885
1837
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1886
1838
|
* given reader into the given message object.
|
|
1887
|
-
* @param {!proto.trb.indicators.v1.
|
|
1839
|
+
* @param {!proto.trb.indicators.v1.ComputeResponse} msg The message object to deserialize into.
|
|
1888
1840
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1889
|
-
* @return {!proto.trb.indicators.v1.
|
|
1841
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse}
|
|
1890
1842
|
*/
|
|
1891
|
-
proto.trb.indicators.v1.
|
|
1843
|
+
proto.trb.indicators.v1.ComputeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1892
1844
|
while (reader.nextField()) {
|
|
1893
1845
|
if (reader.isEndGroup()) {
|
|
1894
1846
|
break;
|
|
1895
1847
|
}
|
|
1896
1848
|
var field = reader.getFieldNumber();
|
|
1897
1849
|
switch (field) {
|
|
1850
|
+
case 1:
|
|
1851
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
1852
|
+
msg.setType(value);
|
|
1853
|
+
break;
|
|
1854
|
+
case 2:
|
|
1855
|
+
var value = msg.getParamsMap();
|
|
1856
|
+
reader.readMessage(value, function(message, reader) {
|
|
1857
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
1858
|
+
});
|
|
1859
|
+
break;
|
|
1860
|
+
case 3:
|
|
1861
|
+
var value = new proto.trb.indicators.v1.IndicatorPoint;
|
|
1862
|
+
reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
|
|
1863
|
+
msg.addPoints(value);
|
|
1864
|
+
break;
|
|
1865
|
+
case 4:
|
|
1866
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1867
|
+
msg.setTotalPoints(value);
|
|
1868
|
+
break;
|
|
1898
1869
|
default:
|
|
1899
1870
|
reader.skipField();
|
|
1900
1871
|
break;
|
|
@@ -1908,9 +1879,9 @@ proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = funct
|
|
|
1908
1879
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1909
1880
|
* @return {!Uint8Array}
|
|
1910
1881
|
*/
|
|
1911
|
-
proto.trb.indicators.v1.
|
|
1882
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.serializeBinary = function() {
|
|
1912
1883
|
var writer = new jspb.BinaryWriter();
|
|
1913
|
-
proto.trb.indicators.v1.
|
|
1884
|
+
proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter(this, writer);
|
|
1914
1885
|
return writer.getResultBuffer();
|
|
1915
1886
|
};
|
|
1916
1887
|
|
|
@@ -1918,176 +1889,146 @@ proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = functio
|
|
|
1918
1889
|
/**
|
|
1919
1890
|
* Serializes the given message to binary data (in protobuf wire
|
|
1920
1891
|
* format), writing to the given BinaryWriter.
|
|
1921
|
-
* @param {!proto.trb.indicators.v1.
|
|
1892
|
+
* @param {!proto.trb.indicators.v1.ComputeResponse} message
|
|
1922
1893
|
* @param {!jspb.BinaryWriter} writer
|
|
1923
1894
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1924
1895
|
*/
|
|
1925
|
-
proto.trb.indicators.v1.
|
|
1896
|
+
proto.trb.indicators.v1.ComputeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1926
1897
|
var f = undefined;
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1954
|
-
return proto.trb.indicators.v1.ListSupportedResponse.toObject(opt_includeInstance, this);
|
|
1898
|
+
f = message.getType();
|
|
1899
|
+
if (f !== 0.0) {
|
|
1900
|
+
writer.writeEnum(
|
|
1901
|
+
1,
|
|
1902
|
+
f
|
|
1903
|
+
);
|
|
1904
|
+
}
|
|
1905
|
+
f = message.getParamsMap(true);
|
|
1906
|
+
if (f && f.getLength() > 0) {
|
|
1907
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
1908
|
+
}
|
|
1909
|
+
f = message.getPointsList();
|
|
1910
|
+
if (f.length > 0) {
|
|
1911
|
+
writer.writeRepeatedMessage(
|
|
1912
|
+
3,
|
|
1913
|
+
f,
|
|
1914
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
|
|
1915
|
+
);
|
|
1916
|
+
}
|
|
1917
|
+
f = message.getTotalPoints();
|
|
1918
|
+
if (f !== 0) {
|
|
1919
|
+
writer.writeInt32(
|
|
1920
|
+
4,
|
|
1921
|
+
f
|
|
1922
|
+
);
|
|
1923
|
+
}
|
|
1955
1924
|
};
|
|
1956
1925
|
|
|
1957
1926
|
|
|
1958
1927
|
/**
|
|
1959
|
-
*
|
|
1960
|
-
* @
|
|
1961
|
-
* the JSPB instance for transitional soy proto support:
|
|
1962
|
-
* http://goto/soy-param-migration
|
|
1963
|
-
* @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The msg instance to transform.
|
|
1964
|
-
* @return {!Object}
|
|
1965
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1928
|
+
* optional IndicatorType type = 1;
|
|
1929
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
1966
1930
|
*/
|
|
1967
|
-
proto.trb.indicators.v1.
|
|
1968
|
-
|
|
1969
|
-
indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
|
|
1970
|
-
proto.trb.indicators.v1.IndicatorInfo.toObject, includeInstance)
|
|
1971
|
-
};
|
|
1972
|
-
|
|
1973
|
-
if (includeInstance) {
|
|
1974
|
-
obj.$jspbMessageInstance = msg;
|
|
1975
|
-
}
|
|
1976
|
-
return obj;
|
|
1931
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getType = function() {
|
|
1932
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1977
1933
|
};
|
|
1978
|
-
}
|
|
1979
1934
|
|
|
1980
1935
|
|
|
1981
1936
|
/**
|
|
1982
|
-
*
|
|
1983
|
-
* @
|
|
1984
|
-
* @return {!proto.trb.indicators.v1.ListSupportedResponse}
|
|
1937
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
1938
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
1985
1939
|
*/
|
|
1986
|
-
proto.trb.indicators.v1.
|
|
1987
|
-
|
|
1988
|
-
var msg = new proto.trb.indicators.v1.ListSupportedResponse;
|
|
1989
|
-
return proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader(msg, reader);
|
|
1940
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.setType = function(value) {
|
|
1941
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1990
1942
|
};
|
|
1991
1943
|
|
|
1992
1944
|
|
|
1993
1945
|
/**
|
|
1994
|
-
*
|
|
1995
|
-
*
|
|
1996
|
-
*
|
|
1997
|
-
* @
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
break;
|
|
2004
|
-
}
|
|
2005
|
-
var field = reader.getFieldNumber();
|
|
2006
|
-
switch (field) {
|
|
2007
|
-
case 1:
|
|
2008
|
-
var value = new proto.trb.indicators.v1.IndicatorInfo;
|
|
2009
|
-
reader.readMessage(value,proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader);
|
|
2010
|
-
msg.addIndicators(value);
|
|
2011
|
-
break;
|
|
2012
|
-
default:
|
|
2013
|
-
reader.skipField();
|
|
2014
|
-
break;
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2017
|
-
return msg;
|
|
1946
|
+
* map<string, double> params = 2;
|
|
1947
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
1948
|
+
* empty, instead returning `undefined`
|
|
1949
|
+
* @return {!jspb.Map<string,number>}
|
|
1950
|
+
*/
|
|
1951
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
1952
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
1953
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
1954
|
+
null));
|
|
2018
1955
|
};
|
|
2019
1956
|
|
|
2020
1957
|
|
|
2021
1958
|
/**
|
|
2022
|
-
*
|
|
2023
|
-
* @return {!
|
|
1959
|
+
* Clears values from the map. The map will be non-null.
|
|
1960
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2024
1961
|
*/
|
|
2025
|
-
proto.trb.indicators.v1.
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
return writer.getResultBuffer();
|
|
1962
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.clearParamsMap = function() {
|
|
1963
|
+
this.getParamsMap().clear();
|
|
1964
|
+
return this;
|
|
2029
1965
|
};
|
|
2030
1966
|
|
|
2031
1967
|
|
|
2032
1968
|
/**
|
|
2033
|
-
*
|
|
2034
|
-
*
|
|
2035
|
-
* @param {!proto.trb.indicators.v1.ListSupportedResponse} message
|
|
2036
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2037
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1969
|
+
* repeated IndicatorPoint points = 3;
|
|
1970
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
|
|
2038
1971
|
*/
|
|
2039
|
-
proto.trb.indicators.v1.
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
if (f.length > 0) {
|
|
2043
|
-
writer.writeRepeatedMessage(
|
|
2044
|
-
1,
|
|
2045
|
-
f,
|
|
2046
|
-
proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter
|
|
2047
|
-
);
|
|
2048
|
-
}
|
|
1972
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getPointsList = function() {
|
|
1973
|
+
return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
|
|
1974
|
+
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
|
|
2049
1975
|
};
|
|
2050
1976
|
|
|
2051
1977
|
|
|
2052
1978
|
/**
|
|
2053
|
-
*
|
|
2054
|
-
* @return {!
|
|
1979
|
+
* @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
|
|
1980
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
1981
|
+
*/
|
|
1982
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.setPointsList = function(value) {
|
|
1983
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
|
|
1989
|
+
* @param {number=} opt_index
|
|
1990
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
2055
1991
|
*/
|
|
2056
|
-
proto.trb.indicators.v1.
|
|
2057
|
-
return
|
|
2058
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorInfo, 1));
|
|
1992
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.addPoints = function(opt_value, opt_index) {
|
|
1993
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
|
|
2059
1994
|
};
|
|
2060
1995
|
|
|
2061
1996
|
|
|
2062
1997
|
/**
|
|
2063
|
-
*
|
|
2064
|
-
* @return {!proto.trb.indicators.v1.
|
|
2065
|
-
*/
|
|
2066
|
-
proto.trb.indicators.v1.
|
|
2067
|
-
return
|
|
1998
|
+
* Clears the list making it empty but non-null.
|
|
1999
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2000
|
+
*/
|
|
2001
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.clearPointsList = function() {
|
|
2002
|
+
return this.setPointsList([]);
|
|
2068
2003
|
};
|
|
2069
2004
|
|
|
2070
2005
|
|
|
2071
2006
|
/**
|
|
2072
|
-
*
|
|
2073
|
-
* @
|
|
2074
|
-
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
2007
|
+
* optional int32 total_points = 4;
|
|
2008
|
+
* @return {number}
|
|
2075
2009
|
*/
|
|
2076
|
-
proto.trb.indicators.v1.
|
|
2077
|
-
return jspb.Message.
|
|
2010
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.getTotalPoints = function() {
|
|
2011
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2078
2012
|
};
|
|
2079
2013
|
|
|
2080
2014
|
|
|
2081
2015
|
/**
|
|
2082
|
-
*
|
|
2083
|
-
* @return {!proto.trb.indicators.v1.
|
|
2016
|
+
* @param {number} value
|
|
2017
|
+
* @return {!proto.trb.indicators.v1.ComputeResponse} returns this
|
|
2084
2018
|
*/
|
|
2085
|
-
proto.trb.indicators.v1.
|
|
2086
|
-
return
|
|
2019
|
+
proto.trb.indicators.v1.ComputeResponse.prototype.setTotalPoints = function(value) {
|
|
2020
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2087
2021
|
};
|
|
2088
2022
|
|
|
2089
2023
|
|
|
2090
2024
|
|
|
2025
|
+
/**
|
|
2026
|
+
* List of repeated fields within this message type.
|
|
2027
|
+
* @private {!Array<number>}
|
|
2028
|
+
* @const
|
|
2029
|
+
*/
|
|
2030
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.repeatedFields_ = [3];
|
|
2031
|
+
|
|
2091
2032
|
|
|
2092
2033
|
|
|
2093
2034
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2103,8 +2044,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2103
2044
|
* http://goto/soy-param-migration
|
|
2104
2045
|
* @return {!Object}
|
|
2105
2046
|
*/
|
|
2106
|
-
proto.trb.indicators.v1.
|
|
2107
|
-
return proto.trb.indicators.v1.
|
|
2047
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2048
|
+
return proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject(opt_includeInstance, this);
|
|
2108
2049
|
};
|
|
2109
2050
|
|
|
2110
2051
|
|
|
@@ -2113,17 +2054,17 @@ proto.trb.indicators.v1.SchedulerTarget.prototype.toObject = function(opt_includ
|
|
|
2113
2054
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2114
2055
|
* the JSPB instance for transitional soy proto support:
|
|
2115
2056
|
* http://goto/soy-param-migration
|
|
2116
|
-
* @param {!proto.trb.indicators.v1.
|
|
2057
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The msg instance to transform.
|
|
2117
2058
|
* @return {!Object}
|
|
2118
2059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2119
2060
|
*/
|
|
2120
|
-
proto.trb.indicators.v1.
|
|
2061
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.toObject = function(includeInstance, msg) {
|
|
2121
2062
|
var f, obj = {
|
|
2122
|
-
|
|
2123
|
-
interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2124
|
-
indicator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2063
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2125
2064
|
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2126
|
-
|
|
2065
|
+
pointsList: jspb.Message.toObjectList(msg.getPointsList(),
|
|
2066
|
+
proto.trb.indicators.v1.IndicatorPoint.toObject, includeInstance),
|
|
2067
|
+
hasMore: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
2127
2068
|
};
|
|
2128
2069
|
|
|
2129
2070
|
if (includeInstance) {
|
|
@@ -2137,23 +2078,23 @@ enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
|
2137
2078
|
/**
|
|
2138
2079
|
* Deserializes binary data (in protobuf wire format).
|
|
2139
2080
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2140
|
-
* @return {!proto.trb.indicators.v1.
|
|
2081
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
|
|
2141
2082
|
*/
|
|
2142
|
-
proto.trb.indicators.v1.
|
|
2083
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinary = function(bytes) {
|
|
2143
2084
|
var reader = new jspb.BinaryReader(bytes);
|
|
2144
|
-
var msg = new proto.trb.indicators.v1.
|
|
2145
|
-
return proto.trb.indicators.v1.
|
|
2085
|
+
var msg = new proto.trb.indicators.v1.ListIndicatorValuesResponse;
|
|
2086
|
+
return proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader(msg, reader);
|
|
2146
2087
|
};
|
|
2147
2088
|
|
|
2148
2089
|
|
|
2149
2090
|
/**
|
|
2150
2091
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2151
2092
|
* given reader into the given message object.
|
|
2152
|
-
* @param {!proto.trb.indicators.v1.
|
|
2093
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} msg The message object to deserialize into.
|
|
2153
2094
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2154
|
-
* @return {!proto.trb.indicators.v1.
|
|
2095
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse}
|
|
2155
2096
|
*/
|
|
2156
|
-
proto.trb.indicators.v1.
|
|
2097
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2157
2098
|
while (reader.nextField()) {
|
|
2158
2099
|
if (reader.isEndGroup()) {
|
|
2159
2100
|
break;
|
|
@@ -2161,26 +2102,23 @@ proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(m
|
|
|
2161
2102
|
var field = reader.getFieldNumber();
|
|
2162
2103
|
switch (field) {
|
|
2163
2104
|
case 1:
|
|
2164
|
-
var value = /** @type {
|
|
2165
|
-
msg.
|
|
2105
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
2106
|
+
msg.setType(value);
|
|
2166
2107
|
break;
|
|
2167
2108
|
case 2:
|
|
2168
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2169
|
-
msg.setInterval(value);
|
|
2170
|
-
break;
|
|
2171
|
-
case 3:
|
|
2172
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2173
|
-
msg.setIndicator(value);
|
|
2174
|
-
break;
|
|
2175
|
-
case 4:
|
|
2176
2109
|
var value = msg.getParamsMap();
|
|
2177
2110
|
reader.readMessage(value, function(message, reader) {
|
|
2178
2111
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
2179
2112
|
});
|
|
2180
2113
|
break;
|
|
2181
|
-
case
|
|
2114
|
+
case 3:
|
|
2115
|
+
var value = new proto.trb.indicators.v1.IndicatorPoint;
|
|
2116
|
+
reader.readMessage(value,proto.trb.indicators.v1.IndicatorPoint.deserializeBinaryFromReader);
|
|
2117
|
+
msg.addPoints(value);
|
|
2118
|
+
break;
|
|
2119
|
+
case 4:
|
|
2182
2120
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2183
|
-
msg.
|
|
2121
|
+
msg.setHasMore(value);
|
|
2184
2122
|
break;
|
|
2185
2123
|
default:
|
|
2186
2124
|
reader.skipField();
|
|
@@ -2195,9 +2133,9 @@ proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(m
|
|
|
2195
2133
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2196
2134
|
* @return {!Uint8Array}
|
|
2197
2135
|
*/
|
|
2198
|
-
proto.trb.indicators.v1.
|
|
2136
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.serializeBinary = function() {
|
|
2199
2137
|
var writer = new jspb.BinaryWriter();
|
|
2200
|
-
proto.trb.indicators.v1.
|
|
2138
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter(this, writer);
|
|
2201
2139
|
return writer.getResultBuffer();
|
|
2202
2140
|
};
|
|
2203
2141
|
|
|
@@ -2205,41 +2143,35 @@ proto.trb.indicators.v1.SchedulerTarget.prototype.serializeBinary = function() {
|
|
|
2205
2143
|
/**
|
|
2206
2144
|
* Serializes the given message to binary data (in protobuf wire
|
|
2207
2145
|
* format), writing to the given BinaryWriter.
|
|
2208
|
-
* @param {!proto.trb.indicators.v1.
|
|
2146
|
+
* @param {!proto.trb.indicators.v1.ListIndicatorValuesResponse} message
|
|
2209
2147
|
* @param {!jspb.BinaryWriter} writer
|
|
2210
2148
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2211
2149
|
*/
|
|
2212
|
-
proto.trb.indicators.v1.
|
|
2150
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2213
2151
|
var f = undefined;
|
|
2214
|
-
f = message.
|
|
2215
|
-
if (f
|
|
2216
|
-
writer.
|
|
2152
|
+
f = message.getType();
|
|
2153
|
+
if (f !== 0.0) {
|
|
2154
|
+
writer.writeEnum(
|
|
2217
2155
|
1,
|
|
2218
2156
|
f
|
|
2219
2157
|
);
|
|
2220
2158
|
}
|
|
2221
|
-
f = message.
|
|
2222
|
-
if (f
|
|
2223
|
-
writer.
|
|
2224
|
-
2,
|
|
2225
|
-
f
|
|
2226
|
-
);
|
|
2159
|
+
f = message.getParamsMap(true);
|
|
2160
|
+
if (f && f.getLength() > 0) {
|
|
2161
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
2227
2162
|
}
|
|
2228
|
-
f = message.
|
|
2163
|
+
f = message.getPointsList();
|
|
2229
2164
|
if (f.length > 0) {
|
|
2230
|
-
writer.
|
|
2165
|
+
writer.writeRepeatedMessage(
|
|
2231
2166
|
3,
|
|
2232
|
-
f
|
|
2167
|
+
f,
|
|
2168
|
+
proto.trb.indicators.v1.IndicatorPoint.serializeBinaryToWriter
|
|
2233
2169
|
);
|
|
2234
2170
|
}
|
|
2235
|
-
f = message.
|
|
2236
|
-
if (f && f.getLength() > 0) {
|
|
2237
|
-
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
2238
|
-
}
|
|
2239
|
-
f = message.getEnabled();
|
|
2171
|
+
f = message.getHasMore();
|
|
2240
2172
|
if (f) {
|
|
2241
2173
|
writer.writeBool(
|
|
2242
|
-
|
|
2174
|
+
4,
|
|
2243
2175
|
f
|
|
2244
2176
|
);
|
|
2245
2177
|
}
|
|
@@ -2247,209 +2179,103 @@ proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter = function(messa
|
|
|
2247
2179
|
|
|
2248
2180
|
|
|
2249
2181
|
/**
|
|
2250
|
-
* optional
|
|
2251
|
-
* @return {
|
|
2252
|
-
*/
|
|
2253
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getUid = function() {
|
|
2254
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2255
|
-
};
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
/**
|
|
2259
|
-
* @param {string} value
|
|
2260
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
2261
|
-
*/
|
|
2262
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setUid = function(value) {
|
|
2263
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2264
|
-
};
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
* optional int32 interval = 2;
|
|
2269
|
-
* @return {number}
|
|
2270
|
-
*/
|
|
2271
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getInterval = function() {
|
|
2272
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2273
|
-
};
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
/**
|
|
2277
|
-
* @param {number} value
|
|
2278
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
2279
|
-
*/
|
|
2280
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setInterval = function(value) {
|
|
2281
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2282
|
-
};
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
/**
|
|
2286
|
-
* optional string indicator = 3;
|
|
2287
|
-
* @return {string}
|
|
2182
|
+
* optional IndicatorType type = 1;
|
|
2183
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
2288
2184
|
*/
|
|
2289
|
-
proto.trb.indicators.v1.
|
|
2290
|
-
return /** @type {
|
|
2185
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getType = function() {
|
|
2186
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2291
2187
|
};
|
|
2292
2188
|
|
|
2293
2189
|
|
|
2294
2190
|
/**
|
|
2295
|
-
* @param {
|
|
2296
|
-
* @return {!proto.trb.indicators.v1.
|
|
2191
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
2192
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2297
2193
|
*/
|
|
2298
|
-
proto.trb.indicators.v1.
|
|
2299
|
-
return jspb.Message.
|
|
2194
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setType = function(value) {
|
|
2195
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2300
2196
|
};
|
|
2301
2197
|
|
|
2302
2198
|
|
|
2303
2199
|
/**
|
|
2304
|
-
* map<string, double> params =
|
|
2200
|
+
* map<string, double> params = 2;
|
|
2305
2201
|
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
2306
2202
|
* empty, instead returning `undefined`
|
|
2307
2203
|
* @return {!jspb.Map<string,number>}
|
|
2308
2204
|
*/
|
|
2309
|
-
proto.trb.indicators.v1.
|
|
2205
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
2310
2206
|
return /** @type {!jspb.Map<string,number>} */ (
|
|
2311
|
-
jspb.Message.getMapField(this,
|
|
2207
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
2312
2208
|
null));
|
|
2313
2209
|
};
|
|
2314
2210
|
|
|
2315
2211
|
|
|
2316
2212
|
/**
|
|
2317
2213
|
* Clears values from the map. The map will be non-null.
|
|
2318
|
-
* @return {!proto.trb.indicators.v1.
|
|
2214
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2319
2215
|
*/
|
|
2320
|
-
proto.trb.indicators.v1.
|
|
2216
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearParamsMap = function() {
|
|
2321
2217
|
this.getParamsMap().clear();
|
|
2322
2218
|
return this;
|
|
2323
2219
|
};
|
|
2324
2220
|
|
|
2325
2221
|
|
|
2326
2222
|
/**
|
|
2327
|
-
*
|
|
2328
|
-
* @return {
|
|
2329
|
-
*/
|
|
2330
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getEnabled = function() {
|
|
2331
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
2332
|
-
};
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
/**
|
|
2336
|
-
* @param {boolean} value
|
|
2337
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
2338
|
-
*/
|
|
2339
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setEnabled = function(value) {
|
|
2340
|
-
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
2341
|
-
};
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2348
|
-
/**
|
|
2349
|
-
* Creates an object representation of this proto.
|
|
2350
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2351
|
-
* Optional fields that are not set will be set to undefined.
|
|
2352
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2353
|
-
* For the list of reserved names please see:
|
|
2354
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2355
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2356
|
-
* JSPB instance for transitional soy proto support:
|
|
2357
|
-
* http://goto/soy-param-migration
|
|
2358
|
-
* @return {!Object}
|
|
2223
|
+
* repeated IndicatorPoint points = 3;
|
|
2224
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorPoint>}
|
|
2359
2225
|
*/
|
|
2360
|
-
proto.trb.indicators.v1.
|
|
2361
|
-
return proto.trb.indicators.v1.
|
|
2226
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getPointsList = function() {
|
|
2227
|
+
return /** @type{!Array<!proto.trb.indicators.v1.IndicatorPoint>} */ (
|
|
2228
|
+
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorPoint, 3));
|
|
2362
2229
|
};
|
|
2363
2230
|
|
|
2364
2231
|
|
|
2365
2232
|
/**
|
|
2366
|
-
*
|
|
2367
|
-
* @
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
* @return {!Object}
|
|
2372
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2373
|
-
*/
|
|
2374
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
|
|
2375
|
-
var f, obj = {
|
|
2376
|
-
|
|
2377
|
-
};
|
|
2378
|
-
|
|
2379
|
-
if (includeInstance) {
|
|
2380
|
-
obj.$jspbMessageInstance = msg;
|
|
2381
|
-
}
|
|
2382
|
-
return obj;
|
|
2233
|
+
* @param {!Array<!proto.trb.indicators.v1.IndicatorPoint>} value
|
|
2234
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2235
|
+
*/
|
|
2236
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setPointsList = function(value) {
|
|
2237
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
2383
2238
|
};
|
|
2384
|
-
}
|
|
2385
2239
|
|
|
2386
2240
|
|
|
2387
2241
|
/**
|
|
2388
|
-
*
|
|
2389
|
-
* @param {
|
|
2390
|
-
* @return {!proto.trb.indicators.v1.
|
|
2242
|
+
* @param {!proto.trb.indicators.v1.IndicatorPoint=} opt_value
|
|
2243
|
+
* @param {number=} opt_index
|
|
2244
|
+
* @return {!proto.trb.indicators.v1.IndicatorPoint}
|
|
2391
2245
|
*/
|
|
2392
|
-
proto.trb.indicators.v1.
|
|
2393
|
-
|
|
2394
|
-
var msg = new proto.trb.indicators.v1.ListSchedulerTargetsRequest;
|
|
2395
|
-
return proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2246
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.addPoints = function(opt_value, opt_index) {
|
|
2247
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.trb.indicators.v1.IndicatorPoint, opt_index);
|
|
2396
2248
|
};
|
|
2397
2249
|
|
|
2398
2250
|
|
|
2399
2251
|
/**
|
|
2400
|
-
*
|
|
2401
|
-
*
|
|
2402
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The message object to deserialize into.
|
|
2403
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2404
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
|
|
2252
|
+
* Clears the list making it empty but non-null.
|
|
2253
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2405
2254
|
*/
|
|
2406
|
-
proto.trb.indicators.v1.
|
|
2407
|
-
|
|
2408
|
-
if (reader.isEndGroup()) {
|
|
2409
|
-
break;
|
|
2410
|
-
}
|
|
2411
|
-
var field = reader.getFieldNumber();
|
|
2412
|
-
switch (field) {
|
|
2413
|
-
default:
|
|
2414
|
-
reader.skipField();
|
|
2415
|
-
break;
|
|
2416
|
-
}
|
|
2417
|
-
}
|
|
2418
|
-
return msg;
|
|
2255
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.clearPointsList = function() {
|
|
2256
|
+
return this.setPointsList([]);
|
|
2419
2257
|
};
|
|
2420
2258
|
|
|
2421
2259
|
|
|
2422
2260
|
/**
|
|
2423
|
-
*
|
|
2424
|
-
* @return {
|
|
2261
|
+
* optional bool has_more = 4;
|
|
2262
|
+
* @return {boolean}
|
|
2425
2263
|
*/
|
|
2426
|
-
proto.trb.indicators.v1.
|
|
2427
|
-
|
|
2428
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
|
|
2429
|
-
return writer.getResultBuffer();
|
|
2264
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.getHasMore = function() {
|
|
2265
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
2430
2266
|
};
|
|
2431
2267
|
|
|
2432
2268
|
|
|
2433
2269
|
/**
|
|
2434
|
-
*
|
|
2435
|
-
*
|
|
2436
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} message
|
|
2437
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2438
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2270
|
+
* @param {boolean} value
|
|
2271
|
+
* @return {!proto.trb.indicators.v1.ListIndicatorValuesResponse} returns this
|
|
2439
2272
|
*/
|
|
2440
|
-
proto.trb.indicators.v1.
|
|
2441
|
-
|
|
2273
|
+
proto.trb.indicators.v1.ListIndicatorValuesResponse.prototype.setHasMore = function(value) {
|
|
2274
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2442
2275
|
};
|
|
2443
2276
|
|
|
2444
2277
|
|
|
2445
2278
|
|
|
2446
|
-
/**
|
|
2447
|
-
* List of repeated fields within this message type.
|
|
2448
|
-
* @private {!Array<number>}
|
|
2449
|
-
* @const
|
|
2450
|
-
*/
|
|
2451
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_ = [1];
|
|
2452
|
-
|
|
2453
2279
|
|
|
2454
2280
|
|
|
2455
2281
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2465,8 +2291,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2465
2291
|
* http://goto/soy-param-migration
|
|
2466
2292
|
* @return {!Object}
|
|
2467
2293
|
*/
|
|
2468
|
-
proto.trb.indicators.v1.
|
|
2469
|
-
return proto.trb.indicators.v1.
|
|
2294
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.toObject = function(opt_includeInstance) {
|
|
2295
|
+
return proto.trb.indicators.v1.IndicatorInfo.toObject(opt_includeInstance, this);
|
|
2470
2296
|
};
|
|
2471
2297
|
|
|
2472
2298
|
|
|
@@ -2475,14 +2301,16 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.toObject = functi
|
|
|
2475
2301
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2476
2302
|
* the JSPB instance for transitional soy proto support:
|
|
2477
2303
|
* http://goto/soy-param-migration
|
|
2478
|
-
* @param {!proto.trb.indicators.v1.
|
|
2304
|
+
* @param {!proto.trb.indicators.v1.IndicatorInfo} msg The msg instance to transform.
|
|
2479
2305
|
* @return {!Object}
|
|
2480
2306
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2481
2307
|
*/
|
|
2482
|
-
proto.trb.indicators.v1.
|
|
2308
|
+
proto.trb.indicators.v1.IndicatorInfo.toObject = function(includeInstance, msg) {
|
|
2483
2309
|
var f, obj = {
|
|
2484
|
-
|
|
2485
|
-
|
|
2310
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2311
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2312
|
+
minBars: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2313
|
+
defaultParamsMap: (f = msg.getDefaultParamsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
2486
2314
|
};
|
|
2487
2315
|
|
|
2488
2316
|
if (includeInstance) {
|
|
@@ -2496,23 +2324,23 @@ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
|
2496
2324
|
/**
|
|
2497
2325
|
* Deserializes binary data (in protobuf wire format).
|
|
2498
2326
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2499
|
-
* @return {!proto.trb.indicators.v1.
|
|
2327
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
2500
2328
|
*/
|
|
2501
|
-
proto.trb.indicators.v1.
|
|
2329
|
+
proto.trb.indicators.v1.IndicatorInfo.deserializeBinary = function(bytes) {
|
|
2502
2330
|
var reader = new jspb.BinaryReader(bytes);
|
|
2503
|
-
var msg = new proto.trb.indicators.v1.
|
|
2504
|
-
return proto.trb.indicators.v1.
|
|
2331
|
+
var msg = new proto.trb.indicators.v1.IndicatorInfo;
|
|
2332
|
+
return proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader(msg, reader);
|
|
2505
2333
|
};
|
|
2506
2334
|
|
|
2507
2335
|
|
|
2508
2336
|
/**
|
|
2509
2337
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2510
2338
|
* given reader into the given message object.
|
|
2511
|
-
* @param {!proto.trb.indicators.v1.
|
|
2339
|
+
* @param {!proto.trb.indicators.v1.IndicatorInfo} msg The message object to deserialize into.
|
|
2512
2340
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2513
|
-
* @return {!proto.trb.indicators.v1.
|
|
2341
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
2514
2342
|
*/
|
|
2515
|
-
proto.trb.indicators.v1.
|
|
2343
|
+
proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
2516
2344
|
while (reader.nextField()) {
|
|
2517
2345
|
if (reader.isEndGroup()) {
|
|
2518
2346
|
break;
|
|
@@ -2520,9 +2348,22 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader
|
|
|
2520
2348
|
var field = reader.getFieldNumber();
|
|
2521
2349
|
switch (field) {
|
|
2522
2350
|
case 1:
|
|
2523
|
-
var value =
|
|
2524
|
-
|
|
2525
|
-
|
|
2351
|
+
var value = /** @type {!proto.trb.indicators.v1.IndicatorType} */ (reader.readEnum());
|
|
2352
|
+
msg.setType(value);
|
|
2353
|
+
break;
|
|
2354
|
+
case 2:
|
|
2355
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2356
|
+
msg.setName(value);
|
|
2357
|
+
break;
|
|
2358
|
+
case 3:
|
|
2359
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2360
|
+
msg.setMinBars(value);
|
|
2361
|
+
break;
|
|
2362
|
+
case 4:
|
|
2363
|
+
var value = msg.getDefaultParamsMap();
|
|
2364
|
+
reader.readMessage(value, function(message, reader) {
|
|
2365
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
2366
|
+
});
|
|
2526
2367
|
break;
|
|
2527
2368
|
default:
|
|
2528
2369
|
reader.skipField();
|
|
@@ -2537,9 +2378,9 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader
|
|
|
2537
2378
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2538
2379
|
* @return {!Uint8Array}
|
|
2539
2380
|
*/
|
|
2540
|
-
proto.trb.indicators.v1.
|
|
2381
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.serializeBinary = function() {
|
|
2541
2382
|
var writer = new jspb.BinaryWriter();
|
|
2542
|
-
proto.trb.indicators.v1.
|
|
2383
|
+
proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter(this, writer);
|
|
2543
2384
|
return writer.getResultBuffer();
|
|
2544
2385
|
};
|
|
2545
2386
|
|
|
@@ -2547,68 +2388,117 @@ proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.serializeBinary =
|
|
|
2547
2388
|
/**
|
|
2548
2389
|
* Serializes the given message to binary data (in protobuf wire
|
|
2549
2390
|
* format), writing to the given BinaryWriter.
|
|
2550
|
-
* @param {!proto.trb.indicators.v1.
|
|
2391
|
+
* @param {!proto.trb.indicators.v1.IndicatorInfo} message
|
|
2551
2392
|
* @param {!jspb.BinaryWriter} writer
|
|
2552
2393
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2553
2394
|
*/
|
|
2554
|
-
proto.trb.indicators.v1.
|
|
2395
|
+
proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter = function(message, writer) {
|
|
2555
2396
|
var f = undefined;
|
|
2556
|
-
f = message.
|
|
2557
|
-
if (f
|
|
2558
|
-
writer.
|
|
2397
|
+
f = message.getType();
|
|
2398
|
+
if (f !== 0.0) {
|
|
2399
|
+
writer.writeEnum(
|
|
2559
2400
|
1,
|
|
2560
|
-
f
|
|
2561
|
-
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
|
|
2401
|
+
f
|
|
2562
2402
|
);
|
|
2563
2403
|
}
|
|
2404
|
+
f = message.getName();
|
|
2405
|
+
if (f.length > 0) {
|
|
2406
|
+
writer.writeString(
|
|
2407
|
+
2,
|
|
2408
|
+
f
|
|
2409
|
+
);
|
|
2410
|
+
}
|
|
2411
|
+
f = message.getMinBars();
|
|
2412
|
+
if (f !== 0) {
|
|
2413
|
+
writer.writeInt32(
|
|
2414
|
+
3,
|
|
2415
|
+
f
|
|
2416
|
+
);
|
|
2417
|
+
}
|
|
2418
|
+
f = message.getDefaultParamsMap(true);
|
|
2419
|
+
if (f && f.getLength() > 0) {
|
|
2420
|
+
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
2421
|
+
}
|
|
2564
2422
|
};
|
|
2565
2423
|
|
|
2566
2424
|
|
|
2567
2425
|
/**
|
|
2568
|
-
*
|
|
2569
|
-
* @return {!
|
|
2426
|
+
* optional IndicatorType type = 1;
|
|
2427
|
+
* @return {!proto.trb.indicators.v1.IndicatorType}
|
|
2570
2428
|
*/
|
|
2571
|
-
proto.trb.indicators.v1.
|
|
2572
|
-
return /** @type{!
|
|
2573
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
|
|
2429
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getType = function() {
|
|
2430
|
+
return /** @type {!proto.trb.indicators.v1.IndicatorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2574
2431
|
};
|
|
2575
2432
|
|
|
2576
2433
|
|
|
2577
2434
|
/**
|
|
2578
|
-
* @param {!
|
|
2579
|
-
* @return {!proto.trb.indicators.v1.
|
|
2580
|
-
*/
|
|
2581
|
-
proto.trb.indicators.v1.
|
|
2582
|
-
return jspb.Message.
|
|
2435
|
+
* @param {!proto.trb.indicators.v1.IndicatorType} value
|
|
2436
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2437
|
+
*/
|
|
2438
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.setType = function(value) {
|
|
2439
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2583
2440
|
};
|
|
2584
2441
|
|
|
2585
2442
|
|
|
2586
2443
|
/**
|
|
2587
|
-
*
|
|
2588
|
-
* @
|
|
2589
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
2444
|
+
* optional string name = 2;
|
|
2445
|
+
* @return {string}
|
|
2590
2446
|
*/
|
|
2591
|
-
proto.trb.indicators.v1.
|
|
2592
|
-
return jspb.Message.
|
|
2447
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getName = function() {
|
|
2448
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2593
2449
|
};
|
|
2594
2450
|
|
|
2595
2451
|
|
|
2596
2452
|
/**
|
|
2597
|
-
*
|
|
2598
|
-
* @return {!proto.trb.indicators.v1.
|
|
2453
|
+
* @param {string} value
|
|
2454
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2599
2455
|
*/
|
|
2600
|
-
proto.trb.indicators.v1.
|
|
2601
|
-
return
|
|
2456
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.setName = function(value) {
|
|
2457
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2602
2458
|
};
|
|
2603
2459
|
|
|
2604
2460
|
|
|
2461
|
+
/**
|
|
2462
|
+
* optional int32 min_bars = 3;
|
|
2463
|
+
* @return {number}
|
|
2464
|
+
*/
|
|
2465
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getMinBars = function() {
|
|
2466
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2467
|
+
};
|
|
2468
|
+
|
|
2605
2469
|
|
|
2606
2470
|
/**
|
|
2607
|
-
*
|
|
2608
|
-
* @
|
|
2609
|
-
|
|
2471
|
+
* @param {number} value
|
|
2472
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2473
|
+
*/
|
|
2474
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.setMinBars = function(value) {
|
|
2475
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2476
|
+
};
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* map<string, double> default_params = 4;
|
|
2481
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
2482
|
+
* empty, instead returning `undefined`
|
|
2483
|
+
* @return {!jspb.Map<string,number>}
|
|
2484
|
+
*/
|
|
2485
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.getDefaultParamsMap = function(opt_noLazyCreate) {
|
|
2486
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
2487
|
+
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
2488
|
+
null));
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* Clears values from the map. The map will be non-null.
|
|
2494
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo} returns this
|
|
2610
2495
|
*/
|
|
2611
|
-
proto.trb.indicators.v1.
|
|
2496
|
+
proto.trb.indicators.v1.IndicatorInfo.prototype.clearDefaultParamsMap = function() {
|
|
2497
|
+
this.getDefaultParamsMap().clear();
|
|
2498
|
+
return this;
|
|
2499
|
+
};
|
|
2500
|
+
|
|
2501
|
+
|
|
2612
2502
|
|
|
2613
2503
|
|
|
2614
2504
|
|
|
@@ -2625,8 +2515,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2625
2515
|
* http://goto/soy-param-migration
|
|
2626
2516
|
* @return {!Object}
|
|
2627
2517
|
*/
|
|
2628
|
-
proto.trb.indicators.v1.
|
|
2629
|
-
return proto.trb.indicators.v1.
|
|
2518
|
+
proto.trb.indicators.v1.ListSupportedRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2519
|
+
return proto.trb.indicators.v1.ListSupportedRequest.toObject(opt_includeInstance, this);
|
|
2630
2520
|
};
|
|
2631
2521
|
|
|
2632
2522
|
|
|
@@ -2635,15 +2525,13 @@ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.toObject = functio
|
|
|
2635
2525
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2636
2526
|
* the JSPB instance for transitional soy proto support:
|
|
2637
2527
|
* http://goto/soy-param-migration
|
|
2638
|
-
* @param {!proto.trb.indicators.v1.
|
|
2528
|
+
* @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The msg instance to transform.
|
|
2639
2529
|
* @return {!Object}
|
|
2640
2530
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2641
2531
|
*/
|
|
2642
|
-
proto.trb.indicators.v1.
|
|
2532
|
+
proto.trb.indicators.v1.ListSupportedRequest.toObject = function(includeInstance, msg) {
|
|
2643
2533
|
var f, obj = {
|
|
2644
|
-
|
|
2645
|
-
proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance),
|
|
2646
|
-
allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
2534
|
+
|
|
2647
2535
|
};
|
|
2648
2536
|
|
|
2649
2537
|
if (includeInstance) {
|
|
@@ -2657,38 +2545,29 @@ allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
|
2657
2545
|
/**
|
|
2658
2546
|
* Deserializes binary data (in protobuf wire format).
|
|
2659
2547
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2660
|
-
* @return {!proto.trb.indicators.v1.
|
|
2548
|
+
* @return {!proto.trb.indicators.v1.ListSupportedRequest}
|
|
2661
2549
|
*/
|
|
2662
|
-
proto.trb.indicators.v1.
|
|
2550
|
+
proto.trb.indicators.v1.ListSupportedRequest.deserializeBinary = function(bytes) {
|
|
2663
2551
|
var reader = new jspb.BinaryReader(bytes);
|
|
2664
|
-
var msg = new proto.trb.indicators.v1.
|
|
2665
|
-
return proto.trb.indicators.v1.
|
|
2552
|
+
var msg = new proto.trb.indicators.v1.ListSupportedRequest;
|
|
2553
|
+
return proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader(msg, reader);
|
|
2666
2554
|
};
|
|
2667
2555
|
|
|
2668
2556
|
|
|
2669
2557
|
/**
|
|
2670
2558
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2671
2559
|
* given reader into the given message object.
|
|
2672
|
-
* @param {!proto.trb.indicators.v1.
|
|
2560
|
+
* @param {!proto.trb.indicators.v1.ListSupportedRequest} msg The message object to deserialize into.
|
|
2673
2561
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2674
|
-
* @return {!proto.trb.indicators.v1.
|
|
2562
|
+
* @return {!proto.trb.indicators.v1.ListSupportedRequest}
|
|
2675
2563
|
*/
|
|
2676
|
-
proto.trb.indicators.v1.
|
|
2564
|
+
proto.trb.indicators.v1.ListSupportedRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2677
2565
|
while (reader.nextField()) {
|
|
2678
2566
|
if (reader.isEndGroup()) {
|
|
2679
2567
|
break;
|
|
2680
2568
|
}
|
|
2681
2569
|
var field = reader.getFieldNumber();
|
|
2682
2570
|
switch (field) {
|
|
2683
|
-
case 1:
|
|
2684
|
-
var value = new proto.trb.indicators.v1.SchedulerTarget;
|
|
2685
|
-
reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
|
|
2686
|
-
msg.addItems(value);
|
|
2687
|
-
break;
|
|
2688
|
-
case 2:
|
|
2689
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2690
|
-
msg.setAllowEmpty(value);
|
|
2691
|
-
break;
|
|
2692
2571
|
default:
|
|
2693
2572
|
reader.skipField();
|
|
2694
2573
|
break;
|
|
@@ -2702,9 +2581,9 @@ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader
|
|
|
2702
2581
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2703
2582
|
* @return {!Uint8Array}
|
|
2704
2583
|
*/
|
|
2705
|
-
proto.trb.indicators.v1.
|
|
2584
|
+
proto.trb.indicators.v1.ListSupportedRequest.prototype.serializeBinary = function() {
|
|
2706
2585
|
var writer = new jspb.BinaryWriter();
|
|
2707
|
-
proto.trb.indicators.v1.
|
|
2586
|
+
proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter(this, writer);
|
|
2708
2587
|
return writer.getResultBuffer();
|
|
2709
2588
|
};
|
|
2710
2589
|
|
|
@@ -2712,86 +2591,22 @@ proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.serializeBinary =
|
|
|
2712
2591
|
/**
|
|
2713
2592
|
* Serializes the given message to binary data (in protobuf wire
|
|
2714
2593
|
* format), writing to the given BinaryWriter.
|
|
2715
|
-
* @param {!proto.trb.indicators.v1.
|
|
2594
|
+
* @param {!proto.trb.indicators.v1.ListSupportedRequest} message
|
|
2716
2595
|
* @param {!jspb.BinaryWriter} writer
|
|
2717
2596
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2718
2597
|
*/
|
|
2719
|
-
proto.trb.indicators.v1.
|
|
2598
|
+
proto.trb.indicators.v1.ListSupportedRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2720
2599
|
var f = undefined;
|
|
2721
|
-
f = message.getItemsList();
|
|
2722
|
-
if (f.length > 0) {
|
|
2723
|
-
writer.writeRepeatedMessage(
|
|
2724
|
-
1,
|
|
2725
|
-
f,
|
|
2726
|
-
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
|
|
2727
|
-
);
|
|
2728
|
-
}
|
|
2729
|
-
f = message.getAllowEmpty();
|
|
2730
|
-
if (f) {
|
|
2731
|
-
writer.writeBool(
|
|
2732
|
-
2,
|
|
2733
|
-
f
|
|
2734
|
-
);
|
|
2735
|
-
}
|
|
2736
|
-
};
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
/**
|
|
2740
|
-
* repeated SchedulerTarget items = 1;
|
|
2741
|
-
* @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
|
|
2742
|
-
*/
|
|
2743
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getItemsList = function() {
|
|
2744
|
-
return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
|
|
2745
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
|
|
2746
|
-
};
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
/**
|
|
2750
|
-
* @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
|
|
2751
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
|
|
2752
|
-
*/
|
|
2753
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setItemsList = function(value) {
|
|
2754
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2755
|
-
};
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
/**
|
|
2759
|
-
* @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
|
|
2760
|
-
* @param {number=} opt_index
|
|
2761
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
2762
|
-
*/
|
|
2763
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.addItems = function(opt_value, opt_index) {
|
|
2764
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
|
|
2765
|
-
};
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
/**
|
|
2769
|
-
* Clears the list making it empty but non-null.
|
|
2770
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
|
|
2771
|
-
*/
|
|
2772
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.clearItemsList = function() {
|
|
2773
|
-
return this.setItemsList([]);
|
|
2774
2600
|
};
|
|
2775
2601
|
|
|
2776
2602
|
|
|
2777
|
-
/**
|
|
2778
|
-
* optional bool allow_empty = 2;
|
|
2779
|
-
* @return {boolean}
|
|
2780
|
-
*/
|
|
2781
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getAllowEmpty = function() {
|
|
2782
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
2783
|
-
};
|
|
2784
|
-
|
|
2785
2603
|
|
|
2786
2604
|
/**
|
|
2787
|
-
*
|
|
2788
|
-
* @
|
|
2605
|
+
* List of repeated fields within this message type.
|
|
2606
|
+
* @private {!Array<number>}
|
|
2607
|
+
* @const
|
|
2789
2608
|
*/
|
|
2790
|
-
proto.trb.indicators.v1.
|
|
2791
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
2792
|
-
};
|
|
2793
|
-
|
|
2794
|
-
|
|
2609
|
+
proto.trb.indicators.v1.ListSupportedResponse.repeatedFields_ = [1];
|
|
2795
2610
|
|
|
2796
2611
|
|
|
2797
2612
|
|
|
@@ -2808,8 +2623,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2808
2623
|
* http://goto/soy-param-migration
|
|
2809
2624
|
* @return {!Object}
|
|
2810
2625
|
*/
|
|
2811
|
-
proto.trb.indicators.v1.
|
|
2812
|
-
return proto.trb.indicators.v1.
|
|
2626
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2627
|
+
return proto.trb.indicators.v1.ListSupportedResponse.toObject(opt_includeInstance, this);
|
|
2813
2628
|
};
|
|
2814
2629
|
|
|
2815
2630
|
|
|
@@ -2818,13 +2633,14 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.toObject = functi
|
|
|
2818
2633
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2819
2634
|
* the JSPB instance for transitional soy proto support:
|
|
2820
2635
|
* http://goto/soy-param-migration
|
|
2821
|
-
* @param {!proto.trb.indicators.v1.
|
|
2636
|
+
* @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The msg instance to transform.
|
|
2822
2637
|
* @return {!Object}
|
|
2823
2638
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2824
2639
|
*/
|
|
2825
|
-
proto.trb.indicators.v1.
|
|
2640
|
+
proto.trb.indicators.v1.ListSupportedResponse.toObject = function(includeInstance, msg) {
|
|
2826
2641
|
var f, obj = {
|
|
2827
|
-
|
|
2642
|
+
indicatorsList: jspb.Message.toObjectList(msg.getIndicatorsList(),
|
|
2643
|
+
proto.trb.indicators.v1.IndicatorInfo.toObject, includeInstance)
|
|
2828
2644
|
};
|
|
2829
2645
|
|
|
2830
2646
|
if (includeInstance) {
|
|
@@ -2838,23 +2654,23 @@ count: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
|
2838
2654
|
/**
|
|
2839
2655
|
* Deserializes binary data (in protobuf wire format).
|
|
2840
2656
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2841
|
-
* @return {!proto.trb.indicators.v1.
|
|
2657
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse}
|
|
2842
2658
|
*/
|
|
2843
|
-
proto.trb.indicators.v1.
|
|
2659
|
+
proto.trb.indicators.v1.ListSupportedResponse.deserializeBinary = function(bytes) {
|
|
2844
2660
|
var reader = new jspb.BinaryReader(bytes);
|
|
2845
|
-
var msg = new proto.trb.indicators.v1.
|
|
2846
|
-
return proto.trb.indicators.v1.
|
|
2661
|
+
var msg = new proto.trb.indicators.v1.ListSupportedResponse;
|
|
2662
|
+
return proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader(msg, reader);
|
|
2847
2663
|
};
|
|
2848
2664
|
|
|
2849
2665
|
|
|
2850
2666
|
/**
|
|
2851
2667
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2852
2668
|
* given reader into the given message object.
|
|
2853
|
-
* @param {!proto.trb.indicators.v1.
|
|
2669
|
+
* @param {!proto.trb.indicators.v1.ListSupportedResponse} msg The message object to deserialize into.
|
|
2854
2670
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2855
|
-
* @return {!proto.trb.indicators.v1.
|
|
2671
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse}
|
|
2856
2672
|
*/
|
|
2857
|
-
proto.trb.indicators.v1.
|
|
2673
|
+
proto.trb.indicators.v1.ListSupportedResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2858
2674
|
while (reader.nextField()) {
|
|
2859
2675
|
if (reader.isEndGroup()) {
|
|
2860
2676
|
break;
|
|
@@ -2862,8 +2678,9 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader
|
|
|
2862
2678
|
var field = reader.getFieldNumber();
|
|
2863
2679
|
switch (field) {
|
|
2864
2680
|
case 1:
|
|
2865
|
-
var value =
|
|
2866
|
-
|
|
2681
|
+
var value = new proto.trb.indicators.v1.IndicatorInfo;
|
|
2682
|
+
reader.readMessage(value,proto.trb.indicators.v1.IndicatorInfo.deserializeBinaryFromReader);
|
|
2683
|
+
msg.addIndicators(value);
|
|
2867
2684
|
break;
|
|
2868
2685
|
default:
|
|
2869
2686
|
reader.skipField();
|
|
@@ -2878,9 +2695,9 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader
|
|
|
2878
2695
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2879
2696
|
* @return {!Uint8Array}
|
|
2880
2697
|
*/
|
|
2881
|
-
proto.trb.indicators.v1.
|
|
2698
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.serializeBinary = function() {
|
|
2882
2699
|
var writer = new jspb.BinaryWriter();
|
|
2883
|
-
proto.trb.indicators.v1.
|
|
2700
|
+
proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter(this, writer);
|
|
2884
2701
|
return writer.getResultBuffer();
|
|
2885
2702
|
};
|
|
2886
2703
|
|
|
@@ -2888,37 +2705,58 @@ proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.serializeBinary =
|
|
|
2888
2705
|
/**
|
|
2889
2706
|
* Serializes the given message to binary data (in protobuf wire
|
|
2890
2707
|
* format), writing to the given BinaryWriter.
|
|
2891
|
-
* @param {!proto.trb.indicators.v1.
|
|
2708
|
+
* @param {!proto.trb.indicators.v1.ListSupportedResponse} message
|
|
2892
2709
|
* @param {!jspb.BinaryWriter} writer
|
|
2893
2710
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2894
2711
|
*/
|
|
2895
|
-
proto.trb.indicators.v1.
|
|
2712
|
+
proto.trb.indicators.v1.ListSupportedResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2896
2713
|
var f = undefined;
|
|
2897
|
-
f = message.
|
|
2898
|
-
if (f
|
|
2899
|
-
writer.
|
|
2714
|
+
f = message.getIndicatorsList();
|
|
2715
|
+
if (f.length > 0) {
|
|
2716
|
+
writer.writeRepeatedMessage(
|
|
2900
2717
|
1,
|
|
2901
|
-
f
|
|
2718
|
+
f,
|
|
2719
|
+
proto.trb.indicators.v1.IndicatorInfo.serializeBinaryToWriter
|
|
2902
2720
|
);
|
|
2903
2721
|
}
|
|
2904
2722
|
};
|
|
2905
2723
|
|
|
2906
2724
|
|
|
2907
2725
|
/**
|
|
2908
|
-
*
|
|
2909
|
-
* @return {
|
|
2726
|
+
* repeated IndicatorInfo indicators = 1;
|
|
2727
|
+
* @return {!Array<!proto.trb.indicators.v1.IndicatorInfo>}
|
|
2910
2728
|
*/
|
|
2911
|
-
proto.trb.indicators.v1.
|
|
2912
|
-
return /** @type
|
|
2729
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.getIndicatorsList = function() {
|
|
2730
|
+
return /** @type{!Array<!proto.trb.indicators.v1.IndicatorInfo>} */ (
|
|
2731
|
+
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.IndicatorInfo, 1));
|
|
2913
2732
|
};
|
|
2914
2733
|
|
|
2915
2734
|
|
|
2916
2735
|
/**
|
|
2917
|
-
* @param {
|
|
2918
|
-
* @return {!proto.trb.indicators.v1.
|
|
2736
|
+
* @param {!Array<!proto.trb.indicators.v1.IndicatorInfo>} value
|
|
2737
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
|
|
2738
|
+
*/
|
|
2739
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.setIndicatorsList = function(value) {
|
|
2740
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* @param {!proto.trb.indicators.v1.IndicatorInfo=} opt_value
|
|
2746
|
+
* @param {number=} opt_index
|
|
2747
|
+
* @return {!proto.trb.indicators.v1.IndicatorInfo}
|
|
2748
|
+
*/
|
|
2749
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.addIndicators = function(opt_value, opt_index) {
|
|
2750
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.IndicatorInfo, opt_index);
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* Clears the list making it empty but non-null.
|
|
2756
|
+
* @return {!proto.trb.indicators.v1.ListSupportedResponse} returns this
|
|
2919
2757
|
*/
|
|
2920
|
-
proto.trb.indicators.v1.
|
|
2921
|
-
return
|
|
2758
|
+
proto.trb.indicators.v1.ListSupportedResponse.prototype.clearIndicatorsList = function() {
|
|
2759
|
+
return this.setIndicatorsList([]);
|
|
2922
2760
|
};
|
|
2923
2761
|
|
|
2924
2762
|
|