protobuf-platform 1.2.660 → 1.2.662

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.
@@ -27,6 +27,9 @@ goog.exportSymbol('proto.payment.AdjustmentRequest', null, global);
27
27
  goog.exportSymbol('proto.payment.AdjustmentSearchRequest', null, global);
28
28
  goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
29
29
  goog.exportSymbol('proto.payment.AttemptWithdrawalRequest', null, global);
30
+ goog.exportSymbol('proto.payment.BonusBalanceRewardIssueRequest', null, global);
31
+ goog.exportSymbol('proto.payment.BonusBalanceRewardOperationResponse', null, global);
32
+ goog.exportSymbol('proto.payment.BonusBalanceRewardReversalRequest', null, global);
30
33
  goog.exportSymbol('proto.payment.CashierFieldItem', null, global);
31
34
  goog.exportSymbol('proto.payment.CashierFieldItemsResponse', null, global);
32
35
  goog.exportSymbol('proto.payment.CashierFieldsRequest', null, global);
@@ -2608,6 +2611,69 @@ if (goog.DEBUG && !COMPILED) {
2608
2611
  */
2609
2612
  proto.payment.FinancialOperationResponse.displayName = 'proto.payment.FinancialOperationResponse';
2610
2613
  }
2614
+ /**
2615
+ * Generated by JsPbCodeGenerator.
2616
+ * @param {Array=} opt_data Optional initial data array, typically from a
2617
+ * server response, or constructed directly in Javascript. The array is used
2618
+ * in place and becomes part of the constructed object. It is not cloned.
2619
+ * If no data is provided, the constructed object will be empty, but still
2620
+ * valid.
2621
+ * @extends {jspb.Message}
2622
+ * @constructor
2623
+ */
2624
+ proto.payment.BonusBalanceRewardIssueRequest = function(opt_data) {
2625
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2626
+ };
2627
+ goog.inherits(proto.payment.BonusBalanceRewardIssueRequest, jspb.Message);
2628
+ if (goog.DEBUG && !COMPILED) {
2629
+ /**
2630
+ * @public
2631
+ * @override
2632
+ */
2633
+ proto.payment.BonusBalanceRewardIssueRequest.displayName = 'proto.payment.BonusBalanceRewardIssueRequest';
2634
+ }
2635
+ /**
2636
+ * Generated by JsPbCodeGenerator.
2637
+ * @param {Array=} opt_data Optional initial data array, typically from a
2638
+ * server response, or constructed directly in Javascript. The array is used
2639
+ * in place and becomes part of the constructed object. It is not cloned.
2640
+ * If no data is provided, the constructed object will be empty, but still
2641
+ * valid.
2642
+ * @extends {jspb.Message}
2643
+ * @constructor
2644
+ */
2645
+ proto.payment.BonusBalanceRewardReversalRequest = function(opt_data) {
2646
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2647
+ };
2648
+ goog.inherits(proto.payment.BonusBalanceRewardReversalRequest, jspb.Message);
2649
+ if (goog.DEBUG && !COMPILED) {
2650
+ /**
2651
+ * @public
2652
+ * @override
2653
+ */
2654
+ proto.payment.BonusBalanceRewardReversalRequest.displayName = 'proto.payment.BonusBalanceRewardReversalRequest';
2655
+ }
2656
+ /**
2657
+ * Generated by JsPbCodeGenerator.
2658
+ * @param {Array=} opt_data Optional initial data array, typically from a
2659
+ * server response, or constructed directly in Javascript. The array is used
2660
+ * in place and becomes part of the constructed object. It is not cloned.
2661
+ * If no data is provided, the constructed object will be empty, but still
2662
+ * valid.
2663
+ * @extends {jspb.Message}
2664
+ * @constructor
2665
+ */
2666
+ proto.payment.BonusBalanceRewardOperationResponse = function(opt_data) {
2667
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.BonusBalanceRewardOperationResponse.repeatedFields_, null);
2668
+ };
2669
+ goog.inherits(proto.payment.BonusBalanceRewardOperationResponse, jspb.Message);
2670
+ if (goog.DEBUG && !COMPILED) {
2671
+ /**
2672
+ * @public
2673
+ * @override
2674
+ */
2675
+ proto.payment.BonusBalanceRewardOperationResponse.displayName = 'proto.payment.BonusBalanceRewardOperationResponse';
2676
+ }
2611
2677
  /**
2612
2678
  * Generated by JsPbCodeGenerator.
2613
2679
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -40626,7 +40692,8 @@ proto.payment.SegmentedUserRequest.toObject = function(includeInstance, msg) {
40626
40692
  depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
40627
40693
  currency: jspb.Message.getFieldWithDefault(msg, 11, ""),
40628
40694
  paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
40629
- paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f
40695
+ paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
40696
+ userId: jspb.Message.getFieldWithDefault(msg, 14, 0)
40630
40697
  };
40631
40698
 
40632
40699
  if (includeInstance) {
@@ -40715,6 +40782,10 @@ proto.payment.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, r
40715
40782
  var value = /** @type {string} */ (reader.readString());
