protobuf-platform 1.0.215 → 1.0.216
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 +11 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +458 -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,15 @@ message GameGeo {
|
|
367
368
|
string geo = 1;
|
368
369
|
bool is_accepted = 2;
|
369
370
|
}
|
371
|
+
message GamesBunchRequest {
|
372
|
+
optional int32 is_active = 1;
|
373
|
+
optional int32 is_deactivated = 2;
|
374
|
+
optional int32 is_mobile = 3;
|
375
|
+
optional int32 is_top = 4;
|
376
|
+
optional int32 is_vip = 5;
|
377
|
+
optional int32 has_demo = 6;
|
378
|
+
optional int32 has_free_spins = 7;
|
379
|
+
}
|
370
380
|
//Game CRUD | Responses
|
371
381
|
message GameResponse {
|
372
382
|
GameItem data = 1;
|
@@ -431,6 +441,7 @@ message InitGameSessionResponse {
|
|
431
441
|
string provider_slug = 8;
|
432
442
|
string user_id = 9;
|
433
443
|
}
|
444
|
+
//Vendor
|
434
445
|
message VendorActionRequest {
|
435
446
|
string data = 1;
|
436
447
|
}
|
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, null, 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
|
@@ -15250,6 +15272,442 @@ proto.game.GameGeo.prototype.setIsAccepted = function(value) {
|
|
15250
15272
|
|
15251
15273
|
|
15252
15274
|
|
15275
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15276
|
+
/**
|
15277
|
+
* Creates an object representation of this proto.
|
15278
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
15279
|
+
* Optional fields that are not set will be set to undefined.
|
15280
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
15281
|
+
* For the list of reserved names please see:
|
15282
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
15283
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
15284
|
+
* JSPB instance for transitional soy proto support:
|
15285
|
+
* http://goto/soy-param-migration
|
15286
|
+
* @return {!Object}
|
15287
|
+
*/
|
15288
|
+
proto.game.GamesBunchRequest.prototype.toObject = function(opt_includeInstance) {
|
15289
|
+
return proto.game.GamesBunchRequest.toObject(opt_includeInstance, this);
|
15290
|
+
};
|
15291
|
+
|
15292
|
+
|
15293
|
+
/**
|
15294
|
+
* Static version of the {@see toObject} method.
|
15295
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
15296
|
+
* the JSPB instance for transitional soy proto support:
|
15297
|
+
* http://goto/soy-param-migration
|
15298
|
+
* @param {!proto.game.GamesBunchRequest} msg The msg instance to transform.
|
15299
|
+
* @return {!Object}
|
15300
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15301
|
+
*/
|
15302
|
+
proto.game.GamesBunchRequest.toObject = function(includeInstance, msg) {
|
15303
|
+
var f, obj = {
|
15304
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
15305
|
+
isDeactivated: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
15306
|
+
isMobile: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
15307
|
+
isTop: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
15308
|
+
isVip: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
15309
|
+
hasDemo: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
15310
|
+
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
15311
|
+
};
|
15312
|
+
|
15313
|
+
if (includeInstance) {
|
15314
|
+
obj.$jspbMessageInstance = msg;
|
15315
|
+
}
|
15316
|
+
return obj;
|
15317
|
+
};
|
15318
|
+
}
|
15319
|
+
|
15320
|
+
|
15321
|
+
/**
|
15322
|
+
* Deserializes binary data (in protobuf wire format).
|
15323
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
15324
|
+
* @return {!proto.game.GamesBunchRequest}
|
15325
|
+
*/
|
15326
|
+
proto.game.GamesBunchRequest.deserializeBinary = function(bytes) {
|
15327
|
+
var reader = new jspb.BinaryReader(bytes);
|
15328
|
+
var msg = new proto.game.GamesBunchRequest;
|
15329
|
+
return proto.game.GamesBunchRequest.deserializeBinaryFromReader(msg, reader);
|
15330
|
+
};
|
15331
|
+
|
15332
|
+
|
15333
|
+
/**
|
15334
|
+
* Deserializes binary data (in protobuf wire format) from the
|
15335
|
+
* given reader into the given message object.
|
15336
|
+
* @param {!proto.game.GamesBunchRequest} msg The message object to deserialize into.
|
15337
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
15338
|
+
* @return {!proto.game.GamesBunchRequest}
|
15339
|
+
*/
|
15340
|
+
proto.game.GamesBunchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
15341
|
+
while (reader.nextField()) {
|
15342
|
+
if (reader.isEndGroup()) {
|
15343
|
+
break;
|
15344
|
+
}
|
15345
|
+
var field = reader.getFieldNumber();
|
15346
|
+
switch (field) {
|
15347
|
+
case 1:
|
15348
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15349
|
+
msg.setIsActive(value);
|
15350
|
+
break;
|
15351
|
+
case 2:
|
15352
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15353
|
+
msg.setIsDeactivated(value);
|
15354
|
+
break;
|
15355
|
+
case 3:
|
15356
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15357
|
+
msg.setIsMobile(value);
|
15358
|
+
break;
|
15359
|
+
case 4:
|
15360
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15361
|
+
msg.setIsTop(value);
|
15362
|
+
break;
|
15363
|
+
case 5:
|
15364
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15365
|
+
msg.setIsVip(value);
|
15366
|
+
break;
|
15367
|
+
case 6:
|
15368
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15369
|
+
msg.setHasDemo(value);
|
15370
|
+
break;
|
15371
|
+
case 7:
|
15372
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15373
|
+
msg.setHasFreeSpins(value);
|
15374
|
+
break;
|
15375
|
+
default:
|
15376
|
+
reader.skipField();
|
15377
|
+
break;
|
15378
|
+
}
|
15379
|
+
}
|
15380
|
+
return msg;
|
15381
|
+
};
|
15382
|
+
|
15383
|
+
|
15384
|
+
/**
|
15385
|
+
* Serializes the message to binary data (in protobuf wire format).
|
15386
|
+
* @return {!Uint8Array}
|
15387
|
+
*/
|
15388
|
+
proto.game.GamesBunchRequest.prototype.serializeBinary = function() {
|
15389
|
+
var writer = new jspb.BinaryWriter();
|
15390
|
+
proto.game.GamesBunchRequest.serializeBinaryToWriter(this, writer);
|
15391
|
+
return writer.getResultBuffer();
|
15392
|
+
};
|
15393
|
+
|
15394
|
+
|
15395
|
+
/**
|
15396
|
+
* Serializes the given message to binary data (in protobuf wire
|
15397
|
+
* format), writing to the given BinaryWriter.
|
15398
|
+
* @param {!proto.game.GamesBunchRequest} message
|
15399
|
+
* @param {!jspb.BinaryWriter} writer
|
15400
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15401
|
+
*/
|
15402
|
+
proto.game.GamesBunchRequest.serializeBinaryToWriter = function(message, writer) {
|
15403
|
+
var f = undefined;
|
15404
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
15405
|
+
if (f != null) {
|
15406
|
+
writer.writeInt32(
|
15407
|
+
1,
|
15408
|
+
f
|
15409
|
+
);
|
15410
|
+
}
|
15411
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
15412
|
+
if (f != null) {
|
15413
|
+
writer.writeInt32(
|
15414
|
+
2,
|
15415
|
+
f
|
15416
|
+
);
|
15417
|
+
}
|
15418
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
15419
|
+
if (f != null) {
|
15420
|
+
writer.writeInt32(
|
15421
|
+
3,
|
15422
|
+
f
|
15423
|
+
);
|
15424
|
+
}
|
15425
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
15426
|
+
if (f != null) {
|
15427
|
+
writer.writeInt32(
|
15428
|
+
4,
|
15429
|
+
f
|
15430
|
+
);
|
15431
|
+
}
|
15432
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
15433
|
+
if (f != null) {
|
15434
|
+
writer.writeInt32(
|
15435
|
+
5,
|
15436
|
+
f
|
15437
|
+
);
|
15438
|
+
}
|
15439
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
15440
|
+
if (f != null) {
|
15441
|
+
writer.writeInt32(
|
15442
|
+
6,
|
15443
|
+
f
|
15444
|
+
);
|
15445
|
+
}
|
15446
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
15447
|
+
if (f != null) {
|
15448
|
+
writer.writeInt32(
|
15449
|
+
7,
|
15450
|
+
f
|
15451
|
+
);
|
15452
|
+
}
|
15453
|
+
};
|
15454
|
+
|
15455
|
+
|
15456
|
+
/**
|
15457
|
+
* optional int32 is_active = 1;
|
15458
|
+
* @return {number}
|
15459
|
+
*/
|
15460
|
+
proto.game.GamesBunchRequest.prototype.getIsActive = function() {
|
15461
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
15462
|
+
};
|
15463
|
+
|
15464
|
+
|
15465
|
+
/**
|
15466
|
+
* @param {number} value
|
15467
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15468
|
+
*/
|
15469
|
+
proto.game.GamesBunchRequest.prototype.setIsActive = function(value) {
|
15470
|
+
return jspb.Message.setField(this, 1, value);
|
15471
|
+
};
|
15472
|
+
|
15473
|
+
|
15474
|
+
/**
|
15475
|
+
* Clears the field making it undefined.
|
15476
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15477
|
+
*/
|
15478
|
+
proto.game.GamesBunchRequest.prototype.clearIsActive = function() {
|
15479
|
+
return jspb.Message.setField(this, 1, undefined);
|
15480
|
+
};
|
15481
|
+
|
15482
|
+
|
15483
|
+
/**
|
15484
|
+
* Returns whether this field is set.
|
15485
|
+
* @return {boolean}
|
15486
|
+
*/
|
15487
|
+
proto.game.GamesBunchRequest.prototype.hasIsActive = function() {
|
15488
|
+
return jspb.Message.getField(this, 1) != null;
|
15489
|
+
};
|
15490
|
+
|
15491
|
+
|
15492
|
+
/**
|
15493
|
+
* optional int32 is_deactivated = 2;
|
15494
|
+
* @return {number}
|
15495
|
+
*/
|
15496
|
+
proto.game.GamesBunchRequest.prototype.getIsDeactivated = function() {
|
15497
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
15498
|
+
};
|
15499
|
+
|
15500
|
+
|
15501
|
+
/**
|
15502
|
+
* @param {number} value
|
15503
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15504
|
+
*/
|
15505
|
+
proto.game.GamesBunchRequest.prototype.setIsDeactivated = function(value) {
|
15506
|
+
return jspb.Message.setField(this, 2, value);
|
15507
|
+
};
|
15508
|
+
|
15509
|
+
|
15510
|
+
/**
|
15511
|
+
* Clears the field making it undefined.
|
15512
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15513
|
+
*/
|
15514
|
+
proto.game.GamesBunchRequest.prototype.clearIsDeactivated = function() {
|
15515
|
+
return jspb.Message.setField(this, 2, undefined);
|
15516
|
+
};
|
15517
|
+
|
15518
|
+
|
15519
|
+
/**
|
15520
|
+
* Returns whether this field is set.
|
15521
|
+
* @return {boolean}
|
15522
|
+
*/
|
15523
|
+
proto.game.GamesBunchRequest.prototype.hasIsDeactivated = function() {
|
15524
|
+
return jspb.Message.getField(this, 2) != null;
|
15525
|
+
};
|
15526
|
+
|
15527
|
+
|
15528
|
+
/**
|
15529
|
+
* optional int32 is_mobile = 3;
|
15530
|
+
* @return {number}
|
15531
|
+
*/
|
15532
|
+
proto.game.GamesBunchRequest.prototype.getIsMobile = function() {
|
15533
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
15534
|
+
};
|
15535
|
+
|
15536
|
+
|
15537
|
+
/**
|
15538
|
+
* @param {number} value
|
15539
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15540
|
+
*/
|
15541
|
+
proto.game.GamesBunchRequest.prototype.setIsMobile = function(value) {
|
15542
|
+
return jspb.Message.setField(this, 3, value);
|
15543
|
+
};
|
15544
|
+
|
15545
|
+
|
15546
|
+
/**
|
15547
|
+
* Clears the field making it undefined.
|
15548
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15549
|
+
*/
|
15550
|
+
proto.game.GamesBunchRequest.prototype.clearIsMobile = function() {
|
15551
|
+
return jspb.Message.setField(this, 3, undefined);
|
15552
|
+
};
|
15553
|
+
|
15554
|
+
|
15555
|
+
/**
|
15556
|
+
* Returns whether this field is set.
|
15557
|
+
* @return {boolean}
|
15558
|
+
*/
|
15559
|
+
proto.game.GamesBunchRequest.prototype.hasIsMobile = function() {
|
15560
|
+
return jspb.Message.getField(this, 3) != null;
|
15561
|
+
};
|
15562
|
+
|
15563
|
+
|
15564
|
+
/**
|
15565
|
+
* optional int32 is_top = 4;
|
15566
|
+
* @return {number}
|
15567
|
+
*/
|
15568
|
+
proto.game.GamesBunchRequest.prototype.getIsTop = function() {
|
15569
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
15570
|
+
};
|
15571
|
+
|
15572
|
+
|
15573
|
+
/**
|
15574
|
+
* @param {number} value
|
15575
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15576
|
+
*/
|
15577
|
+
proto.game.GamesBunchRequest.prototype.setIsTop = function(value) {
|
15578
|
+
return jspb.Message.setField(this, 4, value);
|
15579
|
+
};
|
15580
|
+
|
15581
|
+
|
15582
|
+
/**
|
15583
|
+
* Clears the field making it undefined.
|
15584
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15585
|
+
*/
|
15586
|
+
proto.game.GamesBunchRequest.prototype.clearIsTop = function() {
|
15587
|
+
return jspb.Message.setField(this, 4, undefined);
|
15588
|
+
};
|
15589
|
+
|
15590
|
+
|
15591
|
+
/**
|
15592
|
+
* Returns whether this field is set.
|
15593
|
+
* @return {boolean}
|
15594
|
+
*/
|
15595
|
+
proto.game.GamesBunchRequest.prototype.hasIsTop = function() {
|
15596
|
+
return jspb.Message.getField(this, 4) != null;
|
15597
|
+
};
|
15598
|
+
|
15599
|
+
|
15600
|
+
/**
|
15601
|
+
* optional int32 is_vip = 5;
|
15602
|
+
* @return {number}
|
15603
|
+
*/
|
15604
|
+
proto.game.GamesBunchRequest.prototype.getIsVip = function() {
|
15605
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
15606
|
+
};
|
15607
|
+
|
15608
|
+
|
15609
|
+
/**
|
15610
|
+
* @param {number} value
|
15611
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15612
|
+
*/
|
15613
|
+
proto.game.GamesBunchRequest.prototype.setIsVip = function(value) {
|
15614
|
+
return jspb.Message.setField(this, 5, value);
|
15615
|
+
};
|
15616
|
+
|
15617
|
+
|
15618
|
+
/**
|
15619
|
+
* Clears the field making it undefined.
|
15620
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15621
|
+
*/
|
15622
|
+
proto.game.GamesBunchRequest.prototype.clearIsVip = function() {
|
15623
|
+
return jspb.Message.setField(this, 5, undefined);
|
15624
|
+
};
|
15625
|
+
|
15626
|
+
|
15627
|
+
/**
|
15628
|
+
* Returns whether this field is set.
|
15629
|
+
* @return {boolean}
|
15630
|
+
*/
|
15631
|
+
proto.game.GamesBunchRequest.prototype.hasIsVip = function() {
|
15632
|
+
return jspb.Message.getField(this, 5) != null;
|
15633
|
+
};
|
15634
|
+
|
15635
|
+
|
15636
|
+
/**
|
15637
|
+
* optional int32 has_demo = 6;
|
15638
|
+
* @return {number}
|
15639
|
+
*/
|
15640
|
+
proto.game.GamesBunchRequest.prototype.getHasDemo = function() {
|
15641
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
15642
|
+
};
|
15643
|
+
|
15644
|
+
|
15645
|
+
/**
|
15646
|
+
* @param {number} value
|
15647
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15648
|
+
*/
|
15649
|
+
proto.game.GamesBunchRequest.prototype.setHasDemo = function(value) {
|
15650
|
+
return jspb.Message.setField(this, 6, value);
|
15651
|
+
};
|
15652
|
+
|
15653
|
+
|
15654
|
+
/**
|
15655
|
+
* Clears the field making it undefined.
|
15656
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15657
|
+
*/
|
15658
|
+
proto.game.GamesBunchRequest.prototype.clearHasDemo = function() {
|
15659
|
+
return jspb.Message.setField(this, 6, undefined);
|
15660
|
+
};
|
15661
|
+
|
15662
|
+
|
15663
|
+
/**
|
15664
|
+
* Returns whether this field is set.
|
15665
|
+
* @return {boolean}
|
15666
|
+
*/
|
15667
|
+
proto.game.GamesBunchRequest.prototype.hasHasDemo = function() {
|
15668
|
+
return jspb.Message.getField(this, 6) != null;
|
15669
|
+
};
|
15670
|
+
|
15671
|
+
|
15672
|
+
/**
|
15673
|
+
* optional int32 has_free_spins = 7;
|
15674
|
+
* @return {number}
|
15675
|
+
*/
|
15676
|
+
proto.game.GamesBunchRequest.prototype.getHasFreeSpins = function() {
|
15677
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
15678
|
+
};
|
15679
|
+
|
15680
|
+
|
15681
|
+
/**
|
15682
|
+
* @param {number} value
|
15683
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15684
|
+
*/
|
15685
|
+
proto.game.GamesBunchRequest.prototype.setHasFreeSpins = function(value) {
|
15686
|
+
return jspb.Message.setField(this, 7, value);
|
15687
|
+
};
|
15688
|
+
|
15689
|
+
|
15690
|
+
/**
|
15691
|
+
* Clears the field making it undefined.
|
15692
|
+
* @return {!proto.game.GamesBunchRequest} returns this
|
15693
|
+
*/
|
15694
|
+
proto.game.GamesBunchRequest.prototype.clearHasFreeSpins = function() {
|
15695
|
+
return jspb.Message.setField(this, 7, undefined);
|
15696
|
+
};
|
15697
|
+
|
15698
|
+
|
15699
|
+
/**
|
15700
|
+
* Returns whether this field is set.
|
15701
|
+
* @return {boolean}
|
15702
|
+
*/
|
15703
|
+
proto.game.GamesBunchRequest.prototype.hasHasFreeSpins = function() {
|
15704
|
+
return jspb.Message.getField(this, 7) != null;
|
15705
|
+
};
|
15706
|
+
|
15707
|
+
|
15708
|
+
|
15709
|
+
|
15710
|
+
|
15253
15711
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15254
15712
|
/**
|
15255
15713
|
* Creates an object representation of this proto.
|