@marleena/trb-proto 1.0.42 → 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.
|
@@ -168,92 +168,6 @@ export class IndicatorsClient {
|
|
|
168
168
|
this.methodDescriptorComputeForInstrument);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
methodDescriptorListSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
172
|
-
'/trb.indicators.v1.Indicators/ListSchedulerTargets',
|
|
173
|
-
grpcWeb.MethodType.UNARY,
|
|
174
|
-
indicators_indicators_pb.ListSchedulerTargetsRequest,
|
|
175
|
-
indicators_indicators_pb.ListSchedulerTargetsResponse,
|
|
176
|
-
(request: indicators_indicators_pb.ListSchedulerTargetsRequest) => {
|
|
177
|
-
return request.serializeBinary();
|
|
178
|
-
},
|
|
179
|
-
indicators_indicators_pb.ListSchedulerTargetsResponse.deserializeBinary
|
|
180
|
-
);
|
|
181
|
-
|
|
182
|
-
listSchedulerTargets(
|
|
183
|
-
request: indicators_indicators_pb.ListSchedulerTargetsRequest,
|
|
184
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.ListSchedulerTargetsResponse>;
|
|
185
|
-
|
|
186
|
-
listSchedulerTargets(
|
|
187
|
-
request: indicators_indicators_pb.ListSchedulerTargetsRequest,
|
|
188
|
-
metadata: grpcWeb.Metadata | null,
|
|
189
|
-
callback: (err: grpcWeb.RpcError,
|
|
190
|
-
response: indicators_indicators_pb.ListSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.ListSchedulerTargetsResponse>;
|
|
191
|
-
|
|
192
|
-
listSchedulerTargets(
|
|
193
|
-
request: indicators_indicators_pb.ListSchedulerTargetsRequest,
|
|
194
|
-
metadata?: grpcWeb.Metadata | null,
|
|
195
|
-
callback?: (err: grpcWeb.RpcError,
|
|
196
|
-
response: indicators_indicators_pb.ListSchedulerTargetsResponse) => void) {
|
|
197
|
-
if (callback !== undefined) {
|
|
198
|
-
return this.client_.rpcCall(
|
|
199
|
-
this.hostname_ +
|
|
200
|
-
'/trb.indicators.v1.Indicators/ListSchedulerTargets',
|
|
201
|
-
request,
|
|
202
|
-
metadata || {},
|
|
203
|
-
this.methodDescriptorListSchedulerTargets,
|
|
204
|
-
callback);
|
|
205
|
-
}
|
|
206
|
-
return this.client_.unaryCall(
|
|
207
|
-
this.hostname_ +
|
|
208
|
-
'/trb.indicators.v1.Indicators/ListSchedulerTargets',
|
|
209
|
-
request,
|
|
210
|
-
metadata || {},
|
|
211
|
-
this.methodDescriptorListSchedulerTargets);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
methodDescriptorSyncSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
215
|
-
'/trb.indicators.v1.Indicators/SyncSchedulerTargets',
|
|
216
|
-
grpcWeb.MethodType.UNARY,
|
|
217
|
-
indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
218
|
-
indicators_indicators_pb.SyncSchedulerTargetsResponse,
|
|
219
|
-
(request: indicators_indicators_pb.SyncSchedulerTargetsRequest) => {
|
|
220
|
-
return request.serializeBinary();
|
|
221
|
-
},
|
|
222
|
-
indicators_indicators_pb.SyncSchedulerTargetsResponse.deserializeBinary
|
|
223
|
-
);
|
|
224
|
-
|
|
225
|
-
syncSchedulerTargets(
|
|
226
|
-
request: indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
227
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.SyncSchedulerTargetsResponse>;
|
|
228
|
-
|
|
229
|
-
syncSchedulerTargets(
|
|
230
|
-
request: indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
231
|
-
metadata: grpcWeb.Metadata | null,
|
|
232
|
-
callback: (err: grpcWeb.RpcError,
|
|
233
|
-
response: indicators_indicators_pb.SyncSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.SyncSchedulerTargetsResponse>;
|
|
234
|
-
|
|
235
|
-
syncSchedulerTargets(
|
|
236
|
-
request: indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
237
|
-
metadata?: grpcWeb.Metadata | null,
|
|
238
|
-
callback?: (err: grpcWeb.RpcError,
|
|
239
|
-
response: indicators_indicators_pb.SyncSchedulerTargetsResponse) => void) {
|
|
240
|
-
if (callback !== undefined) {
|
|
241
|
-
return this.client_.rpcCall(
|
|
242
|
-
this.hostname_ +
|
|
243
|
-
'/trb.indicators.v1.Indicators/SyncSchedulerTargets',
|
|
244
|
-
request,
|
|
245
|
-
metadata || {},
|
|
246
|
-
this.methodDescriptorSyncSchedulerTargets,
|
|
247
|
-
callback);
|
|
248
|
-
}
|
|
249
|
-
return this.client_.unaryCall(
|
|
250
|
-
this.hostname_ +
|
|
251
|
-
'/trb.indicators.v1.Indicators/SyncSchedulerTargets',
|
|
252
|
-
request,
|
|
253
|
-
metadata || {},
|
|
254
|
-
this.methodDescriptorSyncSchedulerTargets);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
171
|
methodDescriptorListIndicatorValues = new grpcWeb.MethodDescriptor(
|
|
258
172
|
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
259
173
|
grpcWeb.MethodType.UNARY,
|
|
@@ -333,116 +333,6 @@ export namespace ListSupportedResponse {
|
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
export class SchedulerTarget extends jspb.Message {
|
|
337
|
-
getUid(): string;
|
|
338
|
-
setUid(value: string): SchedulerTarget;
|
|
339
|
-
|
|
340
|
-
getInterval(): number;
|
|
341
|
-
setInterval(value: number): SchedulerTarget;
|
|
342
|
-
|
|
343
|
-
getIndicator(): string;
|
|
344
|
-
setIndicator(value: string): SchedulerTarget;
|
|
345
|
-
|
|
346
|
-
getParamsMap(): jspb.Map<string, number>;
|
|
347
|
-
clearParamsMap(): SchedulerTarget;
|
|
348
|
-
|
|
349
|
-
getEnabled(): boolean;
|
|
350
|
-
setEnabled(value: boolean): SchedulerTarget;
|
|
351
|
-
|
|
352
|
-
serializeBinary(): Uint8Array;
|
|
353
|
-
toObject(includeInstance?: boolean): SchedulerTarget.AsObject;
|
|
354
|
-
static toObject(includeInstance: boolean, msg: SchedulerTarget): SchedulerTarget.AsObject;
|
|
355
|
-
static serializeBinaryToWriter(message: SchedulerTarget, writer: jspb.BinaryWriter): void;
|
|
356
|
-
static deserializeBinary(bytes: Uint8Array): SchedulerTarget;
|
|
357
|
-
static deserializeBinaryFromReader(message: SchedulerTarget, reader: jspb.BinaryReader): SchedulerTarget;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export namespace SchedulerTarget {
|
|
361
|
-
export type AsObject = {
|
|
362
|
-
uid: string,
|
|
363
|
-
interval: number,
|
|
364
|
-
indicator: string,
|
|
365
|
-
paramsMap: Array<[string, number]>,
|
|
366
|
-
enabled: boolean,
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
export class ListSchedulerTargetsRequest extends jspb.Message {
|
|
371
|
-
serializeBinary(): Uint8Array;
|
|
372
|
-
toObject(includeInstance?: boolean): ListSchedulerTargetsRequest.AsObject;
|
|
373
|
-
static toObject(includeInstance: boolean, msg: ListSchedulerTargetsRequest): ListSchedulerTargetsRequest.AsObject;
|
|
374
|
-
static serializeBinaryToWriter(message: ListSchedulerTargetsRequest, writer: jspb.BinaryWriter): void;
|
|
375
|
-
static deserializeBinary(bytes: Uint8Array): ListSchedulerTargetsRequest;
|
|
376
|
-
static deserializeBinaryFromReader(message: ListSchedulerTargetsRequest, reader: jspb.BinaryReader): ListSchedulerTargetsRequest;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
export namespace ListSchedulerTargetsRequest {
|
|
380
|
-
export type AsObject = {
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export class ListSchedulerTargetsResponse extends jspb.Message {
|
|
385
|
-
getItemsList(): Array<SchedulerTarget>;
|
|
386
|
-
setItemsList(value: Array<SchedulerTarget>): ListSchedulerTargetsResponse;
|
|
387
|
-
clearItemsList(): ListSchedulerTargetsResponse;
|
|
388
|
-
addItems(value?: SchedulerTarget, index?: number): SchedulerTarget;
|
|
389
|
-
|
|
390
|
-
serializeBinary(): Uint8Array;
|
|
391
|
-
toObject(includeInstance?: boolean): ListSchedulerTargetsResponse.AsObject;
|
|
392
|
-
static toObject(includeInstance: boolean, msg: ListSchedulerTargetsResponse): ListSchedulerTargetsResponse.AsObject;
|
|
393
|
-
static serializeBinaryToWriter(message: ListSchedulerTargetsResponse, writer: jspb.BinaryWriter): void;
|
|
394
|
-
static deserializeBinary(bytes: Uint8Array): ListSchedulerTargetsResponse;
|
|
395
|
-
static deserializeBinaryFromReader(message: ListSchedulerTargetsResponse, reader: jspb.BinaryReader): ListSchedulerTargetsResponse;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export namespace ListSchedulerTargetsResponse {
|
|
399
|
-
export type AsObject = {
|
|
400
|
-
itemsList: Array<SchedulerTarget.AsObject>,
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export class SyncSchedulerTargetsRequest extends jspb.Message {
|
|
405
|
-
getItemsList(): Array<SchedulerTarget>;
|
|
406
|
-
setItemsList(value: Array<SchedulerTarget>): SyncSchedulerTargetsRequest;
|
|
407
|
-
clearItemsList(): SyncSchedulerTargetsRequest;
|
|
408
|
-
addItems(value?: SchedulerTarget, index?: number): SchedulerTarget;
|
|
409
|
-
|
|
410
|
-
getAllowEmpty(): boolean;
|
|
411
|
-
setAllowEmpty(value: boolean): SyncSchedulerTargetsRequest;
|
|
412
|
-
|
|
413
|
-
serializeBinary(): Uint8Array;
|
|
414
|
-
toObject(includeInstance?: boolean): SyncSchedulerTargetsRequest.AsObject;
|
|
415
|
-
static toObject(includeInstance: boolean, msg: SyncSchedulerTargetsRequest): SyncSchedulerTargetsRequest.AsObject;
|
|
416
|
-
static serializeBinaryToWriter(message: SyncSchedulerTargetsRequest, writer: jspb.BinaryWriter): void;
|
|
417
|
-
static deserializeBinary(bytes: Uint8Array): SyncSchedulerTargetsRequest;
|
|
418
|
-
static deserializeBinaryFromReader(message: SyncSchedulerTargetsRequest, reader: jspb.BinaryReader): SyncSchedulerTargetsRequest;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
export namespace SyncSchedulerTargetsRequest {
|
|
422
|
-
export type AsObject = {
|
|
423
|
-
itemsList: Array<SchedulerTarget.AsObject>,
|
|
424
|
-
allowEmpty: boolean,
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
export class SyncSchedulerTargetsResponse extends jspb.Message {
|
|
429
|
-
getCount(): number;
|
|
430
|
-
setCount(value: number): SyncSchedulerTargetsResponse;
|
|
431
|
-
|
|
432
|
-
serializeBinary(): Uint8Array;
|
|
433
|
-
toObject(includeInstance?: boolean): SyncSchedulerTargetsResponse.AsObject;
|
|
434
|
-
static toObject(includeInstance: boolean, msg: SyncSchedulerTargetsResponse): SyncSchedulerTargetsResponse.AsObject;
|
|
435
|
-
static serializeBinaryToWriter(message: SyncSchedulerTargetsResponse, writer: jspb.BinaryWriter): void;
|
|
436
|
-
static deserializeBinary(bytes: Uint8Array): SyncSchedulerTargetsResponse;
|
|
437
|
-
static deserializeBinaryFromReader(message: SyncSchedulerTargetsResponse, reader: jspb.BinaryReader): SyncSchedulerTargetsResponse;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
export namespace SyncSchedulerTargetsResponse {
|
|
441
|
-
export type AsObject = {
|
|
442
|
-
count: number,
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
|
|
446
336
|
export enum IndicatorType {
|
|
447
337
|
INDICATOR_TYPE_UNSPECIFIED = 0,
|
|
448
338
|
INDICATOR_TYPE_RSI = 1,
|
|
@@ -34,13 +34,8 @@ goog.exportSymbol('proto.trb.indicators.v1.IndicatorPoint', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.trb.indicators.v1.IndicatorType', null, global);
|
|
35
35
|
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.trb.indicators.v1.ListIndicatorValuesResponse', null, global);
|
|
37
|
-
goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsRequest', null, global);
|
|
38
|
-
goog.exportSymbol('proto.trb.indicators.v1.ListSchedulerTargetsResponse', null, global);
|
|
39
37
|
goog.exportSymbol('proto.trb.indicators.v1.ListSupportedRequest', null, global);
|
|
40
38
|
goog.exportSymbol('proto.trb.indicators.v1.ListSupportedResponse', null, global);
|
|
41
|
-
goog.exportSymbol('proto.trb.indicators.v1.SchedulerTarget', null, global);
|
|
42
|
-
goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsRequest', null, global);
|
|
43
|
-
goog.exportSymbol('proto.trb.indicators.v1.SyncSchedulerTargetsResponse', null, global);
|
|
44
39
|
/**
|
|
45
40
|
* Generated by JsPbCodeGenerator.
|
|
46
41
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -251,111 +246,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
251
246
|
*/
|
|
252
247
|
proto.trb.indicators.v1.ListSupportedResponse.displayName = 'proto.trb.indicators.v1.ListSupportedResponse';
|
|
253
248
|
}
|
|
254
|
-
/**
|
|
255
|
-
* Generated by JsPbCodeGenerator.
|
|
256
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
257
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
258
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
259
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
260
|
-
* valid.
|
|
261
|
-
* @extends {jspb.Message}
|
|
262
|
-
* @constructor
|
|
263
|
-
*/
|
|
264
|
-
proto.trb.indicators.v1.SchedulerTarget = function(opt_data) {
|
|
265
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
266
|
-
};
|
|
267
|
-
goog.inherits(proto.trb.indicators.v1.SchedulerTarget, jspb.Message);
|
|
268
|
-
if (goog.DEBUG && !COMPILED) {
|
|
269
|
-
/**
|
|
270
|
-
* @public
|
|
271
|
-
* @override
|
|
272
|
-
*/
|
|
273
|
-
proto.trb.indicators.v1.SchedulerTarget.displayName = 'proto.trb.indicators.v1.SchedulerTarget';
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Generated by JsPbCodeGenerator.
|
|
277
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
278
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
279
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
280
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
281
|
-
* valid.
|
|
282
|
-
* @extends {jspb.Message}
|
|
283
|
-
* @constructor
|
|
284
|
-
*/
|
|
285
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest = function(opt_data) {
|
|
286
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
287
|
-
};
|
|
288
|
-
goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsRequest, jspb.Message);
|
|
289
|
-
if (goog.DEBUG && !COMPILED) {
|
|
290
|
-
/**
|
|
291
|
-
* @public
|
|
292
|
-
* @override
|
|
293
|
-
*/
|
|
294
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsRequest';
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Generated by JsPbCodeGenerator.
|
|
298
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
299
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
300
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
301
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
302
|
-
* valid.
|
|
303
|
-
* @extends {jspb.Message}
|
|
304
|
-
* @constructor
|
|
305
|
-
*/
|
|
306
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse = function(opt_data) {
|
|
307
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_, null);
|
|
308
|
-
};
|
|
309
|
-
goog.inherits(proto.trb.indicators.v1.ListSchedulerTargetsResponse, jspb.Message);
|
|
310
|
-
if (goog.DEBUG && !COMPILED) {
|
|
311
|
-
/**
|
|
312
|
-
* @public
|
|
313
|
-
* @override
|
|
314
|
-
*/
|
|
315
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.ListSchedulerTargetsResponse';
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* Generated by JsPbCodeGenerator.
|
|
319
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
320
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
321
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
322
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
323
|
-
* valid.
|
|
324
|
-
* @extends {jspb.Message}
|
|
325
|
-
* @constructor
|
|
326
|
-
*/
|
|
327
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest = function(opt_data) {
|
|
328
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_, null);
|
|
329
|
-
};
|
|
330
|
-
goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsRequest, jspb.Message);
|
|
331
|
-
if (goog.DEBUG && !COMPILED) {
|
|
332
|
-
/**
|
|
333
|
-
* @public
|
|
334
|
-
* @override
|
|
335
|
-
*/
|
|
336
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsRequest';
|
|
337
|
-
}
|
|
338
|
-
/**
|
|
339
|
-
* Generated by JsPbCodeGenerator.
|
|
340
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
341
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
342
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
343
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
344
|
-
* valid.
|
|
345
|
-
* @extends {jspb.Message}
|
|
346
|
-
* @constructor
|
|
347
|
-
*/
|
|
348
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse = function(opt_data) {
|
|
349
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
350
|
-
};
|
|
351
|
-
goog.inherits(proto.trb.indicators.v1.SyncSchedulerTargetsResponse, jspb.Message);
|
|
352
|
-
if (goog.DEBUG && !COMPILED) {
|
|
353
|
-
/**
|
|
354
|
-
* @public
|
|
355
|
-
* @override
|
|
356
|
-
*/
|
|
357
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.displayName = 'proto.trb.indicators.v1.SyncSchedulerTargetsResponse';
|
|
358
|
-
}
|
|
359
249
|
|
|
360
250
|
|
|
361
251
|
|
|
@@ -2870,841 +2760,6 @@ proto.trb.indicators.v1.ListSupportedResponse.prototype.clearIndicatorsList = fu
|
|
|
2870
2760
|
};
|
|
2871
2761
|
|
|
2872
2762
|
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2877
|
-
/**
|
|
2878
|
-
* Creates an object representation of this proto.
|
|
2879
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2880
|
-
* Optional fields that are not set will be set to undefined.
|
|
2881
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2882
|
-
* For the list of reserved names please see:
|
|
2883
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2884
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2885
|
-
* JSPB instance for transitional soy proto support:
|
|
2886
|
-
* http://goto/soy-param-migration
|
|
2887
|
-
* @return {!Object}
|
|
2888
|
-
*/
|
|
2889
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.toObject = function(opt_includeInstance) {
|
|
2890
|
-
return proto.trb.indicators.v1.SchedulerTarget.toObject(opt_includeInstance, this);
|
|
2891
|
-
};
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
/**
|
|
2895
|
-
* Static version of the {@see toObject} method.
|
|
2896
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2897
|
-
* the JSPB instance for transitional soy proto support:
|
|
2898
|
-
* http://goto/soy-param-migration
|
|
2899
|
-
* @param {!proto.trb.indicators.v1.SchedulerTarget} msg The msg instance to transform.
|
|
2900
|
-
* @return {!Object}
|
|
2901
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2902
|
-
*/
|
|
2903
|
-
proto.trb.indicators.v1.SchedulerTarget.toObject = function(includeInstance, msg) {
|
|
2904
|
-
var f, obj = {
|
|
2905
|
-
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2906
|
-
interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2907
|
-
indicator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2908
|
-
paramsMap: (f = msg.getParamsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2909
|
-
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
2910
|
-
};
|
|
2911
|
-
|
|
2912
|
-
if (includeInstance) {
|
|
2913
|
-
obj.$jspbMessageInstance = msg;
|
|
2914
|
-
}
|
|
2915
|
-
return obj;
|
|
2916
|
-
};
|
|
2917
|
-
}
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2922
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2923
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
2924
|
-
*/
|
|
2925
|
-
proto.trb.indicators.v1.SchedulerTarget.deserializeBinary = function(bytes) {
|
|
2926
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2927
|
-
var msg = new proto.trb.indicators.v1.SchedulerTarget;
|
|
2928
|
-
return proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader(msg, reader);
|
|
2929
|
-
};
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
/**
|
|
2933
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2934
|
-
* given reader into the given message object.
|
|
2935
|
-
* @param {!proto.trb.indicators.v1.SchedulerTarget} msg The message object to deserialize into.
|
|
2936
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2937
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
2938
|
-
*/
|
|
2939
|
-
proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader = function(msg, reader) {
|
|
2940
|
-
while (reader.nextField()) {
|
|
2941
|
-
if (reader.isEndGroup()) {
|
|
2942
|
-
break;
|
|
2943
|
-
}
|
|
2944
|
-
var field = reader.getFieldNumber();
|
|
2945
|
-
switch (field) {
|
|
2946
|
-
case 1:
|
|
2947
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2948
|
-
msg.setUid(value);
|
|
2949
|
-
break;
|
|
2950
|
-
case 2:
|
|
2951
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2952
|
-
msg.setInterval(value);
|
|
2953
|
-
break;
|
|
2954
|
-
case 3:
|
|
2955
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2956
|
-
msg.setIndicator(value);
|
|
2957
|
-
break;
|
|
2958
|
-
case 4:
|
|
2959
|
-
var value = msg.getParamsMap();
|
|
2960
|
-
reader.readMessage(value, function(message, reader) {
|
|
2961
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readDouble, null, "", 0.0);
|
|
2962
|
-
});
|
|
2963
|
-
break;
|
|
2964
|
-
case 5:
|
|
2965
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2966
|
-
msg.setEnabled(value);
|
|
2967
|
-
break;
|
|
2968
|
-
default:
|
|
2969
|
-
reader.skipField();
|
|
2970
|
-
break;
|
|
2971
|
-
}
|
|
2972
|
-
}
|
|
2973
|
-
return msg;
|
|
2974
|
-
};
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
/**
|
|
2978
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2979
|
-
* @return {!Uint8Array}
|
|
2980
|
-
*/
|
|
2981
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.serializeBinary = function() {
|
|
2982
|
-
var writer = new jspb.BinaryWriter();
|
|
2983
|
-
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter(this, writer);
|
|
2984
|
-
return writer.getResultBuffer();
|
|
2985
|
-
};
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
/**
|
|
2989
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2990
|
-
* format), writing to the given BinaryWriter.
|
|
2991
|
-
* @param {!proto.trb.indicators.v1.SchedulerTarget} message
|
|
2992
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2993
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2994
|
-
*/
|
|
2995
|
-
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter = function(message, writer) {
|
|
2996
|
-
var f = undefined;
|
|
2997
|
-
f = message.getUid();
|
|
2998
|
-
if (f.length > 0) {
|
|
2999
|
-
writer.writeString(
|
|
3000
|
-
1,
|
|
3001
|
-
f
|
|
3002
|
-
);
|
|
3003
|
-
}
|
|
3004
|
-
f = message.getInterval();
|
|
3005
|
-
if (f !== 0) {
|
|
3006
|
-
writer.writeInt32(
|
|
3007
|
-
2,
|
|
3008
|
-
f
|
|
3009
|
-
);
|
|
3010
|
-
}
|
|
3011
|
-
f = message.getIndicator();
|
|
3012
|
-
if (f.length > 0) {
|
|
3013
|
-
writer.writeString(
|
|
3014
|
-
3,
|
|
3015
|
-
f
|
|
3016
|
-
);
|
|
3017
|
-
}
|
|
3018
|
-
f = message.getParamsMap(true);
|
|
3019
|
-
if (f && f.getLength() > 0) {
|
|
3020
|
-
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeDouble);
|
|
3021
|
-
}
|
|
3022
|
-
f = message.getEnabled();
|
|
3023
|
-
if (f) {
|
|
3024
|
-
writer.writeBool(
|
|
3025
|
-
5,
|
|
3026
|
-
f
|
|
3027
|
-
);
|
|
3028
|
-
}
|
|
3029
|
-
};
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
/**
|
|
3033
|
-
* optional string uid = 1;
|
|
3034
|
-
* @return {string}
|
|
3035
|
-
*/
|
|
3036
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getUid = function() {
|
|
3037
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3038
|
-
};
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
* @param {string} value
|
|
3043
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
3044
|
-
*/
|
|
3045
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setUid = function(value) {
|
|
3046
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3047
|
-
};
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
/**
|
|
3051
|
-
* optional int32 interval = 2;
|
|
3052
|
-
* @return {number}
|
|
3053
|
-
*/
|
|
3054
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getInterval = function() {
|
|
3055
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3056
|
-
};
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
/**
|
|
3060
|
-
* @param {number} value
|
|
3061
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
3062
|
-
*/
|
|
3063
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setInterval = function(value) {
|
|
3064
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3065
|
-
};
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
/**
|
|
3069
|
-
* optional string indicator = 3;
|
|
3070
|
-
* @return {string}
|
|
3071
|
-
*/
|
|
3072
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getIndicator = function() {
|
|
3073
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3074
|
-
};
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
/**
|
|
3078
|
-
* @param {string} value
|
|
3079
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
3080
|
-
*/
|
|
3081
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setIndicator = function(value) {
|
|
3082
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3083
|
-
};
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
/**
|
|
3087
|
-
* map<string, double> params = 4;
|
|
3088
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
3089
|
-
* empty, instead returning `undefined`
|
|
3090
|
-
* @return {!jspb.Map<string,number>}
|
|
3091
|
-
*/
|
|
3092
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getParamsMap = function(opt_noLazyCreate) {
|
|
3093
|
-
return /** @type {!jspb.Map<string,number>} */ (
|
|
3094
|
-
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
3095
|
-
null));
|
|
3096
|
-
};
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
/**
|
|
3100
|
-
* Clears values from the map. The map will be non-null.
|
|
3101
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
3102
|
-
*/
|
|
3103
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.clearParamsMap = function() {
|
|
3104
|
-
this.getParamsMap().clear();
|
|
3105
|
-
return this;
|
|
3106
|
-
};
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
/**
|
|
3110
|
-
* optional bool enabled = 5;
|
|
3111
|
-
* @return {boolean}
|
|
3112
|
-
*/
|
|
3113
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.getEnabled = function() {
|
|
3114
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
3115
|
-
};
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
/**
|
|
3119
|
-
* @param {boolean} value
|
|
3120
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget} returns this
|
|
3121
|
-
*/
|
|
3122
|
-
proto.trb.indicators.v1.SchedulerTarget.prototype.setEnabled = function(value) {
|
|
3123
|
-
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
3124
|
-
};
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3131
|
-
/**
|
|
3132
|
-
* Creates an object representation of this proto.
|
|
3133
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3134
|
-
* Optional fields that are not set will be set to undefined.
|
|
3135
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3136
|
-
* For the list of reserved names please see:
|
|
3137
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3138
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3139
|
-
* JSPB instance for transitional soy proto support:
|
|
3140
|
-
* http://goto/soy-param-migration
|
|
3141
|
-
* @return {!Object}
|
|
3142
|
-
*/
|
|
3143
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3144
|
-
return proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject(opt_includeInstance, this);
|
|
3145
|
-
};
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
/**
|
|
3149
|
-
* Static version of the {@see toObject} method.
|
|
3150
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3151
|
-
* the JSPB instance for transitional soy proto support:
|
|
3152
|
-
* http://goto/soy-param-migration
|
|
3153
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The msg instance to transform.
|
|
3154
|
-
* @return {!Object}
|
|
3155
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3156
|
-
*/
|
|
3157
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
|
|
3158
|
-
var f, obj = {
|
|
3159
|
-
|
|
3160
|
-
};
|
|
3161
|
-
|
|
3162
|
-
if (includeInstance) {
|
|
3163
|
-
obj.$jspbMessageInstance = msg;
|
|
3164
|
-
}
|
|
3165
|
-
return obj;
|
|
3166
|
-
};
|
|
3167
|
-
}
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
/**
|
|
3171
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3172
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3173
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
|
|
3174
|
-
*/
|
|
3175
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinary = function(bytes) {
|
|
3176
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3177
|
-
var msg = new proto.trb.indicators.v1.ListSchedulerTargetsRequest;
|
|
3178
|
-
return proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3179
|
-
};
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
/**
|
|
3183
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3184
|
-
* given reader into the given message object.
|
|
3185
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} msg The message object to deserialize into.
|
|
3186
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3187
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsRequest}
|
|
3188
|
-
*/
|
|
3189
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3190
|
-
while (reader.nextField()) {
|
|
3191
|
-
if (reader.isEndGroup()) {
|
|
3192
|
-
break;
|
|
3193
|
-
}
|
|
3194
|
-
var field = reader.getFieldNumber();
|
|
3195
|
-
switch (field) {
|
|
3196
|
-
default:
|
|
3197
|
-
reader.skipField();
|
|
3198
|
-
break;
|
|
3199
|
-
}
|
|
3200
|
-
}
|
|
3201
|
-
return msg;
|
|
3202
|
-
};
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
/**
|
|
3206
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3207
|
-
* @return {!Uint8Array}
|
|
3208
|
-
*/
|
|
3209
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.prototype.serializeBinary = function() {
|
|
3210
|
-
var writer = new jspb.BinaryWriter();
|
|
3211
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
|
|
3212
|
-
return writer.getResultBuffer();
|
|
3213
|
-
};
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
/**
|
|
3217
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3218
|
-
* format), writing to the given BinaryWriter.
|
|
3219
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsRequest} message
|
|
3220
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3221
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3222
|
-
*/
|
|
3223
|
-
proto.trb.indicators.v1.ListSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3224
|
-
var f = undefined;
|
|
3225
|
-
};
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
/**
|
|
3230
|
-
* List of repeated fields within this message type.
|
|
3231
|
-
* @private {!Array<number>}
|
|
3232
|
-
* @const
|
|
3233
|
-
*/
|
|
3234
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.repeatedFields_ = [1];
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3239
|
-
/**
|
|
3240
|
-
* Creates an object representation of this proto.
|
|
3241
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3242
|
-
* Optional fields that are not set will be set to undefined.
|
|
3243
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3244
|
-
* For the list of reserved names please see:
|
|
3245
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3246
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3247
|
-
* JSPB instance for transitional soy proto support:
|
|
3248
|
-
* http://goto/soy-param-migration
|
|
3249
|
-
* @return {!Object}
|
|
3250
|
-
*/
|
|
3251
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3252
|
-
return proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject(opt_includeInstance, this);
|
|
3253
|
-
};
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
/**
|
|
3257
|
-
* Static version of the {@see toObject} method.
|
|
3258
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3259
|
-
* the JSPB instance for transitional soy proto support:
|
|
3260
|
-
* http://goto/soy-param-migration
|
|
3261
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The msg instance to transform.
|
|
3262
|
-
* @return {!Object}
|
|
3263
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3264
|
-
*/
|
|
3265
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
|
|
3266
|
-
var f, obj = {
|
|
3267
|
-
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
3268
|
-
proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance)
|
|
3269
|
-
};
|
|
3270
|
-
|
|
3271
|
-
if (includeInstance) {
|
|
3272
|
-
obj.$jspbMessageInstance = msg;
|
|
3273
|
-
}
|
|
3274
|
-
return obj;
|
|
3275
|
-
};
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
/**
|
|
3280
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3281
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3282
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
|
|
3283
|
-
*/
|
|
3284
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinary = function(bytes) {
|
|
3285
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3286
|
-
var msg = new proto.trb.indicators.v1.ListSchedulerTargetsResponse;
|
|
3287
|
-
return proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
3288
|
-
};
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
/**
|
|
3292
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3293
|
-
* given reader into the given message object.
|
|
3294
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} msg The message object to deserialize into.
|
|
3295
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3296
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse}
|
|
3297
|
-
*/
|
|
3298
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3299
|
-
while (reader.nextField()) {
|
|
3300
|
-
if (reader.isEndGroup()) {
|
|
3301
|
-
break;
|
|
3302
|
-
}
|
|
3303
|
-
var field = reader.getFieldNumber();
|
|
3304
|
-
switch (field) {
|
|
3305
|
-
case 1:
|
|
3306
|
-
var value = new proto.trb.indicators.v1.SchedulerTarget;
|
|
3307
|
-
reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
|
|
3308
|
-
msg.addItems(value);
|
|
3309
|
-
break;
|
|
3310
|
-
default:
|
|
3311
|
-
reader.skipField();
|
|
3312
|
-
break;
|
|
3313
|
-
}
|
|
3314
|
-
}
|
|
3315
|
-
return msg;
|
|
3316
|
-
};
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
/**
|
|
3320
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3321
|
-
* @return {!Uint8Array}
|
|
3322
|
-
*/
|
|
3323
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.serializeBinary = function() {
|
|
3324
|
-
var writer = new jspb.BinaryWriter();
|
|
3325
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
|
|
3326
|
-
return writer.getResultBuffer();
|
|
3327
|
-
};
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
/**
|
|
3331
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3332
|
-
* format), writing to the given BinaryWriter.
|
|
3333
|
-
* @param {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} message
|
|
3334
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3335
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3336
|
-
*/
|
|
3337
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3338
|
-
var f = undefined;
|
|
3339
|
-
f = message.getItemsList();
|
|
3340
|
-
if (f.length > 0) {
|
|
3341
|
-
writer.writeRepeatedMessage(
|
|
3342
|
-
1,
|
|
3343
|
-
f,
|
|
3344
|
-
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
|
|
3345
|
-
);
|
|
3346
|
-
}
|
|
3347
|
-
};
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
/**
|
|
3351
|
-
* repeated SchedulerTarget items = 1;
|
|
3352
|
-
* @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
|
|
3353
|
-
*/
|
|
3354
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.getItemsList = function() {
|
|
3355
|
-
return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
|
|
3356
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
|
|
3357
|
-
};
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
/**
|
|
3361
|
-
* @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
|
|
3362
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
|
|
3363
|
-
*/
|
|
3364
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.setItemsList = function(value) {
|
|
3365
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3366
|
-
};
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
/**
|
|
3370
|
-
* @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
|
|
3371
|
-
* @param {number=} opt_index
|
|
3372
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
3373
|
-
*/
|
|
3374
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
3375
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
|
|
3376
|
-
};
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
/**
|
|
3380
|
-
* Clears the list making it empty but non-null.
|
|
3381
|
-
* @return {!proto.trb.indicators.v1.ListSchedulerTargetsResponse} returns this
|
|
3382
|
-
*/
|
|
3383
|
-
proto.trb.indicators.v1.ListSchedulerTargetsResponse.prototype.clearItemsList = function() {
|
|
3384
|
-
return this.setItemsList([]);
|
|
3385
|
-
};
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
/**
|
|
3390
|
-
* List of repeated fields within this message type.
|
|
3391
|
-
* @private {!Array<number>}
|
|
3392
|
-
* @const
|
|
3393
|
-
*/
|
|
3394
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.repeatedFields_ = [1];
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3399
|
-
/**
|
|
3400
|
-
* Creates an object representation of this proto.
|
|
3401
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3402
|
-
* Optional fields that are not set will be set to undefined.
|
|
3403
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3404
|
-
* For the list of reserved names please see:
|
|
3405
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3406
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3407
|
-
* JSPB instance for transitional soy proto support:
|
|
3408
|
-
* http://goto/soy-param-migration
|
|
3409
|
-
* @return {!Object}
|
|
3410
|
-
*/
|
|
3411
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3412
|
-
return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject(opt_includeInstance, this);
|
|
3413
|
-
};
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
/**
|
|
3417
|
-
* Static version of the {@see toObject} method.
|
|
3418
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3419
|
-
* the JSPB instance for transitional soy proto support:
|
|
3420
|
-
* http://goto/soy-param-migration
|
|
3421
|
-
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The msg instance to transform.
|
|
3422
|
-
* @return {!Object}
|
|
3423
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3424
|
-
*/
|
|
3425
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.toObject = function(includeInstance, msg) {
|
|
3426
|
-
var f, obj = {
|
|
3427
|
-
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
3428
|
-
proto.trb.indicators.v1.SchedulerTarget.toObject, includeInstance),
|
|
3429
|
-
allowEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
3430
|
-
};
|
|
3431
|
-
|
|
3432
|
-
if (includeInstance) {
|
|
3433
|
-
obj.$jspbMessageInstance = msg;
|
|
3434
|
-
}
|
|
3435
|
-
return obj;
|
|
3436
|
-
};
|
|
3437
|
-
}
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
/**
|
|
3441
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3442
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3443
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
|
|
3444
|
-
*/
|
|
3445
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinary = function(bytes) {
|
|
3446
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3447
|
-
var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsRequest;
|
|
3448
|
-
return proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3449
|
-
};
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
/**
|
|
3453
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3454
|
-
* given reader into the given message object.
|
|
3455
|
-
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} msg The message object to deserialize into.
|
|
3456
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3457
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest}
|
|
3458
|
-
*/
|
|
3459
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3460
|
-
while (reader.nextField()) {
|
|
3461
|
-
if (reader.isEndGroup()) {
|
|
3462
|
-
break;
|
|
3463
|
-
}
|
|
3464
|
-
var field = reader.getFieldNumber();
|
|
3465
|
-
switch (field) {
|
|
3466
|
-
case 1:
|
|
3467
|
-
var value = new proto.trb.indicators.v1.SchedulerTarget;
|
|
3468
|
-
reader.readMessage(value,proto.trb.indicators.v1.SchedulerTarget.deserializeBinaryFromReader);
|
|
3469
|
-
msg.addItems(value);
|
|
3470
|
-
break;
|
|
3471
|
-
case 2:
|
|
3472
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
3473
|
-
msg.setAllowEmpty(value);
|
|
3474
|
-
break;
|
|
3475
|
-
default:
|
|
3476
|
-
reader.skipField();
|
|
3477
|
-
break;
|
|
3478
|
-
}
|
|
3479
|
-
}
|
|
3480
|
-
return msg;
|
|
3481
|
-
};
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
/**
|
|
3485
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3486
|
-
* @return {!Uint8Array}
|
|
3487
|
-
*/
|
|
3488
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.serializeBinary = function() {
|
|
3489
|
-
var writer = new jspb.BinaryWriter();
|
|
3490
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter(this, writer);
|
|
3491
|
-
return writer.getResultBuffer();
|
|
3492
|
-
};
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
/**
|
|
3496
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3497
|
-
* format), writing to the given BinaryWriter.
|
|
3498
|
-
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} message
|
|
3499
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3500
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3501
|
-
*/
|
|
3502
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3503
|
-
var f = undefined;
|
|
3504
|
-
f = message.getItemsList();
|
|
3505
|
-
if (f.length > 0) {
|
|
3506
|
-
writer.writeRepeatedMessage(
|
|
3507
|
-
1,
|
|
3508
|
-
f,
|
|
3509
|
-
proto.trb.indicators.v1.SchedulerTarget.serializeBinaryToWriter
|
|
3510
|
-
);
|
|
3511
|
-
}
|
|
3512
|
-
f = message.getAllowEmpty();
|
|
3513
|
-
if (f) {
|
|
3514
|
-
writer.writeBool(
|
|
3515
|
-
2,
|
|
3516
|
-
f
|
|
3517
|
-
);
|
|
3518
|
-
}
|
|
3519
|
-
};
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
/**
|
|
3523
|
-
* repeated SchedulerTarget items = 1;
|
|
3524
|
-
* @return {!Array<!proto.trb.indicators.v1.SchedulerTarget>}
|
|
3525
|
-
*/
|
|
3526
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getItemsList = function() {
|
|
3527
|
-
return /** @type{!Array<!proto.trb.indicators.v1.SchedulerTarget>} */ (
|
|
3528
|
-
jspb.Message.getRepeatedWrapperField(this, proto.trb.indicators.v1.SchedulerTarget, 1));
|
|
3529
|
-
};
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
/**
|
|
3533
|
-
* @param {!Array<!proto.trb.indicators.v1.SchedulerTarget>} value
|
|
3534
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
|
|
3535
|
-
*/
|
|
3536
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setItemsList = function(value) {
|
|
3537
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3538
|
-
};
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
/**
|
|
3542
|
-
* @param {!proto.trb.indicators.v1.SchedulerTarget=} opt_value
|
|
3543
|
-
* @param {number=} opt_index
|
|
3544
|
-
* @return {!proto.trb.indicators.v1.SchedulerTarget}
|
|
3545
|
-
*/
|
|
3546
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.addItems = function(opt_value, opt_index) {
|
|
3547
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.trb.indicators.v1.SchedulerTarget, opt_index);
|
|
3548
|
-
};
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
/**
|
|
3552
|
-
* Clears the list making it empty but non-null.
|
|
3553
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
|
|
3554
|
-
*/
|
|
3555
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.clearItemsList = function() {
|
|
3556
|
-
return this.setItemsList([]);
|
|
3557
|
-
};
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
/**
|
|
3561
|
-
* optional bool allow_empty = 2;
|
|
3562
|
-
* @return {boolean}
|
|
3563
|
-
*/
|
|
3564
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.getAllowEmpty = function() {
|
|
3565
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
3566
|
-
};
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
/**
|
|
3570
|
-
* @param {boolean} value
|
|
3571
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsRequest} returns this
|
|
3572
|
-
*/
|
|
3573
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsRequest.prototype.setAllowEmpty = function(value) {
|
|
3574
|
-
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
3575
|
-
};
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3582
|
-
/**
|
|
3583
|
-
* Creates an object representation of this proto.
|
|
3584
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3585
|
-
* Optional fields that are not set will be set to undefined.
|
|
3586
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3587
|
-
* For the list of reserved names please see:
|
|
3588
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3589
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3590
|
-
* JSPB instance for transitional soy proto support:
|
|
3591
|
-
* http://goto/soy-param-migration
|
|
3592
|
-
* @return {!Object}
|
|
3593
|
-
*/
|
|
3594
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3595
|
-
return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject(opt_includeInstance, this);
|
|
3596
|
-
};
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
/**
|
|
3600
|
-
* Static version of the {@see toObject} method.
|
|
3601
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3602
|
-
* the JSPB instance for transitional soy proto support:
|
|
3603
|
-
* http://goto/soy-param-migration
|
|
3604
|
-
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The msg instance to transform.
|
|
3605
|
-
* @return {!Object}
|
|
3606
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3607
|
-
*/
|
|
3608
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.toObject = function(includeInstance, msg) {
|
|
3609
|
-
var f, obj = {
|
|
3610
|
-
count: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3611
|
-
};
|
|
3612
|
-
|
|
3613
|
-
if (includeInstance) {
|
|
3614
|
-
obj.$jspbMessageInstance = msg;
|
|
3615
|
-
}
|
|
3616
|
-
return obj;
|
|
3617
|
-
};
|
|
3618
|
-
}
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
/**
|
|
3622
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3623
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3624
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
|
|
3625
|
-
*/
|
|
3626
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinary = function(bytes) {
|
|
3627
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3628
|
-
var msg = new proto.trb.indicators.v1.SyncSchedulerTargetsResponse;
|
|
3629
|
-
return proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
3630
|
-
};
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
/**
|
|
3634
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3635
|
-
* given reader into the given message object.
|
|
3636
|
-
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} msg The message object to deserialize into.
|
|
3637
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3638
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse}
|
|
3639
|
-
*/
|
|
3640
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3641
|
-
while (reader.nextField()) {
|
|
3642
|
-
if (reader.isEndGroup()) {
|
|
3643
|
-
break;
|
|
3644
|
-
}
|
|
3645
|
-
var field = reader.getFieldNumber();
|
|
3646
|
-
switch (field) {
|
|
3647
|
-
case 1:
|
|
3648
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
3649
|
-
msg.setCount(value);
|
|
3650
|
-
break;
|
|
3651
|
-
default:
|
|
3652
|
-
reader.skipField();
|
|
3653
|
-
break;
|
|
3654
|
-
}
|
|
3655
|
-
}
|
|
3656
|
-
return msg;
|
|
3657
|
-
};
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
/**
|
|
3661
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
3662
|
-
* @return {!Uint8Array}
|
|
3663
|
-
*/
|
|
3664
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.serializeBinary = function() {
|
|
3665
|
-
var writer = new jspb.BinaryWriter();
|
|
3666
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter(this, writer);
|
|
3667
|
-
return writer.getResultBuffer();
|
|
3668
|
-
};
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
/**
|
|
3672
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
3673
|
-
* format), writing to the given BinaryWriter.
|
|
3674
|
-
* @param {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} message
|
|
3675
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3676
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3677
|
-
*/
|
|
3678
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3679
|
-
var f = undefined;
|
|
3680
|
-
f = message.getCount();
|
|
3681
|
-
if (f !== 0) {
|
|
3682
|
-
writer.writeInt32(
|
|
3683
|
-
1,
|
|
3684
|
-
f
|
|
3685
|
-
);
|
|
3686
|
-
}
|
|
3687
|
-
};
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
/**
|
|
3691
|
-
* optional int32 count = 1;
|
|
3692
|
-
* @return {number}
|
|
3693
|
-
*/
|
|
3694
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.getCount = function() {
|
|
3695
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3696
|
-
};
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
/**
|
|
3700
|
-
* @param {number} value
|
|
3701
|
-
* @return {!proto.trb.indicators.v1.SyncSchedulerTargetsResponse} returns this
|
|
3702
|
-
*/
|
|
3703
|
-
proto.trb.indicators.v1.SyncSchedulerTargetsResponse.prototype.setCount = function(value) {
|
|
3704
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3705
|
-
};
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
2763
|
/**
|
|
3709
2764
|
* @enum {number}
|
|
3710
2765
|
*/
|