protobuf-platform 1.2.444 → 1.2.449

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.
@@ -58,6 +58,8 @@ goog.exportSymbol('proto.payment.GetUserKycFinancialSnapshotRequest', null, glob
58
58
  goog.exportSymbol('proto.payment.GetUserKycFinancialSnapshotResponse', null, global);
59
59
  goog.exportSymbol('proto.payment.GetUserPaymentsInfoRequest', null, global);
60
60
  goog.exportSymbol('proto.payment.GetWithdrawalRequest', null, global);
61
+ goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryRequest', null, global);
62
+ goog.exportSymbol('proto.payment.GetWithdrawalWagerBucketHistoryResponse', null, global);
61
63
  goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotRequest', null, global);
62
64
  goog.exportSymbol('proto.payment.GetWithdrawalWagerSnapshotResponse', null, global);
63
65
  goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
@@ -108,6 +110,7 @@ goog.exportSymbol('proto.payment.UserWithdrawalItemsResponse', null, global);
108
110
  goog.exportSymbol('proto.payment.WithdrawalItem', null, global);
109
111
  goog.exportSymbol('proto.payment.WithdrawalItemsResponse', null, global);
110
112
  goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
113
+ goog.exportSymbol('proto.payment.WithdrawalWagerBucketHistoryItem', null, global);
111
114
  goog.exportSymbol('proto.payment.WithdrawalWagerLockedBucketItem', null, global);
112
115
  goog.exportSymbol('proto.payment.WithdrawalWebHookRequest', null, global);
113
116
  /**
@@ -1622,6 +1625,69 @@ if (goog.DEBUG && !COMPILED) {
1622
1625
  */
1623
1626
  proto.payment.GetWithdrawalWagerSnapshotResponse.displayName = 'proto.payment.GetWithdrawalWagerSnapshotResponse';
1624
1627
  }
1628
+ /**
1629
+ * Generated by JsPbCodeGenerator.
1630
+ * @param {Array=} opt_data Optional initial data array, typically from a
1631
+ * server response, or constructed directly in Javascript. The array is used
1632
+ * in place and becomes part of the constructed object. It is not cloned.
1633
+ * If no data is provided, the constructed object will be empty, but still
1634
+ * valid.
1635
+ * @extends {jspb.Message}
1636
+ * @constructor
1637
+ */
1638
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest = function(opt_data) {
1639
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1640
+ };
1641
+ goog.inherits(proto.payment.GetWithdrawalWagerBucketHistoryRequest, jspb.Message);
1642
+ if (goog.DEBUG && !COMPILED) {
1643
+ /**
1644
+ * @public
1645
+ * @override
1646
+ */
1647
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.displayName = 'proto.payment.GetWithdrawalWagerBucketHistoryRequest';
1648
+ }
1649
+ /**
1650
+ * Generated by JsPbCodeGenerator.
1651
+ * @param {Array=} opt_data Optional initial data array, typically from a
1652
+ * server response, or constructed directly in Javascript. The array is used
1653
+ * in place and becomes part of the constructed object. It is not cloned.
1654
+ * If no data is provided, the constructed object will be empty, but still
1655
+ * valid.
1656
+ * @extends {jspb.Message}
1657
+ * @constructor
1658
+ */
1659
+ proto.payment.WithdrawalWagerBucketHistoryItem = function(opt_data) {
1660
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1661
+ };
1662
+ goog.inherits(proto.payment.WithdrawalWagerBucketHistoryItem, jspb.Message);
1663
+ if (goog.DEBUG && !COMPILED) {
1664
+ /**
1665
+ * @public
1666
+ * @override
1667
+ */
1668
+ proto.payment.WithdrawalWagerBucketHistoryItem.displayName = 'proto.payment.WithdrawalWagerBucketHistoryItem';
1669
+ }
1670
+ /**
1671
+ * Generated by JsPbCodeGenerator.
1672
+ * @param {Array=} opt_data Optional initial data array, typically from a
1673
+ * server response, or constructed directly in Javascript. The array is used
1674
+ * in place and becomes part of the constructed object. It is not cloned.
1675
+ * If no data is provided, the constructed object will be empty, but still
1676
+ * valid.
1677
+ * @extends {jspb.Message}
1678
+ * @constructor
1679
+ */
1680
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse = function(opt_data) {
1681
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetWithdrawalWagerBucketHistoryResponse.repeatedFields_, null);
1682
+ };
1683
+ goog.inherits(proto.payment.GetWithdrawalWagerBucketHistoryResponse, jspb.Message);
1684
+ if (goog.DEBUG && !COMPILED) {
1685
+ /**
1686
+ * @public
1687
+ * @override
1688
+ */
1689
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.displayName = 'proto.payment.GetWithdrawalWagerBucketHistoryResponse';
1690
+ }
1625
1691
  /**
1626
1692
  * Generated by JsPbCodeGenerator.
1627
1693
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -19359,7 +19425,11 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
19359
19425
  country: jspb.Message.getFieldWithDefault(msg, 13, ""),
19360
19426
  processingType: jspb.Message.getFieldWithDefault(msg, 14, ""),
19361
19427
  destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
19362
- destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, "")
19428
+ destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
19429
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
19430
+ paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
19431
+ paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
19432
+ paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, "")
19363
19433
  };
19364
19434
 
19365
19435
  if (includeInstance) {
@@ -19460,6 +19530,22 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
19460
19530
  var value = /** @type {string} */ (reader.readString());
19461
19531
  msg.setDestinationCurrency(value);
19462
19532
  break;
19533
+ case 17:
19534
+ var value = /** @type {string} */ (reader.readString());
19535
+ msg.setPaymentProviderTitle(value);
19536
+ break;
19537
+ case 18:
19538
+ var value = /** @type {string} */ (reader.readString());
19539
+ msg.setPaymentProviderImageCdn(value);
19540
+ break;
19541
+ case 19:
19542
+ var value = /** @type {string} */ (reader.readString());
19543
+ msg.setPaymentMethodImage(value);
19544
+ break;
19545
+ case 20:
19546
+ var value = /** @type {string} */ (reader.readString());
19547
+ msg.setPaymentMethodImageCdn(value);
19548
+ break;
19463
19549
  default:
19464
19550
  reader.skipField();
19465
19551
  break;
@@ -19601,6 +19687,34 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
19601
19687
  f
19602
19688
  );
19603
19689
  }
19690
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
19691
+ if (f != null) {
19692
+ writer.writeString(
19693
+ 17,
19694
+ f
19695
+ );
19696
+ }
19697
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
19698
+ if (f != null) {
19699
+ writer.writeString(
19700
+ 18,
19701
+ f
19702
+ );
19703
+ }
19704
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
19705
+ if (f != null) {
19706
+ writer.writeString(
19707
+ 19,
19708
+ f
19709
+ );
19710
+ }
19711
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
19712
+ if (f != null) {
19713
+ writer.writeString(
19714
+ 20,
19715
+ f
19716
+ );
19717
+ }
19604
19718
  };
19605
19719
 
19606
19720
 
@@ -20162,6 +20276,150 @@ proto.payment.WithdrawalResponse.prototype.hasDestinationCurrency = function() {
20162
20276
  };
20163
20277
 
20164
20278
 
