protobuf-platform 1.0.64 → 1.0.65
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 -4
- package/game/game_pb.js +295 -199
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -133,10 +133,6 @@ message CollectionGamesRequest {
|
|
133
133
|
string game_ids = 2;
|
134
134
|
optional string geo = 3;
|
135
135
|
}
|
136
|
-
message SearchGamesIntoCollectionsRequest {
|
137
|
-
string collection_slugs = 1;
|
138
|
-
optional string geo = 2;
|
139
|
-
}
|
140
136
|
|
141
137
|
//Tag CRUD
|
142
138
|
message TagItem {
|
@@ -270,4 +266,10 @@ message GameItemsResponse {
|
|
270
266
|
}
|
271
267
|
message GameStatusResponse {
|
272
268
|
string status = 1;
|
269
|
+
}
|
270
|
+
message SearchGamesIntoCollectionsRequest {
|
271
|
+
string collection_slugs = 1;
|
272
|
+
optional string geo = 2;
|
273
|
+
optional int32 limit = 3;
|
274
|
+
optional int32 offset = 4;
|
273
275
|
}
|
package/game/game_pb.js
CHANGED
@@ -490,27 +490,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
490
490
|
*/
|
491
491
|
proto.game.CollectionGamesRequest.displayName = 'proto.game.CollectionGamesRequest';
|
492
492
|
}
|
493
|
-
/**
|
494
|
-
* Generated by JsPbCodeGenerator.
|
495
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
496
|
-
* server response, or constructed directly in Javascript. The array is used
|
497
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
498
|
-
* If no data is provided, the constructed object will be empty, but still
|
499
|
-
* valid.
|
500
|
-
* @extends {jspb.Message}
|
501
|
-
* @constructor
|
502
|
-
*/
|
503
|
-
proto.game.SearchGamesIntoCollectionsRequest = function(opt_data) {
|
504
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
505
|
-
};
|
506
|
-
goog.inherits(proto.game.SearchGamesIntoCollectionsRequest, jspb.Message);
|
507
|
-
if (goog.DEBUG && !COMPILED) {
|
508
|
-
/**
|
509
|
-
* @public
|
510
|
-
* @override
|
511
|
-
*/
|
512
|
-
proto.game.SearchGamesIntoCollectionsRequest.displayName = 'proto.game.SearchGamesIntoCollectionsRequest';
|
513
|
-
}
|
514
493
|
/**
|
515
494
|
* Generated by JsPbCodeGenerator.
|
516
495
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -994,6 +973,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
994
973
|
*/
|
995
974
|
proto.game.GameStatusResponse.displayName = 'proto.game.GameStatusResponse';
|
996
975
|
}
|
976
|
+
/**
|
977
|
+
* Generated by JsPbCodeGenerator.
|
978
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
979
|
+
* server response, or constructed directly in Javascript. The array is used
|
980
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
981
|
+
* If no data is provided, the constructed object will be empty, but still
|
982
|
+
* valid.
|
983
|
+
* @extends {jspb.Message}
|
984
|
+
* @constructor
|
985
|
+
*/
|
986
|
+
proto.game.SearchGamesIntoCollectionsRequest = function(opt_data) {
|
987
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
988
|
+
};
|
989
|
+
goog.inherits(proto.game.SearchGamesIntoCollectionsRequest, jspb.Message);
|
990
|
+
if (goog.DEBUG && !COMPILED) {
|
991
|
+
/**
|
992
|
+
* @public
|
993
|
+
* @override
|
994
|
+
*/
|
995
|
+
proto.game.SearchGamesIntoCollectionsRequest.displayName = 'proto.game.SearchGamesIntoCollectionsRequest';
|
996
|
+
}
|
997
997
|
|
998
998
|
|
999
999
|
|
@@ -5476,184 +5476,6 @@ proto.game.CollectionGamesRequest.prototype.hasGeo = function() {
|
|
5476
5476
|
|
5477
5477
|
|
5478
5478
|
|
5479
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5480
|
-
/**
|
5481
|
-
* Creates an object representation of this proto.
|
5482
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
5483
|
-
* Optional fields that are not set will be set to undefined.
|
5484
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
5485
|
-
* For the list of reserved names please see:
|
5486
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
5487
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
5488
|
-
* JSPB instance for transitional soy proto support:
|
5489
|
-
* http://goto/soy-param-migration
|
5490
|
-
* @return {!Object}
|
5491
|
-
*/
|
5492
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.toObject = function(opt_includeInstance) {
|
5493
|
-
return proto.game.SearchGamesIntoCollectionsRequest.toObject(opt_includeInstance, this);
|
5494
|
-
};
|
5495
|
-
|
5496
|
-
|
5497
|
-
/**
|
5498
|
-
* Static version of the {@see toObject} method.
|
5499
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
5500
|
-
* the JSPB instance for transitional soy proto support:
|
5501
|
-
* http://goto/soy-param-migration
|
5502
|
-
* @param {!proto.game.SearchGamesIntoCollectionsRequest} msg The msg instance to transform.
|
5503
|
-
* @return {!Object}
|
5504
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5505
|
-
*/
|
5506
|
-
proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance, msg) {
|
5507
|
-
var f, obj = {
|
5508
|
-
collectionSlugs: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
5509
|
-
geo: jspb.Message.getFieldWithDefault(msg, 2, "")
|
5510
|
-
};
|
5511
|
-
|
5512
|
-
if (includeInstance) {
|
5513
|
-
obj.$jspbMessageInstance = msg;
|
5514
|
-
}
|
5515
|
-
return obj;
|
5516
|
-
};
|
5517
|
-
}
|
5518
|
-
|
5519
|
-
|
5520
|
-
/**
|
5521
|
-
* Deserializes binary data (in protobuf wire format).
|
5522
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
5523
|
-
* @return {!proto.game.SearchGamesIntoCollectionsRequest}
|
5524
|
-
*/
|
5525
|
-
proto.game.SearchGamesIntoCollectionsRequest.deserializeBinary = function(bytes) {
|
5526
|
-
var reader = new jspb.BinaryReader(bytes);
|
5527
|
-
var msg = new proto.game.SearchGamesIntoCollectionsRequest;
|
5528
|
-
return proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader(msg, reader);
|
5529
|
-
};
|
5530
|
-
|
5531
|
-
|
5532
|
-
/**
|
5533
|
-
* Deserializes binary data (in protobuf wire format) from the
|
5534
|
-
* given reader into the given message object.
|
5535
|
-
* @param {!proto.game.SearchGamesIntoCollectionsRequest} msg The message object to deserialize into.
|
5536
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
5537
|
-
* @return {!proto.game.SearchGamesIntoCollectionsRequest}
|
5538
|
-
*/
|
5539
|
-
proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
5540
|
-
while (reader.nextField()) {
|
5541
|
-
if (reader.isEndGroup()) {
|
5542
|
-
break;
|
5543
|
-
}
|
5544
|
-
var field = reader.getFieldNumber();
|
5545
|
-
switch (field) {
|
5546
|
-
case 1:
|
5547
|
-
var value = /** @type {string} */ (reader.readString());
|
5548
|
-
msg.setCollectionSlugs(value);
|
5549
|
-
break;
|
5550
|
-
case 2:
|
5551
|
-
var value = /** @type {string} */ (reader.readString());
|
5552
|
-
msg.setGeo(value);
|
5553
|
-
break;
|
5554
|
-
default:
|
5555
|
-
reader.skipField();
|
5556
|
-
break;
|
5557
|
-
}
|
5558
|
-
}
|
5559
|
-
return msg;
|
5560
|
-
};
|
5561
|
-
|
5562
|
-
|
5563
|
-
/**
|
5564
|
-
* Serializes the message to binary data (in protobuf wire format).
|
5565
|
-
* @return {!Uint8Array}
|
5566
|
-
*/
|
5567
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.serializeBinary = function() {
|
5568
|
-
var writer = new jspb.BinaryWriter();
|
5569
|
-
proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter(this, writer);
|
5570
|
-
return writer.getResultBuffer();
|
5571
|
-
};
|
5572
|
-
|
5573
|
-
|
5574
|
-
/**
|
5575
|
-
* Serializes the given message to binary data (in protobuf wire
|
5576
|
-
* format), writing to the given BinaryWriter.
|
5577
|
-
* @param {!proto.game.SearchGamesIntoCollectionsRequest} message
|
5578
|
-
* @param {!jspb.BinaryWriter} writer
|
5579
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5580
|
-
*/
|
5581
|
-
proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(message, writer) {
|
5582
|
-
var f = undefined;
|
5583
|
-
f = message.getCollectionSlugs();
|
5584
|
-
if (f.length > 0) {
|
5585
|
-
writer.writeString(
|
5586
|
-
1,
|
5587
|
-
f
|
5588
|
-
);
|
5589
|
-
}
|
5590
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
5591
|
-
if (f != null) {
|
5592
|
-
writer.writeString(
|
5593
|
-
2,
|
5594
|
-
f
|
5595
|
-
);
|
5596
|
-
}
|
5597
|
-
};
|
5598
|
-
|
5599
|
-
|
5600
|
-
/**
|
5601
|
-
* optional string collection_slugs = 1;
|
5602
|
-
* @return {string}
|
5603
|
-
*/
|
5604
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.getCollectionSlugs = function() {
|
5605
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
5606
|
-
};
|
5607
|
-
|
5608
|
-
|
5609
|
-
/**
|
5610
|
-
* @param {string} value
|
5611
|
-
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
5612
|
-
*/
|
5613
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.setCollectionSlugs = function(value) {
|
5614
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
5615
|
-
};
|
5616
|
-
|
5617
|
-
|
5618
|
-
/**
|
5619
|
-
* optional string geo = 2;
|
5620
|
-
* @return {string}
|
5621
|
-
*/
|
5622
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.getGeo = function() {
|
5623
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5624
|
-
};
|
5625
|
-
|
5626
|
-
|
5627
|
-
/**
|
5628
|
-
* @param {string} value
|
5629
|
-
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
5630
|
-
*/
|
5631
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.setGeo = function(value) {
|
5632
|
-
return jspb.Message.setField(this, 2, value);
|
5633
|
-
};
|
5634
|
-
|
5635
|
-
|
5636
|
-
/**
|
5637
|
-
* Clears the field making it undefined.
|
5638
|
-
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
5639
|
-
*/
|
5640
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearGeo = function() {
|
5641
|
-
return jspb.Message.setField(this, 2, undefined);
|
5642
|
-
};
|
5643
|
-
|
5644
|
-
|
5645
|
-
/**
|
5646
|
-
* Returns whether this field is set.
|
5647
|
-
* @return {boolean}
|
5648
|
-
*/
|
5649
|
-
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGeo = function() {
|
5650
|
-
return jspb.Message.getField(this, 2) != null;
|
5651
|
-
};
|
5652
|
-
|
5653
|
-
|
5654
|
-
|
5655
|
-
|
5656
|
-
|
5657
5479
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5658
5480
|
/**
|
5659
5481
|
* Creates an object representation of this proto.
|
@@ -11458,4 +11280,278 @@ proto.game.GameStatusResponse.prototype.setStatus = function(value) {
|
|
11458
11280
|
};
|
11459
11281
|
|
11460
11282
|
|
11283
|
+
|
11284
|
+
|
11285
|
+
|
11286
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
11287
|
+
/**
|
11288
|
+
* Creates an object representation of this proto.
|
11289
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
11290
|
+
* Optional fields that are not set will be set to undefined.
|
11291
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
11292
|
+
* For the list of reserved names please see:
|
11293
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
11294
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
11295
|
+
* JSPB instance for transitional soy proto support:
|
11296
|
+
* http://goto/soy-param-migration
|
11297
|
+
* @return {!Object}
|
11298
|
+
*/
|
11299
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.toObject = function(opt_includeInstance) {
|
11300
|
+
return proto.game.SearchGamesIntoCollectionsRequest.toObject(opt_includeInstance, this);
|
11301
|
+
};
|
11302
|
+
|
11303
|
+
|
11304
|
+
/**
|
11305
|
+
* Static version of the {@see toObject} method.
|
11306
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
11307
|
+
* the JSPB instance for transitional soy proto support:
|
11308
|
+
* http://goto/soy-param-migration
|
11309
|
+
* @param {!proto.game.SearchGamesIntoCollectionsRequest} msg The msg instance to transform.
|
11310
|
+
* @return {!Object}
|
11311
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11312
|
+
*/
|
11313
|
+
proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance, msg) {
|
11314
|
+
var f, obj = {
|
11315
|
+
collectionSlugs: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
11316
|
+
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
11317
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
11318
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
11319
|
+
};
|
11320
|
+
|
11321
|
+
if (includeInstance) {
|
11322
|
+
obj.$jspbMessageInstance = msg;
|
11323
|
+
}
|
11324
|
+
return obj;
|
11325
|
+
};
|
11326
|
+
}
|
11327
|
+
|
11328
|
+
|
11329
|
+
/**
|
11330
|
+
* Deserializes binary data (in protobuf wire format).
|
11331
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
11332
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest}
|
11333
|
+
*/
|
11334
|
+
proto.game.SearchGamesIntoCollectionsRequest.deserializeBinary = function(bytes) {
|
11335
|
+
var reader = new jspb.BinaryReader(bytes);
|
11336
|
+
var msg = new proto.game.SearchGamesIntoCollectionsRequest;
|
11337
|
+
return proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader(msg, reader);
|
11338
|
+
};
|
11339
|
+
|
11340
|
+
|
11341
|
+
/**
|
11342
|
+
* Deserializes binary data (in protobuf wire format) from the
|
11343
|
+
* given reader into the given message object.
|
11344
|
+
* @param {!proto.game.SearchGamesIntoCollectionsRequest} msg The message object to deserialize into.
|
11345
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
11346
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest}
|
11347
|
+
*/
|
11348
|
+
proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
11349
|
+
while (reader.nextField()) {
|
11350
|
+
if (reader.isEndGroup()) {
|
11351
|
+
break;
|
11352
|
+
}
|
11353
|
+
var field = reader.getFieldNumber();
|
11354
|
+
switch (field) {
|
11355
|
+
case 1:
|
11356
|
+
var value = /** @type {string} */ (reader.readString());
|
11357
|
+
msg.setCollectionSlugs(value);
|
11358
|
+
break;
|
11359
|
+
case 2:
|
11360
|
+
var value = /** @type {string} */ (reader.readString());
|
11361
|
+
msg.setGeo(value);
|
11362
|
+
break;
|
11363
|
+
case 3:
|
11364
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11365
|
+
msg.setLimit(value);
|
11366
|
+
break;
|
11367
|
+
case 4:
|
11368
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11369
|
+
msg.setOffset(value);
|
11370
|
+
break;
|
11371
|
+
default:
|
11372
|
+
reader.skipField();
|
11373
|
+
break;
|
11374
|
+
}
|
11375
|
+
}
|
11376
|
+
return msg;
|
11377
|
+
};
|
11378
|
+
|
11379
|
+
|
11380
|
+
/**
|
11381
|
+
* Serializes the message to binary data (in protobuf wire format).
|
11382
|
+
* @return {!Uint8Array}
|
11383
|
+
*/
|
11384
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.serializeBinary = function() {
|
11385
|
+
var writer = new jspb.BinaryWriter();
|
11386
|
+
proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter(this, writer);
|
11387
|
+
return writer.getResultBuffer();
|
11388
|
+
};
|
11389
|
+
|
11390
|
+
|
11391
|
+
/**
|
11392
|
+
* Serializes the given message to binary data (in protobuf wire
|
11393
|
+
* format), writing to the given BinaryWriter.
|
11394
|
+
* @param {!proto.game.SearchGamesIntoCollectionsRequest} message
|
11395
|
+
* @param {!jspb.BinaryWriter} writer
|
11396
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11397
|
+
*/
|
11398
|
+
proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(message, writer) {
|
11399
|
+
var f = undefined;
|
11400
|
+
f = message.getCollectionSlugs();
|
11401
|
+
if (f.length > 0) {
|
11402
|
+
writer.writeString(
|
11403
|
+
1,
|
11404
|
+
f
|
11405
|
+
);
|
11406
|
+
}
|
11407
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
11408
|
+
if (f != null) {
|
11409
|
+
writer.writeString(
|
11410
|
+
2,
|
11411
|
+
f
|
11412
|
+
);
|
11413
|
+
}
|
11414
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
11415
|
+
if (f != null) {
|
11416
|
+
writer.writeInt32(
|
11417
|
+
3,
|
11418
|
+
f
|
11419
|
+
);
|
11420
|
+
}
|
11421
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
11422
|
+
if (f != null) {
|
11423
|
+
writer.writeInt32(
|
11424
|
+
4,
|
11425
|
+
f
|
11426
|
+
);
|
11427
|
+
}
|
11428
|
+
};
|
11429
|
+
|
11430
|
+
|
11431
|
+
/**
|
11432
|
+
* optional string collection_slugs = 1;
|
11433
|
+
* @return {string}
|
11434
|
+
*/
|
11435
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getCollectionSlugs = function() {
|
11436
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
11437
|
+
};
|
11438
|
+
|
11439
|
+
|
11440
|
+
/**
|
11441
|
+
* @param {string} value
|
11442
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11443
|
+
*/
|
11444
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setCollectionSlugs = function(value) {
|
11445
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
11446
|
+
};
|
11447
|
+
|
11448
|
+
|
11449
|
+
/**
|
11450
|
+
* optional string geo = 2;
|
11451
|
+
* @return {string}
|
11452
|
+
*/
|
11453
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getGeo = function() {
|
11454
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
11455
|
+
};
|
11456
|
+
|
11457
|
+
|
11458
|
+
/**
|
11459
|
+
* @param {string} value
|
11460
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11461
|
+
*/
|
11462
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setGeo = function(value) {
|
11463
|
+
return jspb.Message.setField(this, 2, value);
|
11464
|
+
};
|
11465
|
+
|
11466
|
+
|
11467
|
+
/**
|
11468
|
+
* Clears the field making it undefined.
|
11469
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11470
|
+
*/
|
11471
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearGeo = function() {
|
11472
|
+
return jspb.Message.setField(this, 2, undefined);
|
11473
|
+
};
|
11474
|
+
|
11475
|
+
|
11476
|
+
/**
|
11477
|
+
* Returns whether this field is set.
|
11478
|
+
* @return {boolean}
|
11479
|
+
*/
|
11480
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGeo = function() {
|
11481
|
+
return jspb.Message.getField(this, 2) != null;
|
11482
|
+
};
|
11483
|
+
|
11484
|
+
|
11485
|
+
/**
|
11486
|
+
* optional int32 limit = 3;
|
11487
|
+
* @return {number}
|
11488
|
+
*/
|
11489
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getLimit = function() {
|
11490
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
11491
|
+
};
|
11492
|
+
|
11493
|
+
|
11494
|
+
/**
|
11495
|
+
* @param {number} value
|
11496
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11497
|
+
*/
|
11498
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setLimit = function(value) {
|
11499
|
+
return jspb.Message.setField(this, 3, value);
|
11500
|
+
};
|
11501
|
+
|
11502
|
+
|
11503
|
+
/**
|
11504
|
+
* Clears the field making it undefined.
|
11505
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11506
|
+
*/
|
11507
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearLimit = function() {
|
11508
|
+
return jspb.Message.setField(this, 3, undefined);
|
11509
|
+
};
|
11510
|
+
|
11511
|
+
|
11512
|
+
/**
|
11513
|
+
* Returns whether this field is set.
|
11514
|
+
* @return {boolean}
|
11515
|
+
*/
|
11516
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasLimit = function() {
|
11517
|
+
return jspb.Message.getField(this, 3) != null;
|
11518
|
+
};
|
11519
|
+
|
11520
|
+
|
11521
|
+
/**
|
11522
|
+
* optional int32 offset = 4;
|
11523
|
+
* @return {number}
|
11524
|
+
*/
|
11525
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getOffset = function() {
|
11526
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
11527
|
+
};
|
11528
|
+
|
11529
|
+
|
11530
|
+
/**
|
11531
|
+
* @param {number} value
|
11532
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11533
|
+
*/
|
11534
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setOffset = function(value) {
|
11535
|
+
return jspb.Message.setField(this, 4, value);
|
11536
|
+
};
|
11537
|
+
|
11538
|
+
|
11539
|
+
/**
|
11540
|
+
* Clears the field making it undefined.
|
11541
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
11542
|
+
*/
|
11543
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearOffset = function() {
|
11544
|
+
return jspb.Message.setField(this, 4, undefined);
|
11545
|
+
};
|
11546
|
+
|
11547
|
+
|
11548
|
+
/**
|
11549
|
+
* Returns whether this field is set.
|
11550
|
+
* @return {boolean}
|
11551
|
+
*/
|
11552
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasOffset = function() {
|
11553
|
+
return jspb.Message.getField(this, 4) != null;
|
11554
|
+
};
|
11555
|
+
|
11556
|
+
|
11461
11557
|
goog.object.extend(exports, proto.game);
|