protobuf-platform 1.2.571 → 1.2.574

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.
package/bonus/bonus_pb.js CHANGED
@@ -70,6 +70,7 @@ goog.exportSymbol('proto.bonus.GetCommonUserBonusItemsRequest', null, global);
70
70
  goog.exportSymbol('proto.bonus.GetCommonUserBonusItemsResponse', null, global);
71
71
  goog.exportSymbol('proto.bonus.GetDepositEligibleUserBonusesRequest', null, global);
72
72
  goog.exportSymbol('proto.bonus.GetFileRequest', null, global);
73
+ goog.exportSymbol('proto.bonus.GetSingleBonusByIdRequest', null, global);
73
74
  goog.exportSymbol('proto.bonus.GetUserBonusHistoryRequest', null, global);
74
75
  goog.exportSymbol('proto.bonus.GetUserBonusRequest', null, global);
75
76
  goog.exportSymbol('proto.bonus.GrantDynamicUserBonusRequest', null, global);
@@ -82,6 +83,8 @@ goog.exportSymbol('proto.bonus.PingRequest', null, global);
82
83
  goog.exportSymbol('proto.bonus.PongResponse', null, global);
83
84
  goog.exportSymbol('proto.bonus.SearchBonusRequest', null, global);
84
85
  goog.exportSymbol('proto.bonus.SignUpBonusListItem', null, global);
86
+ goog.exportSymbol('proto.bonus.SingleBonusItem', null, global);
87
+ goog.exportSymbol('proto.bonus.SingleBonusResponse', null, global);
85
88
  goog.exportSymbol('proto.bonus.UserBonusHistoryResponse', null, global);
86
89
  goog.exportSymbol('proto.bonus.UserBonusItem', null, global);
87
90
  goog.exportSymbol('proto.bonus.UserBonusItemsResponse', null, global);
@@ -444,6 +447,27 @@ if (goog.DEBUG && !COMPILED) {
444
447
  */
445
448
  proto.bonus.GetBonusBySlugRequest.displayName = 'proto.bonus.GetBonusBySlugRequest';
446
449
  }
450
+ /**
451
+ * Generated by JsPbCodeGenerator.
452
+ * @param {Array=} opt_data Optional initial data array, typically from a
453
+ * server response, or constructed directly in Javascript. The array is used
454
+ * in place and becomes part of the constructed object. It is not cloned.
455
+ * If no data is provided, the constructed object will be empty, but still
456
+ * valid.
457
+ * @extends {jspb.Message}
458
+ * @constructor
459
+ */
460
+ proto.bonus.GetSingleBonusByIdRequest = function(opt_data) {
461
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
462
+ };
463
+ goog.inherits(proto.bonus.GetSingleBonusByIdRequest, jspb.Message);
464
+ if (goog.DEBUG && !COMPILED) {
465
+ /**
466
+ * @public
467
+ * @override
468
+ */
469
+ proto.bonus.GetSingleBonusByIdRequest.displayName = 'proto.bonus.GetSingleBonusByIdRequest';
470
+ }
447
471
  /**
448
472
  * Generated by JsPbCodeGenerator.
449
473
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -528,6 +552,48 @@ if (goog.DEBUG && !COMPILED) {
528
552
  */
529
553
  proto.bonus.BonusItem.displayName = 'proto.bonus.BonusItem';
530
554
  }
