protobuf-platform 1.1.7 → 1.1.9
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
CHANGED
@@ -17,6 +17,7 @@ service Tournament {
|
|
17
17
|
rpc setTournamentContent(TournamentContentRequest) returns (TournamentStatusResponse);
|
18
18
|
//Tournament Statuses
|
19
19
|
rpc readListTournamentStatuses(PaginationRequest) returns (TournamentStatusItemsResponse);
|
20
|
+
rpc getTournamentsForUser(PaginationRequest) returns (TournamentStatusItemsResponse);
|
20
21
|
}
|
21
22
|
//Technical
|
22
23
|
message PingRequest { string ping = 1; }
|
@@ -39,14 +40,16 @@ message TournamentItem {
|
|
39
40
|
optional int32 is_active = 4;
|
40
41
|
optional int32 current_members_count = 5;
|
41
42
|
optional int32 max_members_count = 6;
|
42
|
-
optional
|
43
|
-
optional string
|
44
|
-
optional string
|
45
|
-
optional string
|
46
|
-
|
47
|
-
|
48
|
-
repeated
|
49
|
-
repeated
|
43
|
+
optional int32 bots_count = 7;
|
44
|
+
optional string started_at = 8;
|
45
|
+
optional string finished_at = 9;
|
46
|
+
optional string status = 10;
|
47
|
+
optional int32 status_id = 11;
|
48
|
+
optional string image = 12;
|
49
|
+
repeated ActivationRuleItem rules = 13;
|
50
|
+
repeated ScoringRule scores = 14;
|
51
|
+
repeated RewardItem rewards = 15;
|
52
|
+
repeated ContentItem contents = 16;
|
50
53
|
}
|
51
54
|
message TournamentRequest {
|
52
55
|
oneof request {
|
@@ -305,6 +305,17 @@ readListTournamentStatuses: {
|
|
305
305
|
responseSerialize: serialize_tournament_TournamentStatusItemsResponse,
|
306
306
|
responseDeserialize: deserialize_tournament_TournamentStatusItemsResponse,
|
307
307
|
},
|
308
|
+
getTournamentsForUser: {
|
309
|
+
path: '/tournament.Tournament/getTournamentsForUser',
|
310
|
+
requestStream: false,
|
311
|
+
responseStream: false,
|
312
|
+
requestType: tournament_pb.PaginationRequest,
|
313
|
+
responseType: tournament_pb.TournamentStatusItemsResponse,
|
314
|
+
requestSerialize: serialize_tournament_PaginationRequest,
|
315
|
+
requestDeserialize: deserialize_tournament_PaginationRequest,
|
316
|
+
responseSerialize: serialize_tournament_TournamentStatusItemsResponse,
|
317
|
+
responseDeserialize: deserialize_tournament_TournamentStatusItemsResponse,
|
318
|
+
},
|
308
319
|
};
|
309
320
|
|
310
321
|
exports.TournamentClient = grpc.makeGenericClientConstructor(TournamentService);
|
@@ -1707,7 +1707,7 @@ proto.tournament.UserSearchRequest.prototype.hasLocale = function() {
|
|
1707
1707
|
* @private {!Array<number>}
|
1708
1708
|
* @const
|
1709
1709
|
*/
|
1710
|
-
proto.tournament.TournamentItem.repeatedFields_ = [
|
1710
|
+
proto.tournament.TournamentItem.repeatedFields_ = [13,14,15,16];
|
1711
1711
|
|
1712
1712
|
|
1713
1713
|
|
@@ -1746,10 +1746,12 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
|
|
1746
1746
|
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
1747
1747
|
currentMembersCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
1748
1748
|
maxMembersCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1749
|
+
botsCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
1750
|
+
startedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
1751
|
+
finishedAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
1752
|
+
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
1753
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
1754
|
+
image: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
1753
1755
|
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
1754
1756
|
proto.tournament.ActivationRuleItem.toObject, includeInstance),
|
1755
1757
|
scoresList: jspb.Message.toObjectList(msg.getScoresList(),
|
@@ -1819,37 +1821,45 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
|
|
1819
1821
|
msg.setMaxMembersCount(value);
|
1820
1822
|
break;
|
1821
1823
|
case 7:
|
1824
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1825
|
+
msg.setBotsCount(value);
|
1826
|
+
break;
|
1827
|
+
case 8:
|
1822
1828
|
var value = /** @type {string} */ (reader.readString());
|
1823
1829
|
msg.setStartedAt(value);
|
1824
1830
|
break;
|
1825
|
-
case
|
1831
|
+
case 9:
|
1826
1832
|
var value = /** @type {string} */ (reader.readString());
|
1827
1833
|
msg.setFinishedAt(value);
|
1828
1834
|
break;
|
1829
|
-
case
|
1835
|
+
case 10:
|
1830
1836
|
var value = /** @type {string} */ (reader.readString());
|
1831
1837
|
msg.setStatus(value);
|
1832
1838
|
break;
|
1833
|
-
case
|
1839
|
+
case 11:
|
1840
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1841
|
+
msg.setStatusId(value);
|
1842
|
+
break;
|
1843
|
+
case 12:
|
1834
1844
|
var value = /** @type {string} */ (reader.readString());
|
1835
1845
|
msg.setImage(value);
|
1836
1846
|
break;
|
1837
|
-
case
|
1847
|
+
case 13:
|
1838
1848
|
var value = new proto.tournament.ActivationRuleItem;
|
1839
1849
|
reader.readMessage(value,proto.tournament.ActivationRuleItem.deserializeBinaryFromReader);
|
1840
1850
|
msg.addRules(value);
|
1841
1851
|
break;
|
1842
|
-
case
|
1852
|
+
case 14:
|
1843
1853
|
var value = new proto.tournament.ScoringRule;
|
1844
1854
|
reader.readMessage(value,proto.tournament.ScoringRule.deserializeBinaryFromReader);
|
1845
1855
|
msg.addScores(value);
|
1846
1856
|
break;
|
1847
|
-
case
|
1857
|
+
case 15:
|
1848
1858
|
var value = new proto.tournament.RewardItem;
|
1849
1859
|
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
1850
1860
|
msg.addRewards(value);
|
1851
1861
|
break;
|
1852
|
-
case
|
1862
|
+
case 16:
|
1853
1863
|
var value = new proto.tournament.ContentItem;
|
1854
1864
|
reader.readMessage(value,proto.tournament.ContentItem.deserializeBinaryFromReader);
|
1855
1865
|
msg.addContents(value);
|
@@ -1925,9 +1935,9 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
1925
1935
|
f
|
1926
1936
|
);
|
1927
1937
|
}
|
1928
|
-
f = /** @type {
|
1938
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
1929
1939
|
if (f != null) {
|
1930
|
-
writer.
|
1940
|
+
writer.writeInt32(
|
1931
1941
|
7,
|
1932
1942
|
f
|
1933
1943
|
);
|
@@ -1953,10 +1963,24 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
1953
1963
|
f
|
1954
1964
|
);
|
1955
1965
|
}
|
1966
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
1967
|
+
if (f != null) {
|
1968
|
+
writer.writeInt32(
|
1969
|
+
11,
|
1970
|
+
f
|
1971
|
+
);
|
1972
|
+
}
|
1973
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
1974
|
+
if (f != null) {
|
1975
|
+
writer.writeString(
|
1976
|
+
12,
|
1977
|
+
f
|
1978
|
+
);
|
1979
|
+
}
|
1956
1980
|
f = message.getRulesList();
|
1957
1981
|
if (f.length > 0) {
|
1958
1982
|
writer.writeRepeatedMessage(
|
1959
|
-
|
1983
|
+
13,
|
1960
1984
|
f,
|
1961
1985
|
proto.tournament.ActivationRuleItem.serializeBinaryToWriter
|
1962
1986
|
);
|
@@ -1964,7 +1988,7 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
1964
1988
|
f = message.getScoresList();
|
1965
1989
|
if (f.length > 0) {
|
1966
1990
|
writer.writeRepeatedMessage(
|
1967
|
-
|
1991
|
+
14,
|
1968
1992
|
f,
|
1969
1993
|
proto.tournament.ScoringRule.serializeBinaryToWriter
|
1970
1994
|
);
|
@@ -1972,7 +1996,7 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
1972
1996
|
f = message.getRewardsList();
|
1973
1997
|
if (f.length > 0) {
|
1974
1998
|
writer.writeRepeatedMessage(
|
1975
|
-
|
1999
|
+
15,
|
1976
2000
|
f,
|
1977
2001
|
proto.tournament.RewardItem.serializeBinaryToWriter
|
1978
2002
|
);
|
@@ -1980,7 +2004,7 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
1980
2004
|
f = message.getContentsList();
|
1981
2005
|
if (f.length > 0) {
|
1982
2006
|
writer.writeRepeatedMessage(
|
1983
|
-
|
2007
|
+
16,
|
1984
2008
|
f,
|
1985
2009
|
proto.tournament.ContentItem.serializeBinaryToWriter
|
1986
2010
|
);
|
@@ -2205,11 +2229,47 @@ proto.tournament.TournamentItem.prototype.hasMaxMembersCount = function() {
|
|
2205
2229
|
|
2206
2230
|
|
2207
2231
|
/**
|
2208
|
-
* optional
|
2232
|
+
* optional int32 bots_count = 7;
|
2233
|
+
* @return {number}
|
2234
|
+
*/
|
2235
|
+
proto.tournament.TournamentItem.prototype.getBotsCount = function() {
|
2236
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
2237
|
+
};
|
2238
|
+
|
2239
|
+
|
2240
|
+
/**
|
2241
|
+
* @param {number} value
|
2242
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2243
|
+
*/
|
2244
|
+
proto.tournament.TournamentItem.prototype.setBotsCount = function(value) {
|
2245
|
+
return jspb.Message.setField(this, 7, value);
|
2246
|
+
};
|
2247
|
+
|
2248
|
+
|
2249
|
+
/**
|
2250
|
+
* Clears the field making it undefined.
|
2251
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2252
|
+
*/
|
2253
|
+
proto.tournament.TournamentItem.prototype.clearBotsCount = function() {
|
2254
|
+
return jspb.Message.setField(this, 7, undefined);
|
2255
|
+
};
|
2256
|
+
|
2257
|
+
|
2258
|
+
/**
|
2259
|
+
* Returns whether this field is set.
|
2260
|
+
* @return {boolean}
|
2261
|
+
*/
|
2262
|
+
proto.tournament.TournamentItem.prototype.hasBotsCount = function() {
|
2263
|
+
return jspb.Message.getField(this, 7) != null;
|
2264
|
+
};
|
2265
|
+
|
2266
|
+
|
2267
|
+
/**
|
2268
|
+
* optional string started_at = 8;
|
2209
2269
|
* @return {string}
|
2210
2270
|
*/
|
2211
2271
|
proto.tournament.TournamentItem.prototype.getStartedAt = function() {
|
2212
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
2272
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
2213
2273
|
};
|
2214
2274
|
|
2215
2275
|
|
@@ -2218,7 +2278,7 @@ proto.tournament.TournamentItem.prototype.getStartedAt = function() {
|
|
2218
2278
|
* @return {!proto.tournament.TournamentItem} returns this
|
2219
2279
|
*/
|
2220
2280
|
proto.tournament.TournamentItem.prototype.setStartedAt = function(value) {
|
2221
|
-
return jspb.Message.setField(this,
|
2281
|
+
return jspb.Message.setField(this, 8, value);
|
2222
2282
|
};
|
2223
2283
|
|
2224
2284
|
|
@@ -2227,7 +2287,7 @@ proto.tournament.TournamentItem.prototype.setStartedAt = function(value) {
|
|
2227
2287
|
* @return {!proto.tournament.TournamentItem} returns this
|
2228
2288
|
*/
|
2229
2289
|
proto.tournament.TournamentItem.prototype.clearStartedAt = function() {
|
2230
|
-
return jspb.Message.setField(this,
|
2290
|
+
return jspb.Message.setField(this, 8, undefined);
|
2231
2291
|
};
|
2232
2292
|
|
2233
2293
|
|
@@ -2236,16 +2296,16 @@ proto.tournament.TournamentItem.prototype.clearStartedAt = function() {
|
|
2236
2296
|
* @return {boolean}
|
2237
2297
|
*/
|
2238
2298
|
proto.tournament.TournamentItem.prototype.hasStartedAt = function() {
|
2239
|
-
return jspb.Message.getField(this,
|
2299
|
+
return jspb.Message.getField(this, 8) != null;
|
2240
2300
|
};
|
2241
2301
|
|
2242
2302
|
|
2243
2303
|
/**
|
2244
|
-
* optional string finished_at =
|
2304
|
+
* optional string finished_at = 9;
|
2245
2305
|
* @return {string}
|
2246
2306
|
*/
|
2247
2307
|
proto.tournament.TournamentItem.prototype.getFinishedAt = function() {
|
2248
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
2308
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
2249
2309
|
};
|
2250
2310
|
|
2251
2311
|
|
@@ -2254,7 +2314,7 @@ proto.tournament.TournamentItem.prototype.getFinishedAt = function() {
|
|
2254
2314
|
* @return {!proto.tournament.TournamentItem} returns this
|
2255
2315
|
*/
|
2256
2316
|
proto.tournament.TournamentItem.prototype.setFinishedAt = function(value) {
|
2257
|
-
return jspb.Message.setField(this,
|
2317
|
+
return jspb.Message.setField(this, 9, value);
|
2258
2318
|
};
|
2259
2319
|
|
2260
2320
|
|
@@ -2263,7 +2323,7 @@ proto.tournament.TournamentItem.prototype.setFinishedAt = function(value) {
|
|
2263
2323
|
* @return {!proto.tournament.TournamentItem} returns this
|
2264
2324
|
*/
|
2265
2325
|
proto.tournament.TournamentItem.prototype.clearFinishedAt = function() {
|
2266
|
-
return jspb.Message.setField(this,
|
2326
|
+
return jspb.Message.setField(this, 9, undefined);
|
2267
2327
|
};
|
2268
2328
|
|
2269
2329
|
|
@@ -2272,16 +2332,16 @@ proto.tournament.TournamentItem.prototype.clearFinishedAt = function() {
|
|
2272
2332
|
* @return {boolean}
|
2273
2333
|
*/
|
2274
2334
|
proto.tournament.TournamentItem.prototype.hasFinishedAt = function() {
|
2275
|
-
return jspb.Message.getField(this,
|
2335
|
+
return jspb.Message.getField(this, 9) != null;
|
2276
2336
|
};
|
2277
2337
|
|
2278
2338
|
|
2279
2339
|
/**
|
2280
|
-
* optional string status =
|
2340
|
+
* optional string status = 10;
|
2281
2341
|
* @return {string}
|
2282
2342
|
*/
|
2283
2343
|
proto.tournament.TournamentItem.prototype.getStatus = function() {
|
2284
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
2344
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
2285
2345
|
};
|
2286
2346
|
|
2287
2347
|
|
@@ -2290,7 +2350,7 @@ proto.tournament.TournamentItem.prototype.getStatus = function() {
|
|
2290
2350
|
* @return {!proto.tournament.TournamentItem} returns this
|
2291
2351
|
*/
|
2292
2352
|
proto.tournament.TournamentItem.prototype.setStatus = function(value) {
|
2293
|
-
return jspb.Message.setField(this,
|
2353
|
+
return jspb.Message.setField(this, 10, value);
|
2294
2354
|
};
|
2295
2355
|
|
2296
2356
|
|
@@ -2299,7 +2359,7 @@ proto.tournament.TournamentItem.prototype.setStatus = function(value) {
|
|
2299
2359
|
* @return {!proto.tournament.TournamentItem} returns this
|
2300
2360
|
*/
|
2301
2361
|
proto.tournament.TournamentItem.prototype.clearStatus = function() {
|
2302
|
-
return jspb.Message.setField(this,
|
2362
|
+
return jspb.Message.setField(this, 10, undefined);
|
2303
2363
|
};
|
2304
2364
|
|
2305
2365
|
|
@@ -2308,16 +2368,52 @@ proto.tournament.TournamentItem.prototype.clearStatus = function() {
|
|
2308
2368
|
* @return {boolean}
|
2309
2369
|
*/
|
2310
2370
|
proto.tournament.TournamentItem.prototype.hasStatus = function() {
|
2311
|
-
return jspb.Message.getField(this,
|
2371
|
+
return jspb.Message.getField(this, 10) != null;
|
2372
|
+
};
|
2373
|
+
|
2374
|
+
|
2375
|
+
/**
|
2376
|
+
* optional int32 status_id = 11;
|
2377
|
+
* @return {number}
|
2378
|
+
*/
|
2379
|
+
proto.tournament.TournamentItem.prototype.getStatusId = function() {
|
2380
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
2381
|
+
};
|
2382
|
+
|
2383
|
+
|
2384
|
+
/**
|
2385
|
+
* @param {number} value
|
2386
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2387
|
+
*/
|
2388
|
+
proto.tournament.TournamentItem.prototype.setStatusId = function(value) {
|
2389
|
+
return jspb.Message.setField(this, 11, value);
|
2390
|
+
};
|
2391
|
+
|
2392
|
+
|
2393
|
+
/**
|
2394
|
+
* Clears the field making it undefined.
|
2395
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2396
|
+
*/
|
2397
|
+
proto.tournament.TournamentItem.prototype.clearStatusId = function() {
|
2398
|
+
return jspb.Message.setField(this, 11, undefined);
|
2399
|
+
};
|
2400
|
+
|
2401
|
+
|
2402
|
+
/**
|
2403
|
+
* Returns whether this field is set.
|
2404
|
+
* @return {boolean}
|
2405
|
+
*/
|
2406
|
+
proto.tournament.TournamentItem.prototype.hasStatusId = function() {
|
2407
|
+
return jspb.Message.getField(this, 11) != null;
|
2312
2408
|
};
|
2313
2409
|
|
2314
2410
|
|
2315
2411
|
/**
|
2316
|
-
* optional string image =
|
2412
|
+
* optional string image = 12;
|
2317
2413
|
* @return {string}
|
2318
2414
|
*/
|
2319
2415
|
proto.tournament.TournamentItem.prototype.getImage = function() {
|
2320
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
2416
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
2321
2417
|
};
|
2322
2418
|
|
2323
2419
|
|
@@ -2326,7 +2422,7 @@ proto.tournament.TournamentItem.prototype.getImage = function() {
|
|
2326
2422
|
* @return {!proto.tournament.TournamentItem} returns this
|
2327
2423
|
*/
|
2328
2424
|
proto.tournament.TournamentItem.prototype.setImage = function(value) {
|
2329
|
-
return jspb.Message.setField(this,
|
2425
|
+
return jspb.Message.setField(this, 12, value);
|
2330
2426
|
};
|
2331
2427
|
|
2332
2428
|
|
@@ -2335,7 +2431,7 @@ proto.tournament.TournamentItem.prototype.setImage = function(value) {
|
|
2335
2431
|
* @return {!proto.tournament.TournamentItem} returns this
|
2336
2432
|
*/
|
2337
2433
|
proto.tournament.TournamentItem.prototype.clearImage = function() {
|
2338
|
-
return jspb.Message.setField(this,
|
2434
|
+
return jspb.Message.setField(this, 12, undefined);
|
2339
2435
|
};
|
2340
2436
|
|
2341
2437
|
|
@@ -2344,17 +2440,17 @@ proto.tournament.TournamentItem.prototype.clearImage = function() {
|
|
2344
2440
|
* @return {boolean}
|
2345
2441
|
*/
|
2346
2442
|
proto.tournament.TournamentItem.prototype.hasImage = function() {
|
2347
|
-
return jspb.Message.getField(this,
|
2443
|
+
return jspb.Message.getField(this, 12) != null;
|
2348
2444
|
};
|
2349
2445
|
|
2350
2446
|
|
2351
2447
|
/**
|
2352
|
-
* repeated ActivationRuleItem rules =
|
2448
|
+
* repeated ActivationRuleItem rules = 13;
|
2353
2449
|
* @return {!Array<!proto.tournament.ActivationRuleItem>}
|
2354
2450
|
*/
|
2355
2451
|
proto.tournament.TournamentItem.prototype.getRulesList = function() {
|
2356
2452
|
return /** @type{!Array<!proto.tournament.ActivationRuleItem>} */ (
|
2357
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ActivationRuleItem,
|
2453
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ActivationRuleItem, 13));
|
2358
2454
|
};
|
2359
2455
|
|
2360
2456
|
|
@@ -2363,7 +2459,7 @@ proto.tournament.TournamentItem.prototype.getRulesList = function() {
|
|
2363
2459
|
* @return {!proto.tournament.TournamentItem} returns this
|
2364
2460
|
*/
|
2365
2461
|
proto.tournament.TournamentItem.prototype.setRulesList = function(value) {
|
2366
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
2462
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
2367
2463
|
};
|
2368
2464
|
|
2369
2465
|
|
@@ -2373,7 +2469,7 @@ proto.tournament.TournamentItem.prototype.setRulesList = function(value) {
|
|
2373
2469
|
* @return {!proto.tournament.ActivationRuleItem}
|
2374
2470
|
*/
|
2375
2471
|
proto.tournament.TournamentItem.prototype.addRules = function(opt_value, opt_index) {
|
2376
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
2472
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.tournament.ActivationRuleItem, opt_index);
|
2377
2473
|
};
|
2378
2474
|
|
2379
2475
|
|
@@ -2387,12 +2483,12 @@ proto.tournament.TournamentItem.prototype.clearRulesList = function() {
|
|
2387
2483
|
|
2388
2484
|
|
2389
2485
|
/**
|
2390
|
-
* repeated ScoringRule scores =
|
2486
|
+
* repeated ScoringRule scores = 14;
|
2391
2487
|
* @return {!Array<!proto.tournament.ScoringRule>}
|
2392
2488
|
*/
|
2393
2489
|
proto.tournament.TournamentItem.prototype.getScoresList = function() {
|
2394
2490
|
return /** @type{!Array<!proto.tournament.ScoringRule>} */ (
|
2395
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ScoringRule,
|
2491
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ScoringRule, 14));
|
2396
2492
|
};
|
2397
2493
|
|
2398
2494
|
|
@@ -2401,7 +2497,7 @@ proto.tournament.TournamentItem.prototype.getScoresList = function() {
|
|
2401
2497
|
* @return {!proto.tournament.TournamentItem} returns this
|
2402
2498
|
*/
|
2403
2499
|
proto.tournament.TournamentItem.prototype.setScoresList = function(value) {
|
2404
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
2500
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
2405
2501
|
};
|
2406
2502
|
|
2407
2503
|
|
@@ -2411,7 +2507,7 @@ proto.tournament.TournamentItem.prototype.setScoresList = function(value) {
|
|
2411
2507
|
* @return {!proto.tournament.ScoringRule}
|
2412
2508
|
*/
|
2413
2509
|
proto.tournament.TournamentItem.prototype.addScores = function(opt_value, opt_index) {
|
2414
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
2510
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.tournament.ScoringRule, opt_index);
|
2415
2511
|
};
|
2416
2512
|
|
2417
2513
|
|
@@ -2425,12 +2521,12 @@ proto.tournament.TournamentItem.prototype.clearScoresList = function() {
|
|
2425
2521
|
|
2426
2522
|
|
2427
2523
|
/**
|
2428
|
-
* repeated RewardItem rewards =
|
2524
|
+
* repeated RewardItem rewards = 15;
|
2429
2525
|
* @return {!Array<!proto.tournament.RewardItem>}
|
2430
2526
|
*/
|
2431
2527
|
proto.tournament.TournamentItem.prototype.getRewardsList = function() {
|
2432
2528
|
return /** @type{!Array<!proto.tournament.RewardItem>} */ (
|
2433
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem,
|
2529
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem, 15));
|
2434
2530
|
};
|
2435
2531
|
|
2436
2532
|
|
@@ -2439,7 +2535,7 @@ proto.tournament.TournamentItem.prototype.getRewardsList = function() {
|
|
2439
2535
|
* @return {!proto.tournament.TournamentItem} returns this
|
2440
2536
|
*/
|
2441
2537
|
proto.tournament.TournamentItem.prototype.setRewardsList = function(value) {
|
2442
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
2538
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
2443
2539
|
};
|
2444
2540
|
|
2445
2541
|
|
@@ -2449,7 +2545,7 @@ proto.tournament.TournamentItem.prototype.setRewardsList = function(value) {
|
|
2449
2545
|
* @return {!proto.tournament.RewardItem}
|
2450
2546
|
*/
|
2451
2547
|
proto.tournament.TournamentItem.prototype.addRewards = function(opt_value, opt_index) {
|
2452
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
2548
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.tournament.RewardItem, opt_index);
|
2453
2549
|
};
|
2454
2550
|
|
2455
2551
|
|
@@ -2463,12 +2559,12 @@ proto.tournament.TournamentItem.prototype.clearRewardsList = function() {
|
|
2463
2559
|
|
2464
2560
|
|
2465
2561
|
/**
|
2466
|
-
* repeated ContentItem contents =
|
2562
|
+
* repeated ContentItem contents = 16;
|
2467
2563
|
* @return {!Array<!proto.tournament.ContentItem>}
|
2468
2564
|
*/
|
2469
2565
|
proto.tournament.TournamentItem.prototype.getContentsList = function() {
|
2470
2566
|
return /** @type{!Array<!proto.tournament.ContentItem>} */ (
|
2471
|
-
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ContentItem,
|
2567
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ContentItem, 16));
|
2472
2568
|
};
|
2473
2569
|
|
2474
2570
|
|
@@ -2477,7 +2573,7 @@ proto.tournament.TournamentItem.prototype.getContentsList = function() {
|
|
2477
2573
|
* @return {!proto.tournament.TournamentItem} returns this
|
2478
2574
|
*/
|
2479
2575
|
proto.tournament.TournamentItem.prototype.setContentsList = function(value) {
|
2480
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
2576
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
2481
2577
|
};
|
2482
2578
|
|
2483
2579
|
|
@@ -2487,7 +2583,7 @@ proto.tournament.TournamentItem.prototype.setContentsList = function(value) {
|
|
2487
2583
|
* @return {!proto.tournament.ContentItem}
|
2488
2584
|
*/
|
2489
2585
|
proto.tournament.TournamentItem.prototype.addContents = function(opt_value, opt_index) {
|
2490
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
2586
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.tournament.ContentItem, opt_index);
|
2491
2587
|
};
|
2492
2588
|
|
2493
2589
|
|