40716
40783
  msg.addPaymentTypes(value);
40717
40784
  break;
40785
+ case 14:
40786
+ var value = /** @type {number} */ (reader.readInt32());
40787
+ msg.setUserId(value);
40788
+ break;
40718
40789
  default:
40719
40790
  reader.skipField();
40720
40791
  break;
@@ -40835,6 +40906,13 @@ proto.payment.SegmentedUserRequest.serializeBinaryToWriter = function(message, w
40835
40906
  f
40836
40907
  );
40837
40908
  }
40909
+ f = /** @type {number} */ (jspb.Message.getField(message, 14));
40910
+ if (f != null) {
40911
+ writer.writeInt32(
40912
+ 14,
40913
+ f
40914
+ );
40915
+ }
40838
40916
  };
40839
40917
 
40840
40918
 
@@ -41308,6 +41386,42 @@ proto.payment.SegmentedUserRequest.prototype.clearPaymentTypesList = function()
41308
41386
  };
41309
41387
 
41310
41388
 
41389
+ /**
41390
+ * optional int32 user_id = 14;
41391
+ * @return {number}
41392
+ */
41393
+ proto.payment.SegmentedUserRequest.prototype.getUserId = function() {
41394
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
41395
+ };
41396
+
41397
+
41398
+ /**
41399
+ * @param {number} value
41400
+ * @return {!proto.payment.SegmentedUserRequest} returns this
41401
+ */
41402
+ proto.payment.SegmentedUserRequest.prototype.setUserId = function(value) {
41403
+ return jspb.Message.setField(this, 14, value);
41404
+ };
41405
+
41406
+
41407
+ /**
41408
+ * Clears the field making it undefined.
41409
+ * @return {!proto.payment.SegmentedUserRequest} returns this
41410
+ */
41411
+ proto.payment.SegmentedUserRequest.prototype.clearUserId = function() {
41412
+ return jspb.Message.setField(this, 14, undefined);
41413
+ };
41414
+
41415
+
41416
+ /**
41417
+ * Returns whether this field is set.
41418
+ * @return {boolean}
41419
+ */
41420
+ proto.payment.SegmentedUserRequest.prototype.hasUserId = function() {
41421
+ return jspb.Message.getField(this, 14) != null;
41422
+ };
41423
+
41424
+
41311
41425
 