555
+ /**
556
+ * Generated by JsPbCodeGenerator.
557
+ * @param {Array=} opt_data Optional initial data array, typically from a
558
+ * server response, or constructed directly in Javascript. The array is used
559
+ * in place and becomes part of the constructed object. It is not cloned.
560
+ * If no data is provided, the constructed object will be empty, but still
561
+ * valid.
562
+ * @extends {jspb.Message}
563
+ * @constructor
564
+ */
565
+ proto.bonus.SingleBonusItem = function(opt_data) {
566
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.bonus.SingleBonusItem.repeatedFields_, null);
567
+ };
568
+ goog.inherits(proto.bonus.SingleBonusItem, jspb.Message);
569
+ if (goog.DEBUG && !COMPILED) {
570
+ /**
571
+ * @public
572
+ * @override
573
+ */
574
+ proto.bonus.SingleBonusItem.displayName = 'proto.bonus.SingleBonusItem';
575
+ }
576
+ /**
577
+ * Generated by JsPbCodeGenerator.
578
+ * @param {Array=} opt_data Optional initial data array, typically from a
579
+ * server response, or constructed directly in Javascript. The array is used
580
+ * in place and becomes part of the constructed object. It is not cloned.
581
+ * If no data is provided, the constructed object will be empty, but still
582
+ * valid.
583
+ * @extends {jspb.Message}
584
+ * @constructor
585
+ */
586
+ proto.bonus.SingleBonusResponse = function(opt_data) {
587
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
588
+ };
589
+ goog.inherits(proto.bonus.SingleBonusResponse, jspb.Message);
590
+ if (goog.DEBUG && !COMPILED) {
591
+ /**
592
+ * @public
593
+ * @override
594
+ */
595
+ proto.bonus.SingleBonusResponse.displayName = 'proto.bonus.SingleBonusResponse';
596
+ }
531
597
  /**
532
598
  * Generated by JsPbCodeGenerator.
533
599
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7181,6 +7247,166 @@ proto.bonus.GetBonusBySlugRequest.prototype.hasLocale = function() {
7181
7247
 
7182
7248
 
7183
7249
 
7250
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7251
+ /**
7252
+ * Creates an object representation of this proto.
7253
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7254
+ * Optional fields that are not set will be set to undefined.
7255
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7256
+ * For the list of reserved names please see:
7257
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7258
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7259
+ * JSPB instance for transitional soy proto support:
7260
+ * http://goto/soy-param-migration
7261
+ * @return {!Object}
7262
+ */
7263
+ proto.bonus.GetSingleBonusByIdRequest.prototype.toObject = function(opt_includeInstance) {
7264
+ return proto.bonus.GetSingleBonusByIdRequest.toObject(opt_includeInstance, this);
7265
+ };
7266
+
7267
+
7268
+ /**
7269
+ * Static version of the {@see toObject} method.
7270
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7271
+ * the JSPB instance for transitional soy proto support:
7272
+ * http://goto/soy-param-migration
7273
+ * @param {!proto.bonus.GetSingleBonusByIdRequest} msg The msg instance to transform.
7274
+ * @return {!Object}
7275
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7276
+ */
7277
+ proto.bonus.GetSingleBonusByIdRequest.toObject = function(includeInstance, msg) {
7278
+ var f, obj = {
7279
+ bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
7280
+ locale: jspb.Message.getFieldWithDefault(msg, 2, "")
7281
+ };
7282
+
7283
+ if (includeInstance) {
7284
+ obj.$jspbMessageInstance = msg;
7285
+ }
7286
+ return obj;
7287
+ };
7288
+ }
7289
+
7290
+
7291
+ /**
7292
+ * Deserializes binary data (in protobuf wire format).
7293
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7294
+ * @return {!proto.bonus.GetSingleBonusByIdRequest}
7295
+ */
7296
+ proto.bonus.GetSingleBonusByIdRequest.deserializeBinary = function(bytes) {
7297
+ var reader = new jspb.BinaryReader(bytes);
7298
+ var msg = new proto.bonus.GetSingleBonusByIdRequest;
7299
+ return proto.bonus.GetSingleBonusByIdRequest.deserializeBinaryFromReader(msg, reader);
7300
+ };
7301
+
7302
+
7303
+ /**
7304
+ * Deserializes binary data (in protobuf wire format) from the
7305
+ * given reader into the given message object.
7306
+ * @param {!proto.bonus.GetSingleBonusByIdRequest} msg The message object to deserialize into.
7307
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7308
+ * @return {!proto.bonus.GetSingleBonusByIdRequest}
7309
+ */
7310
+ proto.bonus.GetSingleBonusByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
7311
+ while (reader.nextField()) {
7312
+ if (reader.isEndGroup()) {
7313
+ break;
7314
+ }
7315
+ var field = reader.getFieldNumber();
7316
+ switch (field) {
7317
+ case 1:
7318
+ var value = /** @type {number} */ (reader.readInt32());
7319
+ msg.setBonusId(value);
7320
+ break;
7321
+ case 2:
7322
+ var value = /** @type {string} */ (reader.readString());
7323
+ msg.setLocale(value);
7324
+ break;
7325
+ default:
7326
+ reader.skipField();
7327
+ break;
7328
+ }
7329
+ }
7330
+ return msg;
7331
+ };
7332
+
7333
+
7334
+ /**
7335
+ * Serializes the message to binary data (in protobuf wire format).
7336
+ * @return {!Uint8Array}
7337
+ */
7338
+ proto.bonus.GetSingleBonusByIdRequest.prototype.serializeBinary = function() {
7339
+ var writer = new jspb.BinaryWriter();
7340
+ proto.bonus.GetSingleBonusByIdRequest.serializeBinaryToWriter(this, writer);
7341
+ return writer.getResultBuffer();
7342
+ };
7343
+
7344
+
7345
+ /**
7346
+ * Serializes the given message to binary data (in protobuf wire
7347
+ * format), writing to the given BinaryWriter.
7348
+ * @param {!proto.bonus.GetSingleBonusByIdRequest} message
7349
+ * @param {!jspb.BinaryWriter} writer
7350
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7351
+ */
7352
+ proto.bonus.GetSingleBonusByIdRequest.serializeBinaryToWriter = function(message, writer) {
7353
+ var f = undefined;
7354
+ f = message.getBonusId();
7355
+ if (f !== 0) {
7356
+ writer.writeInt32(
7357
+ 1,
7358
+ f
7359
+ );
7360
+ }
7361
+ f = message.getLocale();
7362
+ if (f.length > 0) {
7363
+ writer.writeString(
7364
+ 2,
7365
+ f
7366
+ );
7367
+ }
7368
+ };
7369
+
7370
+
7371
+ /**
7372
+ * optional int32 bonus_id = 1;
7373
+ * @return {number}
7374
+ */
7375
+ proto.bonus.GetSingleBonusByIdRequest.prototype.getBonusId = function() {
7376
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7377
+ };
7378
+
7379
+
7380
+ /**
7381
+ * @param {number} value
7382
+ * @return {!proto.bonus.GetSingleBonusByIdRequest} returns this
7383
+ */
7384
+ proto.bonus.GetSingleBonusByIdRequest.prototype.setBonusId = function(value) {
7385
+ return jspb.Message.setProto3IntField(this, 1, value);
7386
+ };
7387
+
7388
+
7389
+ /**
7390
+ * optional string locale = 2;
7391
+ * @return {string}
7392
+ */
7393
+ proto.bonus.GetSingleBonusByIdRequest.prototype.getLocale = function() {
7394
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7395
+ };
7396
+
7397
+
7398
+ /**
7399
+ * @param {string} value
7400
+ * @return {!proto.bonus.GetSingleBonusByIdRequest} returns this
7401
+ */
7402
+ proto.bonus.GetSingleBonusByIdRequest.prototype.setLocale = function(value) {
7403
+ return jspb.Message.setProto3StringField(this, 2, value);
7404
+ };
7405
+
7406
+
7407
+
7408
+
7409
+
7184
7410
  if (jspb.Message.GENERATE_TO_OBJECT) {
7185
7411
  /**
7186
7412
  * Creates an object representation of this proto.
@@ -10238,6 +10464,1767 @@ proto.bonus.BonusItem.prototype.hasContent = function() {
10238
10464
 
10239
10465
 
10240
10466
 
10467
+ /**
10468
+ * List of repeated fields within this message type.
10469
+ * @private {!Array<number>}
10470
+ * @const
10471
+ */
10472
+ proto.bonus.SingleBonusItem.repeatedFields_ = [21,22,24];
10473
+
10474
+
10475
+
10476
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10477
+ /**
10478
+ * Creates an object representation of this proto.
10479
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10480
+ * Optional fields that are not set will be set to undefined.
10481
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10482
+ * For the list of reserved names please see:
10483
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10484
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10485
+ * JSPB instance for transitional soy proto support:
10486
+ * http://goto/soy-param-migration
10487
+ * @return {!Object}
10488
+ */
10489
+ proto.bonus.SingleBonusItem.prototype.toObject = function(opt_includeInstance) {
10490
+ return proto.bonus.SingleBonusItem.toObject(opt_includeInstance, this);
10491
+ };
10492
+
10493
+
10494
+ /**
10495
+ * Static version of the {@see toObject} method.
10496
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10497
+ * the JSPB instance for transitional soy proto support:
10498
+ * http://goto/soy-param-migration
10499
+ * @param {!proto.bonus.SingleBonusItem} msg The msg instance to transform.
10500
+ * @return {!Object}
10501
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10502
+ */
10503
+ proto.bonus.SingleBonusItem.toObject = function(includeInstance, msg) {
10504
+ var f, obj = {
10505
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
10506
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
10507
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
10508
+ image: jspb.Message.getFieldWithDefault(msg, 4, ""),
10509
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
10510
+ status: jspb.Message.getFieldWithDefault(msg, 6, ""),
10511
+ type: jspb.Message.getFieldWithDefault(msg, 7, ""),
10512
+ wagerX: jspb.Message.getFieldWithDefault(msg, 8, 0),
10513
+ payoutX: jspb.Message.getFieldWithDefault(msg, 9, 0),
10514
+ isRealWagering: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
10515
+ isBonusWagering: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
10516
+ repeatCount: jspb.Message.getFieldWithDefault(msg, 12, 0),
10517
+ wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 13, 0),
10518
+ startedAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
10519
+ finishedAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
10520
+ showPreviousAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
10521
+ claimPeriodInHours: jspb.Message.getFieldWithDefault(msg, 17, 0),
10522
+ activationPeriodInHours: jspb.Message.getFieldWithDefault(msg, 18, 0),
10523
+ wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
10524
+ rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
10525
+ proto.bonus.BonusReward.toObject, includeInstance),
10526
+ betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
10527
+ proto.bonus.BetsRange.toObject, includeInstance),
10528
+ typeData: jspb.Message.getFieldWithDefault(msg, 23, ""),
10529
+ wagerGamesList: jspb.Message.toObjectList(msg.getWagerGamesList(),
10530
+ proto.bonus.GameItem.toObject, includeInstance),
10531
+ slug: jspb.Message.getFieldWithDefault(msg, 25, ""),
10532
+ category: jspb.Message.getFieldWithDefault(msg, 26, ""),
10533
+ mobileImage: jspb.Message.getFieldWithDefault(msg, 27, ""),
10534
+ mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 28, ""),
10535
+ wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 29, ""),
10536
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 30, ""),
10537
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 31, ""),
10538
+ content: jspb.Message.getFieldWithDefault(msg, 33, "")
10539
+ };
10540
+
10541
+ if (includeInstance) {
10542
+ obj.$jspbMessageInstance = msg;
10543
+ }
10544
+ return obj;
10545
+ };
10546
+ }
10547
+
10548
+
10549
+ /**
10550
+ * Deserializes binary data (in protobuf wire format).
10551
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10552
+ * @return {!proto.bonus.SingleBonusItem}
10553
+ */
10554
+ proto.bonus.SingleBonusItem.deserializeBinary = function(bytes) {
10555
+ var reader = new jspb.BinaryReader(bytes);
10556
+ var msg = new proto.bonus.SingleBonusItem;
10557
+ return proto.bonus.SingleBonusItem.deserializeBinaryFromReader(msg, reader);
10558
+ };
10559
+
10560
+
10561
+ /**
10562
+ * Deserializes binary data (in protobuf wire format) from the
10563
+ * given reader into the given message object.
10564
+ * @param {!proto.bonus.SingleBonusItem} msg The message object to deserialize into.
10565
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10566
+ * @return {!proto.bonus.SingleBonusItem}
10567
+ */
10568
+ proto.bonus.SingleBonusItem.deserializeBinaryFromReader = function(msg, reader) {
10569
+ while (reader.nextField()) {
10570
+ if (reader.isEndGroup()) {
10571
+ break;
10572
+ }
10573
+ var field = reader.getFieldNumber();
10574
+ switch (field) {
10575
+ case 1:
10576
+ var value = /** @type {number} */ (reader.readInt32());
10577
+ msg.setId(value);
10578
+ break;
10579
+ case 2:
10580
+ var value = /** @type {string} */ (reader.readString());
10581
+ msg.setTitle(value);
10582
+ break;
10583
+ case 3:
10584
+ var value = /** @type {string} */ (reader.readString());
10585
+ msg.setDescription(value);
10586
+ break;
10587
+ case 4:
10588
+ var value = /** @type {string} */ (reader.readString());
10589
+ msg.setImage(value);
10590
+ break;
10591
+ case 5:
10592
+ var value = /** @type {string} */ (reader.readString());
10593
+ msg.setImageCdn(value);
10594
+ break;
10595
+ case 6:
10596
+ var value = /** @type {string} */ (reader.readString());
10597
+ msg.setStatus(value);
10598
+ break;
10599
+ case 7:
10600
+ var value = /** @type {string} */ (reader.readString());
10601
+ msg.setType(value);
10602
+ break;
10603
+ case 8:
10604
+ var value = /** @type {number} */ (reader.readInt32());
10605
+ msg.setWagerX(value);
10606
+ break;
10607
+ case 9:
10608
+ var value = /** @type {number} */ (reader.readInt32());
10609
+ msg.setPayoutX(value);
10610
+ break;
10611
+ case 10:
10612
+ var value = /** @type {boolean} */ (reader.readBool());
10613
+ msg.setIsRealWagering(value);
10614
+ break;
10615
+ case 11:
10616
+ var value = /** @type {boolean} */ (reader.readBool());
10617
+ msg.setIsBonusWagering(value);
10618
+ break;
10619
+ case 12:
10620
+ var value = /** @type {number} */ (reader.readInt32());
10621
+ msg.setRepeatCount(value);
10622
+ break;
10623
+ case 13:
10624
+ var value = /** @type {number} */ (reader.readInt32());
10625
+ msg.setWagerGamesListId(value);
10626
+ break;
10627
+ case 14:
10628
+ var value = /** @type {string} */ (reader.readString());
10629
+ msg.setStartedAt(value);
10630
+ break;
10631
+ case 15:
10632
+ var value = /** @type {string} */ (reader.readString());
10633
+ msg.setFinishedAt(value);
10634
+ break;
10635
+ case 16:
10636
+ var value = /** @type {string} */ (reader.readString());
10637
+ msg.setShowPreviousAt(value);
10638
+ break;
10639
+ case 17:
10640
+ var value = /** @type {number} */ (reader.readInt32());
10641
+ msg.setClaimPeriodInHours(value);
10642
+ break;
10643
+ case 18:
10644
+ var value = /** @type {number} */ (reader.readInt32());
10645
+ msg.setActivationPeriodInHours(value);
10646
+ break;
10647
+ case 19:
10648
+ var value = /** @type {number} */ (reader.readInt32());
10649
+ msg.setWageringPeriodInHours(value);
10650
+ break;
10651
+ case 21:
10652
+ var value = new proto.bonus.BonusReward;
10653
+ reader.readMessage(value,proto.bonus.BonusReward.deserializeBinaryFromReader);
10654
+ msg.addRewards(value);
10655
+ break;
10656
+ case 22:
10657
+ var value = new proto.bonus.BetsRange;
10658
+ reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
10659
+ msg.addBetsRange(value);
10660
+ break;
10661
+ case 23:
10662
+ var value = /** @type {string} */ (reader.readString());
10663
+ msg.setTypeData(value);
10664
+ break;
10665
+ case 24:
10666
+ var value = new proto.bonus.GameItem;
10667
+ reader.readMessage(value,proto.bonus.GameItem.deserializeBinaryFromReader);
10668
+ msg.addWagerGames(value);
10669
+ break;
10670
+ case 25:
10671
+ var value = /** @type {string} */ (reader.readString());
10672
+ msg.setSlug(value);
10673
+ break;
10674
+ case 26:
10675
+ var value = /** @type {string} */ (reader.readString());
10676
+ msg.setCategory(value);
10677
+ break;
10678
+ case 27:
10679
+ var value = /** @type {string} */ (reader.readString());
10680
+ msg.setMobileImage(value);
10681
+ break;
10682
+ case 28:
10683
+ var value = /** @type {string} */ (reader.readString());
10684
+ msg.setMobileImageCdn(value);
10685
+ break;
10686
+ case 29:
10687
+ var value = /** @type {string} */ (reader.readString());
10688
+ msg.setWagerBalancePriority(value);
10689
+ break;
10690
+ case 30:
10691
+ var value = /** @type {string} */ (reader.readString());
10692
+ msg.setPortraitImage(value);
10693
+ break;
10694
+ case 31:
10695
+ var value = /** @type {string} */ (reader.readString());
10696
+ msg.setPortraitImageCdn(value);
10697
+ break;
10698
+ case 33:
10699
+ var value = /** @type {string} */ (reader.readString());
10700
+ msg.setContent(value);
10701
+ break;
10702
+ default:
10703
+ reader.skipField();
10704
+ break;
10705
+ }
10706
+ }
10707
+ return msg;
10708
+ };
10709
+
10710
+
10711
+ /**
10712
+ * Serializes the message to binary data (in protobuf wire format).
10713
+ * @return {!Uint8Array}
10714
+ */
10715
+ proto.bonus.SingleBonusItem.prototype.serializeBinary = function() {
10716
+ var writer = new jspb.BinaryWriter();
10717
+ proto.bonus.SingleBonusItem.serializeBinaryToWriter(this, writer);
10718
+ return writer.getResultBuffer();
10719
+ };
10720
+
10721
+
10722
+ /**
10723
+ * Serializes the given message to binary data (in protobuf wire
10724
+ * format), writing to the given BinaryWriter.
10725
+ * @param {!proto.bonus.SingleBonusItem} message
10726
+ * @param {!jspb.BinaryWriter} writer
10727
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10728
+ */
10729
+ proto.bonus.SingleBonusItem.serializeBinaryToWriter = function(message, writer) {
10730
+ var f = undefined;
10731
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
10732
+ if (f != null) {
10733
+ writer.writeInt32(
10734
+ 1,
10735
+ f
10736
+ );
10737
+ }
10738
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
10739
+ if (f != null) {
10740
+ writer.writeString(
10741
+ 2,
10742
+ f
10743
+ );
10744
+ }
10745
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
10746
+ if (f != null) {
10747
+ writer.writeString(
10748
+ 3,
10749
+ f
10750
+ );
10751
+ }
10752
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
10753
+ if (f != null) {
10754
+ writer.writeString(
10755
+ 4,
10756
+ f
10757
+ );
10758
+ }
10759
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
10760
+ if (f != null) {
10761
+ writer.writeString(
10762
+ 5,
10763
+ f
10764
+ );
10765
+ }
10766
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
10767
+ if (f != null) {
10768
+ writer.writeString(
10769
+ 6,
10770
+ f
10771
+ );
10772
+ }
10773
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
10774
+ if (f != null) {
10775
+ writer.writeString(
10776
+ 7,
10777
+ f
10778
+ );
10779
+ }
10780
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
10781
+ if (f != null) {
10782
+ writer.writeInt32(
10783
+ 8,
10784
+ f
10785
+ );
10786
+ }
10787
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
10788
+ if (f != null) {
10789
+ writer.writeInt32(
10790
+ 9,
10791
+ f
10792
+ );
10793
+ }
10794
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
10795
+ if (f != null) {
10796
+ writer.writeBool(
10797
+ 10,
10798
+ f
10799
+ );
10800
+ }
10801
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
10802
+ if (f != null) {
10803
+ writer.writeBool(
10804
+ 11,
10805
+ f
10806
+ );
10807
+ }
10808
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
10809
+ if (f != null) {
10810
+ writer.writeInt32(
10811
+ 12,
10812
+ f
10813
+ );
10814
+ }
10815
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
10816
+ if (f != null) {
10817
+ writer.writeInt32(
10818
+ 13,
10819
+ f
10820
+ );
10821
+ }
10822
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
10823
+ if (f != null) {
10824
+ writer.writeString(
10825
+ 14,
10826
+ f
10827
+ );
10828
+ }
10829
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
10830
+ if (f != null) {
10831
+ writer.writeString(
10832
+ 15,
10833
+ f
10834
+ );
10835
+ }
10836
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
10837
+ if (f != null) {
10838
+ writer.writeString(
10839
+ 16,
10840
+ f
10841
+ );
10842
+ }
10843
+ f = /** @type {number} */ (jspb.Message.getField(message, 17));
10844
+ if (f != null) {
10845
+ writer.writeInt32(
10846
+ 17,
10847
+ f
10848
+ );
10849
+ }
10850
+ f = /** @type {number} */ (jspb.Message.getField(message, 18));
10851
+ if (f != null) {
10852
+ writer.writeInt32(
10853
+ 18,
10854
+ f
10855
+ );
10856
+ }
10857
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
10858
+ if (f != null) {
10859
+ writer.writeInt32(
10860
+ 19,
10861
+ f
10862
+ );
10863
+ }
10864
+ f = message.getRewardsList();
10865
+ if (f.length > 0) {
10866
+ writer.writeRepeatedMessage(
10867
+ 21,
10868
+ f,
10869
+ proto.bonus.BonusReward.serializeBinaryToWriter
10870
+ );
10871
+ }
10872
+ f = message.getBetsRangeList();
10873
+ if (f.length > 0) {
10874
+ writer.writeRepeatedMessage(
10875
+ 22,
10876
+ f,
10877
+ proto.bonus.BetsRange.serializeBinaryToWriter
10878
+ );
10879
+ }
10880
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
10881
+ if (f != null) {
10882
+ writer.writeString(
10883
+ 23,
10884
+ f
10885
+ );
10886
+ }
10887
+ f = message.getWagerGamesList();
10888
+ if (f.length > 0) {
10889
+ writer.writeRepeatedMessage(
10890
+ 24,
10891
+ f,
10892
+ proto.bonus.GameItem.serializeBinaryToWriter
10893
+ );
10894
+ }
10895
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
10896
+ if (f != null) {
10897
+ writer.writeString(
10898
+ 25,
10899
+ f
10900
+ );
10901
+ }
10902
+ f = /** @type {string} */ (jspb.Message.getField(message, 26));
10903
+ if (f != null) {
10904
+ writer.writeString(
10905
+ 26,
10906
+ f
10907
+ );
10908
+ }
10909
+ f = /** @type {string} */ (jspb.Message.getField(message, 27));
10910
+ if (f != null) {
10911
+ writer.writeString(
10912
+ 27,
10913
+ f
10914
+ );
10915
+ }
10916
+ f = /** @type {string} */ (jspb.Message.getField(message, 28));
10917
+ if (f != null) {
10918
+ writer.writeString(
10919
+ 28,
10920
+ f
10921
+ );
10922
+ }
10923
+ f = /** @type {string} */ (jspb.Message.getField(message, 29));
10924
+ if (f != null) {
10925
+ writer.writeString(
10926
+ 29,
10927
+ f
10928
+ );
10929
+ }
10930
+ f = /** @type {string} */ (jspb.Message.getField(message, 30));
10931
+ if (f != null) {
10932
+ writer.writeString(
10933
+ 30,
10934
+ f
10935
+ );
10936
+ }
10937
+ f = /** @type {string} */ (jspb.Message.getField(message, 31));
10938
+ if (f != null) {
10939
+ writer.writeString(
10940
+ 31,
10941
+ f
10942
+ );
10943
+ }
10944
+ f = /** @type {string} */ (jspb.Message.getField(message, 33));
10945
+ if (f != null) {
10946
+ writer.writeString(
10947
+ 33,
10948
+ f
10949
+ );
10950
+ }
10951
+ };
10952
+
10953
+
10954
+ /**
10955
+ * optional int32 id = 1;
10956
+ * @return {number}
10957
+ */
10958
+ proto.bonus.SingleBonusItem.prototype.getId = function() {
10959
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10960
+ };
10961
+
10962
+
10963
+ /**
10964
+ * @param {number} value
10965
+ * @return {!proto.bonus.SingleBonusItem} returns this
10966
+ */
10967
+ proto.bonus.SingleBonusItem.prototype.setId = function(value) {
10968
+ return jspb.Message.setField(this, 1, value);
10969
+ };
10970
+
10971
+
10972
+ /**
10973
+ * Clears the field making it undefined.
10974
+ * @return {!proto.bonus.SingleBonusItem} returns this
10975
+ */
10976
+ proto.bonus.SingleBonusItem.prototype.clearId = function() {
10977
+ return jspb.Message.setField(this, 1, undefined);
10978
+ };
10979
+
10980
+
10981
+ /**
10982
+ * Returns whether this field is set.
10983
+ * @return {boolean}
10984
+ */
10985
+ proto.bonus.SingleBonusItem.prototype.hasId = function() {
10986
+ return jspb.Message.getField(this, 1) != null;
10987
+ };
10988
+
10989
+
10990
+ /**
10991
+ * optional string title = 2;
10992
+ * @return {string}
10993
+ */
10994
+ proto.bonus.SingleBonusItem.prototype.getTitle = function() {
10995
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10996
+ };
10997
+
10998
+
10999
+ /**
11000
+ * @param {string} value
11001
+ * @return {!proto.bonus.SingleBonusItem} returns this
11002
+ */
11003
+ proto.bonus.SingleBonusItem.prototype.setTitle = function(value) {
11004
+ return jspb.Message.setField(this, 2, value);
11005
+ };
11006
+
11007
+
11008
+ /**
11009
+ * Clears the field making it undefined.
11010
+ * @return {!proto.bonus.SingleBonusItem} returns this
11011
+ */
11012
+ proto.bonus.SingleBonusItem.prototype.clearTitle = function() {
11013
+ return jspb.Message.setField(this, 2, undefined);
11014
+ };
11015
+
11016
+
11017
+ /**
11018
+ * Returns whether this field is set.
11019
+ * @return {boolean}
11020
+ */
11021
+ proto.bonus.SingleBonusItem.prototype.hasTitle = function() {
11022
+ return jspb.Message.getField(this, 2) != null;
11023
+ };
11024
+
11025
+
11026
+ /**
11027
+ * optional string description = 3;
11028
+ * @return {string}
11029
+ */
11030
+ proto.bonus.SingleBonusItem.prototype.getDescription = function() {
11031
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11032
+ };
11033
+
11034
+
11035
+ /**
11036
+ * @param {string} value
11037
+ * @return {!proto.bonus.SingleBonusItem} returns this
11038
+ */
11039
+ proto.bonus.SingleBonusItem.prototype.setDescription = function(value) {
11040
+ return jspb.Message.setField(this, 3, value);
11041
+ };
11042
+
11043
+
11044
+ /**
11045
+ * Clears the field making it undefined.
11046
+ * @return {!proto.bonus.SingleBonusItem} returns this
11047
+ */
11048
+ proto.bonus.SingleBonusItem.prototype.clearDescription = function() {
11049
+ return jspb.Message.setField(this, 3, undefined);
11050
+ };
11051
+
11052
+
11053
+ /**
11054
+ * Returns whether this field is set.
11055
+ * @return {boolean}
11056
+ */
11057
+ proto.bonus.SingleBonusItem.prototype.hasDescription = function() {
11058
+ return jspb.Message.getField(this, 3) != null;
11059
+ };
11060
+
11061
+
11062
+ /**
11063
+ * optional string image = 4;
11064
+ * @return {string}
11065
+ */
11066
+ proto.bonus.SingleBonusItem.prototype.getImage = function() {
11067
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11068
+ };
11069
+
11070
+
11071
+ /**
11072
+ * @param {string} value
11073
+ * @return {!proto.bonus.SingleBonusItem} returns this
11074
+ */
11075
+ proto.bonus.SingleBonusItem.prototype.setImage = function(value) {
11076
+ return jspb.Message.setField(this, 4, value);
11077
+ };
11078
+
11079
+
11080
+ /**
11081
+ * Clears the field making it undefined.
11082
+ * @return {!proto.bonus.SingleBonusItem} returns this
11083
+ */
11084
+ proto.bonus.SingleBonusItem.prototype.clearImage = function() {
11085
+ return jspb.Message.setField(this, 4, undefined);
11086
+ };
11087
+
11088
+
11089
+ /**
11090
+ * Returns whether this field is set.
11091
+ * @return {boolean}
11092
+ */
11093
+ proto.bonus.SingleBonusItem.prototype.hasImage = function() {
11094
+ return jspb.Message.getField(this, 4) != null;
11095
+ };
11096
+
11097
+
11098
+ /**
11099
+ * optional string image_cdn = 5;
11100
+ * @return {string}
11101
+ */
11102
+ proto.bonus.SingleBonusItem.prototype.getImageCdn = function() {
11103
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11104
+ };
11105
+
11106
+
11107
+ /**
11108
+ * @param {string} value
11109
+ * @return {!proto.bonus.SingleBonusItem} returns this
11110
+ */
11111
+ proto.bonus.SingleBonusItem.prototype.setImageCdn = function(value) {
11112
+ return jspb.Message.setField(this, 5, value);
11113
+ };
11114
+
11115
+
11116
+ /**
11117
+ * Clears the field making it undefined.
11118
+ * @return {!proto.bonus.SingleBonusItem} returns this
11119
+ */
11120
+ proto.bonus.SingleBonusItem.prototype.clearImageCdn = function() {
11121
+ return jspb.Message.setField(this, 5, undefined);
11122
+ };
11123
+
11124
+
11125
+ /**
11126
+ * Returns whether this field is set.
11127
+ * @return {boolean}
11128
+ */
11129
+ proto.bonus.SingleBonusItem.prototype.hasImageCdn = function() {
11130
+ return jspb.Message.getField(this, 5) != null;
11131
+ };
11132
+
11133
+
11134
+ /**
11135
+ * optional string status = 6;
11136
+ * @return {string}
11137
+ */
11138
+ proto.bonus.SingleBonusItem.prototype.getStatus = function() {
11139
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
11140
+ };
11141
+
11142
+
11143
+ /**
11144
+ * @param {string} value
11145
+ * @return {!proto.bonus.SingleBonusItem} returns this
11146
+ */
11147
+ proto.bonus.SingleBonusItem.prototype.setStatus = function(value) {
11148
+ return jspb.Message.setField(this, 6, value);
11149
+ };
11150
+
11151
+
11152
+ /**
11153
+ * Clears the field making it undefined.
11154
+ * @return {!proto.bonus.SingleBonusItem} returns this
11155
+ */
11156
+ proto.bonus.SingleBonusItem.prototype.clearStatus = function() {
11157
+ return jspb.Message.setField(this, 6, undefined);
11158
+ };
11159
+
11160
+
11161
+ /**
11162
+ * Returns whether this field is set.
11163
+ * @return {boolean}
11164
+ */
11165
+ proto.bonus.SingleBonusItem.prototype.hasStatus = function() {
11166
+ return jspb.Message.getField(this, 6) != null;
11167
+ };
11168
+
11169
+
11170
+ /**
11171
+ * optional string type = 7;
11172
+ * @return {string}
11173
+ */
11174
+ proto.bonus.SingleBonusItem.prototype.getType = function() {
11175
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
11176
+ };
11177
+
11178
+
11179
+ /**
11180
+ * @param {string} value
11181
+ * @return {!proto.bonus.SingleBonusItem} returns this
11182
+ */
11183
+ proto.bonus.SingleBonusItem.prototype.setType = function(value) {
11184
+ return jspb.Message.setField(this, 7, value);
11185
+ };
11186
+
11187
+
11188
+ /**
11189
+ * Clears the field making it undefined.
11190
+ * @return {!proto.bonus.SingleBonusItem} returns this
11191
+ */
11192
+ proto.bonus.SingleBonusItem.prototype.clearType = function() {
11193
+ return jspb.Message.setField(this, 7, undefined);
11194
+ };
11195
+
11196
+
11197
+ /**
11198
+ * Returns whether this field is set.
11199
+ * @return {boolean}
11200
+ */
11201
+ proto.bonus.SingleBonusItem.prototype.hasType = function() {
11202
+ return jspb.Message.getField(this, 7) != null;
11203
+ };
11204
+
11205
+
11206
+ /**
11207
+ * optional int32 wager_x = 8;
11208
+ * @return {number}
11209
+ */
11210
+ proto.bonus.SingleBonusItem.prototype.getWagerX = function() {
11211
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
11212
+ };
11213
+
11214
+
11215
+ /**
11216
+ * @param {number} value
11217
+ * @return {!proto.bonus.SingleBonusItem} returns this
11218
+ */
11219
+ proto.bonus.SingleBonusItem.prototype.setWagerX = function(value) {
11220
+ return jspb.Message.setField(this, 8, value);
11221
+ };
11222
+
11223
+
11224
+ /**
11225
+ * Clears the field making it undefined.
11226
+ * @return {!proto.bonus.SingleBonusItem} returns this
11227
+ */
11228
+ proto.bonus.SingleBonusItem.prototype.clearWagerX = function() {
11229
+ return jspb.Message.setField(this, 8, undefined);
11230
+ };
11231
+
11232
+
11233
+ /**
11234
+ * Returns whether this field is set.
11235
+ * @return {boolean}
11236
+ */
11237
+ proto.bonus.SingleBonusItem.prototype.hasWagerX = function() {
11238
+ return jspb.Message.getField(this, 8) != null;
11239
+ };
11240
+
11241
+
11242
+ /**
11243
+ * optional int32 payout_x = 9;
11244
+ * @return {number}
11245
+ */
11246
+ proto.bonus.SingleBonusItem.prototype.getPayoutX = function() {
11247
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
11248
+ };
11249
+
11250
+
11251
+ /**
11252
+ * @param {number} value
11253
+ * @return {!proto.bonus.SingleBonusItem} returns this
11254
+ */
11255
+ proto.bonus.SingleBonusItem.prototype.setPayoutX = function(value) {
11256
+ return jspb.Message.setField(this, 9, value);
11257
+ };
11258
+
11259
+
11260
+ /**
11261
+ * Clears the field making it undefined.
11262
+ * @return {!proto.bonus.SingleBonusItem} returns this
11263
+ */
11264
+ proto.bonus.SingleBonusItem.prototype.clearPayoutX = function() {
11265
+ return jspb.Message.setField(this, 9, undefined);
11266
+ };
11267
+
11268
+
11269
+ /**
11270
+ * Returns whether this field is set.
11271
+ * @return {boolean}
11272
+ */
11273
+ proto.bonus.SingleBonusItem.prototype.hasPayoutX = function() {
11274
+ return jspb.Message.getField(this, 9) != null;
11275
+ };
11276
+
11277
+
11278
+ /**
11279
+ * optional bool is_real_wagering = 10;
11280
+ * @return {boolean}
11281
+ */
11282
+ proto.bonus.SingleBonusItem.prototype.getIsRealWagering = function() {
11283
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
11284
+ };
11285
+
11286
+
11287
+ /**
11288
+ * @param {boolean} value
11289
+ * @return {!proto.bonus.SingleBonusItem} returns this
11290
+ */
11291
+ proto.bonus.SingleBonusItem.prototype.setIsRealWagering = function(value) {
11292
+ return jspb.Message.setField(this, 10, value);
11293
+ };
11294
+
11295
+
11296
+ /**
11297
+ * Clears the field making it undefined.
11298
+ * @return {!proto.bonus.SingleBonusItem} returns this
11299
+ */
11300
+ proto.bonus.SingleBonusItem.prototype.clearIsRealWagering = function() {
11301
+ return jspb.Message.setField(this, 10, undefined);
11302
+ };
11303
+
11304
+
11305
+ /**
11306
+ * Returns whether this field is set.
11307
+ * @return {boolean}
11308
+ */
11309
+ proto.bonus.SingleBonusItem.prototype.hasIsRealWagering = function() {
11310
+ return jspb.Message.getField(this, 10) != null;
11311
+ };
11312
+
11313
+
11314
+ /**
11315
+ * optional bool is_bonus_wagering = 11;
11316
+ * @return {boolean}
11317
+ */
11318
+ proto.bonus.SingleBonusItem.prototype.getIsBonusWagering = function() {
11319
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
11320
+ };
11321
+
11322
+
11323
+ /**
11324
+ * @param {boolean} value
11325
+ * @return {!proto.bonus.SingleBonusItem} returns this
11326
+ */
11327
+ proto.bonus.SingleBonusItem.prototype.setIsBonusWagering = function(value) {
11328
+ return jspb.Message.setField(this, 11, value);
11329
+ };
11330
+
11331
+
11332
+ /**
11333
+ * Clears the field making it undefined.
11334
+ * @return {!proto.bonus.SingleBonusItem} returns this
11335
+ */
11336
+ proto.bonus.SingleBonusItem.prototype.clearIsBonusWagering = function() {
11337
+ return jspb.Message.setField(this, 11, undefined);
11338
+ };
11339
+
11340
+
11341
+ /**
11342
+ * Returns whether this field is set.
11343
+ * @return {boolean}
11344
+ */
11345
+ proto.bonus.SingleBonusItem.prototype.hasIsBonusWagering = function() {
11346
+ return jspb.Message.getField(this, 11) != null;
11347
+ };
11348
+
11349
+
11350
+ /**
11351
+ * optional int32 repeat_count = 12;
11352
+ * @return {number}
11353
+ */
11354
+ proto.bonus.SingleBonusItem.prototype.getRepeatCount = function() {
11355
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
11356
+ };
11357
+
11358
+
11359
+ /**
11360
+ * @param {number} value
11361
+ * @return {!proto.bonus.SingleBonusItem} returns this
11362
+ */
11363
+ proto.bonus.SingleBonusItem.prototype.setRepeatCount = function(value) {
11364
+ return jspb.Message.setField(this, 12, value);
11365
+ };
11366
+
11367
+
11368
+ /**
11369
+ * Clears the field making it undefined.
11370
+ * @return {!proto.bonus.SingleBonusItem} returns this
11371
+ */
11372
+ proto.bonus.SingleBonusItem.prototype.clearRepeatCount = function() {
11373
+ return jspb.Message.setField(this, 12, undefined);
11374
+ };
11375
+
11376
+
11377
+ /**
11378
+ * Returns whether this field is set.
11379
+ * @return {boolean}
11380
+ */
11381
+ proto.bonus.SingleBonusItem.prototype.hasRepeatCount = function() {
11382
+ return jspb.Message.getField(this, 12) != null;
11383
+ };
11384
+
11385
+
11386
+ /**
11387
+ * optional int32 wager_games_list_id = 13;
11388
+ * @return {number}
11389
+ */
11390
+ proto.bonus.SingleBonusItem.prototype.getWagerGamesListId = function() {
11391
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
11392
+ };
11393
+
11394
+
11395
+ /**
11396
+ * @param {number} value
11397
+ * @return {!proto.bonus.SingleBonusItem} returns this
11398
+ */
11399
+ proto.bonus.SingleBonusItem.prototype.setWagerGamesListId = function(value) {
11400
+ return jspb.Message.setField(this, 13, value);
11401
+ };
11402
+
11403
+
11404
+ /**
11405
+ * Clears the field making it undefined.
11406
+ * @return {!proto.bonus.SingleBonusItem} returns this
11407
+ */
11408
+ proto.bonus.SingleBonusItem.prototype.clearWagerGamesListId = function() {
11409
+ return jspb.Message.setField(this, 13, undefined);
11410
+ };
11411
+
11412
+
11413
+ /**
11414
+ * Returns whether this field is set.
11415
+ * @return {boolean}
11416
+ */
11417
+ proto.bonus.SingleBonusItem.prototype.hasWagerGamesListId = function() {
11418
+ return jspb.Message.getField(this, 13) != null;
11419
+ };
11420
+
11421
+
11422
+ /**
11423
+ * optional string started_at = 14;
11424
+ * @return {string}
11425
+ */
11426
+ proto.bonus.SingleBonusItem.prototype.getStartedAt = function() {
11427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
11428
+ };
11429
+
11430
+
11431
+ /**
11432
+ * @param {string} value
11433
+ * @return {!proto.bonus.SingleBonusItem} returns this
11434
+ */
11435
+ proto.bonus.SingleBonusItem.prototype.setStartedAt = function(value) {
11436
+ return jspb.Message.setField(this, 14, value);
11437
+ };
11438
+
11439
+
11440
+ /**
11441
+ * Clears the field making it undefined.
11442
+ * @return {!proto.bonus.SingleBonusItem} returns this
11443
+ */
11444
+ proto.bonus.SingleBonusItem.prototype.clearStartedAt = function() {
11445
+ return jspb.Message.setField(this, 14, undefined);
11446
+ };
11447
+
11448
+
11449
+ /**
11450
+ * Returns whether this field is set.
11451
+ * @return {boolean}
11452
+ */
11453
+ proto.bonus.SingleBonusItem.prototype.hasStartedAt = function() {
11454
+ return jspb.Message.getField(this, 14) != null;
11455
+ };
11456
+
11457
+
11458
+ /**
11459
+ * optional string finished_at = 15;
11460
+ * @return {string}
11461
+ */
11462
+ proto.bonus.SingleBonusItem.prototype.getFinishedAt = function() {
11463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
11464
+ };
11465
+
11466
+
11467
+ /**
11468
+ * @param {string} value
11469
+ * @return {!proto.bonus.SingleBonusItem} returns this
11470
+ */
11471
+ proto.bonus.SingleBonusItem.prototype.setFinishedAt = function(value) {
11472
+ return jspb.Message.setField(this, 15, value);
11473
+ };
11474
+
11475
+
11476
+ /**
11477
+ * Clears the field making it undefined.
11478
+ * @return {!proto.bonus.SingleBonusItem} returns this
11479
+ */
11480
+ proto.bonus.SingleBonusItem.prototype.clearFinishedAt = function() {
11481
+ return jspb.Message.setField(this, 15, undefined);
11482
+ };
11483
+
11484
+
11485
+ /**
11486
+ * Returns whether this field is set.
11487
+ * @return {boolean}
11488
+ */
11489
+ proto.bonus.SingleBonusItem.prototype.hasFinishedAt = function() {
11490
+ return jspb.Message.getField(this, 15) != null;
11491
+ };
11492
+
11493
+
11494
+ /**
11495
+ * optional string show_previous_at = 16;
11496
+ * @return {string}
11497
+ */
11498
+ proto.bonus.SingleBonusItem.prototype.getShowPreviousAt = function() {
11499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
11500
+ };
11501
+
11502
+
11503
+ /**
11504
+ * @param {string} value
11505
+ * @return {!proto.bonus.SingleBonusItem} returns this
11506
+ */
11507
+ proto.bonus.SingleBonusItem.prototype.setShowPreviousAt = function(value) {
11508
+ return jspb.Message.setField(this, 16, value);
11509
+ };
11510
+
11511
+
11512
+ /**
11513
+ * Clears the field making it undefined.
11514
+ * @return {!proto.bonus.SingleBonusItem} returns this
11515
+ */
11516
+ proto.bonus.SingleBonusItem.prototype.clearShowPreviousAt = function() {
11517
+ return jspb.Message.setField(this, 16, undefined);
11518
+ };
11519
+
11520
+
11521
+ /**
11522
+ * Returns whether this field is set.
11523
+ * @return {boolean}
11524
+ */
11525
+ proto.bonus.SingleBonusItem.prototype.hasShowPreviousAt = function() {
11526
+ return jspb.Message.getField(this, 16) != null;
11527
+ };
11528
+
11529
+
11530
+ /**
11531
+ * optional int32 claim_period_in_hours = 17;
11532
+ * @return {number}
11533
+ */
11534
+ proto.bonus.SingleBonusItem.prototype.getClaimPeriodInHours = function() {
11535
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
11536
+ };
11537
+
11538
+
11539
+ /**
11540
+ * @param {number} value
11541
+ * @return {!proto.bonus.SingleBonusItem} returns this
11542
+ */
11543
+ proto.bonus.SingleBonusItem.prototype.setClaimPeriodInHours = function(value) {
11544
+ return jspb.Message.setField(this, 17, value);
11545
+ };
11546
+
11547
+
11548
+ /**
11549
+ * Clears the field making it undefined.
11550
+ * @return {!proto.bonus.SingleBonusItem} returns this
11551
+ */
11552
+ proto.bonus.SingleBonusItem.prototype.clearClaimPeriodInHours = function() {
11553
+ return jspb.Message.setField(this, 17, undefined);
11554
+ };
11555
+
11556
+
11557
+ /**
11558
+ * Returns whether this field is set.
11559
+ * @return {boolean}
11560
+ */
11561
+ proto.bonus.SingleBonusItem.prototype.hasClaimPeriodInHours = function() {
11562
+ return jspb.Message.getField(this, 17) != null;
11563
+ };
11564
+
11565
+
11566
+ /**
11567
+ * optional int32 activation_period_in_hours = 18;
11568
+ * @return {number}
11569
+ */
11570
+ proto.bonus.SingleBonusItem.prototype.getActivationPeriodInHours = function() {
11571
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
11572
+ };
11573
+
11574
+
11575
+ /**
11576
+ * @param {number} value
11577
+ * @return {!proto.bonus.SingleBonusItem} returns this
11578
+ */
11579
+ proto.bonus.SingleBonusItem.prototype.setActivationPeriodInHours = function(value) {
11580
+ return jspb.Message.setField(this, 18, value);
11581
+ };
11582
+
11583
+
11584
+ /**
11585
+ * Clears the field making it undefined.
11586
+ * @return {!proto.bonus.SingleBonusItem} returns this
11587
+ */
11588
+ proto.bonus.SingleBonusItem.prototype.clearActivationPeriodInHours = function() {
11589
+ return jspb.Message.setField(this, 18, undefined);
11590
+ };
11591
+
11592
+
11593
+ /**
11594
+ * Returns whether this field is set.
11595
+ * @return {boolean}
11596
+ */
11597
+ proto.bonus.SingleBonusItem.prototype.hasActivationPeriodInHours = function() {
11598
+ return jspb.Message.getField(this, 18) != null;
11599
+ };
11600
+
11601
+
11602
+ /**
11603
+ * optional int32 wagering_period_in_hours = 19;
11604
+ * @return {number}
11605
+ */
11606
+ proto.bonus.SingleBonusItem.prototype.getWageringPeriodInHours = function() {
11607
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
11608
+ };
11609
+
11610
+
11611
+ /**
11612
+ * @param {number} value
11613
+ * @return {!proto.bonus.SingleBonusItem} returns this
11614
+ */
11615
+ proto.bonus.SingleBonusItem.prototype.setWageringPeriodInHours = function(value) {
11616
+ return jspb.Message.setField(this, 19, value);
11617
+ };
11618
+
11619
+
11620
+ /**
11621
+ * Clears the field making it undefined.
11622
+ * @return {!proto.bonus.SingleBonusItem} returns this
11623
+ */
11624
+ proto.bonus.SingleBonusItem.prototype.clearWageringPeriodInHours = function() {
11625
+ return jspb.Message.setField(this, 19, undefined);
11626
+ };
11627
+
11628
+
11629
+ /**
11630
+ * Returns whether this field is set.
11631
+ * @return {boolean}
11632
+ */
11633
+ proto.bonus.SingleBonusItem.prototype.hasWageringPeriodInHours = function() {
11634
+ return jspb.Message.getField(this, 19) != null;
11635
+ };
11636
+
11637
+
11638
+ /**
11639
+ * repeated BonusReward rewards = 21;
11640
+ * @return {!Array<!proto.bonus.BonusReward>}
11641
+ */
11642
+ proto.bonus.SingleBonusItem.prototype.getRewardsList = function() {
11643
+ return /** @type{!Array<!proto.bonus.BonusReward>} */ (
11644
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.BonusReward, 21));
11645
+ };
11646
+
11647
+
11648
+ /**
11649
+ * @param {!Array<!proto.bonus.BonusReward>} value
11650
+ * @return {!proto.bonus.SingleBonusItem} returns this
11651
+ */
11652
+ proto.bonus.SingleBonusItem.prototype.setRewardsList = function(value) {
11653
+ return jspb.Message.setRepeatedWrapperField(this, 21, value);
11654
+ };
11655
+
11656
+
11657
+ /**
11658
+ * @param {!proto.bonus.BonusReward=} opt_value
11659
+ * @param {number=} opt_index
11660
+ * @return {!proto.bonus.BonusReward}
11661
+ */
11662
+ proto.bonus.SingleBonusItem.prototype.addRewards = function(opt_value, opt_index) {
11663
+ return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.bonus.BonusReward, opt_index);
11664
+ };
11665
+
11666
+
11667
+ /**
11668
+ * Clears the list making it empty but non-null.
11669
+ * @return {!proto.bonus.SingleBonusItem} returns this
11670
+ */
11671
+ proto.bonus.SingleBonusItem.prototype.clearRewardsList = function() {
11672
+ return this.setRewardsList([]);
11673
+ };
11674
+
11675
+
11676
+ /**
11677
+ * repeated BetsRange bets_range = 22;
11678
+ * @return {!Array<!proto.bonus.BetsRange>}
11679
+ */
11680
+ proto.bonus.SingleBonusItem.prototype.getBetsRangeList = function() {
11681
+ return /** @type{!Array<!proto.bonus.BetsRange>} */ (
11682
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.BetsRange, 22));
11683
+ };
11684
+
11685
+
11686
+ /**
11687
+ * @param {!Array<!proto.bonus.BetsRange>} value
11688
+ * @return {!proto.bonus.SingleBonusItem} returns this
11689
+ */
11690
+ proto.bonus.SingleBonusItem.prototype.setBetsRangeList = function(value) {
11691
+ return jspb.Message.setRepeatedWrapperField(this, 22, value);
11692
+ };
11693
+
11694
+
11695
+ /**
11696
+ * @param {!proto.bonus.BetsRange=} opt_value
11697
+ * @param {number=} opt_index
11698
+ * @return {!proto.bonus.BetsRange}
11699
+ */
11700
+ proto.bonus.SingleBonusItem.prototype.addBetsRange = function(opt_value, opt_index) {
11701
+ return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.bonus.BetsRange, opt_index);
11702
+ };
11703
+
11704
+
11705
+ /**
11706
+ * Clears the list making it empty but non-null.
11707
+ * @return {!proto.bonus.SingleBonusItem} returns this
11708
+ */
11709
+ proto.bonus.SingleBonusItem.prototype.clearBetsRangeList = function() {
11710
+ return this.setBetsRangeList([]);
11711
+ };
11712
+
11713
+
11714
+ /**
11715
+ * optional string type_data = 23;
11716
+ * @return {string}
11717
+ */
11718
+ proto.bonus.SingleBonusItem.prototype.getTypeData = function() {
11719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
11720
+ };
11721
+
11722
+
11723
+ /**
11724
+ * @param {string} value
11725
+ * @return {!proto.bonus.SingleBonusItem} returns this
11726
+ */
11727
+ proto.bonus.SingleBonusItem.prototype.setTypeData = function(value) {
11728
+ return jspb.Message.setField(this, 23, value);
11729
+ };
11730
+
11731
+
11732
+ /**
11733
+ * Clears the field making it undefined.
11734
+ * @return {!proto.bonus.SingleBonusItem} returns this
11735
+ */
11736
+ proto.bonus.SingleBonusItem.prototype.clearTypeData = function() {
11737
+ return jspb.Message.setField(this, 23, undefined);
11738
+ };
11739
+
11740
+
11741
+ /**
11742
+ * Returns whether this field is set.
11743
+ * @return {boolean}
11744
+ */
11745
+ proto.bonus.SingleBonusItem.prototype.hasTypeData = function() {
11746
+ return jspb.Message.getField(this, 23) != null;
11747
+ };
11748
+
11749
+
11750
+ /**
11751
+ * repeated GameItem wager_games = 24;
11752
+ * @return {!Array<!proto.bonus.GameItem>}
11753
+ */
11754
+ proto.bonus.SingleBonusItem.prototype.getWagerGamesList = function() {
11755
+ return /** @type{!Array<!proto.bonus.GameItem>} */ (
11756
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.GameItem, 24));
11757
+ };
11758
+
11759
+
11760
+ /**
11761
+ * @param {!Array<!proto.bonus.GameItem>} value
11762
+ * @return {!proto.bonus.SingleBonusItem} returns this
11763
+ */
11764
+ proto.bonus.SingleBonusItem.prototype.setWagerGamesList = function(value) {
11765
+ return jspb.Message.setRepeatedWrapperField(this, 24, value);
11766
+ };
11767
+
11768
+
11769
+ /**
11770
+ * @param {!proto.bonus.GameItem=} opt_value
11771
+ * @param {number=} opt_index
11772
+ * @return {!proto.bonus.GameItem}
11773
+ */
11774
+ proto.bonus.SingleBonusItem.prototype.addWagerGames = function(opt_value, opt_index) {
11775
+ return jspb.Message.addToRepeatedWrapperField(this, 24, opt_value, proto.bonus.GameItem, opt_index);
11776
+ };
11777
+
11778
+
11779
+ /**
11780
+ * Clears the list making it empty but non-null.
11781
+ * @return {!proto.bonus.SingleBonusItem} returns this
11782
+ */
11783
+ proto.bonus.SingleBonusItem.prototype.clearWagerGamesList = function() {
11784
+ return this.setWagerGamesList([]);
11785
+ };
11786
+
11787
+
11788
+ /**
11789
+ * optional string slug = 25;
11790
+ * @return {string}
11791
+ */
11792
+ proto.bonus.SingleBonusItem.prototype.getSlug = function() {
11793
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
11794
+ };
11795
+
11796
+
11797
+ /**
11798
+ * @param {string} value
11799
+ * @return {!proto.bonus.SingleBonusItem} returns this
11800
+ */
11801
+ proto.bonus.SingleBonusItem.prototype.setSlug = function(value) {
11802
+ return jspb.Message.setField(this, 25, value);
11803
+ };
11804
+
11805
+
11806
+ /**
11807
+ * Clears the field making it undefined.
11808
+ * @return {!proto.bonus.SingleBonusItem} returns this
11809
+ */
11810
+ proto.bonus.SingleBonusItem.prototype.clearSlug = function() {
11811
+ return jspb.Message.setField(this, 25, undefined);
11812
+ };
11813
+
11814
+
11815
+ /**
11816
+ * Returns whether this field is set.
11817
+ * @return {boolean}
11818
+ */
11819
+ proto.bonus.SingleBonusItem.prototype.hasSlug = function() {
11820
+ return jspb.Message.getField(this, 25) != null;
11821
+ };
11822
+
11823
+
11824
+ /**
11825
+ * optional string category = 26;
11826
+ * @return {string}
11827
+ */
11828
+ proto.bonus.SingleBonusItem.prototype.getCategory = function() {
11829
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
11830
+ };
11831
+
11832
+
11833
+ /**
11834
+ * @param {string} value
11835
+ * @return {!proto.bonus.SingleBonusItem} returns this
11836
+ */
11837
+ proto.bonus.SingleBonusItem.prototype.setCategory = function(value) {
11838
+ return jspb.Message.setField(this, 26, value);
11839
+ };
11840
+
11841
+
11842
+ /**
11843
+ * Clears the field making it undefined.
11844
+ * @return {!proto.bonus.SingleBonusItem} returns this
11845
+ */
11846
+ proto.bonus.SingleBonusItem.prototype.clearCategory = function() {
11847
+ return jspb.Message.setField(this, 26, undefined);
11848
+ };
11849
+
11850
+
11851
+ /**
11852
+ * Returns whether this field is set.
11853
+ * @return {boolean}
11854
+ */
11855
+ proto.bonus.SingleBonusItem.prototype.hasCategory = function() {
11856
+ return jspb.Message.getField(this, 26) != null;
11857
+ };
11858
+
11859
+
11860
+ /**
11861
+ * optional string mobile_image = 27;
11862
+ * @return {string}
11863
+ */
11864
+ proto.bonus.SingleBonusItem.prototype.getMobileImage = function() {
11865
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
11866
+ };
11867
+
11868
+
11869
+ /**
11870
+ * @param {string} value
11871
+ * @return {!proto.bonus.SingleBonusItem} returns this
11872
+ */
11873
+ proto.bonus.SingleBonusItem.prototype.setMobileImage = function(value) {
11874
+ return jspb.Message.setField(this, 27, value);
11875
+ };
11876
+
11877
+
11878
+ /**
11879
+ * Clears the field making it undefined.
11880
+ * @return {!proto.bonus.SingleBonusItem} returns this
11881
+ */
11882
+ proto.bonus.SingleBonusItem.prototype.clearMobileImage = function() {
11883
+ return jspb.Message.setField(this, 27, undefined);
11884
+ };
11885
+
11886
+
11887
+ /**
11888
+ * Returns whether this field is set.
11889
+ * @return {boolean}
11890
+ */
11891
+ proto.bonus.SingleBonusItem.prototype.hasMobileImage = function() {
11892
+ return jspb.Message.getField(this, 27) != null;
11893
+ };
11894
+
11895
+
11896
+ /**
11897
+ * optional string mobile_image_cdn = 28;
11898
+ * @return {string}
11899
+ */
11900
+ proto.bonus.SingleBonusItem.prototype.getMobileImageCdn = function() {
11901
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
11902
+ };
11903
+
11904
+
11905
+ /**
11906
+ * @param {string} value
11907
+ * @return {!proto.bonus.SingleBonusItem} returns this
11908
+ */
11909
+ proto.bonus.SingleBonusItem.prototype.setMobileImageCdn = function(value) {
11910
+ return jspb.Message.setField(this, 28, value);
11911
+ };
11912
+
11913
+
11914
+ /**
11915
+ * Clears the field making it undefined.
11916
+ * @return {!proto.bonus.SingleBonusItem} returns this
11917
+ */
11918
+ proto.bonus.SingleBonusItem.prototype.clearMobileImageCdn = function() {
11919
+ return jspb.Message.setField(this, 28, undefined);
11920
+ };
11921
+
11922
+
11923
+ /**
11924
+ * Returns whether this field is set.
11925
+ * @return {boolean}
11926
+ */
11927
+ proto.bonus.SingleBonusItem.prototype.hasMobileImageCdn = function() {
11928
+ return jspb.Message.getField(this, 28) != null;
11929
+ };
11930
+
11931
+
11932
+ /**
11933
+ * optional string wager_balance_priority = 29;
11934
+ * @return {string}
11935
+ */
11936
+ proto.bonus.SingleBonusItem.prototype.getWagerBalancePriority = function() {
11937
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
11938
+ };
11939
+
11940
+
11941
+ /**
11942
+ * @param {string} value
11943
+ * @return {!proto.bonus.SingleBonusItem} returns this
11944
+ */
11945
+ proto.bonus.SingleBonusItem.prototype.setWagerBalancePriority = function(value) {
11946
+ return jspb.Message.setField(this, 29, value);
11947
+ };
11948
+
11949
+
11950
+ /**
11951
+ * Clears the field making it undefined.
11952
+ * @return {!proto.bonus.SingleBonusItem} returns this
11953
+ */
11954
+ proto.bonus.SingleBonusItem.prototype.clearWagerBalancePriority = function() {
11955
+ return jspb.Message.setField(this, 29, undefined);
11956
+ };
11957
+
11958
+
11959
+ /**
11960
+ * Returns whether this field is set.
11961
+ * @return {boolean}
11962
+ */
11963
+ proto.bonus.SingleBonusItem.prototype.hasWagerBalancePriority = function() {
11964
+ return jspb.Message.getField(this, 29) != null;
11965
+ };
11966
+
11967
+
11968
+ /**
11969
+ * optional string portrait_image = 30;
11970
+ * @return {string}
11971
+ */
11972
+ proto.bonus.SingleBonusItem.prototype.getPortraitImage = function() {
11973
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
11974
+ };
11975
+
11976
+
11977
+ /**
11978
+ * @param {string} value
11979
+ * @return {!proto.bonus.SingleBonusItem} returns this
11980
+ */
11981
+ proto.bonus.SingleBonusItem.prototype.setPortraitImage = function(value) {
11982
+ return jspb.Message.setField(this, 30, value);
11983
+ };
11984
+
11985
+
11986
+ /**
11987
+ * Clears the field making it undefined.
11988
+ * @return {!proto.bonus.SingleBonusItem} returns this
11989
+ */
11990
+ proto.bonus.SingleBonusItem.prototype.clearPortraitImage = function() {
11991
+ return jspb.Message.setField(this, 30, undefined);
11992
+ };
11993
+
11994
+
11995
+ /**
11996
+ * Returns whether this field is set.
11997
+ * @return {boolean}
11998
+ */
11999
+ proto.bonus.SingleBonusItem.prototype.hasPortraitImage = function() {
12000
+ return jspb.Message.getField(this, 30) != null;
12001
+ };
12002
+
12003
+
12004
+ /**
12005
+ * optional string portrait_image_cdn = 31;
12006
+ * @return {string}
12007
+ */
12008
+ proto.bonus.SingleBonusItem.prototype.getPortraitImageCdn = function() {
12009
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
12010
+ };
12011
+
12012
+
12013
+ /**
12014
+ * @param {string} value
12015
+ * @return {!proto.bonus.SingleBonusItem} returns this
12016
+ */
12017
+ proto.bonus.SingleBonusItem.prototype.setPortraitImageCdn = function(value) {
12018
+ return jspb.Message.setField(this, 31, value);
12019
+ };
12020
+
12021
+
12022
+ /**
12023
+ * Clears the field making it undefined.
12024
+ * @return {!proto.bonus.SingleBonusItem} returns this
12025
+ */
12026
+ proto.bonus.SingleBonusItem.prototype.clearPortraitImageCdn = function() {
12027
+ return jspb.Message.setField(this, 31, undefined);
12028
+ };
12029
+
12030
+
12031
+ /**
12032
+ * Returns whether this field is set.
12033
+ * @return {boolean}
12034
+ */
12035
+ proto.bonus.SingleBonusItem.prototype.hasPortraitImageCdn = function() {
12036
+ return jspb.Message.getField(this, 31) != null;
12037
+ };
12038
+
12039
+
12040
+ /**
12041
+ * optional string content = 33;
12042
+ * @return {string}
12043
+ */
12044
+ proto.bonus.SingleBonusItem.prototype.getContent = function() {
12045
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
12046
+ };
12047
+
12048
+
12049
+ /**
12050
+ * @param {string} value
12051
+ * @return {!proto.bonus.SingleBonusItem} returns this
12052
+ */
12053
+ proto.bonus.SingleBonusItem.prototype.setContent = function(value) {
12054
+ return jspb.Message.setField(this, 33, value);
12055
+ };
12056
+
12057
+
12058
+ /**
12059
+ * Clears the field making it undefined.
12060
+ * @return {!proto.bonus.SingleBonusItem} returns this
12061
+ */
12062
+ proto.bonus.SingleBonusItem.prototype.clearContent = function() {
12063
+ return jspb.Message.setField(this, 33, undefined);
12064
+ };
12065
+
12066
+
12067
+ /**
12068
+ * Returns whether this field is set.
12069
+ * @return {boolean}
12070
+ */
12071
+ proto.bonus.SingleBonusItem.prototype.hasContent = function() {
12072
+ return jspb.Message.getField(this, 33) != null;
12073
+ };
12074
+
12075
+
12076
+
12077
+
12078
+
12079
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12080
+ /**
12081
+ * Creates an object representation of this proto.
12082
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12083
+ * Optional fields that are not set will be set to undefined.
12084
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12085
+ * For the list of reserved names please see:
12086
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12087
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12088
+ * JSPB instance for transitional soy proto support:
12089
+ * http://goto/soy-param-migration
12090
+ * @return {!Object}
12091
+ */
12092
+ proto.bonus.SingleBonusResponse.prototype.toObject = function(opt_includeInstance) {
12093
+ return proto.bonus.SingleBonusResponse.toObject(opt_includeInstance, this);
12094
+ };
12095
+
12096
+
12097
+ /**
12098
+ * Static version of the {@see toObject} method.
12099
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12100
+ * the JSPB instance for transitional soy proto support:
12101
+ * http://goto/soy-param-migration
12102
+ * @param {!proto.bonus.SingleBonusResponse} msg The msg instance to transform.
12103
+ * @return {!Object}
12104
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12105
+ */
12106
+ proto.bonus.SingleBonusResponse.toObject = function(includeInstance, msg) {
12107
+ var f, obj = {
12108
+ data: (f = msg.getData()) && proto.bonus.SingleBonusItem.toObject(includeInstance, f)
12109
+ };
12110
+
12111
+ if (includeInstance) {
12112
+ obj.$jspbMessageInstance = msg;
12113
+ }
12114
+ return obj;
12115
+ };
12116
+ }
12117
+
12118
+
12119
+ /**
12120
+ * Deserializes binary data (in protobuf wire format).
12121
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12122
+ * @return {!proto.bonus.SingleBonusResponse}
12123
+ */
12124
+ proto.bonus.SingleBonusResponse.deserializeBinary = function(bytes) {
12125
+ var reader = new jspb.BinaryReader(bytes);
12126
+ var msg = new proto.bonus.SingleBonusResponse;
12127
+ return proto.bonus.SingleBonusResponse.deserializeBinaryFromReader(msg, reader);
12128
+ };
12129
+
12130
+
12131
+ /**
12132
+ * Deserializes binary data (in protobuf wire format) from the
12133
+ * given reader into the given message object.
12134
+ * @param {!proto.bonus.SingleBonusResponse} msg The message object to deserialize into.
12135
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12136
+ * @return {!proto.bonus.SingleBonusResponse}
12137
+ */
12138
+ proto.bonus.SingleBonusResponse.deserializeBinaryFromReader = function(msg, reader) {
12139
+ while (reader.nextField()) {
12140
+ if (reader.isEndGroup()) {
12141
+ break;
12142
+ }
12143
+ var field = reader.getFieldNumber();
12144
+ switch (field) {
12145
+ case 1:
12146
+ var value = new proto.bonus.SingleBonusItem;
12147
+ reader.readMessage(value,proto.bonus.SingleBonusItem.deserializeBinaryFromReader);
12148
+ msg.setData(value);
12149
+ break;
12150
+ default:
12151
+ reader.skipField();
12152
+ break;
12153
+ }
12154
+ }
12155
+ return msg;
12156
+ };
12157
+
12158
+
12159
+ /**
12160
+ * Serializes the message to binary data (in protobuf wire format).
12161
+ * @return {!Uint8Array}
12162
+ */
12163
+ proto.bonus.SingleBonusResponse.prototype.serializeBinary = function() {
12164
+ var writer = new jspb.BinaryWriter();
12165
+ proto.bonus.SingleBonusResponse.serializeBinaryToWriter(this, writer);
12166
+ return writer.getResultBuffer();
12167
+ };
12168
+
12169
+
12170
+ /**
12171
+ * Serializes the given message to binary data (in protobuf wire
12172
+ * format), writing to the given BinaryWriter.
12173
+ * @param {!proto.bonus.SingleBonusResponse} message
12174
+ * @param {!jspb.BinaryWriter} writer
12175
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12176
+ */
12177
+ proto.bonus.SingleBonusResponse.serializeBinaryToWriter = function(message, writer) {
12178
+ var f = undefined;
12179
+ f = message.getData();
12180
+ if (f != null) {
12181
+ writer.writeMessage(
12182
+ 1,
12183
+ f,
12184
+ proto.bonus.SingleBonusItem.serializeBinaryToWriter
12185
+ );
12186
+ }
12187
+ };
12188
+
12189
+
12190
+ /**
12191
+ * optional SingleBonusItem data = 1;
12192
+ * @return {?proto.bonus.SingleBonusItem}
12193
+ */
12194
+ proto.bonus.SingleBonusResponse.prototype.getData = function() {
12195
+ return /** @type{?proto.bonus.SingleBonusItem} */ (
12196
+ jspb.Message.getWrapperField(this, proto.bonus.SingleBonusItem, 1));
12197
+ };
12198
+
12199
+
12200
+ /**
12201
+ * @param {?proto.bonus.SingleBonusItem|undefined} value
12202
+ * @return {!proto.bonus.SingleBonusResponse} returns this
12203
+ */
12204
+ proto.bonus.SingleBonusResponse.prototype.setData = function(value) {
12205
+ return jspb.Message.setWrapperField(this, 1, value);
12206
+ };
12207
+
12208
+
12209
+ /**
12210
+ * Clears the message field making it undefined.
12211
+ * @return {!proto.bonus.SingleBonusResponse} returns this
12212
+ */
12213
+ proto.bonus.SingleBonusResponse.prototype.clearData = function() {
12214
+ return this.setData(undefined);
12215
+ };
12216
+
12217
+
12218
+ /**
12219
+ * Returns whether this field is set.
12220
+ * @return {boolean}
12221
+ */
12222
+ proto.bonus.SingleBonusResponse.prototype.hasData = function() {
12223
+ return jspb.Message.getField(this, 1) != null;
12224
+ };
12225
+
12226
+
12227
+
10241
12228
  /**
10242
12229
  * List of repeated fields within this message type.
10243
12230
  * @private {!Array<number>}