20279
+ /**
20280
+ * optional string payment_provider_title = 17;
20281
+ * @return {string}
20282
+ */
20283
+ proto.payment.WithdrawalResponse.prototype.getPaymentProviderTitle = function() {
20284
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
20285
+ };
20286
+
20287
+
20288
+ /**
20289
+ * @param {string} value
20290
+ * @return {!proto.payment.WithdrawalResponse} returns this
20291
+ */
20292
+ proto.payment.WithdrawalResponse.prototype.setPaymentProviderTitle = function(value) {
20293
+ return jspb.Message.setField(this, 17, value);
20294
+ };
20295
+
20296
+
20297
+ /**
20298
+ * Clears the field making it undefined.
20299
+ * @return {!proto.payment.WithdrawalResponse} returns this
20300
+ */
20301
+ proto.payment.WithdrawalResponse.prototype.clearPaymentProviderTitle = function() {
20302
+ return jspb.Message.setField(this, 17, undefined);
20303
+ };
20304
+
20305
+
20306
+ /**
20307
+ * Returns whether this field is set.
20308
+ * @return {boolean}
20309
+ */
20310
+ proto.payment.WithdrawalResponse.prototype.hasPaymentProviderTitle = function() {
20311
+ return jspb.Message.getField(this, 17) != null;
20312
+ };
20313
+
20314
+
20315
+ /**
20316
+ * optional string payment_provider_image_cdn = 18;
20317
+ * @return {string}
20318
+ */
20319
+ proto.payment.WithdrawalResponse.prototype.getPaymentProviderImageCdn = function() {
20320
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
20321
+ };
20322
+
20323
+
20324
+ /**
20325
+ * @param {string} value
20326
+ * @return {!proto.payment.WithdrawalResponse} returns this
20327
+ */
20328
+ proto.payment.WithdrawalResponse.prototype.setPaymentProviderImageCdn = function(value) {
20329
+ return jspb.Message.setField(this, 18, value);
20330
+ };
20331
+
20332
+
20333
+ /**
20334
+ * Clears the field making it undefined.
20335
+ * @return {!proto.payment.WithdrawalResponse} returns this
20336
+ */
20337
+ proto.payment.WithdrawalResponse.prototype.clearPaymentProviderImageCdn = function() {
20338
+ return jspb.Message.setField(this, 18, undefined);
20339
+ };
20340
+
20341
+
20342
+ /**
20343
+ * Returns whether this field is set.
20344
+ * @return {boolean}
20345
+ */
20346
+ proto.payment.WithdrawalResponse.prototype.hasPaymentProviderImageCdn = function() {
20347
+ return jspb.Message.getField(this, 18) != null;
20348
+ };
20349
+
20350
+
20351
+ /**
20352
+ * optional string payment_method_image = 19;
20353
+ * @return {string}
20354
+ */
20355
+ proto.payment.WithdrawalResponse.prototype.getPaymentMethodImage = function() {
20356
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
20357
+ };
20358
+
20359
+
20360
+ /**
20361
+ * @param {string} value
20362
+ * @return {!proto.payment.WithdrawalResponse} returns this
20363
+ */
20364
+ proto.payment.WithdrawalResponse.prototype.setPaymentMethodImage = function(value) {
20365
+ return jspb.Message.setField(this, 19, value);
20366
+ };
20367
+
20368
+
20369
+ /**
20370
+ * Clears the field making it undefined.
20371
+ * @return {!proto.payment.WithdrawalResponse} returns this
20372
+ */
20373
+ proto.payment.WithdrawalResponse.prototype.clearPaymentMethodImage = function() {
20374
+ return jspb.Message.setField(this, 19, undefined);
20375
+ };
20376
+
20377
+
20378
+ /**
20379
+ * Returns whether this field is set.
20380
+ * @return {boolean}
20381
+ */
20382
+ proto.payment.WithdrawalResponse.prototype.hasPaymentMethodImage = function() {
20383
+ return jspb.Message.getField(this, 19) != null;
20384
+ };
20385
+
20386
+
20387
+ /**
20388
+ * optional string payment_method_image_cdn = 20;
20389
+ * @return {string}
20390
+ */
20391
+ proto.payment.WithdrawalResponse.prototype.getPaymentMethodImageCdn = function() {
20392
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
20393
+ };
20394
+
20395
+
20396
+ /**
20397
+ * @param {string} value
20398
+ * @return {!proto.payment.WithdrawalResponse} returns this
20399
+ */
20400
+ proto.payment.WithdrawalResponse.prototype.setPaymentMethodImageCdn = function(value) {
20401
+ return jspb.Message.setField(this, 20, value);
20402
+ };
20403
+
20404
+
20405
+ /**
20406
+ * Clears the field making it undefined.
20407
+ * @return {!proto.payment.WithdrawalResponse} returns this
20408
+ */
20409
+ proto.payment.WithdrawalResponse.prototype.clearPaymentMethodImageCdn = function() {
20410
+ return jspb.Message.setField(this, 20, undefined);
20411
+ };
20412
+
20413
+
20414
+ /**
20415
+ * Returns whether this field is set.
20416
+ * @return {boolean}
20417
+ */
20418
+ proto.payment.WithdrawalResponse.prototype.hasPaymentMethodImageCdn = function() {
20419
+ return jspb.Message.getField(this, 20) != null;
20420
+ };
20421
+
20422
+
20165
20423
 
20166
20424
 
20167
20425
 
@@ -20209,7 +20467,11 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
20209
20467
  country: jspb.Message.getFieldWithDefault(msg, 13, ""),
20210
20468
  processingType: jspb.Message.getFieldWithDefault(msg, 14, ""),
20211
20469
  destinationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
20212
- destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, "")
20470
+ destinationCurrency: jspb.Message.getFieldWithDefault(msg, 16, ""),
20471
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
20472
+ paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 18, ""),
20473
+ paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
20474
+ paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, "")
20213
20475
  };
20214
20476
 
20215
20477
  if (includeInstance) {
@@ -20310,6 +20572,22 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
20310
20572
  var value = /** @type {string} */ (reader.readString());
20311
20573
  msg.setDestinationCurrency(value);
20312
20574
  break;
20575
+ case 17:
20576
+ var value = /** @type {string} */ (reader.readString());
20577
+ msg.setPaymentProviderTitle(value);
20578
+ break;
20579
+ case 18:
20580
+ var value = /** @type {string} */ (reader.readString());
20581
+ msg.setPaymentProviderImageCdn(value);
20582
+ break;
20583
+ case 19:
20584
+ var value = /** @type {string} */ (reader.readString());
20585
+ msg.setPaymentMethodImage(value);
20586
+ break;
20587
+ case 20:
20588
+ var value = /** @type {string} */ (reader.readString());
20589
+ msg.setPaymentMethodImageCdn(value);
20590
+ break;
20313
20591
  default:
20314
20592
  reader.skipField();
20315
20593
  break;
@@ -20451,31 +20729,59 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
20451
20729
  f
20452
20730
  );
20453
20731
  }
20454
- };
20455
-
20456
-
20457
- /**
20458
- * optional int32 id = 1;
20459
- * @return {number}
20460
- */
20461
- proto.payment.WithdrawalItem.prototype.getId = function() {
20462
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20463
- };
20464
-
20465
-
20466
- /**
20467
- * @param {number} value
20468
- * @return {!proto.payment.WithdrawalItem} returns this
20469
- */
20470
- proto.payment.WithdrawalItem.prototype.setId = function(value) {
20471
- return jspb.Message.setProto3IntField(this, 1, value);
20472
- };
20473
-
20474
-
20475
- /**
20476
- * optional int32 user_id = 2;
20477
- * @return {number}
20478
- */
20732
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
20733
+ if (f != null) {
20734
+ writer.writeString(
20735
+ 17,
20736
+ f
20737
+ );
20738
+ }
20739
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
20740
+ if (f != null) {
20741
+ writer.writeString(
20742
+ 18,
20743
+ f
20744
+ );
20745
+ }
20746
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
20747
+ if (f != null) {
20748
+ writer.writeString(
20749
+ 19,
20750
+ f
20751
+ );
20752
+ }
20753
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
20754
+ if (f != null) {
20755
+ writer.writeString(
20756
+ 20,
20757
+ f
20758
+ );
20759
+ }
20760
+ };
20761
+
20762
+
20763
+ /**
20764
+ * optional int32 id = 1;
20765
+ * @return {number}
20766
+ */
20767
+ proto.payment.WithdrawalItem.prototype.getId = function() {
20768
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20769
+ };
20770
+
20771
+
20772
+ /**
20773
+ * @param {number} value
20774
+ * @return {!proto.payment.WithdrawalItem} returns this
20775
+ */
20776
+ proto.payment.WithdrawalItem.prototype.setId = function(value) {
20777
+ return jspb.Message.setProto3IntField(this, 1, value);
20778
+ };
20779
+
20780
+
20781
+ /**
20782
+ * optional int32 user_id = 2;
20783
+ * @return {number}
20784
+ */
20479
20785
  proto.payment.WithdrawalItem.prototype.getUserId = function() {
20480
20786
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
20481
20787
  };
