@aldiokta/protocgen 1.1.55 → 1.1.57

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