41312
41426
  /**
41313
41427
  * List of repeated fields within this message type.
@@ -52179,6 +52293,1052 @@ proto.payment.FinancialOperationResponse.prototype.hasCompletedAt = function() {
52179
52293
 
52180
52294
 
52181
52295
 
52296
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52297
+ /**
52298
+ * Creates an object representation of this proto.
52299
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52300
+ * Optional fields that are not set will be set to undefined.
52301
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52302
+ * For the list of reserved names please see:
52303
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52304
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52305
+ * JSPB instance for transitional soy proto support:
52306
+ * http://goto/soy-param-migration
52307
+ * @return {!Object}
52308
+ */
52309
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.toObject = function(opt_includeInstance) {
52310
+ return proto.payment.BonusBalanceRewardIssueRequest.toObject(opt_includeInstance, this);
52311
+ };
52312
+
52313
+
52314
+ /**
52315
+ * Static version of the {@see toObject} method.
52316
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52317
+ * the JSPB instance for transitional soy proto support:
52318
+ * http://goto/soy-param-migration
52319
+ * @param {!proto.payment.BonusBalanceRewardIssueRequest} msg The msg instance to transform.
52320
+ * @return {!Object}
52321
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52322
+ */
52323
+ proto.payment.BonusBalanceRewardIssueRequest.toObject = function(includeInstance, msg) {
52324
+ var f, obj = {
52325
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
52326
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
52327
+ bonusTemplateId: jspb.Message.getFieldWithDefault(msg, 3, 0),
52328
+ currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
52329
+ amount: jspb.Message.getFieldWithDefault(msg, 5, ""),
52330
+ grantSource: jspb.Message.getFieldWithDefault(msg, 6, ""),
52331
+ grantId: jspb.Message.getFieldWithDefault(msg, 7, "")
52332
+ };
52333
+
52334
+ if (includeInstance) {
52335
+ obj.$jspbMessageInstance = msg;
52336
+ }
52337
+ return obj;
52338
+ };
52339
+ }
52340
+
52341
+
52342
+ /**
52343
+ * Deserializes binary data (in protobuf wire format).
52344
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52345
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest}
52346
+ */
52347
+ proto.payment.BonusBalanceRewardIssueRequest.deserializeBinary = function(bytes) {
52348
+ var reader = new jspb.BinaryReader(bytes);
52349
+ var msg = new proto.payment.BonusBalanceRewardIssueRequest;
52350
+ return proto.payment.BonusBalanceRewardIssueRequest.deserializeBinaryFromReader(msg, reader);
52351
+ };
52352
+
52353
+
52354
+ /**
52355
+ * Deserializes binary data (in protobuf wire format) from the
52356
+ * given reader into the given message object.
52357
+ * @param {!proto.payment.BonusBalanceRewardIssueRequest} msg The message object to deserialize into.
52358
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52359
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest}
52360
+ */
52361
+ proto.payment.BonusBalanceRewardIssueRequest.deserializeBinaryFromReader = function(msg, reader) {
52362
+ while (reader.nextField()) {
52363
+ if (reader.isEndGroup()) {
52364
+ break;
52365
+ }
52366
+ var field = reader.getFieldNumber();
52367
+ switch (field) {
52368
+ case 1:
52369
+ var value = /** @type {number} */ (reader.readInt32());
52370
+ msg.setUserId(value);
52371
+ break;
52372
+ case 2:
52373
+ var value = /** @type {number} */ (reader.readInt32());
52374
+ msg.setUserBonusId(value);
52375
+ break;
52376
+ case 3:
52377
+ var value = /** @type {number} */ (reader.readInt32());
52378
+ msg.setBonusTemplateId(value);
52379
+ break;
52380
+ case 4:
52381
+ var value = /** @type {string} */ (reader.readString());
52382
+ msg.setCurrency(value);
52383
+ break;
52384
+ case 5:
52385
+ var value = /** @type {string} */ (reader.readString());
52386
+ msg.setAmount(value);
52387
+ break;
52388
+ case 6:
52389
+ var value = /** @type {string} */ (reader.readString());
52390
+ msg.setGrantSource(value);
52391
+ break;
52392
+ case 7:
52393
+ var value = /** @type {string} */ (reader.readString());
52394
+ msg.setGrantId(value);
52395
+ break;
52396
+ default:
52397
+ reader.skipField();
52398
+ break;
52399
+ }
52400
+ }
52401
+ return msg;
52402
+ };
52403
+
52404
+
52405
+ /**
52406
+ * Serializes the message to binary data (in protobuf wire format).
52407
+ * @return {!Uint8Array}
52408
+ */
52409
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.serializeBinary = function() {
52410
+ var writer = new jspb.BinaryWriter();
52411
+ proto.payment.BonusBalanceRewardIssueRequest.serializeBinaryToWriter(this, writer);
52412
+ return writer.getResultBuffer();
52413
+ };
52414
+
52415
+
52416
+ /**
52417
+ * Serializes the given message to binary data (in protobuf wire
52418
+ * format), writing to the given BinaryWriter.
52419
+ * @param {!proto.payment.BonusBalanceRewardIssueRequest} message
52420
+ * @param {!jspb.BinaryWriter} writer
52421
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52422
+ */
52423
+ proto.payment.BonusBalanceRewardIssueRequest.serializeBinaryToWriter = function(message, writer) {
52424
+ var f = undefined;
52425
+ f = message.getUserId();
52426
+ if (f !== 0) {
52427
+ writer.writeInt32(
52428
+ 1,
52429
+ f
52430
+ );
52431
+ }
52432
+ f = message.getUserBonusId();
52433
+ if (f !== 0) {
52434
+ writer.writeInt32(
52435
+ 2,
52436
+ f
52437
+ );
52438
+ }
52439
+ f = message.getBonusTemplateId();
52440
+ if (f !== 0) {
52441
+ writer.writeInt32(
52442
+ 3,
52443
+ f
52444
+ );
52445
+ }
52446
+ f = message.getCurrency();
52447
+ if (f.length > 0) {
52448
+ writer.writeString(
52449
+ 4,
52450
+ f
52451
+ );
52452
+ }
52453
+ f = message.getAmount();
52454
+ if (f.length > 0) {
52455
+ writer.writeString(
52456
+ 5,
52457
+ f
52458
+ );
52459
+ }
52460
+ f = message.getGrantSource();
52461
+ if (f.length > 0) {
52462
+ writer.writeString(
52463
+ 6,
52464
+ f
52465
+ );
52466
+ }
52467
+ f = message.getGrantId();
52468
+ if (f.length > 0) {
52469
+ writer.writeString(
52470
+ 7,
52471
+ f
52472
+ );
52473
+ }
52474
+ };
52475
+
52476
+
52477
+ /**
52478
+ * optional int32 user_id = 1;
52479
+ * @return {number}
52480
+ */
52481
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getUserId = function() {
52482
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
52483
+ };
52484
+
52485
+
52486
+ /**
52487
+ * @param {number} value
52488
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52489
+ */
52490
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setUserId = function(value) {
52491
+ return jspb.Message.setProto3IntField(this, 1, value);
52492
+ };
52493
+
52494
+
52495
+ /**
52496
+ * optional int32 user_bonus_id = 2;
52497
+ * @return {number}
52498
+ */
52499
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getUserBonusId = function() {
52500
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
52501
+ };
52502
+
52503
+
52504
+ /**
52505
+ * @param {number} value
52506
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52507
+ */
52508
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setUserBonusId = function(value) {
52509
+ return jspb.Message.setProto3IntField(this, 2, value);
52510
+ };
52511
+
52512
+
52513
+ /**
52514
+ * optional int32 bonus_template_id = 3;
52515
+ * @return {number}
52516
+ */
52517
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getBonusTemplateId = function() {
52518
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
52519
+ };
52520
+
52521
+
52522
+ /**
52523
+ * @param {number} value
52524
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52525
+ */
52526
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setBonusTemplateId = function(value) {
52527
+ return jspb.Message.setProto3IntField(this, 3, value);
52528
+ };
52529
+
52530
+
52531
+ /**
52532
+ * optional string currency = 4;
52533
+ * @return {string}
52534
+ */
52535
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getCurrency = function() {
52536
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
52537
+ };
52538
+
52539
+
52540
+ /**
52541
+ * @param {string} value
52542
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52543
+ */
52544
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setCurrency = function(value) {
52545
+ return jspb.Message.setProto3StringField(this, 4, value);
52546
+ };
52547
+
52548
+
52549
+ /**
52550
+ * optional string amount = 5;
52551
+ * @return {string}
52552
+ */
52553
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getAmount = function() {
52554
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
52555
+ };
52556
+
52557
+
52558
+ /**
52559
+ * @param {string} value
52560
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52561
+ */
52562
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setAmount = function(value) {
52563
+ return jspb.Message.setProto3StringField(this, 5, value);
52564
+ };
52565
+
52566
+
52567
+ /**
52568
+ * optional string grant_source = 6;
52569
+ * @return {string}
52570
+ */
52571
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getGrantSource = function() {
52572
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
52573
+ };
52574
+
52575
+
52576
+ /**
52577
+ * @param {string} value
52578
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52579
+ */
52580
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setGrantSource = function(value) {
52581
+ return jspb.Message.setProto3StringField(this, 6, value);
52582
+ };
52583
+
52584
+
52585
+ /**
52586
+ * optional string grant_id = 7;
52587
+ * @return {string}
52588
+ */
52589
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.getGrantId = function() {
52590
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
52591
+ };
52592
+
52593
+
52594
+ /**
52595
+ * @param {string} value
52596
+ * @return {!proto.payment.BonusBalanceRewardIssueRequest} returns this
52597
+ */
52598
+ proto.payment.BonusBalanceRewardIssueRequest.prototype.setGrantId = function(value) {
52599
+ return jspb.Message.setProto3StringField(this, 7, value);
52600
+ };
52601
+
52602
+
52603
+
52604
+
52605
+
52606
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52607
+ /**
52608
+ * Creates an object representation of this proto.
52609
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52610
+ * Optional fields that are not set will be set to undefined.
52611
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52612
+ * For the list of reserved names please see:
52613
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52614
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52615
+ * JSPB instance for transitional soy proto support:
52616
+ * http://goto/soy-param-migration
52617
+ * @return {!Object}
52618
+ */
52619
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.toObject = function(opt_includeInstance) {
52620
+ return proto.payment.BonusBalanceRewardReversalRequest.toObject(opt_includeInstance, this);
52621
+ };
52622
+
52623
+
52624
+ /**
52625
+ * Static version of the {@see toObject} method.
52626
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52627
+ * the JSPB instance for transitional soy proto support:
52628
+ * http://goto/soy-param-migration
52629
+ * @param {!proto.payment.BonusBalanceRewardReversalRequest} msg The msg instance to transform.
52630
+ * @return {!Object}
52631
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52632
+ */
52633
+ proto.payment.BonusBalanceRewardReversalRequest.toObject = function(includeInstance, msg) {
52634
+ var f, obj = {
52635
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
52636
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
52637
+ bonusTemplateId: jspb.Message.getFieldWithDefault(msg, 3, 0),
52638
+ currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
52639
+ amount: jspb.Message.getFieldWithDefault(msg, 5, ""),
52640
+ grantSource: jspb.Message.getFieldWithDefault(msg, 6, ""),
52641
+ grantId: jspb.Message.getFieldWithDefault(msg, 7, ""),
52642
+ reason: jspb.Message.getFieldWithDefault(msg, 8, "")
52643
+ };
52644
+
52645
+ if (includeInstance) {
52646
+ obj.$jspbMessageInstance = msg;
52647
+ }
52648
+ return obj;
52649
+ };
52650
+ }
52651
+
52652
+
52653
+ /**
52654
+ * Deserializes binary data (in protobuf wire format).
52655
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
52656
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest}
52657
+ */
52658
+ proto.payment.BonusBalanceRewardReversalRequest.deserializeBinary = function(bytes) {
52659
+ var reader = new jspb.BinaryReader(bytes);
52660
+ var msg = new proto.payment.BonusBalanceRewardReversalRequest;
52661
+ return proto.payment.BonusBalanceRewardReversalRequest.deserializeBinaryFromReader(msg, reader);
52662
+ };
52663
+
52664
+
52665
+ /**
52666
+ * Deserializes binary data (in protobuf wire format) from the
52667
+ * given reader into the given message object.
52668
+ * @param {!proto.payment.BonusBalanceRewardReversalRequest} msg The message object to deserialize into.
52669
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
52670
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest}
52671
+ */
52672
+ proto.payment.BonusBalanceRewardReversalRequest.deserializeBinaryFromReader = function(msg, reader) {
52673
+ while (reader.nextField()) {
52674
+ if (reader.isEndGroup()) {
52675
+ break;
52676
+ }
52677
+ var field = reader.getFieldNumber();
52678
+ switch (field) {
52679
+ case 1:
52680
+ var value = /** @type {number} */ (reader.readInt32());
52681
+ msg.setUserId(value);
52682
+ break;
52683
+ case 2:
52684
+ var value = /** @type {number} */ (reader.readInt32());
52685
+ msg.setUserBonusId(value);
52686
+ break;
52687
+ case 3:
52688
+ var value = /** @type {number} */ (reader.readInt32());
52689
+ msg.setBonusTemplateId(value);
52690
+ break;
52691
+ case 4:
52692
+ var value = /** @type {string} */ (reader.readString());
52693
+ msg.setCurrency(value);
52694
+ break;
52695
+ case 5:
52696
+ var value = /** @type {string} */ (reader.readString());
52697
+ msg.setAmount(value);
52698
+ break;
52699
+ case 6:
52700
+ var value = /** @type {string} */ (reader.readString());
52701
+ msg.setGrantSource(value);
52702
+ break;
52703
+ case 7:
52704
+ var value = /** @type {string} */ (reader.readString());
52705
+ msg.setGrantId(value);
52706
+ break;
52707
+ case 8:
52708
+ var value = /** @type {string} */ (reader.readString());
52709
+ msg.setReason(value);
52710
+ break;
52711
+ default:
52712
+ reader.skipField();
52713
+ break;
52714
+ }
52715
+ }
52716
+ return msg;
52717
+ };
52718
+
52719
+
52720
+ /**
52721
+ * Serializes the message to binary data (in protobuf wire format).
52722
+ * @return {!Uint8Array}
52723
+ */
52724
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.serializeBinary = function() {
52725
+ var writer = new jspb.BinaryWriter();
52726
+ proto.payment.BonusBalanceRewardReversalRequest.serializeBinaryToWriter(this, writer);
52727
+ return writer.getResultBuffer();
52728
+ };
52729
+
52730
+
52731
+ /**
52732
+ * Serializes the given message to binary data (in protobuf wire
52733
+ * format), writing to the given BinaryWriter.
52734
+ * @param {!proto.payment.BonusBalanceRewardReversalRequest} message
52735
+ * @param {!jspb.BinaryWriter} writer
52736
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52737
+ */
52738
+ proto.payment.BonusBalanceRewardReversalRequest.serializeBinaryToWriter = function(message, writer) {
52739
+ var f = undefined;
52740
+ f = message.getUserId();
52741
+ if (f !== 0) {
52742
+ writer.writeInt32(
52743
+ 1,
52744
+ f
52745
+ );
52746
+ }
52747
+ f = message.getUserBonusId();
52748
+ if (f !== 0) {
52749
+ writer.writeInt32(
52750
+ 2,
52751
+ f
52752
+ );
52753
+ }
52754
+ f = message.getBonusTemplateId();
52755
+ if (f !== 0) {
52756
+ writer.writeInt32(
52757
+ 3,
52758
+ f
52759
+ );
52760
+ }
52761
+ f = message.getCurrency();
52762
+ if (f.length > 0) {
52763
+ writer.writeString(
52764
+ 4,
52765
+ f
52766
+ );
52767
+ }
52768
+ f = message.getAmount();
52769
+ if (f.length > 0) {
52770
+ writer.writeString(
52771
+ 5,
52772
+ f
52773
+ );
52774
+ }
52775
+ f = message.getGrantSource();
52776
+ if (f.length > 0) {
52777
+ writer.writeString(
52778
+ 6,
52779
+ f
52780
+ );
52781
+ }
52782
+ f = message.getGrantId();
52783
+ if (f.length > 0) {
52784
+ writer.writeString(
52785
+ 7,
52786
+ f
52787
+ );
52788
+ }
52789
+ f = message.getReason();
52790
+ if (f.length > 0) {
52791
+ writer.writeString(
52792
+ 8,
52793
+ f
52794
+ );
52795
+ }
52796
+ };
52797
+
52798
+
52799
+ /**
52800
+ * optional int32 user_id = 1;
52801
+ * @return {number}
52802
+ */
52803
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getUserId = function() {
52804
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
52805
+ };
52806
+
52807
+
52808
+ /**
52809
+ * @param {number} value
52810
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52811
+ */
52812
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setUserId = function(value) {
52813
+ return jspb.Message.setProto3IntField(this, 1, value);
52814
+ };
52815
+
52816
+
52817
+ /**
52818
+ * optional int32 user_bonus_id = 2;
52819
+ * @return {number}
52820
+ */
52821
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getUserBonusId = function() {
52822
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
52823
+ };
52824
+
52825
+
52826
+ /**
52827
+ * @param {number} value
52828
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52829
+ */
52830
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setUserBonusId = function(value) {
52831
+ return jspb.Message.setProto3IntField(this, 2, value);
52832
+ };
52833
+
52834
+
52835
+ /**
52836
+ * optional int32 bonus_template_id = 3;
52837
+ * @return {number}
52838
+ */
52839
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getBonusTemplateId = function() {
52840
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
52841
+ };
52842
+
52843
+
52844
+ /**
52845
+ * @param {number} value
52846
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52847
+ */
52848
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setBonusTemplateId = function(value) {
52849
+ return jspb.Message.setProto3IntField(this, 3, value);
52850
+ };
52851
+
52852
+
52853
+ /**
52854
+ * optional string currency = 4;
52855
+ * @return {string}
52856
+ */
52857
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getCurrency = function() {
52858
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
52859
+ };
52860
+
52861
+
52862
+ /**
52863
+ * @param {string} value
52864
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52865
+ */
52866
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setCurrency = function(value) {
52867
+ return jspb.Message.setProto3StringField(this, 4, value);
52868
+ };
52869
+
52870
+
52871
+ /**
52872
+ * optional string amount = 5;
52873
+ * @return {string}
52874
+ */
52875
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getAmount = function() {
52876
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
52877
+ };
52878
+
52879
+
52880
+ /**
52881
+ * @param {string} value
52882
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52883
+ */
52884
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setAmount = function(value) {
52885
+ return jspb.Message.setProto3StringField(this, 5, value);
52886
+ };
52887
+
52888
+
52889
+ /**
52890
+ * optional string grant_source = 6;
52891
+ * @return {string}
52892
+ */
52893
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getGrantSource = function() {
52894
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
52895
+ };
52896
+
52897
+
52898
+ /**
52899
+ * @param {string} value
52900
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52901
+ */
52902
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setGrantSource = function(value) {
52903
+ return jspb.Message.setProto3StringField(this, 6, value);
52904
+ };
52905
+
52906
+
52907
+ /**
52908
+ * optional string grant_id = 7;
52909
+ * @return {string}
52910
+ */
52911
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getGrantId = function() {
52912
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
52913
+ };
52914
+
52915
+
52916
+ /**
52917
+ * @param {string} value
52918
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52919
+ */
52920
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setGrantId = function(value) {
52921
+ return jspb.Message.setProto3StringField(this, 7, value);
52922
+ };
52923
+
52924
+
52925
+ /**
52926
+ * optional string reason = 8;
52927
+ * @return {string}
52928
+ */
52929
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.getReason = function() {
52930
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
52931
+ };
52932
+
52933
+
52934
+ /**
52935
+ * @param {string} value
52936
+ * @return {!proto.payment.BonusBalanceRewardReversalRequest} returns this
52937
+ */
52938
+ proto.payment.BonusBalanceRewardReversalRequest.prototype.setReason = function(value) {
52939
+ return jspb.Message.setProto3StringField(this, 8, value);
52940
+ };
52941
+
52942
+
52943
+
52944
+ /**
52945
+ * List of repeated fields within this message type.
52946
+ * @private {!Array<number>}
52947
+ * @const
52948
+ */
52949
+ proto.payment.BonusBalanceRewardOperationResponse.repeatedFields_ = [8];
52950
+
52951
+
52952
+
52953
+ if (jspb.Message.GENERATE_TO_OBJECT) {
52954
+ /**
52955
+ * Creates an object representation of this proto.
52956
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
52957
+ * Optional fields that are not set will be set to undefined.
52958
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
52959
+ * For the list of reserved names please see:
52960
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
52961
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
52962
+ * JSPB instance for transitional soy proto support:
52963
+ * http://goto/soy-param-migration
52964
+ * @return {!Object}
52965
+ */
52966
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.toObject = function(opt_includeInstance) {
52967
+ return proto.payment.BonusBalanceRewardOperationResponse.toObject(opt_includeInstance, this);
52968
+ };
52969
+
52970
+
52971
+ /**
52972
+ * Static version of the {@see toObject} method.
52973
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
52974
+ * the JSPB instance for transitional soy proto support:
52975
+ * http://goto/soy-param-migration
52976
+ * @param {!proto.payment.BonusBalanceRewardOperationResponse} msg The msg instance to transform.
52977
+ * @return {!Object}
52978
+ * @suppress {unusedLocalVariables} f is only used for nested messages
52979
+ */
52980
+ proto.payment.BonusBalanceRewardOperationResponse.toObject = function(includeInstance, msg) {
52981
+ var f, obj = {
52982
+ operationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
52983
+ operationPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
52984
+ operationType: jspb.Message.getFieldWithDefault(msg, 3, ""),
52985
+ statusCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
52986
+ currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
52987
+ currencyScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
52988
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 7, ""),
52989
+ ledgerEntryIdsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
52990
+ idempotentReplay: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
52991
+ };
52992
+
52993
+ if (includeInstance) {
52994
+ obj.$jspbMessageInstance = msg;
52995
+ }
52996
+ return obj;
52997
+ };
52998
+ }
52999
+
53000
+
53001
+ /**
53002
+ * Deserializes binary data (in protobuf wire format).
53003
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
53004
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse}
53005
+ */
53006
+ proto.payment.BonusBalanceRewardOperationResponse.deserializeBinary = function(bytes) {
53007
+ var reader = new jspb.BinaryReader(bytes);
53008
+ var msg = new proto.payment.BonusBalanceRewardOperationResponse;
53009
+ return proto.payment.BonusBalanceRewardOperationResponse.deserializeBinaryFromReader(msg, reader);
53010
+ };
53011
+
53012
+
53013
+ /**
53014
+ * Deserializes binary data (in protobuf wire format) from the
53015
+ * given reader into the given message object.
53016
+ * @param {!proto.payment.BonusBalanceRewardOperationResponse} msg The message object to deserialize into.
53017
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
53018
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse}
53019
+ */
53020
+ proto.payment.BonusBalanceRewardOperationResponse.deserializeBinaryFromReader = function(msg, reader) {
53021
+ while (reader.nextField()) {
53022
+ if (reader.isEndGroup()) {
53023
+ break;
53024
+ }
53025
+ var field = reader.getFieldNumber();
53026
+ switch (field) {
53027
+ case 1:
53028
+ var value = /** @type {string} */ (reader.readString());
53029
+ msg.setOperationId(value);
53030
+ break;
53031
+ case 2:
53032
+ var value = /** @type {string} */ (reader.readString());
53033
+ msg.setOperationPublicId(value);
53034
+ break;
53035
+ case 3:
53036
+ var value = /** @type {string} */ (reader.readString());
53037
+ msg.setOperationType(value);
53038
+ break;
53039
+ case 4:
53040
+ var value = /** @type {string} */ (reader.readString());
53041
+ msg.setStatusCode(value);
53042
+ break;
53043
+ case 5:
53044
+ var value = /** @type {string} */ (reader.readString());
53045
+ msg.setCurrency(value);
53046
+ break;
53047
+ case 6:
53048
+ var value = /** @type {number} */ (reader.readInt32());
53049
+ msg.setCurrencyScale(value);
53050
+ break;
53051
+ case 7:
53052
+ var value = /** @type {string} */ (reader.readString());
53053
+ msg.setAmountMinor(value);
53054
+ break;
53055
+ case 8:
53056
+ var value = /** @type {string} */ (reader.readString());
53057
+ msg.addLedgerEntryIds(value);
53058
+ break;
53059
+ case 9:
53060
+ var value = /** @type {boolean} */ (reader.readBool());
53061
+ msg.setIdempotentReplay(value);
53062
+ break;
53063
+ default:
53064
+ reader.skipField();
53065
+ break;
53066
+ }
53067
+ }
53068
+ return msg;
53069
+ };
53070
+
53071
+
53072
+ /**
53073
+ * Serializes the message to binary data (in protobuf wire format).
53074
+ * @return {!Uint8Array}
53075
+ */
53076
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.serializeBinary = function() {
53077
+ var writer = new jspb.BinaryWriter();
53078
+ proto.payment.BonusBalanceRewardOperationResponse.serializeBinaryToWriter(this, writer);
53079
+ return writer.getResultBuffer();
53080
+ };
53081
+
53082
+
53083
+ /**
53084
+ * Serializes the given message to binary data (in protobuf wire
53085
+ * format), writing to the given BinaryWriter.
53086
+ * @param {!proto.payment.BonusBalanceRewardOperationResponse} message
53087
+ * @param {!jspb.BinaryWriter} writer
53088
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53089
+ */
53090
+ proto.payment.BonusBalanceRewardOperationResponse.serializeBinaryToWriter = function(message, writer) {
53091
+ var f = undefined;
53092
+ f = message.getOperationId();
53093
+ if (f.length > 0) {
53094
+ writer.writeString(
53095
+ 1,
53096
+ f
53097
+ );
53098
+ }
53099
+ f = message.getOperationPublicId();
53100
+ if (f.length > 0) {
53101
+ writer.writeString(
53102
+ 2,
53103
+ f
53104
+ );
53105
+ }
53106
+ f = message.getOperationType();
53107
+ if (f.length > 0) {
53108
+ writer.writeString(
53109
+ 3,
53110
+ f
53111
+ );
53112
+ }
53113
+ f = message.getStatusCode();
53114
+ if (f.length > 0) {
53115
+ writer.writeString(
53116
+ 4,
53117
+ f
53118
+ );
53119
+ }
53120
+ f = message.getCurrency();
53121
+ if (f.length > 0) {
53122
+ writer.writeString(
53123
+ 5,
53124
+ f
53125
+ );
53126
+ }
53127
+ f = message.getCurrencyScale();
53128
+ if (f !== 0) {
53129
+ writer.writeInt32(
53130
+ 6,
53131
+ f
53132
+ );
53133
+ }
53134
+ f = message.getAmountMinor();
53135
+ if (f.length > 0) {
53136
+ writer.writeString(
53137
+ 7,
53138
+ f
53139
+ );
53140
+ }
53141
+ f = message.getLedgerEntryIdsList();
53142
+ if (f.length > 0) {
53143
+ writer.writeRepeatedString(
53144
+ 8,
53145
+ f
53146
+ );
53147
+ }
53148
+ f = message.getIdempotentReplay();
53149
+ if (f) {
53150
+ writer.writeBool(
53151
+ 9,
53152
+ f
53153
+ );
53154
+ }
53155
+ };
53156
+
53157
+
53158
+ /**
53159
+ * optional string operation_id = 1;
53160
+ * @return {string}
53161
+ */
53162
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getOperationId = function() {
53163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
53164
+ };
53165
+
53166
+
53167
+ /**
53168
+ * @param {string} value
53169
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53170
+ */
53171
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setOperationId = function(value) {
53172
+ return jspb.Message.setProto3StringField(this, 1, value);
53173
+ };
53174
+
53175
+
53176
+ /**
53177
+ * optional string operation_public_id = 2;
53178
+ * @return {string}
53179
+ */
53180
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getOperationPublicId = function() {
53181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
53182
+ };
53183
+
53184
+
53185
+ /**
53186
+ * @param {string} value
53187
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53188
+ */
53189
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setOperationPublicId = function(value) {
53190
+ return jspb.Message.setProto3StringField(this, 2, value);
53191
+ };
53192
+
53193
+
53194
+ /**
53195
+ * optional string operation_type = 3;
53196
+ * @return {string}
53197
+ */
53198
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getOperationType = function() {
53199
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
53200
+ };
53201
+
53202
+
53203
+ /**
53204
+ * @param {string} value
53205
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53206
+ */
53207
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setOperationType = function(value) {
53208
+ return jspb.Message.setProto3StringField(this, 3, value);
53209
+ };
53210
+
53211
+
53212
+ /**
53213
+ * optional string status_code = 4;
53214
+ * @return {string}
53215
+ */
53216
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getStatusCode = function() {
53217
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
53218
+ };
53219
+
53220
+
53221
+ /**
53222
+ * @param {string} value
53223
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53224
+ */
53225
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setStatusCode = function(value) {
53226
+ return jspb.Message.setProto3StringField(this, 4, value);
53227
+ };
53228
+
53229
+
53230
+ /**
53231
+ * optional string currency = 5;
53232
+ * @return {string}
53233
+ */
53234
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getCurrency = function() {
53235
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
53236
+ };
53237
+
53238
+
53239
+ /**
53240
+ * @param {string} value
53241
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53242
+ */
53243
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setCurrency = function(value) {
53244
+ return jspb.Message.setProto3StringField(this, 5, value);
53245
+ };
53246
+
53247
+
53248
+ /**
53249
+ * optional int32 currency_scale = 6;
53250
+ * @return {number}
53251
+ */
53252
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getCurrencyScale = function() {
53253
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
53254
+ };
53255
+
53256
+
53257
+ /**
53258
+ * @param {number} value
53259
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53260
+ */
53261
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setCurrencyScale = function(value) {
53262
+ return jspb.Message.setProto3IntField(this, 6, value);
53263
+ };
53264
+
53265
+
53266
+ /**
53267
+ * optional string amount_minor = 7;
53268
+ * @return {string}
53269
+ */
53270
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getAmountMinor = function() {
53271
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
53272
+ };
53273
+
53274
+
53275
+ /**
53276
+ * @param {string} value
53277
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53278
+ */
53279
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setAmountMinor = function(value) {
53280
+ return jspb.Message.setProto3StringField(this, 7, value);
53281
+ };
53282
+
53283
+
53284
+ /**
53285
+ * repeated string ledger_entry_ids = 8;
53286
+ * @return {!Array<string>}
53287
+ */
53288
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getLedgerEntryIdsList = function() {
53289
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
53290
+ };
53291
+
53292
+
53293
+ /**
53294
+ * @param {!Array<string>} value
53295
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53296
+ */
53297
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setLedgerEntryIdsList = function(value) {
53298
+ return jspb.Message.setField(this, 8, value || []);
53299
+ };
53300
+
53301
+
53302
+ /**
53303
+ * @param {string} value
53304
+ * @param {number=} opt_index
53305
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53306
+ */
53307
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.addLedgerEntryIds = function(value, opt_index) {
53308
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
53309
+ };
53310
+
53311
+
53312
+ /**
53313
+ * Clears the list making it empty but non-null.
53314
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53315
+ */
53316
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.clearLedgerEntryIdsList = function() {
53317
+ return this.setLedgerEntryIdsList([]);
53318
+ };
53319
+
53320
+
53321
+ /**
53322
+ * optional bool idempotent_replay = 9;
53323
+ * @return {boolean}
53324
+ */
53325
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.getIdempotentReplay = function() {
53326
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
53327
+ };
53328
+
53329
+
53330
+ /**
53331
+ * @param {boolean} value
53332
+ * @return {!proto.payment.BonusBalanceRewardOperationResponse} returns this
53333
+ */
53334
+ proto.payment.BonusBalanceRewardOperationResponse.prototype.setIdempotentReplay = function(value) {
53335
+ return jspb.Message.setProto3BooleanField(this, 9, value);
53336
+ };
53337
+
53338
+
53339
+
53340
+
53341
+
52182
53342
  if (jspb.Message.GENERATE_TO_OBJECT) {
52183
53343
  /**
52184
53344
  * Creates an object representation of this proto.