@@ -20922,6 +21228,150 @@ proto.payment.WithdrawalItem.prototype.hasDestinationCurrency = function() {
20922
21228
  };
20923
21229
 
20924
21230
 
21231
+ /**
21232
+ * optional string payment_provider_title = 17;
21233
+ * @return {string}
21234
+ */
21235
+ proto.payment.WithdrawalItem.prototype.getPaymentProviderTitle = function() {
21236
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
21237
+ };
21238
+
21239
+
21240
+ /**
21241
+ * @param {string} value
21242
+ * @return {!proto.payment.WithdrawalItem} returns this
21243
+ */
21244
+ proto.payment.WithdrawalItem.prototype.setPaymentProviderTitle = function(value) {
21245
+ return jspb.Message.setField(this, 17, value);
21246
+ };
21247
+
21248
+
21249
+ /**
21250
+ * Clears the field making it undefined.
21251
+ * @return {!proto.payment.WithdrawalItem} returns this
21252
+ */
21253
+ proto.payment.WithdrawalItem.prototype.clearPaymentProviderTitle = function() {
21254
+ return jspb.Message.setField(this, 17, undefined);
21255
+ };
21256
+
21257
+
21258
+ /**
21259
+ * Returns whether this field is set.
21260
+ * @return {boolean}
21261
+ */
21262
+ proto.payment.WithdrawalItem.prototype.hasPaymentProviderTitle = function() {
21263
+ return jspb.Message.getField(this, 17) != null;
21264
+ };
21265
+
21266
+
21267
+ /**
21268
+ * optional string payment_provider_image_cdn = 18;
21269
+ * @return {string}
21270
+ */
21271
+ proto.payment.WithdrawalItem.prototype.getPaymentProviderImageCdn = function() {
21272
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
21273
+ };
21274
+
21275
+
21276
+ /**
21277
+ * @param {string} value
21278
+ * @return {!proto.payment.WithdrawalItem} returns this
21279
+ */
21280
+ proto.payment.WithdrawalItem.prototype.setPaymentProviderImageCdn = function(value) {
21281
+ return jspb.Message.setField(this, 18, value);
21282
+ };
21283
+
21284
+
21285
+ /**
21286
+ * Clears the field making it undefined.
21287
+ * @return {!proto.payment.WithdrawalItem} returns this
21288
+ */
21289
+ proto.payment.WithdrawalItem.prototype.clearPaymentProviderImageCdn = function() {
21290
+ return jspb.Message.setField(this, 18, undefined);
21291
+ };
21292
+
21293
+
21294
+ /**
21295
+ * Returns whether this field is set.
21296
+ * @return {boolean}
21297
+ */
21298
+ proto.payment.WithdrawalItem.prototype.hasPaymentProviderImageCdn = function() {
21299
+ return jspb.Message.getField(this, 18) != null;
21300
+ };
21301
+
21302
+
21303
+ /**
21304
+ * optional string payment_method_image = 19;
21305
+ * @return {string}
21306
+ */
21307
+ proto.payment.WithdrawalItem.prototype.getPaymentMethodImage = function() {
21308
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
21309
+ };
21310
+
21311
+
21312
+ /**
21313
+ * @param {string} value
21314
+ * @return {!proto.payment.WithdrawalItem} returns this
21315
+ */
21316
+ proto.payment.WithdrawalItem.prototype.setPaymentMethodImage = function(value) {
21317
+ return jspb.Message.setField(this, 19, value);
21318
+ };
21319
+
21320
+
21321
+ /**
21322
+ * Clears the field making it undefined.
21323
+ * @return {!proto.payment.WithdrawalItem} returns this
21324
+ */
21325
+ proto.payment.WithdrawalItem.prototype.clearPaymentMethodImage = function() {
21326
+ return jspb.Message.setField(this, 19, undefined);
21327
+ };
21328
+
21329
+
21330
+ /**
21331
+ * Returns whether this field is set.
21332
+ * @return {boolean}
21333
+ */
21334
+ proto.payment.WithdrawalItem.prototype.hasPaymentMethodImage = function() {
21335
+ return jspb.Message.getField(this, 19) != null;
21336
+ };
21337
+
21338
+
21339
+ /**
21340
+ * optional string payment_method_image_cdn = 20;
21341
+ * @return {string}
21342
+ */
21343
+ proto.payment.WithdrawalItem.prototype.getPaymentMethodImageCdn = function() {
21344
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
21345
+ };
21346
+
21347
+
21348
+ /**
21349
+ * @param {string} value
21350
+ * @return {!proto.payment.WithdrawalItem} returns this
21351
+ */
21352
+ proto.payment.WithdrawalItem.prototype.setPaymentMethodImageCdn = function(value) {
21353
+ return jspb.Message.setField(this, 20, value);
21354
+ };
21355
+
21356
+
21357
+ /**
21358
+ * Clears the field making it undefined.
21359
+ * @return {!proto.payment.WithdrawalItem} returns this
21360
+ */
21361
+ proto.payment.WithdrawalItem.prototype.clearPaymentMethodImageCdn = function() {
21362
+ return jspb.Message.setField(this, 20, undefined);
21363
+ };
21364
+
21365
+
21366
+ /**
21367
+ * Returns whether this field is set.
21368
+ * @return {boolean}
21369
+ */
21370
+ proto.payment.WithdrawalItem.prototype.hasPaymentMethodImageCdn = function() {
21371
+ return jspb.Message.getField(this, 20) != null;
21372
+ };
21373
+
21374
+
20925
21375
 
