protobuf-platform 1.2.186 → 1.2.187
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 +9 -8
- package/tournament/tournament_pb.js +108 -60
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 {
|
|
@@ -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
|
|