@aldiokta/protocgen 1.1.64 → 1.1.66

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.
@@ -33,6 +33,10 @@ goog.exportSymbol('proto.BudgetPlanning', null, global);
33
33
  goog.exportSymbol('proto.BudgetPlanningAmount', null, global);
34
34
  goog.exportSymbol('proto.BudgetPlanningGetByIdRequest', null, global);
35
35
  goog.exportSymbol('proto.BudgetPlanningGetByIdResponse', null, global);
36
+ goog.exportSymbol('proto.BudgetRealizationReportRequest', null, global);
37
+ goog.exportSymbol('proto.BudgetRealizationReportResponse', null, global);
38
+ goog.exportSymbol('proto.BudgetRealizationRow', null, global);
39
+ goog.exportSymbol('proto.BudgetRealizationTxn', null, global);
36
40
  goog.exportSymbol('proto.ChainTransactionBudgetCode', null, global);
37
41
  goog.exportSymbol('proto.CheckAvailableBudgetRequest', null, global);
38
42
  goog.exportSymbol('proto.CheckAvailableBudgetResponse', null, global);
@@ -711,6 +715,90 @@ if (goog.DEBUG && !COMPILED) {
711
715
  */
712
716
  proto.GetYearReportResponse.displayName = 'proto.GetYearReportResponse';
713
717
  }
718
+ /**
719
+ * Generated by JsPbCodeGenerator.
720
+ * @param {Array=} opt_data Optional initial data array, typically from a
721
+ * server response, or constructed directly in Javascript. The array is used
722
+ * in place and becomes part of the constructed object. It is not cloned.
723
+ * If no data is provided, the constructed object will be empty, but still
724
+ * valid.
725
+ * @extends {jspb.Message}
726
+ * @constructor
727
+ */
728
+ proto.BudgetRealizationReportRequest = function(opt_data) {
729
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BudgetRealizationReportRequest.repeatedFields_, null);
730
+ };
731
+ goog.inherits(proto.BudgetRealizationReportRequest, jspb.Message);
732
+ if (goog.DEBUG && !COMPILED) {
733
+ /**
734
+ * @public
735
+ * @override
736
+ */
737
+ proto.BudgetRealizationReportRequest.displayName = 'proto.BudgetRealizationReportRequest';
738
+ }
739
+ /**
740
+ * Generated by JsPbCodeGenerator.
741
+ * @param {Array=} opt_data Optional initial data array, typically from a
742
+ * server response, or constructed directly in Javascript. The array is used
743
+ * in place and becomes part of the constructed object. It is not cloned.
744
+ * If no data is provided, the constructed object will be empty, but still
745
+ * valid.
746
+ * @extends {jspb.Message}
747
+ * @constructor
748
+ */
749
+ proto.BudgetRealizationRow = function(opt_data) {
750
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BudgetRealizationRow.repeatedFields_, null);
751
+ };
752
+ goog.inherits(proto.BudgetRealizationRow, jspb.Message);
753
+ if (goog.DEBUG && !COMPILED) {
754
+ /**
755
+ * @public
756
+ * @override
757
+ */
758
+ proto.BudgetRealizationRow.displayName = 'proto.BudgetRealizationRow';
759
+ }
760
+ /**
761
+ * Generated by JsPbCodeGenerator.
762
+ * @param {Array=} opt_data Optional initial data array, typically from a
763
+ * server response, or constructed directly in Javascript. The array is used
764
+ * in place and becomes part of the constructed object. It is not cloned.
765
+ * If no data is provided, the constructed object will be empty, but still
766
+ * valid.
767
+ * @extends {jspb.Message}
768
+ * @constructor
769
+ */
770
+ proto.BudgetRealizationTxn = function(opt_data) {
771
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
772
+ };
773
+ goog.inherits(proto.BudgetRealizationTxn, jspb.Message);
774
+ if (goog.DEBUG && !COMPILED) {
775
+ /**
776
+ * @public
777
+ * @override
778
+ */
779
+ proto.BudgetRealizationTxn.displayName = 'proto.BudgetRealizationTxn';
780
+ }
781
+ /**
782
+ * Generated by JsPbCodeGenerator.
783
+ * @param {Array=} opt_data Optional initial data array, typically from a
784
+ * server response, or constructed directly in Javascript. The array is used
785
+ * in place and becomes part of the constructed object. It is not cloned.
786
+ * If no data is provided, the constructed object will be empty, but still
787
+ * valid.
788
+ * @extends {jspb.Message}
789
+ * @constructor
790
+ */
791
+ proto.BudgetRealizationReportResponse = function(opt_data) {
792
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BudgetRealizationReportResponse.repeatedFields_, null);
793
+ };
794
+ goog.inherits(proto.BudgetRealizationReportResponse, jspb.Message);
795
+ if (goog.DEBUG && !COMPILED) {
796
+ /**
797
+ * @public
798
+ * @override
799
+ */
800
+ proto.BudgetRealizationReportResponse.displayName = 'proto.BudgetRealizationReportResponse';
801
+ }
714
802
 