20926
21376
  /**
20927
21377
  * List of repeated fields within this message type.
@@ -28912,6 +29362,1290 @@ proto.payment.GetWithdrawalWagerSnapshotResponse.prototype.clearActiveLockedBuck
28912
29362
 
28913
29363
 
28914
29364
 
29365
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29366
+ /**
29367
+ * Creates an object representation of this proto.
29368
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29369
+ * Optional fields that are not set will be set to undefined.
29370
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29371
+ * For the list of reserved names please see:
29372
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29373
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29374
+ * JSPB instance for transitional soy proto support:
29375
+ * http://goto/soy-param-migration
29376
+ * @return {!Object}
29377
+ */
29378
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.toObject = function(opt_includeInstance) {
29379
+ return proto.payment.GetWithdrawalWagerBucketHistoryRequest.toObject(opt_includeInstance, this);
29380
+ };
29381
+
29382
+
29383
+ /**
29384
+ * Static version of the {@see toObject} method.
29385
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29386
+ * the JSPB instance for transitional soy proto support:
29387
+ * http://goto/soy-param-migration
29388
+ * @param {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} msg The msg instance to transform.
29389
+ * @return {!Object}
29390
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29391
+ */
29392
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.toObject = function(includeInstance, msg) {
29393
+ var f, obj = {
29394
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
29395
+ currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
29396
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
29397
+ page: jspb.Message.getFieldWithDefault(msg, 4, 0),
29398
+ limit: jspb.Message.getFieldWithDefault(msg, 5, 0)
29399
+ };
29400
+
29401
+ if (includeInstance) {
29402
+ obj.$jspbMessageInstance = msg;
29403
+ }
29404
+ return obj;
29405
+ };
29406
+ }
29407
+
29408
+
29409
+ /**
29410
+ * Deserializes binary data (in protobuf wire format).
29411
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29412
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest}
29413
+ */
29414
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.deserializeBinary = function(bytes) {
29415
+ var reader = new jspb.BinaryReader(bytes);
29416
+ var msg = new proto.payment.GetWithdrawalWagerBucketHistoryRequest;
29417
+ return proto.payment.GetWithdrawalWagerBucketHistoryRequest.deserializeBinaryFromReader(msg, reader);
29418
+ };
29419
+
29420
+
29421
+ /**
29422
+ * Deserializes binary data (in protobuf wire format) from the
29423
+ * given reader into the given message object.
29424
+ * @param {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} msg The message object to deserialize into.
29425
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29426
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest}
29427
+ */
29428
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.deserializeBinaryFromReader = function(msg, reader) {
29429
+ while (reader.nextField()) {
29430
+ if (reader.isEndGroup()) {
29431
+ break;
29432
+ }
29433
+ var field = reader.getFieldNumber();
29434
+ switch (field) {
29435
+ case 1:
29436
+ var value = /** @type {number} */ (reader.readInt32());
29437
+ msg.setUserId(value);
29438
+ break;
29439
+ case 2:
29440
+ var value = /** @type {string} */ (reader.readString());
29441
+ msg.setCurrency(value);
29442
+ break;
29443
+ case 3:
29444
+ var value = /** @type {string} */ (reader.readString());
29445
+ msg.setStatus(value);
29446
+ break;
29447
+ case 4:
29448
+ var value = /** @type {number} */ (reader.readInt32());
29449
+ msg.setPage(value);
29450
+ break;
29451
+ case 5:
29452
+ var value = /** @type {number} */ (reader.readInt32());
29453
+ msg.setLimit(value);
29454
+ break;
29455
+ default:
29456
+ reader.skipField();
29457
+ break;
29458
+ }
29459
+ }
29460
+ return msg;
29461
+ };
29462
+
29463
+
29464
+ /**
29465
+ * Serializes the message to binary data (in protobuf wire format).
29466
+ * @return {!Uint8Array}
29467
+ */
29468
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.serializeBinary = function() {
29469
+ var writer = new jspb.BinaryWriter();
29470
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.serializeBinaryToWriter(this, writer);
29471
+ return writer.getResultBuffer();
29472
+ };
29473
+
29474
+
29475
+ /**
29476
+ * Serializes the given message to binary data (in protobuf wire
29477
+ * format), writing to the given BinaryWriter.
29478
+ * @param {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} message
29479
+ * @param {!jspb.BinaryWriter} writer
29480
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29481
+ */
29482
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.serializeBinaryToWriter = function(message, writer) {
29483
+ var f = undefined;
29484
+ f = message.getUserId();
29485
+ if (f !== 0) {
29486
+ writer.writeInt32(
29487
+ 1,
29488
+ f
29489
+ );
29490
+ }
29491
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
29492
+ if (f != null) {
29493
+ writer.writeString(
29494
+ 2,
29495
+ f
29496
+ );
29497
+ }
29498
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
29499
+ if (f != null) {
29500
+ writer.writeString(
29501
+ 3,
29502
+ f
29503
+ );
29504
+ }
29505
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
29506
+ if (f != null) {
29507
+ writer.writeInt32(
29508
+ 4,
29509
+ f
29510
+ );
29511
+ }
29512
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
29513
+ if (f != null) {
29514
+ writer.writeInt32(
29515
+ 5,
29516
+ f
29517
+ );
29518
+ }
29519
+ };
29520
+
29521
+
29522
+ /**
29523
+ * optional int32 user_id = 1;
29524
+ * @return {number}
29525
+ */
29526
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getUserId = function() {
29527
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29528
+ };
29529
+
29530
+
29531
+ /**
29532
+ * @param {number} value
29533
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29534
+ */
29535
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setUserId = function(value) {
29536
+ return jspb.Message.setProto3IntField(this, 1, value);
29537
+ };
29538
+
29539
+
29540
+ /**
29541
+ * optional string currency = 2;
29542
+ * @return {string}
29543
+ */
29544
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getCurrency = function() {
29545
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
29546
+ };
29547
+
29548
+
29549
+ /**
29550
+ * @param {string} value
29551
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29552
+ */
29553
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setCurrency = function(value) {
29554
+ return jspb.Message.setField(this, 2, value);
29555
+ };
29556
+
29557
+
29558
+ /**
29559
+ * Clears the field making it undefined.
29560
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29561
+ */
29562
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearCurrency = function() {
29563
+ return jspb.Message.setField(this, 2, undefined);
29564
+ };
29565
+
29566
+
29567
+ /**
29568
+ * Returns whether this field is set.
29569
+ * @return {boolean}
29570
+ */
29571
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasCurrency = function() {
29572
+ return jspb.Message.getField(this, 2) != null;
29573
+ };
29574
+
29575
+
29576
+ /**
29577
+ * optional string status = 3;
29578
+ * @return {string}
29579
+ */
29580
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getStatus = function() {
29581
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
29582
+ };
29583
+
29584
+
29585
+ /**
29586
+ * @param {string} value
29587
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29588
+ */
29589
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setStatus = function(value) {
29590
+ return jspb.Message.setField(this, 3, value);
29591
+ };
29592
+
29593
+
29594
+ /**
29595
+ * Clears the field making it undefined.
29596
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29597
+ */
29598
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearStatus = function() {
29599
+ return jspb.Message.setField(this, 3, undefined);
29600
+ };
29601
+
29602
+
29603
+ /**
29604
+ * Returns whether this field is set.
29605
+ * @return {boolean}
29606
+ */
29607
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasStatus = function() {
29608
+ return jspb.Message.getField(this, 3) != null;
29609
+ };
29610
+
29611
+
29612
+ /**
29613
+ * optional int32 page = 4;
29614
+ * @return {number}
29615
+ */
29616
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getPage = function() {
29617
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
29618
+ };
29619
+
29620
+
29621
+ /**
29622
+ * @param {number} value
29623
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29624
+ */
29625
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setPage = function(value) {
29626
+ return jspb.Message.setField(this, 4, value);
29627
+ };
29628
+
29629
+
29630
+ /**
29631
+ * Clears the field making it undefined.
29632
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29633
+ */
29634
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearPage = function() {
29635
+ return jspb.Message.setField(this, 4, undefined);
29636
+ };
29637
+
29638
+
29639
+ /**
29640
+ * Returns whether this field is set.
29641
+ * @return {boolean}
29642
+ */
29643
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasPage = function() {
29644
+ return jspb.Message.getField(this, 4) != null;
29645
+ };
29646
+
29647
+
29648
+ /**
29649
+ * optional int32 limit = 5;
29650
+ * @return {number}
29651
+ */
29652
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.getLimit = function() {
29653
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
29654
+ };
29655
+
29656
+
29657
+ /**
29658
+ * @param {number} value
29659
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29660
+ */
29661
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.setLimit = function(value) {
29662
+ return jspb.Message.setField(this, 5, value);
29663
+ };
29664
+
29665
+
29666
+ /**
29667
+ * Clears the field making it undefined.
29668
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryRequest} returns this
29669
+ */
29670
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.clearLimit = function() {
29671
+ return jspb.Message.setField(this, 5, undefined);
29672
+ };
29673
+
29674
+
29675
+ /**
29676
+ * Returns whether this field is set.
29677
+ * @return {boolean}
29678
+ */
29679
+ proto.payment.GetWithdrawalWagerBucketHistoryRequest.prototype.hasLimit = function() {
29680
+ return jspb.Message.getField(this, 5) != null;
29681
+ };
29682
+
29683
+
29684
+
29685
+
29686
+
29687
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29688
+ /**
29689
+ * Creates an object representation of this proto.
29690
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29691
+ * Optional fields that are not set will be set to undefined.
29692
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29693
+ * For the list of reserved names please see:
29694
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29695
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29696
+ * JSPB instance for transitional soy proto support:
29697
+ * http://goto/soy-param-migration
29698
+ * @return {!Object}
29699
+ */
29700
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.toObject = function(opt_includeInstance) {
29701
+ return proto.payment.WithdrawalWagerBucketHistoryItem.toObject(opt_includeInstance, this);
29702
+ };
29703
+
29704
+
29705
+ /**
29706
+ * Static version of the {@see toObject} method.
29707
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29708
+ * the JSPB instance for transitional soy proto support:
29709
+ * http://goto/soy-param-migration
29710
+ * @param {!proto.payment.WithdrawalWagerBucketHistoryItem} msg The msg instance to transform.
29711
+ * @return {!Object}
29712
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29713
+ */
29714
+ proto.payment.WithdrawalWagerBucketHistoryItem.toObject = function(includeInstance, msg) {
29715
+ var f, obj = {
29716
+ bucketId: jspb.Message.getFieldWithDefault(msg, 1, ""),
29717
+ operationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
29718
+ sourceType: jspb.Message.getFieldWithDefault(msg, 3, ""),
29719
+ sourceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
29720
+ status: jspb.Message.getFieldWithDefault(msg, 5, ""),
29721
+ wagerAmountMinor: jspb.Message.getFieldWithDefault(msg, 6, 0),
29722
+ wagerCurrency: jspb.Message.getFieldWithDefault(msg, 7, ""),
29723
+ wagerCurrencyScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
29724
+ ledgerAmountMinor: jspb.Message.getFieldWithDefault(msg, 9, 0),
29725
+ ledgerCurrency: jspb.Message.getFieldWithDefault(msg, 10, ""),
29726
+ ledgerCurrencyScale: jspb.Message.getFieldWithDefault(msg, 11, 0),
29727
+ multiplier: jspb.Message.getFieldWithDefault(msg, 12, ""),
29728
+ requiredWagerMinor: jspb.Message.getFieldWithDefault(msg, 13, 0),
29729
+ completedWagerMinor: jspb.Message.getFieldWithDefault(msg, 14, 0),
29730
+ remainingWagerMinor: jspb.Message.getFieldWithDefault(msg, 15, 0),
29731
+ progressPercent: jspb.Message.getFieldWithDefault(msg, 16, ""),
29732
+ depositProcessedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
29733
+ bucketCreatedAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
29734
+ unlockedAt: jspb.Message.getFieldWithDefault(msg, 19, "")
29735
+ };
29736
+
29737
+ if (includeInstance) {
29738
+ obj.$jspbMessageInstance = msg;
29739
+ }
29740
+ return obj;
29741
+ };
29742
+ }
29743
+
29744
+
29745
+ /**
29746
+ * Deserializes binary data (in protobuf wire format).
29747
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29748
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem}
29749
+ */
29750
+ proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinary = function(bytes) {
29751
+ var reader = new jspb.BinaryReader(bytes);
29752
+ var msg = new proto.payment.WithdrawalWagerBucketHistoryItem;
29753
+ return proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinaryFromReader(msg, reader);
29754
+ };
29755
+
29756
+
29757
+ /**
29758
+ * Deserializes binary data (in protobuf wire format) from the
29759
+ * given reader into the given message object.
29760
+ * @param {!proto.payment.WithdrawalWagerBucketHistoryItem} msg The message object to deserialize into.
29761
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29762
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem}
29763
+ */
29764
+ proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinaryFromReader = function(msg, reader) {
29765
+ while (reader.nextField()) {
29766
+ if (reader.isEndGroup()) {
29767
+ break;
29768
+ }
29769
+ var field = reader.getFieldNumber();
29770
+ switch (field) {
29771
+ case 1:
29772
+ var value = /** @type {string} */ (reader.readString());
29773
+ msg.setBucketId(value);
29774
+ break;
29775
+ case 2:
29776
+ var value = /** @type {string} */ (reader.readString());
29777
+ msg.setOperationId(value);
29778
+ break;
29779
+ case 3:
29780
+ var value = /** @type {string} */ (reader.readString());
29781
+ msg.setSourceType(value);
29782
+ break;
29783
+ case 4:
29784
+ var value = /** @type {string} */ (reader.readString());
29785
+ msg.setSourceId(value);
29786
+ break;
29787
+ case 5:
29788
+ var value = /** @type {string} */ (reader.readString());
29789
+ msg.setStatus(value);
29790
+ break;
29791
+ case 6:
29792
+ var value = /** @type {number} */ (reader.readInt64());
29793
+ msg.setWagerAmountMinor(value);
29794
+ break;
29795
+ case 7:
29796
+ var value = /** @type {string} */ (reader.readString());
29797
+ msg.setWagerCurrency(value);
29798
+ break;
29799
+ case 8:
29800
+ var value = /** @type {number} */ (reader.readInt32());
29801
+ msg.setWagerCurrencyScale(value);
29802
+ break;
29803
+ case 9:
29804
+ var value = /** @type {number} */ (reader.readInt64());
29805
+ msg.setLedgerAmountMinor(value);
29806
+ break;
29807
+ case 10:
29808
+ var value = /** @type {string} */ (reader.readString());
29809
+ msg.setLedgerCurrency(value);
29810
+ break;
29811
+ case 11:
29812
+ var value = /** @type {number} */ (reader.readInt32());
29813
+ msg.setLedgerCurrencyScale(value);
29814
+ break;
29815
+ case 12:
29816
+ var value = /** @type {string} */ (reader.readString());
29817
+ msg.setMultiplier(value);
29818
+ break;
29819
+ case 13:
29820
+ var value = /** @type {number} */ (reader.readInt64());
29821
+ msg.setRequiredWagerMinor(value);
29822
+ break;
29823
+ case 14:
29824
+ var value = /** @type {number} */ (reader.readInt64());
29825
+ msg.setCompletedWagerMinor(value);
29826
+ break;
29827
+ case 15:
29828
+ var value = /** @type {number} */ (reader.readInt64());
29829
+ msg.setRemainingWagerMinor(value);
29830
+ break;
29831
+ case 16:
29832
+ var value = /** @type {string} */ (reader.readString());
29833
+ msg.setProgressPercent(value);
29834
+ break;
29835
+ case 17:
29836
+ var value = /** @type {string} */ (reader.readString());
29837
+ msg.setDepositProcessedAt(value);
29838
+ break;
29839
+ case 18:
29840
+ var value = /** @type {string} */ (reader.readString());
29841
+ msg.setBucketCreatedAt(value);
29842
+ break;
29843
+ case 19:
29844
+ var value = /** @type {string} */ (reader.readString());
29845
+ msg.setUnlockedAt(value);
29846
+ break;
29847
+ default:
29848
+ reader.skipField();
29849
+ break;
29850
+ }
29851
+ }
29852
+ return msg;
29853
+ };
29854
+
29855
+
29856
+ /**
29857
+ * Serializes the message to binary data (in protobuf wire format).
29858
+ * @return {!Uint8Array}
29859
+ */
29860
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.serializeBinary = function() {
29861
+ var writer = new jspb.BinaryWriter();
29862
+ proto.payment.WithdrawalWagerBucketHistoryItem.serializeBinaryToWriter(this, writer);
29863
+ return writer.getResultBuffer();
29864
+ };
29865
+
29866
+
29867
+ /**
29868
+ * Serializes the given message to binary data (in protobuf wire
29869
+ * format), writing to the given BinaryWriter.
29870
+ * @param {!proto.payment.WithdrawalWagerBucketHistoryItem} message
29871
+ * @param {!jspb.BinaryWriter} writer
29872
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29873
+ */
29874
+ proto.payment.WithdrawalWagerBucketHistoryItem.serializeBinaryToWriter = function(message, writer) {
29875
+ var f = undefined;
29876
+ f = message.getBucketId();
29877
+ if (f.length > 0) {
29878
+ writer.writeString(
29879
+ 1,
29880
+ f
29881
+ );
29882
+ }
29883
+ f = message.getOperationId();
29884
+ if (f.length > 0) {
29885
+ writer.writeString(
29886
+ 2,
29887
+ f
29888
+ );
29889
+ }
29890
+ f = message.getSourceType();
29891
+ if (f.length > 0) {
29892
+ writer.writeString(
29893
+ 3,
29894
+ f
29895
+ );
29896
+ }
29897
+ f = message.getSourceId();
29898
+ if (f.length > 0) {
29899
+ writer.writeString(
29900
+ 4,
29901
+ f
29902
+ );
29903
+ }
29904
+ f = message.getStatus();
29905
+ if (f.length > 0) {
29906
+ writer.writeString(
29907
+ 5,
29908
+ f
29909
+ );
29910
+ }
29911
+ f = message.getWagerAmountMinor();
29912
+ if (f !== 0) {
29913
+ writer.writeInt64(
29914
+ 6,
29915
+ f
29916
+ );
29917
+ }
29918
+ f = message.getWagerCurrency();
29919
+ if (f.length > 0) {
29920
+ writer.writeString(
29921
+ 7,
29922
+ f
29923
+ );
29924
+ }
29925
+ f = message.getWagerCurrencyScale();
29926
+ if (f !== 0) {
29927
+ writer.writeInt32(
29928
+ 8,
29929
+ f
29930
+ );
29931
+ }
29932
+ f = message.getLedgerAmountMinor();
29933
+ if (f !== 0) {
29934
+ writer.writeInt64(
29935
+ 9,
29936
+ f
29937
+ );
29938
+ }
29939
+ f = message.getLedgerCurrency();
29940
+ if (f.length > 0) {
29941
+ writer.writeString(
29942
+ 10,
29943
+ f
29944
+ );
29945
+ }
29946
+ f = message.getLedgerCurrencyScale();
29947
+ if (f !== 0) {
29948
+ writer.writeInt32(
29949
+ 11,
29950
+ f
29951
+ );
29952
+ }
29953
+ f = message.getMultiplier();
29954
+ if (f.length > 0) {
29955
+ writer.writeString(
29956
+ 12,
29957
+ f
29958
+ );
29959
+ }
29960
+ f = message.getRequiredWagerMinor();
29961
+ if (f !== 0) {
29962
+ writer.writeInt64(
29963
+ 13,
29964
+ f
29965
+ );
29966
+ }
29967
+ f = message.getCompletedWagerMinor();
29968
+ if (f !== 0) {
29969
+ writer.writeInt64(
29970
+ 14,
29971
+ f
29972
+ );
29973
+ }
29974
+ f = message.getRemainingWagerMinor();
29975
+ if (f !== 0) {
29976
+ writer.writeInt64(
29977
+ 15,
29978
+ f
29979
+ );
29980
+ }
29981
+ f = message.getProgressPercent();
29982
+ if (f.length > 0) {
29983
+ writer.writeString(
29984
+ 16,
29985
+ f
29986
+ );
29987
+ }
29988
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
29989
+ if (f != null) {
29990
+ writer.writeString(
29991
+ 17,
29992
+ f
29993
+ );
29994
+ }
29995
+ f = message.getBucketCreatedAt();
29996
+ if (f.length > 0) {
29997
+ writer.writeString(
29998
+ 18,
29999
+ f
30000
+ );
30001
+ }
30002
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
30003
+ if (f != null) {
30004
+ writer.writeString(
30005
+ 19,
30006
+ f
30007
+ );
30008
+ }
30009
+ };
30010
+
30011
+
30012
+ /**
30013
+ * optional string bucket_id = 1;
30014
+ * @return {string}
30015
+ */
30016
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getBucketId = function() {
30017
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
30018
+ };
30019
+
30020
+
30021
+ /**
30022
+ * @param {string} value
30023
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30024
+ */
30025
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setBucketId = function(value) {
30026
+ return jspb.Message.setProto3StringField(this, 1, value);
30027
+ };
30028
+
30029
+
30030
+ /**
30031
+ * optional string operation_id = 2;
30032
+ * @return {string}
30033
+ */
30034
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getOperationId = function() {
30035
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
30036
+ };
30037
+
30038
+
30039
+ /**
30040
+ * @param {string} value
30041
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30042
+ */
30043
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setOperationId = function(value) {
30044
+ return jspb.Message.setProto3StringField(this, 2, value);
30045
+ };
30046
+
30047
+
30048
+ /**
30049
+ * optional string source_type = 3;
30050
+ * @return {string}
30051
+ */
30052
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getSourceType = function() {
30053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
30054
+ };
30055
+
30056
+
30057
+ /**
30058
+ * @param {string} value
30059
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30060
+ */
30061
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setSourceType = function(value) {
30062
+ return jspb.Message.setProto3StringField(this, 3, value);
30063
+ };
30064
+
30065
+
30066
+ /**
30067
+ * optional string source_id = 4;
30068
+ * @return {string}
30069
+ */
30070
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getSourceId = function() {
30071
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
30072
+ };
30073
+
30074
+
30075
+ /**
30076
+ * @param {string} value
30077
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30078
+ */
30079
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setSourceId = function(value) {
30080
+ return jspb.Message.setProto3StringField(this, 4, value);
30081
+ };
30082
+
30083
+
30084
+ /**
30085
+ * optional string status = 5;
30086
+ * @return {string}
30087
+ */
30088
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getStatus = function() {
30089
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
30090
+ };
30091
+
30092
+
30093
+ /**
30094
+ * @param {string} value
30095
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30096
+ */
30097
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setStatus = function(value) {
30098
+ return jspb.Message.setProto3StringField(this, 5, value);
30099
+ };
30100
+
30101
+
30102
+ /**
30103
+ * optional int64 wager_amount_minor = 6;
30104
+ * @return {number}
30105
+ */
30106
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getWagerAmountMinor = function() {
30107
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
30108
+ };
30109
+
30110
+
30111
+ /**
30112
+ * @param {number} value
30113
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30114
+ */
30115
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setWagerAmountMinor = function(value) {
30116
+ return jspb.Message.setProto3IntField(this, 6, value);
30117
+ };
30118
+
30119
+
30120
+ /**
30121
+ * optional string wager_currency = 7;
30122
+ * @return {string}
30123
+ */
30124
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getWagerCurrency = function() {
30125
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
30126
+ };
30127
+
30128
+
30129
+ /**
30130
+ * @param {string} value
30131
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30132
+ */
30133
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setWagerCurrency = function(value) {
30134
+ return jspb.Message.setProto3StringField(this, 7, value);
30135
+ };
30136
+
30137
+
30138
+ /**
30139
+ * optional int32 wager_currency_scale = 8;
30140
+ * @return {number}
30141
+ */
30142
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getWagerCurrencyScale = function() {
30143
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
30144
+ };
30145
+
30146
+
30147
+ /**
30148
+ * @param {number} value
30149
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30150
+ */
30151
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setWagerCurrencyScale = function(value) {
30152
+ return jspb.Message.setProto3IntField(this, 8, value);
30153
+ };
30154
+
30155
+
30156
+ /**
30157
+ * optional int64 ledger_amount_minor = 9;
30158
+ * @return {number}
30159
+ */
30160
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getLedgerAmountMinor = function() {
30161
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
30162
+ };
30163
+
30164
+
30165
+ /**
30166
+ * @param {number} value
30167
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30168
+ */
30169
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setLedgerAmountMinor = function(value) {
30170
+ return jspb.Message.setProto3IntField(this, 9, value);
30171
+ };
30172
+
30173
+
30174
+ /**
30175
+ * optional string ledger_currency = 10;
30176
+ * @return {string}
30177
+ */
30178
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getLedgerCurrency = function() {
30179
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
30180
+ };
30181
+
30182
+
30183
+ /**
30184
+ * @param {string} value
30185
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30186
+ */
30187
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setLedgerCurrency = function(value) {
30188
+ return jspb.Message.setProto3StringField(this, 10, value);
30189
+ };
30190
+
30191
+
30192
+ /**
30193
+ * optional int32 ledger_currency_scale = 11;
30194
+ * @return {number}
30195
+ */
30196
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getLedgerCurrencyScale = function() {
30197
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
30198
+ };
30199
+
30200
+
30201
+ /**
30202
+ * @param {number} value
30203
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30204
+ */
30205
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setLedgerCurrencyScale = function(value) {
30206
+ return jspb.Message.setProto3IntField(this, 11, value);
30207
+ };
30208
+
30209
+
30210
+ /**
30211
+ * optional string multiplier = 12;
30212
+ * @return {string}
30213
+ */
30214
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getMultiplier = function() {
30215
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
30216
+ };
30217
+
30218
+
30219
+ /**
30220
+ * @param {string} value
30221
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30222
+ */
30223
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setMultiplier = function(value) {
30224
+ return jspb.Message.setProto3StringField(this, 12, value);
30225
+ };
30226
+
30227
+
30228
+ /**
30229
+ * optional int64 required_wager_minor = 13;
30230
+ * @return {number}
30231
+ */
30232
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getRequiredWagerMinor = function() {
30233
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
30234
+ };
30235
+
30236
+
30237
+ /**
30238
+ * @param {number} value
30239
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30240
+ */
30241
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setRequiredWagerMinor = function(value) {
30242
+ return jspb.Message.setProto3IntField(this, 13, value);
30243
+ };
30244
+
30245
+
30246
+ /**
30247
+ * optional int64 completed_wager_minor = 14;
30248
+ * @return {number}
30249
+ */
30250
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getCompletedWagerMinor = function() {
30251
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
30252
+ };
30253
+
30254
+
30255
+ /**
30256
+ * @param {number} value
30257
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30258
+ */
30259
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setCompletedWagerMinor = function(value) {
30260
+ return jspb.Message.setProto3IntField(this, 14, value);
30261
+ };
30262
+
30263
+
30264
+ /**
30265
+ * optional int64 remaining_wager_minor = 15;
30266
+ * @return {number}
30267
+ */
30268
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getRemainingWagerMinor = function() {
30269
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
30270
+ };
30271
+
30272
+
30273
+ /**
30274
+ * @param {number} value
30275
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30276
+ */
30277
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setRemainingWagerMinor = function(value) {
30278
+ return jspb.Message.setProto3IntField(this, 15, value);
30279
+ };
30280
+
30281
+
30282
+ /**
30283
+ * optional string progress_percent = 16;
30284
+ * @return {string}
30285
+ */
30286
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getProgressPercent = function() {
30287
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
30288
+ };
30289
+
30290
+
30291
+ /**
30292
+ * @param {string} value
30293
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30294
+ */
30295
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setProgressPercent = function(value) {
30296
+ return jspb.Message.setProto3StringField(this, 16, value);
30297
+ };
30298
+
30299
+
30300
+ /**
30301
+ * optional string deposit_processed_at = 17;
30302
+ * @return {string}
30303
+ */
30304
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getDepositProcessedAt = function() {
30305
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
30306
+ };
30307
+
30308
+
30309
+ /**
30310
+ * @param {string} value
30311
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30312
+ */
30313
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setDepositProcessedAt = function(value) {
30314
+ return jspb.Message.setField(this, 17, value);
30315
+ };
30316
+
30317
+
30318
+ /**
30319
+ * Clears the field making it undefined.
30320
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30321
+ */
30322
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.clearDepositProcessedAt = function() {
30323
+ return jspb.Message.setField(this, 17, undefined);
30324
+ };
30325
+
30326
+
30327
+ /**
30328
+ * Returns whether this field is set.
30329
+ * @return {boolean}
30330
+ */
30331
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.hasDepositProcessedAt = function() {
30332
+ return jspb.Message.getField(this, 17) != null;
30333
+ };
30334
+
30335
+
30336
+ /**
30337
+ * optional string bucket_created_at = 18;
30338
+ * @return {string}
30339
+ */
30340
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getBucketCreatedAt = function() {
30341
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
30342
+ };
30343
+
30344
+
30345
+ /**
30346
+ * @param {string} value
30347
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30348
+ */
30349
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setBucketCreatedAt = function(value) {
30350
+ return jspb.Message.setProto3StringField(this, 18, value);
30351
+ };
30352
+
30353
+
30354
+ /**
30355
+ * optional string unlocked_at = 19;
30356
+ * @return {string}
30357
+ */
30358
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.getUnlockedAt = function() {
30359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
30360
+ };
30361
+
30362
+
30363
+ /**
30364
+ * @param {string} value
30365
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30366
+ */
30367
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.setUnlockedAt = function(value) {
30368
+ return jspb.Message.setField(this, 19, value);
30369
+ };
30370
+
30371
+
30372
+ /**
30373
+ * Clears the field making it undefined.
30374
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem} returns this
30375
+ */
30376
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.clearUnlockedAt = function() {
30377
+ return jspb.Message.setField(this, 19, undefined);
30378
+ };
30379
+
30380
+
30381
+ /**
30382
+ * Returns whether this field is set.
30383
+ * @return {boolean}
30384
+ */
30385
+ proto.payment.WithdrawalWagerBucketHistoryItem.prototype.hasUnlockedAt = function() {
30386
+ return jspb.Message.getField(this, 19) != null;
30387
+ };
30388
+
30389
+
30390
+
30391
+ /**
30392
+ * List of repeated fields within this message type.
30393
+ * @private {!Array<number>}
30394
+ * @const
30395
+ */
30396
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.repeatedFields_ = [1];
30397
+
30398
+
30399
+
30400
+ if (jspb.Message.GENERATE_TO_OBJECT) {
30401
+ /**
30402
+ * Creates an object representation of this proto.
30403
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
30404
+ * Optional fields that are not set will be set to undefined.
30405
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
30406
+ * For the list of reserved names please see:
30407
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
30408
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
30409
+ * JSPB instance for transitional soy proto support:
30410
+ * http://goto/soy-param-migration
30411
+ * @return {!Object}
30412
+ */
30413
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.toObject = function(opt_includeInstance) {
30414
+ return proto.payment.GetWithdrawalWagerBucketHistoryResponse.toObject(opt_includeInstance, this);
30415
+ };
30416
+
30417
+
30418
+ /**
30419
+ * Static version of the {@see toObject} method.
30420
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
30421
+ * the JSPB instance for transitional soy proto support:
30422
+ * http://goto/soy-param-migration
30423
+ * @param {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} msg The msg instance to transform.
30424
+ * @return {!Object}
30425
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30426
+ */
30427
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.toObject = function(includeInstance, msg) {
30428
+ var f, obj = {
30429
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
30430
+ proto.payment.WithdrawalWagerBucketHistoryItem.toObject, includeInstance),
30431
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
30432
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
30433
+ };
30434
+
30435
+ if (includeInstance) {
30436
+ obj.$jspbMessageInstance = msg;
30437
+ }
30438
+ return obj;
30439
+ };
30440
+ }
30441
+
30442
+
30443
+ /**
30444
+ * Deserializes binary data (in protobuf wire format).
30445
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
30446
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse}
30447
+ */
30448
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.deserializeBinary = function(bytes) {
30449
+ var reader = new jspb.BinaryReader(bytes);
30450
+ var msg = new proto.payment.GetWithdrawalWagerBucketHistoryResponse;
30451
+ return proto.payment.GetWithdrawalWagerBucketHistoryResponse.deserializeBinaryFromReader(msg, reader);
30452
+ };
30453
+
30454
+
30455
+ /**
30456
+ * Deserializes binary data (in protobuf wire format) from the
30457
+ * given reader into the given message object.
30458
+ * @param {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} msg The message object to deserialize into.
30459
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
30460
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse}
30461
+ */
30462
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.deserializeBinaryFromReader = function(msg, reader) {
30463
+ while (reader.nextField()) {
30464
+ if (reader.isEndGroup()) {
30465
+ break;
30466
+ }
30467
+ var field = reader.getFieldNumber();
30468
+ switch (field) {
30469
+ case 1:
30470
+ var value = new proto.payment.WithdrawalWagerBucketHistoryItem;
30471
+ reader.readMessage(value,proto.payment.WithdrawalWagerBucketHistoryItem.deserializeBinaryFromReader);
30472
+ msg.addItems(value);
30473
+ break;
30474
+ case 2:
30475
+ var value = /** @type {number} */ (reader.readInt32());
30476
+ msg.setTotalPages(value);
30477
+ break;
30478
+ case 3:
30479
+ var value = /** @type {number} */ (reader.readInt32());
30480
+ msg.setTotalItems(value);
30481
+ break;
30482
+ default:
30483
+ reader.skipField();
30484
+ break;
30485
+ }
30486
+ }
30487
+ return msg;
30488
+ };
30489
+
30490
+
30491
+ /**
30492
+ * Serializes the message to binary data (in protobuf wire format).
30493
+ * @return {!Uint8Array}
30494
+ */
30495
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.serializeBinary = function() {
30496
+ var writer = new jspb.BinaryWriter();
30497
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.serializeBinaryToWriter(this, writer);
30498
+ return writer.getResultBuffer();
30499
+ };
30500
+
30501
+
30502
+ /**
30503
+ * Serializes the given message to binary data (in protobuf wire
30504
+ * format), writing to the given BinaryWriter.
30505
+ * @param {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} message
30506
+ * @param {!jspb.BinaryWriter} writer
30507
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30508
+ */
30509
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.serializeBinaryToWriter = function(message, writer) {
30510
+ var f = undefined;
30511
+ f = message.getItemsList();
30512
+ if (f.length > 0) {
30513
+ writer.writeRepeatedMessage(
30514
+ 1,
30515
+ f,
30516
+ proto.payment.WithdrawalWagerBucketHistoryItem.serializeBinaryToWriter
30517
+ );
30518
+ }
30519
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
30520
+ if (f != null) {
30521
+ writer.writeInt32(
30522
+ 2,
30523
+ f
30524
+ );
30525
+ }
30526
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
30527
+ if (f != null) {
30528
+ writer.writeInt32(
30529
+ 3,
30530
+ f
30531
+ );
30532
+ }
30533
+ };
30534
+
30535
+
30536
+ /**
30537
+ * repeated WithdrawalWagerBucketHistoryItem items = 1;
30538
+ * @return {!Array<!proto.payment.WithdrawalWagerBucketHistoryItem>}
30539
+ */
30540
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.getItemsList = function() {
30541
+ return /** @type{!Array<!proto.payment.WithdrawalWagerBucketHistoryItem>} */ (
30542
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.WithdrawalWagerBucketHistoryItem, 1));
30543
+ };
30544
+
30545
+
30546
+ /**
30547
+ * @param {!Array<!proto.payment.WithdrawalWagerBucketHistoryItem>} value
30548
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
30549
+ */
30550
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.setItemsList = function(value) {
30551
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
30552
+ };
30553
+
30554
+
30555
+ /**
30556
+ * @param {!proto.payment.WithdrawalWagerBucketHistoryItem=} opt_value
30557
+ * @param {number=} opt_index
30558
+ * @return {!proto.payment.WithdrawalWagerBucketHistoryItem}
30559
+ */
30560
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.addItems = function(opt_value, opt_index) {
30561
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.WithdrawalWagerBucketHistoryItem, opt_index);
30562
+ };
30563
+
30564
+
30565
+ /**
30566
+ * Clears the list making it empty but non-null.
30567
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
30568
+ */
30569
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.clearItemsList = function() {
30570
+ return this.setItemsList([]);
30571
+ };
30572
+
30573
+
30574
+ /**
30575
+ * optional int32 total_pages = 2;
30576
+ * @return {number}
30577
+ */
30578
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.getTotalPages = function() {
30579
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30580
+ };
30581
+
30582
+
30583
+ /**
30584
+ * @param {number} value
30585
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
30586
+ */
30587
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.setTotalPages = function(value) {
30588
+ return jspb.Message.setField(this, 2, value);
30589
+ };
30590
+
30591
+
30592
+ /**
30593
+ * Clears the field making it undefined.
30594
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
30595
+ */
30596
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.clearTotalPages = function() {
30597
+ return jspb.Message.setField(this, 2, undefined);
30598
+ };
30599
+
30600
+
30601
+ /**
30602
+ * Returns whether this field is set.
30603
+ * @return {boolean}
30604
+ */
30605
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.hasTotalPages = function() {
30606
+ return jspb.Message.getField(this, 2) != null;
30607
+ };
30608
+
30609
+
30610
+ /**
30611
+ * optional int32 total_items = 3;
30612
+ * @return {number}
30613
+ */
30614
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.getTotalItems = function() {
30615
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30616
+ };
30617
+
30618
+
30619
+ /**
30620
+ * @param {number} value
30621
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
30622
+ */
30623
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.setTotalItems = function(value) {
30624
+ return jspb.Message.setField(this, 3, value);
30625
+ };
30626
+
30627
+
30628
+ /**
30629
+ * Clears the field making it undefined.
30630
+ * @return {!proto.payment.GetWithdrawalWagerBucketHistoryResponse} returns this
30631
+ */
30632
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.clearTotalItems = function() {
30633
+ return jspb.Message.setField(this, 3, undefined);
30634
+ };
30635
+
30636
+
30637
+ /**
30638
+ * Returns whether this field is set.
30639
+ * @return {boolean}
30640
+ */
30641
+ proto.payment.GetWithdrawalWagerBucketHistoryResponse.prototype.hasTotalItems = function() {
30642
+ return jspb.Message.getField(this, 3) != null;
30643
+ };
30644
+
30645
+
30646
+
30647
+
30648
+
28915
30649
  if (jspb.Message.GENERATE_TO_OBJECT) {
28916
30650
  /**
28917
30651
  * Creates an object representation of this proto.