protobuf-platform 1.2.472 → 1.2.474
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.proto +43 -0
- package/bonus/bonus_pb.js +1842 -12
- package/game/game.proto +2 -0
- package/game/game_pb.js +49 -1
- package/package.json +1 -1
package/bonus/bonus_pb.js
CHANGED
|
@@ -31,6 +31,8 @@ goog.exportSymbol('proto.bonus.ApplyUserPromocodeToUserBonusRequest', null, glob
|
|
|
31
31
|
goog.exportSymbol('proto.bonus.BetsRange', null, global);
|
|
32
32
|
goog.exportSymbol('proto.bonus.BonusActivationRulesRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.bonus.BonusBetRangesRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.bonus.BonusCanceledEvent', null, global);
|
|
35
|
+
goog.exportSymbol('proto.bonus.BonusClaimedEvent', null, global);
|
|
34
36
|
goog.exportSymbol('proto.bonus.BonusItem', null, global);
|
|
35
37
|
goog.exportSymbol('proto.bonus.BonusItemRequest', null, global);
|
|
36
38
|
goog.exportSymbol('proto.bonus.BonusItemsResponse', null, global);
|
|
@@ -1300,6 +1302,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1300
1302
|
*/
|
|
1301
1303
|
proto.bonus.DashboardResponse.displayName = 'proto.bonus.DashboardResponse';
|
|
1302
1304
|
}
|
|
1305
|
+
/**
|
|
1306
|
+
* Generated by JsPbCodeGenerator.
|
|
1307
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1308
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1309
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1310
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1311
|
+
* valid.
|
|
1312
|
+
* @extends {jspb.Message}
|
|
1313
|
+
* @constructor
|
|
1314
|
+
*/
|
|
1315
|
+
proto.bonus.BonusCanceledEvent = function(opt_data) {
|
|
1316
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1317
|
+
};
|
|
1318
|
+
goog.inherits(proto.bonus.BonusCanceledEvent, jspb.Message);
|
|
1319
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1320
|
+
/**
|
|
1321
|
+
* @public
|
|
1322
|
+
* @override
|
|
1323
|
+
*/
|
|
1324
|
+
proto.bonus.BonusCanceledEvent.displayName = 'proto.bonus.BonusCanceledEvent';
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Generated by JsPbCodeGenerator.
|
|
1328
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1329
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1330
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1331
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1332
|
+
* valid.
|
|
1333
|
+
* @extends {jspb.Message}
|
|
1334
|
+
* @constructor
|
|
1335
|
+
*/
|
|
1336
|
+
proto.bonus.BonusClaimedEvent = function(opt_data) {
|
|
1337
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1338
|
+
};
|
|
1339
|
+
goog.inherits(proto.bonus.BonusClaimedEvent, jspb.Message);
|
|
1340
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1341
|
+
/**
|
|
1342
|
+
* @public
|
|
1343
|
+
* @override
|
|
1344
|
+
*/
|
|
1345
|
+
proto.bonus.BonusClaimedEvent.displayName = 'proto.bonus.BonusClaimedEvent';
|
|
1346
|
+
}
|
|
1303
1347
|
|
|
1304
1348
|
|
|
1305
1349
|
|
|
@@ -7599,7 +7643,7 @@ proto.bonus.BonusResponse.prototype.hasData = function() {
|
|
|
7599
7643
|
* @private {!Array<number>}
|
|
7600
7644
|
* @const
|
|
7601
7645
|
*/
|
|
7602
|
-
proto.bonus.BonusItem.repeatedFields_ = [20,21,22,25,26,27,32,33,39,40];
|
|
7646
|
+
proto.bonus.BonusItem.repeatedFields_ = [20,21,22,25,26,27,32,33,39,40,42];
|
|
7603
7647
|
|
|
7604
7648
|
|
|
7605
7649
|
|
|
@@ -7679,7 +7723,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
7679
7723
|
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
7680
7724
|
wagerGamesListIdsList: (f = jspb.Message.getRepeatedField(msg, 39)) == null ? undefined : f,
|
|
7681
7725
|
excludedSegmentIdsList: (f = jspb.Message.getRepeatedField(msg, 40)) == null ? undefined : f,
|
|
7682
|
-
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 41, "")
|
|
7726
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 41, ""),
|
|
7727
|
+
availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f
|
|
7683
7728
|
};
|
|
7684
7729
|
|
|
7685
7730
|
if (includeInstance) {
|
|
@@ -7893,6 +7938,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7893
7938
|
var value = /** @type {string} */ (reader.readString());
|
|
7894
7939
|
msg.setWagerBalancePriority(value);
|
|
7895
7940
|
break;
|
|
7941
|
+
case 42:
|
|
7942
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7943
|
+
msg.addAvailableActions(value);
|
|
7944
|
+
break;
|
|
7896
7945
|
default:
|
|
7897
7946
|
reader.skipField();
|
|
7898
7947
|
break;
|
|
@@ -8216,6 +8265,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
8216
8265
|
f
|
|
8217
8266
|
);
|
|
8218
8267
|
}
|
|
8268
|
+
f = message.getAvailableActionsList();
|
|
8269
|
+
if (f.length > 0) {
|
|
8270
|
+
writer.writeRepeatedString(
|
|
8271
|
+
42,
|
|
8272
|
+
f
|
|
8273
|
+
);
|
|
8274
|
+
}
|
|
8219
8275
|
};
|
|
8220
8276
|
|
|
8221
8277
|
|
|
@@ -9694,6 +9750,43 @@ proto.bonus.BonusItem.prototype.setWagerBalancePriority = function(value) {
|
|
|
9694
9750
|
};
|
|
9695
9751
|
|
|
9696
9752
|
|
|
9753
|
+
/**
|
|
9754
|
+
* repeated string available_actions = 42;
|
|
9755
|
+
* @return {!Array<string>}
|
|
9756
|
+
*/
|
|
9757
|
+
proto.bonus.BonusItem.prototype.getAvailableActionsList = function() {
|
|
9758
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 42));
|
|
9759
|
+
};
|
|
9760
|
+
|
|
9761
|
+
|
|
9762
|
+
/**
|
|
9763
|
+
* @param {!Array<string>} value
|
|
9764
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
9765
|
+
*/
|
|
9766
|
+
proto.bonus.BonusItem.prototype.setAvailableActionsList = function(value) {
|
|
9767
|
+
return jspb.Message.setField(this, 42, value || []);
|
|
9768
|
+
};
|
|
9769
|
+
|
|
9770
|
+
|
|
9771
|
+
/**
|
|
9772
|
+
* @param {string} value
|
|
9773
|
+
* @param {number=} opt_index
|
|
9774
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
9775
|
+
*/
|
|
9776
|
+
proto.bonus.BonusItem.prototype.addAvailableActions = function(value, opt_index) {
|
|
9777
|
+
return jspb.Message.addToRepeatedField(this, 42, value, opt_index);
|
|
9778
|
+
};
|
|
9779
|
+
|
|
9780
|
+
|
|
9781
|
+
/**
|
|
9782
|
+
* Clears the list making it empty but non-null.
|
|
9783
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
9784
|
+
*/
|
|
9785
|
+
proto.bonus.BonusItem.prototype.clearAvailableActionsList = function() {
|
|
9786
|
+
return this.setAvailableActionsList([]);
|
|
9787
|
+
};
|
|
9788
|
+
|
|
9789
|
+
|
|
9697
9790
|
|
|
9698
9791
|
/**
|
|
9699
9792
|
* List of repeated fields within this message type.
|
|
@@ -11854,7 +11947,7 @@ proto.bonus.BonusTranslationItem.prototype.hasIsActive = function() {
|
|
|
11854
11947
|
* @private {!Array<number>}
|
|
11855
11948
|
* @const
|
|
11856
11949
|
*/
|
|
11857
|
-
proto.bonus.UserBonusItem.repeatedFields_ = [4];
|
|
11950
|
+
proto.bonus.UserBonusItem.repeatedFields_ = [4,34];
|
|
11858
11951
|
|
|
11859
11952
|
|
|
11860
11953
|
|
|
@@ -11919,7 +12012,9 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
|
|
|
11919
12012
|
closedAt: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
11920
12013
|
historyType: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
11921
12014
|
canActivate: jspb.Message.getBooleanFieldWithDefault(msg, 31, false),
|
|
11922
|
-
userPromocodeId: jspb.Message.getFieldWithDefault(msg, 32, 0)
|
|
12015
|
+
userPromocodeId: jspb.Message.getFieldWithDefault(msg, 32, 0),
|
|
12016
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
12017
|
+
availableActionsList: (f = jspb.Message.getRepeatedField(msg, 34)) == null ? undefined : f
|
|
11923
12018
|
};
|
|
11924
12019
|
|
|
11925
12020
|
if (includeInstance) {
|
|
@@ -12086,6 +12181,14 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
12086
12181
|
var value = /** @type {number} */ (reader.readInt32());
|
|
12087
12182
|
msg.setUserPromocodeId(value);
|
|
12088
12183
|
break;
|
|
12184
|
+
case 33:
|
|
12185
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12186
|
+
msg.setPromoCode(value);
|
|
12187
|
+
break;
|
|
12188
|
+
case 34:
|
|
12189
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12190
|
+
msg.addAvailableActions(value);
|
|
12191
|
+
break;
|
|
12089
12192
|
default:
|
|
12090
12193
|
reader.skipField();
|
|
12091
12194
|
break;
|
|
@@ -12341,6 +12444,20 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
12341
12444
|
f
|
|
12342
12445
|
);
|
|
12343
12446
|
}
|
|
12447
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 33));
|
|
12448
|
+
if (f != null) {
|
|
12449
|
+
writer.writeString(
|
|
12450
|
+
33,
|
|
12451
|
+
f
|
|
12452
|
+
);
|
|
12453
|
+
}
|
|
12454
|
+
f = message.getAvailableActionsList();
|
|
12455
|
+
if (f.length > 0) {
|
|
12456
|
+
writer.writeRepeatedString(
|
|
12457
|
+
34,
|
|
12458
|
+
f
|
|
12459
|
+
);
|
|
12460
|
+
}
|
|
12344
12461
|
};
|
|
12345
12462
|
|
|
12346
12463
|
|
|
@@ -13499,6 +13616,79 @@ proto.bonus.UserBonusItem.prototype.hasUserPromocodeId = function() {
|
|
|
13499
13616
|
};
|
|
13500
13617
|
|
|
13501
13618
|
|
|
13619
|
+
/**
|
|
13620
|
+
* optional string promo_code = 33;
|
|
13621
|
+
* @return {string}
|
|
13622
|
+
*/
|
|
13623
|
+
proto.bonus.UserBonusItem.prototype.getPromoCode = function() {
|
|
13624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
|
|
13625
|
+
};
|
|
13626
|
+
|
|
13627
|
+
|
|
13628
|
+
/**
|
|
13629
|
+
* @param {string} value
|
|
13630
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
|
13631
|
+
*/
|
|
13632
|
+
proto.bonus.UserBonusItem.prototype.setPromoCode = function(value) {
|
|
13633
|
+
return jspb.Message.setField(this, 33, value);
|
|
13634
|
+
};
|
|
13635
|
+
|
|
13636
|
+
|
|
13637
|
+
/**
|
|
13638
|
+
* Clears the field making it undefined.
|
|
13639
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
|
13640
|
+
*/
|
|
13641
|
+
proto.bonus.UserBonusItem.prototype.clearPromoCode = function() {
|
|
13642
|
+
return jspb.Message.setField(this, 33, undefined);
|
|
13643
|
+
};
|
|
13644
|
+
|
|
13645
|
+
|
|
13646
|
+
/**
|
|
13647
|
+
* Returns whether this field is set.
|
|
13648
|
+
* @return {boolean}
|
|
13649
|
+
*/
|
|
13650
|
+
proto.bonus.UserBonusItem.prototype.hasPromoCode = function() {
|
|
13651
|
+
return jspb.Message.getField(this, 33) != null;
|
|
13652
|
+
};
|
|
13653
|
+
|
|
13654
|
+
|
|
13655
|
+
/**
|
|
13656
|
+
* repeated string available_actions = 34;
|
|
13657
|
+
* @return {!Array<string>}
|
|
13658
|
+
*/
|
|
13659
|
+
proto.bonus.UserBonusItem.prototype.getAvailableActionsList = function() {
|
|
13660
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 34));
|
|
13661
|
+
};
|
|
13662
|
+
|
|
13663
|
+
|
|
13664
|
+
/**
|
|
13665
|
+
* @param {!Array<string>} value
|
|
13666
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
|
13667
|
+
*/
|
|
13668
|
+
proto.bonus.UserBonusItem.prototype.setAvailableActionsList = function(value) {
|
|
13669
|
+
return jspb.Message.setField(this, 34, value || []);
|
|
13670
|
+
};
|
|
13671
|
+
|
|
13672
|
+
|
|
13673
|
+
/**
|
|
13674
|
+
* @param {string} value
|
|
13675
|
+
* @param {number=} opt_index
|
|
13676
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
|
13677
|
+
*/
|
|
13678
|
+
proto.bonus.UserBonusItem.prototype.addAvailableActions = function(value, opt_index) {
|
|
13679
|
+
return jspb.Message.addToRepeatedField(this, 34, value, opt_index);
|
|
13680
|
+
};
|
|
13681
|
+
|
|
13682
|
+
|
|
13683
|
+
/**
|
|
13684
|
+
* Clears the list making it empty but non-null.
|
|
13685
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
|
13686
|
+
*/
|
|
13687
|
+
proto.bonus.UserBonusItem.prototype.clearAvailableActionsList = function() {
|
|
13688
|
+
return this.setAvailableActionsList([]);
|
|
13689
|
+
};
|
|
13690
|
+
|
|
13691
|
+
|
|
13502
13692
|
|
|
13503
13693
|
|
|
13504
13694
|
|
|
@@ -14822,7 +15012,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
|
|
|
14822
15012
|
userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
14823
15013
|
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
14824
15014
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
14825
|
-
promoCode: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
15015
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
15016
|
+
cancelReason: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
14826
15017
|
};
|
|
14827
15018
|
|
|
14828
15019
|
if (includeInstance) {
|
|
@@ -14907,6 +15098,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
14907
15098
|
var value = /** @type {string} */ (reader.readString());
|
|
14908
15099
|
msg.setPromoCode(value);
|
|
14909
15100
|
break;
|
|
15101
|
+
case 13:
|
|
15102
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15103
|
+
msg.setCancelReason(value);
|
|
15104
|
+
break;
|
|
14910
15105
|
default:
|
|
14911
15106
|
reader.skipField();
|
|
14912
15107
|
break;
|
|
@@ -15020,6 +15215,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
|
|
|
15020
15215
|
f
|
|
15021
15216
|
);
|
|
15022
15217
|
}
|
|
15218
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
15219
|
+
if (f != null) {
|
|
15220
|
+
writer.writeString(
|
|
15221
|
+
13,
|
|
15222
|
+
f
|
|
15223
|
+
);
|
|
15224
|
+
}
|
|
15023
15225
|
};
|
|
15024
15226
|
|
|
15025
15227
|
|
|
@@ -15437,6 +15639,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasPromoCode = function() {
|
|
|
15437
15639
|
};
|
|
15438
15640
|
|
|
15439
15641
|
|
|
15642
|
+
/**
|
|
15643
|
+
* optional string cancel_reason = 13;
|
|
15644
|
+
* @return {string}
|
|
15645
|
+
*/
|
|
15646
|
+
proto.bonus.GetUserBonusRequest.prototype.getCancelReason = function() {
|
|
15647
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
15648
|
+
};
|
|
15649
|
+
|
|
15650
|
+
|
|
15651
|
+
/**
|
|
15652
|
+
* @param {string} value
|
|
15653
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
|
15654
|
+
*/
|
|
15655
|
+
proto.bonus.GetUserBonusRequest.prototype.setCancelReason = function(value) {
|
|
15656
|
+
return jspb.Message.setField(this, 13, value);
|
|
15657
|
+
};
|
|
15658
|
+
|
|
15659
|
+
|
|
15660
|
+
/**
|
|
15661
|
+
* Clears the field making it undefined.
|
|
15662
|
+
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
|
15663
|
+
*/
|
|
15664
|
+
proto.bonus.GetUserBonusRequest.prototype.clearCancelReason = function() {
|
|
15665
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
15666
|
+
};
|
|
15667
|
+
|
|
15668
|
+
|
|
15669
|
+
/**
|
|
15670
|
+
* Returns whether this field is set.
|
|
15671
|
+
* @return {boolean}
|
|
15672
|
+
*/
|
|
15673
|
+
proto.bonus.GetUserBonusRequest.prototype.hasCancelReason = function() {
|
|
15674
|
+
return jspb.Message.getField(this, 13) != null;
|
|
15675
|
+
};
|
|
15676
|
+
|
|
15677
|
+
|
|
15440
15678
|
|
|
15441
15679
|
|
|
15442
15680
|
|
|
@@ -19220,7 +19458,8 @@ proto.bonus.ActiveWageringUserBonusItem.toObject = function(includeInstance, msg
|
|
|
19220
19458
|
totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
19221
19459
|
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
19222
19460
|
wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
19223
|
-
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
19461
|
+
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
19462
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
19224
19463
|
};
|
|
19225
19464
|
|
|
19226
19465
|
if (includeInstance) {
|
|
@@ -19293,6 +19532,10 @@ proto.bonus.ActiveWageringUserBonusItem.deserializeBinaryFromReader = function(m
|
|
|
19293
19532
|
var value = /** @type {number} */ (reader.readInt32());
|
|
19294
19533
|
msg.setWagerGamesListId(value);
|
|
19295
19534
|
break;
|
|
19535
|
+
case 10:
|
|
19536
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19537
|
+
msg.setWagerBalancePriority(value);
|
|
19538
|
+
break;
|
|
19296
19539
|
default:
|
|
19297
19540
|
reader.skipField();
|
|
19298
19541
|
break;
|
|
@@ -19385,6 +19628,13 @@ proto.bonus.ActiveWageringUserBonusItem.serializeBinaryToWriter = function(messa
|
|
|
19385
19628
|
f
|
|
19386
19629
|
);
|
|
19387
19630
|
}
|
|
19631
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
19632
|
+
if (f != null) {
|
|
19633
|
+
writer.writeString(
|
|
19634
|
+
10,
|
|
19635
|
+
f
|
|
19636
|
+
);
|
|
19637
|
+
}
|
|
19388
19638
|
};
|
|
19389
19639
|
|
|
19390
19640
|
|
|
@@ -19695,6 +19945,42 @@ proto.bonus.ActiveWageringUserBonusItem.prototype.hasWagerGamesListId = function
|
|
|
19695
19945
|
};
|
|
19696
19946
|
|
|
19697
19947
|
|
|
19948
|
+
/**
|
|
19949
|
+
* optional string wager_balance_priority = 10;
|
|
19950
|
+
* @return {string}
|
|
19951
|
+
*/
|
|
19952
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.getWagerBalancePriority = function() {
|
|
19953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
19954
|
+
};
|
|
19955
|
+
|
|
19956
|
+
|
|
19957
|
+
/**
|
|
19958
|
+
* @param {string} value
|
|
19959
|
+
* @return {!proto.bonus.ActiveWageringUserBonusItem} returns this
|
|
19960
|
+
*/
|
|
19961
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.setWagerBalancePriority = function(value) {
|
|
19962
|
+
return jspb.Message.setField(this, 10, value);
|
|
19963
|
+
};
|
|
19964
|
+
|
|
19965
|
+
|
|
19966
|
+
/**
|
|
19967
|
+
* Clears the field making it undefined.
|
|
19968
|
+
* @return {!proto.bonus.ActiveWageringUserBonusItem} returns this
|
|
19969
|
+
*/
|
|
19970
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.clearWagerBalancePriority = function() {
|
|
19971
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
19972
|
+
};
|
|
19973
|
+
|
|
19974
|
+
|
|
19975
|
+
/**
|
|
19976
|
+
* Returns whether this field is set.
|
|
19977
|
+
* @return {boolean}
|
|
19978
|
+
*/
|
|
19979
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.hasWagerBalancePriority = function() {
|
|
19980
|
+
return jspb.Message.getField(this, 10) != null;
|
|
19981
|
+
};
|
|
19982
|
+
|
|
19983
|
+
|
|
19698
19984
|
|
|
19699
19985
|
|
|
19700
19986
|
|
|
@@ -20698,7 +20984,8 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.toObject = function(includ
|
|
|
20698
20984
|
maxBet: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
20699
20985
|
realWagering: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
20700
20986
|
bonusWagering: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
20701
|
-
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
20987
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
20988
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
20702
20989
|
};
|
|
20703
20990
|
|
|
20704
20991
|
if (includeInstance) {
|
|
@@ -20779,6 +21066,10 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.deserializeBinaryFromReade
|
|
|
20779
21066
|
var value = /** @type {number} */ (reader.readFloat());
|
|
20780
21067
|
msg.setCancellationAmount(value);
|
|
20781
21068
|
break;
|
|
21069
|
+
case 12:
|
|
21070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21071
|
+
msg.setWagerBalancePriority(value);
|
|
21072
|
+
break;
|
|
20782
21073
|
default:
|
|
20783
21074
|
reader.skipField();
|
|
20784
21075
|
break;
|
|
@@ -20885,6 +21176,13 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.serializeBinaryToWriter =
|
|
|
20885
21176
|
f
|
|
20886
21177
|
);
|
|
20887
21178
|
}
|
|
21179
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
21180
|
+
if (f != null) {
|
|
21181
|
+
writer.writeString(
|
|
21182
|
+
12,
|
|
21183
|
+
f
|
|
21184
|
+
);
|
|
21185
|
+
}
|
|
20888
21186
|
};
|
|
20889
21187
|
|
|
20890
21188
|
|
|
@@ -21105,15 +21403,51 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setCancellationA
|
|
|
21105
21403
|
};
|
|
21106
21404
|
|
|
21107
21405
|
|
|
21406
|
+
/**
|
|
21407
|
+
* optional string wager_balance_priority = 12;
|
|
21408
|
+
* @return {string}
|
|
21409
|
+
*/
|
|
21410
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getWagerBalancePriority = function() {
|
|
21411
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
21412
|
+
};
|
|
21413
|
+
|
|
21108
21414
|
|
|
21415
|
+
/**
|
|
21416
|
+
* @param {string} value
|
|
21417
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
21418
|
+
*/
|
|
21419
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setWagerBalancePriority = function(value) {
|
|
21420
|
+
return jspb.Message.setField(this, 12, value);
|
|
21421
|
+
};
|
|
21109
21422
|
|
|
21110
21423
|
|
|
21111
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21112
21424
|
/**
|
|
21113
|
-
*
|
|
21114
|
-
*
|
|
21115
|
-
|
|
21116
|
-
|
|
21425
|
+
* Clears the field making it undefined.
|
|
21426
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
21427
|
+
*/
|
|
21428
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.clearWagerBalancePriority = function() {
|
|
21429
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
21430
|
+
};
|
|
21431
|
+
|
|
21432
|
+
|
|
21433
|
+
/**
|
|
21434
|
+
* Returns whether this field is set.
|
|
21435
|
+
* @return {boolean}
|
|
21436
|
+
*/
|
|
21437
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.hasWagerBalancePriority = function() {
|
|
21438
|
+
return jspb.Message.getField(this, 12) != null;
|
|
21439
|
+
};
|
|
21440
|
+
|
|
21441
|
+
|
|
21442
|
+
|
|
21443
|
+
|
|
21444
|
+
|
|
21445
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21446
|
+
/**
|
|
21447
|
+
* Creates an object representation of this proto.
|
|
21448
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21449
|
+
* Optional fields that are not set will be set to undefined.
|
|
21450
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21117
21451
|
* For the list of reserved names please see:
|
|
21118
21452
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21119
21453
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
@@ -22479,4 +22813,1500 @@ proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayedSum = function(value)
|
|
|
22479
22813
|
};
|
|
22480
22814
|
|
|
22481
22815
|
|
|
22816
|
+
|
|
22817
|
+
|
|
22818
|
+
|
|
22819
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22820
|
+
/**
|
|
22821
|
+
* Creates an object representation of this proto.
|
|
22822
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22823
|
+
* Optional fields that are not set will be set to undefined.
|
|
22824
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22825
|
+
* For the list of reserved names please see:
|
|
22826
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22827
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22828
|
+
* JSPB instance for transitional soy proto support:
|
|
22829
|
+
* http://goto/soy-param-migration
|
|
22830
|
+
* @return {!Object}
|
|
22831
|
+
*/
|
|
22832
|
+
proto.bonus.BonusCanceledEvent.prototype.toObject = function(opt_includeInstance) {
|
|
22833
|
+
return proto.bonus.BonusCanceledEvent.toObject(opt_includeInstance, this);
|
|
22834
|
+
};
|
|
22835
|
+
|
|
22836
|
+
|
|
22837
|
+
/**
|
|
22838
|
+
* Static version of the {@see toObject} method.
|
|
22839
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22840
|
+
* the JSPB instance for transitional soy proto support:
|
|
22841
|
+
* http://goto/soy-param-migration
|
|
22842
|
+
* @param {!proto.bonus.BonusCanceledEvent} msg The msg instance to transform.
|
|
22843
|
+
* @return {!Object}
|
|
22844
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22845
|
+
*/
|
|
22846
|
+
proto.bonus.BonusCanceledEvent.toObject = function(includeInstance, msg) {
|
|
22847
|
+
var f, obj = {
|
|
22848
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22849
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
22850
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22851
|
+
userBonusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
22852
|
+
bonusTitle: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
22853
|
+
bonusType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
22854
|
+
bonusCategory: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
22855
|
+
status: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
22856
|
+
canceledAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
22857
|
+
cancelReason: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
22858
|
+
actorId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
22859
|
+
actorRole: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
22860
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
22861
|
+
adminInitiated: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
22862
|
+
};
|
|
22863
|
+
|
|
22864
|
+
if (includeInstance) {
|
|
22865
|
+
obj.$jspbMessageInstance = msg;
|
|
22866
|
+
}
|
|
22867
|
+
return obj;
|
|
22868
|
+
};
|
|
22869
|
+
}
|
|
22870
|
+
|
|
22871
|
+
|
|
22872
|
+
/**
|
|
22873
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22874
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22875
|
+
* @return {!proto.bonus.BonusCanceledEvent}
|
|
22876
|
+
*/
|
|
22877
|
+
proto.bonus.BonusCanceledEvent.deserializeBinary = function(bytes) {
|
|
22878
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22879
|
+
var msg = new proto.bonus.BonusCanceledEvent;
|
|
22880
|
+
return proto.bonus.BonusCanceledEvent.deserializeBinaryFromReader(msg, reader);
|
|
22881
|
+
};
|
|
22882
|
+
|
|
22883
|
+
|
|
22884
|
+
/**
|
|
22885
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22886
|
+
* given reader into the given message object.
|
|
22887
|
+
* @param {!proto.bonus.BonusCanceledEvent} msg The message object to deserialize into.
|
|
22888
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22889
|
+
* @return {!proto.bonus.BonusCanceledEvent}
|
|
22890
|
+
*/
|
|
22891
|
+
proto.bonus.BonusCanceledEvent.deserializeBinaryFromReader = function(msg, reader) {
|
|
22892
|
+
while (reader.nextField()) {
|
|
22893
|
+
if (reader.isEndGroup()) {
|
|
22894
|
+
break;
|
|
22895
|
+
}
|
|
22896
|
+
var field = reader.getFieldNumber();
|
|
22897
|
+
switch (field) {
|
|
22898
|
+
case 1:
|
|
22899
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22900
|
+
msg.setUserId(value);
|
|
22901
|
+
break;
|
|
22902
|
+
case 2:
|
|
22903
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22904
|
+
msg.setUserPublicId(value);
|
|
22905
|
+
break;
|
|
22906
|
+
case 3:
|
|
22907
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22908
|
+
msg.setBonusId(value);
|
|
22909
|
+
break;
|
|
22910
|
+
case 4:
|
|
22911
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22912
|
+
msg.setUserBonusId(value);
|
|
22913
|
+
break;
|
|
22914
|
+
case 5:
|
|
22915
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22916
|
+
msg.setBonusTitle(value);
|
|
22917
|
+
break;
|
|
22918
|
+
case 6:
|
|
22919
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22920
|
+
msg.setBonusType(value);
|
|
22921
|
+
break;
|
|
22922
|
+
case 7:
|
|
22923
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22924
|
+
msg.setBonusCategory(value);
|
|
22925
|
+
break;
|
|
22926
|
+
case 8:
|
|
22927
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22928
|
+
msg.setStatus(value);
|
|
22929
|
+
break;
|
|
22930
|
+
case 9:
|
|
22931
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22932
|
+
msg.setCanceledAt(value);
|
|
22933
|
+
break;
|
|
22934
|
+
case 10:
|
|
22935
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22936
|
+
msg.setCancelReason(value);
|
|
22937
|
+
break;
|
|
22938
|
+
case 11:
|
|
22939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22940
|
+
msg.setActorId(value);
|
|
22941
|
+
break;
|
|
22942
|
+
case 12:
|
|
22943
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22944
|
+
msg.setActorRole(value);
|
|
22945
|
+
break;
|
|
22946
|
+
case 13:
|
|
22947
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22948
|
+
msg.setRequestId(value);
|
|
22949
|
+
break;
|
|
22950
|
+
case 14:
|
|
22951
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
22952
|
+
msg.setAdminInitiated(value);
|
|
22953
|
+
break;
|
|
22954
|
+
default:
|
|
22955
|
+
reader.skipField();
|
|
22956
|
+
break;
|
|
22957
|
+
}
|
|
22958
|
+
}
|
|
22959
|
+
return msg;
|
|
22960
|
+
};
|
|
22961
|
+
|
|
22962
|
+
|
|
22963
|
+
/**
|
|
22964
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22965
|
+
* @return {!Uint8Array}
|
|
22966
|
+
*/
|
|
22967
|
+
proto.bonus.BonusCanceledEvent.prototype.serializeBinary = function() {
|
|
22968
|
+
var writer = new jspb.BinaryWriter();
|
|
22969
|
+
proto.bonus.BonusCanceledEvent.serializeBinaryToWriter(this, writer);
|
|
22970
|
+
return writer.getResultBuffer();
|
|
22971
|
+
};
|
|
22972
|
+
|
|
22973
|
+
|
|
22974
|
+
/**
|
|
22975
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22976
|
+
* format), writing to the given BinaryWriter.
|
|
22977
|
+
* @param {!proto.bonus.BonusCanceledEvent} message
|
|
22978
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22979
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22980
|
+
*/
|
|
22981
|
+
proto.bonus.BonusCanceledEvent.serializeBinaryToWriter = function(message, writer) {
|
|
22982
|
+
var f = undefined;
|
|
22983
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
22984
|
+
if (f != null) {
|
|
22985
|
+
writer.writeInt32(
|
|
22986
|
+
1,
|
|
22987
|
+
f
|
|
22988
|
+
);
|
|
22989
|
+
}
|
|
22990
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
22991
|
+
if (f != null) {
|
|
22992
|
+
writer.writeString(
|
|
22993
|
+
2,
|
|
22994
|
+
f
|
|
22995
|
+
);
|
|
22996
|
+
}
|
|
22997
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
22998
|
+
if (f != null) {
|
|
22999
|
+
writer.writeInt32(
|
|
23000
|
+
3,
|
|
23001
|
+
f
|
|
23002
|
+
);
|
|
23003
|
+
}
|
|
23004
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
23005
|
+
if (f != null) {
|
|
23006
|
+
writer.writeInt32(
|
|
23007
|
+
4,
|
|
23008
|
+
f
|
|
23009
|
+
);
|
|
23010
|
+
}
|
|
23011
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
23012
|
+
if (f != null) {
|
|
23013
|
+
writer.writeString(
|
|
23014
|
+
5,
|
|
23015
|
+
f
|
|
23016
|
+
);
|
|
23017
|
+
}
|
|
23018
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
23019
|
+
if (f != null) {
|
|
23020
|
+
writer.writeString(
|
|
23021
|
+
6,
|
|
23022
|
+
f
|
|
23023
|
+
);
|
|
23024
|
+
}
|
|
23025
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
23026
|
+
if (f != null) {
|
|
23027
|
+
writer.writeString(
|
|
23028
|
+
7,
|
|
23029
|
+
f
|
|
23030
|
+
);
|
|
23031
|
+
}
|
|
23032
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
23033
|
+
if (f != null) {
|
|
23034
|
+
writer.writeString(
|
|
23035
|
+
8,
|
|
23036
|
+
f
|
|
23037
|
+
);
|
|
23038
|
+
}
|
|
23039
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
23040
|
+
if (f != null) {
|
|
23041
|
+
writer.writeString(
|
|
23042
|
+
9,
|
|
23043
|
+
f
|
|
23044
|
+
);
|
|
23045
|
+
}
|
|
23046
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
23047
|
+
if (f != null) {
|
|
23048
|
+
writer.writeString(
|
|
23049
|
+
10,
|
|
23050
|
+
f
|
|
23051
|
+
);
|
|
23052
|
+
}
|
|
23053
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
23054
|
+
if (f != null) {
|
|
23055
|
+
writer.writeString(
|
|
23056
|
+
11,
|
|
23057
|
+
f
|
|
23058
|
+
);
|
|
23059
|
+
}
|
|
23060
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
23061
|
+
if (f != null) {
|
|
23062
|
+
writer.writeString(
|
|
23063
|
+
12,
|
|
23064
|
+
f
|
|
23065
|
+
);
|
|
23066
|
+
}
|
|
23067
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
23068
|
+
if (f != null) {
|
|
23069
|
+
writer.writeString(
|
|
23070
|
+
13,
|
|
23071
|
+
f
|
|
23072
|
+
);
|
|
23073
|
+
}
|
|
23074
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 14));
|
|
23075
|
+
if (f != null) {
|
|
23076
|
+
writer.writeBool(
|
|
23077
|
+
14,
|
|
23078
|
+
f
|
|
23079
|
+
);
|
|
23080
|
+
}
|
|
23081
|
+
};
|
|
23082
|
+
|
|
23083
|
+
|
|
23084
|
+
/**
|
|
23085
|
+
* optional int32 user_id = 1;
|
|
23086
|
+
* @return {number}
|
|
23087
|
+
*/
|
|
23088
|
+
proto.bonus.BonusCanceledEvent.prototype.getUserId = function() {
|
|
23089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23090
|
+
};
|
|
23091
|
+
|
|
23092
|
+
|
|
23093
|
+
/**
|
|
23094
|
+
* @param {number} value
|
|
23095
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23096
|
+
*/
|
|
23097
|
+
proto.bonus.BonusCanceledEvent.prototype.setUserId = function(value) {
|
|
23098
|
+
return jspb.Message.setField(this, 1, value);
|
|
23099
|
+
};
|
|
23100
|
+
|
|
23101
|
+
|
|
23102
|
+
/**
|
|
23103
|
+
* Clears the field making it undefined.
|
|
23104
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23105
|
+
*/
|
|
23106
|
+
proto.bonus.BonusCanceledEvent.prototype.clearUserId = function() {
|
|
23107
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
23108
|
+
};
|
|
23109
|
+
|
|
23110
|
+
|
|
23111
|
+
/**
|
|
23112
|
+
* Returns whether this field is set.
|
|
23113
|
+
* @return {boolean}
|
|
23114
|
+
*/
|
|
23115
|
+
proto.bonus.BonusCanceledEvent.prototype.hasUserId = function() {
|
|
23116
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23117
|
+
};
|
|
23118
|
+
|
|
23119
|
+
|
|
23120
|
+
/**
|
|
23121
|
+
* optional string user_public_id = 2;
|
|
23122
|
+
* @return {string}
|
|
23123
|
+
*/
|
|
23124
|
+
proto.bonus.BonusCanceledEvent.prototype.getUserPublicId = function() {
|
|
23125
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23126
|
+
};
|
|
23127
|
+
|
|
23128
|
+
|
|
23129
|
+
/**
|
|
23130
|
+
* @param {string} value
|
|
23131
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23132
|
+
*/
|
|
23133
|
+
proto.bonus.BonusCanceledEvent.prototype.setUserPublicId = function(value) {
|
|
23134
|
+
return jspb.Message.setField(this, 2, value);
|
|
23135
|
+
};
|
|
23136
|
+
|
|
23137
|
+
|
|
23138
|
+
/**
|
|
23139
|
+
* Clears the field making it undefined.
|
|
23140
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23141
|
+
*/
|
|
23142
|
+
proto.bonus.BonusCanceledEvent.prototype.clearUserPublicId = function() {
|
|
23143
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
23144
|
+
};
|
|
23145
|
+
|
|
23146
|
+
|
|
23147
|
+
/**
|
|
23148
|
+
* Returns whether this field is set.
|
|
23149
|
+
* @return {boolean}
|
|
23150
|
+
*/
|
|
23151
|
+
proto.bonus.BonusCanceledEvent.prototype.hasUserPublicId = function() {
|
|
23152
|
+
return jspb.Message.getField(this, 2) != null;
|
|
23153
|
+
};
|
|
23154
|
+
|
|
23155
|
+
|
|
23156
|
+
/**
|
|
23157
|
+
* optional int32 bonus_id = 3;
|
|
23158
|
+
* @return {number}
|
|
23159
|
+
*/
|
|
23160
|
+
proto.bonus.BonusCanceledEvent.prototype.getBonusId = function() {
|
|
23161
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23162
|
+
};
|
|
23163
|
+
|
|
23164
|
+
|
|
23165
|
+
/**
|
|
23166
|
+
* @param {number} value
|
|
23167
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23168
|
+
*/
|
|
23169
|
+
proto.bonus.BonusCanceledEvent.prototype.setBonusId = function(value) {
|
|
23170
|
+
return jspb.Message.setField(this, 3, value);
|
|
23171
|
+
};
|
|
23172
|
+
|
|
23173
|
+
|
|
23174
|
+
/**
|
|
23175
|
+
* Clears the field making it undefined.
|
|
23176
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23177
|
+
*/
|
|
23178
|
+
proto.bonus.BonusCanceledEvent.prototype.clearBonusId = function() {
|
|
23179
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
23180
|
+
};
|
|
23181
|
+
|
|
23182
|
+
|
|
23183
|
+
/**
|
|
23184
|
+
* Returns whether this field is set.
|
|
23185
|
+
* @return {boolean}
|
|
23186
|
+
*/
|
|
23187
|
+
proto.bonus.BonusCanceledEvent.prototype.hasBonusId = function() {
|
|
23188
|
+
return jspb.Message.getField(this, 3) != null;
|
|
23189
|
+
};
|
|
23190
|
+
|
|
23191
|
+
|
|
23192
|
+
/**
|
|
23193
|
+
* optional int32 user_bonus_id = 4;
|
|
23194
|
+
* @return {number}
|
|
23195
|
+
*/
|
|
23196
|
+
proto.bonus.BonusCanceledEvent.prototype.getUserBonusId = function() {
|
|
23197
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
23198
|
+
};
|
|
23199
|
+
|
|
23200
|
+
|
|
23201
|
+
/**
|
|
23202
|
+
* @param {number} value
|
|
23203
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23204
|
+
*/
|
|
23205
|
+
proto.bonus.BonusCanceledEvent.prototype.setUserBonusId = function(value) {
|
|
23206
|
+
return jspb.Message.setField(this, 4, value);
|
|
23207
|
+
};
|
|
23208
|
+
|
|
23209
|
+
|
|
23210
|
+
/**
|
|
23211
|
+
* Clears the field making it undefined.
|
|
23212
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23213
|
+
*/
|
|
23214
|
+
proto.bonus.BonusCanceledEvent.prototype.clearUserBonusId = function() {
|
|
23215
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
23216
|
+
};
|
|
23217
|
+
|
|
23218
|
+
|
|
23219
|
+
/**
|
|
23220
|
+
* Returns whether this field is set.
|
|
23221
|
+
* @return {boolean}
|
|
23222
|
+
*/
|
|
23223
|
+
proto.bonus.BonusCanceledEvent.prototype.hasUserBonusId = function() {
|
|
23224
|
+
return jspb.Message.getField(this, 4) != null;
|
|
23225
|
+
};
|
|
23226
|
+
|
|
23227
|
+
|
|
23228
|
+
/**
|
|
23229
|
+
* optional string bonus_title = 5;
|
|
23230
|
+
* @return {string}
|
|
23231
|
+
*/
|
|
23232
|
+
proto.bonus.BonusCanceledEvent.prototype.getBonusTitle = function() {
|
|
23233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
23234
|
+
};
|
|
23235
|
+
|
|
23236
|
+
|
|
23237
|
+
/**
|
|
23238
|
+
* @param {string} value
|
|
23239
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23240
|
+
*/
|
|
23241
|
+
proto.bonus.BonusCanceledEvent.prototype.setBonusTitle = function(value) {
|
|
23242
|
+
return jspb.Message.setField(this, 5, value);
|
|
23243
|
+
};
|
|
23244
|
+
|
|
23245
|
+
|
|
23246
|
+
/**
|
|
23247
|
+
* Clears the field making it undefined.
|
|
23248
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23249
|
+
*/
|
|
23250
|
+
proto.bonus.BonusCanceledEvent.prototype.clearBonusTitle = function() {
|
|
23251
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
23252
|
+
};
|
|
23253
|
+
|
|
23254
|
+
|
|
23255
|
+
/**
|
|
23256
|
+
* Returns whether this field is set.
|
|
23257
|
+
* @return {boolean}
|
|
23258
|
+
*/
|
|
23259
|
+
proto.bonus.BonusCanceledEvent.prototype.hasBonusTitle = function() {
|
|
23260
|
+
return jspb.Message.getField(this, 5) != null;
|
|
23261
|
+
};
|
|
23262
|
+
|
|
23263
|
+
|
|
23264
|
+
/**
|
|
23265
|
+
* optional string bonus_type = 6;
|
|
23266
|
+
* @return {string}
|
|
23267
|
+
*/
|
|
23268
|
+
proto.bonus.BonusCanceledEvent.prototype.getBonusType = function() {
|
|
23269
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
23270
|
+
};
|
|
23271
|
+
|
|
23272
|
+
|
|
23273
|
+
/**
|
|
23274
|
+
* @param {string} value
|
|
23275
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23276
|
+
*/
|
|
23277
|
+
proto.bonus.BonusCanceledEvent.prototype.setBonusType = function(value) {
|
|
23278
|
+
return jspb.Message.setField(this, 6, value);
|
|
23279
|
+
};
|
|
23280
|
+
|
|
23281
|
+
|
|
23282
|
+
/**
|
|
23283
|
+
* Clears the field making it undefined.
|
|
23284
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23285
|
+
*/
|
|
23286
|
+
proto.bonus.BonusCanceledEvent.prototype.clearBonusType = function() {
|
|
23287
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
23288
|
+
};
|
|
23289
|
+
|
|
23290
|
+
|
|
23291
|
+
/**
|
|
23292
|
+
* Returns whether this field is set.
|
|
23293
|
+
* @return {boolean}
|
|
23294
|
+
*/
|
|
23295
|
+
proto.bonus.BonusCanceledEvent.prototype.hasBonusType = function() {
|
|
23296
|
+
return jspb.Message.getField(this, 6) != null;
|
|
23297
|
+
};
|
|
23298
|
+
|
|
23299
|
+
|
|
23300
|
+
/**
|
|
23301
|
+
* optional string bonus_category = 7;
|
|
23302
|
+
* @return {string}
|
|
23303
|
+
*/
|
|
23304
|
+
proto.bonus.BonusCanceledEvent.prototype.getBonusCategory = function() {
|
|
23305
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
23306
|
+
};
|
|
23307
|
+
|
|
23308
|
+
|
|
23309
|
+
/**
|
|
23310
|
+
* @param {string} value
|
|
23311
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23312
|
+
*/
|
|
23313
|
+
proto.bonus.BonusCanceledEvent.prototype.setBonusCategory = function(value) {
|
|
23314
|
+
return jspb.Message.setField(this, 7, value);
|
|
23315
|
+
};
|
|
23316
|
+
|
|
23317
|
+
|
|
23318
|
+
/**
|
|
23319
|
+
* Clears the field making it undefined.
|
|
23320
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23321
|
+
*/
|
|
23322
|
+
proto.bonus.BonusCanceledEvent.prototype.clearBonusCategory = function() {
|
|
23323
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
23324
|
+
};
|
|
23325
|
+
|
|
23326
|
+
|
|
23327
|
+
/**
|
|
23328
|
+
* Returns whether this field is set.
|
|
23329
|
+
* @return {boolean}
|
|
23330
|
+
*/
|
|
23331
|
+
proto.bonus.BonusCanceledEvent.prototype.hasBonusCategory = function() {
|
|
23332
|
+
return jspb.Message.getField(this, 7) != null;
|
|
23333
|
+
};
|
|
23334
|
+
|
|
23335
|
+
|
|
23336
|
+
/**
|
|
23337
|
+
* optional string status = 8;
|
|
23338
|
+
* @return {string}
|
|
23339
|
+
*/
|
|
23340
|
+
proto.bonus.BonusCanceledEvent.prototype.getStatus = function() {
|
|
23341
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
23342
|
+
};
|
|
23343
|
+
|
|
23344
|
+
|
|
23345
|
+
/**
|
|
23346
|
+
* @param {string} value
|
|
23347
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23348
|
+
*/
|
|
23349
|
+
proto.bonus.BonusCanceledEvent.prototype.setStatus = function(value) {
|
|
23350
|
+
return jspb.Message.setField(this, 8, value);
|
|
23351
|
+
};
|
|
23352
|
+
|
|
23353
|
+
|
|
23354
|
+
/**
|
|
23355
|
+
* Clears the field making it undefined.
|
|
23356
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23357
|
+
*/
|
|
23358
|
+
proto.bonus.BonusCanceledEvent.prototype.clearStatus = function() {
|
|
23359
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
23360
|
+
};
|
|
23361
|
+
|
|
23362
|
+
|
|
23363
|
+
/**
|
|
23364
|
+
* Returns whether this field is set.
|
|
23365
|
+
* @return {boolean}
|
|
23366
|
+
*/
|
|
23367
|
+
proto.bonus.BonusCanceledEvent.prototype.hasStatus = function() {
|
|
23368
|
+
return jspb.Message.getField(this, 8) != null;
|
|
23369
|
+
};
|
|
23370
|
+
|
|
23371
|
+
|
|
23372
|
+
/**
|
|
23373
|
+
* optional string canceled_at = 9;
|
|
23374
|
+
* @return {string}
|
|
23375
|
+
*/
|
|
23376
|
+
proto.bonus.BonusCanceledEvent.prototype.getCanceledAt = function() {
|
|
23377
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
23378
|
+
};
|
|
23379
|
+
|
|
23380
|
+
|
|
23381
|
+
/**
|
|
23382
|
+
* @param {string} value
|
|
23383
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23384
|
+
*/
|
|
23385
|
+
proto.bonus.BonusCanceledEvent.prototype.setCanceledAt = function(value) {
|
|
23386
|
+
return jspb.Message.setField(this, 9, value);
|
|
23387
|
+
};
|
|
23388
|
+
|
|
23389
|
+
|
|
23390
|
+
/**
|
|
23391
|
+
* Clears the field making it undefined.
|
|
23392
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23393
|
+
*/
|
|
23394
|
+
proto.bonus.BonusCanceledEvent.prototype.clearCanceledAt = function() {
|
|
23395
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
23396
|
+
};
|
|
23397
|
+
|
|
23398
|
+
|
|
23399
|
+
/**
|
|
23400
|
+
* Returns whether this field is set.
|
|
23401
|
+
* @return {boolean}
|
|
23402
|
+
*/
|
|
23403
|
+
proto.bonus.BonusCanceledEvent.prototype.hasCanceledAt = function() {
|
|
23404
|
+
return jspb.Message.getField(this, 9) != null;
|
|
23405
|
+
};
|
|
23406
|
+
|
|
23407
|
+
|
|
23408
|
+
/**
|
|
23409
|
+
* optional string cancel_reason = 10;
|
|
23410
|
+
* @return {string}
|
|
23411
|
+
*/
|
|
23412
|
+
proto.bonus.BonusCanceledEvent.prototype.getCancelReason = function() {
|
|
23413
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
23414
|
+
};
|
|
23415
|
+
|
|
23416
|
+
|
|
23417
|
+
/**
|
|
23418
|
+
* @param {string} value
|
|
23419
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23420
|
+
*/
|
|
23421
|
+
proto.bonus.BonusCanceledEvent.prototype.setCancelReason = function(value) {
|
|
23422
|
+
return jspb.Message.setField(this, 10, value);
|
|
23423
|
+
};
|
|
23424
|
+
|
|
23425
|
+
|
|
23426
|
+
/**
|
|
23427
|
+
* Clears the field making it undefined.
|
|
23428
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23429
|
+
*/
|
|
23430
|
+
proto.bonus.BonusCanceledEvent.prototype.clearCancelReason = function() {
|
|
23431
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
23432
|
+
};
|
|
23433
|
+
|
|
23434
|
+
|
|
23435
|
+
/**
|
|
23436
|
+
* Returns whether this field is set.
|
|
23437
|
+
* @return {boolean}
|
|
23438
|
+
*/
|
|
23439
|
+
proto.bonus.BonusCanceledEvent.prototype.hasCancelReason = function() {
|
|
23440
|
+
return jspb.Message.getField(this, 10) != null;
|
|
23441
|
+
};
|
|
23442
|
+
|
|
23443
|
+
|
|
23444
|
+
/**
|
|
23445
|
+
* optional string actor_id = 11;
|
|
23446
|
+
* @return {string}
|
|
23447
|
+
*/
|
|
23448
|
+
proto.bonus.BonusCanceledEvent.prototype.getActorId = function() {
|
|
23449
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
23450
|
+
};
|
|
23451
|
+
|
|
23452
|
+
|
|
23453
|
+
/**
|
|
23454
|
+
* @param {string} value
|
|
23455
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23456
|
+
*/
|
|
23457
|
+
proto.bonus.BonusCanceledEvent.prototype.setActorId = function(value) {
|
|
23458
|
+
return jspb.Message.setField(this, 11, value);
|
|
23459
|
+
};
|
|
23460
|
+
|
|
23461
|
+
|
|
23462
|
+
/**
|
|
23463
|
+
* Clears the field making it undefined.
|
|
23464
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23465
|
+
*/
|
|
23466
|
+
proto.bonus.BonusCanceledEvent.prototype.clearActorId = function() {
|
|
23467
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
23468
|
+
};
|
|
23469
|
+
|
|
23470
|
+
|
|
23471
|
+
/**
|
|
23472
|
+
* Returns whether this field is set.
|
|
23473
|
+
* @return {boolean}
|
|
23474
|
+
*/
|
|
23475
|
+
proto.bonus.BonusCanceledEvent.prototype.hasActorId = function() {
|
|
23476
|
+
return jspb.Message.getField(this, 11) != null;
|
|
23477
|
+
};
|
|
23478
|
+
|
|
23479
|
+
|
|
23480
|
+
/**
|
|
23481
|
+
* optional string actor_role = 12;
|
|
23482
|
+
* @return {string}
|
|
23483
|
+
*/
|
|
23484
|
+
proto.bonus.BonusCanceledEvent.prototype.getActorRole = function() {
|
|
23485
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
23486
|
+
};
|
|
23487
|
+
|
|
23488
|
+
|
|
23489
|
+
/**
|
|
23490
|
+
* @param {string} value
|
|
23491
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23492
|
+
*/
|
|
23493
|
+
proto.bonus.BonusCanceledEvent.prototype.setActorRole = function(value) {
|
|
23494
|
+
return jspb.Message.setField(this, 12, value);
|
|
23495
|
+
};
|
|
23496
|
+
|
|
23497
|
+
|
|
23498
|
+
/**
|
|
23499
|
+
* Clears the field making it undefined.
|
|
23500
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23501
|
+
*/
|
|
23502
|
+
proto.bonus.BonusCanceledEvent.prototype.clearActorRole = function() {
|
|
23503
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
23504
|
+
};
|
|
23505
|
+
|
|
23506
|
+
|
|
23507
|
+
/**
|
|
23508
|
+
* Returns whether this field is set.
|
|
23509
|
+
* @return {boolean}
|
|
23510
|
+
*/
|
|
23511
|
+
proto.bonus.BonusCanceledEvent.prototype.hasActorRole = function() {
|
|
23512
|
+
return jspb.Message.getField(this, 12) != null;
|
|
23513
|
+
};
|
|
23514
|
+
|
|
23515
|
+
|
|
23516
|
+
/**
|
|
23517
|
+
* optional string request_id = 13;
|
|
23518
|
+
* @return {string}
|
|
23519
|
+
*/
|
|
23520
|
+
proto.bonus.BonusCanceledEvent.prototype.getRequestId = function() {
|
|
23521
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
23522
|
+
};
|
|
23523
|
+
|
|
23524
|
+
|
|
23525
|
+
/**
|
|
23526
|
+
* @param {string} value
|
|
23527
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23528
|
+
*/
|
|
23529
|
+
proto.bonus.BonusCanceledEvent.prototype.setRequestId = function(value) {
|
|
23530
|
+
return jspb.Message.setField(this, 13, value);
|
|
23531
|
+
};
|
|
23532
|
+
|
|
23533
|
+
|
|
23534
|
+
/**
|
|
23535
|
+
* Clears the field making it undefined.
|
|
23536
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23537
|
+
*/
|
|
23538
|
+
proto.bonus.BonusCanceledEvent.prototype.clearRequestId = function() {
|
|
23539
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
23540
|
+
};
|
|
23541
|
+
|
|
23542
|
+
|
|
23543
|
+
/**
|
|
23544
|
+
* Returns whether this field is set.
|
|
23545
|
+
* @return {boolean}
|
|
23546
|
+
*/
|
|
23547
|
+
proto.bonus.BonusCanceledEvent.prototype.hasRequestId = function() {
|
|
23548
|
+
return jspb.Message.getField(this, 13) != null;
|
|
23549
|
+
};
|
|
23550
|
+
|
|
23551
|
+
|
|
23552
|
+
/**
|
|
23553
|
+
* optional bool admin_initiated = 14;
|
|
23554
|
+
* @return {boolean}
|
|
23555
|
+
*/
|
|
23556
|
+
proto.bonus.BonusCanceledEvent.prototype.getAdminInitiated = function() {
|
|
23557
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
23558
|
+
};
|
|
23559
|
+
|
|
23560
|
+
|
|
23561
|
+
/**
|
|
23562
|
+
* @param {boolean} value
|
|
23563
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23564
|
+
*/
|
|
23565
|
+
proto.bonus.BonusCanceledEvent.prototype.setAdminInitiated = function(value) {
|
|
23566
|
+
return jspb.Message.setField(this, 14, value);
|
|
23567
|
+
};
|
|
23568
|
+
|
|
23569
|
+
|
|
23570
|
+
/**
|
|
23571
|
+
* Clears the field making it undefined.
|
|
23572
|
+
* @return {!proto.bonus.BonusCanceledEvent} returns this
|
|
23573
|
+
*/
|
|
23574
|
+
proto.bonus.BonusCanceledEvent.prototype.clearAdminInitiated = function() {
|
|
23575
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
23576
|
+
};
|
|
23577
|
+
|
|
23578
|
+
|
|
23579
|
+
/**
|
|
23580
|
+
* Returns whether this field is set.
|
|
23581
|
+
* @return {boolean}
|
|
23582
|
+
*/
|
|
23583
|
+
proto.bonus.BonusCanceledEvent.prototype.hasAdminInitiated = function() {
|
|
23584
|
+
return jspb.Message.getField(this, 14) != null;
|
|
23585
|
+
};
|
|
23586
|
+
|
|
23587
|
+
|
|
23588
|
+
|
|
23589
|
+
|
|
23590
|
+
|
|
23591
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23592
|
+
/**
|
|
23593
|
+
* Creates an object representation of this proto.
|
|
23594
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23595
|
+
* Optional fields that are not set will be set to undefined.
|
|
23596
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23597
|
+
* For the list of reserved names please see:
|
|
23598
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23599
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23600
|
+
* JSPB instance for transitional soy proto support:
|
|
23601
|
+
* http://goto/soy-param-migration
|
|
23602
|
+
* @return {!Object}
|
|
23603
|
+
*/
|
|
23604
|
+
proto.bonus.BonusClaimedEvent.prototype.toObject = function(opt_includeInstance) {
|
|
23605
|
+
return proto.bonus.BonusClaimedEvent.toObject(opt_includeInstance, this);
|
|
23606
|
+
};
|
|
23607
|
+
|
|
23608
|
+
|
|
23609
|
+
/**
|
|
23610
|
+
* Static version of the {@see toObject} method.
|
|
23611
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23612
|
+
* the JSPB instance for transitional soy proto support:
|
|
23613
|
+
* http://goto/soy-param-migration
|
|
23614
|
+
* @param {!proto.bonus.BonusClaimedEvent} msg The msg instance to transform.
|
|
23615
|
+
* @return {!Object}
|
|
23616
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23617
|
+
*/
|
|
23618
|
+
proto.bonus.BonusClaimedEvent.toObject = function(includeInstance, msg) {
|
|
23619
|
+
var f, obj = {
|
|
23620
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23621
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23622
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23623
|
+
userBonusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
23624
|
+
bonusTitle: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
23625
|
+
bonusType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
23626
|
+
bonusCategory: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
23627
|
+
status: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
23628
|
+
claimedAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
23629
|
+
actorId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
23630
|
+
actorRole: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
23631
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
23632
|
+
adminInitiated: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
|
|
23633
|
+
};
|
|
23634
|
+
|
|
23635
|
+
if (includeInstance) {
|
|
23636
|
+
obj.$jspbMessageInstance = msg;
|
|
23637
|
+
}
|
|
23638
|
+
return obj;
|
|
23639
|
+
};
|
|
23640
|
+
}
|
|
23641
|
+
|
|
23642
|
+
|
|
23643
|
+
/**
|
|
23644
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23645
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23646
|
+
* @return {!proto.bonus.BonusClaimedEvent}
|
|
23647
|
+
*/
|
|
23648
|
+
proto.bonus.BonusClaimedEvent.deserializeBinary = function(bytes) {
|
|
23649
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23650
|
+
var msg = new proto.bonus.BonusClaimedEvent;
|
|
23651
|
+
return proto.bonus.BonusClaimedEvent.deserializeBinaryFromReader(msg, reader);
|
|
23652
|
+
};
|
|
23653
|
+
|
|
23654
|
+
|
|
23655
|
+
/**
|
|
23656
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23657
|
+
* given reader into the given message object.
|
|
23658
|
+
* @param {!proto.bonus.BonusClaimedEvent} msg The message object to deserialize into.
|
|
23659
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23660
|
+
* @return {!proto.bonus.BonusClaimedEvent}
|
|
23661
|
+
*/
|
|
23662
|
+
proto.bonus.BonusClaimedEvent.deserializeBinaryFromReader = function(msg, reader) {
|
|
23663
|
+
while (reader.nextField()) {
|
|
23664
|
+
if (reader.isEndGroup()) {
|
|
23665
|
+
break;
|
|
23666
|
+
}
|
|
23667
|
+
var field = reader.getFieldNumber();
|
|
23668
|
+
switch (field) {
|
|
23669
|
+
case 1:
|
|
23670
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23671
|
+
msg.setUserId(value);
|
|
23672
|
+
break;
|
|
23673
|
+
case 2:
|
|
23674
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23675
|
+
msg.setUserPublicId(value);
|
|
23676
|
+
break;
|
|
23677
|
+
case 3:
|
|
23678
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23679
|
+
msg.setBonusId(value);
|
|
23680
|
+
break;
|
|
23681
|
+
case 4:
|
|
23682
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23683
|
+
msg.setUserBonusId(value);
|
|
23684
|
+
break;
|
|
23685
|
+
case 5:
|
|
23686
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23687
|
+
msg.setBonusTitle(value);
|
|
23688
|
+
break;
|
|
23689
|
+
case 6:
|
|
23690
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23691
|
+
msg.setBonusType(value);
|
|
23692
|
+
break;
|
|
23693
|
+
case 7:
|
|
23694
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23695
|
+
msg.setBonusCategory(value);
|
|
23696
|
+
break;
|
|
23697
|
+
case 8:
|
|
23698
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23699
|
+
msg.setStatus(value);
|
|
23700
|
+
break;
|
|
23701
|
+
case 9:
|
|
23702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23703
|
+
msg.setClaimedAt(value);
|
|
23704
|
+
break;
|
|
23705
|
+
case 10:
|
|
23706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23707
|
+
msg.setActorId(value);
|
|
23708
|
+
break;
|
|
23709
|
+
case 11:
|
|
23710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23711
|
+
msg.setActorRole(value);
|
|
23712
|
+
break;
|
|
23713
|
+
case 12:
|
|
23714
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23715
|
+
msg.setRequestId(value);
|
|
23716
|
+
break;
|
|
23717
|
+
case 13:
|
|
23718
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23719
|
+
msg.setAdminInitiated(value);
|
|
23720
|
+
break;
|
|
23721
|
+
default:
|
|
23722
|
+
reader.skipField();
|
|
23723
|
+
break;
|
|
23724
|
+
}
|
|
23725
|
+
}
|
|
23726
|
+
return msg;
|
|
23727
|
+
};
|
|
23728
|
+
|
|
23729
|
+
|
|
23730
|
+
/**
|
|
23731
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23732
|
+
* @return {!Uint8Array}
|
|
23733
|
+
*/
|
|
23734
|
+
proto.bonus.BonusClaimedEvent.prototype.serializeBinary = function() {
|
|
23735
|
+
var writer = new jspb.BinaryWriter();
|
|
23736
|
+
proto.bonus.BonusClaimedEvent.serializeBinaryToWriter(this, writer);
|
|
23737
|
+
return writer.getResultBuffer();
|
|
23738
|
+
};
|
|
23739
|
+
|
|
23740
|
+
|
|
23741
|
+
/**
|
|
23742
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23743
|
+
* format), writing to the given BinaryWriter.
|
|
23744
|
+
* @param {!proto.bonus.BonusClaimedEvent} message
|
|
23745
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23746
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23747
|
+
*/
|
|
23748
|
+
proto.bonus.BonusClaimedEvent.serializeBinaryToWriter = function(message, writer) {
|
|
23749
|
+
var f = undefined;
|
|
23750
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
23751
|
+
if (f != null) {
|
|
23752
|
+
writer.writeInt32(
|
|
23753
|
+
1,
|
|
23754
|
+
f
|
|
23755
|
+
);
|
|
23756
|
+
}
|
|
23757
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
23758
|
+
if (f != null) {
|
|
23759
|
+
writer.writeString(
|
|
23760
|
+
2,
|
|
23761
|
+
f
|
|
23762
|
+
);
|
|
23763
|
+
}
|
|
23764
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
23765
|
+
if (f != null) {
|
|
23766
|
+
writer.writeInt32(
|
|
23767
|
+
3,
|
|
23768
|
+
f
|
|
23769
|
+
);
|
|
23770
|
+
}
|
|
23771
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
23772
|
+
if (f != null) {
|
|
23773
|
+
writer.writeInt32(
|
|
23774
|
+
4,
|
|
23775
|
+
f
|
|
23776
|
+
);
|
|
23777
|
+
}
|
|
23778
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
23779
|
+
if (f != null) {
|
|
23780
|
+
writer.writeString(
|
|
23781
|
+
5,
|
|
23782
|
+
f
|
|
23783
|
+
);
|
|
23784
|
+
}
|
|
23785
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
23786
|
+
if (f != null) {
|
|
23787
|
+
writer.writeString(
|
|
23788
|
+
6,
|
|
23789
|
+
f
|
|
23790
|
+
);
|
|
23791
|
+
}
|
|
23792
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
23793
|
+
if (f != null) {
|
|
23794
|
+
writer.writeString(
|
|
23795
|
+
7,
|
|
23796
|
+
f
|
|
23797
|
+
);
|
|
23798
|
+
}
|
|
23799
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
23800
|
+
if (f != null) {
|
|
23801
|
+
writer.writeString(
|
|
23802
|
+
8,
|
|
23803
|
+
f
|
|
23804
|
+
);
|
|
23805
|
+
}
|
|
23806
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
23807
|
+
if (f != null) {
|
|
23808
|
+
writer.writeString(
|
|
23809
|
+
9,
|
|
23810
|
+
f
|
|
23811
|
+
);
|
|
23812
|
+
}
|
|
23813
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
23814
|
+
if (f != null) {
|
|
23815
|
+
writer.writeString(
|
|
23816
|
+
10,
|
|
23817
|
+
f
|
|
23818
|
+
);
|
|
23819
|
+
}
|
|
23820
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
23821
|
+
if (f != null) {
|
|
23822
|
+
writer.writeString(
|
|
23823
|
+
11,
|
|
23824
|
+
f
|
|
23825
|
+
);
|
|
23826
|
+
}
|
|
23827
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
23828
|
+
if (f != null) {
|
|
23829
|
+
writer.writeString(
|
|
23830
|
+
12,
|
|
23831
|
+
f
|
|
23832
|
+
);
|
|
23833
|
+
}
|
|
23834
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 13));
|
|
23835
|
+
if (f != null) {
|
|
23836
|
+
writer.writeBool(
|
|
23837
|
+
13,
|
|
23838
|
+
f
|
|
23839
|
+
);
|
|
23840
|
+
}
|
|
23841
|
+
};
|
|
23842
|
+
|
|
23843
|
+
|
|
23844
|
+
/**
|
|
23845
|
+
* optional int32 user_id = 1;
|
|
23846
|
+
* @return {number}
|
|
23847
|
+
*/
|
|
23848
|
+
proto.bonus.BonusClaimedEvent.prototype.getUserId = function() {
|
|
23849
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23850
|
+
};
|
|
23851
|
+
|
|
23852
|
+
|
|
23853
|
+
/**
|
|
23854
|
+
* @param {number} value
|
|
23855
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23856
|
+
*/
|
|
23857
|
+
proto.bonus.BonusClaimedEvent.prototype.setUserId = function(value) {
|
|
23858
|
+
return jspb.Message.setField(this, 1, value);
|
|
23859
|
+
};
|
|
23860
|
+
|
|
23861
|
+
|
|
23862
|
+
/**
|
|
23863
|
+
* Clears the field making it undefined.
|
|
23864
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23865
|
+
*/
|
|
23866
|
+
proto.bonus.BonusClaimedEvent.prototype.clearUserId = function() {
|
|
23867
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
23868
|
+
};
|
|
23869
|
+
|
|
23870
|
+
|
|
23871
|
+
/**
|
|
23872
|
+
* Returns whether this field is set.
|
|
23873
|
+
* @return {boolean}
|
|
23874
|
+
*/
|
|
23875
|
+
proto.bonus.BonusClaimedEvent.prototype.hasUserId = function() {
|
|
23876
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23877
|
+
};
|
|
23878
|
+
|
|
23879
|
+
|
|
23880
|
+
/**
|
|
23881
|
+
* optional string user_public_id = 2;
|
|
23882
|
+
* @return {string}
|
|
23883
|
+
*/
|
|
23884
|
+
proto.bonus.BonusClaimedEvent.prototype.getUserPublicId = function() {
|
|
23885
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23886
|
+
};
|
|
23887
|
+
|
|
23888
|
+
|
|
23889
|
+
/**
|
|
23890
|
+
* @param {string} value
|
|
23891
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23892
|
+
*/
|
|
23893
|
+
proto.bonus.BonusClaimedEvent.prototype.setUserPublicId = function(value) {
|
|
23894
|
+
return jspb.Message.setField(this, 2, value);
|
|
23895
|
+
};
|
|
23896
|
+
|
|
23897
|
+
|
|
23898
|
+
/**
|
|
23899
|
+
* Clears the field making it undefined.
|
|
23900
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23901
|
+
*/
|
|
23902
|
+
proto.bonus.BonusClaimedEvent.prototype.clearUserPublicId = function() {
|
|
23903
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
23904
|
+
};
|
|
23905
|
+
|
|
23906
|
+
|
|
23907
|
+
/**
|
|
23908
|
+
* Returns whether this field is set.
|
|
23909
|
+
* @return {boolean}
|
|
23910
|
+
*/
|
|
23911
|
+
proto.bonus.BonusClaimedEvent.prototype.hasUserPublicId = function() {
|
|
23912
|
+
return jspb.Message.getField(this, 2) != null;
|
|
23913
|
+
};
|
|
23914
|
+
|
|
23915
|
+
|
|
23916
|
+
/**
|
|
23917
|
+
* optional int32 bonus_id = 3;
|
|
23918
|
+
* @return {number}
|
|
23919
|
+
*/
|
|
23920
|
+
proto.bonus.BonusClaimedEvent.prototype.getBonusId = function() {
|
|
23921
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23922
|
+
};
|
|
23923
|
+
|
|
23924
|
+
|
|
23925
|
+
/**
|
|
23926
|
+
* @param {number} value
|
|
23927
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23928
|
+
*/
|
|
23929
|
+
proto.bonus.BonusClaimedEvent.prototype.setBonusId = function(value) {
|
|
23930
|
+
return jspb.Message.setField(this, 3, value);
|
|
23931
|
+
};
|
|
23932
|
+
|
|
23933
|
+
|
|
23934
|
+
/**
|
|
23935
|
+
* Clears the field making it undefined.
|
|
23936
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23937
|
+
*/
|
|
23938
|
+
proto.bonus.BonusClaimedEvent.prototype.clearBonusId = function() {
|
|
23939
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
23940
|
+
};
|
|
23941
|
+
|
|
23942
|
+
|
|
23943
|
+
/**
|
|
23944
|
+
* Returns whether this field is set.
|
|
23945
|
+
* @return {boolean}
|
|
23946
|
+
*/
|
|
23947
|
+
proto.bonus.BonusClaimedEvent.prototype.hasBonusId = function() {
|
|
23948
|
+
return jspb.Message.getField(this, 3) != null;
|
|
23949
|
+
};
|
|
23950
|
+
|
|
23951
|
+
|
|
23952
|
+
/**
|
|
23953
|
+
* optional int32 user_bonus_id = 4;
|
|
23954
|
+
* @return {number}
|
|
23955
|
+
*/
|
|
23956
|
+
proto.bonus.BonusClaimedEvent.prototype.getUserBonusId = function() {
|
|
23957
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
23958
|
+
};
|
|
23959
|
+
|
|
23960
|
+
|
|
23961
|
+
/**
|
|
23962
|
+
* @param {number} value
|
|
23963
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23964
|
+
*/
|
|
23965
|
+
proto.bonus.BonusClaimedEvent.prototype.setUserBonusId = function(value) {
|
|
23966
|
+
return jspb.Message.setField(this, 4, value);
|
|
23967
|
+
};
|
|
23968
|
+
|
|
23969
|
+
|
|
23970
|
+
/**
|
|
23971
|
+
* Clears the field making it undefined.
|
|
23972
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
23973
|
+
*/
|
|
23974
|
+
proto.bonus.BonusClaimedEvent.prototype.clearUserBonusId = function() {
|
|
23975
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
23976
|
+
};
|
|
23977
|
+
|
|
23978
|
+
|
|
23979
|
+
/**
|
|
23980
|
+
* Returns whether this field is set.
|
|
23981
|
+
* @return {boolean}
|
|
23982
|
+
*/
|
|
23983
|
+
proto.bonus.BonusClaimedEvent.prototype.hasUserBonusId = function() {
|
|
23984
|
+
return jspb.Message.getField(this, 4) != null;
|
|
23985
|
+
};
|
|
23986
|
+
|
|
23987
|
+
|
|
23988
|
+
/**
|
|
23989
|
+
* optional string bonus_title = 5;
|
|
23990
|
+
* @return {string}
|
|
23991
|
+
*/
|
|
23992
|
+
proto.bonus.BonusClaimedEvent.prototype.getBonusTitle = function() {
|
|
23993
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
23994
|
+
};
|
|
23995
|
+
|
|
23996
|
+
|
|
23997
|
+
/**
|
|
23998
|
+
* @param {string} value
|
|
23999
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24000
|
+
*/
|
|
24001
|
+
proto.bonus.BonusClaimedEvent.prototype.setBonusTitle = function(value) {
|
|
24002
|
+
return jspb.Message.setField(this, 5, value);
|
|
24003
|
+
};
|
|
24004
|
+
|
|
24005
|
+
|
|
24006
|
+
/**
|
|
24007
|
+
* Clears the field making it undefined.
|
|
24008
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24009
|
+
*/
|
|
24010
|
+
proto.bonus.BonusClaimedEvent.prototype.clearBonusTitle = function() {
|
|
24011
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
24012
|
+
};
|
|
24013
|
+
|
|
24014
|
+
|
|
24015
|
+
/**
|
|
24016
|
+
* Returns whether this field is set.
|
|
24017
|
+
* @return {boolean}
|
|
24018
|
+
*/
|
|
24019
|
+
proto.bonus.BonusClaimedEvent.prototype.hasBonusTitle = function() {
|
|
24020
|
+
return jspb.Message.getField(this, 5) != null;
|
|
24021
|
+
};
|
|
24022
|
+
|
|
24023
|
+
|
|
24024
|
+
/**
|
|
24025
|
+
* optional string bonus_type = 6;
|
|
24026
|
+
* @return {string}
|
|
24027
|
+
*/
|
|
24028
|
+
proto.bonus.BonusClaimedEvent.prototype.getBonusType = function() {
|
|
24029
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
24030
|
+
};
|
|
24031
|
+
|
|
24032
|
+
|
|
24033
|
+
/**
|
|
24034
|
+
* @param {string} value
|
|
24035
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24036
|
+
*/
|
|
24037
|
+
proto.bonus.BonusClaimedEvent.prototype.setBonusType = function(value) {
|
|
24038
|
+
return jspb.Message.setField(this, 6, value);
|
|
24039
|
+
};
|
|
24040
|
+
|
|
24041
|
+
|
|
24042
|
+
/**
|
|
24043
|
+
* Clears the field making it undefined.
|
|
24044
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24045
|
+
*/
|
|
24046
|
+
proto.bonus.BonusClaimedEvent.prototype.clearBonusType = function() {
|
|
24047
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
24048
|
+
};
|
|
24049
|
+
|
|
24050
|
+
|
|
24051
|
+
/**
|
|
24052
|
+
* Returns whether this field is set.
|
|
24053
|
+
* @return {boolean}
|
|
24054
|
+
*/
|
|
24055
|
+
proto.bonus.BonusClaimedEvent.prototype.hasBonusType = function() {
|
|
24056
|
+
return jspb.Message.getField(this, 6) != null;
|
|
24057
|
+
};
|
|
24058
|
+
|
|
24059
|
+
|
|
24060
|
+
/**
|
|
24061
|
+
* optional string bonus_category = 7;
|
|
24062
|
+
* @return {string}
|
|
24063
|
+
*/
|
|
24064
|
+
proto.bonus.BonusClaimedEvent.prototype.getBonusCategory = function() {
|
|
24065
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
24066
|
+
};
|
|
24067
|
+
|
|
24068
|
+
|
|
24069
|
+
/**
|
|
24070
|
+
* @param {string} value
|
|
24071
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24072
|
+
*/
|
|
24073
|
+
proto.bonus.BonusClaimedEvent.prototype.setBonusCategory = function(value) {
|
|
24074
|
+
return jspb.Message.setField(this, 7, value);
|
|
24075
|
+
};
|
|
24076
|
+
|
|
24077
|
+
|
|
24078
|
+
/**
|
|
24079
|
+
* Clears the field making it undefined.
|
|
24080
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24081
|
+
*/
|
|
24082
|
+
proto.bonus.BonusClaimedEvent.prototype.clearBonusCategory = function() {
|
|
24083
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
24084
|
+
};
|
|
24085
|
+
|
|
24086
|
+
|
|
24087
|
+
/**
|
|
24088
|
+
* Returns whether this field is set.
|
|
24089
|
+
* @return {boolean}
|
|
24090
|
+
*/
|
|
24091
|
+
proto.bonus.BonusClaimedEvent.prototype.hasBonusCategory = function() {
|
|
24092
|
+
return jspb.Message.getField(this, 7) != null;
|
|
24093
|
+
};
|
|
24094
|
+
|
|
24095
|
+
|
|
24096
|
+
/**
|
|
24097
|
+
* optional string status = 8;
|
|
24098
|
+
* @return {string}
|
|
24099
|
+
*/
|
|
24100
|
+
proto.bonus.BonusClaimedEvent.prototype.getStatus = function() {
|
|
24101
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
24102
|
+
};
|
|
24103
|
+
|
|
24104
|
+
|
|
24105
|
+
/**
|
|
24106
|
+
* @param {string} value
|
|
24107
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24108
|
+
*/
|
|
24109
|
+
proto.bonus.BonusClaimedEvent.prototype.setStatus = function(value) {
|
|
24110
|
+
return jspb.Message.setField(this, 8, value);
|
|
24111
|
+
};
|
|
24112
|
+
|
|
24113
|
+
|
|
24114
|
+
/**
|
|
24115
|
+
* Clears the field making it undefined.
|
|
24116
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24117
|
+
*/
|
|
24118
|
+
proto.bonus.BonusClaimedEvent.prototype.clearStatus = function() {
|
|
24119
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
24120
|
+
};
|
|
24121
|
+
|
|
24122
|
+
|
|
24123
|
+
/**
|
|
24124
|
+
* Returns whether this field is set.
|
|
24125
|
+
* @return {boolean}
|
|
24126
|
+
*/
|
|
24127
|
+
proto.bonus.BonusClaimedEvent.prototype.hasStatus = function() {
|
|
24128
|
+
return jspb.Message.getField(this, 8) != null;
|
|
24129
|
+
};
|
|
24130
|
+
|
|
24131
|
+
|
|
24132
|
+
/**
|
|
24133
|
+
* optional string claimed_at = 9;
|
|
24134
|
+
* @return {string}
|
|
24135
|
+
*/
|
|
24136
|
+
proto.bonus.BonusClaimedEvent.prototype.getClaimedAt = function() {
|
|
24137
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
24138
|
+
};
|
|
24139
|
+
|
|
24140
|
+
|
|
24141
|
+
/**
|
|
24142
|
+
* @param {string} value
|
|
24143
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24144
|
+
*/
|
|
24145
|
+
proto.bonus.BonusClaimedEvent.prototype.setClaimedAt = function(value) {
|
|
24146
|
+
return jspb.Message.setField(this, 9, value);
|
|
24147
|
+
};
|
|
24148
|
+
|
|
24149
|
+
|
|
24150
|
+
/**
|
|
24151
|
+
* Clears the field making it undefined.
|
|
24152
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24153
|
+
*/
|
|
24154
|
+
proto.bonus.BonusClaimedEvent.prototype.clearClaimedAt = function() {
|
|
24155
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
24156
|
+
};
|
|
24157
|
+
|
|
24158
|
+
|
|
24159
|
+
/**
|
|
24160
|
+
* Returns whether this field is set.
|
|
24161
|
+
* @return {boolean}
|
|
24162
|
+
*/
|
|
24163
|
+
proto.bonus.BonusClaimedEvent.prototype.hasClaimedAt = function() {
|
|
24164
|
+
return jspb.Message.getField(this, 9) != null;
|
|
24165
|
+
};
|
|
24166
|
+
|
|
24167
|
+
|
|
24168
|
+
/**
|
|
24169
|
+
* optional string actor_id = 10;
|
|
24170
|
+
* @return {string}
|
|
24171
|
+
*/
|
|
24172
|
+
proto.bonus.BonusClaimedEvent.prototype.getActorId = function() {
|
|
24173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
24174
|
+
};
|
|
24175
|
+
|
|
24176
|
+
|
|
24177
|
+
/**
|
|
24178
|
+
* @param {string} value
|
|
24179
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24180
|
+
*/
|
|
24181
|
+
proto.bonus.BonusClaimedEvent.prototype.setActorId = function(value) {
|
|
24182
|
+
return jspb.Message.setField(this, 10, value);
|
|
24183
|
+
};
|
|
24184
|
+
|
|
24185
|
+
|
|
24186
|
+
/**
|
|
24187
|
+
* Clears the field making it undefined.
|
|
24188
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24189
|
+
*/
|
|
24190
|
+
proto.bonus.BonusClaimedEvent.prototype.clearActorId = function() {
|
|
24191
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
24192
|
+
};
|
|
24193
|
+
|
|
24194
|
+
|
|
24195
|
+
/**
|
|
24196
|
+
* Returns whether this field is set.
|
|
24197
|
+
* @return {boolean}
|
|
24198
|
+
*/
|
|
24199
|
+
proto.bonus.BonusClaimedEvent.prototype.hasActorId = function() {
|
|
24200
|
+
return jspb.Message.getField(this, 10) != null;
|
|
24201
|
+
};
|
|
24202
|
+
|
|
24203
|
+
|
|
24204
|
+
/**
|
|
24205
|
+
* optional string actor_role = 11;
|
|
24206
|
+
* @return {string}
|
|
24207
|
+
*/
|
|
24208
|
+
proto.bonus.BonusClaimedEvent.prototype.getActorRole = function() {
|
|
24209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
24210
|
+
};
|
|
24211
|
+
|
|
24212
|
+
|
|
24213
|
+
/**
|
|
24214
|
+
* @param {string} value
|
|
24215
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24216
|
+
*/
|
|
24217
|
+
proto.bonus.BonusClaimedEvent.prototype.setActorRole = function(value) {
|
|
24218
|
+
return jspb.Message.setField(this, 11, value);
|
|
24219
|
+
};
|
|
24220
|
+
|
|
24221
|
+
|
|
24222
|
+
/**
|
|
24223
|
+
* Clears the field making it undefined.
|
|
24224
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24225
|
+
*/
|
|
24226
|
+
proto.bonus.BonusClaimedEvent.prototype.clearActorRole = function() {
|
|
24227
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
24228
|
+
};
|
|
24229
|
+
|
|
24230
|
+
|
|
24231
|
+
/**
|
|
24232
|
+
* Returns whether this field is set.
|
|
24233
|
+
* @return {boolean}
|
|
24234
|
+
*/
|
|
24235
|
+
proto.bonus.BonusClaimedEvent.prototype.hasActorRole = function() {
|
|
24236
|
+
return jspb.Message.getField(this, 11) != null;
|
|
24237
|
+
};
|
|
24238
|
+
|
|
24239
|
+
|
|
24240
|
+
/**
|
|
24241
|
+
* optional string request_id = 12;
|
|
24242
|
+
* @return {string}
|
|
24243
|
+
*/
|
|
24244
|
+
proto.bonus.BonusClaimedEvent.prototype.getRequestId = function() {
|
|
24245
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
24246
|
+
};
|
|
24247
|
+
|
|
24248
|
+
|
|
24249
|
+
/**
|
|
24250
|
+
* @param {string} value
|
|
24251
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24252
|
+
*/
|
|
24253
|
+
proto.bonus.BonusClaimedEvent.prototype.setRequestId = function(value) {
|
|
24254
|
+
return jspb.Message.setField(this, 12, value);
|
|
24255
|
+
};
|
|
24256
|
+
|
|
24257
|
+
|
|
24258
|
+
/**
|
|
24259
|
+
* Clears the field making it undefined.
|
|
24260
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24261
|
+
*/
|
|
24262
|
+
proto.bonus.BonusClaimedEvent.prototype.clearRequestId = function() {
|
|
24263
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
24264
|
+
};
|
|
24265
|
+
|
|
24266
|
+
|
|
24267
|
+
/**
|
|
24268
|
+
* Returns whether this field is set.
|
|
24269
|
+
* @return {boolean}
|
|
24270
|
+
*/
|
|
24271
|
+
proto.bonus.BonusClaimedEvent.prototype.hasRequestId = function() {
|
|
24272
|
+
return jspb.Message.getField(this, 12) != null;
|
|
24273
|
+
};
|
|
24274
|
+
|
|
24275
|
+
|
|
24276
|
+
/**
|
|
24277
|
+
* optional bool admin_initiated = 13;
|
|
24278
|
+
* @return {boolean}
|
|
24279
|
+
*/
|
|
24280
|
+
proto.bonus.BonusClaimedEvent.prototype.getAdminInitiated = function() {
|
|
24281
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
24282
|
+
};
|
|
24283
|
+
|
|
24284
|
+
|
|
24285
|
+
/**
|
|
24286
|
+
* @param {boolean} value
|
|
24287
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24288
|
+
*/
|
|
24289
|
+
proto.bonus.BonusClaimedEvent.prototype.setAdminInitiated = function(value) {
|
|
24290
|
+
return jspb.Message.setField(this, 13, value);
|
|
24291
|
+
};
|
|
24292
|
+
|
|
24293
|
+
|
|
24294
|
+
/**
|
|
24295
|
+
* Clears the field making it undefined.
|
|
24296
|
+
* @return {!proto.bonus.BonusClaimedEvent} returns this
|
|
24297
|
+
*/
|
|
24298
|
+
proto.bonus.BonusClaimedEvent.prototype.clearAdminInitiated = function() {
|
|
24299
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
24300
|
+
};
|
|
24301
|
+
|
|
24302
|
+
|
|
24303
|
+
/**
|
|
24304
|
+
* Returns whether this field is set.
|
|
24305
|
+
* @return {boolean}
|
|
24306
|
+
*/
|
|
24307
|
+
proto.bonus.BonusClaimedEvent.prototype.hasAdminInitiated = function() {
|
|
24308
|
+
return jspb.Message.getField(this, 13) != null;
|
|
24309
|
+
};
|
|
24310
|
+
|
|
24311
|
+
|
|
22482
24312
|
goog.object.extend(exports, proto.bonus);
|