@aldiokta/protocgen 1.1.49 → 1.1.51

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.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_pb.js +62 -2
  3. package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
  4. package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
  5. package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
  6. package/prisca/v1/core/bank/bank_pb.js +1988 -0
  7. package/prisca/v1/core/company/company_grpc_pb.js +11 -0
  8. package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
  9. package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
  10. package/prisca/v1/core/employee/employee_grpc_pb.js +11 -0
  11. package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
  12. package/prisca/v1/core/item_transaction/item_transaction_pb.js +3400 -930
  13. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +12 -0
  14. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
  15. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
  16. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
  17. package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
  18. package/prisca/v1/core/plant/plant_pb.js +2078 -0
  19. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  20. package/prisca/v1/global/meta/meta_pb.js +452 -0
  21. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
  22. package/prisca/v1/good_receipt/good_receipt_pb.js +268 -3
  23. package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
  24. package/prisca/v1/invoice/invoice_pb.js +292 -4
  25. package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
  26. package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
  27. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
  28. package/prisca/v1/purchase_order/purchase_order_pb.js +1986 -323
  29. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
  30. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +2238 -30
  31. package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
@@ -0,0 +1,2681 @@
1
+ // source: prisca/v1/core/cron_monitor/cron_monitor.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
19
+ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
20
+ goog.exportSymbol('proto.BaseCronMonitorRequest', null, global);
21
+ goog.exportSymbol('proto.CreateCronMonitorRequest', null, global);
22
+ goog.exportSymbol('proto.CreateCronMonitorResponse', null, global);
23
+ goog.exportSymbol('proto.CronMonitor', null, global);
24
+ goog.exportSymbol('proto.DeleteCronMonitorRequest', null, global);
25
+ goog.exportSymbol('proto.DeleteCronMonitorResponse', null, global);
26
+ goog.exportSymbol('proto.GetCronMonitorByIdRequest', null, global);
27
+ goog.exportSymbol('proto.GetCronMonitorByIdResponse', null, global);
28
+ goog.exportSymbol('proto.GetListCronMonitorRequest', null, global);
29
+ goog.exportSymbol('proto.GetListCronMonitorResponse', null, global);
30
+ goog.exportSymbol('proto.SwitchCronMonitorByNameRequest', null, global);
31
+ goog.exportSymbol('proto.UpdateCronMonitorRequest', null, global);
32
+ goog.exportSymbol('proto.UpdateCronMonitorResponse', null, global);
33
+ /**
34
+ * Generated by JsPbCodeGenerator.
35
+ * @param {Array=} opt_data Optional initial data array, typically from a
36
+ * server response, or constructed directly in Javascript. The array is used
37
+ * in place and becomes part of the constructed object. It is not cloned.
38
+ * If no data is provided, the constructed object will be empty, but still
39
+ * valid.
40
+ * @extends {jspb.Message}
41
+ * @constructor
42
+ */
43
+ proto.CronMonitor = function(opt_data) {
44
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
45
+ };
46
+ goog.inherits(proto.CronMonitor, jspb.Message);
47
+ if (goog.DEBUG && !COMPILED) {
48
+ /**
49
+ * @public
50
+ * @override
51
+ */
52
+ proto.CronMonitor.displayName = 'proto.CronMonitor';
53
+ }
54
+ /**
55
+ * Generated by JsPbCodeGenerator.
56
+ * @param {Array=} opt_data Optional initial data array, typically from a
57
+ * server response, or constructed directly in Javascript. The array is used
58
+ * in place and becomes part of the constructed object. It is not cloned.
59
+ * If no data is provided, the constructed object will be empty, but still
60
+ * valid.
61
+ * @extends {jspb.Message}
62
+ * @constructor
63
+ */
64
+ proto.BaseCronMonitorRequest = function(opt_data) {
65
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
66
+ };
67
+ goog.inherits(proto.BaseCronMonitorRequest, jspb.Message);
68
+ if (goog.DEBUG && !COMPILED) {
69
+ /**
70
+ * @public
71
+ * @override
72
+ */
73
+ proto.BaseCronMonitorRequest.displayName = 'proto.BaseCronMonitorRequest';
74
+ }
75
+ /**
76
+ * Generated by JsPbCodeGenerator.
77
+ * @param {Array=} opt_data Optional initial data array, typically from a
78
+ * server response, or constructed directly in Javascript. The array is used
79
+ * in place and becomes part of the constructed object. It is not cloned.
80
+ * If no data is provided, the constructed object will be empty, but still
81
+ * valid.
82
+ * @extends {jspb.Message}
83
+ * @constructor
84
+ */
85
+ proto.CreateCronMonitorRequest = function(opt_data) {
86
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
87
+ };
88
+ goog.inherits(proto.CreateCronMonitorRequest, jspb.Message);
89
+ if (goog.DEBUG && !COMPILED) {
90
+ /**
91
+ * @public
92
+ * @override
93
+ */
94
+ proto.CreateCronMonitorRequest.displayName = 'proto.CreateCronMonitorRequest';
95
+ }
96
+ /**
97
+ * Generated by JsPbCodeGenerator.
98
+ * @param {Array=} opt_data Optional initial data array, typically from a
99
+ * server response, or constructed directly in Javascript. The array is used
100
+ * in place and becomes part of the constructed object. It is not cloned.
101
+ * If no data is provided, the constructed object will be empty, but still
102
+ * valid.
103
+ * @extends {jspb.Message}
104
+ * @constructor
105
+ */
106
+ proto.UpdateCronMonitorRequest = function(opt_data) {
107
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
108
+ };
109
+ goog.inherits(proto.UpdateCronMonitorRequest, jspb.Message);
110
+ if (goog.DEBUG && !COMPILED) {
111
+ /**
112
+ * @public
113
+ * @override
114
+ */
115
+ proto.UpdateCronMonitorRequest.displayName = 'proto.UpdateCronMonitorRequest';
116
+ }
117
+ /**
118
+ * Generated by JsPbCodeGenerator.
119
+ * @param {Array=} opt_data Optional initial data array, typically from a
120
+ * server response, or constructed directly in Javascript. The array is used
121
+ * in place and becomes part of the constructed object. It is not cloned.
122
+ * If no data is provided, the constructed object will be empty, but still
123
+ * valid.
124
+ * @extends {jspb.Message}
125
+ * @constructor
126
+ */
127
+ proto.DeleteCronMonitorRequest = function(opt_data) {
128
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteCronMonitorRequest.repeatedFields_, null);
129
+ };
130
+ goog.inherits(proto.DeleteCronMonitorRequest, jspb.Message);
131
+ if (goog.DEBUG && !COMPILED) {
132
+ /**
133
+ * @public
134
+ * @override
135
+ */
136
+ proto.DeleteCronMonitorRequest.displayName = 'proto.DeleteCronMonitorRequest';
137
+ }
138
+ /**
139
+ * Generated by JsPbCodeGenerator.
140
+ * @param {Array=} opt_data Optional initial data array, typically from a
141
+ * server response, or constructed directly in Javascript. The array is used
142
+ * in place and becomes part of the constructed object. It is not cloned.
143
+ * If no data is provided, the constructed object will be empty, but still
144
+ * valid.
145
+ * @extends {jspb.Message}
146
+ * @constructor
147
+ */
148
+ proto.GetCronMonitorByIdRequest = function(opt_data) {
149
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
150
+ };
151
+ goog.inherits(proto.GetCronMonitorByIdRequest, jspb.Message);
152
+ if (goog.DEBUG && !COMPILED) {
153
+ /**
154
+ * @public
155
+ * @override
156
+ */
157
+ proto.GetCronMonitorByIdRequest.displayName = 'proto.GetCronMonitorByIdRequest';
158
+ }
159
+ /**
160
+ * Generated by JsPbCodeGenerator.
161
+ * @param {Array=} opt_data Optional initial data array, typically from a
162
+ * server response, or constructed directly in Javascript. The array is used
163
+ * in place and becomes part of the constructed object. It is not cloned.
164
+ * If no data is provided, the constructed object will be empty, but still
165
+ * valid.
166
+ * @extends {jspb.Message}
167
+ * @constructor
168
+ */
169
+ proto.SwitchCronMonitorByNameRequest = function(opt_data) {
170
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
171
+ };
172
+ goog.inherits(proto.SwitchCronMonitorByNameRequest, jspb.Message);
173
+ if (goog.DEBUG && !COMPILED) {
174
+ /**
175
+ * @public
176
+ * @override
177
+ */
178
+ proto.SwitchCronMonitorByNameRequest.displayName = 'proto.SwitchCronMonitorByNameRequest';
179
+ }
180
+ /**
181
+ * Generated by JsPbCodeGenerator.
182
+ * @param {Array=} opt_data Optional initial data array, typically from a
183
+ * server response, or constructed directly in Javascript. The array is used
184
+ * in place and becomes part of the constructed object. It is not cloned.
185
+ * If no data is provided, the constructed object will be empty, but still
186
+ * valid.
187
+ * @extends {jspb.Message}
188
+ * @constructor
189
+ */
190
+ proto.GetListCronMonitorRequest = function(opt_data) {
191
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
192
+ };
193
+ goog.inherits(proto.GetListCronMonitorRequest, jspb.Message);
194
+ if (goog.DEBUG && !COMPILED) {
195
+ /**
196
+ * @public
197
+ * @override
198
+ */
199
+ proto.GetListCronMonitorRequest.displayName = 'proto.GetListCronMonitorRequest';
200
+ }
201
+ /**
202
+ * Generated by JsPbCodeGenerator.
203
+ * @param {Array=} opt_data Optional initial data array, typically from a
204
+ * server response, or constructed directly in Javascript. The array is used
205
+ * in place and becomes part of the constructed object. It is not cloned.
206
+ * If no data is provided, the constructed object will be empty, but still
207
+ * valid.
208
+ * @extends {jspb.Message}
209
+ * @constructor
210
+ */
211
+ proto.CreateCronMonitorResponse = function(opt_data) {
212
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
213
+ };
214
+ goog.inherits(proto.CreateCronMonitorResponse, jspb.Message);
215
+ if (goog.DEBUG && !COMPILED) {
216
+ /**
217
+ * @public
218
+ * @override
219
+ */
220
+ proto.CreateCronMonitorResponse.displayName = 'proto.CreateCronMonitorResponse';
221
+ }
222
+ /**
223
+ * Generated by JsPbCodeGenerator.
224
+ * @param {Array=} opt_data Optional initial data array, typically from a
225
+ * server response, or constructed directly in Javascript. The array is used
226
+ * in place and becomes part of the constructed object. It is not cloned.
227
+ * If no data is provided, the constructed object will be empty, but still
228
+ * valid.
229
+ * @extends {jspb.Message}
230
+ * @constructor
231
+ */
232
+ proto.UpdateCronMonitorResponse = function(opt_data) {
233
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
234
+ };
235
+ goog.inherits(proto.UpdateCronMonitorResponse, jspb.Message);
236
+ if (goog.DEBUG && !COMPILED) {
237
+ /**
238
+ * @public
239
+ * @override
240
+ */
241
+ proto.UpdateCronMonitorResponse.displayName = 'proto.UpdateCronMonitorResponse';
242
+ }
243
+ /**
244
+ * Generated by JsPbCodeGenerator.
245
+ * @param {Array=} opt_data Optional initial data array, typically from a
246
+ * server response, or constructed directly in Javascript. The array is used
247
+ * in place and becomes part of the constructed object. It is not cloned.
248
+ * If no data is provided, the constructed object will be empty, but still
249
+ * valid.
250
+ * @extends {jspb.Message}
251
+ * @constructor
252
+ */
253
+ proto.DeleteCronMonitorResponse = function(opt_data) {
254
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteCronMonitorResponse.repeatedFields_, null);
255
+ };
256
+ goog.inherits(proto.DeleteCronMonitorResponse, jspb.Message);
257
+ if (goog.DEBUG && !COMPILED) {
258
+ /**
259
+ * @public
260
+ * @override
261
+ */
262
+ proto.DeleteCronMonitorResponse.displayName = 'proto.DeleteCronMonitorResponse';
263
+ }
264
+ /**
265
+ * Generated by JsPbCodeGenerator.
266
+ * @param {Array=} opt_data Optional initial data array, typically from a
267
+ * server response, or constructed directly in Javascript. The array is used
268
+ * in place and becomes part of the constructed object. It is not cloned.
269
+ * If no data is provided, the constructed object will be empty, but still
270
+ * valid.
271
+ * @extends {jspb.Message}
272
+ * @constructor
273
+ */
274
+ proto.GetCronMonitorByIdResponse = function(opt_data) {
275
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
276
+ };
277
+ goog.inherits(proto.GetCronMonitorByIdResponse, jspb.Message);
278
+ if (goog.DEBUG && !COMPILED) {
279
+ /**
280
+ * @public
281
+ * @override
282
+ */
283
+ proto.GetCronMonitorByIdResponse.displayName = 'proto.GetCronMonitorByIdResponse';
284
+ }
285
+ /**
286
+ * Generated by JsPbCodeGenerator.
287
+ * @param {Array=} opt_data Optional initial data array, typically from a
288
+ * server response, or constructed directly in Javascript. The array is used
289
+ * in place and becomes part of the constructed object. It is not cloned.
290
+ * If no data is provided, the constructed object will be empty, but still
291
+ * valid.
292
+ * @extends {jspb.Message}
293
+ * @constructor
294
+ */
295
+ proto.GetListCronMonitorResponse = function(opt_data) {
296
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListCronMonitorResponse.repeatedFields_, null);
297
+ };
298
+ goog.inherits(proto.GetListCronMonitorResponse, jspb.Message);
299
+ if (goog.DEBUG && !COMPILED) {
300
+ /**
301
+ * @public
302
+ * @override
303
+ */
304
+ proto.GetListCronMonitorResponse.displayName = 'proto.GetListCronMonitorResponse';
305
+ }
306
+
307
+
308
+
309
+ if (jspb.Message.GENERATE_TO_OBJECT) {
310
+ /**
311
+ * Creates an object representation of this proto.
312
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
313
+ * Optional fields that are not set will be set to undefined.
314
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
315
+ * For the list of reserved names please see:
316
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
317
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
318
+ * JSPB instance for transitional soy proto support:
319
+ * http://goto/soy-param-migration
320
+ * @return {!Object}
321
+ */
322
+ proto.CronMonitor.prototype.toObject = function(opt_includeInstance) {
323
+ return proto.CronMonitor.toObject(opt_includeInstance, this);
324
+ };
325
+
326
+
327
+ /**
328
+ * Static version of the {@see toObject} method.
329
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
330
+ * the JSPB instance for transitional soy proto support:
331
+ * http://goto/soy-param-migration
332
+ * @param {!proto.CronMonitor} msg The msg instance to transform.
333
+ * @return {!Object}
334
+ * @suppress {unusedLocalVariables} f is only used for nested messages
335
+ */
336
+ proto.CronMonitor.toObject = function(includeInstance, msg) {
337
+ var f, obj = {
338
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
339
+ start: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
340
+ referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
341
+ createdAt: jspb.Message.getFieldWithDefault(msg, 4, "")
342
+ };
343
+
344
+ if (includeInstance) {
345
+ obj.$jspbMessageInstance = msg;
346
+ }
347
+ return obj;
348
+ };
349
+ }
350
+
351
+
352
+ /**
353
+ * Deserializes binary data (in protobuf wire format).
354
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
355
+ * @return {!proto.CronMonitor}
356
+ */
357
+ proto.CronMonitor.deserializeBinary = function(bytes) {
358
+ var reader = new jspb.BinaryReader(bytes);
359
+ var msg = new proto.CronMonitor;
360
+ return proto.CronMonitor.deserializeBinaryFromReader(msg, reader);
361
+ };
362
+
363
+
364
+ /**
365
+ * Deserializes binary data (in protobuf wire format) from the
366
+ * given reader into the given message object.
367
+ * @param {!proto.CronMonitor} msg The message object to deserialize into.
368
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
369
+ * @return {!proto.CronMonitor}
370
+ */
371
+ proto.CronMonitor.deserializeBinaryFromReader = function(msg, reader) {
372
+ while (reader.nextField()) {
373
+ if (reader.isEndGroup()) {
374
+ break;
375
+ }
376
+ var field = reader.getFieldNumber();
377
+ switch (field) {
378
+ case 1:
379
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
380
+ msg.setName(value);
381
+ break;
382
+ case 2:
383
+ var value = /** @type {boolean} */ (reader.readBool());
384
+ msg.setStart(value);
385
+ break;
386
+ case 3:
387
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
388
+ msg.setReferencesId(value);
389
+ break;
390
+ case 4:
391
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
392
+ msg.setCreatedAt(value);
393
+ break;
394
+ default:
395
+ reader.skipField();
396
+ break;
397
+ }
398
+ }
399
+ return msg;
400
+ };
401
+
402
+
403
+ /**
404
+ * Serializes the message to binary data (in protobuf wire format).
405
+ * @return {!Uint8Array}
406
+ */
407
+ proto.CronMonitor.prototype.serializeBinary = function() {
408
+ var writer = new jspb.BinaryWriter();
409
+ proto.CronMonitor.serializeBinaryToWriter(this, writer);
410
+ return writer.getResultBuffer();
411
+ };
412
+
413
+
414
+ /**
415
+ * Serializes the given message to binary data (in protobuf wire
416
+ * format), writing to the given BinaryWriter.
417
+ * @param {!proto.CronMonitor} message
418
+ * @param {!jspb.BinaryWriter} writer
419
+ * @suppress {unusedLocalVariables} f is only used for nested messages
420
+ */
421
+ proto.CronMonitor.serializeBinaryToWriter = function(message, writer) {
422
+ var f = undefined;
423
+ f = message.getName();
424
+ if (f.length > 0) {
425
+ writer.writeString(
426
+ 1,
427
+ f
428
+ );
429
+ }
430
+ f = message.getStart();
431
+ if (f) {
432
+ writer.writeBool(
433
+ 2,
434
+ f
435
+ );
436
+ }
437
+ f = message.getReferencesId();
438
+ if (f.length > 0) {
439
+ writer.writeString(
440
+ 3,
441
+ f
442
+ );
443
+ }
444
+ f = message.getCreatedAt();
445
+ if (f.length > 0) {
446
+ writer.writeString(
447
+ 4,
448
+ f
449
+ );
450
+ }
451
+ };
452
+
453
+
454
+ /**
455
+ * optional string name = 1;
456
+ * @return {string}
457
+ */
458
+ proto.CronMonitor.prototype.getName = function() {
459
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
460
+ };
461
+
462
+
463
+ /**
464
+ * @param {string} value
465
+ * @return {!proto.CronMonitor} returns this
466
+ */
467
+ proto.CronMonitor.prototype.setName = function(value) {
468
+ return jspb.Message.setProto3StringField(this, 1, value);
469
+ };
470
+
471
+
472
+ /**
473
+ * optional bool start = 2;
474
+ * @return {boolean}
475
+ */
476
+ proto.CronMonitor.prototype.getStart = function() {
477
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
478
+ };
479
+
480
+
481
+ /**
482
+ * @param {boolean} value
483
+ * @return {!proto.CronMonitor} returns this
484
+ */
485
+ proto.CronMonitor.prototype.setStart = function(value) {
486
+ return jspb.Message.setProto3BooleanField(this, 2, value);
487
+ };
488
+
489
+
490
+ /**
491
+ * optional string references_id = 3;
492
+ * @return {string}
493
+ */
494
+ proto.CronMonitor.prototype.getReferencesId = function() {
495
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
496
+ };
497
+
498
+
499
+ /**
500
+ * @param {string} value
501
+ * @return {!proto.CronMonitor} returns this
502
+ */
503
+ proto.CronMonitor.prototype.setReferencesId = function(value) {
504
+ return jspb.Message.setProto3StringField(this, 3, value);
505
+ };
506
+
507
+
508
+ /**
509
+ * optional string created_at = 4;
510
+ * @return {string}
511
+ */
512
+ proto.CronMonitor.prototype.getCreatedAt = function() {
513
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
514
+ };
515
+
516
+
517
+ /**
518
+ * @param {string} value
519
+ * @return {!proto.CronMonitor} returns this
520
+ */
521
+ proto.CronMonitor.prototype.setCreatedAt = function(value) {
522
+ return jspb.Message.setProto3StringField(this, 4, value);
523
+ };
524
+
525
+
526
+
527
+
528
+
529
+ if (jspb.Message.GENERATE_TO_OBJECT) {
530
+ /**
531
+ * Creates an object representation of this proto.
532
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
533
+ * Optional fields that are not set will be set to undefined.
534
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
535
+ * For the list of reserved names please see:
536
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
537
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
538
+ * JSPB instance for transitional soy proto support:
539
+ * http://goto/soy-param-migration
540
+ * @return {!Object}
541
+ */
542
+ proto.BaseCronMonitorRequest.prototype.toObject = function(opt_includeInstance) {
543
+ return proto.BaseCronMonitorRequest.toObject(opt_includeInstance, this);
544
+ };
545
+
546
+
547
+ /**
548
+ * Static version of the {@see toObject} method.
549
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
550
+ * the JSPB instance for transitional soy proto support:
551
+ * http://goto/soy-param-migration
552
+ * @param {!proto.BaseCronMonitorRequest} msg The msg instance to transform.
553
+ * @return {!Object}
554
+ * @suppress {unusedLocalVariables} f is only used for nested messages
555
+ */
556
+ proto.BaseCronMonitorRequest.toObject = function(includeInstance, msg) {
557
+ var f, obj = {
558
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
559
+ start: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
560
+ };
561
+
562
+ if (includeInstance) {
563
+ obj.$jspbMessageInstance = msg;
564
+ }
565
+ return obj;
566
+ };
567
+ }
568
+
569
+
570
+ /**
571
+ * Deserializes binary data (in protobuf wire format).
572
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
573
+ * @return {!proto.BaseCronMonitorRequest}
574
+ */
575
+ proto.BaseCronMonitorRequest.deserializeBinary = function(bytes) {
576
+ var reader = new jspb.BinaryReader(bytes);
577
+ var msg = new proto.BaseCronMonitorRequest;
578
+ return proto.BaseCronMonitorRequest.deserializeBinaryFromReader(msg, reader);
579
+ };
580
+
581
+
582
+ /**
583
+ * Deserializes binary data (in protobuf wire format) from the
584
+ * given reader into the given message object.
585
+ * @param {!proto.BaseCronMonitorRequest} msg The message object to deserialize into.
586
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
587
+ * @return {!proto.BaseCronMonitorRequest}
588
+ */
589
+ proto.BaseCronMonitorRequest.deserializeBinaryFromReader = function(msg, reader) {
590
+ while (reader.nextField()) {
591
+ if (reader.isEndGroup()) {
592
+ break;
593
+ }
594
+ var field = reader.getFieldNumber();
595
+ switch (field) {
596
+ case 1:
597
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
598
+ msg.setName(value);
599
+ break;
600
+ case 2:
601
+ var value = /** @type {boolean} */ (reader.readBool());
602
+ msg.setStart(value);
603
+ break;
604
+ default:
605
+ reader.skipField();
606
+ break;
607
+ }
608
+ }
609
+ return msg;
610
+ };
611
+
612
+
613
+ /**
614
+ * Serializes the message to binary data (in protobuf wire format).
615
+ * @return {!Uint8Array}
616
+ */
617
+ proto.BaseCronMonitorRequest.prototype.serializeBinary = function() {
618
+ var writer = new jspb.BinaryWriter();
619
+ proto.BaseCronMonitorRequest.serializeBinaryToWriter(this, writer);
620
+ return writer.getResultBuffer();
621
+ };
622
+
623
+
624
+ /**
625
+ * Serializes the given message to binary data (in protobuf wire
626
+ * format), writing to the given BinaryWriter.
627
+ * @param {!proto.BaseCronMonitorRequest} message
628
+ * @param {!jspb.BinaryWriter} writer
629
+ * @suppress {unusedLocalVariables} f is only used for nested messages
630
+ */
631
+ proto.BaseCronMonitorRequest.serializeBinaryToWriter = function(message, writer) {
632
+ var f = undefined;
633
+ f = message.getName();
634
+ if (f.length > 0) {
635
+ writer.writeString(
636
+ 1,
637
+ f
638
+ );
639
+ }
640
+ f = message.getStart();
641
+ if (f) {
642
+ writer.writeBool(
643
+ 2,
644
+ f
645
+ );
646
+ }
647
+ };
648
+
649
+
650
+ /**
651
+ * optional string name = 1;
652
+ * @return {string}
653
+ */
654
+ proto.BaseCronMonitorRequest.prototype.getName = function() {
655
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
656
+ };
657
+
658
+
659
+ /**
660
+ * @param {string} value
661
+ * @return {!proto.BaseCronMonitorRequest} returns this
662
+ */
663
+ proto.BaseCronMonitorRequest.prototype.setName = function(value) {
664
+ return jspb.Message.setProto3StringField(this, 1, value);
665
+ };
666
+
667
+
668
+ /**
669
+ * optional bool start = 2;
670
+ * @return {boolean}
671
+ */
672
+ proto.BaseCronMonitorRequest.prototype.getStart = function() {
673
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
674
+ };
675
+
676
+
677
+ /**
678
+ * @param {boolean} value
679
+ * @return {!proto.BaseCronMonitorRequest} returns this
680
+ */
681
+ proto.BaseCronMonitorRequest.prototype.setStart = function(value) {
682
+ return jspb.Message.setProto3BooleanField(this, 2, value);
683
+ };
684
+
685
+
686
+
687
+
688
+
689
+ if (jspb.Message.GENERATE_TO_OBJECT) {
690
+ /**
691
+ * Creates an object representation of this proto.
692
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
693
+ * Optional fields that are not set will be set to undefined.
694
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
695
+ * For the list of reserved names please see:
696
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
697
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
698
+ * JSPB instance for transitional soy proto support:
699
+ * http://goto/soy-param-migration
700
+ * @return {!Object}
701
+ */
702
+ proto.CreateCronMonitorRequest.prototype.toObject = function(opt_includeInstance) {
703
+ return proto.CreateCronMonitorRequest.toObject(opt_includeInstance, this);
704
+ };
705
+
706
+
707
+ /**
708
+ * Static version of the {@see toObject} method.
709
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
710
+ * the JSPB instance for transitional soy proto support:
711
+ * http://goto/soy-param-migration
712
+ * @param {!proto.CreateCronMonitorRequest} msg The msg instance to transform.
713
+ * @return {!Object}
714
+ * @suppress {unusedLocalVariables} f is only used for nested messages
715
+ */
716
+ proto.CreateCronMonitorRequest.toObject = function(includeInstance, msg) {
717
+ var f, obj = {
718
+ baseCronMonitor: (f = msg.getBaseCronMonitor()) && proto.BaseCronMonitorRequest.toObject(includeInstance, f)
719
+ };
720
+
721
+ if (includeInstance) {
722
+ obj.$jspbMessageInstance = msg;
723
+ }
724
+ return obj;
725
+ };
726
+ }
727
+
728
+
729
+ /**
730
+ * Deserializes binary data (in protobuf wire format).
731
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
732
+ * @return {!proto.CreateCronMonitorRequest}
733
+ */
734
+ proto.CreateCronMonitorRequest.deserializeBinary = function(bytes) {
735
+ var reader = new jspb.BinaryReader(bytes);
736
+ var msg = new proto.CreateCronMonitorRequest;
737
+ return proto.CreateCronMonitorRequest.deserializeBinaryFromReader(msg, reader);
738
+ };
739
+
740
+
741
+ /**
742
+ * Deserializes binary data (in protobuf wire format) from the
743
+ * given reader into the given message object.
744
+ * @param {!proto.CreateCronMonitorRequest} msg The message object to deserialize into.
745
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
746
+ * @return {!proto.CreateCronMonitorRequest}
747
+ */
748
+ proto.CreateCronMonitorRequest.deserializeBinaryFromReader = function(msg, reader) {
749
+ while (reader.nextField()) {
750
+ if (reader.isEndGroup()) {
751
+ break;
752
+ }
753
+ var field = reader.getFieldNumber();
754
+ switch (field) {
755
+ case 1:
756
+ var value = new proto.BaseCronMonitorRequest;
757
+ reader.readMessage(value,proto.BaseCronMonitorRequest.deserializeBinaryFromReader);
758
+ msg.setBaseCronMonitor(value);
759
+ break;
760
+ default:
761
+ reader.skipField();
762
+ break;
763
+ }
764
+ }
765
+ return msg;
766
+ };
767
+
768
+
769
+ /**
770
+ * Serializes the message to binary data (in protobuf wire format).
771
+ * @return {!Uint8Array}
772
+ */
773
+ proto.CreateCronMonitorRequest.prototype.serializeBinary = function() {
774
+ var writer = new jspb.BinaryWriter();
775
+ proto.CreateCronMonitorRequest.serializeBinaryToWriter(this, writer);
776
+ return writer.getResultBuffer();
777
+ };
778
+
779
+
780
+ /**
781
+ * Serializes the given message to binary data (in protobuf wire
782
+ * format), writing to the given BinaryWriter.
783
+ * @param {!proto.CreateCronMonitorRequest} message
784
+ * @param {!jspb.BinaryWriter} writer
785
+ * @suppress {unusedLocalVariables} f is only used for nested messages
786
+ */
787
+ proto.CreateCronMonitorRequest.serializeBinaryToWriter = function(message, writer) {
788
+ var f = undefined;
789
+ f = message.getBaseCronMonitor();
790
+ if (f != null) {
791
+ writer.writeMessage(
792
+ 1,
793
+ f,
794
+ proto.BaseCronMonitorRequest.serializeBinaryToWriter
795
+ );
796
+ }
797
+ };
798
+
799
+
800
+ /**
801
+ * optional BaseCronMonitorRequest base_cron_monitor = 1;
802
+ * @return {?proto.BaseCronMonitorRequest}
803
+ */
804
+ proto.CreateCronMonitorRequest.prototype.getBaseCronMonitor = function() {
805
+ return /** @type{?proto.BaseCronMonitorRequest} */ (
806
+ jspb.Message.getWrapperField(this, proto.BaseCronMonitorRequest, 1));
807
+ };
808
+
809
+
810
+ /**
811
+ * @param {?proto.BaseCronMonitorRequest|undefined} value
812
+ * @return {!proto.CreateCronMonitorRequest} returns this
813
+ */
814
+ proto.CreateCronMonitorRequest.prototype.setBaseCronMonitor = function(value) {
815
+ return jspb.Message.setWrapperField(this, 1, value);
816
+ };
817
+
818
+
819
+ /**
820
+ * Clears the message field making it undefined.
821
+ * @return {!proto.CreateCronMonitorRequest} returns this
822
+ */
823
+ proto.CreateCronMonitorRequest.prototype.clearBaseCronMonitor = function() {
824
+ return this.setBaseCronMonitor(undefined);
825
+ };
826
+
827
+
828
+ /**
829
+ * Returns whether this field is set.
830
+ * @return {boolean}
831
+ */
832
+ proto.CreateCronMonitorRequest.prototype.hasBaseCronMonitor = function() {
833
+ return jspb.Message.getField(this, 1) != null;
834
+ };
835
+
836
+
837
+
838
+
839
+
840
+ if (jspb.Message.GENERATE_TO_OBJECT) {
841
+ /**
842
+ * Creates an object representation of this proto.
843
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
844
+ * Optional fields that are not set will be set to undefined.
845
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
846
+ * For the list of reserved names please see:
847
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
848
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
849
+ * JSPB instance for transitional soy proto support:
850
+ * http://goto/soy-param-migration
851
+ * @return {!Object}
852
+ */
853
+ proto.UpdateCronMonitorRequest.prototype.toObject = function(opt_includeInstance) {
854
+ return proto.UpdateCronMonitorRequest.toObject(opt_includeInstance, this);
855
+ };
856
+
857
+
858
+ /**
859
+ * Static version of the {@see toObject} method.
860
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
861
+ * the JSPB instance for transitional soy proto support:
862
+ * http://goto/soy-param-migration
863
+ * @param {!proto.UpdateCronMonitorRequest} msg The msg instance to transform.
864
+ * @return {!Object}
865
+ * @suppress {unusedLocalVariables} f is only used for nested messages
866
+ */
867
+ proto.UpdateCronMonitorRequest.toObject = function(includeInstance, msg) {
868
+ var f, obj = {
869
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
870
+ baseCronMonitor: (f = msg.getBaseCronMonitor()) && proto.BaseCronMonitorRequest.toObject(includeInstance, f)
871
+ };
872
+
873
+ if (includeInstance) {
874
+ obj.$jspbMessageInstance = msg;
875
+ }
876
+ return obj;
877
+ };
878
+ }
879
+
880
+
881
+ /**
882
+ * Deserializes binary data (in protobuf wire format).
883
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
884
+ * @return {!proto.UpdateCronMonitorRequest}
885
+ */
886
+ proto.UpdateCronMonitorRequest.deserializeBinary = function(bytes) {
887
+ var reader = new jspb.BinaryReader(bytes);
888
+ var msg = new proto.UpdateCronMonitorRequest;
889
+ return proto.UpdateCronMonitorRequest.deserializeBinaryFromReader(msg, reader);
890
+ };
891
+
892
+
893
+ /**
894
+ * Deserializes binary data (in protobuf wire format) from the
895
+ * given reader into the given message object.
896
+ * @param {!proto.UpdateCronMonitorRequest} msg The message object to deserialize into.
897
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
898
+ * @return {!proto.UpdateCronMonitorRequest}
899
+ */
900
+ proto.UpdateCronMonitorRequest.deserializeBinaryFromReader = function(msg, reader) {
901
+ while (reader.nextField()) {
902
+ if (reader.isEndGroup()) {
903
+ break;
904
+ }
905
+ var field = reader.getFieldNumber();
906
+ switch (field) {
907
+ case 1:
908
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
909
+ msg.setReferencesId(value);
910
+ break;
911
+ case 2:
912
+ var value = new proto.BaseCronMonitorRequest;
913
+ reader.readMessage(value,proto.BaseCronMonitorRequest.deserializeBinaryFromReader);
914
+ msg.setBaseCronMonitor(value);
915
+ break;
916
+ default:
917
+ reader.skipField();
918
+ break;
919
+ }
920
+ }
921
+ return msg;
922
+ };
923
+
924
+
925
+ /**
926
+ * Serializes the message to binary data (in protobuf wire format).
927
+ * @return {!Uint8Array}
928
+ */
929
+ proto.UpdateCronMonitorRequest.prototype.serializeBinary = function() {
930
+ var writer = new jspb.BinaryWriter();
931
+ proto.UpdateCronMonitorRequest.serializeBinaryToWriter(this, writer);
932
+ return writer.getResultBuffer();
933
+ };
934
+
935
+
936
+ /**
937
+ * Serializes the given message to binary data (in protobuf wire
938
+ * format), writing to the given BinaryWriter.
939
+ * @param {!proto.UpdateCronMonitorRequest} message
940
+ * @param {!jspb.BinaryWriter} writer
941
+ * @suppress {unusedLocalVariables} f is only used for nested messages
942
+ */
943
+ proto.UpdateCronMonitorRequest.serializeBinaryToWriter = function(message, writer) {
944
+ var f = undefined;
945
+ f = message.getReferencesId();
946
+ if (f.length > 0) {
947
+ writer.writeString(
948
+ 1,
949
+ f
950
+ );
951
+ }
952
+ f = message.getBaseCronMonitor();
953
+ if (f != null) {
954
+ writer.writeMessage(
955
+ 2,
956
+ f,
957
+ proto.BaseCronMonitorRequest.serializeBinaryToWriter
958
+ );
959
+ }
960
+ };
961
+
962
+
963
+ /**
964
+ * optional string references_id = 1;
965
+ * @return {string}
966
+ */
967
+ proto.UpdateCronMonitorRequest.prototype.getReferencesId = function() {
968
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
969
+ };
970
+
971
+
972
+ /**
973
+ * @param {string} value
974
+ * @return {!proto.UpdateCronMonitorRequest} returns this
975
+ */
976
+ proto.UpdateCronMonitorRequest.prototype.setReferencesId = function(value) {
977
+ return jspb.Message.setProto3StringField(this, 1, value);
978
+ };
979
+
980
+
981
+ /**
982
+ * optional BaseCronMonitorRequest base_cron_monitor = 2;
983
+ * @return {?proto.BaseCronMonitorRequest}
984
+ */
985
+ proto.UpdateCronMonitorRequest.prototype.getBaseCronMonitor = function() {
986
+ return /** @type{?proto.BaseCronMonitorRequest} */ (
987
+ jspb.Message.getWrapperField(this, proto.BaseCronMonitorRequest, 2));
988
+ };
989
+
990
+
991
+ /**
992
+ * @param {?proto.BaseCronMonitorRequest|undefined} value
993
+ * @return {!proto.UpdateCronMonitorRequest} returns this
994
+ */
995
+ proto.UpdateCronMonitorRequest.prototype.setBaseCronMonitor = function(value) {
996
+ return jspb.Message.setWrapperField(this, 2, value);
997
+ };
998
+
999
+
1000
+ /**
1001
+ * Clears the message field making it undefined.
1002
+ * @return {!proto.UpdateCronMonitorRequest} returns this
1003
+ */
1004
+ proto.UpdateCronMonitorRequest.prototype.clearBaseCronMonitor = function() {
1005
+ return this.setBaseCronMonitor(undefined);
1006
+ };
1007
+
1008
+
1009
+ /**
1010
+ * Returns whether this field is set.
1011
+ * @return {boolean}
1012
+ */
1013
+ proto.UpdateCronMonitorRequest.prototype.hasBaseCronMonitor = function() {
1014
+ return jspb.Message.getField(this, 2) != null;
1015
+ };
1016
+
1017
+
1018
+
1019
+ /**
1020
+ * List of repeated fields within this message type.
1021
+ * @private {!Array<number>}
1022
+ * @const
1023
+ */
1024
+ proto.DeleteCronMonitorRequest.repeatedFields_ = [1];
1025
+
1026
+
1027
+
1028
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1029
+ /**
1030
+ * Creates an object representation of this proto.
1031
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1032
+ * Optional fields that are not set will be set to undefined.
1033
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1034
+ * For the list of reserved names please see:
1035
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1036
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1037
+ * JSPB instance for transitional soy proto support:
1038
+ * http://goto/soy-param-migration
1039
+ * @return {!Object}
1040
+ */
1041
+ proto.DeleteCronMonitorRequest.prototype.toObject = function(opt_includeInstance) {
1042
+ return proto.DeleteCronMonitorRequest.toObject(opt_includeInstance, this);
1043
+ };
1044
+
1045
+
1046
+ /**
1047
+ * Static version of the {@see toObject} method.
1048
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1049
+ * the JSPB instance for transitional soy proto support:
1050
+ * http://goto/soy-param-migration
1051
+ * @param {!proto.DeleteCronMonitorRequest} msg The msg instance to transform.
1052
+ * @return {!Object}
1053
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1054
+ */
1055
+ proto.DeleteCronMonitorRequest.toObject = function(includeInstance, msg) {
1056
+ var f, obj = {
1057
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1058
+ };
1059
+
1060
+ if (includeInstance) {
1061
+ obj.$jspbMessageInstance = msg;
1062
+ }
1063
+ return obj;
1064
+ };
1065
+ }
1066
+
1067
+
1068
+ /**
1069
+ * Deserializes binary data (in protobuf wire format).
1070
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1071
+ * @return {!proto.DeleteCronMonitorRequest}
1072
+ */
1073
+ proto.DeleteCronMonitorRequest.deserializeBinary = function(bytes) {
1074
+ var reader = new jspb.BinaryReader(bytes);
1075
+ var msg = new proto.DeleteCronMonitorRequest;
1076
+ return proto.DeleteCronMonitorRequest.deserializeBinaryFromReader(msg, reader);
1077
+ };
1078
+
1079
+
1080
+ /**
1081
+ * Deserializes binary data (in protobuf wire format) from the
1082
+ * given reader into the given message object.
1083
+ * @param {!proto.DeleteCronMonitorRequest} msg The message object to deserialize into.
1084
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1085
+ * @return {!proto.DeleteCronMonitorRequest}
1086
+ */
1087
+ proto.DeleteCronMonitorRequest.deserializeBinaryFromReader = function(msg, reader) {
1088
+ while (reader.nextField()) {
1089
+ if (reader.isEndGroup()) {
1090
+ break;
1091
+ }
1092
+ var field = reader.getFieldNumber();
1093
+ switch (field) {
1094
+ case 1:
1095
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1096
+ msg.addReferenceIds(value);
1097
+ break;
1098
+ default:
1099
+ reader.skipField();
1100
+ break;
1101
+ }
1102
+ }
1103
+ return msg;
1104
+ };
1105
+
1106
+
1107
+ /**
1108
+ * Serializes the message to binary data (in protobuf wire format).
1109
+ * @return {!Uint8Array}
1110
+ */
1111
+ proto.DeleteCronMonitorRequest.prototype.serializeBinary = function() {
1112
+ var writer = new jspb.BinaryWriter();
1113
+ proto.DeleteCronMonitorRequest.serializeBinaryToWriter(this, writer);
1114
+ return writer.getResultBuffer();
1115
+ };
1116
+
1117
+
1118
+ /**
1119
+ * Serializes the given message to binary data (in protobuf wire
1120
+ * format), writing to the given BinaryWriter.
1121
+ * @param {!proto.DeleteCronMonitorRequest} message
1122
+ * @param {!jspb.BinaryWriter} writer
1123
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1124
+ */
1125
+ proto.DeleteCronMonitorRequest.serializeBinaryToWriter = function(message, writer) {
1126
+ var f = undefined;
1127
+ f = message.getReferenceIdsList();
1128
+ if (f.length > 0) {
1129
+ writer.writeRepeatedString(
1130
+ 1,
1131
+ f
1132
+ );
1133
+ }
1134
+ };
1135
+
1136
+
1137
+ /**
1138
+ * repeated string reference_ids = 1;
1139
+ * @return {!Array<string>}
1140
+ */
1141
+ proto.DeleteCronMonitorRequest.prototype.getReferenceIdsList = function() {
1142
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1143
+ };
1144
+
1145
+
1146
+ /**
1147
+ * @param {!Array<string>} value
1148
+ * @return {!proto.DeleteCronMonitorRequest} returns this
1149
+ */
1150
+ proto.DeleteCronMonitorRequest.prototype.setReferenceIdsList = function(value) {
1151
+ return jspb.Message.setField(this, 1, value || []);
1152
+ };
1153
+
1154
+
1155
+ /**
1156
+ * @param {string} value
1157
+ * @param {number=} opt_index
1158
+ * @return {!proto.DeleteCronMonitorRequest} returns this
1159
+ */
1160
+ proto.DeleteCronMonitorRequest.prototype.addReferenceIds = function(value, opt_index) {
1161
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1162
+ };
1163
+
1164
+
1165
+ /**
1166
+ * Clears the list making it empty but non-null.
1167
+ * @return {!proto.DeleteCronMonitorRequest} returns this
1168
+ */
1169
+ proto.DeleteCronMonitorRequest.prototype.clearReferenceIdsList = function() {
1170
+ return this.setReferenceIdsList([]);
1171
+ };
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1178
+ /**
1179
+ * Creates an object representation of this proto.
1180
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1181
+ * Optional fields that are not set will be set to undefined.
1182
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1183
+ * For the list of reserved names please see:
1184
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1185
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1186
+ * JSPB instance for transitional soy proto support:
1187
+ * http://goto/soy-param-migration
1188
+ * @return {!Object}
1189
+ */
1190
+ proto.GetCronMonitorByIdRequest.prototype.toObject = function(opt_includeInstance) {
1191
+ return proto.GetCronMonitorByIdRequest.toObject(opt_includeInstance, this);
1192
+ };
1193
+
1194
+
1195
+ /**
1196
+ * Static version of the {@see toObject} method.
1197
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1198
+ * the JSPB instance for transitional soy proto support:
1199
+ * http://goto/soy-param-migration
1200
+ * @param {!proto.GetCronMonitorByIdRequest} msg The msg instance to transform.
1201
+ * @return {!Object}
1202
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1203
+ */
1204
+ proto.GetCronMonitorByIdRequest.toObject = function(includeInstance, msg) {
1205
+ var f, obj = {
1206
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1207
+ };
1208
+
1209
+ if (includeInstance) {
1210
+ obj.$jspbMessageInstance = msg;
1211
+ }
1212
+ return obj;
1213
+ };
1214
+ }
1215
+
1216
+
1217
+ /**
1218
+ * Deserializes binary data (in protobuf wire format).
1219
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1220
+ * @return {!proto.GetCronMonitorByIdRequest}
1221
+ */
1222
+ proto.GetCronMonitorByIdRequest.deserializeBinary = function(bytes) {
1223
+ var reader = new jspb.BinaryReader(bytes);
1224
+ var msg = new proto.GetCronMonitorByIdRequest;
1225
+ return proto.GetCronMonitorByIdRequest.deserializeBinaryFromReader(msg, reader);
1226
+ };
1227
+
1228
+
1229
+ /**
1230
+ * Deserializes binary data (in protobuf wire format) from the
1231
+ * given reader into the given message object.
1232
+ * @param {!proto.GetCronMonitorByIdRequest} msg The message object to deserialize into.
1233
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1234
+ * @return {!proto.GetCronMonitorByIdRequest}
1235
+ */
1236
+ proto.GetCronMonitorByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
1237
+ while (reader.nextField()) {
1238
+ if (reader.isEndGroup()) {
1239
+ break;
1240
+ }
1241
+ var field = reader.getFieldNumber();
1242
+ switch (field) {
1243
+ case 1:
1244
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1245
+ msg.setReferencesId(value);
1246
+ break;
1247
+ default:
1248
+ reader.skipField();
1249
+ break;
1250
+ }
1251
+ }
1252
+ return msg;
1253
+ };
1254
+
1255
+
1256
+ /**
1257
+ * Serializes the message to binary data (in protobuf wire format).
1258
+ * @return {!Uint8Array}
1259
+ */
1260
+ proto.GetCronMonitorByIdRequest.prototype.serializeBinary = function() {
1261
+ var writer = new jspb.BinaryWriter();
1262
+ proto.GetCronMonitorByIdRequest.serializeBinaryToWriter(this, writer);
1263
+ return writer.getResultBuffer();
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * Serializes the given message to binary data (in protobuf wire
1269
+ * format), writing to the given BinaryWriter.
1270
+ * @param {!proto.GetCronMonitorByIdRequest} message
1271
+ * @param {!jspb.BinaryWriter} writer
1272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1273
+ */
1274
+ proto.GetCronMonitorByIdRequest.serializeBinaryToWriter = function(message, writer) {
1275
+ var f = undefined;
1276
+ f = message.getReferencesId();
1277
+ if (f.length > 0) {
1278
+ writer.writeString(
1279
+ 1,
1280
+ f
1281
+ );
1282
+ }
1283
+ };
1284
+
1285
+
1286
+ /**
1287
+ * optional string references_id = 1;
1288
+ * @return {string}
1289
+ */
1290
+ proto.GetCronMonitorByIdRequest.prototype.getReferencesId = function() {
1291
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1292
+ };
1293
+
1294
+
1295
+ /**
1296
+ * @param {string} value
1297
+ * @return {!proto.GetCronMonitorByIdRequest} returns this
1298
+ */
1299
+ proto.GetCronMonitorByIdRequest.prototype.setReferencesId = function(value) {
1300
+ return jspb.Message.setProto3StringField(this, 1, value);
1301
+ };
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1308
+ /**
1309
+ * Creates an object representation of this proto.
1310
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1311
+ * Optional fields that are not set will be set to undefined.
1312
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1313
+ * For the list of reserved names please see:
1314
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1315
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1316
+ * JSPB instance for transitional soy proto support:
1317
+ * http://goto/soy-param-migration
1318
+ * @return {!Object}
1319
+ */
1320
+ proto.SwitchCronMonitorByNameRequest.prototype.toObject = function(opt_includeInstance) {
1321
+ return proto.SwitchCronMonitorByNameRequest.toObject(opt_includeInstance, this);
1322
+ };
1323
+
1324
+
1325
+ /**
1326
+ * Static version of the {@see toObject} method.
1327
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1328
+ * the JSPB instance for transitional soy proto support:
1329
+ * http://goto/soy-param-migration
1330
+ * @param {!proto.SwitchCronMonitorByNameRequest} msg The msg instance to transform.
1331
+ * @return {!Object}
1332
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1333
+ */
1334
+ proto.SwitchCronMonitorByNameRequest.toObject = function(includeInstance, msg) {
1335
+ var f, obj = {
1336
+ baseCronMonitor: (f = msg.getBaseCronMonitor()) && proto.BaseCronMonitorRequest.toObject(includeInstance, f)
1337
+ };
1338
+
1339
+ if (includeInstance) {
1340
+ obj.$jspbMessageInstance = msg;
1341
+ }
1342
+ return obj;
1343
+ };
1344
+ }
1345
+
1346
+
1347
+ /**
1348
+ * Deserializes binary data (in protobuf wire format).
1349
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1350
+ * @return {!proto.SwitchCronMonitorByNameRequest}
1351
+ */
1352
+ proto.SwitchCronMonitorByNameRequest.deserializeBinary = function(bytes) {
1353
+ var reader = new jspb.BinaryReader(bytes);
1354
+ var msg = new proto.SwitchCronMonitorByNameRequest;
1355
+ return proto.SwitchCronMonitorByNameRequest.deserializeBinaryFromReader(msg, reader);
1356
+ };
1357
+
1358
+
1359
+ /**
1360
+ * Deserializes binary data (in protobuf wire format) from the
1361
+ * given reader into the given message object.
1362
+ * @param {!proto.SwitchCronMonitorByNameRequest} msg The message object to deserialize into.
1363
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1364
+ * @return {!proto.SwitchCronMonitorByNameRequest}
1365
+ */
1366
+ proto.SwitchCronMonitorByNameRequest.deserializeBinaryFromReader = function(msg, reader) {
1367
+ while (reader.nextField()) {
1368
+ if (reader.isEndGroup()) {
1369
+ break;
1370
+ }
1371
+ var field = reader.getFieldNumber();
1372
+ switch (field) {
1373
+ case 1:
1374
+ var value = new proto.BaseCronMonitorRequest;
1375
+ reader.readMessage(value,proto.BaseCronMonitorRequest.deserializeBinaryFromReader);
1376
+ msg.setBaseCronMonitor(value);
1377
+ break;
1378
+ default:
1379
+ reader.skipField();
1380
+ break;
1381
+ }
1382
+ }
1383
+ return msg;
1384
+ };
1385
+
1386
+
1387
+ /**
1388
+ * Serializes the message to binary data (in protobuf wire format).
1389
+ * @return {!Uint8Array}
1390
+ */
1391
+ proto.SwitchCronMonitorByNameRequest.prototype.serializeBinary = function() {
1392
+ var writer = new jspb.BinaryWriter();
1393
+ proto.SwitchCronMonitorByNameRequest.serializeBinaryToWriter(this, writer);
1394
+ return writer.getResultBuffer();
1395
+ };
1396
+
1397
+
1398
+ /**
1399
+ * Serializes the given message to binary data (in protobuf wire
1400
+ * format), writing to the given BinaryWriter.
1401
+ * @param {!proto.SwitchCronMonitorByNameRequest} message
1402
+ * @param {!jspb.BinaryWriter} writer
1403
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1404
+ */
1405
+ proto.SwitchCronMonitorByNameRequest.serializeBinaryToWriter = function(message, writer) {
1406
+ var f = undefined;
1407
+ f = message.getBaseCronMonitor();
1408
+ if (f != null) {
1409
+ writer.writeMessage(
1410
+ 1,
1411
+ f,
1412
+ proto.BaseCronMonitorRequest.serializeBinaryToWriter
1413
+ );
1414
+ }
1415
+ };
1416
+
1417
+
1418
+ /**
1419
+ * optional BaseCronMonitorRequest base_cron_monitor = 1;
1420
+ * @return {?proto.BaseCronMonitorRequest}
1421
+ */
1422
+ proto.SwitchCronMonitorByNameRequest.prototype.getBaseCronMonitor = function() {
1423
+ return /** @type{?proto.BaseCronMonitorRequest} */ (
1424
+ jspb.Message.getWrapperField(this, proto.BaseCronMonitorRequest, 1));
1425
+ };
1426
+
1427
+
1428
+ /**
1429
+ * @param {?proto.BaseCronMonitorRequest|undefined} value
1430
+ * @return {!proto.SwitchCronMonitorByNameRequest} returns this
1431
+ */
1432
+ proto.SwitchCronMonitorByNameRequest.prototype.setBaseCronMonitor = function(value) {
1433
+ return jspb.Message.setWrapperField(this, 1, value);
1434
+ };
1435
+
1436
+
1437
+ /**
1438
+ * Clears the message field making it undefined.
1439
+ * @return {!proto.SwitchCronMonitorByNameRequest} returns this
1440
+ */
1441
+ proto.SwitchCronMonitorByNameRequest.prototype.clearBaseCronMonitor = function() {
1442
+ return this.setBaseCronMonitor(undefined);
1443
+ };
1444
+
1445
+
1446
+ /**
1447
+ * Returns whether this field is set.
1448
+ * @return {boolean}
1449
+ */
1450
+ proto.SwitchCronMonitorByNameRequest.prototype.hasBaseCronMonitor = function() {
1451
+ return jspb.Message.getField(this, 1) != null;
1452
+ };
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1459
+ /**
1460
+ * Creates an object representation of this proto.
1461
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1462
+ * Optional fields that are not set will be set to undefined.
1463
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1464
+ * For the list of reserved names please see:
1465
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1466
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1467
+ * JSPB instance for transitional soy proto support:
1468
+ * http://goto/soy-param-migration
1469
+ * @return {!Object}
1470
+ */
1471
+ proto.GetListCronMonitorRequest.prototype.toObject = function(opt_includeInstance) {
1472
+ return proto.GetListCronMonitorRequest.toObject(opt_includeInstance, this);
1473
+ };
1474
+
1475
+
1476
+ /**
1477
+ * Static version of the {@see toObject} method.
1478
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1479
+ * the JSPB instance for transitional soy proto support:
1480
+ * http://goto/soy-param-migration
1481
+ * @param {!proto.GetListCronMonitorRequest} msg The msg instance to transform.
1482
+ * @return {!Object}
1483
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1484
+ */
1485
+ proto.GetListCronMonitorRequest.toObject = function(includeInstance, msg) {
1486
+ var f, obj = {
1487
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1488
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1489
+ };
1490
+
1491
+ if (includeInstance) {
1492
+ obj.$jspbMessageInstance = msg;
1493
+ }
1494
+ return obj;
1495
+ };
1496
+ }
1497
+
1498
+
1499
+ /**
1500
+ * Deserializes binary data (in protobuf wire format).
1501
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1502
+ * @return {!proto.GetListCronMonitorRequest}
1503
+ */
1504
+ proto.GetListCronMonitorRequest.deserializeBinary = function(bytes) {
1505
+ var reader = new jspb.BinaryReader(bytes);
1506
+ var msg = new proto.GetListCronMonitorRequest;
1507
+ return proto.GetListCronMonitorRequest.deserializeBinaryFromReader(msg, reader);
1508
+ };
1509
+
1510
+
1511
+ /**
1512
+ * Deserializes binary data (in protobuf wire format) from the
1513
+ * given reader into the given message object.
1514
+ * @param {!proto.GetListCronMonitorRequest} msg The message object to deserialize into.
1515
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1516
+ * @return {!proto.GetListCronMonitorRequest}
1517
+ */
1518
+ proto.GetListCronMonitorRequest.deserializeBinaryFromReader = function(msg, reader) {
1519
+ while (reader.nextField()) {
1520
+ if (reader.isEndGroup()) {
1521
+ break;
1522
+ }
1523
+ var field = reader.getFieldNumber();
1524
+ switch (field) {
1525
+ case 1:
1526
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1527
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1528
+ msg.setPagination(value);
1529
+ break;
1530
+ case 2:
1531
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1532
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1533
+ msg.setQuery(value);
1534
+ break;
1535
+ default:
1536
+ reader.skipField();
1537
+ break;
1538
+ }
1539
+ }
1540
+ return msg;
1541
+ };
1542
+
1543
+
1544
+ /**
1545
+ * Serializes the message to binary data (in protobuf wire format).
1546
+ * @return {!Uint8Array}
1547
+ */
1548
+ proto.GetListCronMonitorRequest.prototype.serializeBinary = function() {
1549
+ var writer = new jspb.BinaryWriter();
1550
+ proto.GetListCronMonitorRequest.serializeBinaryToWriter(this, writer);
1551
+ return writer.getResultBuffer();
1552
+ };
1553
+
1554
+
1555
+ /**
1556
+ * Serializes the given message to binary data (in protobuf wire
1557
+ * format), writing to the given BinaryWriter.
1558
+ * @param {!proto.GetListCronMonitorRequest} message
1559
+ * @param {!jspb.BinaryWriter} writer
1560
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1561
+ */
1562
+ proto.GetListCronMonitorRequest.serializeBinaryToWriter = function(message, writer) {
1563
+ var f = undefined;
1564
+ f = message.getPagination();
1565
+ if (f != null) {
1566
+ writer.writeMessage(
1567
+ 1,
1568
+ f,
1569
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1570
+ );
1571
+ }
1572
+ f = message.getQuery();
1573
+ if (f != null) {
1574
+ writer.writeMessage(
1575
+ 2,
1576
+ f,
1577
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1578
+ );
1579
+ }
1580
+ };
1581
+
1582
+
1583
+ /**
1584
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1585
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1586
+ */
1587
+ proto.GetListCronMonitorRequest.prototype.getPagination = function() {
1588
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1589
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1590
+ };
1591
+
1592
+
1593
+ /**
1594
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1595
+ * @return {!proto.GetListCronMonitorRequest} returns this
1596
+ */
1597
+ proto.GetListCronMonitorRequest.prototype.setPagination = function(value) {
1598
+ return jspb.Message.setWrapperField(this, 1, value);
1599
+ };
1600
+
1601
+
1602
+ /**
1603
+ * Clears the message field making it undefined.
1604
+ * @return {!proto.GetListCronMonitorRequest} returns this
1605
+ */
1606
+ proto.GetListCronMonitorRequest.prototype.clearPagination = function() {
1607
+ return this.setPagination(undefined);
1608
+ };
1609
+
1610
+
1611
+ /**
1612
+ * Returns whether this field is set.
1613
+ * @return {boolean}
1614
+ */
1615
+ proto.GetListCronMonitorRequest.prototype.hasPagination = function() {
1616
+ return jspb.Message.getField(this, 1) != null;
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
1622
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
1623
+ */
1624
+ proto.GetListCronMonitorRequest.prototype.getQuery = function() {
1625
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1626
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1627
+ };
1628
+
1629
+
1630
+ /**
1631
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1632
+ * @return {!proto.GetListCronMonitorRequest} returns this
1633
+ */
1634
+ proto.GetListCronMonitorRequest.prototype.setQuery = function(value) {
1635
+ return jspb.Message.setWrapperField(this, 2, value);
1636
+ };
1637
+
1638
+
1639
+ /**
1640
+ * Clears the message field making it undefined.
1641
+ * @return {!proto.GetListCronMonitorRequest} returns this
1642
+ */
1643
+ proto.GetListCronMonitorRequest.prototype.clearQuery = function() {
1644
+ return this.setQuery(undefined);
1645
+ };
1646
+
1647
+
1648
+ /**
1649
+ * Returns whether this field is set.
1650
+ * @return {boolean}
1651
+ */
1652
+ proto.GetListCronMonitorRequest.prototype.hasQuery = function() {
1653
+ return jspb.Message.getField(this, 2) != null;
1654
+ };
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1661
+ /**
1662
+ * Creates an object representation of this proto.
1663
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1664
+ * Optional fields that are not set will be set to undefined.
1665
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1666
+ * For the list of reserved names please see:
1667
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1668
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1669
+ * JSPB instance for transitional soy proto support:
1670
+ * http://goto/soy-param-migration
1671
+ * @return {!Object}
1672
+ */
1673
+ proto.CreateCronMonitorResponse.prototype.toObject = function(opt_includeInstance) {
1674
+ return proto.CreateCronMonitorResponse.toObject(opt_includeInstance, this);
1675
+ };
1676
+
1677
+
1678
+ /**
1679
+ * Static version of the {@see toObject} method.
1680
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1681
+ * the JSPB instance for transitional soy proto support:
1682
+ * http://goto/soy-param-migration
1683
+ * @param {!proto.CreateCronMonitorResponse} msg The msg instance to transform.
1684
+ * @return {!Object}
1685
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1686
+ */
1687
+ proto.CreateCronMonitorResponse.toObject = function(includeInstance, msg) {
1688
+ var f, obj = {
1689
+ cronMonitor: (f = msg.getCronMonitor()) && proto.CronMonitor.toObject(includeInstance, f),
1690
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1691
+ };
1692
+
1693
+ if (includeInstance) {
1694
+ obj.$jspbMessageInstance = msg;
1695
+ }
1696
+ return obj;
1697
+ };
1698
+ }
1699
+
1700
+
1701
+ /**
1702
+ * Deserializes binary data (in protobuf wire format).
1703
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1704
+ * @return {!proto.CreateCronMonitorResponse}
1705
+ */
1706
+ proto.CreateCronMonitorResponse.deserializeBinary = function(bytes) {
1707
+ var reader = new jspb.BinaryReader(bytes);
1708
+ var msg = new proto.CreateCronMonitorResponse;
1709
+ return proto.CreateCronMonitorResponse.deserializeBinaryFromReader(msg, reader);
1710
+ };
1711
+
1712
+
1713
+ /**
1714
+ * Deserializes binary data (in protobuf wire format) from the
1715
+ * given reader into the given message object.
1716
+ * @param {!proto.CreateCronMonitorResponse} msg The message object to deserialize into.
1717
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1718
+ * @return {!proto.CreateCronMonitorResponse}
1719
+ */
1720
+ proto.CreateCronMonitorResponse.deserializeBinaryFromReader = function(msg, reader) {
1721
+ while (reader.nextField()) {
1722
+ if (reader.isEndGroup()) {
1723
+ break;
1724
+ }
1725
+ var field = reader.getFieldNumber();
1726
+ switch (field) {
1727
+ case 1:
1728
+ var value = new proto.CronMonitor;
1729
+ reader.readMessage(value,proto.CronMonitor.deserializeBinaryFromReader);
1730
+ msg.setCronMonitor(value);
1731
+ break;
1732
+ case 2:
1733
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1734
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1735
+ msg.setMeta(value);
1736
+ break;
1737
+ default:
1738
+ reader.skipField();
1739
+ break;
1740
+ }
1741
+ }
1742
+ return msg;
1743
+ };
1744
+
1745
+
1746
+ /**
1747
+ * Serializes the message to binary data (in protobuf wire format).
1748
+ * @return {!Uint8Array}
1749
+ */
1750
+ proto.CreateCronMonitorResponse.prototype.serializeBinary = function() {
1751
+ var writer = new jspb.BinaryWriter();
1752
+ proto.CreateCronMonitorResponse.serializeBinaryToWriter(this, writer);
1753
+ return writer.getResultBuffer();
1754
+ };
1755
+
1756
+
1757
+ /**
1758
+ * Serializes the given message to binary data (in protobuf wire
1759
+ * format), writing to the given BinaryWriter.
1760
+ * @param {!proto.CreateCronMonitorResponse} message
1761
+ * @param {!jspb.BinaryWriter} writer
1762
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1763
+ */
1764
+ proto.CreateCronMonitorResponse.serializeBinaryToWriter = function(message, writer) {
1765
+ var f = undefined;
1766
+ f = message.getCronMonitor();
1767
+ if (f != null) {
1768
+ writer.writeMessage(
1769
+ 1,
1770
+ f,
1771
+ proto.CronMonitor.serializeBinaryToWriter
1772
+ );
1773
+ }
1774
+ f = message.getMeta();
1775
+ if (f != null) {
1776
+ writer.writeMessage(
1777
+ 2,
1778
+ f,
1779
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1780
+ );
1781
+ }
1782
+ };
1783
+
1784
+
1785
+ /**
1786
+ * optional CronMonitor cron_monitor = 1;
1787
+ * @return {?proto.CronMonitor}
1788
+ */
1789
+ proto.CreateCronMonitorResponse.prototype.getCronMonitor = function() {
1790
+ return /** @type{?proto.CronMonitor} */ (
1791
+ jspb.Message.getWrapperField(this, proto.CronMonitor, 1));
1792
+ };
1793
+
1794
+
1795
+ /**
1796
+ * @param {?proto.CronMonitor|undefined} value
1797
+ * @return {!proto.CreateCronMonitorResponse} returns this
1798
+ */
1799
+ proto.CreateCronMonitorResponse.prototype.setCronMonitor = function(value) {
1800
+ return jspb.Message.setWrapperField(this, 1, value);
1801
+ };
1802
+
1803
+
1804
+ /**
1805
+ * Clears the message field making it undefined.
1806
+ * @return {!proto.CreateCronMonitorResponse} returns this
1807
+ */
1808
+ proto.CreateCronMonitorResponse.prototype.clearCronMonitor = function() {
1809
+ return this.setCronMonitor(undefined);
1810
+ };
1811
+
1812
+
1813
+ /**
1814
+ * Returns whether this field is set.
1815
+ * @return {boolean}
1816
+ */
1817
+ proto.CreateCronMonitorResponse.prototype.hasCronMonitor = function() {
1818
+ return jspb.Message.getField(this, 1) != null;
1819
+ };
1820
+
1821
+
1822
+ /**
1823
+ * optional prisca.v1.global.meta.Meta meta = 2;
1824
+ * @return {?proto.prisca.v1.global.meta.Meta}
1825
+ */
1826
+ proto.CreateCronMonitorResponse.prototype.getMeta = function() {
1827
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1828
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1829
+ };
1830
+
1831
+
1832
+ /**
1833
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1834
+ * @return {!proto.CreateCronMonitorResponse} returns this
1835
+ */
1836
+ proto.CreateCronMonitorResponse.prototype.setMeta = function(value) {
1837
+ return jspb.Message.setWrapperField(this, 2, value);
1838
+ };
1839
+
1840
+
1841
+ /**
1842
+ * Clears the message field making it undefined.
1843
+ * @return {!proto.CreateCronMonitorResponse} returns this
1844
+ */
1845
+ proto.CreateCronMonitorResponse.prototype.clearMeta = function() {
1846
+ return this.setMeta(undefined);
1847
+ };
1848
+
1849
+
1850
+ /**
1851
+ * Returns whether this field is set.
1852
+ * @return {boolean}
1853
+ */
1854
+ proto.CreateCronMonitorResponse.prototype.hasMeta = function() {
1855
+ return jspb.Message.getField(this, 2) != null;
1856
+ };
1857
+
1858
+
1859
+
1860
+
1861
+
1862
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1863
+ /**
1864
+ * Creates an object representation of this proto.
1865
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1866
+ * Optional fields that are not set will be set to undefined.
1867
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1868
+ * For the list of reserved names please see:
1869
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1870
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1871
+ * JSPB instance for transitional soy proto support:
1872
+ * http://goto/soy-param-migration
1873
+ * @return {!Object}
1874
+ */
1875
+ proto.UpdateCronMonitorResponse.prototype.toObject = function(opt_includeInstance) {
1876
+ return proto.UpdateCronMonitorResponse.toObject(opt_includeInstance, this);
1877
+ };
1878
+
1879
+
1880
+ /**
1881
+ * Static version of the {@see toObject} method.
1882
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1883
+ * the JSPB instance for transitional soy proto support:
1884
+ * http://goto/soy-param-migration
1885
+ * @param {!proto.UpdateCronMonitorResponse} msg The msg instance to transform.
1886
+ * @return {!Object}
1887
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1888
+ */
1889
+ proto.UpdateCronMonitorResponse.toObject = function(includeInstance, msg) {
1890
+ var f, obj = {
1891
+ cronMonitor: (f = msg.getCronMonitor()) && proto.CronMonitor.toObject(includeInstance, f),
1892
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1893
+ };
1894
+
1895
+ if (includeInstance) {
1896
+ obj.$jspbMessageInstance = msg;
1897
+ }
1898
+ return obj;
1899
+ };
1900
+ }
1901
+
1902
+
1903
+ /**
1904
+ * Deserializes binary data (in protobuf wire format).
1905
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1906
+ * @return {!proto.UpdateCronMonitorResponse}
1907
+ */
1908
+ proto.UpdateCronMonitorResponse.deserializeBinary = function(bytes) {
1909
+ var reader = new jspb.BinaryReader(bytes);
1910
+ var msg = new proto.UpdateCronMonitorResponse;
1911
+ return proto.UpdateCronMonitorResponse.deserializeBinaryFromReader(msg, reader);
1912
+ };
1913
+
1914
+
1915
+ /**
1916
+ * Deserializes binary data (in protobuf wire format) from the
1917
+ * given reader into the given message object.
1918
+ * @param {!proto.UpdateCronMonitorResponse} msg The message object to deserialize into.
1919
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1920
+ * @return {!proto.UpdateCronMonitorResponse}
1921
+ */
1922
+ proto.UpdateCronMonitorResponse.deserializeBinaryFromReader = function(msg, reader) {
1923
+ while (reader.nextField()) {
1924
+ if (reader.isEndGroup()) {
1925
+ break;
1926
+ }
1927
+ var field = reader.getFieldNumber();
1928
+ switch (field) {
1929
+ case 1:
1930
+ var value = new proto.CronMonitor;
1931
+ reader.readMessage(value,proto.CronMonitor.deserializeBinaryFromReader);
1932
+ msg.setCronMonitor(value);
1933
+ break;
1934
+ case 2:
1935
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1936
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1937
+ msg.setMeta(value);
1938
+ break;
1939
+ default:
1940
+ reader.skipField();
1941
+ break;
1942
+ }
1943
+ }
1944
+ return msg;
1945
+ };
1946
+
1947
+
1948
+ /**
1949
+ * Serializes the message to binary data (in protobuf wire format).
1950
+ * @return {!Uint8Array}
1951
+ */
1952
+ proto.UpdateCronMonitorResponse.prototype.serializeBinary = function() {
1953
+ var writer = new jspb.BinaryWriter();
1954
+ proto.UpdateCronMonitorResponse.serializeBinaryToWriter(this, writer);
1955
+ return writer.getResultBuffer();
1956
+ };
1957
+
1958
+
1959
+ /**
1960
+ * Serializes the given message to binary data (in protobuf wire
1961
+ * format), writing to the given BinaryWriter.
1962
+ * @param {!proto.UpdateCronMonitorResponse} message
1963
+ * @param {!jspb.BinaryWriter} writer
1964
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1965
+ */
1966
+ proto.UpdateCronMonitorResponse.serializeBinaryToWriter = function(message, writer) {
1967
+ var f = undefined;
1968
+ f = message.getCronMonitor();
1969
+ if (f != null) {
1970
+ writer.writeMessage(
1971
+ 1,
1972
+ f,
1973
+ proto.CronMonitor.serializeBinaryToWriter
1974
+ );
1975
+ }
1976
+ f = message.getMeta();
1977
+ if (f != null) {
1978
+ writer.writeMessage(
1979
+ 2,
1980
+ f,
1981
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1982
+ );
1983
+ }
1984
+ };
1985
+
1986
+
1987
+ /**
1988
+ * optional CronMonitor cron_monitor = 1;
1989
+ * @return {?proto.CronMonitor}
1990
+ */
1991
+ proto.UpdateCronMonitorResponse.prototype.getCronMonitor = function() {
1992
+ return /** @type{?proto.CronMonitor} */ (
1993
+ jspb.Message.getWrapperField(this, proto.CronMonitor, 1));
1994
+ };
1995
+
1996
+
1997
+ /**
1998
+ * @param {?proto.CronMonitor|undefined} value
1999
+ * @return {!proto.UpdateCronMonitorResponse} returns this
2000
+ */
2001
+ proto.UpdateCronMonitorResponse.prototype.setCronMonitor = function(value) {
2002
+ return jspb.Message.setWrapperField(this, 1, value);
2003
+ };
2004
+
2005
+
2006
+ /**
2007
+ * Clears the message field making it undefined.
2008
+ * @return {!proto.UpdateCronMonitorResponse} returns this
2009
+ */
2010
+ proto.UpdateCronMonitorResponse.prototype.clearCronMonitor = function() {
2011
+ return this.setCronMonitor(undefined);
2012
+ };
2013
+
2014
+
2015
+ /**
2016
+ * Returns whether this field is set.
2017
+ * @return {boolean}
2018
+ */
2019
+ proto.UpdateCronMonitorResponse.prototype.hasCronMonitor = function() {
2020
+ return jspb.Message.getField(this, 1) != null;
2021
+ };
2022
+
2023
+
2024
+ /**
2025
+ * optional prisca.v1.global.meta.Meta meta = 2;
2026
+ * @return {?proto.prisca.v1.global.meta.Meta}
2027
+ */
2028
+ proto.UpdateCronMonitorResponse.prototype.getMeta = function() {
2029
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2030
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2031
+ };
2032
+
2033
+
2034
+ /**
2035
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2036
+ * @return {!proto.UpdateCronMonitorResponse} returns this
2037
+ */
2038
+ proto.UpdateCronMonitorResponse.prototype.setMeta = function(value) {
2039
+ return jspb.Message.setWrapperField(this, 2, value);
2040
+ };
2041
+
2042
+
2043
+ /**
2044
+ * Clears the message field making it undefined.
2045
+ * @return {!proto.UpdateCronMonitorResponse} returns this
2046
+ */
2047
+ proto.UpdateCronMonitorResponse.prototype.clearMeta = function() {
2048
+ return this.setMeta(undefined);
2049
+ };
2050
+
2051
+
2052
+ /**
2053
+ * Returns whether this field is set.
2054
+ * @return {boolean}
2055
+ */
2056
+ proto.UpdateCronMonitorResponse.prototype.hasMeta = function() {
2057
+ return jspb.Message.getField(this, 2) != null;
2058
+ };
2059
+
2060
+
2061
+
2062
+ /**
2063
+ * List of repeated fields within this message type.
2064
+ * @private {!Array<number>}
2065
+ * @const
2066
+ */
2067
+ proto.DeleteCronMonitorResponse.repeatedFields_ = [1];
2068
+
2069
+
2070
+
2071
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2072
+ /**
2073
+ * Creates an object representation of this proto.
2074
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2075
+ * Optional fields that are not set will be set to undefined.
2076
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2077
+ * For the list of reserved names please see:
2078
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2079
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2080
+ * JSPB instance for transitional soy proto support:
2081
+ * http://goto/soy-param-migration
2082
+ * @return {!Object}
2083
+ */
2084
+ proto.DeleteCronMonitorResponse.prototype.toObject = function(opt_includeInstance) {
2085
+ return proto.DeleteCronMonitorResponse.toObject(opt_includeInstance, this);
2086
+ };
2087
+
2088
+
2089
+ /**
2090
+ * Static version of the {@see toObject} method.
2091
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2092
+ * the JSPB instance for transitional soy proto support:
2093
+ * http://goto/soy-param-migration
2094
+ * @param {!proto.DeleteCronMonitorResponse} msg The msg instance to transform.
2095
+ * @return {!Object}
2096
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2097
+ */
2098
+ proto.DeleteCronMonitorResponse.toObject = function(includeInstance, msg) {
2099
+ var f, obj = {
2100
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2101
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2102
+ };
2103
+
2104
+ if (includeInstance) {
2105
+ obj.$jspbMessageInstance = msg;
2106
+ }
2107
+ return obj;
2108
+ };
2109
+ }
2110
+
2111
+
2112
+ /**
2113
+ * Deserializes binary data (in protobuf wire format).
2114
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2115
+ * @return {!proto.DeleteCronMonitorResponse}
2116
+ */
2117
+ proto.DeleteCronMonitorResponse.deserializeBinary = function(bytes) {
2118
+ var reader = new jspb.BinaryReader(bytes);
2119
+ var msg = new proto.DeleteCronMonitorResponse;
2120
+ return proto.DeleteCronMonitorResponse.deserializeBinaryFromReader(msg, reader);
2121
+ };
2122
+
2123
+
2124
+ /**
2125
+ * Deserializes binary data (in protobuf wire format) from the
2126
+ * given reader into the given message object.
2127
+ * @param {!proto.DeleteCronMonitorResponse} msg The message object to deserialize into.
2128
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2129
+ * @return {!proto.DeleteCronMonitorResponse}
2130
+ */
2131
+ proto.DeleteCronMonitorResponse.deserializeBinaryFromReader = function(msg, reader) {
2132
+ while (reader.nextField()) {
2133
+ if (reader.isEndGroup()) {
2134
+ break;
2135
+ }
2136
+ var field = reader.getFieldNumber();
2137
+ switch (field) {
2138
+ case 1:
2139
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2140
+ msg.addReferenceIds(value);
2141
+ break;
2142
+ case 2:
2143
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2144
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2145
+ msg.setMeta(value);
2146
+ break;
2147
+ default:
2148
+ reader.skipField();
2149
+ break;
2150
+ }
2151
+ }
2152
+ return msg;
2153
+ };
2154
+
2155
+
2156
+ /**
2157
+ * Serializes the message to binary data (in protobuf wire format).
2158
+ * @return {!Uint8Array}
2159
+ */
2160
+ proto.DeleteCronMonitorResponse.prototype.serializeBinary = function() {
2161
+ var writer = new jspb.BinaryWriter();
2162
+ proto.DeleteCronMonitorResponse.serializeBinaryToWriter(this, writer);
2163
+ return writer.getResultBuffer();
2164
+ };
2165
+
2166
+
2167
+ /**
2168
+ * Serializes the given message to binary data (in protobuf wire
2169
+ * format), writing to the given BinaryWriter.
2170
+ * @param {!proto.DeleteCronMonitorResponse} message
2171
+ * @param {!jspb.BinaryWriter} writer
2172
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2173
+ */
2174
+ proto.DeleteCronMonitorResponse.serializeBinaryToWriter = function(message, writer) {
2175
+ var f = undefined;
2176
+ f = message.getReferenceIdsList();
2177
+ if (f.length > 0) {
2178
+ writer.writeRepeatedString(
2179
+ 1,
2180
+ f
2181
+ );
2182
+ }
2183
+ f = message.getMeta();
2184
+ if (f != null) {
2185
+ writer.writeMessage(
2186
+ 2,
2187
+ f,
2188
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2189
+ );
2190
+ }
2191
+ };
2192
+
2193
+
2194
+ /**
2195
+ * repeated string reference_ids = 1;
2196
+ * @return {!Array<string>}
2197
+ */
2198
+ proto.DeleteCronMonitorResponse.prototype.getReferenceIdsList = function() {
2199
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2200
+ };
2201
+
2202
+
2203
+ /**
2204
+ * @param {!Array<string>} value
2205
+ * @return {!proto.DeleteCronMonitorResponse} returns this
2206
+ */
2207
+ proto.DeleteCronMonitorResponse.prototype.setReferenceIdsList = function(value) {
2208
+ return jspb.Message.setField(this, 1, value || []);
2209
+ };
2210
+
2211
+
2212
+ /**
2213
+ * @param {string} value
2214
+ * @param {number=} opt_index
2215
+ * @return {!proto.DeleteCronMonitorResponse} returns this
2216
+ */
2217
+ proto.DeleteCronMonitorResponse.prototype.addReferenceIds = function(value, opt_index) {
2218
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2219
+ };
2220
+
2221
+
2222
+ /**
2223
+ * Clears the list making it empty but non-null.
2224
+ * @return {!proto.DeleteCronMonitorResponse} returns this
2225
+ */
2226
+ proto.DeleteCronMonitorResponse.prototype.clearReferenceIdsList = function() {
2227
+ return this.setReferenceIdsList([]);
2228
+ };
2229
+
2230
+
2231
+ /**
2232
+ * optional prisca.v1.global.meta.Meta meta = 2;
2233
+ * @return {?proto.prisca.v1.global.meta.Meta}
2234
+ */
2235
+ proto.DeleteCronMonitorResponse.prototype.getMeta = function() {
2236
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2237
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2238
+ };
2239
+
2240
+
2241
+ /**
2242
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2243
+ * @return {!proto.DeleteCronMonitorResponse} returns this
2244
+ */
2245
+ proto.DeleteCronMonitorResponse.prototype.setMeta = function(value) {
2246
+ return jspb.Message.setWrapperField(this, 2, value);
2247
+ };
2248
+
2249
+
2250
+ /**
2251
+ * Clears the message field making it undefined.
2252
+ * @return {!proto.DeleteCronMonitorResponse} returns this
2253
+ */
2254
+ proto.DeleteCronMonitorResponse.prototype.clearMeta = function() {
2255
+ return this.setMeta(undefined);
2256
+ };
2257
+
2258
+
2259
+ /**
2260
+ * Returns whether this field is set.
2261
+ * @return {boolean}
2262
+ */
2263
+ proto.DeleteCronMonitorResponse.prototype.hasMeta = function() {
2264
+ return jspb.Message.getField(this, 2) != null;
2265
+ };
2266
+
2267
+
2268
+
2269
+
2270
+
2271
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2272
+ /**
2273
+ * Creates an object representation of this proto.
2274
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2275
+ * Optional fields that are not set will be set to undefined.
2276
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2277
+ * For the list of reserved names please see:
2278
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2279
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2280
+ * JSPB instance for transitional soy proto support:
2281
+ * http://goto/soy-param-migration
2282
+ * @return {!Object}
2283
+ */
2284
+ proto.GetCronMonitorByIdResponse.prototype.toObject = function(opt_includeInstance) {
2285
+ return proto.GetCronMonitorByIdResponse.toObject(opt_includeInstance, this);
2286
+ };
2287
+
2288
+
2289
+ /**
2290
+ * Static version of the {@see toObject} method.
2291
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2292
+ * the JSPB instance for transitional soy proto support:
2293
+ * http://goto/soy-param-migration
2294
+ * @param {!proto.GetCronMonitorByIdResponse} msg The msg instance to transform.
2295
+ * @return {!Object}
2296
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2297
+ */
2298
+ proto.GetCronMonitorByIdResponse.toObject = function(includeInstance, msg) {
2299
+ var f, obj = {
2300
+ cronMonitor: (f = msg.getCronMonitor()) && proto.CronMonitor.toObject(includeInstance, f),
2301
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2302
+ };
2303
+
2304
+ if (includeInstance) {
2305
+ obj.$jspbMessageInstance = msg;
2306
+ }
2307
+ return obj;
2308
+ };
2309
+ }
2310
+
2311
+
2312
+ /**
2313
+ * Deserializes binary data (in protobuf wire format).
2314
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2315
+ * @return {!proto.GetCronMonitorByIdResponse}
2316
+ */
2317
+ proto.GetCronMonitorByIdResponse.deserializeBinary = function(bytes) {
2318
+ var reader = new jspb.BinaryReader(bytes);
2319
+ var msg = new proto.GetCronMonitorByIdResponse;
2320
+ return proto.GetCronMonitorByIdResponse.deserializeBinaryFromReader(msg, reader);
2321
+ };
2322
+
2323
+
2324
+ /**
2325
+ * Deserializes binary data (in protobuf wire format) from the
2326
+ * given reader into the given message object.
2327
+ * @param {!proto.GetCronMonitorByIdResponse} msg The message object to deserialize into.
2328
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2329
+ * @return {!proto.GetCronMonitorByIdResponse}
2330
+ */
2331
+ proto.GetCronMonitorByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2332
+ while (reader.nextField()) {
2333
+ if (reader.isEndGroup()) {
2334
+ break;
2335
+ }
2336
+ var field = reader.getFieldNumber();
2337
+ switch (field) {
2338
+ case 1:
2339
+ var value = new proto.CronMonitor;
2340
+ reader.readMessage(value,proto.CronMonitor.deserializeBinaryFromReader);
2341
+ msg.setCronMonitor(value);
2342
+ break;
2343
+ case 2:
2344
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2345
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2346
+ msg.setMeta(value);
2347
+ break;
2348
+ default:
2349
+ reader.skipField();
2350
+ break;
2351
+ }
2352
+ }
2353
+ return msg;
2354
+ };
2355
+
2356
+
2357
+ /**
2358
+ * Serializes the message to binary data (in protobuf wire format).
2359
+ * @return {!Uint8Array}
2360
+ */
2361
+ proto.GetCronMonitorByIdResponse.prototype.serializeBinary = function() {
2362
+ var writer = new jspb.BinaryWriter();
2363
+ proto.GetCronMonitorByIdResponse.serializeBinaryToWriter(this, writer);
2364
+ return writer.getResultBuffer();
2365
+ };
2366
+
2367
+
2368
+ /**
2369
+ * Serializes the given message to binary data (in protobuf wire
2370
+ * format), writing to the given BinaryWriter.
2371
+ * @param {!proto.GetCronMonitorByIdResponse} message
2372
+ * @param {!jspb.BinaryWriter} writer
2373
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2374
+ */
2375
+ proto.GetCronMonitorByIdResponse.serializeBinaryToWriter = function(message, writer) {
2376
+ var f = undefined;
2377
+ f = message.getCronMonitor();
2378
+ if (f != null) {
2379
+ writer.writeMessage(
2380
+ 1,
2381
+ f,
2382
+ proto.CronMonitor.serializeBinaryToWriter
2383
+ );
2384
+ }
2385
+ f = message.getMeta();
2386
+ if (f != null) {
2387
+ writer.writeMessage(
2388
+ 2,
2389
+ f,
2390
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2391
+ );
2392
+ }
2393
+ };
2394
+
2395
+
2396
+ /**
2397
+ * optional CronMonitor cron_monitor = 1;
2398
+ * @return {?proto.CronMonitor}
2399
+ */
2400
+ proto.GetCronMonitorByIdResponse.prototype.getCronMonitor = function() {
2401
+ return /** @type{?proto.CronMonitor} */ (
2402
+ jspb.Message.getWrapperField(this, proto.CronMonitor, 1));
2403
+ };
2404
+
2405
+
2406
+ /**
2407
+ * @param {?proto.CronMonitor|undefined} value
2408
+ * @return {!proto.GetCronMonitorByIdResponse} returns this
2409
+ */
2410
+ proto.GetCronMonitorByIdResponse.prototype.setCronMonitor = function(value) {
2411
+ return jspb.Message.setWrapperField(this, 1, value);
2412
+ };
2413
+
2414
+
2415
+ /**
2416
+ * Clears the message field making it undefined.
2417
+ * @return {!proto.GetCronMonitorByIdResponse} returns this
2418
+ */
2419
+ proto.GetCronMonitorByIdResponse.prototype.clearCronMonitor = function() {
2420
+ return this.setCronMonitor(undefined);
2421
+ };
2422
+
2423
+
2424
+ /**
2425
+ * Returns whether this field is set.
2426
+ * @return {boolean}
2427
+ */
2428
+ proto.GetCronMonitorByIdResponse.prototype.hasCronMonitor = function() {
2429
+ return jspb.Message.getField(this, 1) != null;
2430
+ };
2431
+
2432
+
2433
+ /**
2434
+ * optional prisca.v1.global.meta.Meta meta = 2;
2435
+ * @return {?proto.prisca.v1.global.meta.Meta}
2436
+ */
2437
+ proto.GetCronMonitorByIdResponse.prototype.getMeta = function() {
2438
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2439
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2440
+ };
2441
+
2442
+
2443
+ /**
2444
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2445
+ * @return {!proto.GetCronMonitorByIdResponse} returns this
2446
+ */
2447
+ proto.GetCronMonitorByIdResponse.prototype.setMeta = function(value) {
2448
+ return jspb.Message.setWrapperField(this, 2, value);
2449
+ };
2450
+
2451
+
2452
+ /**
2453
+ * Clears the message field making it undefined.
2454
+ * @return {!proto.GetCronMonitorByIdResponse} returns this
2455
+ */
2456
+ proto.GetCronMonitorByIdResponse.prototype.clearMeta = function() {
2457
+ return this.setMeta(undefined);
2458
+ };
2459
+
2460
+
2461
+ /**
2462
+ * Returns whether this field is set.
2463
+ * @return {boolean}
2464
+ */
2465
+ proto.GetCronMonitorByIdResponse.prototype.hasMeta = function() {
2466
+ return jspb.Message.getField(this, 2) != null;
2467
+ };
2468
+
2469
+
2470
+
2471
+ /**
2472
+ * List of repeated fields within this message type.
2473
+ * @private {!Array<number>}
2474
+ * @const
2475
+ */
2476
+ proto.GetListCronMonitorResponse.repeatedFields_ = [1];
2477
+
2478
+
2479
+
2480
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2481
+ /**
2482
+ * Creates an object representation of this proto.
2483
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2484
+ * Optional fields that are not set will be set to undefined.
2485
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2486
+ * For the list of reserved names please see:
2487
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2488
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2489
+ * JSPB instance for transitional soy proto support:
2490
+ * http://goto/soy-param-migration
2491
+ * @return {!Object}
2492
+ */
2493
+ proto.GetListCronMonitorResponse.prototype.toObject = function(opt_includeInstance) {
2494
+ return proto.GetListCronMonitorResponse.toObject(opt_includeInstance, this);
2495
+ };
2496
+
2497
+
2498
+ /**
2499
+ * Static version of the {@see toObject} method.
2500
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2501
+ * the JSPB instance for transitional soy proto support:
2502
+ * http://goto/soy-param-migration
2503
+ * @param {!proto.GetListCronMonitorResponse} msg The msg instance to transform.
2504
+ * @return {!Object}
2505
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2506
+ */
2507
+ proto.GetListCronMonitorResponse.toObject = function(includeInstance, msg) {
2508
+ var f, obj = {
2509
+ cronMonitorsList: jspb.Message.toObjectList(msg.getCronMonitorsList(),
2510
+ proto.CronMonitor.toObject, includeInstance),
2511
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2512
+ };
2513
+
2514
+ if (includeInstance) {
2515
+ obj.$jspbMessageInstance = msg;
2516
+ }
2517
+ return obj;
2518
+ };
2519
+ }
2520
+
2521
+
2522
+ /**
2523
+ * Deserializes binary data (in protobuf wire format).
2524
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2525
+ * @return {!proto.GetListCronMonitorResponse}
2526
+ */
2527
+ proto.GetListCronMonitorResponse.deserializeBinary = function(bytes) {
2528
+ var reader = new jspb.BinaryReader(bytes);
2529
+ var msg = new proto.GetListCronMonitorResponse;
2530
+ return proto.GetListCronMonitorResponse.deserializeBinaryFromReader(msg, reader);
2531
+ };
2532
+
2533
+
2534
+ /**
2535
+ * Deserializes binary data (in protobuf wire format) from the
2536
+ * given reader into the given message object.
2537
+ * @param {!proto.GetListCronMonitorResponse} msg The message object to deserialize into.
2538
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2539
+ * @return {!proto.GetListCronMonitorResponse}
2540
+ */
2541
+ proto.GetListCronMonitorResponse.deserializeBinaryFromReader = function(msg, reader) {
2542
+ while (reader.nextField()) {
2543
+ if (reader.isEndGroup()) {
2544
+ break;
2545
+ }
2546
+ var field = reader.getFieldNumber();
2547
+ switch (field) {
2548
+ case 1:
2549
+ var value = new proto.CronMonitor;
2550
+ reader.readMessage(value,proto.CronMonitor.deserializeBinaryFromReader);
2551
+ msg.addCronMonitors(value);
2552
+ break;
2553
+ case 2:
2554
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2555
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2556
+ msg.setMeta(value);
2557
+ break;
2558
+ default:
2559
+ reader.skipField();
2560
+ break;
2561
+ }
2562
+ }
2563
+ return msg;
2564
+ };
2565
+
2566
+
2567
+ /**
2568
+ * Serializes the message to binary data (in protobuf wire format).
2569
+ * @return {!Uint8Array}
2570
+ */
2571
+ proto.GetListCronMonitorResponse.prototype.serializeBinary = function() {
2572
+ var writer = new jspb.BinaryWriter();
2573
+ proto.GetListCronMonitorResponse.serializeBinaryToWriter(this, writer);
2574
+ return writer.getResultBuffer();
2575
+ };
2576
+
2577
+
2578
+ /**
2579
+ * Serializes the given message to binary data (in protobuf wire
2580
+ * format), writing to the given BinaryWriter.
2581
+ * @param {!proto.GetListCronMonitorResponse} message
2582
+ * @param {!jspb.BinaryWriter} writer
2583
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2584
+ */
2585
+ proto.GetListCronMonitorResponse.serializeBinaryToWriter = function(message, writer) {
2586
+ var f = undefined;
2587
+ f = message.getCronMonitorsList();
2588
+ if (f.length > 0) {
2589
+ writer.writeRepeatedMessage(
2590
+ 1,
2591
+ f,
2592
+ proto.CronMonitor.serializeBinaryToWriter
2593
+ );
2594
+ }
2595
+ f = message.getMeta();
2596
+ if (f != null) {
2597
+ writer.writeMessage(
2598
+ 2,
2599
+ f,
2600
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2601
+ );
2602
+ }
2603
+ };
2604
+
2605
+
2606
+ /**
2607
+ * repeated CronMonitor cron_monitors = 1;
2608
+ * @return {!Array<!proto.CronMonitor>}
2609
+ */
2610
+ proto.GetListCronMonitorResponse.prototype.getCronMonitorsList = function() {
2611
+ return /** @type{!Array<!proto.CronMonitor>} */ (
2612
+ jspb.Message.getRepeatedWrapperField(this, proto.CronMonitor, 1));
2613
+ };
2614
+
2615
+
2616
+ /**
2617
+ * @param {!Array<!proto.CronMonitor>} value
2618
+ * @return {!proto.GetListCronMonitorResponse} returns this
2619
+ */
2620
+ proto.GetListCronMonitorResponse.prototype.setCronMonitorsList = function(value) {
2621
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2622
+ };
2623
+
2624
+
2625
+ /**
2626
+ * @param {!proto.CronMonitor=} opt_value
2627
+ * @param {number=} opt_index
2628
+ * @return {!proto.CronMonitor}
2629
+ */
2630
+ proto.GetListCronMonitorResponse.prototype.addCronMonitors = function(opt_value, opt_index) {
2631
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.CronMonitor, opt_index);
2632
+ };
2633
+
2634
+
2635
+ /**
2636
+ * Clears the list making it empty but non-null.
2637
+ * @return {!proto.GetListCronMonitorResponse} returns this
2638
+ */
2639
+ proto.GetListCronMonitorResponse.prototype.clearCronMonitorsList = function() {
2640
+ return this.setCronMonitorsList([]);
2641
+ };
2642
+
2643
+
2644
+ /**
2645
+ * optional prisca.v1.global.meta.Meta meta = 2;
2646
+ * @return {?proto.prisca.v1.global.meta.Meta}
2647
+ */
2648
+ proto.GetListCronMonitorResponse.prototype.getMeta = function() {
2649
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2650
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2651
+ };
2652
+
2653
+
2654
+ /**
2655
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2656
+ * @return {!proto.GetListCronMonitorResponse} returns this
2657
+ */
2658
+ proto.GetListCronMonitorResponse.prototype.setMeta = function(value) {
2659
+ return jspb.Message.setWrapperField(this, 2, value);
2660
+ };
2661
+
2662
+
2663
+ /**
2664
+ * Clears the message field making it undefined.
2665
+ * @return {!proto.GetListCronMonitorResponse} returns this
2666
+ */
2667
+ proto.GetListCronMonitorResponse.prototype.clearMeta = function() {
2668
+ return this.setMeta(undefined);
2669
+ };
2670
+
2671
+
2672
+ /**
2673
+ * Returns whether this field is set.
2674
+ * @return {boolean}
2675
+ */
2676
+ proto.GetListCronMonitorResponse.prototype.hasMeta = function() {
2677
+ return jspb.Message.getField(this, 2) != null;
2678
+ };
2679
+
2680
+
2681
+ goog.object.extend(exports, proto);