715
803
  /**
716
804
  * List of repeated fields within this message type.
@@ -9189,4 +9277,1680 @@ proto.GetYearReportResponse.prototype.clearReportsList = function() {
9189
9277
  };
9190
9278
 
9191
9279
 
9280
+
9281
+ /**
9282
+ * List of repeated fields within this message type.
9283
+ * @private {!Array<number>}
9284
+ * @const
9285
+ */
9286
+ proto.BudgetRealizationReportRequest.repeatedFields_ = [1,2,3];
9287
+
9288
+
9289
+
9290
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9291
+ /**
9292
+ * Creates an object representation of this proto.
9293
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9294
+ * Optional fields that are not set will be set to undefined.
9295
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9296
+ * For the list of reserved names please see:
9297
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9298
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9299
+ * JSPB instance for transitional soy proto support:
9300
+ * http://goto/soy-param-migration
9301
+ * @return {!Object}
9302
+ */
9303
+ proto.BudgetRealizationReportRequest.prototype.toObject = function(opt_includeInstance) {
9304
+ return proto.BudgetRealizationReportRequest.toObject(opt_includeInstance, this);
9305
+ };
9306
+
9307
+
9308
+ /**
9309
+ * Static version of the {@see toObject} method.
9310
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9311
+ * the JSPB instance for transitional soy proto support:
9312
+ * http://goto/soy-param-migration
9313
+ * @param {!proto.BudgetRealizationReportRequest} msg The msg instance to transform.
9314
+ * @return {!Object}
9315
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9316
+ */
9317
+ proto.BudgetRealizationReportRequest.toObject = function(includeInstance, msg) {
9318
+ var f, obj = {
9319
+ departmentReferencesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
9320
+ glReferencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
9321
+ budgetReferencesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
9322
+ dateFrom: jspb.Message.getFieldWithDefault(msg, 4, ""),
9323
+ dateTo: jspb.Message.getFieldWithDefault(msg, 5, ""),
9324
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
9325
+ isExport: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
9326
+ };
9327
+
9328
+ if (includeInstance) {
9329
+ obj.$jspbMessageInstance = msg;
9330
+ }
9331
+ return obj;
9332
+ };
9333
+ }
9334
+
9335
+
9336
+ /**
9337
+ * Deserializes binary data (in protobuf wire format).
9338
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9339
+ * @return {!proto.BudgetRealizationReportRequest}
9340
+ */
9341
+ proto.BudgetRealizationReportRequest.deserializeBinary = function(bytes) {
9342
+ var reader = new jspb.BinaryReader(bytes);
9343
+ var msg = new proto.BudgetRealizationReportRequest;
9344
+ return proto.BudgetRealizationReportRequest.deserializeBinaryFromReader(msg, reader);
9345
+ };
9346
+
9347
+
9348
+ /**
9349
+ * Deserializes binary data (in protobuf wire format) from the
9350
+ * given reader into the given message object.
9351
+ * @param {!proto.BudgetRealizationReportRequest} msg The message object to deserialize into.
9352
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9353
+ * @return {!proto.BudgetRealizationReportRequest}
9354
+ */
9355
+ proto.BudgetRealizationReportRequest.deserializeBinaryFromReader = function(msg, reader) {
9356
+ while (reader.nextField()) {
9357
+ if (reader.isEndGroup()) {
9358
+ break;
9359
+ }
9360
+ var field = reader.getFieldNumber();
9361
+ switch (field) {
9362
+ case 1:
9363
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9364
+ msg.addDepartmentReferences(value);
9365
+ break;
9366
+ case 2:
9367
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9368
+ msg.addGlReferences(value);
9369
+ break;
9370
+ case 3:
9371
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9372
+ msg.addBudgetReferences(value);
9373
+ break;
9374
+ case 4:
9375
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9376
+ msg.setDateFrom(value);
9377
+ break;
9378
+ case 5:
9379
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9380
+ msg.setDateTo(value);
9381
+ break;
9382
+ case 6:
9383
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
9384
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
9385
+ msg.setPagination(value);
9386
+ break;
9387
+ case 7:
9388
+ var value = /** @type {boolean} */ (reader.readBool());
9389
+ msg.setIsExport(value);
9390
+ break;
9391
+ default:
9392
+ reader.skipField();
9393
+ break;
9394
+ }
9395
+ }
9396
+ return msg;
9397
+ };
9398
+
9399
+
9400
+ /**
9401
+ * Serializes the message to binary data (in protobuf wire format).
9402
+ * @return {!Uint8Array}
9403
+ */
9404
+ proto.BudgetRealizationReportRequest.prototype.serializeBinary = function() {
9405
+ var writer = new jspb.BinaryWriter();
9406
+ proto.BudgetRealizationReportRequest.serializeBinaryToWriter(this, writer);
9407
+ return writer.getResultBuffer();
9408
+ };
9409
+
9410
+
9411
+ /**
9412
+ * Serializes the given message to binary data (in protobuf wire
9413
+ * format), writing to the given BinaryWriter.
9414
+ * @param {!proto.BudgetRealizationReportRequest} message
9415
+ * @param {!jspb.BinaryWriter} writer
9416
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9417
+ */
9418
+ proto.BudgetRealizationReportRequest.serializeBinaryToWriter = function(message, writer) {
9419
+ var f = undefined;
9420
+ f = message.getDepartmentReferencesList();
9421
+ if (f.length > 0) {
9422
+ writer.writeRepeatedString(
9423
+ 1,
9424
+ f
9425
+ );
9426
+ }
9427
+ f = message.getGlReferencesList();
9428
+ if (f.length > 0) {
9429
+ writer.writeRepeatedString(
9430
+ 2,
9431
+ f
9432
+ );
9433
+ }
9434
+ f = message.getBudgetReferencesList();
9435
+ if (f.length > 0) {
9436
+ writer.writeRepeatedString(
9437
+ 3,
9438
+ f
9439
+ );
9440
+ }
9441
+ f = message.getDateFrom();
9442
+ if (f.length > 0) {
9443
+ writer.writeString(
9444
+ 4,
9445
+ f
9446
+ );
9447
+ }
9448
+ f = message.getDateTo();
9449
+ if (f.length > 0) {
9450
+ writer.writeString(
9451
+ 5,
9452
+ f
9453
+ );
9454
+ }
9455
+ f = message.getPagination();
9456
+ if (f != null) {
9457
+ writer.writeMessage(
9458
+ 6,
9459
+ f,
9460
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
9461
+ );
9462
+ }
9463
+ f = message.getIsExport();
9464
+ if (f) {
9465
+ writer.writeBool(
9466
+ 7,
9467
+ f
9468
+ );
9469
+ }
9470
+ };
9471
+
9472
+
9473
+ /**
9474
+ * repeated string department_references = 1;
9475
+ * @return {!Array<string>}
9476
+ */
9477
+ proto.BudgetRealizationReportRequest.prototype.getDepartmentReferencesList = function() {
9478
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
9479
+ };
9480
+
9481
+
9482
+ /**
9483
+ * @param {!Array<string>} value
9484
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9485
+ */
9486
+ proto.BudgetRealizationReportRequest.prototype.setDepartmentReferencesList = function(value) {
9487
+ return jspb.Message.setField(this, 1, value || []);
9488
+ };
9489
+
9490
+
9491
+ /**
9492
+ * @param {string} value
9493
+ * @param {number=} opt_index
9494
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9495
+ */
9496
+ proto.BudgetRealizationReportRequest.prototype.addDepartmentReferences = function(value, opt_index) {
9497
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
9498
+ };
9499
+
9500
+
9501
+ /**
9502
+ * Clears the list making it empty but non-null.
9503
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9504
+ */
9505
+ proto.BudgetRealizationReportRequest.prototype.clearDepartmentReferencesList = function() {
9506
+ return this.setDepartmentReferencesList([]);
9507
+ };
9508
+
9509
+
9510
+ /**
9511
+ * repeated string gl_references = 2;
9512
+ * @return {!Array<string>}
9513
+ */
9514
+ proto.BudgetRealizationReportRequest.prototype.getGlReferencesList = function() {
9515
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
9516
+ };
9517
+
9518
+
9519
+ /**
9520
+ * @param {!Array<string>} value
9521
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9522
+ */
9523
+ proto.BudgetRealizationReportRequest.prototype.setGlReferencesList = function(value) {
9524
+ return jspb.Message.setField(this, 2, value || []);
9525
+ };
9526
+
9527
+
9528
+ /**
9529
+ * @param {string} value
9530
+ * @param {number=} opt_index
9531
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9532
+ */
9533
+ proto.BudgetRealizationReportRequest.prototype.addGlReferences = function(value, opt_index) {
9534
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
9535
+ };
9536
+
9537
+
9538
+ /**
9539
+ * Clears the list making it empty but non-null.
9540
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9541
+ */
9542
+ proto.BudgetRealizationReportRequest.prototype.clearGlReferencesList = function() {
9543
+ return this.setGlReferencesList([]);
9544
+ };
9545
+
9546
+
9547
+ /**
9548
+ * repeated string budget_references = 3;
9549
+ * @return {!Array<string>}
9550
+ */
9551
+ proto.BudgetRealizationReportRequest.prototype.getBudgetReferencesList = function() {
9552
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
9553
+ };
9554
+
9555
+
9556
+ /**
9557
+ * @param {!Array<string>} value
9558
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9559
+ */
9560
+ proto.BudgetRealizationReportRequest.prototype.setBudgetReferencesList = function(value) {
9561
+ return jspb.Message.setField(this, 3, value || []);
9562
+ };
9563
+
9564
+
9565
+ /**
9566
+ * @param {string} value
9567
+ * @param {number=} opt_index
9568
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9569
+ */
9570
+ proto.BudgetRealizationReportRequest.prototype.addBudgetReferences = function(value, opt_index) {
9571
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
9572
+ };
9573
+
9574
+
9575
+ /**
9576
+ * Clears the list making it empty but non-null.
9577
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9578
+ */
9579
+ proto.BudgetRealizationReportRequest.prototype.clearBudgetReferencesList = function() {
9580
+ return this.setBudgetReferencesList([]);
9581
+ };
9582
+
9583
+
9584
+ /**
9585
+ * optional string date_from = 4;
9586
+ * @return {string}
9587
+ */
9588
+ proto.BudgetRealizationReportRequest.prototype.getDateFrom = function() {
9589
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9590
+ };
9591
+
9592
+
9593
+ /**
9594
+ * @param {string} value
9595
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9596
+ */
9597
+ proto.BudgetRealizationReportRequest.prototype.setDateFrom = function(value) {
9598
+ return jspb.Message.setProto3StringField(this, 4, value);
9599
+ };
9600
+
9601
+
9602
+ /**
9603
+ * optional string date_to = 5;
9604
+ * @return {string}
9605
+ */
9606
+ proto.BudgetRealizationReportRequest.prototype.getDateTo = function() {
9607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
9608
+ };
9609
+
9610
+
9611
+ /**
9612
+ * @param {string} value
9613
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9614
+ */
9615
+ proto.BudgetRealizationReportRequest.prototype.setDateTo = function(value) {
9616
+ return jspb.Message.setProto3StringField(this, 5, value);
9617
+ };
9618
+
9619
+
9620
+ /**
9621
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 6;
9622
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
9623
+ */
9624
+ proto.BudgetRealizationReportRequest.prototype.getPagination = function() {
9625
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
9626
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 6));
9627
+ };
9628
+
9629
+
9630
+ /**
9631
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
9632
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9633
+ */
9634
+ proto.BudgetRealizationReportRequest.prototype.setPagination = function(value) {
9635
+ return jspb.Message.setWrapperField(this, 6, value);
9636
+ };
9637
+
9638
+
9639
+ /**
9640
+ * Clears the message field making it undefined.
9641
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9642
+ */
9643
+ proto.BudgetRealizationReportRequest.prototype.clearPagination = function() {
9644
+ return this.setPagination(undefined);
9645
+ };
9646
+
9647
+
9648
+ /**
9649
+ * Returns whether this field is set.
9650
+ * @return {boolean}
9651
+ */
9652
+ proto.BudgetRealizationReportRequest.prototype.hasPagination = function() {
9653
+ return jspb.Message.getField(this, 6) != null;
9654
+ };
9655
+
9656
+
9657
+ /**
9658
+ * optional bool is_export = 7;
9659
+ * @return {boolean}
9660
+ */
9661
+ proto.BudgetRealizationReportRequest.prototype.getIsExport = function() {
9662
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
9663
+ };
9664
+
9665
+
9666
+ /**
9667
+ * @param {boolean} value
9668
+ * @return {!proto.BudgetRealizationReportRequest} returns this
9669
+ */
9670
+ proto.BudgetRealizationReportRequest.prototype.setIsExport = function(value) {
9671
+ return jspb.Message.setProto3BooleanField(this, 7, value);
9672
+ };
9673
+
9674
+
9675
+
9676
+ /**
9677
+ * List of repeated fields within this message type.
9678
+ * @private {!Array<number>}
9679
+ * @const
9680
+ */
9681
+ proto.BudgetRealizationRow.repeatedFields_ = [17];
9682
+
9683
+
9684
+
9685
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9686
+ /**
9687
+ * Creates an object representation of this proto.
9688
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9689
+ * Optional fields that are not set will be set to undefined.
9690
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9691
+ * For the list of reserved names please see:
9692
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9693
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9694
+ * JSPB instance for transitional soy proto support:
9695
+ * http://goto/soy-param-migration
9696
+ * @return {!Object}
9697
+ */
9698
+ proto.BudgetRealizationRow.prototype.toObject = function(opt_includeInstance) {
9699
+ return proto.BudgetRealizationRow.toObject(opt_includeInstance, this);
9700
+ };
9701
+
9702
+
9703
+ /**
9704
+ * Static version of the {@see toObject} method.
9705
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9706
+ * the JSPB instance for transitional soy proto support:
9707
+ * http://goto/soy-param-migration
9708
+ * @param {!proto.BudgetRealizationRow} msg The msg instance to transform.
9709
+ * @return {!Object}
9710
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9711
+ */
9712
+ proto.BudgetRealizationRow.toObject = function(includeInstance, msg) {
9713
+ var f, obj = {
9714
+ department: jspb.Message.getFieldWithDefault(msg, 1, ""),
9715
+ departmentName: jspb.Message.getFieldWithDefault(msg, 2, ""),
9716
+ glReferences: jspb.Message.getFieldWithDefault(msg, 3, ""),
9717
+ glAccountId: jspb.Message.getFieldWithDefault(msg, 4, ""),
9718
+ glAccountName: jspb.Message.getFieldWithDefault(msg, 5, ""),
9719
+ budgetCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
9720
+ periodLabel: jspb.Message.getFieldWithDefault(msg, 7, ""),
9721
+ budgetReferences: jspb.Message.getFieldWithDefault(msg, 8, ""),
9722
+ year: jspb.Message.getFieldWithDefault(msg, 9, 0),
9723
+ month: jspb.Message.getFieldWithDefault(msg, 10, 0),
9724
+ budget: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
9725
+ actual: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
9726
+ commitment: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
9727
+ differenceAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
9728
+ differencePercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
9729
+ description: jspb.Message.getFieldWithDefault(msg, 16, ""),
9730
+ transactionsList: jspb.Message.toObjectList(msg.getTransactionsList(),
9731
+ proto.BudgetRealizationTxn.toObject, includeInstance),
9732
+ budgetType: jspb.Message.getFieldWithDefault(msg, 18, ""),
9733
+ budgetTolerance: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0)
9734
+ };
9735
+
9736
+ if (includeInstance) {
9737
+ obj.$jspbMessageInstance = msg;
9738
+ }
9739
+ return obj;
9740
+ };
9741
+ }
9742
+
9743
+
9744
+ /**
9745
+ * Deserializes binary data (in protobuf wire format).
9746
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9747
+ * @return {!proto.BudgetRealizationRow}
9748
+ */
9749
+ proto.BudgetRealizationRow.deserializeBinary = function(bytes) {
9750
+ var reader = new jspb.BinaryReader(bytes);
9751
+ var msg = new proto.BudgetRealizationRow;
9752
+ return proto.BudgetRealizationRow.deserializeBinaryFromReader(msg, reader);
9753
+ };
9754
+
9755
+
9756
+ /**
9757
+ * Deserializes binary data (in protobuf wire format) from the
9758
+ * given reader into the given message object.
9759
+ * @param {!proto.BudgetRealizationRow} msg The message object to deserialize into.
9760
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9761
+ * @return {!proto.BudgetRealizationRow}
9762
+ */
9763
+ proto.BudgetRealizationRow.deserializeBinaryFromReader = function(msg, reader) {
9764
+ while (reader.nextField()) {
9765
+ if (reader.isEndGroup()) {
9766
+ break;
9767
+ }
9768
+ var field = reader.getFieldNumber();
9769
+ switch (field) {
9770
+ case 1:
9771
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9772
+ msg.setDepartment(value);
9773
+ break;
9774
+ case 2:
9775
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9776
+ msg.setDepartmentName(value);
9777
+ break;
9778
+ case 3:
9779
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9780
+ msg.setGlReferences(value);
9781
+ break;
9782
+ case 4:
9783
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9784
+ msg.setGlAccountId(value);
9785
+ break;
9786
+ case 5:
9787
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9788
+ msg.setGlAccountName(value);
9789
+ break;
9790
+ case 6:
9791
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9792
+ msg.setBudgetCode(value);
9793
+ break;
9794
+ case 7:
9795
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9796
+ msg.setPeriodLabel(value);
9797
+ break;
9798
+ case 8:
9799
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9800
+ msg.setBudgetReferences(value);
9801
+ break;
9802
+ case 9:
9803
+ var value = /** @type {number} */ (reader.readInt32());
9804
+ msg.setYear(value);
9805
+ break;
9806
+ case 10:
9807
+ var value = /** @type {number} */ (reader.readInt32());
9808
+ msg.setMonth(value);
9809
+ break;
9810
+ case 11:
9811
+ var value = /** @type {number} */ (reader.readDouble());
9812
+ msg.setBudget(value);
9813
+ break;
9814
+ case 12:
9815
+ var value = /** @type {number} */ (reader.readDouble());
9816
+ msg.setActual(value);
9817
+ break;
9818
+ case 13:
9819
+ var value = /** @type {number} */ (reader.readDouble());
9820
+ msg.setCommitment(value);
9821
+ break;
9822
+ case 14:
9823
+ var value = /** @type {number} */ (reader.readDouble());
9824
+ msg.setDifferenceAmount(value);
9825
+ break;
9826
+ case 15:
9827
+ var value = /** @type {number} */ (reader.readDouble());
9828
+ msg.setDifferencePercentage(value);
9829
+ break;
9830
+ case 16:
9831
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9832
+ msg.setDescription(value);
9833
+ break;
9834
+ case 17:
9835
+ var value = new proto.BudgetRealizationTxn;
9836
+ reader.readMessage(value,proto.BudgetRealizationTxn.deserializeBinaryFromReader);
9837
+ msg.addTransactions(value);
9838
+ break;
9839
+ case 18:
9840
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9841
+ msg.setBudgetType(value);
9842
+ break;
9843
+ case 19:
9844
+ var value = /** @type {number} */ (reader.readDouble());
9845
+ msg.setBudgetTolerance(value);
9846
+ break;
9847
+ default:
9848
+ reader.skipField();
9849
+ break;
9850
+ }
9851
+ }
9852
+ return msg;
9853
+ };
9854
+
9855
+
9856
+ /**
9857
+ * Serializes the message to binary data (in protobuf wire format).
9858
+ * @return {!Uint8Array}
9859
+ */
9860
+ proto.BudgetRealizationRow.prototype.serializeBinary = function() {
9861
+ var writer = new jspb.BinaryWriter();
9862
+ proto.BudgetRealizationRow.serializeBinaryToWriter(this, writer);
9863
+ return writer.getResultBuffer();
9864
+ };
9865
+
9866
+
9867
+ /**
9868
+ * Serializes the given message to binary data (in protobuf wire
9869
+ * format), writing to the given BinaryWriter.
9870
+ * @param {!proto.BudgetRealizationRow} message
9871
+ * @param {!jspb.BinaryWriter} writer
9872
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9873
+ */
9874
+ proto.BudgetRealizationRow.serializeBinaryToWriter = function(message, writer) {
9875
+ var f = undefined;
9876
+ f = message.getDepartment();
9877
+ if (f.length > 0) {
9878
+ writer.writeString(
9879
+ 1,
9880
+ f
9881
+ );
9882
+ }
9883
+ f = message.getDepartmentName();
9884
+ if (f.length > 0) {
9885
+ writer.writeString(
9886
+ 2,
9887
+ f
9888
+ );
9889
+ }
9890
+ f = message.getGlReferences();
9891
+ if (f.length > 0) {
9892
+ writer.writeString(
9893
+ 3,
9894
+ f
9895
+ );
9896
+ }
9897
+ f = message.getGlAccountId();
9898
+ if (f.length > 0) {
9899
+ writer.writeString(
9900
+ 4,
9901
+ f
9902
+ );
9903
+ }
9904
+ f = message.getGlAccountName();
9905
+ if (f.length > 0) {
9906
+ writer.writeString(
9907
+ 5,
9908
+ f
9909
+ );
9910
+ }
9911
+ f = message.getBudgetCode();
9912
+ if (f.length > 0) {
9913
+ writer.writeString(
9914
+ 6,
9915
+ f
9916
+ );
9917
+ }
9918
+ f = message.getPeriodLabel();
9919
+ if (f.length > 0) {
9920
+ writer.writeString(
9921
+ 7,
9922
+ f
9923
+ );
9924
+ }
9925
+ f = message.getBudgetReferences();
9926
+ if (f.length > 0) {
9927
+ writer.writeString(
9928
+ 8,
9929
+ f
9930
+ );
9931
+ }
9932
+ f = message.getYear();
9933
+ if (f !== 0) {
9934
+ writer.writeInt32(
9935
+ 9,
9936
+ f
9937
+ );
9938
+ }
9939
+ f = message.getMonth();
9940
+ if (f !== 0) {
9941
+ writer.writeInt32(
9942
+ 10,
9943
+ f
9944
+ );
9945
+ }
9946
+ f = message.getBudget();
9947
+ if (f !== 0.0) {
9948
+ writer.writeDouble(
9949
+ 11,
9950
+ f
9951
+ );
9952
+ }
9953
+ f = message.getActual();
9954
+ if (f !== 0.0) {
9955
+ writer.writeDouble(
9956
+ 12,
9957
+ f
9958
+ );
9959
+ }
9960
+ f = message.getCommitment();
9961
+ if (f !== 0.0) {
9962
+ writer.writeDouble(
9963
+ 13,
9964
+ f
9965
+ );
9966
+ }
9967
+ f = message.getDifferenceAmount();
9968
+ if (f !== 0.0) {
9969
+ writer.writeDouble(
9970
+ 14,
9971
+ f
9972
+ );
9973
+ }
9974
+ f = message.getDifferencePercentage();
9975
+ if (f !== 0.0) {
9976
+ writer.writeDouble(
9977
+ 15,
9978
+ f
9979
+ );
9980
+ }
9981
+ f = message.getDescription();
9982
+ if (f.length > 0) {
9983
+ writer.writeString(
9984
+ 16,
9985
+ f
9986
+ );
9987
+ }
9988
+ f = message.getTransactionsList();
9989
+ if (f.length > 0) {
9990
+ writer.writeRepeatedMessage(
9991
+ 17,
9992
+ f,
9993
+ proto.BudgetRealizationTxn.serializeBinaryToWriter
9994
+ );
9995
+ }
9996
+ f = message.getBudgetType();
9997
+ if (f.length > 0) {
9998
+ writer.writeString(
9999
+ 18,
10000
+ f
10001
+ );
10002
+ }
10003
+ f = message.getBudgetTolerance();
10004
+ if (f !== 0.0) {
10005
+ writer.writeDouble(
10006
+ 19,
10007
+ f
10008
+ );
10009
+ }
10010
+ };
10011
+
10012
+
10013
+ /**
10014
+ * optional string department = 1;
10015
+ * @return {string}
10016
+ */
10017
+ proto.BudgetRealizationRow.prototype.getDepartment = function() {
10018
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10019
+ };
10020
+
10021
+
10022
+ /**
10023
+ * @param {string} value
10024
+ * @return {!proto.BudgetRealizationRow} returns this
10025
+ */
10026
+ proto.BudgetRealizationRow.prototype.setDepartment = function(value) {
10027
+ return jspb.Message.setProto3StringField(this, 1, value);
10028
+ };
10029
+
10030
+
10031
+ /**
10032
+ * optional string department_name = 2;
10033
+ * @return {string}
10034
+ */
10035
+ proto.BudgetRealizationRow.prototype.getDepartmentName = function() {
10036
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10037
+ };
10038
+
10039
+
10040
+ /**
10041
+ * @param {string} value
10042
+ * @return {!proto.BudgetRealizationRow} returns this
10043
+ */
10044
+ proto.BudgetRealizationRow.prototype.setDepartmentName = function(value) {
10045
+ return jspb.Message.setProto3StringField(this, 2, value);
10046
+ };
10047
+
10048
+
10049
+ /**
10050
+ * optional string gl_references = 3;
10051
+ * @return {string}
10052
+ */
10053
+ proto.BudgetRealizationRow.prototype.getGlReferences = function() {
10054
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10055
+ };
10056
+
10057
+
10058
+ /**
10059
+ * @param {string} value
10060
+ * @return {!proto.BudgetRealizationRow} returns this
10061
+ */
10062
+ proto.BudgetRealizationRow.prototype.setGlReferences = function(value) {
10063
+ return jspb.Message.setProto3StringField(this, 3, value);
10064
+ };
10065
+
10066
+
10067
+ /**
10068
+ * optional string gl_account_id = 4;
10069
+ * @return {string}
10070
+ */
10071
+ proto.BudgetRealizationRow.prototype.getGlAccountId = function() {
10072
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10073
+ };
10074
+
10075
+
10076
+ /**
10077
+ * @param {string} value
10078
+ * @return {!proto.BudgetRealizationRow} returns this
10079
+ */
10080
+ proto.BudgetRealizationRow.prototype.setGlAccountId = function(value) {
10081
+ return jspb.Message.setProto3StringField(this, 4, value);
10082
+ };
10083
+
10084
+
10085
+ /**
10086
+ * optional string gl_account_name = 5;
10087
+ * @return {string}
10088
+ */
10089
+ proto.BudgetRealizationRow.prototype.getGlAccountName = function() {
10090
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10091
+ };
10092
+
10093
+
10094
+ /**
10095
+ * @param {string} value
10096
+ * @return {!proto.BudgetRealizationRow} returns this
10097
+ */
10098
+ proto.BudgetRealizationRow.prototype.setGlAccountName = function(value) {
10099
+ return jspb.Message.setProto3StringField(this, 5, value);
10100
+ };
10101
+
10102
+
10103
+ /**
10104
+ * optional string budget_code = 6;
10105
+ * @return {string}
10106
+ */
10107
+ proto.BudgetRealizationRow.prototype.getBudgetCode = function() {
10108
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
10109
+ };
10110
+
10111
+
10112
+ /**
10113
+ * @param {string} value
10114
+ * @return {!proto.BudgetRealizationRow} returns this
10115
+ */
10116
+ proto.BudgetRealizationRow.prototype.setBudgetCode = function(value) {
10117
+ return jspb.Message.setProto3StringField(this, 6, value);
10118
+ };
10119
+
10120
+
10121
+ /**
10122
+ * optional string period_label = 7;
10123
+ * @return {string}
10124
+ */
10125
+ proto.BudgetRealizationRow.prototype.getPeriodLabel = function() {
10126
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
10127
+ };
10128
+
10129
+
10130
+ /**
10131
+ * @param {string} value
10132
+ * @return {!proto.BudgetRealizationRow} returns this
10133
+ */
10134
+ proto.BudgetRealizationRow.prototype.setPeriodLabel = function(value) {
10135
+ return jspb.Message.setProto3StringField(this, 7, value);
10136
+ };
10137
+
10138
+
10139
+ /**
10140
+ * optional string budget_references = 8;
10141
+ * @return {string}
10142
+ */
10143
+ proto.BudgetRealizationRow.prototype.getBudgetReferences = function() {
10144
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
10145
+ };
10146
+
10147
+
10148
+ /**
10149
+ * @param {string} value
10150
+ * @return {!proto.BudgetRealizationRow} returns this
10151
+ */
10152
+ proto.BudgetRealizationRow.prototype.setBudgetReferences = function(value) {
10153
+ return jspb.Message.setProto3StringField(this, 8, value);
10154
+ };
10155
+
10156
+
10157
+ /**
10158
+ * optional int32 year = 9;
10159
+ * @return {number}
10160
+ */
10161
+ proto.BudgetRealizationRow.prototype.getYear = function() {
10162
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
10163
+ };
10164
+
10165
+
10166
+ /**
10167
+ * @param {number} value
10168
+ * @return {!proto.BudgetRealizationRow} returns this
10169
+ */
10170
+ proto.BudgetRealizationRow.prototype.setYear = function(value) {
10171
+ return jspb.Message.setProto3IntField(this, 9, value);
10172
+ };
10173
+
10174
+
10175
+ /**
10176
+ * optional int32 month = 10;
10177
+ * @return {number}
10178
+ */
10179
+ proto.BudgetRealizationRow.prototype.getMonth = function() {
10180
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
10181
+ };
10182
+
10183
+
10184
+ /**
10185
+ * @param {number} value
10186
+ * @return {!proto.BudgetRealizationRow} returns this
10187
+ */
10188
+ proto.BudgetRealizationRow.prototype.setMonth = function(value) {
10189
+ return jspb.Message.setProto3IntField(this, 10, value);
10190
+ };
10191
+
10192
+
10193
+ /**
10194
+ * optional double budget = 11;
10195
+ * @return {number}
10196
+ */
10197
+ proto.BudgetRealizationRow.prototype.getBudget = function() {
10198
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
10199
+ };
10200
+
10201
+
10202
+ /**
10203
+ * @param {number} value
10204
+ * @return {!proto.BudgetRealizationRow} returns this
10205
+ */
10206
+ proto.BudgetRealizationRow.prototype.setBudget = function(value) {
10207
+ return jspb.Message.setProto3FloatField(this, 11, value);
10208
+ };
10209
+
10210
+
10211
+ /**
10212
+ * optional double actual = 12;
10213
+ * @return {number}
10214
+ */
10215
+ proto.BudgetRealizationRow.prototype.getActual = function() {
10216
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
10217
+ };
10218
+
10219
+
10220
+ /**
10221
+ * @param {number} value
10222
+ * @return {!proto.BudgetRealizationRow} returns this
10223
+ */
10224
+ proto.BudgetRealizationRow.prototype.setActual = function(value) {
10225
+ return jspb.Message.setProto3FloatField(this, 12, value);
10226
+ };
10227
+
10228
+
10229
+ /**
10230
+ * optional double commitment = 13;
10231
+ * @return {number}
10232
+ */
10233
+ proto.BudgetRealizationRow.prototype.getCommitment = function() {
10234
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
10235
+ };
10236
+
10237
+
10238
+ /**
10239
+ * @param {number} value
10240
+ * @return {!proto.BudgetRealizationRow} returns this
10241
+ */
10242
+ proto.BudgetRealizationRow.prototype.setCommitment = function(value) {
10243
+ return jspb.Message.setProto3FloatField(this, 13, value);
10244
+ };
10245
+
10246
+
10247
+ /**
10248
+ * optional double difference_amount = 14;
10249
+ * @return {number}
10250
+ */
10251
+ proto.BudgetRealizationRow.prototype.getDifferenceAmount = function() {
10252
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
10253
+ };
10254
+
10255
+
10256
+ /**
10257
+ * @param {number} value
10258
+ * @return {!proto.BudgetRealizationRow} returns this
10259
+ */
10260
+ proto.BudgetRealizationRow.prototype.setDifferenceAmount = function(value) {
10261
+ return jspb.Message.setProto3FloatField(this, 14, value);
10262
+ };
10263
+
10264
+
10265
+ /**
10266
+ * optional double difference_percentage = 15;
10267
+ * @return {number}
10268
+ */
10269
+ proto.BudgetRealizationRow.prototype.getDifferencePercentage = function() {
10270
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
10271
+ };
10272
+
10273
+
10274
+ /**
10275
+ * @param {number} value
10276
+ * @return {!proto.BudgetRealizationRow} returns this
10277
+ */
10278
+ proto.BudgetRealizationRow.prototype.setDifferencePercentage = function(value) {
10279
+ return jspb.Message.setProto3FloatField(this, 15, value);
10280
+ };
10281
+
10282
+
10283
+ /**
10284
+ * optional string description = 16;
10285
+ * @return {string}
10286
+ */
10287
+ proto.BudgetRealizationRow.prototype.getDescription = function() {
10288
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
10289
+ };
10290
+
10291
+
10292
+ /**
10293
+ * @param {string} value
10294
+ * @return {!proto.BudgetRealizationRow} returns this
10295
+ */
10296
+ proto.BudgetRealizationRow.prototype.setDescription = function(value) {
10297
+ return jspb.Message.setProto3StringField(this, 16, value);
10298
+ };
10299
+
10300
+
10301
+ /**
10302
+ * repeated BudgetRealizationTxn transactions = 17;
10303
+ * @return {!Array<!proto.BudgetRealizationTxn>}
10304
+ */
10305
+ proto.BudgetRealizationRow.prototype.getTransactionsList = function() {
10306
+ return /** @type{!Array<!proto.BudgetRealizationTxn>} */ (
10307
+ jspb.Message.getRepeatedWrapperField(this, proto.BudgetRealizationTxn, 17));
10308
+ };
10309
+
10310
+
10311
+ /**
10312
+ * @param {!Array<!proto.BudgetRealizationTxn>} value
10313
+ * @return {!proto.BudgetRealizationRow} returns this
10314
+ */
10315
+ proto.BudgetRealizationRow.prototype.setTransactionsList = function(value) {
10316
+ return jspb.Message.setRepeatedWrapperField(this, 17, value);
10317
+ };
10318
+
10319
+
10320
+ /**
10321
+ * @param {!proto.BudgetRealizationTxn=} opt_value
10322
+ * @param {number=} opt_index
10323
+ * @return {!proto.BudgetRealizationTxn}
10324
+ */
10325
+ proto.BudgetRealizationRow.prototype.addTransactions = function(opt_value, opt_index) {
10326
+ return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.BudgetRealizationTxn, opt_index);
10327
+ };
10328
+
10329
+
10330
+ /**
10331
+ * Clears the list making it empty but non-null.
10332
+ * @return {!proto.BudgetRealizationRow} returns this
10333
+ */
10334
+ proto.BudgetRealizationRow.prototype.clearTransactionsList = function() {
10335
+ return this.setTransactionsList([]);
10336
+ };
10337
+
10338
+
10339
+ /**
10340
+ * optional string budget_type = 18;
10341
+ * @return {string}
10342
+ */
10343
+ proto.BudgetRealizationRow.prototype.getBudgetType = function() {
10344
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
10345
+ };
10346
+
10347
+
10348
+ /**
10349
+ * @param {string} value
10350
+ * @return {!proto.BudgetRealizationRow} returns this
10351
+ */
10352
+ proto.BudgetRealizationRow.prototype.setBudgetType = function(value) {
10353
+ return jspb.Message.setProto3StringField(this, 18, value);
10354
+ };
10355
+
10356
+
10357
+ /**
10358
+ * optional double budget_tolerance = 19;
10359
+ * @return {number}
10360
+ */
10361
+ proto.BudgetRealizationRow.prototype.getBudgetTolerance = function() {
10362
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
10363
+ };
10364
+
10365
+
10366
+ /**
10367
+ * @param {number} value
10368
+ * @return {!proto.BudgetRealizationRow} returns this
10369
+ */
10370
+ proto.BudgetRealizationRow.prototype.setBudgetTolerance = function(value) {
10371
+ return jspb.Message.setProto3FloatField(this, 19, value);
10372
+ };
10373
+
10374
+
10375
+
10376
+
10377
+
10378
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10379
+ /**
10380
+ * Creates an object representation of this proto.
10381
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10382
+ * Optional fields that are not set will be set to undefined.
10383
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10384
+ * For the list of reserved names please see:
10385
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10386
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10387
+ * JSPB instance for transitional soy proto support:
10388
+ * http://goto/soy-param-migration
10389
+ * @return {!Object}
10390
+ */
10391
+ proto.BudgetRealizationTxn.prototype.toObject = function(opt_includeInstance) {
10392
+ return proto.BudgetRealizationTxn.toObject(opt_includeInstance, this);
10393
+ };
10394
+
10395
+
10396
+ /**
10397
+ * Static version of the {@see toObject} method.
10398
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10399
+ * the JSPB instance for transitional soy proto support:
10400
+ * http://goto/soy-param-migration
10401
+ * @param {!proto.BudgetRealizationTxn} msg The msg instance to transform.
10402
+ * @return {!Object}
10403
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10404
+ */
10405
+ proto.BudgetRealizationTxn.toObject = function(includeInstance, msg) {
10406
+ var f, obj = {
10407
+ documentNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
10408
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
10409
+ typeTransaction: jspb.Message.getFieldWithDefault(msg, 3, ""),
10410
+ date: jspb.Message.getFieldWithDefault(msg, 4, ""),
10411
+ commitment: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
10412
+ actual: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
10413
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
10414
+ price: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
10415
+ level: jspb.Message.getFieldWithDefault(msg, 9, 0)
10416
+ };
10417
+
10418
+ if (includeInstance) {
10419
+ obj.$jspbMessageInstance = msg;
10420
+ }
10421
+ return obj;
10422
+ };
10423
+ }
10424
+
10425
+
10426
+ /**
10427
+ * Deserializes binary data (in protobuf wire format).
10428
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10429
+ * @return {!proto.BudgetRealizationTxn}
10430
+ */
10431
+ proto.BudgetRealizationTxn.deserializeBinary = function(bytes) {
10432
+ var reader = new jspb.BinaryReader(bytes);
10433
+ var msg = new proto.BudgetRealizationTxn;
10434
+ return proto.BudgetRealizationTxn.deserializeBinaryFromReader(msg, reader);
10435
+ };
10436
+
10437
+
10438
+ /**
10439
+ * Deserializes binary data (in protobuf wire format) from the
10440
+ * given reader into the given message object.
10441
+ * @param {!proto.BudgetRealizationTxn} msg The message object to deserialize into.
10442
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10443
+ * @return {!proto.BudgetRealizationTxn}
10444
+ */
10445
+ proto.BudgetRealizationTxn.deserializeBinaryFromReader = function(msg, reader) {
10446
+ while (reader.nextField()) {
10447
+ if (reader.isEndGroup()) {
10448
+ break;
10449
+ }
10450
+ var field = reader.getFieldNumber();
10451
+ switch (field) {
10452
+ case 1:
10453
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10454
+ msg.setDocumentNumber(value);
10455
+ break;
10456
+ case 2:
10457
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10458
+ msg.setTitle(value);
10459
+ break;
10460
+ case 3:
10461
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10462
+ msg.setTypeTransaction(value);
10463
+ break;
10464
+ case 4:
10465
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10466
+ msg.setDate(value);
10467
+ break;
10468
+ case 5:
10469
+ var value = /** @type {number} */ (reader.readDouble());
10470
+ msg.setCommitment(value);
10471
+ break;
10472
+ case 6:
10473
+ var value = /** @type {number} */ (reader.readDouble());
10474
+ msg.setActual(value);
10475
+ break;
10476
+ case 7:
10477
+ var value = /** @type {number} */ (reader.readDouble());
10478
+ msg.setQuantity(value);
10479
+ break;
10480
+ case 8:
10481
+ var value = /** @type {number} */ (reader.readDouble());
10482
+ msg.setPrice(value);
10483
+ break;
10484
+ case 9:
10485
+ var value = /** @type {number} */ (reader.readInt32());
10486
+ msg.setLevel(value);
10487
+ break;
10488
+ default:
10489
+ reader.skipField();
10490
+ break;
10491
+ }
10492
+ }
10493
+ return msg;
10494
+ };
10495
+
10496
+
10497
+ /**
10498
+ * Serializes the message to binary data (in protobuf wire format).
10499
+ * @return {!Uint8Array}
10500
+ */
10501
+ proto.BudgetRealizationTxn.prototype.serializeBinary = function() {
10502
+ var writer = new jspb.BinaryWriter();
10503
+ proto.BudgetRealizationTxn.serializeBinaryToWriter(this, writer);
10504
+ return writer.getResultBuffer();
10505
+ };
10506
+
10507
+
10508
+ /**
10509
+ * Serializes the given message to binary data (in protobuf wire
10510
+ * format), writing to the given BinaryWriter.
10511
+ * @param {!proto.BudgetRealizationTxn} message
10512
+ * @param {!jspb.BinaryWriter} writer
10513
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10514
+ */
10515
+ proto.BudgetRealizationTxn.serializeBinaryToWriter = function(message, writer) {
10516
+ var f = undefined;
10517
+ f = message.getDocumentNumber();
10518
+ if (f.length > 0) {
10519
+ writer.writeString(
10520
+ 1,
10521
+ f
10522
+ );
10523
+ }
10524
+ f = message.getTitle();
10525
+ if (f.length > 0) {
10526
+ writer.writeString(
10527
+ 2,
10528
+ f
10529
+ );
10530
+ }
10531
+ f = message.getTypeTransaction();
10532
+ if (f.length > 0) {
10533
+ writer.writeString(
10534
+ 3,
10535
+ f
10536
+ );
10537
+ }
10538
+ f = message.getDate();
10539
+ if (f.length > 0) {
10540
+ writer.writeString(
10541
+ 4,
10542
+ f
10543
+ );
10544
+ }
10545
+ f = message.getCommitment();
10546
+ if (f !== 0.0) {
10547
+ writer.writeDouble(
10548
+ 5,
10549
+ f
10550
+ );
10551
+ }
10552
+ f = message.getActual();
10553
+ if (f !== 0.0) {
10554
+ writer.writeDouble(
10555
+ 6,
10556
+ f
10557
+ );
10558
+ }
10559
+ f = message.getQuantity();
10560
+ if (f !== 0.0) {
10561
+ writer.writeDouble(
10562
+ 7,
10563
+ f
10564
+ );
10565
+ }
10566
+ f = message.getPrice();
10567
+ if (f !== 0.0) {
10568
+ writer.writeDouble(
10569
+ 8,
10570
+ f
10571
+ );
10572
+ }
10573
+ f = message.getLevel();
10574
+ if (f !== 0) {
10575
+ writer.writeInt32(
10576
+ 9,
10577
+ f
10578
+ );
10579
+ }
10580
+ };
10581
+
10582
+
10583
+ /**
10584
+ * optional string document_number = 1;
10585
+ * @return {string}
10586
+ */
10587
+ proto.BudgetRealizationTxn.prototype.getDocumentNumber = function() {
10588
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10589
+ };
10590
+
10591
+
10592
+ /**
10593
+ * @param {string} value
10594
+ * @return {!proto.BudgetRealizationTxn} returns this
10595
+ */
10596
+ proto.BudgetRealizationTxn.prototype.setDocumentNumber = function(value) {
10597
+ return jspb.Message.setProto3StringField(this, 1, value);
10598
+ };
10599
+
10600
+
10601
+ /**
10602
+ * optional string title = 2;
10603
+ * @return {string}
10604
+ */
10605
+ proto.BudgetRealizationTxn.prototype.getTitle = function() {
10606
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10607
+ };
10608
+
10609
+
10610
+ /**
10611
+ * @param {string} value
10612
+ * @return {!proto.BudgetRealizationTxn} returns this
10613
+ */
10614
+ proto.BudgetRealizationTxn.prototype.setTitle = function(value) {
10615
+ return jspb.Message.setProto3StringField(this, 2, value);
10616
+ };
10617
+
10618
+
10619
+ /**
10620
+ * optional string type_transaction = 3;
10621
+ * @return {string}
10622
+ */
10623
+ proto.BudgetRealizationTxn.prototype.getTypeTransaction = function() {
10624
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10625
+ };
10626
+
10627
+
10628
+ /**
10629
+ * @param {string} value
10630
+ * @return {!proto.BudgetRealizationTxn} returns this
10631
+ */
10632
+ proto.BudgetRealizationTxn.prototype.setTypeTransaction = function(value) {
10633
+ return jspb.Message.setProto3StringField(this, 3, value);
10634
+ };
10635
+
10636
+
10637
+ /**
10638
+ * optional string date = 4;
10639
+ * @return {string}
10640
+ */
10641
+ proto.BudgetRealizationTxn.prototype.getDate = function() {
10642
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10643
+ };
10644
+
10645
+
10646
+ /**
10647
+ * @param {string} value
10648
+ * @return {!proto.BudgetRealizationTxn} returns this
10649
+ */
10650
+ proto.BudgetRealizationTxn.prototype.setDate = function(value) {
10651
+ return jspb.Message.setProto3StringField(this, 4, value);
10652
+ };
10653
+
10654
+
10655
+ /**
10656
+ * optional double commitment = 5;
10657
+ * @return {number}
10658
+ */
10659
+ proto.BudgetRealizationTxn.prototype.getCommitment = function() {
10660
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
10661
+ };
10662
+
10663
+
10664
+ /**
10665
+ * @param {number} value
10666
+ * @return {!proto.BudgetRealizationTxn} returns this
10667
+ */
10668
+ proto.BudgetRealizationTxn.prototype.setCommitment = function(value) {
10669
+ return jspb.Message.setProto3FloatField(this, 5, value);
10670
+ };
10671
+
10672
+
10673
+ /**
10674
+ * optional double actual = 6;
10675
+ * @return {number}
10676
+ */
10677
+ proto.BudgetRealizationTxn.prototype.getActual = function() {
10678
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
10679
+ };
10680
+
10681
+
10682
+ /**
10683
+ * @param {number} value
10684
+ * @return {!proto.BudgetRealizationTxn} returns this
10685
+ */
10686
+ proto.BudgetRealizationTxn.prototype.setActual = function(value) {
10687
+ return jspb.Message.setProto3FloatField(this, 6, value);
10688
+ };
10689
+
10690
+
10691
+ /**
10692
+ * optional double quantity = 7;
10693
+ * @return {number}
10694
+ */
10695
+ proto.BudgetRealizationTxn.prototype.getQuantity = function() {
10696
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
10697
+ };
10698
+
10699
+
10700
+ /**
10701
+ * @param {number} value
10702
+ * @return {!proto.BudgetRealizationTxn} returns this
10703
+ */
10704
+ proto.BudgetRealizationTxn.prototype.setQuantity = function(value) {
10705
+ return jspb.Message.setProto3FloatField(this, 7, value);
10706
+ };
10707
+
10708
+
10709
+ /**
10710
+ * optional double price = 8;
10711
+ * @return {number}
10712
+ */
10713
+ proto.BudgetRealizationTxn.prototype.getPrice = function() {
10714
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
10715
+ };
10716
+
10717
+
10718
+ /**
10719
+ * @param {number} value
10720
+ * @return {!proto.BudgetRealizationTxn} returns this
10721
+ */
10722
+ proto.BudgetRealizationTxn.prototype.setPrice = function(value) {
10723
+ return jspb.Message.setProto3FloatField(this, 8, value);
10724
+ };
10725
+
10726
+
10727
+ /**
10728
+ * optional int32 level = 9;
10729
+ * @return {number}
10730
+ */
10731
+ proto.BudgetRealizationTxn.prototype.getLevel = function() {
10732
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
10733
+ };
10734
+
10735
+
10736
+ /**
10737
+ * @param {number} value
10738
+ * @return {!proto.BudgetRealizationTxn} returns this
10739
+ */
10740
+ proto.BudgetRealizationTxn.prototype.setLevel = function(value) {
10741
+ return jspb.Message.setProto3IntField(this, 9, value);
10742
+ };
10743
+
10744
+
10745
+
10746
+ /**
10747
+ * List of repeated fields within this message type.
10748
+ * @private {!Array<number>}
10749
+ * @const
10750
+ */
10751
+ proto.BudgetRealizationReportResponse.repeatedFields_ = [1];
10752
+
10753
+
10754
+
10755
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10756
+ /**
10757
+ * Creates an object representation of this proto.
10758
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10759
+ * Optional fields that are not set will be set to undefined.
10760
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10761
+ * For the list of reserved names please see:
10762
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10763
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10764
+ * JSPB instance for transitional soy proto support:
10765
+ * http://goto/soy-param-migration
10766
+ * @return {!Object}
10767
+ */
10768
+ proto.BudgetRealizationReportResponse.prototype.toObject = function(opt_includeInstance) {
10769
+ return proto.BudgetRealizationReportResponse.toObject(opt_includeInstance, this);
10770
+ };
10771
+
10772
+
10773
+ /**
10774
+ * Static version of the {@see toObject} method.
10775
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10776
+ * the JSPB instance for transitional soy proto support:
10777
+ * http://goto/soy-param-migration
10778
+ * @param {!proto.BudgetRealizationReportResponse} msg The msg instance to transform.
10779
+ * @return {!Object}
10780
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10781
+ */
10782
+ proto.BudgetRealizationReportResponse.toObject = function(includeInstance, msg) {
10783
+ var f, obj = {
10784
+ rowsList: jspb.Message.toObjectList(msg.getRowsList(),
10785
+ proto.BudgetRealizationRow.toObject, includeInstance),
10786
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
10787
+ };
10788
+
10789
+ if (includeInstance) {
10790
+ obj.$jspbMessageInstance = msg;
10791
+ }
10792
+ return obj;
10793
+ };
10794
+ }
10795
+
10796
+
10797
+ /**
10798
+ * Deserializes binary data (in protobuf wire format).
10799
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10800
+ * @return {!proto.BudgetRealizationReportResponse}
10801
+ */
10802
+ proto.BudgetRealizationReportResponse.deserializeBinary = function(bytes) {
10803
+ var reader = new jspb.BinaryReader(bytes);
10804
+ var msg = new proto.BudgetRealizationReportResponse;
10805
+ return proto.BudgetRealizationReportResponse.deserializeBinaryFromReader(msg, reader);
10806
+ };
10807
+
10808
+
10809
+ /**
10810
+ * Deserializes binary data (in protobuf wire format) from the
10811
+ * given reader into the given message object.
10812
+ * @param {!proto.BudgetRealizationReportResponse} msg The message object to deserialize into.
10813
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10814
+ * @return {!proto.BudgetRealizationReportResponse}
10815
+ */
10816
+ proto.BudgetRealizationReportResponse.deserializeBinaryFromReader = function(msg, reader) {
10817
+ while (reader.nextField()) {
10818
+ if (reader.isEndGroup()) {
10819
+ break;
10820
+ }
10821
+ var field = reader.getFieldNumber();
10822
+ switch (field) {
10823
+ case 1:
10824
+ var value = new proto.BudgetRealizationRow;
10825
+ reader.readMessage(value,proto.BudgetRealizationRow.deserializeBinaryFromReader);
10826
+ msg.addRows(value);
10827
+ break;
10828
+ case 2:
10829
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
10830
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
10831
+ msg.setMeta(value);
10832
+ break;
10833
+ default:
10834
+ reader.skipField();
10835
+ break;
10836
+ }
10837
+ }
10838
+ return msg;
10839
+ };
10840
+
10841
+
10842
+ /**
10843
+ * Serializes the message to binary data (in protobuf wire format).
10844
+ * @return {!Uint8Array}
10845
+ */
10846
+ proto.BudgetRealizationReportResponse.prototype.serializeBinary = function() {
10847
+ var writer = new jspb.BinaryWriter();
10848
+ proto.BudgetRealizationReportResponse.serializeBinaryToWriter(this, writer);
10849
+ return writer.getResultBuffer();
10850
+ };
10851
+
10852
+
10853
+ /**
10854
+ * Serializes the given message to binary data (in protobuf wire
10855
+ * format), writing to the given BinaryWriter.
10856
+ * @param {!proto.BudgetRealizationReportResponse} message
10857
+ * @param {!jspb.BinaryWriter} writer
10858
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10859
+ */
10860
+ proto.BudgetRealizationReportResponse.serializeBinaryToWriter = function(message, writer) {
10861
+ var f = undefined;
10862
+ f = message.getRowsList();
10863
+ if (f.length > 0) {
10864
+ writer.writeRepeatedMessage(
10865
+ 1,
10866
+ f,
10867
+ proto.BudgetRealizationRow.serializeBinaryToWriter
10868
+ );
10869
+ }
10870
+ f = message.getMeta();
10871
+ if (f != null) {
10872
+ writer.writeMessage(
10873
+ 2,
10874
+ f,
10875
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
10876
+ );
10877
+ }
10878
+ };
10879
+
10880
+
10881
+ /**
10882
+ * repeated BudgetRealizationRow rows = 1;
10883
+ * @return {!Array<!proto.BudgetRealizationRow>}
10884
+ */
10885
+ proto.BudgetRealizationReportResponse.prototype.getRowsList = function() {
10886
+ return /** @type{!Array<!proto.BudgetRealizationRow>} */ (
10887
+ jspb.Message.getRepeatedWrapperField(this, proto.BudgetRealizationRow, 1));
10888
+ };
10889
+
10890
+
10891
+ /**
10892
+ * @param {!Array<!proto.BudgetRealizationRow>} value
10893
+ * @return {!proto.BudgetRealizationReportResponse} returns this
10894
+ */
10895
+ proto.BudgetRealizationReportResponse.prototype.setRowsList = function(value) {
10896
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
10897
+ };
10898
+
10899
+
10900
+ /**
10901
+ * @param {!proto.BudgetRealizationRow=} opt_value
10902
+ * @param {number=} opt_index
10903
+ * @return {!proto.BudgetRealizationRow}
10904
+ */
10905
+ proto.BudgetRealizationReportResponse.prototype.addRows = function(opt_value, opt_index) {
10906
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BudgetRealizationRow, opt_index);
10907
+ };
10908
+
10909
+
10910
+ /**
10911
+ * Clears the list making it empty but non-null.
10912
+ * @return {!proto.BudgetRealizationReportResponse} returns this
10913
+ */
10914
+ proto.BudgetRealizationReportResponse.prototype.clearRowsList = function() {
10915
+ return this.setRowsList([]);
10916
+ };
10917
+
10918
+
10919
+ /**
10920
+ * optional prisca.v1.global.meta.Meta meta = 2;
10921
+ * @return {?proto.prisca.v1.global.meta.Meta}
10922
+ */
10923
+ proto.BudgetRealizationReportResponse.prototype.getMeta = function() {
10924
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
10925
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
10926
+ };
10927
+
10928
+
10929
+ /**
10930
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
10931
+ * @return {!proto.BudgetRealizationReportResponse} returns this
10932
+ */
10933
+ proto.BudgetRealizationReportResponse.prototype.setMeta = function(value) {
10934
+ return jspb.Message.setWrapperField(this, 2, value);
10935
+ };
10936
+
10937
+
10938
+ /**
10939
+ * Clears the message field making it undefined.
10940
+ * @return {!proto.BudgetRealizationReportResponse} returns this
10941
+ */
10942
+ proto.BudgetRealizationReportResponse.prototype.clearMeta = function() {
10943
+ return this.setMeta(undefined);
10944
+ };
10945
+
10946
+
10947
+ /**
10948
+ * Returns whether this field is set.
10949
+ * @return {boolean}
10950
+ */
10951
+ proto.BudgetRealizationReportResponse.prototype.hasMeta = function() {
10952
+ return jspb.Message.getField(this, 2) != null;
10953
+ };
10954
+
10955
+
9192
10956
  goog.object.extend(exports, proto);