protobuf-platform 1.2.186 → 1.2.188
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/package.json +1 -1
- package/tournament/tournament.proto +17 -15
- package/tournament/tournament_pb.js +213 -117
package/package.json
CHANGED
|
@@ -67,14 +67,15 @@ message TournamentItem {
|
|
|
67
67
|
optional string status = 10;
|
|
68
68
|
optional int32 status_id = 11;
|
|
69
69
|
optional string image = 12;
|
|
70
|
-
|
|
71
|
-
repeated
|
|
72
|
-
repeated
|
|
73
|
-
repeated
|
|
74
|
-
|
|
75
|
-
optional
|
|
76
|
-
optional
|
|
77
|
-
optional
|
|
70
|
+
optional string image_cdn = 13;
|
|
71
|
+
repeated ActivationRuleItem rules = 14;
|
|
72
|
+
repeated ScoringRule scores = 15;
|
|
73
|
+
repeated RewardItem rewards = 16;
|
|
74
|
+
repeated ContentItem contents = 17;
|
|
75
|
+
optional string slug = 18;
|
|
76
|
+
optional bool can_activated = 19;
|
|
77
|
+
optional string user_status = 20;
|
|
78
|
+
optional uint32 finished_in_milliseconds = 21;
|
|
78
79
|
}
|
|
79
80
|
message TournamentRequest {
|
|
80
81
|
oneof request {
|
|
@@ -190,13 +191,14 @@ message UserTournamentItem {
|
|
|
190
191
|
optional string finished_at = 7;
|
|
191
192
|
optional string status = 8;
|
|
192
193
|
optional string image = 9;
|
|
193
|
-
|
|
194
|
-
repeated
|
|
195
|
-
|
|
196
|
-
optional string
|
|
197
|
-
optional
|
|
198
|
-
optional
|
|
199
|
-
optional
|
|
194
|
+
optional string image_cdn = 10;
|
|
195
|
+
repeated ActivationRuleItem rules = 11;
|
|
196
|
+
repeated RewardItem rewards = 12;
|
|
197
|
+
optional string content = 13;
|
|
198
|
+
optional string slug = 14;
|
|
199
|
+
optional bool can_activated = 15;
|
|
200
|
+
optional string user_status = 16;
|
|
201
|
+
optional uint32 finished_in_milliseconds = 17;
|
|
200
202
|
}
|
|
201
203
|
message UserTournamentItemsResponse {
|
|
202
204
|
repeated UserTournamentItem items = 1;
|
|
@@ -2447,7 +2447,7 @@ proto.tournament.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
|
2447
2447
|
* @private {!Array<number>}
|
|
2448
2448
|
* @const
|
|
2449
2449
|
*/
|
|
2450
|
-
proto.tournament.TournamentItem.repeatedFields_ = [
|
|
2450
|
+
proto.tournament.TournamentItem.repeatedFields_ = [14,15,16,17];
|
|
2451
2451
|
|
|
2452
2452
|
|
|
2453
2453
|
|
|
@@ -2492,6 +2492,7 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
|
|
|
2492
2492
|
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2493
2493
|
statusId: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
2494
2494
|
image: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2495
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2495
2496
|
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
|
2496
2497
|
proto.tournament.ActivationRuleItem.toObject, includeInstance),
|
|
2497
2498
|
scoresList: jspb.Message.toObjectList(msg.getScoresList(),
|
|
@@ -2500,10 +2501,10 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
|
|
|
2500
2501
|
proto.tournament.RewardItem.toObject, includeInstance),
|
|
2501
2502
|
contentsList: jspb.Message.toObjectList(msg.getContentsList(),
|
|
2502
2503
|
proto.tournament.ContentItem.toObject, includeInstance),
|
|
2503
|
-
slug: jspb.Message.getFieldWithDefault(msg,
|
|
2504
|
-
canActivated: jspb.Message.getBooleanFieldWithDefault(msg,
|
|
2505
|
-
userStatus: jspb.Message.getFieldWithDefault(msg,
|
|
2506
|
-
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg,
|
|
2504
|
+
slug: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2505
|
+
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
2506
|
+
userStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
2507
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0)
|
|
2507
2508
|
};
|
|
2508
2509
|
|
|
2509
2510
|
if (includeInstance) {
|
|
@@ -2589,38 +2590,42 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
|
|
|
2589
2590
|
msg.setImage(value);
|
|
2590
2591
|
break;
|
|
2591
2592
|
case 13:
|
|
2593
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2594
|
+
msg.setImageCdn(value);
|
|
2595
|
+
break;
|
|
2596
|
+
case 14:
|
|
2592
2597
|
var value = new proto.tournament.ActivationRuleItem;
|
|
2593
2598
|
reader.readMessage(value,proto.tournament.ActivationRuleItem.deserializeBinaryFromReader);
|
|
2594
2599
|
msg.addRules(value);
|
|
2595
2600
|
break;
|
|
2596
|
-
case
|
|
2601
|
+
case 15:
|
|
2597
2602
|
var value = new proto.tournament.ScoringRule;
|
|
2598
2603
|
reader.readMessage(value,proto.tournament.ScoringRule.deserializeBinaryFromReader);
|
|
2599
2604
|
msg.addScores(value);
|
|
2600
2605
|
break;
|
|
2601
|
-
case
|
|
2606
|
+
case 16:
|
|
2602
2607
|
var value = new proto.tournament.RewardItem;
|
|
2603
2608
|
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
|
2604
2609
|
msg.addRewards(value);
|
|
2605
2610
|
break;
|
|
2606
|
-
case
|
|
2611
|
+
case 17:
|
|
2607
2612
|
var value = new proto.tournament.ContentItem;
|
|
2608
2613
|
reader.readMessage(value,proto.tournament.ContentItem.deserializeBinaryFromReader);
|
|
2609
2614
|
msg.addContents(value);
|
|
2610
2615
|
break;
|
|
2611
|
-
case
|
|
2616
|
+
case 18:
|
|
2612
2617
|
var value = /** @type {string} */ (reader.readString());
|
|
2613
2618
|
msg.setSlug(value);
|
|
2614
2619
|
break;
|
|
2615
|
-
case
|
|
2620
|
+
case 19:
|
|
2616
2621
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2617
2622
|
msg.setCanActivated(value);
|
|
2618
2623
|
break;
|
|
2619
|
-
case
|
|
2624
|
+
case 20:
|
|
2620
2625
|
var value = /** @type {string} */ (reader.readString());
|
|
2621
2626
|
msg.setUserStatus(value);
|
|
2622
2627
|
break;
|
|
2623
|
-
case
|
|
2628
|
+
case 21:
|
|
2624
2629
|
var value = /** @type {number} */ (reader.readUint32());
|
|
2625
2630
|
msg.setFinishedInMilliseconds(value);
|
|
2626
2631
|
break;
|
|
@@ -2737,10 +2742,17 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
|
2737
2742
|
f
|
|
2738
2743
|
);
|
|
2739
2744
|
}
|
|
2745
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
2746
|
+
if (f != null) {
|
|
2747
|
+
writer.writeString(
|
|
2748
|
+
13,
|
|
2749
|
+
f
|
|
2750
|
+
);
|
|
2751
|
+
}
|
|
2740
2752
|
f = message.getRulesList();
|
|
2741
2753
|
if (f.length > 0) {
|
|
2742
2754
|
writer.writeRepeatedMessage(
|
|
2743
|
-
|
|
2755
|
+
14,
|
|
2744
2756
|
f,
|
|
2745
2757
|
proto.tournament.ActivationRuleItem.serializeBinaryToWriter
|
|
2746
2758
|
);
|
|
@@ -2748,7 +2760,7 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
|
2748
2760
|
f = message.getScoresList();
|
|
2749
2761
|
if (f.length > 0) {
|
|
2750
2762
|
writer.writeRepeatedMessage(
|
|
2751
|
-
|
|
2763
|
+
15,
|
|
2752
2764
|
f,
|
|
2753
2765
|
proto.tournament.ScoringRule.serializeBinaryToWriter
|
|
2754
2766
|
);
|
|
@@ -2756,7 +2768,7 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
|
2756
2768
|
f = message.getRewardsList();
|
|
2757
2769
|
if (f.length > 0) {
|
|
2758
2770
|
writer.writeRepeatedMessage(
|
|
2759
|
-
|
|
2771
|
+
16,
|
|
2760
2772
|
f,
|
|
2761
2773
|
proto.tournament.RewardItem.serializeBinaryToWriter
|
|
2762
2774
|
);
|
|
@@ -2764,36 +2776,36 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
|
2764
2776
|
f = message.getContentsList();
|
|
2765
2777
|
if (f.length > 0) {
|
|
2766
2778
|
writer.writeRepeatedMessage(
|
|
2767
|
-
|
|
2779
|
+
17,
|
|
2768
2780
|
f,
|
|
2769
2781
|
proto.tournament.ContentItem.serializeBinaryToWriter
|
|
2770
2782
|
);
|
|
2771
2783
|
}
|
|
2772
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
2784
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
2773
2785
|
if (f != null) {
|
|
2774
2786
|
writer.writeString(
|
|
2775
|
-
|
|
2787
|
+
18,
|
|
2776
2788
|
f
|
|
2777
2789
|
);
|
|
2778
2790
|
}
|
|
2779
|
-
f = /** @type {boolean} */ (jspb.Message.getField(message,
|
|
2791
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 19));
|
|
2780
2792
|
if (f != null) {
|
|
2781
2793
|
writer.writeBool(
|
|
2782
|
-
|
|
2794
|
+
19,
|
|
2783
2795
|
f
|
|
2784
2796
|
);
|
|
2785
2797
|
}
|
|
2786
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
2798
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
|
2787
2799
|
if (f != null) {
|
|
2788
2800
|
writer.writeString(
|
|
2789
|
-
|
|
2801
|
+
20,
|
|
2790
2802
|
f
|
|
2791
2803
|
);
|
|
2792
2804
|
}
|
|
2793
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
|
2805
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 21));
|
|
2794
2806
|
if (f != null) {
|
|
2795
2807
|
writer.writeUint32(
|
|
2796
|
-
|
|
2808
|
+
21,
|
|
2797
2809
|
f
|
|
2798
2810
|
);
|
|
2799
2811
|
}
|
|
@@ -3233,12 +3245,48 @@ proto.tournament.TournamentItem.prototype.hasImage = function() {
|
|
|
3233
3245
|
|
|
3234
3246
|
|
|
3235
3247
|
/**
|
|
3236
|
-
*
|
|
3248
|
+
* optional string image_cdn = 13;
|
|
3249
|
+
* @return {string}
|
|
3250
|
+
*/
|
|
3251
|
+
proto.tournament.TournamentItem.prototype.getImageCdn = function() {
|
|
3252
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3253
|
+
};
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
/**
|
|
3257
|
+
* @param {string} value
|
|
3258
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
|
3259
|
+
*/
|
|
3260
|
+
proto.tournament.TournamentItem.prototype.setImageCdn = function(value) {
|
|
3261
|
+
return jspb.Message.setField(this, 13, value);
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
/**
|
|
3266
|
+
* Clears the field making it undefined.
|
|
3267
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
|
3268
|
+
*/
|
|
3269
|
+
proto.tournament.TournamentItem.prototype.clearImageCdn = function() {
|
|
3270
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* Returns whether this field is set.
|
|
3276
|
+
* @return {boolean}
|
|
3277
|
+
*/
|
|
3278
|
+
proto.tournament.TournamentItem.prototype.hasImageCdn = function() {
|
|
3279
|
+
return jspb.Message.getField(this, 13) != null;
|
|
3280
|
+
};
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
/**
|
|
3284
|
+
* repeated ActivationRuleItem rules = 14;
|
|
3237
3285
|
* @return {!Array<!proto.tournament.ActivationRuleItem>}
|
|
3238
3286
|
*/
|
|
3239
3287
|
proto.tournament.TournamentItem.prototype.getRulesList = function() {
|
|
3240
3288
|
return /** @type{!Array<!proto.tournament.ActivationRuleItem>} */ (
|
|
3241
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ActivationRuleItem,
|
|
3289
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ActivationRuleItem, 14));
|
|
3242
3290
|
};
|
|
3243
3291
|
|
|
3244
3292
|
|
|
@@ -3247,7 +3295,7 @@ proto.tournament.TournamentItem.prototype.getRulesList = function() {
|
|
|
3247
3295
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3248
3296
|
*/
|
|
3249
3297
|
proto.tournament.TournamentItem.prototype.setRulesList = function(value) {
|
|
3250
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
3298
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
3251
3299
|
};
|
|
3252
3300
|
|
|
3253
3301
|
|
|
@@ -3257,7 +3305,7 @@ proto.tournament.TournamentItem.prototype.setRulesList = function(value) {
|
|
|
3257
3305
|
* @return {!proto.tournament.ActivationRuleItem}
|
|
3258
3306
|
*/
|
|
3259
3307
|
proto.tournament.TournamentItem.prototype.addRules = function(opt_value, opt_index) {
|
|
3260
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
3308
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.tournament.ActivationRuleItem, opt_index);
|
|
3261
3309
|
};
|
|
3262
3310
|
|
|
3263
3311
|
|
|
@@ -3271,12 +3319,12 @@ proto.tournament.TournamentItem.prototype.clearRulesList = function() {
|
|
|
3271
3319
|
|
|
3272
3320
|
|
|
3273
3321
|
/**
|
|
3274
|
-
* repeated ScoringRule scores =
|
|
3322
|
+
* repeated ScoringRule scores = 15;
|
|
3275
3323
|
* @return {!Array<!proto.tournament.ScoringRule>}
|
|
3276
3324
|
*/
|
|
3277
3325
|
proto.tournament.TournamentItem.prototype.getScoresList = function() {
|
|
3278
3326
|
return /** @type{!Array<!proto.tournament.ScoringRule>} */ (
|
|
3279
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ScoringRule,
|
|
3327
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ScoringRule, 15));
|
|
3280
3328
|
};
|
|
3281
3329
|
|
|
3282
3330
|
|
|
@@ -3285,7 +3333,7 @@ proto.tournament.TournamentItem.prototype.getScoresList = function() {
|
|
|
3285
3333
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3286
3334
|
*/
|
|
3287
3335
|
proto.tournament.TournamentItem.prototype.setScoresList = function(value) {
|
|
3288
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
3336
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
3289
3337
|
};
|
|
3290
3338
|
|
|
3291
3339
|
|
|
@@ -3295,7 +3343,7 @@ proto.tournament.TournamentItem.prototype.setScoresList = function(value) {
|
|
|
3295
3343
|
* @return {!proto.tournament.ScoringRule}
|
|
3296
3344
|
*/
|
|
3297
3345
|
proto.tournament.TournamentItem.prototype.addScores = function(opt_value, opt_index) {
|
|
3298
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
3346
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.tournament.ScoringRule, opt_index);
|
|
3299
3347
|
};
|
|
3300
3348
|
|
|
3301
3349
|
|
|
@@ -3309,12 +3357,12 @@ proto.tournament.TournamentItem.prototype.clearScoresList = function() {
|
|
|
3309
3357
|
|
|
3310
3358
|
|
|
3311
3359
|
/**
|
|
3312
|
-
* repeated RewardItem rewards =
|
|
3360
|
+
* repeated RewardItem rewards = 16;
|
|
3313
3361
|
* @return {!Array<!proto.tournament.RewardItem>}
|
|
3314
3362
|
*/
|
|
3315
3363
|
proto.tournament.TournamentItem.prototype.getRewardsList = function() {
|
|
3316
3364
|
return /** @type{!Array<!proto.tournament.RewardItem>} */ (
|
|
3317
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem,
|
|
3365
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem, 16));
|
|
3318
3366
|
};
|
|
3319
3367
|
|
|
3320
3368
|
|
|
@@ -3323,7 +3371,7 @@ proto.tournament.TournamentItem.prototype.getRewardsList = function() {
|
|
|
3323
3371
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3324
3372
|
*/
|
|
3325
3373
|
proto.tournament.TournamentItem.prototype.setRewardsList = function(value) {
|
|
3326
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
3374
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
3327
3375
|
};
|
|
3328
3376
|
|
|
3329
3377
|
|
|
@@ -3333,7 +3381,7 @@ proto.tournament.TournamentItem.prototype.setRewardsList = function(value) {
|
|
|
3333
3381
|
* @return {!proto.tournament.RewardItem}
|
|
3334
3382
|
*/
|
|
3335
3383
|
proto.tournament.TournamentItem.prototype.addRewards = function(opt_value, opt_index) {
|
|
3336
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
3384
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.tournament.RewardItem, opt_index);
|
|
3337
3385
|
};
|
|
3338
3386
|
|
|
3339
3387
|
|
|
@@ -3347,12 +3395,12 @@ proto.tournament.TournamentItem.prototype.clearRewardsList = function() {
|
|
|
3347
3395
|
|
|
3348
3396
|
|
|
3349
3397
|
/**
|
|
3350
|
-
* repeated ContentItem contents =
|
|
3398
|
+
* repeated ContentItem contents = 17;
|
|
3351
3399
|
* @return {!Array<!proto.tournament.ContentItem>}
|
|
3352
3400
|
*/
|
|
3353
3401
|
proto.tournament.TournamentItem.prototype.getContentsList = function() {
|
|
3354
3402
|
return /** @type{!Array<!proto.tournament.ContentItem>} */ (
|
|
3355
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ContentItem,
|
|
3403
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ContentItem, 17));
|
|
3356
3404
|
};
|
|
3357
3405
|
|
|
3358
3406
|
|
|
@@ -3361,7 +3409,7 @@ proto.tournament.TournamentItem.prototype.getContentsList = function() {
|
|
|
3361
3409
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3362
3410
|
*/
|
|
3363
3411
|
proto.tournament.TournamentItem.prototype.setContentsList = function(value) {
|
|
3364
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
3412
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
3365
3413
|
};
|
|
3366
3414
|
|
|
3367
3415
|
|
|
@@ -3371,7 +3419,7 @@ proto.tournament.TournamentItem.prototype.setContentsList = function(value) {
|
|
|
3371
3419
|
* @return {!proto.tournament.ContentItem}
|
|
3372
3420
|
*/
|
|
3373
3421
|
proto.tournament.TournamentItem.prototype.addContents = function(opt_value, opt_index) {
|
|
3374
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
3422
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.tournament.ContentItem, opt_index);
|
|
3375
3423
|
};
|
|
3376
3424
|
|
|
3377
3425
|
|
|
@@ -3385,11 +3433,11 @@ proto.tournament.TournamentItem.prototype.clearContentsList = function() {
|
|
|
3385
3433
|
|
|
3386
3434
|
|
|
3387
3435
|
/**
|
|
3388
|
-
* optional string slug =
|
|
3436
|
+
* optional string slug = 18;
|
|
3389
3437
|
* @return {string}
|
|
3390
3438
|
*/
|
|
3391
3439
|
proto.tournament.TournamentItem.prototype.getSlug = function() {
|
|
3392
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
3440
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
3393
3441
|
};
|
|
3394
3442
|
|
|
3395
3443
|
|
|
@@ -3398,7 +3446,7 @@ proto.tournament.TournamentItem.prototype.getSlug = function() {
|
|
|
3398
3446
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3399
3447
|
*/
|
|
3400
3448
|
proto.tournament.TournamentItem.prototype.setSlug = function(value) {
|
|
3401
|
-
return jspb.Message.setField(this,
|
|
3449
|
+
return jspb.Message.setField(this, 18, value);
|
|
3402
3450
|
};
|
|
3403
3451
|
|
|
3404
3452
|
|
|
@@ -3407,7 +3455,7 @@ proto.tournament.TournamentItem.prototype.setSlug = function(value) {
|
|
|
3407
3455
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3408
3456
|
*/
|
|
3409
3457
|
proto.tournament.TournamentItem.prototype.clearSlug = function() {
|
|
3410
|
-
return jspb.Message.setField(this,
|
|
3458
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
3411
3459
|
};
|
|
3412
3460
|
|
|
3413
3461
|
|
|
@@ -3416,16 +3464,16 @@ proto.tournament.TournamentItem.prototype.clearSlug = function() {
|
|
|
3416
3464
|
* @return {boolean}
|
|
3417
3465
|
*/
|
|
3418
3466
|
proto.tournament.TournamentItem.prototype.hasSlug = function() {
|
|
3419
|
-
return jspb.Message.getField(this,
|
|
3467
|
+
return jspb.Message.getField(this, 18) != null;
|
|
3420
3468
|
};
|
|
3421
3469
|
|
|
3422
3470
|
|
|
3423
3471
|
/**
|
|
3424
|
-
* optional bool can_activated =
|
|
3472
|
+
* optional bool can_activated = 19;
|
|
3425
3473
|
* @return {boolean}
|
|
3426
3474
|
*/
|
|
3427
3475
|
proto.tournament.TournamentItem.prototype.getCanActivated = function() {
|
|
3428
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
3476
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
3429
3477
|
};
|
|
3430
3478
|
|
|
3431
3479
|
|
|
@@ -3434,7 +3482,7 @@ proto.tournament.TournamentItem.prototype.getCanActivated = function() {
|
|
|
3434
3482
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3435
3483
|
*/
|
|
3436
3484
|
proto.tournament.TournamentItem.prototype.setCanActivated = function(value) {
|
|
3437
|
-
return jspb.Message.setField(this,
|
|
3485
|
+
return jspb.Message.setField(this, 19, value);
|
|
3438
3486
|
};
|
|
3439
3487
|
|
|
3440
3488
|
|
|
@@ -3443,7 +3491,7 @@ proto.tournament.TournamentItem.prototype.setCanActivated = function(value) {
|
|
|
3443
3491
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3444
3492
|
*/
|
|
3445
3493
|
proto.tournament.TournamentItem.prototype.clearCanActivated = function() {
|
|
3446
|
-
return jspb.Message.setField(this,
|
|
3494
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
3447
3495
|
};
|
|
3448
3496
|
|
|
3449
3497
|
|
|
@@ -3452,16 +3500,16 @@ proto.tournament.TournamentItem.prototype.clearCanActivated = function() {
|
|
|
3452
3500
|
* @return {boolean}
|
|
3453
3501
|
*/
|
|
3454
3502
|
proto.tournament.TournamentItem.prototype.hasCanActivated = function() {
|
|
3455
|
-
return jspb.Message.getField(this,
|
|
3503
|
+
return jspb.Message.getField(this, 19) != null;
|
|
3456
3504
|
};
|
|
3457
3505
|
|
|
3458
3506
|
|
|
3459
3507
|
/**
|
|
3460
|
-
* optional string user_status =
|
|
3508
|
+
* optional string user_status = 20;
|
|
3461
3509
|
* @return {string}
|
|
3462
3510
|
*/
|
|
3463
3511
|
proto.tournament.TournamentItem.prototype.getUserStatus = function() {
|
|
3464
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
3512
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
3465
3513
|
};
|
|
3466
3514
|
|
|
3467
3515
|
|
|
@@ -3470,7 +3518,7 @@ proto.tournament.TournamentItem.prototype.getUserStatus = function() {
|
|
|
3470
3518
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3471
3519
|
*/
|
|
3472
3520
|
proto.tournament.TournamentItem.prototype.setUserStatus = function(value) {
|
|
3473
|
-
return jspb.Message.setField(this,
|
|
3521
|
+
return jspb.Message.setField(this, 20, value);
|
|
3474
3522
|
};
|
|
3475
3523
|
|
|
3476
3524
|
|
|
@@ -3479,7 +3527,7 @@ proto.tournament.TournamentItem.prototype.setUserStatus = function(value) {
|
|
|
3479
3527
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3480
3528
|
*/
|
|
3481
3529
|
proto.tournament.TournamentItem.prototype.clearUserStatus = function() {
|
|
3482
|
-
return jspb.Message.setField(this,
|
|
3530
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
3483
3531
|
};
|
|
3484
3532
|
|
|
3485
3533
|
|
|
@@ -3488,16 +3536,16 @@ proto.tournament.TournamentItem.prototype.clearUserStatus = function() {
|
|
|
3488
3536
|
* @return {boolean}
|
|
3489
3537
|
*/
|
|
3490
3538
|
proto.tournament.TournamentItem.prototype.hasUserStatus = function() {
|
|
3491
|
-
return jspb.Message.getField(this,
|
|
3539
|
+
return jspb.Message.getField(this, 20) != null;
|
|
3492
3540
|
};
|
|
3493
3541
|
|
|
3494
3542
|
|
|
3495
3543
|
/**
|
|
3496
|
-
* optional uint32 finished_in_milliseconds =
|
|
3544
|
+
* optional uint32 finished_in_milliseconds = 21;
|
|
3497
3545
|
* @return {number}
|
|
3498
3546
|
*/
|
|
3499
3547
|
proto.tournament.TournamentItem.prototype.getFinishedInMilliseconds = function() {
|
|
3500
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
3548
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
3501
3549
|
};
|
|
3502
3550
|
|
|
3503
3551
|
|
|
@@ -3506,7 +3554,7 @@ proto.tournament.TournamentItem.prototype.getFinishedInMilliseconds = function()
|
|
|
3506
3554
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3507
3555
|
*/
|
|
3508
3556
|
proto.tournament.TournamentItem.prototype.setFinishedInMilliseconds = function(value) {
|
|
3509
|
-
return jspb.Message.setField(this,
|
|
3557
|
+
return jspb.Message.setField(this, 21, value);
|
|
3510
3558
|
};
|
|
3511
3559
|
|
|
3512
3560
|
|
|
@@ -3515,7 +3563,7 @@ proto.tournament.TournamentItem.prototype.setFinishedInMilliseconds = function(v
|
|
|
3515
3563
|
* @return {!proto.tournament.TournamentItem} returns this
|
|
3516
3564
|
*/
|
|
3517
3565
|
proto.tournament.TournamentItem.prototype.clearFinishedInMilliseconds = function() {
|
|
3518
|
-
return jspb.Message.setField(this,
|
|
3566
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
3519
3567
|
};
|
|
3520
3568
|
|
|
3521
3569
|
|
|
@@ -3524,7 +3572,7 @@ proto.tournament.TournamentItem.prototype.clearFinishedInMilliseconds = function
|
|
|
3524
3572
|
* @return {boolean}
|
|
3525
3573
|
*/
|
|
3526
3574
|
proto.tournament.TournamentItem.prototype.hasFinishedInMilliseconds = function() {
|
|
3527
|
-
return jspb.Message.getField(this,
|
|
3575
|
+
return jspb.Message.getField(this, 21) != null;
|
|
3528
3576
|
};
|
|
3529
3577
|
|
|
3530
3578
|
|
|
@@ -8309,7 +8357,7 @@ proto.tournament.TournamentGamesRequest.prototype.clearGameIdsList = function()
|
|
|
8309
8357
|
* @private {!Array<number>}
|
|
8310
8358
|
* @const
|
|
8311
8359
|
*/
|
|
8312
|
-
proto.tournament.UserTournamentItem.repeatedFields_ = [
|
|
8360
|
+
proto.tournament.UserTournamentItem.repeatedFields_ = [11,12];
|
|
8313
8361
|
|
|
8314
8362
|
|
|
8315
8363
|
|
|
@@ -8351,15 +8399,16 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
|
|
|
8351
8399
|
finishedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
8352
8400
|
status: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
8353
8401
|
image: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
8402
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
8354
8403
|
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
|
8355
8404
|
proto.tournament.ActivationRuleItem.toObject, includeInstance),
|
|
8356
8405
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
|
8357
8406
|
proto.tournament.RewardItem.toObject, includeInstance),
|
|
8358
|
-
content: jspb.Message.getFieldWithDefault(msg,
|
|
8359
|
-
slug: jspb.Message.getFieldWithDefault(msg,
|
|
8360
|
-
canActivated: jspb.Message.getBooleanFieldWithDefault(msg,
|
|
8361
|
-
userStatus: jspb.Message.getFieldWithDefault(msg,
|
|
8362
|
-
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg,
|
|
8407
|
+
content: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
8408
|
+
slug: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
8409
|
+
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
8410
|
+
userStatus: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
8411
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
8363
8412
|
};
|
|
8364
8413
|
|
|
8365
8414
|
if (includeInstance) {
|
|
@@ -8433,32 +8482,36 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
|
|
|
8433
8482
|
msg.setImage(value);
|
|
8434
8483
|
break;
|
|
8435
8484
|
case 10:
|
|
8485
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8486
|
+
msg.setImageCdn(value);
|
|
8487
|
+
break;
|
|
8488
|
+
case 11:
|
|
8436
8489
|
var value = new proto.tournament.ActivationRuleItem;
|
|
8437
8490
|
reader.readMessage(value,proto.tournament.ActivationRuleItem.deserializeBinaryFromReader);
|
|
8438
8491
|
msg.addRules(value);
|
|
8439
8492
|
break;
|
|
8440
|
-
case
|
|
8493
|
+
case 12:
|
|
8441
8494
|
var value = new proto.tournament.RewardItem;
|
|
8442
8495
|
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
|
8443
8496
|
msg.addRewards(value);
|
|
8444
8497
|
break;
|
|
8445
|
-
case
|
|
8498
|
+
case 13:
|
|
8446
8499
|
var value = /** @type {string} */ (reader.readString());
|
|
8447
8500
|
msg.setContent(value);
|
|
8448
8501
|
break;
|
|
8449
|
-
case
|
|
8502
|
+
case 14:
|
|
8450
8503
|
var value = /** @type {string} */ (reader.readString());
|
|
8451
8504
|
msg.setSlug(value);
|
|
8452
8505
|
break;
|
|
8453
|
-
case
|
|
8506
|
+
case 15:
|
|
8454
8507
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
8455
8508
|
msg.setCanActivated(value);
|
|
8456
8509
|
break;
|
|
8457
|
-
case
|
|
8510
|
+
case 16:
|
|
8458
8511
|
var value = /** @type {string} */ (reader.readString());
|
|
8459
8512
|
msg.setUserStatus(value);
|
|
8460
8513
|
break;
|
|
8461
|
-
case
|
|
8514
|
+
case 17:
|
|
8462
8515
|
var value = /** @type {number} */ (reader.readUint32());
|
|
8463
8516
|
msg.setFinishedInMilliseconds(value);
|
|
8464
8517
|
break;
|
|
@@ -8554,10 +8607,17 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
|
8554
8607
|
f
|
|
8555
8608
|
);
|
|
8556
8609
|
}
|
|
8610
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
8611
|
+
if (f != null) {
|
|
8612
|
+
writer.writeString(
|
|
8613
|
+
10,
|
|
8614
|
+
f
|
|
8615
|
+
);
|
|
8616
|
+
}
|
|
8557
8617
|
f = message.getRulesList();
|
|
8558
8618
|
if (f.length > 0) {
|
|
8559
8619
|
writer.writeRepeatedMessage(
|
|
8560
|
-
|
|
8620
|
+
11,
|
|
8561
8621
|
f,
|
|
8562
8622
|
proto.tournament.ActivationRuleItem.serializeBinaryToWriter
|
|
8563
8623
|
);
|
|
@@ -8565,43 +8625,43 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
|
8565
8625
|
f = message.getRewardsList();
|
|
8566
8626
|
if (f.length > 0) {
|
|
8567
8627
|
writer.writeRepeatedMessage(
|
|
8568
|
-
|
|
8628
|
+
12,
|
|
8569
8629
|
f,
|
|
8570
8630
|
proto.tournament.RewardItem.serializeBinaryToWriter
|
|
8571
8631
|
);
|
|
8572
8632
|
}
|
|
8573
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
8633
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
8574
8634
|
if (f != null) {
|
|
8575
8635
|
writer.writeString(
|
|
8576
|
-
|
|
8636
|
+
13,
|
|
8577
8637
|
f
|
|
8578
8638
|
);
|
|
8579
8639
|
}
|
|
8580
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
8640
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
8581
8641
|
if (f != null) {
|
|
8582
8642
|
writer.writeString(
|
|
8583
|
-
|
|
8643
|
+
14,
|
|
8584
8644
|
f
|
|
8585
8645
|
);
|
|
8586
8646
|
}
|
|
8587
|
-
f = /** @type {boolean} */ (jspb.Message.getField(message,
|
|
8647
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 15));
|
|
8588
8648
|
if (f != null) {
|
|
8589
8649
|
writer.writeBool(
|
|
8590
|
-
|
|
8650
|
+
15,
|
|
8591
8651
|
f
|
|
8592
8652
|
);
|
|
8593
8653
|
}
|
|
8594
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
|
8654
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
8595
8655
|
if (f != null) {
|
|
8596
8656
|
writer.writeString(
|
|
8597
|
-
|
|
8657
|
+
16,
|
|
8598
8658
|
f
|
|
8599
8659
|
);
|
|
8600
8660
|
}
|
|
8601
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
|
8661
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
|
8602
8662
|
if (f != null) {
|
|
8603
8663
|
writer.writeUint32(
|
|
8604
|
-
|
|
8664
|
+
17,
|
|
8605
8665
|
f
|
|
8606
8666
|
);
|
|
8607
8667
|
}
|
|
@@ -8933,12 +8993,48 @@ proto.tournament.UserTournamentItem.prototype.hasImage = function() {
|
|
|
8933
8993
|
|
|
8934
8994
|
|
|
8935
8995
|
/**
|
|
8936
|
-
*
|
|
8996
|
+
* optional string image_cdn = 10;
|
|
8997
|
+
* @return {string}
|
|
8998
|
+
*/
|
|
8999
|
+
proto.tournament.UserTournamentItem.prototype.getImageCdn = function() {
|
|
9000
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
9001
|
+
};
|
|
9002
|
+
|
|
9003
|
+
|
|
9004
|
+
/**
|
|
9005
|
+
* @param {string} value
|
|
9006
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9007
|
+
*/
|
|
9008
|
+
proto.tournament.UserTournamentItem.prototype.setImageCdn = function(value) {
|
|
9009
|
+
return jspb.Message.setField(this, 10, value);
|
|
9010
|
+
};
|
|
9011
|
+
|
|
9012
|
+
|
|
9013
|
+
/**
|
|
9014
|
+
* Clears the field making it undefined.
|
|
9015
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9016
|
+
*/
|
|
9017
|
+
proto.tournament.UserTournamentItem.prototype.clearImageCdn = function() {
|
|
9018
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
9019
|
+
};
|
|
9020
|
+
|
|
9021
|
+
|
|
9022
|
+
/**
|
|
9023
|
+
* Returns whether this field is set.
|
|
9024
|
+
* @return {boolean}
|
|
9025
|
+
*/
|
|
9026
|
+
proto.tournament.UserTournamentItem.prototype.hasImageCdn = function() {
|
|
9027
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9028
|
+
};
|
|
9029
|
+
|
|
9030
|
+
|
|
9031
|
+
/**
|
|
9032
|
+
* repeated ActivationRuleItem rules = 11;
|
|
8937
9033
|
* @return {!Array<!proto.tournament.ActivationRuleItem>}
|
|
8938
9034
|
*/
|
|
8939
9035
|
proto.tournament.UserTournamentItem.prototype.getRulesList = function() {
|
|
8940
9036
|
return /** @type{!Array<!proto.tournament.ActivationRuleItem>} */ (
|
|
8941
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ActivationRuleItem,
|
|
9037
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ActivationRuleItem, 11));
|
|
8942
9038
|
};
|
|
8943
9039
|
|
|
8944
9040
|
|
|
@@ -8947,7 +9043,7 @@ proto.tournament.UserTournamentItem.prototype.getRulesList = function() {
|
|
|
8947
9043
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
8948
9044
|
*/
|
|
8949
9045
|
proto.tournament.UserTournamentItem.prototype.setRulesList = function(value) {
|
|
8950
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
9046
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
8951
9047
|
};
|
|
8952
9048
|
|
|
8953
9049
|
|
|
@@ -8957,7 +9053,7 @@ proto.tournament.UserTournamentItem.prototype.setRulesList = function(value) {
|
|
|
8957
9053
|
* @return {!proto.tournament.ActivationRuleItem}
|
|
8958
9054
|
*/
|
|
8959
9055
|
proto.tournament.UserTournamentItem.prototype.addRules = function(opt_value, opt_index) {
|
|
8960
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
9056
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.tournament.ActivationRuleItem, opt_index);
|
|
8961
9057
|
};
|
|
8962
9058
|
|
|
8963
9059
|
|
|
@@ -8971,12 +9067,12 @@ proto.tournament.UserTournamentItem.prototype.clearRulesList = function() {
|
|
|
8971
9067
|
|
|
8972
9068
|
|
|
8973
9069
|
/**
|
|
8974
|
-
* repeated RewardItem rewards =
|
|
9070
|
+
* repeated RewardItem rewards = 12;
|
|
8975
9071
|
* @return {!Array<!proto.tournament.RewardItem>}
|
|
8976
9072
|
*/
|
|
8977
9073
|
proto.tournament.UserTournamentItem.prototype.getRewardsList = function() {
|
|
8978
9074
|
return /** @type{!Array<!proto.tournament.RewardItem>} */ (
|
|
8979
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem,
|
|
9075
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem, 12));
|
|
8980
9076
|
};
|
|
8981
9077
|
|
|
8982
9078
|
|
|
@@ -8985,7 +9081,7 @@ proto.tournament.UserTournamentItem.prototype.getRewardsList = function() {
|
|
|
8985
9081
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
8986
9082
|
*/
|
|
8987
9083
|
proto.tournament.UserTournamentItem.prototype.setRewardsList = function(value) {
|
|
8988
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
9084
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
8989
9085
|
};
|
|
8990
9086
|
|
|
8991
9087
|
|
|
@@ -8995,7 +9091,7 @@ proto.tournament.UserTournamentItem.prototype.setRewardsList = function(value) {
|
|
|
8995
9091
|
* @return {!proto.tournament.RewardItem}
|
|
8996
9092
|
*/
|
|
8997
9093
|
proto.tournament.UserTournamentItem.prototype.addRewards = function(opt_value, opt_index) {
|
|
8998
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
9094
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.tournament.RewardItem, opt_index);
|
|
8999
9095
|
};
|
|
9000
9096
|
|
|
9001
9097
|
|
|
@@ -9009,11 +9105,11 @@ proto.tournament.UserTournamentItem.prototype.clearRewardsList = function() {
|
|
|
9009
9105
|
|
|
9010
9106
|
|
|
9011
9107
|
/**
|
|
9012
|
-
* optional string content =
|
|
9108
|
+
* optional string content = 13;
|
|
9013
9109
|
* @return {string}
|
|
9014
9110
|
*/
|
|
9015
9111
|
proto.tournament.UserTournamentItem.prototype.getContent = function() {
|
|
9016
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
9112
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
9017
9113
|
};
|
|
9018
9114
|
|
|
9019
9115
|
|
|
@@ -9022,7 +9118,7 @@ proto.tournament.UserTournamentItem.prototype.getContent = function() {
|
|
|
9022
9118
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9023
9119
|
*/
|
|
9024
9120
|
proto.tournament.UserTournamentItem.prototype.setContent = function(value) {
|
|
9025
|
-
return jspb.Message.setField(this,
|
|
9121
|
+
return jspb.Message.setField(this, 13, value);
|
|
9026
9122
|
};
|
|
9027
9123
|
|
|
9028
9124
|
|
|
@@ -9031,7 +9127,7 @@ proto.tournament.UserTournamentItem.prototype.setContent = function(value) {
|
|
|
9031
9127
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9032
9128
|
*/
|
|
9033
9129
|
proto.tournament.UserTournamentItem.prototype.clearContent = function() {
|
|
9034
|
-
return jspb.Message.setField(this,
|
|
9130
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
9035
9131
|
};
|
|
9036
9132
|
|
|
9037
9133
|
|
|
@@ -9040,16 +9136,16 @@ proto.tournament.UserTournamentItem.prototype.clearContent = function() {
|
|
|
9040
9136
|
* @return {boolean}
|
|
9041
9137
|
*/
|
|
9042
9138
|
proto.tournament.UserTournamentItem.prototype.hasContent = function() {
|
|
9043
|
-
return jspb.Message.getField(this,
|
|
9139
|
+
return jspb.Message.getField(this, 13) != null;
|
|
9044
9140
|
};
|
|
9045
9141
|
|
|
9046
9142
|
|
|
9047
9143
|
/**
|
|
9048
|
-
* optional string slug =
|
|
9144
|
+
* optional string slug = 14;
|
|
9049
9145
|
* @return {string}
|
|
9050
9146
|
*/
|
|
9051
9147
|
proto.tournament.UserTournamentItem.prototype.getSlug = function() {
|
|
9052
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
9148
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
9053
9149
|
};
|
|
9054
9150
|
|
|
9055
9151
|
|
|
@@ -9058,7 +9154,7 @@ proto.tournament.UserTournamentItem.prototype.getSlug = function() {
|
|
|
9058
9154
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9059
9155
|
*/
|
|
9060
9156
|
proto.tournament.UserTournamentItem.prototype.setSlug = function(value) {
|
|
9061
|
-
return jspb.Message.setField(this,
|
|
9157
|
+
return jspb.Message.setField(this, 14, value);
|
|
9062
9158
|
};
|
|
9063
9159
|
|
|
9064
9160
|
|
|
@@ -9067,7 +9163,7 @@ proto.tournament.UserTournamentItem.prototype.setSlug = function(value) {
|
|
|
9067
9163
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9068
9164
|
*/
|
|
9069
9165
|
proto.tournament.UserTournamentItem.prototype.clearSlug = function() {
|
|
9070
|
-
return jspb.Message.setField(this,
|
|
9166
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
9071
9167
|
};
|
|
9072
9168
|
|
|
9073
9169
|
|
|
@@ -9076,16 +9172,16 @@ proto.tournament.UserTournamentItem.prototype.clearSlug = function() {
|
|
|
9076
9172
|
* @return {boolean}
|
|
9077
9173
|
*/
|
|
9078
9174
|
proto.tournament.UserTournamentItem.prototype.hasSlug = function() {
|
|
9079
|
-
return jspb.Message.getField(this,
|
|
9175
|
+
return jspb.Message.getField(this, 14) != null;
|
|
9080
9176
|
};
|
|
9081
9177
|
|
|
9082
9178
|
|
|
9083
9179
|
/**
|
|
9084
|
-
* optional bool can_activated =
|
|
9180
|
+
* optional bool can_activated = 15;
|
|
9085
9181
|
* @return {boolean}
|
|
9086
9182
|
*/
|
|
9087
9183
|
proto.tournament.UserTournamentItem.prototype.getCanActivated = function() {
|
|
9088
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
9184
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
9089
9185
|
};
|
|
9090
9186
|
|
|
9091
9187
|
|
|
@@ -9094,7 +9190,7 @@ proto.tournament.UserTournamentItem.prototype.getCanActivated = function() {
|
|
|
9094
9190
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9095
9191
|
*/
|
|
9096
9192
|
proto.tournament.UserTournamentItem.prototype.setCanActivated = function(value) {
|
|
9097
|
-
return jspb.Message.setField(this,
|
|
9193
|
+
return jspb.Message.setField(this, 15, value);
|
|
9098
9194
|
};
|
|
9099
9195
|
|
|
9100
9196
|
|
|
@@ -9103,7 +9199,7 @@ proto.tournament.UserTournamentItem.prototype.setCanActivated = function(value)
|
|
|
9103
9199
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9104
9200
|
*/
|
|
9105
9201
|
proto.tournament.UserTournamentItem.prototype.clearCanActivated = function() {
|
|
9106
|
-
return jspb.Message.setField(this,
|
|
9202
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
9107
9203
|
};
|
|
9108
9204
|
|
|
9109
9205
|
|
|
@@ -9112,16 +9208,16 @@ proto.tournament.UserTournamentItem.prototype.clearCanActivated = function() {
|
|
|
9112
9208
|
* @return {boolean}
|
|
9113
9209
|
*/
|
|
9114
9210
|
proto.tournament.UserTournamentItem.prototype.hasCanActivated = function() {
|
|
9115
|
-
return jspb.Message.getField(this,
|
|
9211
|
+
return jspb.Message.getField(this, 15) != null;
|
|
9116
9212
|
};
|
|
9117
9213
|
|
|
9118
9214
|
|
|
9119
9215
|
/**
|
|
9120
|
-
* optional string user_status =
|
|
9216
|
+
* optional string user_status = 16;
|
|
9121
9217
|
* @return {string}
|
|
9122
9218
|
*/
|
|
9123
9219
|
proto.tournament.UserTournamentItem.prototype.getUserStatus = function() {
|
|
9124
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
9220
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
9125
9221
|
};
|
|
9126
9222
|
|
|
9127
9223
|
|
|
@@ -9130,7 +9226,7 @@ proto.tournament.UserTournamentItem.prototype.getUserStatus = function() {
|
|
|
9130
9226
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9131
9227
|
*/
|
|
9132
9228
|
proto.tournament.UserTournamentItem.prototype.setUserStatus = function(value) {
|
|
9133
|
-
return jspb.Message.setField(this,
|
|
9229
|
+
return jspb.Message.setField(this, 16, value);
|
|
9134
9230
|
};
|
|
9135
9231
|
|
|
9136
9232
|
|
|
@@ -9139,7 +9235,7 @@ proto.tournament.UserTournamentItem.prototype.setUserStatus = function(value) {
|
|
|
9139
9235
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9140
9236
|
*/
|
|
9141
9237
|
proto.tournament.UserTournamentItem.prototype.clearUserStatus = function() {
|
|
9142
|
-
return jspb.Message.setField(this,
|
|
9238
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
9143
9239
|
};
|
|
9144
9240
|
|
|
9145
9241
|
|
|
@@ -9148,16 +9244,16 @@ proto.tournament.UserTournamentItem.prototype.clearUserStatus = function() {
|
|
|
9148
9244
|
* @return {boolean}
|
|
9149
9245
|
*/
|
|
9150
9246
|
proto.tournament.UserTournamentItem.prototype.hasUserStatus = function() {
|
|
9151
|
-
return jspb.Message.getField(this,
|
|
9247
|
+
return jspb.Message.getField(this, 16) != null;
|
|
9152
9248
|
};
|
|
9153
9249
|
|
|
9154
9250
|
|
|
9155
9251
|
/**
|
|
9156
|
-
* optional uint32 finished_in_milliseconds =
|
|
9252
|
+
* optional uint32 finished_in_milliseconds = 17;
|
|
9157
9253
|
* @return {number}
|
|
9158
9254
|
*/
|
|
9159
9255
|
proto.tournament.UserTournamentItem.prototype.getFinishedInMilliseconds = function() {
|
|
9160
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
9256
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
9161
9257
|
};
|
|
9162
9258
|
|
|
9163
9259
|
|
|
@@ -9166,7 +9262,7 @@ proto.tournament.UserTournamentItem.prototype.getFinishedInMilliseconds = functi
|
|
|
9166
9262
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9167
9263
|
*/
|
|
9168
9264
|
proto.tournament.UserTournamentItem.prototype.setFinishedInMilliseconds = function(value) {
|
|
9169
|
-
return jspb.Message.setField(this,
|
|
9265
|
+
return jspb.Message.setField(this, 17, value);
|
|
9170
9266
|
};
|
|
9171
9267
|
|
|
9172
9268
|
|
|
@@ -9175,7 +9271,7 @@ proto.tournament.UserTournamentItem.prototype.setFinishedInMilliseconds = functi
|
|
|
9175
9271
|
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
9176
9272
|
*/
|
|
9177
9273
|
proto.tournament.UserTournamentItem.prototype.clearFinishedInMilliseconds = function() {
|
|
9178
|
-
return jspb.Message.setField(this,
|
|
9274
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
9179
9275
|
};
|
|
9180
9276
|
|
|
9181
9277
|
|
|
@@ -9184,7 +9280,7 @@ proto.tournament.UserTournamentItem.prototype.clearFinishedInMilliseconds = func
|
|
|
9184
9280
|
* @return {boolean}
|
|
9185
9281
|
*/
|
|
9186
9282
|
proto.tournament.UserTournamentItem.prototype.hasFinishedInMilliseconds = function() {
|
|
9187
|
-
return jspb.Message.getField(this,
|
|
9283
|
+
return jspb.Message.getField(this, 17) != null;
|
|
9188
9284
|
};
|
|
9189
9285
|
|
|
9190
9286
|
|