protobuf-platform 1.0.273 → 1.0.275
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/game/game.proto +6 -5
- package/game/game_pb.js +170 -44
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -87,8 +87,9 @@ message PongResponse { string pong = 1; }
|
|
87
87
|
message PaginationRequest {
|
88
88
|
int32 limit = 1;
|
89
89
|
int32 offset = 2;
|
90
|
-
optional
|
91
|
-
optional
|
90
|
+
optional bool admin_side = 3;
|
91
|
+
optional GameSearchRequest game_search_params = 4;
|
92
|
+
optional WagerSearchRequest wager_search_params = 5;
|
92
93
|
}
|
93
94
|
message GameSearchRequest {
|
94
95
|
optional int32 is_active = 1;
|
@@ -395,7 +396,7 @@ message GameStatusResponse {
|
|
395
396
|
string status = 1;
|
396
397
|
}
|
397
398
|
message SearchGamesIntoCollectionsRequest {
|
398
|
-
string collection_slugs = 1;
|
399
|
+
repeated string collection_slugs = 1;
|
399
400
|
optional string geo = 2;
|
400
401
|
optional int32 limit = 3;
|
401
402
|
optional int32 offset = 4;
|
@@ -403,7 +404,7 @@ message SearchGamesIntoCollectionsRequest {
|
|
403
404
|
optional bool admin_side = 6;
|
404
405
|
}
|
405
406
|
message SearchGamesIntoTagsRequest {
|
406
|
-
string tag_slugs = 1;
|
407
|
+
repeated string tag_slugs = 1;
|
407
408
|
optional string geo = 2;
|
408
409
|
optional int32 limit = 3;
|
409
410
|
optional int32 offset = 4;
|
@@ -411,7 +412,7 @@ message SearchGamesIntoTagsRequest {
|
|
411
412
|
optional bool admin_side = 6;
|
412
413
|
}
|
413
414
|
message SearchGamesIntoProvidersRequest {
|
414
|
-
string provider_slugs = 1;
|
415
|
+
repeated string provider_slugs = 1;
|
415
416
|
optional string geo = 2;
|
416
417
|
optional int32 limit = 3;
|
417
418
|
optional int32 offset = 4;
|
package/game/game_pb.js
CHANGED
@@ -1279,7 +1279,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1279
1279
|
* @constructor
|
1280
1280
|
*/
|
1281
1281
|
proto.game.SearchGamesIntoCollectionsRequest = function(opt_data) {
|
1282
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1282
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesIntoCollectionsRequest.repeatedFields_, null);
|
1283
1283
|
};
|
1284
1284
|
goog.inherits(proto.game.SearchGamesIntoCollectionsRequest, jspb.Message);
|
1285
1285
|
if (goog.DEBUG && !COMPILED) {
|
@@ -1300,7 +1300,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1300
1300
|
* @constructor
|
1301
1301
|
*/
|
1302
1302
|
proto.game.SearchGamesIntoTagsRequest = function(opt_data) {
|
1303
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1303
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesIntoTagsRequest.repeatedFields_, null);
|
1304
1304
|
};
|
1305
1305
|
goog.inherits(proto.game.SearchGamesIntoTagsRequest, jspb.Message);
|
1306
1306
|
if (goog.DEBUG && !COMPILED) {
|
@@ -1321,7 +1321,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1321
1321
|
* @constructor
|
1322
1322
|
*/
|
1323
1323
|
proto.game.SearchGamesIntoProvidersRequest = function(opt_data) {
|
1324
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1324
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.SearchGamesIntoProvidersRequest.repeatedFields_, null);
|
1325
1325
|
};
|
1326
1326
|
goog.inherits(proto.game.SearchGamesIntoProvidersRequest, jspb.Message);
|
1327
1327
|
if (goog.DEBUG && !COMPILED) {
|
@@ -2234,6 +2234,7 @@ proto.game.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
2234
2234
|
var f, obj = {
|
2235
2235
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2236
2236
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2237
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
2237
2238
|
gameSearchParams: (f = msg.getGameSearchParams()) && proto.game.GameSearchRequest.toObject(includeInstance, f),
|
2238
2239
|
wagerSearchParams: (f = msg.getWagerSearchParams()) && proto.game.WagerSearchRequest.toObject(includeInstance, f)
|
2239
2240
|
};
|
@@ -2281,11 +2282,15 @@ proto.game.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2281
2282
|
msg.setOffset(value);
|
2282
2283
|
break;
|
2283
2284
|
case 3:
|
2285
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
2286
|
+
msg.setAdminSide(value);
|
2287
|
+
break;
|
2288
|
+
case 4:
|
2284
2289
|
var value = new proto.game.GameSearchRequest;
|
2285
2290
|
reader.readMessage(value,proto.game.GameSearchRequest.deserializeBinaryFromReader);
|
2286
2291
|
msg.setGameSearchParams(value);
|
2287
2292
|
break;
|
2288
|
-
case
|
2293
|
+
case 5:
|
2289
2294
|
var value = new proto.game.WagerSearchRequest;
|
2290
2295
|
reader.readMessage(value,proto.game.WagerSearchRequest.deserializeBinaryFromReader);
|
2291
2296
|
msg.setWagerSearchParams(value);
|
@@ -2333,10 +2338,17 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2333
2338
|
f
|
2334
2339
|
);
|
2335
2340
|
}
|
2341
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
2342
|
+
if (f != null) {
|
2343
|
+
writer.writeBool(
|
2344
|
+
3,
|
2345
|
+
f
|
2346
|
+
);
|
2347
|
+
}
|
2336
2348
|
f = message.getGameSearchParams();
|
2337
2349
|
if (f != null) {
|
2338
2350
|
writer.writeMessage(
|
2339
|
-
|
2351
|
+
4,
|
2340
2352
|
f,
|
2341
2353
|
proto.game.GameSearchRequest.serializeBinaryToWriter
|
2342
2354
|
);
|
@@ -2344,7 +2356,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2344
2356
|
f = message.getWagerSearchParams();
|
2345
2357
|
if (f != null) {
|
2346
2358
|
writer.writeMessage(
|
2347
|
-
|
2359
|
+
5,
|
2348
2360
|
f,
|
2349
2361
|
proto.game.WagerSearchRequest.serializeBinaryToWriter
|
2350
2362
|
);
|
@@ -2389,12 +2401,48 @@ proto.game.PaginationRequest.prototype.setOffset = function(value) {
|
|
2389
2401
|
|
2390
2402
|
|
2391
2403
|
/**
|
2392
|
-
* optional
|
2404
|
+
* optional bool admin_side = 3;
|
2405
|
+
* @return {boolean}
|
2406
|
+
*/
|
2407
|
+
proto.game.PaginationRequest.prototype.getAdminSide = function() {
|
2408
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
2409
|
+
};
|
2410
|
+
|
2411
|
+
|
2412
|
+
/**
|
2413
|
+
* @param {boolean} value
|
2414
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2415
|
+
*/
|
2416
|
+
proto.game.PaginationRequest.prototype.setAdminSide = function(value) {
|
2417
|
+
return jspb.Message.setField(this, 3, value);
|
2418
|
+
};
|
2419
|
+
|
2420
|
+
|
2421
|
+
/**
|
2422
|
+
* Clears the field making it undefined.
|
2423
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2424
|
+
*/
|
2425
|
+
proto.game.PaginationRequest.prototype.clearAdminSide = function() {
|
2426
|
+
return jspb.Message.setField(this, 3, undefined);
|
2427
|
+
};
|
2428
|
+
|
2429
|
+
|
2430
|
+
/**
|
2431
|
+
* Returns whether this field is set.
|
2432
|
+
* @return {boolean}
|
2433
|
+
*/
|
2434
|
+
proto.game.PaginationRequest.prototype.hasAdminSide = function() {
|
2435
|
+
return jspb.Message.getField(this, 3) != null;
|
2436
|
+
};
|
2437
|
+
|
2438
|
+
|
2439
|
+
/**
|
2440
|
+
* optional GameSearchRequest game_search_params = 4;
|
2393
2441
|
* @return {?proto.game.GameSearchRequest}
|
2394
2442
|
*/
|
2395
2443
|
proto.game.PaginationRequest.prototype.getGameSearchParams = function() {
|
2396
2444
|
return /** @type{?proto.game.GameSearchRequest} */ (
|
2397
|
-
jspb.Message.getWrapperField(this, proto.game.GameSearchRequest,
|
2445
|
+
jspb.Message.getWrapperField(this, proto.game.GameSearchRequest, 4));
|
2398
2446
|
};
|
2399
2447
|
|
2400
2448
|
|
@@ -2403,7 +2451,7 @@ proto.game.PaginationRequest.prototype.getGameSearchParams = function() {
|
|
2403
2451
|
* @return {!proto.game.PaginationRequest} returns this
|
2404
2452
|
*/
|
2405
2453
|
proto.game.PaginationRequest.prototype.setGameSearchParams = function(value) {
|
2406
|
-
return jspb.Message.setWrapperField(this,
|
2454
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
2407
2455
|
};
|
2408
2456
|
|
2409
2457
|
|
@@ -2421,17 +2469,17 @@ proto.game.PaginationRequest.prototype.clearGameSearchParams = function() {
|
|
2421
2469
|
* @return {boolean}
|
2422
2470
|
*/
|
2423
2471
|
proto.game.PaginationRequest.prototype.hasGameSearchParams = function() {
|
2424
|
-
return jspb.Message.getField(this,
|
2472
|
+
return jspb.Message.getField(this, 4) != null;
|
2425
2473
|
};
|
2426
2474
|
|
2427
2475
|
|
2428
2476
|
/**
|
2429
|
-
* optional WagerSearchRequest wager_search_params =
|
2477
|
+
* optional WagerSearchRequest wager_search_params = 5;
|
2430
2478
|
* @return {?proto.game.WagerSearchRequest}
|
2431
2479
|
*/
|
2432
2480
|
proto.game.PaginationRequest.prototype.getWagerSearchParams = function() {
|
2433
2481
|
return /** @type{?proto.game.WagerSearchRequest} */ (
|
2434
|
-
jspb.Message.getWrapperField(this, proto.game.WagerSearchRequest,
|
2482
|
+
jspb.Message.getWrapperField(this, proto.game.WagerSearchRequest, 5));
|
2435
2483
|
};
|
2436
2484
|
|
2437
2485
|
|
@@ -2440,7 +2488,7 @@ proto.game.PaginationRequest.prototype.getWagerSearchParams = function() {
|
|
2440
2488
|
* @return {!proto.game.PaginationRequest} returns this
|
2441
2489
|
*/
|
2442
2490
|
proto.game.PaginationRequest.prototype.setWagerSearchParams = function(value) {
|
2443
|
-
return jspb.Message.setWrapperField(this,
|
2491
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
2444
2492
|
};
|
2445
2493
|
|
2446
2494
|
|
@@ -2458,7 +2506,7 @@ proto.game.PaginationRequest.prototype.clearWagerSearchParams = function() {
|
|
2458
2506
|
* @return {boolean}
|
2459
2507
|
*/
|
2460
2508
|
proto.game.PaginationRequest.prototype.hasWagerSearchParams = function() {
|
2461
|
-
return jspb.Message.getField(this,
|
2509
|
+
return jspb.Message.getField(this, 5) != null;
|
2462
2510
|
};
|
2463
2511
|
|
2464
2512
|
|
@@ -16389,6 +16437,13 @@ proto.game.GameStatusResponse.prototype.setStatus = function(value) {
|
|
16389
16437
|
|
16390
16438
|
|
16391
16439
|
|
16440
|
+
/**
|
16441
|
+
* List of repeated fields within this message type.
|
16442
|
+
* @private {!Array<number>}
|
16443
|
+
* @const
|
16444
|
+
*/
|
16445
|
+
proto.game.SearchGamesIntoCollectionsRequest.repeatedFields_ = [1];
|
16446
|
+
|
16392
16447
|
|
16393
16448
|
|
16394
16449
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -16420,7 +16475,7 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.toObject = function(opt_i
|
|
16420
16475
|
*/
|
16421
16476
|
proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance, msg) {
|
16422
16477
|
var f, obj = {
|
16423
|
-
|
16478
|
+
collectionSlugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
16424
16479
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
16425
16480
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
16426
16481
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
@@ -16464,7 +16519,7 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
|
|
16464
16519
|
switch (field) {
|
16465
16520
|
case 1:
|
16466
16521
|
var value = /** @type {string} */ (reader.readString());
|
16467
|
-
msg.
|
16522
|
+
msg.addCollectionSlugs(value);
|
16468
16523
|
break;
|
16469
16524
|
case 2:
|
16470
16525
|
var value = /** @type {string} */ (reader.readString());
|
@@ -16515,9 +16570,9 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.serializeBinary = functio
|
|
16515
16570
|
*/
|
16516
16571
|
proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(message, writer) {
|
16517
16572
|
var f = undefined;
|
16518
|
-
f = message.
|
16573
|
+
f = message.getCollectionSlugsList();
|
16519
16574
|
if (f.length > 0) {
|
16520
|
-
writer.
|
16575
|
+
writer.writeRepeatedString(
|
16521
16576
|
1,
|
16522
16577
|
f
|
16523
16578
|
);
|
@@ -16561,20 +16616,39 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
|
|
16561
16616
|
|
16562
16617
|
|
16563
16618
|
/**
|
16564
|
-
*
|
16565
|
-
* @return {string}
|
16619
|
+
* repeated string collection_slugs = 1;
|
16620
|
+
* @return {!Array<string>}
|
16566
16621
|
*/
|
16567
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.
|
16568
|
-
return /** @type {string} */ (jspb.Message.
|
16622
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getCollectionSlugsList = function() {
|
16623
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
16624
|
+
};
|
16625
|
+
|
16626
|
+
|
16627
|
+
/**
|
16628
|
+
* @param {!Array<string>} value
|
16629
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
16630
|
+
*/
|
16631
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setCollectionSlugsList = function(value) {
|
16632
|
+
return jspb.Message.setField(this, 1, value || []);
|
16569
16633
|
};
|
16570
16634
|
|
16571
16635
|
|
16572
16636
|
/**
|
16573
16637
|
* @param {string} value
|
16638
|
+
* @param {number=} opt_index
|
16574
16639
|
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
16575
16640
|
*/
|
16576
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.
|
16577
|
-
return jspb.Message.
|
16641
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.addCollectionSlugs = function(value, opt_index) {
|
16642
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
16643
|
+
};
|
16644
|
+
|
16645
|
+
|
16646
|
+
/**
|
16647
|
+
* Clears the list making it empty but non-null.
|
16648
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
16649
|
+
*/
|
16650
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearCollectionSlugsList = function() {
|
16651
|
+
return this.setCollectionSlugsList([]);
|
16578
16652
|
};
|
16579
16653
|
|
16580
16654
|
|
@@ -16759,6 +16833,13 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasAdminSide = function()
|
|
16759
16833
|
|
16760
16834
|
|
16761
16835
|
|
16836
|
+
/**
|
16837
|
+
* List of repeated fields within this message type.
|
16838
|
+
* @private {!Array<number>}
|
16839
|
+
* @const
|
16840
|
+
*/
|
16841
|
+
proto.game.SearchGamesIntoTagsRequest.repeatedFields_ = [1];
|
16842
|
+
|
16762
16843
|
|
16763
16844
|
|
16764
16845
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -16790,7 +16871,7 @@ proto.game.SearchGamesIntoTagsRequest.prototype.toObject = function(opt_includeI
|
|
16790
16871
|
*/
|
16791
16872
|
proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg) {
|
16792
16873
|
var f, obj = {
|
16793
|
-
|
16874
|
+
tagSlugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
16794
16875
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
16795
16876
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
16796
16877
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
@@ -16834,7 +16915,7 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
|
|
16834
16915
|
switch (field) {
|
16835
16916
|
case 1:
|
16836
16917
|
var value = /** @type {string} */ (reader.readString());
|
16837
|
-
msg.
|
16918
|
+
msg.addTagSlugs(value);
|
16838
16919
|
break;
|
16839
16920
|
case 2:
|
16840
16921
|
var value = /** @type {string} */ (reader.readString());
|
@@ -16885,9 +16966,9 @@ proto.game.SearchGamesIntoTagsRequest.prototype.serializeBinary = function() {
|
|
16885
16966
|
*/
|
16886
16967
|
proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message, writer) {
|
16887
16968
|
var f = undefined;
|
16888
|
-
f = message.
|
16969
|
+
f = message.getTagSlugsList();
|
16889
16970
|
if (f.length > 0) {
|
16890
|
-
writer.
|
16971
|
+
writer.writeRepeatedString(
|
16891
16972
|
1,
|
16892
16973
|
f
|
16893
16974
|
);
|
@@ -16931,20 +17012,39 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
|
|
16931
17012
|
|
16932
17013
|
|
16933
17014
|
/**
|
16934
|
-
*
|
16935
|
-
* @return {string}
|
17015
|
+
* repeated string tag_slugs = 1;
|
17016
|
+
* @return {!Array<string>}
|
16936
17017
|
*/
|
16937
|
-
proto.game.SearchGamesIntoTagsRequest.prototype.
|
16938
|
-
return /** @type {string} */ (jspb.Message.
|
17018
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.getTagSlugsList = function() {
|
17019
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
17020
|
+
};
|
17021
|
+
|
17022
|
+
|
17023
|
+
/**
|
17024
|
+
* @param {!Array<string>} value
|
17025
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
17026
|
+
*/
|
17027
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.setTagSlugsList = function(value) {
|
17028
|
+
return jspb.Message.setField(this, 1, value || []);
|
16939
17029
|
};
|
16940
17030
|
|
16941
17031
|
|
16942
17032
|
/**
|
16943
17033
|
* @param {string} value
|
17034
|
+
* @param {number=} opt_index
|
16944
17035
|
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
16945
17036
|
*/
|
16946
|
-
proto.game.SearchGamesIntoTagsRequest.prototype.
|
16947
|
-
return jspb.Message.
|
17037
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.addTagSlugs = function(value, opt_index) {
|
17038
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
17039
|
+
};
|
17040
|
+
|
17041
|
+
|
17042
|
+
/**
|
17043
|
+
* Clears the list making it empty but non-null.
|
17044
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
17045
|
+
*/
|
17046
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.clearTagSlugsList = function() {
|
17047
|
+
return this.setTagSlugsList([]);
|
16948
17048
|
};
|
16949
17049
|
|
16950
17050
|
|
@@ -17129,6 +17229,13 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasAdminSide = function() {
|
|
17129
17229
|
|
17130
17230
|
|
17131
17231
|
|
17232
|
+
/**
|
17233
|
+
* List of repeated fields within this message type.
|
17234
|
+
* @private {!Array<number>}
|
17235
|
+
* @const
|
17236
|
+
*/
|
17237
|
+
proto.game.SearchGamesIntoProvidersRequest.repeatedFields_ = [1];
|
17238
|
+
|
17132
17239
|
|
17133
17240
|
|
17134
17241
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -17160,7 +17267,7 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.toObject = function(opt_inc
|
|
17160
17267
|
*/
|
17161
17268
|
proto.game.SearchGamesIntoProvidersRequest.toObject = function(includeInstance, msg) {
|
17162
17269
|
var f, obj = {
|
17163
|
-
|
17270
|
+
providerSlugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
17164
17271
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
17165
17272
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
17166
17273
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
@@ -17204,7 +17311,7 @@ proto.game.SearchGamesIntoProvidersRequest.deserializeBinaryFromReader = functio
|
|
17204
17311
|
switch (field) {
|
17205
17312
|
case 1:
|
17206
17313
|
var value = /** @type {string} */ (reader.readString());
|
17207
|
-
msg.
|
17314
|
+
msg.addProviderSlugs(value);
|
17208
17315
|
break;
|
17209
17316
|
case 2:
|
17210
17317
|
var value = /** @type {string} */ (reader.readString());
|
@@ -17255,9 +17362,9 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.serializeBinary = function(
|
|
17255
17362
|
*/
|
17256
17363
|
proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(message, writer) {
|
17257
17364
|
var f = undefined;
|
17258
|
-
f = message.
|
17365
|
+
f = message.getProviderSlugsList();
|
17259
17366
|
if (f.length > 0) {
|
17260
|
-
writer.
|
17367
|
+
writer.writeRepeatedString(
|
17261
17368
|
1,
|
17262
17369
|
f
|
17263
17370
|
);
|
@@ -17301,20 +17408,39 @@ proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(me
|
|
17301
17408
|
|
17302
17409
|
|
17303
17410
|
/**
|
17304
|
-
*
|
17305
|
-
* @return {string}
|
17411
|
+
* repeated string provider_slugs = 1;
|
17412
|
+
* @return {!Array<string>}
|
17306
17413
|
*/
|
17307
|
-
proto.game.SearchGamesIntoProvidersRequest.prototype.
|
17308
|
-
return /** @type {string} */ (jspb.Message.
|
17414
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.getProviderSlugsList = function() {
|
17415
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
17416
|
+
};
|
17417
|
+
|
17418
|
+
|
17419
|
+
/**
|
17420
|
+
* @param {!Array<string>} value
|
17421
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
17422
|
+
*/
|
17423
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.setProviderSlugsList = function(value) {
|
17424
|
+
return jspb.Message.setField(this, 1, value || []);
|
17309
17425
|
};
|
17310
17426
|
|
17311
17427
|
|
17312
17428
|
/**
|
17313
17429
|
* @param {string} value
|
17430
|
+
* @param {number=} opt_index
|
17314
17431
|
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
17315
17432
|
*/
|
17316
|
-
proto.game.SearchGamesIntoProvidersRequest.prototype.
|
17317
|
-
return jspb.Message.
|
17433
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.addProviderSlugs = function(value, opt_index) {
|
17434
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
17435
|
+
};
|
17436
|
+
|
17437
|
+
|
17438
|
+
/**
|
17439
|
+
* Clears the list making it empty but non-null.
|
17440
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
17441
|
+
*/
|
17442
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.clearProviderSlugsList = function() {
|
17443
|
+
return this.setProviderSlugsList([]);
|
17318
17444
|
};
|
17319
17445
|
|
17320
17446
|
|