protobuf-platform 1.0.215 → 1.0.217
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 +12 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +516 -0
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -47,6 +47,7 @@ service Game {
|
|
47
47
|
rpc initDemoGameSession(InitDemoGameSessionRequest) returns (InitGameSessionResponse);
|
48
48
|
rpc getCollectionsByGeo(GameRelationsRequest) returns (GameRelationsResponse);
|
49
49
|
rpc getTagsByGeo(GameRelationsRequest) returns (GameRelationsResponse);
|
50
|
+
rpc updateGamesInBunch(GamesBunchRequest) returns (GameStatusResponse);
|
50
51
|
//Vendor
|
51
52
|
rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
|
52
53
|
rpc getIntegratorSettings(IntegratorSettingsRequest) returns (IntegratorSettingsResponse);
|
@@ -367,6 +368,16 @@ message GameGeo {
|
|
367
368
|
string geo = 1;
|
368
369
|
bool is_accepted = 2;
|
369
370
|
}
|
371
|
+
message GamesBunchRequest {
|
372
|
+
repeated int32 game_ids = 1;
|
373
|
+
optional int32 is_active = 2;
|
374
|
+
optional int32 is_deactivated = 3;
|
375
|
+
optional int32 is_mobile = 4;
|
376
|
+
optional int32 is_top = 5;
|
377
|
+
optional int32 is_vip = 6;
|
378
|
+
optional int32 has_demo = 7;
|
379
|
+
optional int32 has_free_spins = 8;
|
380
|
+
}
|
370
381
|
//Game CRUD | Responses
|
371
382
|
message GameResponse {
|
372
383
|
GameItem data = 1;
|
@@ -431,6 +442,7 @@ message InitGameSessionResponse {
|
|
431
442
|
string provider_slug = 8;
|
432
443
|
string user_id = 9;
|
433
444
|
}
|
445
|
+
//Vendor
|
434
446
|
message VendorActionRequest {
|
435
447
|
string data = 1;
|
436
448
|
}
|
package/game/game_grpc_pb.js
CHANGED
@@ -279,6 +279,17 @@ function deserialize_game_GameStatusResponse(buffer_arg) {
|
|
279
279
|
return game_pb.GameStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
280
280
|
}
|
281
281
|
|
282
|
+
function serialize_game_GamesBunchRequest(arg) {
|
283
|
+
if (!(arg instanceof game_pb.GamesBunchRequest)) {
|
284
|
+
throw new Error('Expected argument of type game.GamesBunchRequest');
|
285
|
+
}
|
286
|
+
return Buffer.from(arg.serializeBinary());
|
287
|
+
}
|
288
|
+
|
289
|
+
function deserialize_game_GamesBunchRequest(buffer_arg) {
|
290
|
+
return game_pb.GamesBunchRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
291
|
+
}
|
292
|
+
|
282
293
|
function serialize_game_GamesIds(arg) {
|
283
294
|
if (!(arg instanceof game_pb.GamesIds)) {
|
284
295
|
throw new Error('Expected argument of type game.GamesIds');
|
@@ -1177,6 +1188,17 @@ parseGames: {
|
|
1177
1188
|
responseSerialize: serialize_game_GameRelationsResponse,
|
1178
1189
|
responseDeserialize: deserialize_game_GameRelationsResponse,
|
1179
1190
|
},
|
1191
|
+
updateGamesInBunch: {
|
1192
|
+
path: '/game.Game/updateGamesInBunch',
|
1193
|
+
requestStream: false,
|
1194
|
+
responseStream: false,
|
1195
|
+
requestType: game_pb.GamesBunchRequest,
|
1196
|
+
responseType: game_pb.GameStatusResponse,
|
1197
|
+
requestSerialize: serialize_game_GamesBunchRequest,
|
1198
|
+
requestDeserialize: deserialize_game_GamesBunchRequest,
|
1199
|
+
responseSerialize: serialize_game_GameStatusResponse,
|
1200
|
+
responseDeserialize: deserialize_game_GameStatusResponse,
|
1201
|
+
},
|
1180
1202
|
// Vendor
|
1181
1203
|
processedVendorActionCallback: {
|
1182
1204
|
path: '/game.Game/processedVendorActionCallback',
|
package/game/game_pb.js
CHANGED
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.game.GameRequest.RequestCase', null, global);
|
|
58
58
|
goog.exportSymbol('proto.game.GameResponse', null, global);
|
59
59
|
goog.exportSymbol('proto.game.GameSearchRequest', null, global);
|
60
60
|
goog.exportSymbol('proto.game.GameStatusResponse', null, global);
|
61
|
+
goog.exportSymbol('proto.game.GamesBunchRequest', null, global);
|
61
62
|
goog.exportSymbol('proto.game.GamesIds', null, global);
|
62
63
|
goog.exportSymbol('proto.game.GamesPriorityRequest', null, global);
|
63
64
|
goog.exportSymbol('proto.game.GamesUuids', null, global);
|
@@ -1179,6 +1180,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
1179
1180
|
*/
|
1180
1181
|
proto.game.GameGeo.displayName = 'proto.game.GameGeo';
|
1181
1182
|
}
|
1183
|
+
/**
|
1184
|
+
* Generated by JsPbCodeGenerator.
|
1185
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
1186
|
+
* server response, or constructed directly in Javascript. The array is used
|
1187
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
1188
|
+
* If no data is provided, the constructed object will be empty, but still
|
1189
|
+
* valid.
|
1190
|
+
* @extends {jspb.Message}
|
1191
|
+
* @constructor
|
1192
|
+
*/
|
1193
|
+
proto.game.GamesBunchRequest = function(opt_data) {
|
1194
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GamesBunchRequest.repeatedFields_, null);
|
1195
|
+
};
|
1196
|
+
goog.inherits(proto.game.GamesBunchRequest, jspb.Message);
|
1197
|
+
if (goog.DEBUG && !COMPILED) {
|
1198
|
+
/**
|
1199
|
+
* @public
|
1200
|
+
* @override
|
1201
|
+
*/
|
1202
|
+
proto.game.GamesBunchRequest.displayName = 'proto.game.GamesBunchRequest';
|
1203
|
+
}
|
1182
1204
|
/**
|
1183
1205
|
* Generated by JsPbCodeGenerator.
|
1184
1206
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -15248,6 +15270,500 @@ proto.game.GameGeo.prototype.setIsAccepted = function(value) {
|
|
15248
15270
|
|
15249
15271
|
|
15250
15272
|
|
15273
|
+
/**
|
15274
|
+
* List of repeated fields within this message type.
|
15275
|
+
* @private {!Array<number>}
|
15276
|
+
* @const
|
15277
|
+
*/
|
15278
|
+
proto.game.GamesBunchRequest.repeatedFields_ = [1];
|
15279
|
+
|
15280
|
+
|
15281
|
+
|
15282
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15283
|
+
/**
|
15284
|
+
* Creates an object representation of this proto.
|
15285
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
15286
|
+
* Optional fields that are not set will be set to undefined.
|
15287
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
15288
|
+
* For the list of reserved names please see:
|
15289
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
15290
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
15291
|
+
* JSPB instance for transitional soy proto support:
|
15292
|
+
* http://goto/soy-param-migration
|
15293
|
+
* @return {!Object}
|
15294
|
+
*/
|
15295
|
+
proto.game.GamesBunchRequest.prototype.toObject = function(opt_includeInstance) {
|
15296
|
+
return proto.game.GamesBunchRequest.toObject(opt_includeInstance, this);
|
15297
|
+
};
|
15298
|
+
|
15299
|
+
|
15300
|
+
/**
|
15301
|
+
* Static version of the {@see toObject} method.
|
15302
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
15303
|
+
* the JSPB instance for transitional soy proto support:
|
15304
|
+
* http://goto/soy-param-migration
|
15305
|
+
* @param {!proto.game.GamesBunchRequest} msg The msg instance to transform.
|
15306
|
+
* @return {!Object}
|
15307
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15308
|
+
*/
|
15309
|
+
proto.game.GamesBunchRequest.toObject = function(includeInstance, msg) {
|
15310
|
+
var f, obj = {
|
15311
|
+
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
15312
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
15313
|
+
isDeactivated: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
15314
|
+
isMobile: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
15315
|
+
isTop: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
15316
|
+
isVip: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
15317
|
+
hasDemo: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
15318
|
+
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
15319
|
+
};
|
15320
|
+
|
15321
|
+
if (includeInstance) {
|
15322
|
+
obj.$jspbMessageInstance = msg;
|
15323
|
+
}
|
15324
|
+
return obj;
|
15325
|
+
};
|
15326
|
+
}
|
15327
|
+
|
15328
|
+
|
15329
|
+
/**
|
15330
|
+
* Deserializes binary data (in protobuf wire format).
|
15331
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
15332
|
+
* @return {!proto.game.GamesBunchRequest}
|
15333
|
+
*/
|
15334
|
+
proto.game.GamesBunchRequest.deserializeBinary = function(bytes) {
|
15335
|
+
var reader = new jspb.BinaryReader(bytes);
|
15336
|
+
var msg = new proto.game.GamesBunchRequest;
|
15337
|
+
return proto.game.GamesBunchRequest.deserializeBinaryFromReader(msg, reader);
|
15338
|
+
};
|
15339
|
+
|
15340
|
+
|
15341
|
+
/**
|
15342
|
+
* Deserializes binary data (in protobuf wire format) from the
|
15343
|
+
* given reader into the given message object.
|
15344
|
+
* @param {!proto.game.GamesBunchRequest} msg The message object to deserialize into.
|
15345
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
15346
|
+
* @return {!proto.game.GamesBunchRequest}
|
15347
|
+
*/
|
15348
|
+
proto.game.GamesBunchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
15349
|
+
while (reader.nextField()) {
|
15350
|
+
if (reader.isEndGroup()) {
|
15351
|
+
break;
|
15352
|
+
}
|
15353
|
+
var field = reader.getFieldNumber();
|
15354
|
+
switch (field) {
|
15355
|
+
case 1:
|
15356
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
15357
|
+
for (var i = 0; i < values.length; i++) {
|
15358
|
+
msg.addGameIds(values[i]);
|
15359
|
+
}
|
15360
|
+
break;
|
15361
|
+
case 2:
|
15362
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15363
|
+
msg.setIsActive(value);
|
15364
|
+
break;
|
15365
|
+
case 3:
|
15366
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15367
|
+
msg.setIsDeactivated(value);
|
15368
|
+
break;
|
15369
|
+
case 4:
|
15370
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15371
|
+
msg.setIsMobile(value);
|
15372
|
+
break;
|
15373
|
+
case 5:
|
15374
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15375
|
+
msg.setIsTop(value);
|
15376
|
+
break;
|
15377
|
+
case 6:
|
15378
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15379
|
+
msg.setIsVip(value);
|
15380
|
+
break;
|
15381
|
+
case 7:
|
15382
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15383
|
+
msg.setHasDemo(value);
|
15384
|
+
break;
|
15385
|
+
case 8:
|
15386
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15387
|
+
msg.setHasFreeSpins(value);
|
15388
|
+
break;
|
15389
|
+
default:
|
15390
|
+
reader.skipField();
|
15391
|
+
break;
|
15392
|
+
}
|
15393
|
+
}
|
15394
|
+
return msg;
|
15395
|
+
};
|
15396
|
+
|
15397
|
+
|
15398
|
+
/**
|
15399
|
+
* Serializes the message to binary data (in protobuf wire format).
|
15400
|
+
* @return {!Uint8Array}
|
15401
|
+
*/
|
15402
|
+
proto.game.GamesBunchRequest.prototype.serializeBinary = function() {
|
15403
|
+
var writer = new jspb.BinaryWriter();
|
15404
|
+
proto.game.GamesBunchRequest.serializeBinaryToWriter(this, writer);
|
15405
|
+
return writer.getResultBuffer();
|
15406
|
+
};
|
15407
|
+
|
15408
|
+
|
15409
|
+
/**
|
15410
|
+
* Serializes the given message to binary data (in protobuf wire
|
15411
|
+
* format), writing to the given BinaryWriter.
|
15412
|
+
* @param {!proto.game.GamesBunchRequest} message
|
15413
|
+
* @param {!jspb.BinaryWriter} writer
|
15414
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15415
|
+
*/
|
15416
|
+
proto.game.GamesBunchRequest.serializeBinaryToWriter = function(message, writer) {
|
15417
|
+
var f = undefined;
|
15418
|
+
f = message.getGameIdsList();
|
15419
|
+
if (f.length > 0) {
|
15420
|
+
writer.writePackedInt32(
|
15421
|
+
1,
|
15422
|
+
f
|
15423
|
+
);
|
15424
|
+
}
|
15425
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
15426
|
+
if (f != null) {
|
15427
|
+
writer.writeInt32(
|
15428
|
+
2,
|
15429
|
+
f
|
15430
|
+
);
|
15431
|
+
}
|
15432
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
15433
|
+
if (f != null) {
|
15434
|
+
writer.writeInt32(
|
15435
|
+
3,
|
15436
|
+
f
|
15437
|
+
);
|
15438
|
+
}
|
15439
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
15440
|
+
if (f != null) {
|
15441
|
+
writer.writeInt32(
|
15442
|
+
4,
|
15443
|
+
f
|
15444
|
+
);
|
15445
|
+
}
|
15446
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
15447
|
+
if (f != null) {
|
15448
|
+
writer.writeInt32(
|
15449
|
+
5,
|
15450
|
+
f
|
15451
|
+
);
|
15452
|
+
}
|
15453
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
15454
|
+
if (f != null) {
|
15455
|
+
writer.writeInt32(
|
15456
|
+
6,
|
15457
|
+
f
|
15458
|
+
);
|
15459
|
+
}
|
15460
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
15461
|
+
if (f != null) {
|
15462
|
+
writer.writeInt32(
|
15463
|
+
7,
|
15464
|
+
f
|
15465
|
+
);
|
15466
|
+
}
|
15467
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
15468
|
+
if (f != null) {
|
15469
|
+
writer.writeInt32(
|
15470
|
+
8,
|
15471
|
+
f
|
15472
|
+
);
|
15473
|
+
}
|
15474
|
+
};
|
15475
|
+
|
15476
|
+
|
15477
|
+
/**
|
15478
|
+
* repeated int32 game_ids = 1;
|
15479
|
+
* @return {!Array<number>}
|
15480
|
+
*/
|
15481
|
+
proto.game.GamesBunchRequest.prototype.getGameIdsList = function() {
|
15482
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
15483
|
+
};
|
15484
|
+
|
15485
|
+
|
15486
|
+
/**
|
15487
|
+
* @param {!Array<number>} value
|
15488
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15489
|
+
*/
|
15490
|
+
proto.game.GamesBunchRequest.prototype.setGameIdsList = function(value) {
|
15491
|
+
return jspb.Message.setField(this, 1, value || []);
|
15492
|
+
};
|
15493
|
+
|
15494
|
+
|
15495
|
+
/**
|
15496
|
+
* @param {number} value
|
15497
|
+
* @param {number=} opt_index
|
15498
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15499
|
+
*/
|
15500
|
+
proto.game.GamesBunchRequest.prototype.addGameIds = function(value, opt_index) {
|
15501
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
15502
|
+
};
|
15503
|
+
|
15504
|
+
|
15505
|
+
/**
|
15506
|
+
* Clears the list making it empty but non-null.
|
15507
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15508
|
+
*/
|
15509
|
+
proto.game.GamesBunchRequest.prototype.clearGameIdsList = function() {
|
15510
|
+
return this.setGameIdsList([]);
|
15511
|
+
};
|
15512
|
+
|
15513
|
+
|
15514
|
+
/**
|
15515
|
+
* optional int32 is_active = 2;
|
15516
|
+
* @return {number}
|
15517
|
+
*/
|
15518
|
+
proto.game.GamesBunchRequest.prototype.getIsActive = function() {
|
15519
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
15520
|
+
};
|
15521
|
+
|
15522
|
+
|
15523
|
+
/**
|
15524
|
+
* @param {number} value
|
15525
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15526
|
+
*/
|
15527
|
+
proto.game.GamesBunchRequest.prototype.setIsActive = function(value) {
|
15528
|
+
return jspb.Message.setField(this, 2, value);
|
15529
|
+
};
|
15530
|
+
|
15531
|
+
|
15532
|
+
/**
|
15533
|
+
* Clears the field making it undefined.
|
15534
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15535
|
+
*/
|
15536
|
+
proto.game.GamesBunchRequest.prototype.clearIsActive = function() {
|
15537
|
+
return jspb.Message.setField(this, 2, undefined);
|
15538
|
+
};
|
15539
|
+
|
15540
|
+
|
15541
|
+
/**
|
15542
|
+
* Returns whether this field is set.
|
15543
|
+
* @return {boolean}
|
15544
|
+
*/
|
15545
|
+
proto.game.GamesBunchRequest.prototype.hasIsActive = function() {
|
15546
|
+
return jspb.Message.getField(this, 2) != null;
|
15547
|
+
};
|
15548
|
+
|
15549
|
+
|
15550
|
+
/**
|
15551
|
+
* optional int32 is_deactivated = 3;
|
15552
|
+
* @return {number}
|
15553
|
+
*/
|
15554
|
+
proto.game.GamesBunchRequest.prototype.getIsDeactivated = function() {
|
15555
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
15556
|
+
};
|
15557
|
+
|
15558
|
+
|
15559
|
+
/**
|
15560
|
+
* @param {number} value
|
15561
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15562
|
+
*/
|
15563
|
+
proto.game.GamesBunchRequest.prototype.setIsDeactivated = function(value) {
|
15564
|
+
return jspb.Message.setField(this, 3, value);
|
15565
|
+
};
|
15566
|
+
|
15567
|
+
|
15568
|
+
/**
|
15569
|
+
* Clears the field making it undefined.
|
15570
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15571
|
+
*/
|
15572
|
+
proto.game.GamesBunchRequest.prototype.clearIsDeactivated = function() {
|
15573
|
+
return jspb.Message.setField(this, 3, undefined);
|
15574
|
+
};
|
15575
|
+
|
15576
|
+
|
15577
|
+
/**
|
15578
|
+
* Returns whether this field is set.
|
15579
|
+
* @return {boolean}
|
15580
|
+
*/
|
15581
|
+
proto.game.GamesBunchRequest.prototype.hasIsDeactivated = function() {
|
15582
|
+
return jspb.Message.getField(this, 3) != null;
|
15583
|
+
};
|
15584
|
+
|
15585
|
+
|
15586
|
+
/**
|
15587
|
+
* optional int32 is_mobile = 4;
|
15588
|
+
* @return {number}
|
15589
|
+
*/
|
15590
|
+
proto.game.GamesBunchRequest.prototype.getIsMobile = function() {
|
15591
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
15592
|
+
};
|
15593
|
+
|
15594
|
+
|
15595
|
+
/**
|
15596
|
+
* @param {number} value
|
15597
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15598
|
+
*/
|
15599
|
+
proto.game.GamesBunchRequest.prototype.setIsMobile = function(value) {
|
15600
|
+
return jspb.Message.setField(this, 4, value);
|
15601
|
+
};
|
15602
|
+
|
15603
|
+
|
15604
|
+
/**
|
15605
|
+
* Clears the field making it undefined.
|
15606
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15607
|
+
*/
|
15608
|
+
proto.game.GamesBunchRequest.prototype.clearIsMobile = function() {
|
15609
|
+
return jspb.Message.setField(this, 4, undefined);
|
15610
|
+
};
|
15611
|
+
|
15612
|
+
|
15613
|
+
/**
|
15614
|
+
* Returns whether this field is set.
|
15615
|
+
* @return {boolean}
|
15616
|
+
*/
|
15617
|
+
proto.game.GamesBunchRequest.prototype.hasIsMobile = function() {
|
15618
|
+
return jspb.Message.getField(this, 4) != null;
|
15619
|
+
};
|
15620
|
+
|
15621
|
+
|
15622
|
+
/**
|
15623
|
+
* optional int32 is_top = 5;
|
15624
|
+
* @return {number}
|
15625
|
+
*/
|
15626
|
+
proto.game.GamesBunchRequest.prototype.getIsTop = function() {
|
15627
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
15628
|
+
};
|
15629
|
+
|
15630
|
+
|
15631
|
+
/**
|
15632
|
+
* @param {number} value
|
15633
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15634
|
+
*/
|
15635
|
+
proto.game.GamesBunchRequest.prototype.setIsTop = function(value) {
|
15636
|
+
return jspb.Message.setField(this, 5, value);
|
15637
|
+
};
|
15638
|
+
|
15639
|
+
|
15640
|
+
/**
|
15641
|
+
* Clears the field making it undefined.
|
15642
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15643
|
+
*/
|
15644
|
+
proto.game.GamesBunchRequest.prototype.clearIsTop = function() {
|
15645
|
+
return jspb.Message.setField(this, 5, undefined);
|
15646
|
+
};
|
15647
|
+
|
15648
|
+
|
15649
|
+
/**
|
15650
|
+
* Returns whether this field is set.
|
15651
|
+
* @return {boolean}
|
15652
|
+
*/
|
15653
|
+
proto.game.GamesBunchRequest.prototype.hasIsTop = function() {
|
15654
|
+
return jspb.Message.getField(this, 5) != null;
|
15655
|
+
};
|
15656
|
+
|
15657
|
+
|
15658
|
+
/**
|
15659
|
+
* optional int32 is_vip = 6;
|
15660
|
+
* @return {number}
|
15661
|
+
*/
|
15662
|
+
proto.game.GamesBunchRequest.prototype.getIsVip = function() {
|
15663
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
15664
|
+
};
|
15665
|
+
|
15666
|
+
|
15667
|
+
/**
|
15668
|
+
* @param {number} value
|
15669
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15670
|
+
*/
|
15671
|
+
proto.game.GamesBunchRequest.prototype.setIsVip = function(value) {
|
15672
|
+
return jspb.Message.setField(this, 6, value);
|
15673
|
+
};
|
15674
|
+
|
15675
|
+
|
15676
|
+
/**
|
15677
|
+
* Clears the field making it undefined.
|
15678
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15679
|
+
*/
|
15680
|
+
proto.game.GamesBunchRequest.prototype.clearIsVip = function() {
|
15681
|
+
return jspb.Message.setField(this, 6, undefined);
|
15682
|
+
};
|
15683
|
+
|
15684
|
+
|
15685
|
+
/**
|
15686
|
+
* Returns whether this field is set.
|
15687
|
+
* @return {boolean}
|
15688
|
+
*/
|
15689
|
+
proto.game.GamesBunchRequest.prototype.hasIsVip = function() {
|
15690
|
+
return jspb.Message.getField(this, 6) != null;
|
15691
|
+
};
|
15692
|
+
|
15693
|
+
|
15694
|
+
/**
|
15695
|
+
* optional int32 has_demo = 7;
|
15696
|
+
* @return {number}
|
15697
|
+
*/
|
15698
|
+
proto.game.GamesBunchRequest.prototype.getHasDemo = function() {
|
15699
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
15700
|
+
};
|
15701
|
+
|
15702
|
+
|
15703
|
+
/**
|
15704
|
+
* @param {number} value
|
15705
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15706
|
+
*/
|
15707
|
+
proto.game.GamesBunchRequest.prototype.setHasDemo = function(value) {
|
15708
|
+
return jspb.Message.setField(this, 7, value);
|
15709
|
+
};
|
15710
|
+
|
15711
|
+
|
15712
|
+
/**
|
15713
|
+
* Clears the field making it undefined.
|
15714
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15715
|
+
*/
|
15716
|
+
proto.game.GamesBunchRequest.prototype.clearHasDemo = function() {
|
15717
|
+
return jspb.Message.setField(this, 7, undefined);
|
15718
|
+
};
|
15719
|
+
|
15720
|
+
|
15721
|
+
/**
|
15722
|
+
* Returns whether this field is set.
|
15723
|
+
* @return {boolean}
|
15724
|
+
*/
|
15725
|
+
proto.game.GamesBunchRequest.prototype.hasHasDemo = function() {
|
15726
|
+
return jspb.Message.getField(this, 7) != null;
|
15727
|
+
};
|
15728
|
+
|
15729
|
+
|
15730
|
+
/**
|
15731
|
+
* optional int32 has_free_spins = 8;
|
15732
|
+
* @return {number}
|
15733
|
+
*/
|
15734
|
+
proto.game.GamesBunchRequest.prototype.getHasFreeSpins = function() {
|
15735
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
15736
|
+
};
|
15737
|
+
|
15738
|
+
|
15739
|
+
/**
|
15740
|
+
* @param {number} value
|
15741
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15742
|
+
*/
|
15743
|
+
proto.game.GamesBunchRequest.prototype.setHasFreeSpins = function(value) {
|
15744
|
+
return jspb.Message.setField(this, 8, value);
|
15745
|
+
};
|
15746
|
+
|
15747
|
+
|
15748
|
+
/**
|
15749
|
+
* Clears the field making it undefined.
|
15750
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15751
|
+
*/
|
15752
|
+
proto.game.GamesBunchRequest.prototype.clearHasFreeSpins = function() {
|
15753
|
+
return jspb.Message.setField(this, 8, undefined);
|
15754
|
+
};
|
15755
|
+
|
15756
|
+
|
15757
|
+
/**
|
15758
|
+
* Returns whether this field is set.
|
15759
|
+
* @return {boolean}
|
15760
|
+
*/
|
15761
|
+
proto.game.GamesBunchRequest.prototype.hasHasFreeSpins = function() {
|
15762
|
+
return jspb.Message.getField(this, 8) != null;
|
15763
|
+
};
|
15764
|
+
|
15765
|
+
|
15766
|
+
|
15251
15767
|
|
15252
15768
|
|
15253
15769
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|