protobuf-platform 1.2.392 → 1.2.394
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/bonus/bonus.proto +20 -0
- package/bonus/bonus_grpc_pb.js +34 -0
- package/bonus/bonus_pb.js +946 -0
- package/game/game.proto +55 -0
- package/game/game_grpc_pb.js +100 -0
- package/game/game_pb.js +2646 -0
- package/notification/notification.proto +24 -0
- package/notification/notification_grpc_pb.js +22 -0
- package/notification/notification_pb.js +1172 -22
- package/package.json +1 -1
- package/payment/payment.proto +1 -0
- package/payment/payment_pb.js +51 -2
package/game/game_pb.js
CHANGED
|
@@ -54,6 +54,8 @@ goog.exportSymbol('proto.game.CollectionRequest', null, global);
|
|
|
54
54
|
goog.exportSymbol('proto.game.CollectionRequest.RequestCase', null, global);
|
|
55
55
|
goog.exportSymbol('proto.game.CollectionResponse', null, global);
|
|
56
56
|
goog.exportSymbol('proto.game.CollectionSearchRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.game.CollectionSnapshotItem', null, global);
|
|
58
|
+
goog.exportSymbol('proto.game.CollectionSnapshotItemsResponse', null, global);
|
|
57
59
|
goog.exportSymbol('proto.game.CollectionStatusResponse', null, global);
|
|
58
60
|
goog.exportSymbol('proto.game.DashboardRequest', null, global);
|
|
59
61
|
goog.exportSymbol('proto.game.DashboardResponse', null, global);
|
|
@@ -82,6 +84,8 @@ goog.exportSymbol('proto.game.GameRequest', null, global);
|
|
|
82
84
|
goog.exportSymbol('proto.game.GameRequest.RequestCase', null, global);
|
|
83
85
|
goog.exportSymbol('proto.game.GameResponse', null, global);
|
|
84
86
|
goog.exportSymbol('proto.game.GameSearchRequest', null, global);
|
|
87
|
+
goog.exportSymbol('proto.game.GameSnapshotItem', null, global);
|
|
88
|
+
goog.exportSymbol('proto.game.GameSnapshotItemsResponse', null, global);
|
|
85
89
|
goog.exportSymbol('proto.game.GameStatusResponse', null, global);
|
|
86
90
|
goog.exportSymbol('proto.game.GamesBunchRequest', null, global);
|
|
87
91
|
goog.exportSymbol('proto.game.GamesIds', null, global);
|
|
@@ -93,11 +97,14 @@ goog.exportSymbol('proto.game.GeoRestrictionStatusResponse', null, global);
|
|
|
93
97
|
goog.exportSymbol('proto.game.GetCashBackListRequest', null, global);
|
|
94
98
|
goog.exportSymbol('proto.game.GetCategoryRequest', null, global);
|
|
95
99
|
goog.exportSymbol('proto.game.GetCollectionRequest', null, global);
|
|
100
|
+
goog.exportSymbol('proto.game.GetCollectionSnapshotsByIdsRequest', null, global);
|
|
96
101
|
goog.exportSymbol('proto.game.GetFileRequest', null, global);
|
|
97
102
|
goog.exportSymbol('proto.game.GetGameConfigCheckRequest', null, global);
|
|
98
103
|
goog.exportSymbol('proto.game.GetGameRequest', null, global);
|
|
104
|
+
goog.exportSymbol('proto.game.GetGameSnapshotsByIdsRequest', null, global);
|
|
99
105
|
goog.exportSymbol('proto.game.GetProviderRequest', null, global);
|
|
100
106
|
goog.exportSymbol('proto.game.GetTagRequest', null, global);
|
|
107
|
+
goog.exportSymbol('proto.game.GetTagSnapshotsByIdsRequest', null, global);
|
|
101
108
|
goog.exportSymbol('proto.game.GetWagerListRequest', null, global);
|
|
102
109
|
goog.exportSymbol('proto.game.InitDemoGameSessionRequest', null, global);
|
|
103
110
|
goog.exportSymbol('proto.game.InitGameSessionRequest', null, global);
|
|
@@ -159,6 +166,8 @@ goog.exportSymbol('proto.game.TagRequest', null, global);
|
|
|
159
166
|
goog.exportSymbol('proto.game.TagRequest.RequestCase', null, global);
|
|
160
167
|
goog.exportSymbol('proto.game.TagResponse', null, global);
|
|
161
168
|
goog.exportSymbol('proto.game.TagSearchRequest', null, global);
|
|
169
|
+
goog.exportSymbol('proto.game.TagSnapshotItem', null, global);
|
|
170
|
+
goog.exportSymbol('proto.game.TagSnapshotItemsResponse', null, global);
|
|
162
171
|
goog.exportSymbol('proto.game.TagStatusResponse', null, global);
|
|
163
172
|
goog.exportSymbol('proto.game.TournamentGamesPreviewItem', null, global);
|
|
164
173
|
goog.exportSymbol('proto.game.TournamentGamesPreviewResponse', null, global);
|
|
@@ -3305,6 +3314,195 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3305
3314
|
*/
|
|
3306
3315
|
proto.game.GeoRestrictionResponse.displayName = 'proto.game.GeoRestrictionResponse';
|
|
3307
3316
|
}
|
|
3317
|
+
/**
|
|
3318
|
+
* Generated by JsPbCodeGenerator.
|
|
3319
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3320
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3321
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3322
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3323
|
+
* valid.
|
|
3324
|
+
* @extends {jspb.Message}
|
|
3325
|
+
* @constructor
|
|
3326
|
+
*/
|
|
3327
|
+
proto.game.GetGameSnapshotsByIdsRequest = function(opt_data) {
|
|
3328
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GetGameSnapshotsByIdsRequest.repeatedFields_, null);
|
|
3329
|
+
};
|
|
3330
|
+
goog.inherits(proto.game.GetGameSnapshotsByIdsRequest, jspb.Message);
|
|
3331
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3332
|
+
/**
|
|
3333
|
+
* @public
|
|
3334
|
+
* @override
|
|
3335
|
+
*/
|
|
3336
|
+
proto.game.GetGameSnapshotsByIdsRequest.displayName = 'proto.game.GetGameSnapshotsByIdsRequest';
|
|
3337
|
+
}
|
|
3338
|
+
/**
|
|
3339
|
+
* Generated by JsPbCodeGenerator.
|
|
3340
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3341
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3342
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3343
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3344
|
+
* valid.
|
|
3345
|
+
* @extends {jspb.Message}
|
|
3346
|
+
* @constructor
|
|
3347
|
+
*/
|
|
3348
|
+
proto.game.GameSnapshotItem = function(opt_data) {
|
|
3349
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3350
|
+
};
|
|
3351
|
+
goog.inherits(proto.game.GameSnapshotItem, jspb.Message);
|
|
3352
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3353
|
+
/**
|
|
3354
|
+
* @public
|
|
3355
|
+
* @override
|
|
3356
|
+
*/
|
|
3357
|
+
proto.game.GameSnapshotItem.displayName = 'proto.game.GameSnapshotItem';
|
|
3358
|
+
}
|
|
3359
|
+
/**
|
|
3360
|
+
* Generated by JsPbCodeGenerator.
|
|
3361
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3362
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3363
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3364
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3365
|
+
* valid.
|
|
3366
|
+
* @extends {jspb.Message}
|
|
3367
|
+
* @constructor
|
|
3368
|
+
*/
|
|
3369
|
+
proto.game.GameSnapshotItemsResponse = function(opt_data) {
|
|
3370
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GameSnapshotItemsResponse.repeatedFields_, null);
|
|
3371
|
+
};
|
|
3372
|
+
goog.inherits(proto.game.GameSnapshotItemsResponse, jspb.Message);
|
|
3373
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3374
|
+
/**
|
|
3375
|
+
* @public
|
|
3376
|
+
* @override
|
|
3377
|
+
*/
|
|
3378
|
+
proto.game.GameSnapshotItemsResponse.displayName = 'proto.game.GameSnapshotItemsResponse';
|
|
3379
|
+
}
|
|
3380
|
+
/**
|
|
3381
|
+
* Generated by JsPbCodeGenerator.
|
|
3382
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3383
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3384
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3385
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3386
|
+
* valid.
|
|
3387
|
+
* @extends {jspb.Message}
|
|
3388
|
+
* @constructor
|
|
3389
|
+
*/
|
|
3390
|
+
proto.game.GetCollectionSnapshotsByIdsRequest = function(opt_data) {
|
|
3391
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GetCollectionSnapshotsByIdsRequest.repeatedFields_, null);
|
|
3392
|
+
};
|
|
3393
|
+
goog.inherits(proto.game.GetCollectionSnapshotsByIdsRequest, jspb.Message);
|
|
3394
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3395
|
+
/**
|
|
3396
|
+
* @public
|
|
3397
|
+
* @override
|
|
3398
|
+
*/
|
|
3399
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.displayName = 'proto.game.GetCollectionSnapshotsByIdsRequest';
|
|
3400
|
+
}
|
|
3401
|
+
/**
|
|
3402
|
+
* Generated by JsPbCodeGenerator.
|
|
3403
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3404
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3405
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3406
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3407
|
+
* valid.
|
|
3408
|
+
* @extends {jspb.Message}
|
|
3409
|
+
* @constructor
|
|
3410
|
+
*/
|
|
3411
|
+
proto.game.CollectionSnapshotItem = function(opt_data) {
|
|
3412
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3413
|
+
};
|
|
3414
|
+
goog.inherits(proto.game.CollectionSnapshotItem, jspb.Message);
|
|
3415
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3416
|
+
/**
|
|
3417
|
+
* @public
|
|
3418
|
+
* @override
|
|
3419
|
+
*/
|
|
3420
|
+
proto.game.CollectionSnapshotItem.displayName = 'proto.game.CollectionSnapshotItem';
|
|
3421
|
+
}
|
|
3422
|
+
/**
|
|
3423
|
+
* Generated by JsPbCodeGenerator.
|
|
3424
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3425
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3426
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3427
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3428
|
+
* valid.
|
|
3429
|
+
* @extends {jspb.Message}
|
|
3430
|
+
* @constructor
|
|
3431
|
+
*/
|
|
3432
|
+
proto.game.CollectionSnapshotItemsResponse = function(opt_data) {
|
|
3433
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CollectionSnapshotItemsResponse.repeatedFields_, null);
|
|
3434
|
+
};
|
|
3435
|
+
goog.inherits(proto.game.CollectionSnapshotItemsResponse, jspb.Message);
|
|
3436
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3437
|
+
/**
|
|
3438
|
+
* @public
|
|
3439
|
+
* @override
|
|
3440
|
+
*/
|
|
3441
|
+
proto.game.CollectionSnapshotItemsResponse.displayName = 'proto.game.CollectionSnapshotItemsResponse';
|
|
3442
|
+
}
|
|
3443
|
+
/**
|
|
3444
|
+
* Generated by JsPbCodeGenerator.
|
|
3445
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3446
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3447
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3448
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3449
|
+
* valid.
|
|
3450
|
+
* @extends {jspb.Message}
|
|
3451
|
+
* @constructor
|
|
3452
|
+
*/
|
|
3453
|
+
proto.game.GetTagSnapshotsByIdsRequest = function(opt_data) {
|
|
3454
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GetTagSnapshotsByIdsRequest.repeatedFields_, null);
|
|
3455
|
+
};
|
|
3456
|
+
goog.inherits(proto.game.GetTagSnapshotsByIdsRequest, jspb.Message);
|
|
3457
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3458
|
+
/**
|
|
3459
|
+
* @public
|
|
3460
|
+
* @override
|
|
3461
|
+
*/
|
|
3462
|
+
proto.game.GetTagSnapshotsByIdsRequest.displayName = 'proto.game.GetTagSnapshotsByIdsRequest';
|
|
3463
|
+
}
|
|
3464
|
+
/**
|
|
3465
|
+
* Generated by JsPbCodeGenerator.
|
|
3466
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3467
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3468
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3469
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3470
|
+
* valid.
|
|
3471
|
+
* @extends {jspb.Message}
|
|
3472
|
+
* @constructor
|
|
3473
|
+
*/
|
|
3474
|
+
proto.game.TagSnapshotItem = function(opt_data) {
|
|
3475
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3476
|
+
};
|
|
3477
|
+
goog.inherits(proto.game.TagSnapshotItem, jspb.Message);
|
|
3478
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3479
|
+
/**
|
|
3480
|
+
* @public
|
|
3481
|
+
* @override
|
|
3482
|
+
*/
|
|
3483
|
+
proto.game.TagSnapshotItem.displayName = 'proto.game.TagSnapshotItem';
|
|
3484
|
+
}
|
|
3485
|
+
/**
|
|
3486
|
+
* Generated by JsPbCodeGenerator.
|
|
3487
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3488
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3489
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3490
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3491
|
+
* valid.
|
|
3492
|
+
* @extends {jspb.Message}
|
|
3493
|
+
* @constructor
|
|
3494
|
+
*/
|
|
3495
|
+
proto.game.TagSnapshotItemsResponse = function(opt_data) {
|
|
3496
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.TagSnapshotItemsResponse.repeatedFields_, null);
|
|
3497
|
+
};
|
|
3498
|
+
goog.inherits(proto.game.TagSnapshotItemsResponse, jspb.Message);
|
|
3499
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3500
|
+
/**
|
|
3501
|
+
* @public
|
|
3502
|
+
* @override
|
|
3503
|
+
*/
|
|
3504
|
+
proto.game.TagSnapshotItemsResponse.displayName = 'proto.game.TagSnapshotItemsResponse';
|
|
3505
|
+
}
|
|
3308
3506
|
|
|
3309
3507
|
|
|
3310
3508
|
|
|
@@ -44025,6 +44223,2454 @@ proto.game.GeoRestrictionResponse.prototype.clearGeoList = function() {
|
|
|
44025
44223
|
};
|
|
44026
44224
|
|
|
44027
44225
|
|
|
44226
|
+
|
|
44227
|
+
/**
|
|
44228
|
+
* List of repeated fields within this message type.
|
|
44229
|
+
* @private {!Array<number>}
|
|
44230
|
+
* @const
|
|
44231
|
+
*/
|
|
44232
|
+
proto.game.GetGameSnapshotsByIdsRequest.repeatedFields_ = [1];
|
|
44233
|
+
|
|
44234
|
+
|
|
44235
|
+
|
|
44236
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44237
|
+
/**
|
|
44238
|
+
* Creates an object representation of this proto.
|
|
44239
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44240
|
+
* Optional fields that are not set will be set to undefined.
|
|
44241
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44242
|
+
* For the list of reserved names please see:
|
|
44243
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44244
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44245
|
+
* JSPB instance for transitional soy proto support:
|
|
44246
|
+
* http://goto/soy-param-migration
|
|
44247
|
+
* @return {!Object}
|
|
44248
|
+
*/
|
|
44249
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
44250
|
+
return proto.game.GetGameSnapshotsByIdsRequest.toObject(opt_includeInstance, this);
|
|
44251
|
+
};
|
|
44252
|
+
|
|
44253
|
+
|
|
44254
|
+
/**
|
|
44255
|
+
* Static version of the {@see toObject} method.
|
|
44256
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44257
|
+
* the JSPB instance for transitional soy proto support:
|
|
44258
|
+
* http://goto/soy-param-migration
|
|
44259
|
+
* @param {!proto.game.GetGameSnapshotsByIdsRequest} msg The msg instance to transform.
|
|
44260
|
+
* @return {!Object}
|
|
44261
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44262
|
+
*/
|
|
44263
|
+
proto.game.GetGameSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
44264
|
+
var f, obj = {
|
|
44265
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
44266
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
44267
|
+
};
|
|
44268
|
+
|
|
44269
|
+
if (includeInstance) {
|
|
44270
|
+
obj.$jspbMessageInstance = msg;
|
|
44271
|
+
}
|
|
44272
|
+
return obj;
|
|
44273
|
+
};
|
|
44274
|
+
}
|
|
44275
|
+
|
|
44276
|
+
|
|
44277
|
+
/**
|
|
44278
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44279
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44280
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest}
|
|
44281
|
+
*/
|
|
44282
|
+
proto.game.GetGameSnapshotsByIdsRequest.deserializeBinary = function(bytes) {
|
|
44283
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44284
|
+
var msg = new proto.game.GetGameSnapshotsByIdsRequest;
|
|
44285
|
+
return proto.game.GetGameSnapshotsByIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
44286
|
+
};
|
|
44287
|
+
|
|
44288
|
+
|
|
44289
|
+
/**
|
|
44290
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44291
|
+
* given reader into the given message object.
|
|
44292
|
+
* @param {!proto.game.GetGameSnapshotsByIdsRequest} msg The message object to deserialize into.
|
|
44293
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44294
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest}
|
|
44295
|
+
*/
|
|
44296
|
+
proto.game.GetGameSnapshotsByIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
44297
|
+
while (reader.nextField()) {
|
|
44298
|
+
if (reader.isEndGroup()) {
|
|
44299
|
+
break;
|
|
44300
|
+
}
|
|
44301
|
+
var field = reader.getFieldNumber();
|
|
44302
|
+
switch (field) {
|
|
44303
|
+
case 1:
|
|
44304
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
44305
|
+
for (var i = 0; i < values.length; i++) {
|
|
44306
|
+
msg.addIds(values[i]);
|
|
44307
|
+
}
|
|
44308
|
+
break;
|
|
44309
|
+
case 2:
|
|
44310
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44311
|
+
msg.setLocale(value);
|
|
44312
|
+
break;
|
|
44313
|
+
default:
|
|
44314
|
+
reader.skipField();
|
|
44315
|
+
break;
|
|
44316
|
+
}
|
|
44317
|
+
}
|
|
44318
|
+
return msg;
|
|
44319
|
+
};
|
|
44320
|
+
|
|
44321
|
+
|
|
44322
|
+
/**
|
|
44323
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44324
|
+
* @return {!Uint8Array}
|
|
44325
|
+
*/
|
|
44326
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.serializeBinary = function() {
|
|
44327
|
+
var writer = new jspb.BinaryWriter();
|
|
44328
|
+
proto.game.GetGameSnapshotsByIdsRequest.serializeBinaryToWriter(this, writer);
|
|
44329
|
+
return writer.getResultBuffer();
|
|
44330
|
+
};
|
|
44331
|
+
|
|
44332
|
+
|
|
44333
|
+
/**
|
|
44334
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44335
|
+
* format), writing to the given BinaryWriter.
|
|
44336
|
+
* @param {!proto.game.GetGameSnapshotsByIdsRequest} message
|
|
44337
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44338
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44339
|
+
*/
|
|
44340
|
+
proto.game.GetGameSnapshotsByIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44341
|
+
var f = undefined;
|
|
44342
|
+
f = message.getIdsList();
|
|
44343
|
+
if (f.length > 0) {
|
|
44344
|
+
writer.writePackedInt32(
|
|
44345
|
+
1,
|
|
44346
|
+
f
|
|
44347
|
+
);
|
|
44348
|
+
}
|
|
44349
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
44350
|
+
if (f != null) {
|
|
44351
|
+
writer.writeString(
|
|
44352
|
+
2,
|
|
44353
|
+
f
|
|
44354
|
+
);
|
|
44355
|
+
}
|
|
44356
|
+
};
|
|
44357
|
+
|
|
44358
|
+
|
|
44359
|
+
/**
|
|
44360
|
+
* repeated int32 ids = 1;
|
|
44361
|
+
* @return {!Array<number>}
|
|
44362
|
+
*/
|
|
44363
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.getIdsList = function() {
|
|
44364
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
44365
|
+
};
|
|
44366
|
+
|
|
44367
|
+
|
|
44368
|
+
/**
|
|
44369
|
+
* @param {!Array<number>} value
|
|
44370
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
|
|
44371
|
+
*/
|
|
44372
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.setIdsList = function(value) {
|
|
44373
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
44374
|
+
};
|
|
44375
|
+
|
|
44376
|
+
|
|
44377
|
+
/**
|
|
44378
|
+
* @param {number} value
|
|
44379
|
+
* @param {number=} opt_index
|
|
44380
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
|
|
44381
|
+
*/
|
|
44382
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.addIds = function(value, opt_index) {
|
|
44383
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
44384
|
+
};
|
|
44385
|
+
|
|
44386
|
+
|
|
44387
|
+
/**
|
|
44388
|
+
* Clears the list making it empty but non-null.
|
|
44389
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
|
|
44390
|
+
*/
|
|
44391
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.clearIdsList = function() {
|
|
44392
|
+
return this.setIdsList([]);
|
|
44393
|
+
};
|
|
44394
|
+
|
|
44395
|
+
|
|
44396
|
+
/**
|
|
44397
|
+
* optional string locale = 2;
|
|
44398
|
+
* @return {string}
|
|
44399
|
+
*/
|
|
44400
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.getLocale = function() {
|
|
44401
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
44402
|
+
};
|
|
44403
|
+
|
|
44404
|
+
|
|
44405
|
+
/**
|
|
44406
|
+
* @param {string} value
|
|
44407
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
|
|
44408
|
+
*/
|
|
44409
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.setLocale = function(value) {
|
|
44410
|
+
return jspb.Message.setField(this, 2, value);
|
|
44411
|
+
};
|
|
44412
|
+
|
|
44413
|
+
|
|
44414
|
+
/**
|
|
44415
|
+
* Clears the field making it undefined.
|
|
44416
|
+
* @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
|
|
44417
|
+
*/
|
|
44418
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.clearLocale = function() {
|
|
44419
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
44420
|
+
};
|
|
44421
|
+
|
|
44422
|
+
|
|
44423
|
+
/**
|
|
44424
|
+
* Returns whether this field is set.
|
|
44425
|
+
* @return {boolean}
|
|
44426
|
+
*/
|
|
44427
|
+
proto.game.GetGameSnapshotsByIdsRequest.prototype.hasLocale = function() {
|
|
44428
|
+
return jspb.Message.getField(this, 2) != null;
|
|
44429
|
+
};
|
|
44430
|
+
|
|
44431
|
+
|
|
44432
|
+
|
|
44433
|
+
|
|
44434
|
+
|
|
44435
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44436
|
+
/**
|
|
44437
|
+
* Creates an object representation of this proto.
|
|
44438
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44439
|
+
* Optional fields that are not set will be set to undefined.
|
|
44440
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44441
|
+
* For the list of reserved names please see:
|
|
44442
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44443
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44444
|
+
* JSPB instance for transitional soy proto support:
|
|
44445
|
+
* http://goto/soy-param-migration
|
|
44446
|
+
* @return {!Object}
|
|
44447
|
+
*/
|
|
44448
|
+
proto.game.GameSnapshotItem.prototype.toObject = function(opt_includeInstance) {
|
|
44449
|
+
return proto.game.GameSnapshotItem.toObject(opt_includeInstance, this);
|
|
44450
|
+
};
|
|
44451
|
+
|
|
44452
|
+
|
|
44453
|
+
/**
|
|
44454
|
+
* Static version of the {@see toObject} method.
|
|
44455
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44456
|
+
* the JSPB instance for transitional soy proto support:
|
|
44457
|
+
* http://goto/soy-param-migration
|
|
44458
|
+
* @param {!proto.game.GameSnapshotItem} msg The msg instance to transform.
|
|
44459
|
+
* @return {!Object}
|
|
44460
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44461
|
+
*/
|
|
44462
|
+
proto.game.GameSnapshotItem.toObject = function(includeInstance, msg) {
|
|
44463
|
+
var f, obj = {
|
|
44464
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
44465
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
44466
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
44467
|
+
image: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
44468
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
44469
|
+
providerTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
44470
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
44471
|
+
status: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
44472
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
44473
|
+
};
|
|
44474
|
+
|
|
44475
|
+
if (includeInstance) {
|
|
44476
|
+
obj.$jspbMessageInstance = msg;
|
|
44477
|
+
}
|
|
44478
|
+
return obj;
|
|
44479
|
+
};
|
|
44480
|
+
}
|
|
44481
|
+
|
|
44482
|
+
|
|
44483
|
+
/**
|
|
44484
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44485
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44486
|
+
* @return {!proto.game.GameSnapshotItem}
|
|
44487
|
+
*/
|
|
44488
|
+
proto.game.GameSnapshotItem.deserializeBinary = function(bytes) {
|
|
44489
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44490
|
+
var msg = new proto.game.GameSnapshotItem;
|
|
44491
|
+
return proto.game.GameSnapshotItem.deserializeBinaryFromReader(msg, reader);
|
|
44492
|
+
};
|
|
44493
|
+
|
|
44494
|
+
|
|
44495
|
+
/**
|
|
44496
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44497
|
+
* given reader into the given message object.
|
|
44498
|
+
* @param {!proto.game.GameSnapshotItem} msg The message object to deserialize into.
|
|
44499
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44500
|
+
* @return {!proto.game.GameSnapshotItem}
|
|
44501
|
+
*/
|
|
44502
|
+
proto.game.GameSnapshotItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
44503
|
+
while (reader.nextField()) {
|
|
44504
|
+
if (reader.isEndGroup()) {
|
|
44505
|
+
break;
|
|
44506
|
+
}
|
|
44507
|
+
var field = reader.getFieldNumber();
|
|
44508
|
+
switch (field) {
|
|
44509
|
+
case 1:
|
|
44510
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44511
|
+
msg.setId(value);
|
|
44512
|
+
break;
|
|
44513
|
+
case 2:
|
|
44514
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44515
|
+
msg.setTitle(value);
|
|
44516
|
+
break;
|
|
44517
|
+
case 3:
|
|
44518
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44519
|
+
msg.setSlug(value);
|
|
44520
|
+
break;
|
|
44521
|
+
case 4:
|
|
44522
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44523
|
+
msg.setImage(value);
|
|
44524
|
+
break;
|
|
44525
|
+
case 5:
|
|
44526
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44527
|
+
msg.setImageCdn(value);
|
|
44528
|
+
break;
|
|
44529
|
+
case 6:
|
|
44530
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44531
|
+
msg.setProviderTitle(value);
|
|
44532
|
+
break;
|
|
44533
|
+
case 7:
|
|
44534
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44535
|
+
msg.setProviderSlug(value);
|
|
44536
|
+
break;
|
|
44537
|
+
case 8:
|
|
44538
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44539
|
+
msg.setStatus(value);
|
|
44540
|
+
break;
|
|
44541
|
+
case 9:
|
|
44542
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44543
|
+
msg.setStatusId(value);
|
|
44544
|
+
break;
|
|
44545
|
+
default:
|
|
44546
|
+
reader.skipField();
|
|
44547
|
+
break;
|
|
44548
|
+
}
|
|
44549
|
+
}
|
|
44550
|
+
return msg;
|
|
44551
|
+
};
|
|
44552
|
+
|
|
44553
|
+
|
|
44554
|
+
/**
|
|
44555
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44556
|
+
* @return {!Uint8Array}
|
|
44557
|
+
*/
|
|
44558
|
+
proto.game.GameSnapshotItem.prototype.serializeBinary = function() {
|
|
44559
|
+
var writer = new jspb.BinaryWriter();
|
|
44560
|
+
proto.game.GameSnapshotItem.serializeBinaryToWriter(this, writer);
|
|
44561
|
+
return writer.getResultBuffer();
|
|
44562
|
+
};
|
|
44563
|
+
|
|
44564
|
+
|
|
44565
|
+
/**
|
|
44566
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44567
|
+
* format), writing to the given BinaryWriter.
|
|
44568
|
+
* @param {!proto.game.GameSnapshotItem} message
|
|
44569
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44570
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44571
|
+
*/
|
|
44572
|
+
proto.game.GameSnapshotItem.serializeBinaryToWriter = function(message, writer) {
|
|
44573
|
+
var f = undefined;
|
|
44574
|
+
f = message.getId();
|
|
44575
|
+
if (f !== 0) {
|
|
44576
|
+
writer.writeInt32(
|
|
44577
|
+
1,
|
|
44578
|
+
f
|
|
44579
|
+
);
|
|
44580
|
+
}
|
|
44581
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
44582
|
+
if (f != null) {
|
|
44583
|
+
writer.writeString(
|
|
44584
|
+
2,
|
|
44585
|
+
f
|
|
44586
|
+
);
|
|
44587
|
+
}
|
|
44588
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
44589
|
+
if (f != null) {
|
|
44590
|
+
writer.writeString(
|
|
44591
|
+
3,
|
|
44592
|
+
f
|
|
44593
|
+
);
|
|
44594
|
+
}
|
|
44595
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
44596
|
+
if (f != null) {
|
|
44597
|
+
writer.writeString(
|
|
44598
|
+
4,
|
|
44599
|
+
f
|
|
44600
|
+
);
|
|
44601
|
+
}
|
|
44602
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
44603
|
+
if (f != null) {
|
|
44604
|
+
writer.writeString(
|
|
44605
|
+
5,
|
|
44606
|
+
f
|
|
44607
|
+
);
|
|
44608
|
+
}
|
|
44609
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
44610
|
+
if (f != null) {
|
|
44611
|
+
writer.writeString(
|
|
44612
|
+
6,
|
|
44613
|
+
f
|
|
44614
|
+
);
|
|
44615
|
+
}
|
|
44616
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
44617
|
+
if (f != null) {
|
|
44618
|
+
writer.writeString(
|
|
44619
|
+
7,
|
|
44620
|
+
f
|
|
44621
|
+
);
|
|
44622
|
+
}
|
|
44623
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
44624
|
+
if (f != null) {
|
|
44625
|
+
writer.writeString(
|
|
44626
|
+
8,
|
|
44627
|
+
f
|
|
44628
|
+
);
|
|
44629
|
+
}
|
|
44630
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
44631
|
+
if (f != null) {
|
|
44632
|
+
writer.writeInt32(
|
|
44633
|
+
9,
|
|
44634
|
+
f
|
|
44635
|
+
);
|
|
44636
|
+
}
|
|
44637
|
+
};
|
|
44638
|
+
|
|
44639
|
+
|
|
44640
|
+
/**
|
|
44641
|
+
* optional int32 id = 1;
|
|
44642
|
+
* @return {number}
|
|
44643
|
+
*/
|
|
44644
|
+
proto.game.GameSnapshotItem.prototype.getId = function() {
|
|
44645
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
44646
|
+
};
|
|
44647
|
+
|
|
44648
|
+
|
|
44649
|
+
/**
|
|
44650
|
+
* @param {number} value
|
|
44651
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44652
|
+
*/
|
|
44653
|
+
proto.game.GameSnapshotItem.prototype.setId = function(value) {
|
|
44654
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
44655
|
+
};
|
|
44656
|
+
|
|
44657
|
+
|
|
44658
|
+
/**
|
|
44659
|
+
* optional string title = 2;
|
|
44660
|
+
* @return {string}
|
|
44661
|
+
*/
|
|
44662
|
+
proto.game.GameSnapshotItem.prototype.getTitle = function() {
|
|
44663
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
44664
|
+
};
|
|
44665
|
+
|
|
44666
|
+
|
|
44667
|
+
/**
|
|
44668
|
+
* @param {string} value
|
|
44669
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44670
|
+
*/
|
|
44671
|
+
proto.game.GameSnapshotItem.prototype.setTitle = function(value) {
|
|
44672
|
+
return jspb.Message.setField(this, 2, value);
|
|
44673
|
+
};
|
|
44674
|
+
|
|
44675
|
+
|
|
44676
|
+
/**
|
|
44677
|
+
* Clears the field making it undefined.
|
|
44678
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44679
|
+
*/
|
|
44680
|
+
proto.game.GameSnapshotItem.prototype.clearTitle = function() {
|
|
44681
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
44682
|
+
};
|
|
44683
|
+
|
|
44684
|
+
|
|
44685
|
+
/**
|
|
44686
|
+
* Returns whether this field is set.
|
|
44687
|
+
* @return {boolean}
|
|
44688
|
+
*/
|
|
44689
|
+
proto.game.GameSnapshotItem.prototype.hasTitle = function() {
|
|
44690
|
+
return jspb.Message.getField(this, 2) != null;
|
|
44691
|
+
};
|
|
44692
|
+
|
|
44693
|
+
|
|
44694
|
+
/**
|
|
44695
|
+
* optional string slug = 3;
|
|
44696
|
+
* @return {string}
|
|
44697
|
+
*/
|
|
44698
|
+
proto.game.GameSnapshotItem.prototype.getSlug = function() {
|
|
44699
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
44700
|
+
};
|
|
44701
|
+
|
|
44702
|
+
|
|
44703
|
+
/**
|
|
44704
|
+
* @param {string} value
|
|
44705
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44706
|
+
*/
|
|
44707
|
+
proto.game.GameSnapshotItem.prototype.setSlug = function(value) {
|
|
44708
|
+
return jspb.Message.setField(this, 3, value);
|
|
44709
|
+
};
|
|
44710
|
+
|
|
44711
|
+
|
|
44712
|
+
/**
|
|
44713
|
+
* Clears the field making it undefined.
|
|
44714
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44715
|
+
*/
|
|
44716
|
+
proto.game.GameSnapshotItem.prototype.clearSlug = function() {
|
|
44717
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
44718
|
+
};
|
|
44719
|
+
|
|
44720
|
+
|
|
44721
|
+
/**
|
|
44722
|
+
* Returns whether this field is set.
|
|
44723
|
+
* @return {boolean}
|
|
44724
|
+
*/
|
|
44725
|
+
proto.game.GameSnapshotItem.prototype.hasSlug = function() {
|
|
44726
|
+
return jspb.Message.getField(this, 3) != null;
|
|
44727
|
+
};
|
|
44728
|
+
|
|
44729
|
+
|
|
44730
|
+
/**
|
|
44731
|
+
* optional string image = 4;
|
|
44732
|
+
* @return {string}
|
|
44733
|
+
*/
|
|
44734
|
+
proto.game.GameSnapshotItem.prototype.getImage = function() {
|
|
44735
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
44736
|
+
};
|
|
44737
|
+
|
|
44738
|
+
|
|
44739
|
+
/**
|
|
44740
|
+
* @param {string} value
|
|
44741
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44742
|
+
*/
|
|
44743
|
+
proto.game.GameSnapshotItem.prototype.setImage = function(value) {
|
|
44744
|
+
return jspb.Message.setField(this, 4, value);
|
|
44745
|
+
};
|
|
44746
|
+
|
|
44747
|
+
|
|
44748
|
+
/**
|
|
44749
|
+
* Clears the field making it undefined.
|
|
44750
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44751
|
+
*/
|
|
44752
|
+
proto.game.GameSnapshotItem.prototype.clearImage = function() {
|
|
44753
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
44754
|
+
};
|
|
44755
|
+
|
|
44756
|
+
|
|
44757
|
+
/**
|
|
44758
|
+
* Returns whether this field is set.
|
|
44759
|
+
* @return {boolean}
|
|
44760
|
+
*/
|
|
44761
|
+
proto.game.GameSnapshotItem.prototype.hasImage = function() {
|
|
44762
|
+
return jspb.Message.getField(this, 4) != null;
|
|
44763
|
+
};
|
|
44764
|
+
|
|
44765
|
+
|
|
44766
|
+
/**
|
|
44767
|
+
* optional string image_cdn = 5;
|
|
44768
|
+
* @return {string}
|
|
44769
|
+
*/
|
|
44770
|
+
proto.game.GameSnapshotItem.prototype.getImageCdn = function() {
|
|
44771
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
44772
|
+
};
|
|
44773
|
+
|
|
44774
|
+
|
|
44775
|
+
/**
|
|
44776
|
+
* @param {string} value
|
|
44777
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44778
|
+
*/
|
|
44779
|
+
proto.game.GameSnapshotItem.prototype.setImageCdn = function(value) {
|
|
44780
|
+
return jspb.Message.setField(this, 5, value);
|
|
44781
|
+
};
|
|
44782
|
+
|
|
44783
|
+
|
|
44784
|
+
/**
|
|
44785
|
+
* Clears the field making it undefined.
|
|
44786
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44787
|
+
*/
|
|
44788
|
+
proto.game.GameSnapshotItem.prototype.clearImageCdn = function() {
|
|
44789
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
44790
|
+
};
|
|
44791
|
+
|
|
44792
|
+
|
|
44793
|
+
/**
|
|
44794
|
+
* Returns whether this field is set.
|
|
44795
|
+
* @return {boolean}
|
|
44796
|
+
*/
|
|
44797
|
+
proto.game.GameSnapshotItem.prototype.hasImageCdn = function() {
|
|
44798
|
+
return jspb.Message.getField(this, 5) != null;
|
|
44799
|
+
};
|
|
44800
|
+
|
|
44801
|
+
|
|
44802
|
+
/**
|
|
44803
|
+
* optional string provider_title = 6;
|
|
44804
|
+
* @return {string}
|
|
44805
|
+
*/
|
|
44806
|
+
proto.game.GameSnapshotItem.prototype.getProviderTitle = function() {
|
|
44807
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
44808
|
+
};
|
|
44809
|
+
|
|
44810
|
+
|
|
44811
|
+
/**
|
|
44812
|
+
* @param {string} value
|
|
44813
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44814
|
+
*/
|
|
44815
|
+
proto.game.GameSnapshotItem.prototype.setProviderTitle = function(value) {
|
|
44816
|
+
return jspb.Message.setField(this, 6, value);
|
|
44817
|
+
};
|
|
44818
|
+
|
|
44819
|
+
|
|
44820
|
+
/**
|
|
44821
|
+
* Clears the field making it undefined.
|
|
44822
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44823
|
+
*/
|
|
44824
|
+
proto.game.GameSnapshotItem.prototype.clearProviderTitle = function() {
|
|
44825
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
44826
|
+
};
|
|
44827
|
+
|
|
44828
|
+
|
|
44829
|
+
/**
|
|
44830
|
+
* Returns whether this field is set.
|
|
44831
|
+
* @return {boolean}
|
|
44832
|
+
*/
|
|
44833
|
+
proto.game.GameSnapshotItem.prototype.hasProviderTitle = function() {
|
|
44834
|
+
return jspb.Message.getField(this, 6) != null;
|
|
44835
|
+
};
|
|
44836
|
+
|
|
44837
|
+
|
|
44838
|
+
/**
|
|
44839
|
+
* optional string provider_slug = 7;
|
|
44840
|
+
* @return {string}
|
|
44841
|
+
*/
|
|
44842
|
+
proto.game.GameSnapshotItem.prototype.getProviderSlug = function() {
|
|
44843
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
44844
|
+
};
|
|
44845
|
+
|
|
44846
|
+
|
|
44847
|
+
/**
|
|
44848
|
+
* @param {string} value
|
|
44849
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44850
|
+
*/
|
|
44851
|
+
proto.game.GameSnapshotItem.prototype.setProviderSlug = function(value) {
|
|
44852
|
+
return jspb.Message.setField(this, 7, value);
|
|
44853
|
+
};
|
|
44854
|
+
|
|
44855
|
+
|
|
44856
|
+
/**
|
|
44857
|
+
* Clears the field making it undefined.
|
|
44858
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44859
|
+
*/
|
|
44860
|
+
proto.game.GameSnapshotItem.prototype.clearProviderSlug = function() {
|
|
44861
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
44862
|
+
};
|
|
44863
|
+
|
|
44864
|
+
|
|
44865
|
+
/**
|
|
44866
|
+
* Returns whether this field is set.
|
|
44867
|
+
* @return {boolean}
|
|
44868
|
+
*/
|
|
44869
|
+
proto.game.GameSnapshotItem.prototype.hasProviderSlug = function() {
|
|
44870
|
+
return jspb.Message.getField(this, 7) != null;
|
|
44871
|
+
};
|
|
44872
|
+
|
|
44873
|
+
|
|
44874
|
+
/**
|
|
44875
|
+
* optional string status = 8;
|
|
44876
|
+
* @return {string}
|
|
44877
|
+
*/
|
|
44878
|
+
proto.game.GameSnapshotItem.prototype.getStatus = function() {
|
|
44879
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
44880
|
+
};
|
|
44881
|
+
|
|
44882
|
+
|
|
44883
|
+
/**
|
|
44884
|
+
* @param {string} value
|
|
44885
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44886
|
+
*/
|
|
44887
|
+
proto.game.GameSnapshotItem.prototype.setStatus = function(value) {
|
|
44888
|
+
return jspb.Message.setField(this, 8, value);
|
|
44889
|
+
};
|
|
44890
|
+
|
|
44891
|
+
|
|
44892
|
+
/**
|
|
44893
|
+
* Clears the field making it undefined.
|
|
44894
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44895
|
+
*/
|
|
44896
|
+
proto.game.GameSnapshotItem.prototype.clearStatus = function() {
|
|
44897
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
44898
|
+
};
|
|
44899
|
+
|
|
44900
|
+
|
|
44901
|
+
/**
|
|
44902
|
+
* Returns whether this field is set.
|
|
44903
|
+
* @return {boolean}
|
|
44904
|
+
*/
|
|
44905
|
+
proto.game.GameSnapshotItem.prototype.hasStatus = function() {
|
|
44906
|
+
return jspb.Message.getField(this, 8) != null;
|
|
44907
|
+
};
|
|
44908
|
+
|
|
44909
|
+
|
|
44910
|
+
/**
|
|
44911
|
+
* optional int32 status_id = 9;
|
|
44912
|
+
* @return {number}
|
|
44913
|
+
*/
|
|
44914
|
+
proto.game.GameSnapshotItem.prototype.getStatusId = function() {
|
|
44915
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
44916
|
+
};
|
|
44917
|
+
|
|
44918
|
+
|
|
44919
|
+
/**
|
|
44920
|
+
* @param {number} value
|
|
44921
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44922
|
+
*/
|
|
44923
|
+
proto.game.GameSnapshotItem.prototype.setStatusId = function(value) {
|
|
44924
|
+
return jspb.Message.setField(this, 9, value);
|
|
44925
|
+
};
|
|
44926
|
+
|
|
44927
|
+
|
|
44928
|
+
/**
|
|
44929
|
+
* Clears the field making it undefined.
|
|
44930
|
+
* @return {!proto.game.GameSnapshotItem} returns this
|
|
44931
|
+
*/
|
|
44932
|
+
proto.game.GameSnapshotItem.prototype.clearStatusId = function() {
|
|
44933
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
44934
|
+
};
|
|
44935
|
+
|
|
44936
|
+
|
|
44937
|
+
/**
|
|
44938
|
+
* Returns whether this field is set.
|
|
44939
|
+
* @return {boolean}
|
|
44940
|
+
*/
|
|
44941
|
+
proto.game.GameSnapshotItem.prototype.hasStatusId = function() {
|
|
44942
|
+
return jspb.Message.getField(this, 9) != null;
|
|
44943
|
+
};
|
|
44944
|
+
|
|
44945
|
+
|
|
44946
|
+
|
|
44947
|
+
/**
|
|
44948
|
+
* List of repeated fields within this message type.
|
|
44949
|
+
* @private {!Array<number>}
|
|
44950
|
+
* @const
|
|
44951
|
+
*/
|
|
44952
|
+
proto.game.GameSnapshotItemsResponse.repeatedFields_ = [1];
|
|
44953
|
+
|
|
44954
|
+
|
|
44955
|
+
|
|
44956
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44957
|
+
/**
|
|
44958
|
+
* Creates an object representation of this proto.
|
|
44959
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44960
|
+
* Optional fields that are not set will be set to undefined.
|
|
44961
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44962
|
+
* For the list of reserved names please see:
|
|
44963
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44964
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44965
|
+
* JSPB instance for transitional soy proto support:
|
|
44966
|
+
* http://goto/soy-param-migration
|
|
44967
|
+
* @return {!Object}
|
|
44968
|
+
*/
|
|
44969
|
+
proto.game.GameSnapshotItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
44970
|
+
return proto.game.GameSnapshotItemsResponse.toObject(opt_includeInstance, this);
|
|
44971
|
+
};
|
|
44972
|
+
|
|
44973
|
+
|
|
44974
|
+
/**
|
|
44975
|
+
* Static version of the {@see toObject} method.
|
|
44976
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44977
|
+
* the JSPB instance for transitional soy proto support:
|
|
44978
|
+
* http://goto/soy-param-migration
|
|
44979
|
+
* @param {!proto.game.GameSnapshotItemsResponse} msg The msg instance to transform.
|
|
44980
|
+
* @return {!Object}
|
|
44981
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44982
|
+
*/
|
|
44983
|
+
proto.game.GameSnapshotItemsResponse.toObject = function(includeInstance, msg) {
|
|
44984
|
+
var f, obj = {
|
|
44985
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
44986
|
+
proto.game.GameSnapshotItem.toObject, includeInstance)
|
|
44987
|
+
};
|
|
44988
|
+
|
|
44989
|
+
if (includeInstance) {
|
|
44990
|
+
obj.$jspbMessageInstance = msg;
|
|
44991
|
+
}
|
|
44992
|
+
return obj;
|
|
44993
|
+
};
|
|
44994
|
+
}
|
|
44995
|
+
|
|
44996
|
+
|
|
44997
|
+
/**
|
|
44998
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44999
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45000
|
+
* @return {!proto.game.GameSnapshotItemsResponse}
|
|
45001
|
+
*/
|
|
45002
|
+
proto.game.GameSnapshotItemsResponse.deserializeBinary = function(bytes) {
|
|
45003
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45004
|
+
var msg = new proto.game.GameSnapshotItemsResponse;
|
|
45005
|
+
return proto.game.GameSnapshotItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
45006
|
+
};
|
|
45007
|
+
|
|
45008
|
+
|
|
45009
|
+
/**
|
|
45010
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45011
|
+
* given reader into the given message object.
|
|
45012
|
+
* @param {!proto.game.GameSnapshotItemsResponse} msg The message object to deserialize into.
|
|
45013
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45014
|
+
* @return {!proto.game.GameSnapshotItemsResponse}
|
|
45015
|
+
*/
|
|
45016
|
+
proto.game.GameSnapshotItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
45017
|
+
while (reader.nextField()) {
|
|
45018
|
+
if (reader.isEndGroup()) {
|
|
45019
|
+
break;
|
|
45020
|
+
}
|
|
45021
|
+
var field = reader.getFieldNumber();
|
|
45022
|
+
switch (field) {
|
|
45023
|
+
case 1:
|
|
45024
|
+
var value = new proto.game.GameSnapshotItem;
|
|
45025
|
+
reader.readMessage(value,proto.game.GameSnapshotItem.deserializeBinaryFromReader);
|
|
45026
|
+
msg.addItems(value);
|
|
45027
|
+
break;
|
|
45028
|
+
default:
|
|
45029
|
+
reader.skipField();
|
|
45030
|
+
break;
|
|
45031
|
+
}
|
|
45032
|
+
}
|
|
45033
|
+
return msg;
|
|
45034
|
+
};
|
|
45035
|
+
|
|
45036
|
+
|
|
45037
|
+
/**
|
|
45038
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45039
|
+
* @return {!Uint8Array}
|
|
45040
|
+
*/
|
|
45041
|
+
proto.game.GameSnapshotItemsResponse.prototype.serializeBinary = function() {
|
|
45042
|
+
var writer = new jspb.BinaryWriter();
|
|
45043
|
+
proto.game.GameSnapshotItemsResponse.serializeBinaryToWriter(this, writer);
|
|
45044
|
+
return writer.getResultBuffer();
|
|
45045
|
+
};
|
|
45046
|
+
|
|
45047
|
+
|
|
45048
|
+
/**
|
|
45049
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45050
|
+
* format), writing to the given BinaryWriter.
|
|
45051
|
+
* @param {!proto.game.GameSnapshotItemsResponse} message
|
|
45052
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45053
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45054
|
+
*/
|
|
45055
|
+
proto.game.GameSnapshotItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
45056
|
+
var f = undefined;
|
|
45057
|
+
f = message.getItemsList();
|
|
45058
|
+
if (f.length > 0) {
|
|
45059
|
+
writer.writeRepeatedMessage(
|
|
45060
|
+
1,
|
|
45061
|
+
f,
|
|
45062
|
+
proto.game.GameSnapshotItem.serializeBinaryToWriter
|
|
45063
|
+
);
|
|
45064
|
+
}
|
|
45065
|
+
};
|
|
45066
|
+
|
|
45067
|
+
|
|
45068
|
+
/**
|
|
45069
|
+
* repeated GameSnapshotItem items = 1;
|
|
45070
|
+
* @return {!Array<!proto.game.GameSnapshotItem>}
|
|
45071
|
+
*/
|
|
45072
|
+
proto.game.GameSnapshotItemsResponse.prototype.getItemsList = function() {
|
|
45073
|
+
return /** @type{!Array<!proto.game.GameSnapshotItem>} */ (
|
|
45074
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameSnapshotItem, 1));
|
|
45075
|
+
};
|
|
45076
|
+
|
|
45077
|
+
|
|
45078
|
+
/**
|
|
45079
|
+
* @param {!Array<!proto.game.GameSnapshotItem>} value
|
|
45080
|
+
* @return {!proto.game.GameSnapshotItemsResponse} returns this
|
|
45081
|
+
*/
|
|
45082
|
+
proto.game.GameSnapshotItemsResponse.prototype.setItemsList = function(value) {
|
|
45083
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
45084
|
+
};
|
|
45085
|
+
|
|
45086
|
+
|
|
45087
|
+
/**
|
|
45088
|
+
* @param {!proto.game.GameSnapshotItem=} opt_value
|
|
45089
|
+
* @param {number=} opt_index
|
|
45090
|
+
* @return {!proto.game.GameSnapshotItem}
|
|
45091
|
+
*/
|
|
45092
|
+
proto.game.GameSnapshotItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
45093
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.GameSnapshotItem, opt_index);
|
|
45094
|
+
};
|
|
45095
|
+
|
|
45096
|
+
|
|
45097
|
+
/**
|
|
45098
|
+
* Clears the list making it empty but non-null.
|
|
45099
|
+
* @return {!proto.game.GameSnapshotItemsResponse} returns this
|
|
45100
|
+
*/
|
|
45101
|
+
proto.game.GameSnapshotItemsResponse.prototype.clearItemsList = function() {
|
|
45102
|
+
return this.setItemsList([]);
|
|
45103
|
+
};
|
|
45104
|
+
|
|
45105
|
+
|
|
45106
|
+
|
|
45107
|
+
/**
|
|
45108
|
+
* List of repeated fields within this message type.
|
|
45109
|
+
* @private {!Array<number>}
|
|
45110
|
+
* @const
|
|
45111
|
+
*/
|
|
45112
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.repeatedFields_ = [1];
|
|
45113
|
+
|
|
45114
|
+
|
|
45115
|
+
|
|
45116
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45117
|
+
/**
|
|
45118
|
+
* Creates an object representation of this proto.
|
|
45119
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45120
|
+
* Optional fields that are not set will be set to undefined.
|
|
45121
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45122
|
+
* For the list of reserved names please see:
|
|
45123
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45124
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45125
|
+
* JSPB instance for transitional soy proto support:
|
|
45126
|
+
* http://goto/soy-param-migration
|
|
45127
|
+
* @return {!Object}
|
|
45128
|
+
*/
|
|
45129
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
45130
|
+
return proto.game.GetCollectionSnapshotsByIdsRequest.toObject(opt_includeInstance, this);
|
|
45131
|
+
};
|
|
45132
|
+
|
|
45133
|
+
|
|
45134
|
+
/**
|
|
45135
|
+
* Static version of the {@see toObject} method.
|
|
45136
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45137
|
+
* the JSPB instance for transitional soy proto support:
|
|
45138
|
+
* http://goto/soy-param-migration
|
|
45139
|
+
* @param {!proto.game.GetCollectionSnapshotsByIdsRequest} msg The msg instance to transform.
|
|
45140
|
+
* @return {!Object}
|
|
45141
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45142
|
+
*/
|
|
45143
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
45144
|
+
var f, obj = {
|
|
45145
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
45146
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
45147
|
+
};
|
|
45148
|
+
|
|
45149
|
+
if (includeInstance) {
|
|
45150
|
+
obj.$jspbMessageInstance = msg;
|
|
45151
|
+
}
|
|
45152
|
+
return obj;
|
|
45153
|
+
};
|
|
45154
|
+
}
|
|
45155
|
+
|
|
45156
|
+
|
|
45157
|
+
/**
|
|
45158
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45159
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45160
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest}
|
|
45161
|
+
*/
|
|
45162
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.deserializeBinary = function(bytes) {
|
|
45163
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45164
|
+
var msg = new proto.game.GetCollectionSnapshotsByIdsRequest;
|
|
45165
|
+
return proto.game.GetCollectionSnapshotsByIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
45166
|
+
};
|
|
45167
|
+
|
|
45168
|
+
|
|
45169
|
+
/**
|
|
45170
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45171
|
+
* given reader into the given message object.
|
|
45172
|
+
* @param {!proto.game.GetCollectionSnapshotsByIdsRequest} msg The message object to deserialize into.
|
|
45173
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45174
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest}
|
|
45175
|
+
*/
|
|
45176
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
45177
|
+
while (reader.nextField()) {
|
|
45178
|
+
if (reader.isEndGroup()) {
|
|
45179
|
+
break;
|
|
45180
|
+
}
|
|
45181
|
+
var field = reader.getFieldNumber();
|
|
45182
|
+
switch (field) {
|
|
45183
|
+
case 1:
|
|
45184
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
45185
|
+
for (var i = 0; i < values.length; i++) {
|
|
45186
|
+
msg.addIds(values[i]);
|
|
45187
|
+
}
|
|
45188
|
+
break;
|
|
45189
|
+
case 2:
|
|
45190
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45191
|
+
msg.setLocale(value);
|
|
45192
|
+
break;
|
|
45193
|
+
default:
|
|
45194
|
+
reader.skipField();
|
|
45195
|
+
break;
|
|
45196
|
+
}
|
|
45197
|
+
}
|
|
45198
|
+
return msg;
|
|
45199
|
+
};
|
|
45200
|
+
|
|
45201
|
+
|
|
45202
|
+
/**
|
|
45203
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45204
|
+
* @return {!Uint8Array}
|
|
45205
|
+
*/
|
|
45206
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.serializeBinary = function() {
|
|
45207
|
+
var writer = new jspb.BinaryWriter();
|
|
45208
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.serializeBinaryToWriter(this, writer);
|
|
45209
|
+
return writer.getResultBuffer();
|
|
45210
|
+
};
|
|
45211
|
+
|
|
45212
|
+
|
|
45213
|
+
/**
|
|
45214
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45215
|
+
* format), writing to the given BinaryWriter.
|
|
45216
|
+
* @param {!proto.game.GetCollectionSnapshotsByIdsRequest} message
|
|
45217
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45218
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45219
|
+
*/
|
|
45220
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
45221
|
+
var f = undefined;
|
|
45222
|
+
f = message.getIdsList();
|
|
45223
|
+
if (f.length > 0) {
|
|
45224
|
+
writer.writePackedInt32(
|
|
45225
|
+
1,
|
|
45226
|
+
f
|
|
45227
|
+
);
|
|
45228
|
+
}
|
|
45229
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
45230
|
+
if (f != null) {
|
|
45231
|
+
writer.writeString(
|
|
45232
|
+
2,
|
|
45233
|
+
f
|
|
45234
|
+
);
|
|
45235
|
+
}
|
|
45236
|
+
};
|
|
45237
|
+
|
|
45238
|
+
|
|
45239
|
+
/**
|
|
45240
|
+
* repeated int32 ids = 1;
|
|
45241
|
+
* @return {!Array<number>}
|
|
45242
|
+
*/
|
|
45243
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.getIdsList = function() {
|
|
45244
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
45245
|
+
};
|
|
45246
|
+
|
|
45247
|
+
|
|
45248
|
+
/**
|
|
45249
|
+
* @param {!Array<number>} value
|
|
45250
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest} returns this
|
|
45251
|
+
*/
|
|
45252
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.setIdsList = function(value) {
|
|
45253
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
45254
|
+
};
|
|
45255
|
+
|
|
45256
|
+
|
|
45257
|
+
/**
|
|
45258
|
+
* @param {number} value
|
|
45259
|
+
* @param {number=} opt_index
|
|
45260
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest} returns this
|
|
45261
|
+
*/
|
|
45262
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.addIds = function(value, opt_index) {
|
|
45263
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
45264
|
+
};
|
|
45265
|
+
|
|
45266
|
+
|
|
45267
|
+
/**
|
|
45268
|
+
* Clears the list making it empty but non-null.
|
|
45269
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest} returns this
|
|
45270
|
+
*/
|
|
45271
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.clearIdsList = function() {
|
|
45272
|
+
return this.setIdsList([]);
|
|
45273
|
+
};
|
|
45274
|
+
|
|
45275
|
+
|
|
45276
|
+
/**
|
|
45277
|
+
* optional string locale = 2;
|
|
45278
|
+
* @return {string}
|
|
45279
|
+
*/
|
|
45280
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.getLocale = function() {
|
|
45281
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
45282
|
+
};
|
|
45283
|
+
|
|
45284
|
+
|
|
45285
|
+
/**
|
|
45286
|
+
* @param {string} value
|
|
45287
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest} returns this
|
|
45288
|
+
*/
|
|
45289
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.setLocale = function(value) {
|
|
45290
|
+
return jspb.Message.setField(this, 2, value);
|
|
45291
|
+
};
|
|
45292
|
+
|
|
45293
|
+
|
|
45294
|
+
/**
|
|
45295
|
+
* Clears the field making it undefined.
|
|
45296
|
+
* @return {!proto.game.GetCollectionSnapshotsByIdsRequest} returns this
|
|
45297
|
+
*/
|
|
45298
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.clearLocale = function() {
|
|
45299
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
45300
|
+
};
|
|
45301
|
+
|
|
45302
|
+
|
|
45303
|
+
/**
|
|
45304
|
+
* Returns whether this field is set.
|
|
45305
|
+
* @return {boolean}
|
|
45306
|
+
*/
|
|
45307
|
+
proto.game.GetCollectionSnapshotsByIdsRequest.prototype.hasLocale = function() {
|
|
45308
|
+
return jspb.Message.getField(this, 2) != null;
|
|
45309
|
+
};
|
|
45310
|
+
|
|
45311
|
+
|
|
45312
|
+
|
|
45313
|
+
|
|
45314
|
+
|
|
45315
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45316
|
+
/**
|
|
45317
|
+
* Creates an object representation of this proto.
|
|
45318
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45319
|
+
* Optional fields that are not set will be set to undefined.
|
|
45320
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45321
|
+
* For the list of reserved names please see:
|
|
45322
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45323
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45324
|
+
* JSPB instance for transitional soy proto support:
|
|
45325
|
+
* http://goto/soy-param-migration
|
|
45326
|
+
* @return {!Object}
|
|
45327
|
+
*/
|
|
45328
|
+
proto.game.CollectionSnapshotItem.prototype.toObject = function(opt_includeInstance) {
|
|
45329
|
+
return proto.game.CollectionSnapshotItem.toObject(opt_includeInstance, this);
|
|
45330
|
+
};
|
|
45331
|
+
|
|
45332
|
+
|
|
45333
|
+
/**
|
|
45334
|
+
* Static version of the {@see toObject} method.
|
|
45335
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45336
|
+
* the JSPB instance for transitional soy proto support:
|
|
45337
|
+
* http://goto/soy-param-migration
|
|
45338
|
+
* @param {!proto.game.CollectionSnapshotItem} msg The msg instance to transform.
|
|
45339
|
+
* @return {!Object}
|
|
45340
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45341
|
+
*/
|
|
45342
|
+
proto.game.CollectionSnapshotItem.toObject = function(includeInstance, msg) {
|
|
45343
|
+
var f, obj = {
|
|
45344
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
45345
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
45346
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
45347
|
+
image: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
45348
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
45349
|
+
countOfGames: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
45350
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
45351
|
+
};
|
|
45352
|
+
|
|
45353
|
+
if (includeInstance) {
|
|
45354
|
+
obj.$jspbMessageInstance = msg;
|
|
45355
|
+
}
|
|
45356
|
+
return obj;
|
|
45357
|
+
};
|
|
45358
|
+
}
|
|
45359
|
+
|
|
45360
|
+
|
|
45361
|
+
/**
|
|
45362
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45363
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45364
|
+
* @return {!proto.game.CollectionSnapshotItem}
|
|
45365
|
+
*/
|
|
45366
|
+
proto.game.CollectionSnapshotItem.deserializeBinary = function(bytes) {
|
|
45367
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45368
|
+
var msg = new proto.game.CollectionSnapshotItem;
|
|
45369
|
+
return proto.game.CollectionSnapshotItem.deserializeBinaryFromReader(msg, reader);
|
|
45370
|
+
};
|
|
45371
|
+
|
|
45372
|
+
|
|
45373
|
+
/**
|
|
45374
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45375
|
+
* given reader into the given message object.
|
|
45376
|
+
* @param {!proto.game.CollectionSnapshotItem} msg The message object to deserialize into.
|
|
45377
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45378
|
+
* @return {!proto.game.CollectionSnapshotItem}
|
|
45379
|
+
*/
|
|
45380
|
+
proto.game.CollectionSnapshotItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
45381
|
+
while (reader.nextField()) {
|
|
45382
|
+
if (reader.isEndGroup()) {
|
|
45383
|
+
break;
|
|
45384
|
+
}
|
|
45385
|
+
var field = reader.getFieldNumber();
|
|
45386
|
+
switch (field) {
|
|
45387
|
+
case 1:
|
|
45388
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45389
|
+
msg.setId(value);
|
|
45390
|
+
break;
|
|
45391
|
+
case 2:
|
|
45392
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45393
|
+
msg.setTitle(value);
|
|
45394
|
+
break;
|
|
45395
|
+
case 3:
|
|
45396
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45397
|
+
msg.setSlug(value);
|
|
45398
|
+
break;
|
|
45399
|
+
case 4:
|
|
45400
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45401
|
+
msg.setImage(value);
|
|
45402
|
+
break;
|
|
45403
|
+
case 5:
|
|
45404
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45405
|
+
msg.setImageCdn(value);
|
|
45406
|
+
break;
|
|
45407
|
+
case 6:
|
|
45408
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45409
|
+
msg.setCountOfGames(value);
|
|
45410
|
+
break;
|
|
45411
|
+
case 7:
|
|
45412
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45413
|
+
msg.setIsActive(value);
|
|
45414
|
+
break;
|
|
45415
|
+
default:
|
|
45416
|
+
reader.skipField();
|
|
45417
|
+
break;
|
|
45418
|
+
}
|
|
45419
|
+
}
|
|
45420
|
+
return msg;
|
|
45421
|
+
};
|
|
45422
|
+
|
|
45423
|
+
|
|
45424
|
+
/**
|
|
45425
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45426
|
+
* @return {!Uint8Array}
|
|
45427
|
+
*/
|
|
45428
|
+
proto.game.CollectionSnapshotItem.prototype.serializeBinary = function() {
|
|
45429
|
+
var writer = new jspb.BinaryWriter();
|
|
45430
|
+
proto.game.CollectionSnapshotItem.serializeBinaryToWriter(this, writer);
|
|
45431
|
+
return writer.getResultBuffer();
|
|
45432
|
+
};
|
|
45433
|
+
|
|
45434
|
+
|
|
45435
|
+
/**
|
|
45436
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45437
|
+
* format), writing to the given BinaryWriter.
|
|
45438
|
+
* @param {!proto.game.CollectionSnapshotItem} message
|
|
45439
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45440
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45441
|
+
*/
|
|
45442
|
+
proto.game.CollectionSnapshotItem.serializeBinaryToWriter = function(message, writer) {
|
|
45443
|
+
var f = undefined;
|
|
45444
|
+
f = message.getId();
|
|
45445
|
+
if (f !== 0) {
|
|
45446
|
+
writer.writeInt32(
|
|
45447
|
+
1,
|
|
45448
|
+
f
|
|
45449
|
+
);
|
|
45450
|
+
}
|
|
45451
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
45452
|
+
if (f != null) {
|
|
45453
|
+
writer.writeString(
|
|
45454
|
+
2,
|
|
45455
|
+
f
|
|
45456
|
+
);
|
|
45457
|
+
}
|
|
45458
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
45459
|
+
if (f != null) {
|
|
45460
|
+
writer.writeString(
|
|
45461
|
+
3,
|
|
45462
|
+
f
|
|
45463
|
+
);
|
|
45464
|
+
}
|
|
45465
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
45466
|
+
if (f != null) {
|
|
45467
|
+
writer.writeString(
|
|
45468
|
+
4,
|
|
45469
|
+
f
|
|
45470
|
+
);
|
|
45471
|
+
}
|
|
45472
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
45473
|
+
if (f != null) {
|
|
45474
|
+
writer.writeString(
|
|
45475
|
+
5,
|
|
45476
|
+
f
|
|
45477
|
+
);
|
|
45478
|
+
}
|
|
45479
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
45480
|
+
if (f != null) {
|
|
45481
|
+
writer.writeInt32(
|
|
45482
|
+
6,
|
|
45483
|
+
f
|
|
45484
|
+
);
|
|
45485
|
+
}
|
|
45486
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
45487
|
+
if (f != null) {
|
|
45488
|
+
writer.writeInt32(
|
|
45489
|
+
7,
|
|
45490
|
+
f
|
|
45491
|
+
);
|
|
45492
|
+
}
|
|
45493
|
+
};
|
|
45494
|
+
|
|
45495
|
+
|
|
45496
|
+
/**
|
|
45497
|
+
* optional int32 id = 1;
|
|
45498
|
+
* @return {number}
|
|
45499
|
+
*/
|
|
45500
|
+
proto.game.CollectionSnapshotItem.prototype.getId = function() {
|
|
45501
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
45502
|
+
};
|
|
45503
|
+
|
|
45504
|
+
|
|
45505
|
+
/**
|
|
45506
|
+
* @param {number} value
|
|
45507
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45508
|
+
*/
|
|
45509
|
+
proto.game.CollectionSnapshotItem.prototype.setId = function(value) {
|
|
45510
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
45511
|
+
};
|
|
45512
|
+
|
|
45513
|
+
|
|
45514
|
+
/**
|
|
45515
|
+
* optional string title = 2;
|
|
45516
|
+
* @return {string}
|
|
45517
|
+
*/
|
|
45518
|
+
proto.game.CollectionSnapshotItem.prototype.getTitle = function() {
|
|
45519
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
45520
|
+
};
|
|
45521
|
+
|
|
45522
|
+
|
|
45523
|
+
/**
|
|
45524
|
+
* @param {string} value
|
|
45525
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45526
|
+
*/
|
|
45527
|
+
proto.game.CollectionSnapshotItem.prototype.setTitle = function(value) {
|
|
45528
|
+
return jspb.Message.setField(this, 2, value);
|
|
45529
|
+
};
|
|
45530
|
+
|
|
45531
|
+
|
|
45532
|
+
/**
|
|
45533
|
+
* Clears the field making it undefined.
|
|
45534
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45535
|
+
*/
|
|
45536
|
+
proto.game.CollectionSnapshotItem.prototype.clearTitle = function() {
|
|
45537
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
45538
|
+
};
|
|
45539
|
+
|
|
45540
|
+
|
|
45541
|
+
/**
|
|
45542
|
+
* Returns whether this field is set.
|
|
45543
|
+
* @return {boolean}
|
|
45544
|
+
*/
|
|
45545
|
+
proto.game.CollectionSnapshotItem.prototype.hasTitle = function() {
|
|
45546
|
+
return jspb.Message.getField(this, 2) != null;
|
|
45547
|
+
};
|
|
45548
|
+
|
|
45549
|
+
|
|
45550
|
+
/**
|
|
45551
|
+
* optional string slug = 3;
|
|
45552
|
+
* @return {string}
|
|
45553
|
+
*/
|
|
45554
|
+
proto.game.CollectionSnapshotItem.prototype.getSlug = function() {
|
|
45555
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
45556
|
+
};
|
|
45557
|
+
|
|
45558
|
+
|
|
45559
|
+
/**
|
|
45560
|
+
* @param {string} value
|
|
45561
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45562
|
+
*/
|
|
45563
|
+
proto.game.CollectionSnapshotItem.prototype.setSlug = function(value) {
|
|
45564
|
+
return jspb.Message.setField(this, 3, value);
|
|
45565
|
+
};
|
|
45566
|
+
|
|
45567
|
+
|
|
45568
|
+
/**
|
|
45569
|
+
* Clears the field making it undefined.
|
|
45570
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45571
|
+
*/
|
|
45572
|
+
proto.game.CollectionSnapshotItem.prototype.clearSlug = function() {
|
|
45573
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
45574
|
+
};
|
|
45575
|
+
|
|
45576
|
+
|
|
45577
|
+
/**
|
|
45578
|
+
* Returns whether this field is set.
|
|
45579
|
+
* @return {boolean}
|
|
45580
|
+
*/
|
|
45581
|
+
proto.game.CollectionSnapshotItem.prototype.hasSlug = function() {
|
|
45582
|
+
return jspb.Message.getField(this, 3) != null;
|
|
45583
|
+
};
|
|
45584
|
+
|
|
45585
|
+
|
|
45586
|
+
/**
|
|
45587
|
+
* optional string image = 4;
|
|
45588
|
+
* @return {string}
|
|
45589
|
+
*/
|
|
45590
|
+
proto.game.CollectionSnapshotItem.prototype.getImage = function() {
|
|
45591
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
45592
|
+
};
|
|
45593
|
+
|
|
45594
|
+
|
|
45595
|
+
/**
|
|
45596
|
+
* @param {string} value
|
|
45597
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45598
|
+
*/
|
|
45599
|
+
proto.game.CollectionSnapshotItem.prototype.setImage = function(value) {
|
|
45600
|
+
return jspb.Message.setField(this, 4, value);
|
|
45601
|
+
};
|
|
45602
|
+
|
|
45603
|
+
|
|
45604
|
+
/**
|
|
45605
|
+
* Clears the field making it undefined.
|
|
45606
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45607
|
+
*/
|
|
45608
|
+
proto.game.CollectionSnapshotItem.prototype.clearImage = function() {
|
|
45609
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
45610
|
+
};
|
|
45611
|
+
|
|
45612
|
+
|
|
45613
|
+
/**
|
|
45614
|
+
* Returns whether this field is set.
|
|
45615
|
+
* @return {boolean}
|
|
45616
|
+
*/
|
|
45617
|
+
proto.game.CollectionSnapshotItem.prototype.hasImage = function() {
|
|
45618
|
+
return jspb.Message.getField(this, 4) != null;
|
|
45619
|
+
};
|
|
45620
|
+
|
|
45621
|
+
|
|
45622
|
+
/**
|
|
45623
|
+
* optional string image_cdn = 5;
|
|
45624
|
+
* @return {string}
|
|
45625
|
+
*/
|
|
45626
|
+
proto.game.CollectionSnapshotItem.prototype.getImageCdn = function() {
|
|
45627
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
45628
|
+
};
|
|
45629
|
+
|
|
45630
|
+
|
|
45631
|
+
/**
|
|
45632
|
+
* @param {string} value
|
|
45633
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45634
|
+
*/
|
|
45635
|
+
proto.game.CollectionSnapshotItem.prototype.setImageCdn = function(value) {
|
|
45636
|
+
return jspb.Message.setField(this, 5, value);
|
|
45637
|
+
};
|
|
45638
|
+
|
|
45639
|
+
|
|
45640
|
+
/**
|
|
45641
|
+
* Clears the field making it undefined.
|
|
45642
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45643
|
+
*/
|
|
45644
|
+
proto.game.CollectionSnapshotItem.prototype.clearImageCdn = function() {
|
|
45645
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
45646
|
+
};
|
|
45647
|
+
|
|
45648
|
+
|
|
45649
|
+
/**
|
|
45650
|
+
* Returns whether this field is set.
|
|
45651
|
+
* @return {boolean}
|
|
45652
|
+
*/
|
|
45653
|
+
proto.game.CollectionSnapshotItem.prototype.hasImageCdn = function() {
|
|
45654
|
+
return jspb.Message.getField(this, 5) != null;
|
|
45655
|
+
};
|
|
45656
|
+
|
|
45657
|
+
|
|
45658
|
+
/**
|
|
45659
|
+
* optional int32 count_of_games = 6;
|
|
45660
|
+
* @return {number}
|
|
45661
|
+
*/
|
|
45662
|
+
proto.game.CollectionSnapshotItem.prototype.getCountOfGames = function() {
|
|
45663
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
45664
|
+
};
|
|
45665
|
+
|
|
45666
|
+
|
|
45667
|
+
/**
|
|
45668
|
+
* @param {number} value
|
|
45669
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45670
|
+
*/
|
|
45671
|
+
proto.game.CollectionSnapshotItem.prototype.setCountOfGames = function(value) {
|
|
45672
|
+
return jspb.Message.setField(this, 6, value);
|
|
45673
|
+
};
|
|
45674
|
+
|
|
45675
|
+
|
|
45676
|
+
/**
|
|
45677
|
+
* Clears the field making it undefined.
|
|
45678
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45679
|
+
*/
|
|
45680
|
+
proto.game.CollectionSnapshotItem.prototype.clearCountOfGames = function() {
|
|
45681
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
45682
|
+
};
|
|
45683
|
+
|
|
45684
|
+
|
|
45685
|
+
/**
|
|
45686
|
+
* Returns whether this field is set.
|
|
45687
|
+
* @return {boolean}
|
|
45688
|
+
*/
|
|
45689
|
+
proto.game.CollectionSnapshotItem.prototype.hasCountOfGames = function() {
|
|
45690
|
+
return jspb.Message.getField(this, 6) != null;
|
|
45691
|
+
};
|
|
45692
|
+
|
|
45693
|
+
|
|
45694
|
+
/**
|
|
45695
|
+
* optional int32 is_active = 7;
|
|
45696
|
+
* @return {number}
|
|
45697
|
+
*/
|
|
45698
|
+
proto.game.CollectionSnapshotItem.prototype.getIsActive = function() {
|
|
45699
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
45700
|
+
};
|
|
45701
|
+
|
|
45702
|
+
|
|
45703
|
+
/**
|
|
45704
|
+
* @param {number} value
|
|
45705
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45706
|
+
*/
|
|
45707
|
+
proto.game.CollectionSnapshotItem.prototype.setIsActive = function(value) {
|
|
45708
|
+
return jspb.Message.setField(this, 7, value);
|
|
45709
|
+
};
|
|
45710
|
+
|
|
45711
|
+
|
|
45712
|
+
/**
|
|
45713
|
+
* Clears the field making it undefined.
|
|
45714
|
+
* @return {!proto.game.CollectionSnapshotItem} returns this
|
|
45715
|
+
*/
|
|
45716
|
+
proto.game.CollectionSnapshotItem.prototype.clearIsActive = function() {
|
|
45717
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
45718
|
+
};
|
|
45719
|
+
|
|
45720
|
+
|
|
45721
|
+
/**
|
|
45722
|
+
* Returns whether this field is set.
|
|
45723
|
+
* @return {boolean}
|
|
45724
|
+
*/
|
|
45725
|
+
proto.game.CollectionSnapshotItem.prototype.hasIsActive = function() {
|
|
45726
|
+
return jspb.Message.getField(this, 7) != null;
|
|
45727
|
+
};
|
|
45728
|
+
|
|
45729
|
+
|
|
45730
|
+
|
|
45731
|
+
/**
|
|
45732
|
+
* List of repeated fields within this message type.
|
|
45733
|
+
* @private {!Array<number>}
|
|
45734
|
+
* @const
|
|
45735
|
+
*/
|
|
45736
|
+
proto.game.CollectionSnapshotItemsResponse.repeatedFields_ = [1];
|
|
45737
|
+
|
|
45738
|
+
|
|
45739
|
+
|
|
45740
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45741
|
+
/**
|
|
45742
|
+
* Creates an object representation of this proto.
|
|
45743
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45744
|
+
* Optional fields that are not set will be set to undefined.
|
|
45745
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45746
|
+
* For the list of reserved names please see:
|
|
45747
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45748
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45749
|
+
* JSPB instance for transitional soy proto support:
|
|
45750
|
+
* http://goto/soy-param-migration
|
|
45751
|
+
* @return {!Object}
|
|
45752
|
+
*/
|
|
45753
|
+
proto.game.CollectionSnapshotItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
45754
|
+
return proto.game.CollectionSnapshotItemsResponse.toObject(opt_includeInstance, this);
|
|
45755
|
+
};
|
|
45756
|
+
|
|
45757
|
+
|
|
45758
|
+
/**
|
|
45759
|
+
* Static version of the {@see toObject} method.
|
|
45760
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45761
|
+
* the JSPB instance for transitional soy proto support:
|
|
45762
|
+
* http://goto/soy-param-migration
|
|
45763
|
+
* @param {!proto.game.CollectionSnapshotItemsResponse} msg The msg instance to transform.
|
|
45764
|
+
* @return {!Object}
|
|
45765
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45766
|
+
*/
|
|
45767
|
+
proto.game.CollectionSnapshotItemsResponse.toObject = function(includeInstance, msg) {
|
|
45768
|
+
var f, obj = {
|
|
45769
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
45770
|
+
proto.game.CollectionSnapshotItem.toObject, includeInstance)
|
|
45771
|
+
};
|
|
45772
|
+
|
|
45773
|
+
if (includeInstance) {
|
|
45774
|
+
obj.$jspbMessageInstance = msg;
|
|
45775
|
+
}
|
|
45776
|
+
return obj;
|
|
45777
|
+
};
|
|
45778
|
+
}
|
|
45779
|
+
|
|
45780
|
+
|
|
45781
|
+
/**
|
|
45782
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45783
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45784
|
+
* @return {!proto.game.CollectionSnapshotItemsResponse}
|
|
45785
|
+
*/
|
|
45786
|
+
proto.game.CollectionSnapshotItemsResponse.deserializeBinary = function(bytes) {
|
|
45787
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45788
|
+
var msg = new proto.game.CollectionSnapshotItemsResponse;
|
|
45789
|
+
return proto.game.CollectionSnapshotItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
45790
|
+
};
|
|
45791
|
+
|
|
45792
|
+
|
|
45793
|
+
/**
|
|
45794
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45795
|
+
* given reader into the given message object.
|
|
45796
|
+
* @param {!proto.game.CollectionSnapshotItemsResponse} msg The message object to deserialize into.
|
|
45797
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45798
|
+
* @return {!proto.game.CollectionSnapshotItemsResponse}
|
|
45799
|
+
*/
|
|
45800
|
+
proto.game.CollectionSnapshotItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
45801
|
+
while (reader.nextField()) {
|
|
45802
|
+
if (reader.isEndGroup()) {
|
|
45803
|
+
break;
|
|
45804
|
+
}
|
|
45805
|
+
var field = reader.getFieldNumber();
|
|
45806
|
+
switch (field) {
|
|
45807
|
+
case 1:
|
|
45808
|
+
var value = new proto.game.CollectionSnapshotItem;
|
|
45809
|
+
reader.readMessage(value,proto.game.CollectionSnapshotItem.deserializeBinaryFromReader);
|
|
45810
|
+
msg.addItems(value);
|
|
45811
|
+
break;
|
|
45812
|
+
default:
|
|
45813
|
+
reader.skipField();
|
|
45814
|
+
break;
|
|
45815
|
+
}
|
|
45816
|
+
}
|
|
45817
|
+
return msg;
|
|
45818
|
+
};
|
|
45819
|
+
|
|
45820
|
+
|
|
45821
|
+
/**
|
|
45822
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45823
|
+
* @return {!Uint8Array}
|
|
45824
|
+
*/
|
|
45825
|
+
proto.game.CollectionSnapshotItemsResponse.prototype.serializeBinary = function() {
|
|
45826
|
+
var writer = new jspb.BinaryWriter();
|
|
45827
|
+
proto.game.CollectionSnapshotItemsResponse.serializeBinaryToWriter(this, writer);
|
|
45828
|
+
return writer.getResultBuffer();
|
|
45829
|
+
};
|
|
45830
|
+
|
|
45831
|
+
|
|
45832
|
+
/**
|
|
45833
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45834
|
+
* format), writing to the given BinaryWriter.
|
|
45835
|
+
* @param {!proto.game.CollectionSnapshotItemsResponse} message
|
|
45836
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45837
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45838
|
+
*/
|
|
45839
|
+
proto.game.CollectionSnapshotItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
45840
|
+
var f = undefined;
|
|
45841
|
+
f = message.getItemsList();
|
|
45842
|
+
if (f.length > 0) {
|
|
45843
|
+
writer.writeRepeatedMessage(
|
|
45844
|
+
1,
|
|
45845
|
+
f,
|
|
45846
|
+
proto.game.CollectionSnapshotItem.serializeBinaryToWriter
|
|
45847
|
+
);
|
|
45848
|
+
}
|
|
45849
|
+
};
|
|
45850
|
+
|
|
45851
|
+
|
|
45852
|
+
/**
|
|
45853
|
+
* repeated CollectionSnapshotItem items = 1;
|
|
45854
|
+
* @return {!Array<!proto.game.CollectionSnapshotItem>}
|
|
45855
|
+
*/
|
|
45856
|
+
proto.game.CollectionSnapshotItemsResponse.prototype.getItemsList = function() {
|
|
45857
|
+
return /** @type{!Array<!proto.game.CollectionSnapshotItem>} */ (
|
|
45858
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.CollectionSnapshotItem, 1));
|
|
45859
|
+
};
|
|
45860
|
+
|
|
45861
|
+
|
|
45862
|
+
/**
|
|
45863
|
+
* @param {!Array<!proto.game.CollectionSnapshotItem>} value
|
|
45864
|
+
* @return {!proto.game.CollectionSnapshotItemsResponse} returns this
|
|
45865
|
+
*/
|
|
45866
|
+
proto.game.CollectionSnapshotItemsResponse.prototype.setItemsList = function(value) {
|
|
45867
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
45868
|
+
};
|
|
45869
|
+
|
|
45870
|
+
|
|
45871
|
+
/**
|
|
45872
|
+
* @param {!proto.game.CollectionSnapshotItem=} opt_value
|
|
45873
|
+
* @param {number=} opt_index
|
|
45874
|
+
* @return {!proto.game.CollectionSnapshotItem}
|
|
45875
|
+
*/
|
|
45876
|
+
proto.game.CollectionSnapshotItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
45877
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.CollectionSnapshotItem, opt_index);
|
|
45878
|
+
};
|
|
45879
|
+
|
|
45880
|
+
|
|
45881
|
+
/**
|
|
45882
|
+
* Clears the list making it empty but non-null.
|
|
45883
|
+
* @return {!proto.game.CollectionSnapshotItemsResponse} returns this
|
|
45884
|
+
*/
|
|
45885
|
+
proto.game.CollectionSnapshotItemsResponse.prototype.clearItemsList = function() {
|
|
45886
|
+
return this.setItemsList([]);
|
|
45887
|
+
};
|
|
45888
|
+
|
|
45889
|
+
|
|
45890
|
+
|
|
45891
|
+
/**
|
|
45892
|
+
* List of repeated fields within this message type.
|
|
45893
|
+
* @private {!Array<number>}
|
|
45894
|
+
* @const
|
|
45895
|
+
*/
|
|
45896
|
+
proto.game.GetTagSnapshotsByIdsRequest.repeatedFields_ = [1];
|
|
45897
|
+
|
|
45898
|
+
|
|
45899
|
+
|
|
45900
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45901
|
+
/**
|
|
45902
|
+
* Creates an object representation of this proto.
|
|
45903
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45904
|
+
* Optional fields that are not set will be set to undefined.
|
|
45905
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45906
|
+
* For the list of reserved names please see:
|
|
45907
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45908
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45909
|
+
* JSPB instance for transitional soy proto support:
|
|
45910
|
+
* http://goto/soy-param-migration
|
|
45911
|
+
* @return {!Object}
|
|
45912
|
+
*/
|
|
45913
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
45914
|
+
return proto.game.GetTagSnapshotsByIdsRequest.toObject(opt_includeInstance, this);
|
|
45915
|
+
};
|
|
45916
|
+
|
|
45917
|
+
|
|
45918
|
+
/**
|
|
45919
|
+
* Static version of the {@see toObject} method.
|
|
45920
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45921
|
+
* the JSPB instance for transitional soy proto support:
|
|
45922
|
+
* http://goto/soy-param-migration
|
|
45923
|
+
* @param {!proto.game.GetTagSnapshotsByIdsRequest} msg The msg instance to transform.
|
|
45924
|
+
* @return {!Object}
|
|
45925
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45926
|
+
*/
|
|
45927
|
+
proto.game.GetTagSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
45928
|
+
var f, obj = {
|
|
45929
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
45930
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
45931
|
+
};
|
|
45932
|
+
|
|
45933
|
+
if (includeInstance) {
|
|
45934
|
+
obj.$jspbMessageInstance = msg;
|
|
45935
|
+
}
|
|
45936
|
+
return obj;
|
|
45937
|
+
};
|
|
45938
|
+
}
|
|
45939
|
+
|
|
45940
|
+
|
|
45941
|
+
/**
|
|
45942
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45943
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45944
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest}
|
|
45945
|
+
*/
|
|
45946
|
+
proto.game.GetTagSnapshotsByIdsRequest.deserializeBinary = function(bytes) {
|
|
45947
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45948
|
+
var msg = new proto.game.GetTagSnapshotsByIdsRequest;
|
|
45949
|
+
return proto.game.GetTagSnapshotsByIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
45950
|
+
};
|
|
45951
|
+
|
|
45952
|
+
|
|
45953
|
+
/**
|
|
45954
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45955
|
+
* given reader into the given message object.
|
|
45956
|
+
* @param {!proto.game.GetTagSnapshotsByIdsRequest} msg The message object to deserialize into.
|
|
45957
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45958
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest}
|
|
45959
|
+
*/
|
|
45960
|
+
proto.game.GetTagSnapshotsByIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
45961
|
+
while (reader.nextField()) {
|
|
45962
|
+
if (reader.isEndGroup()) {
|
|
45963
|
+
break;
|
|
45964
|
+
}
|
|
45965
|
+
var field = reader.getFieldNumber();
|
|
45966
|
+
switch (field) {
|
|
45967
|
+
case 1:
|
|
45968
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
45969
|
+
for (var i = 0; i < values.length; i++) {
|
|
45970
|
+
msg.addIds(values[i]);
|
|
45971
|
+
}
|
|
45972
|
+
break;
|
|
45973
|
+
case 2:
|
|
45974
|
+
var value = /** @type {string} */ (reader.readString());
|
|
45975
|
+
msg.setLocale(value);
|
|
45976
|
+
break;
|
|
45977
|
+
default:
|
|
45978
|
+
reader.skipField();
|
|
45979
|
+
break;
|
|
45980
|
+
}
|
|
45981
|
+
}
|
|
45982
|
+
return msg;
|
|
45983
|
+
};
|
|
45984
|
+
|
|
45985
|
+
|
|
45986
|
+
/**
|
|
45987
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45988
|
+
* @return {!Uint8Array}
|
|
45989
|
+
*/
|
|
45990
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.serializeBinary = function() {
|
|
45991
|
+
var writer = new jspb.BinaryWriter();
|
|
45992
|
+
proto.game.GetTagSnapshotsByIdsRequest.serializeBinaryToWriter(this, writer);
|
|
45993
|
+
return writer.getResultBuffer();
|
|
45994
|
+
};
|
|
45995
|
+
|
|
45996
|
+
|
|
45997
|
+
/**
|
|
45998
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45999
|
+
* format), writing to the given BinaryWriter.
|
|
46000
|
+
* @param {!proto.game.GetTagSnapshotsByIdsRequest} message
|
|
46001
|
+
* @param {!jspb.BinaryWriter} writer
|
|
46002
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
46003
|
+
*/
|
|
46004
|
+
proto.game.GetTagSnapshotsByIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
46005
|
+
var f = undefined;
|
|
46006
|
+
f = message.getIdsList();
|
|
46007
|
+
if (f.length > 0) {
|
|
46008
|
+
writer.writePackedInt32(
|
|
46009
|
+
1,
|
|
46010
|
+
f
|
|
46011
|
+
);
|
|
46012
|
+
}
|
|
46013
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
46014
|
+
if (f != null) {
|
|
46015
|
+
writer.writeString(
|
|
46016
|
+
2,
|
|
46017
|
+
f
|
|
46018
|
+
);
|
|
46019
|
+
}
|
|
46020
|
+
};
|
|
46021
|
+
|
|
46022
|
+
|
|
46023
|
+
/**
|
|
46024
|
+
* repeated int32 ids = 1;
|
|
46025
|
+
* @return {!Array<number>}
|
|
46026
|
+
*/
|
|
46027
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.getIdsList = function() {
|
|
46028
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
46029
|
+
};
|
|
46030
|
+
|
|
46031
|
+
|
|
46032
|
+
/**
|
|
46033
|
+
* @param {!Array<number>} value
|
|
46034
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest} returns this
|
|
46035
|
+
*/
|
|
46036
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.setIdsList = function(value) {
|
|
46037
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
46038
|
+
};
|
|
46039
|
+
|
|
46040
|
+
|
|
46041
|
+
/**
|
|
46042
|
+
* @param {number} value
|
|
46043
|
+
* @param {number=} opt_index
|
|
46044
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest} returns this
|
|
46045
|
+
*/
|
|
46046
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.addIds = function(value, opt_index) {
|
|
46047
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
46048
|
+
};
|
|
46049
|
+
|
|
46050
|
+
|
|
46051
|
+
/**
|
|
46052
|
+
* Clears the list making it empty but non-null.
|
|
46053
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest} returns this
|
|
46054
|
+
*/
|
|
46055
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.clearIdsList = function() {
|
|
46056
|
+
return this.setIdsList([]);
|
|
46057
|
+
};
|
|
46058
|
+
|
|
46059
|
+
|
|
46060
|
+
/**
|
|
46061
|
+
* optional string locale = 2;
|
|
46062
|
+
* @return {string}
|
|
46063
|
+
*/
|
|
46064
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.getLocale = function() {
|
|
46065
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
46066
|
+
};
|
|
46067
|
+
|
|
46068
|
+
|
|
46069
|
+
/**
|
|
46070
|
+
* @param {string} value
|
|
46071
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest} returns this
|
|
46072
|
+
*/
|
|
46073
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.setLocale = function(value) {
|
|
46074
|
+
return jspb.Message.setField(this, 2, value);
|
|
46075
|
+
};
|
|
46076
|
+
|
|
46077
|
+
|
|
46078
|
+
/**
|
|
46079
|
+
* Clears the field making it undefined.
|
|
46080
|
+
* @return {!proto.game.GetTagSnapshotsByIdsRequest} returns this
|
|
46081
|
+
*/
|
|
46082
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.clearLocale = function() {
|
|
46083
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
46084
|
+
};
|
|
46085
|
+
|
|
46086
|
+
|
|
46087
|
+
/**
|
|
46088
|
+
* Returns whether this field is set.
|
|
46089
|
+
* @return {boolean}
|
|
46090
|
+
*/
|
|
46091
|
+
proto.game.GetTagSnapshotsByIdsRequest.prototype.hasLocale = function() {
|
|
46092
|
+
return jspb.Message.getField(this, 2) != null;
|
|
46093
|
+
};
|
|
46094
|
+
|
|
46095
|
+
|
|
46096
|
+
|
|
46097
|
+
|
|
46098
|
+
|
|
46099
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
46100
|
+
/**
|
|
46101
|
+
* Creates an object representation of this proto.
|
|
46102
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
46103
|
+
* Optional fields that are not set will be set to undefined.
|
|
46104
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
46105
|
+
* For the list of reserved names please see:
|
|
46106
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
46107
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
46108
|
+
* JSPB instance for transitional soy proto support:
|
|
46109
|
+
* http://goto/soy-param-migration
|
|
46110
|
+
* @return {!Object}
|
|
46111
|
+
*/
|
|
46112
|
+
proto.game.TagSnapshotItem.prototype.toObject = function(opt_includeInstance) {
|
|
46113
|
+
return proto.game.TagSnapshotItem.toObject(opt_includeInstance, this);
|
|
46114
|
+
};
|
|
46115
|
+
|
|
46116
|
+
|
|
46117
|
+
/**
|
|
46118
|
+
* Static version of the {@see toObject} method.
|
|
46119
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
46120
|
+
* the JSPB instance for transitional soy proto support:
|
|
46121
|
+
* http://goto/soy-param-migration
|
|
46122
|
+
* @param {!proto.game.TagSnapshotItem} msg The msg instance to transform.
|
|
46123
|
+
* @return {!Object}
|
|
46124
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
46125
|
+
*/
|
|
46126
|
+
proto.game.TagSnapshotItem.toObject = function(includeInstance, msg) {
|
|
46127
|
+
var f, obj = {
|
|
46128
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
46129
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
46130
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
46131
|
+
image: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
46132
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
46133
|
+
countOfGames: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
46134
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
46135
|
+
};
|
|
46136
|
+
|
|
46137
|
+
if (includeInstance) {
|
|
46138
|
+
obj.$jspbMessageInstance = msg;
|
|
46139
|
+
}
|
|
46140
|
+
return obj;
|
|
46141
|
+
};
|
|
46142
|
+
}
|
|
46143
|
+
|
|
46144
|
+
|
|
46145
|
+
/**
|
|
46146
|
+
* Deserializes binary data (in protobuf wire format).
|
|
46147
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
46148
|
+
* @return {!proto.game.TagSnapshotItem}
|
|
46149
|
+
*/
|
|
46150
|
+
proto.game.TagSnapshotItem.deserializeBinary = function(bytes) {
|
|
46151
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
46152
|
+
var msg = new proto.game.TagSnapshotItem;
|
|
46153
|
+
return proto.game.TagSnapshotItem.deserializeBinaryFromReader(msg, reader);
|
|
46154
|
+
};
|
|
46155
|
+
|
|
46156
|
+
|
|
46157
|
+
/**
|
|
46158
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
46159
|
+
* given reader into the given message object.
|
|
46160
|
+
* @param {!proto.game.TagSnapshotItem} msg The message object to deserialize into.
|
|
46161
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
46162
|
+
* @return {!proto.game.TagSnapshotItem}
|
|
46163
|
+
*/
|
|
46164
|
+
proto.game.TagSnapshotItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
46165
|
+
while (reader.nextField()) {
|
|
46166
|
+
if (reader.isEndGroup()) {
|
|
46167
|
+
break;
|
|
46168
|
+
}
|
|
46169
|
+
var field = reader.getFieldNumber();
|
|
46170
|
+
switch (field) {
|
|
46171
|
+
case 1:
|
|
46172
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
46173
|
+
msg.setId(value);
|
|
46174
|
+
break;
|
|
46175
|
+
case 2:
|
|
46176
|
+
var value = /** @type {string} */ (reader.readString());
|
|
46177
|
+
msg.setTitle(value);
|
|
46178
|
+
break;
|
|
46179
|
+
case 3:
|
|
46180
|
+
var value = /** @type {string} */ (reader.readString());
|
|
46181
|
+
msg.setSlug(value);
|
|
46182
|
+
break;
|
|
46183
|
+
case 4:
|
|
46184
|
+
var value = /** @type {string} */ (reader.readString());
|
|
46185
|
+
msg.setImage(value);
|
|
46186
|
+
break;
|
|
46187
|
+
case 5:
|
|
46188
|
+
var value = /** @type {string} */ (reader.readString());
|
|
46189
|
+
msg.setImageCdn(value);
|
|
46190
|
+
break;
|
|
46191
|
+
case 6:
|
|
46192
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
46193
|
+
msg.setCountOfGames(value);
|
|
46194
|
+
break;
|
|
46195
|
+
case 7:
|
|
46196
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
46197
|
+
msg.setIsActive(value);
|
|
46198
|
+
break;
|
|
46199
|
+
default:
|
|
46200
|
+
reader.skipField();
|
|
46201
|
+
break;
|
|
46202
|
+
}
|
|
46203
|
+
}
|
|
46204
|
+
return msg;
|
|
46205
|
+
};
|
|
46206
|
+
|
|
46207
|
+
|
|
46208
|
+
/**
|
|
46209
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
46210
|
+
* @return {!Uint8Array}
|
|
46211
|
+
*/
|
|
46212
|
+
proto.game.TagSnapshotItem.prototype.serializeBinary = function() {
|
|
46213
|
+
var writer = new jspb.BinaryWriter();
|
|
46214
|
+
proto.game.TagSnapshotItem.serializeBinaryToWriter(this, writer);
|
|
46215
|
+
return writer.getResultBuffer();
|
|
46216
|
+
};
|
|
46217
|
+
|
|
46218
|
+
|
|
46219
|
+
/**
|
|
46220
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
46221
|
+
* format), writing to the given BinaryWriter.
|
|
46222
|
+
* @param {!proto.game.TagSnapshotItem} message
|
|
46223
|
+
* @param {!jspb.BinaryWriter} writer
|
|
46224
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
46225
|
+
*/
|
|
46226
|
+
proto.game.TagSnapshotItem.serializeBinaryToWriter = function(message, writer) {
|
|
46227
|
+
var f = undefined;
|
|
46228
|
+
f = message.getId();
|
|
46229
|
+
if (f !== 0) {
|
|
46230
|
+
writer.writeInt32(
|
|
46231
|
+
1,
|
|
46232
|
+
f
|
|
46233
|
+
);
|
|
46234
|
+
}
|
|
46235
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
46236
|
+
if (f != null) {
|
|
46237
|
+
writer.writeString(
|
|
46238
|
+
2,
|
|
46239
|
+
f
|
|
46240
|
+
);
|
|
46241
|
+
}
|
|
46242
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
46243
|
+
if (f != null) {
|
|
46244
|
+
writer.writeString(
|
|
46245
|
+
3,
|
|
46246
|
+
f
|
|
46247
|
+
);
|
|
46248
|
+
}
|
|
46249
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
46250
|
+
if (f != null) {
|
|
46251
|
+
writer.writeString(
|
|
46252
|
+
4,
|
|
46253
|
+
f
|
|
46254
|
+
);
|
|
46255
|
+
}
|
|
46256
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
46257
|
+
if (f != null) {
|
|
46258
|
+
writer.writeString(
|
|
46259
|
+
5,
|
|
46260
|
+
f
|
|
46261
|
+
);
|
|
46262
|
+
}
|
|
46263
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
46264
|
+
if (f != null) {
|
|
46265
|
+
writer.writeInt32(
|
|
46266
|
+
6,
|
|
46267
|
+
f
|
|
46268
|
+
);
|
|
46269
|
+
}
|
|
46270
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
46271
|
+
if (f != null) {
|
|
46272
|
+
writer.writeInt32(
|
|
46273
|
+
7,
|
|
46274
|
+
f
|
|
46275
|
+
);
|
|
46276
|
+
}
|
|
46277
|
+
};
|
|
46278
|
+
|
|
46279
|
+
|
|
46280
|
+
/**
|
|
46281
|
+
* optional int32 id = 1;
|
|
46282
|
+
* @return {number}
|
|
46283
|
+
*/
|
|
46284
|
+
proto.game.TagSnapshotItem.prototype.getId = function() {
|
|
46285
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
46286
|
+
};
|
|
46287
|
+
|
|
46288
|
+
|
|
46289
|
+
/**
|
|
46290
|
+
* @param {number} value
|
|
46291
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46292
|
+
*/
|
|
46293
|
+
proto.game.TagSnapshotItem.prototype.setId = function(value) {
|
|
46294
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
46295
|
+
};
|
|
46296
|
+
|
|
46297
|
+
|
|
46298
|
+
/**
|
|
46299
|
+
* optional string title = 2;
|
|
46300
|
+
* @return {string}
|
|
46301
|
+
*/
|
|
46302
|
+
proto.game.TagSnapshotItem.prototype.getTitle = function() {
|
|
46303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
46304
|
+
};
|
|
46305
|
+
|
|
46306
|
+
|
|
46307
|
+
/**
|
|
46308
|
+
* @param {string} value
|
|
46309
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46310
|
+
*/
|
|
46311
|
+
proto.game.TagSnapshotItem.prototype.setTitle = function(value) {
|
|
46312
|
+
return jspb.Message.setField(this, 2, value);
|
|
46313
|
+
};
|
|
46314
|
+
|
|
46315
|
+
|
|
46316
|
+
/**
|
|
46317
|
+
* Clears the field making it undefined.
|
|
46318
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46319
|
+
*/
|
|
46320
|
+
proto.game.TagSnapshotItem.prototype.clearTitle = function() {
|
|
46321
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
46322
|
+
};
|
|
46323
|
+
|
|
46324
|
+
|
|
46325
|
+
/**
|
|
46326
|
+
* Returns whether this field is set.
|
|
46327
|
+
* @return {boolean}
|
|
46328
|
+
*/
|
|
46329
|
+
proto.game.TagSnapshotItem.prototype.hasTitle = function() {
|
|
46330
|
+
return jspb.Message.getField(this, 2) != null;
|
|
46331
|
+
};
|
|
46332
|
+
|
|
46333
|
+
|
|
46334
|
+
/**
|
|
46335
|
+
* optional string slug = 3;
|
|
46336
|
+
* @return {string}
|
|
46337
|
+
*/
|
|
46338
|
+
proto.game.TagSnapshotItem.prototype.getSlug = function() {
|
|
46339
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
46340
|
+
};
|
|
46341
|
+
|
|
46342
|
+
|
|
46343
|
+
/**
|
|
46344
|
+
* @param {string} value
|
|
46345
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46346
|
+
*/
|
|
46347
|
+
proto.game.TagSnapshotItem.prototype.setSlug = function(value) {
|
|
46348
|
+
return jspb.Message.setField(this, 3, value);
|
|
46349
|
+
};
|
|
46350
|
+
|
|
46351
|
+
|
|
46352
|
+
/**
|
|
46353
|
+
* Clears the field making it undefined.
|
|
46354
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46355
|
+
*/
|
|
46356
|
+
proto.game.TagSnapshotItem.prototype.clearSlug = function() {
|
|
46357
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
46358
|
+
};
|
|
46359
|
+
|
|
46360
|
+
|
|
46361
|
+
/**
|
|
46362
|
+
* Returns whether this field is set.
|
|
46363
|
+
* @return {boolean}
|
|
46364
|
+
*/
|
|
46365
|
+
proto.game.TagSnapshotItem.prototype.hasSlug = function() {
|
|
46366
|
+
return jspb.Message.getField(this, 3) != null;
|
|
46367
|
+
};
|
|
46368
|
+
|
|
46369
|
+
|
|
46370
|
+
/**
|
|
46371
|
+
* optional string image = 4;
|
|
46372
|
+
* @return {string}
|
|
46373
|
+
*/
|
|
46374
|
+
proto.game.TagSnapshotItem.prototype.getImage = function() {
|
|
46375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
46376
|
+
};
|
|
46377
|
+
|
|
46378
|
+
|
|
46379
|
+
/**
|
|
46380
|
+
* @param {string} value
|
|
46381
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46382
|
+
*/
|
|
46383
|
+
proto.game.TagSnapshotItem.prototype.setImage = function(value) {
|
|
46384
|
+
return jspb.Message.setField(this, 4, value);
|
|
46385
|
+
};
|
|
46386
|
+
|
|
46387
|
+
|
|
46388
|
+
/**
|
|
46389
|
+
* Clears the field making it undefined.
|
|
46390
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46391
|
+
*/
|
|
46392
|
+
proto.game.TagSnapshotItem.prototype.clearImage = function() {
|
|
46393
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
46394
|
+
};
|
|
46395
|
+
|
|
46396
|
+
|
|
46397
|
+
/**
|
|
46398
|
+
* Returns whether this field is set.
|
|
46399
|
+
* @return {boolean}
|
|
46400
|
+
*/
|
|
46401
|
+
proto.game.TagSnapshotItem.prototype.hasImage = function() {
|
|
46402
|
+
return jspb.Message.getField(this, 4) != null;
|
|
46403
|
+
};
|
|
46404
|
+
|
|
46405
|
+
|
|
46406
|
+
/**
|
|
46407
|
+
* optional string image_cdn = 5;
|
|
46408
|
+
* @return {string}
|
|
46409
|
+
*/
|
|
46410
|
+
proto.game.TagSnapshotItem.prototype.getImageCdn = function() {
|
|
46411
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
46412
|
+
};
|
|
46413
|
+
|
|
46414
|
+
|
|
46415
|
+
/**
|
|
46416
|
+
* @param {string} value
|
|
46417
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46418
|
+
*/
|
|
46419
|
+
proto.game.TagSnapshotItem.prototype.setImageCdn = function(value) {
|
|
46420
|
+
return jspb.Message.setField(this, 5, value);
|
|
46421
|
+
};
|
|
46422
|
+
|
|
46423
|
+
|
|
46424
|
+
/**
|
|
46425
|
+
* Clears the field making it undefined.
|
|
46426
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46427
|
+
*/
|
|
46428
|
+
proto.game.TagSnapshotItem.prototype.clearImageCdn = function() {
|
|
46429
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
46430
|
+
};
|
|
46431
|
+
|
|
46432
|
+
|
|
46433
|
+
/**
|
|
46434
|
+
* Returns whether this field is set.
|
|
46435
|
+
* @return {boolean}
|
|
46436
|
+
*/
|
|
46437
|
+
proto.game.TagSnapshotItem.prototype.hasImageCdn = function() {
|
|
46438
|
+
return jspb.Message.getField(this, 5) != null;
|
|
46439
|
+
};
|
|
46440
|
+
|
|
46441
|
+
|
|
46442
|
+
/**
|
|
46443
|
+
* optional int32 count_of_games = 6;
|
|
46444
|
+
* @return {number}
|
|
46445
|
+
*/
|
|
46446
|
+
proto.game.TagSnapshotItem.prototype.getCountOfGames = function() {
|
|
46447
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
46448
|
+
};
|
|
46449
|
+
|
|
46450
|
+
|
|
46451
|
+
/**
|
|
46452
|
+
* @param {number} value
|
|
46453
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46454
|
+
*/
|
|
46455
|
+
proto.game.TagSnapshotItem.prototype.setCountOfGames = function(value) {
|
|
46456
|
+
return jspb.Message.setField(this, 6, value);
|
|
46457
|
+
};
|
|
46458
|
+
|
|
46459
|
+
|
|
46460
|
+
/**
|
|
46461
|
+
* Clears the field making it undefined.
|
|
46462
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46463
|
+
*/
|
|
46464
|
+
proto.game.TagSnapshotItem.prototype.clearCountOfGames = function() {
|
|
46465
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
46466
|
+
};
|
|
46467
|
+
|
|
46468
|
+
|
|
46469
|
+
/**
|
|
46470
|
+
* Returns whether this field is set.
|
|
46471
|
+
* @return {boolean}
|
|
46472
|
+
*/
|
|
46473
|
+
proto.game.TagSnapshotItem.prototype.hasCountOfGames = function() {
|
|
46474
|
+
return jspb.Message.getField(this, 6) != null;
|
|
46475
|
+
};
|
|
46476
|
+
|
|
46477
|
+
|
|
46478
|
+
/**
|
|
46479
|
+
* optional int32 is_active = 7;
|
|
46480
|
+
* @return {number}
|
|
46481
|
+
*/
|
|
46482
|
+
proto.game.TagSnapshotItem.prototype.getIsActive = function() {
|
|
46483
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
46484
|
+
};
|
|
46485
|
+
|
|
46486
|
+
|
|
46487
|
+
/**
|
|
46488
|
+
* @param {number} value
|
|
46489
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46490
|
+
*/
|
|
46491
|
+
proto.game.TagSnapshotItem.prototype.setIsActive = function(value) {
|
|
46492
|
+
return jspb.Message.setField(this, 7, value);
|
|
46493
|
+
};
|
|
46494
|
+
|
|
46495
|
+
|
|
46496
|
+
/**
|
|
46497
|
+
* Clears the field making it undefined.
|
|
46498
|
+
* @return {!proto.game.TagSnapshotItem} returns this
|
|
46499
|
+
*/
|
|
46500
|
+
proto.game.TagSnapshotItem.prototype.clearIsActive = function() {
|
|
46501
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
46502
|
+
};
|
|
46503
|
+
|
|
46504
|
+
|
|
46505
|
+
/**
|
|
46506
|
+
* Returns whether this field is set.
|
|
46507
|
+
* @return {boolean}
|
|
46508
|
+
*/
|
|
46509
|
+
proto.game.TagSnapshotItem.prototype.hasIsActive = function() {
|
|
46510
|
+
return jspb.Message.getField(this, 7) != null;
|
|
46511
|
+
};
|
|
46512
|
+
|
|
46513
|
+
|
|
46514
|
+
|
|
46515
|
+
/**
|
|
46516
|
+
* List of repeated fields within this message type.
|
|
46517
|
+
* @private {!Array<number>}
|
|
46518
|
+
* @const
|
|
46519
|
+
*/
|
|
46520
|
+
proto.game.TagSnapshotItemsResponse.repeatedFields_ = [1];
|
|
46521
|
+
|
|
46522
|
+
|
|
46523
|
+
|
|
46524
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
46525
|
+
/**
|
|
46526
|
+
* Creates an object representation of this proto.
|
|
46527
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
46528
|
+
* Optional fields that are not set will be set to undefined.
|
|
46529
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
46530
|
+
* For the list of reserved names please see:
|
|
46531
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
46532
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
46533
|
+
* JSPB instance for transitional soy proto support:
|
|
46534
|
+
* http://goto/soy-param-migration
|
|
46535
|
+
* @return {!Object}
|
|
46536
|
+
*/
|
|
46537
|
+
proto.game.TagSnapshotItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
46538
|
+
return proto.game.TagSnapshotItemsResponse.toObject(opt_includeInstance, this);
|
|
46539
|
+
};
|
|
46540
|
+
|
|
46541
|
+
|
|
46542
|
+
/**
|
|
46543
|
+
* Static version of the {@see toObject} method.
|
|
46544
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
46545
|
+
* the JSPB instance for transitional soy proto support:
|
|
46546
|
+
* http://goto/soy-param-migration
|
|
46547
|
+
* @param {!proto.game.TagSnapshotItemsResponse} msg The msg instance to transform.
|
|
46548
|
+
* @return {!Object}
|
|
46549
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
46550
|
+
*/
|
|
46551
|
+
proto.game.TagSnapshotItemsResponse.toObject = function(includeInstance, msg) {
|
|
46552
|
+
var f, obj = {
|
|
46553
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
46554
|
+
proto.game.TagSnapshotItem.toObject, includeInstance)
|
|
46555
|
+
};
|
|
46556
|
+
|
|
46557
|
+
if (includeInstance) {
|
|
46558
|
+
obj.$jspbMessageInstance = msg;
|
|
46559
|
+
}
|
|
46560
|
+
return obj;
|
|
46561
|
+
};
|
|
46562
|
+
}
|
|
46563
|
+
|
|
46564
|
+
|
|
46565
|
+
/**
|
|
46566
|
+
* Deserializes binary data (in protobuf wire format).
|
|
46567
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
46568
|
+
* @return {!proto.game.TagSnapshotItemsResponse}
|
|
46569
|
+
*/
|
|
46570
|
+
proto.game.TagSnapshotItemsResponse.deserializeBinary = function(bytes) {
|
|
46571
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
46572
|
+
var msg = new proto.game.TagSnapshotItemsResponse;
|
|
46573
|
+
return proto.game.TagSnapshotItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
46574
|
+
};
|
|
46575
|
+
|
|
46576
|
+
|
|
46577
|
+
/**
|
|
46578
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
46579
|
+
* given reader into the given message object.
|
|
46580
|
+
* @param {!proto.game.TagSnapshotItemsResponse} msg The message object to deserialize into.
|
|
46581
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
46582
|
+
* @return {!proto.game.TagSnapshotItemsResponse}
|
|
46583
|
+
*/
|
|
46584
|
+
proto.game.TagSnapshotItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
46585
|
+
while (reader.nextField()) {
|
|
46586
|
+
if (reader.isEndGroup()) {
|
|
46587
|
+
break;
|
|
46588
|
+
}
|
|
46589
|
+
var field = reader.getFieldNumber();
|
|
46590
|
+
switch (field) {
|
|
46591
|
+
case 1:
|
|
46592
|
+
var value = new proto.game.TagSnapshotItem;
|
|
46593
|
+
reader.readMessage(value,proto.game.TagSnapshotItem.deserializeBinaryFromReader);
|
|
46594
|
+
msg.addItems(value);
|
|
46595
|
+
break;
|
|
46596
|
+
default:
|
|
46597
|
+
reader.skipField();
|
|
46598
|
+
break;
|
|
46599
|
+
}
|
|
46600
|
+
}
|
|
46601
|
+
return msg;
|
|
46602
|
+
};
|
|
46603
|
+
|
|
46604
|
+
|
|
46605
|
+
/**
|
|
46606
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
46607
|
+
* @return {!Uint8Array}
|
|
46608
|
+
*/
|
|
46609
|
+
proto.game.TagSnapshotItemsResponse.prototype.serializeBinary = function() {
|
|
46610
|
+
var writer = new jspb.BinaryWriter();
|
|
46611
|
+
proto.game.TagSnapshotItemsResponse.serializeBinaryToWriter(this, writer);
|
|
46612
|
+
return writer.getResultBuffer();
|
|
46613
|
+
};
|
|
46614
|
+
|
|
46615
|
+
|
|
46616
|
+
/**
|
|
46617
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
46618
|
+
* format), writing to the given BinaryWriter.
|
|
46619
|
+
* @param {!proto.game.TagSnapshotItemsResponse} message
|
|
46620
|
+
* @param {!jspb.BinaryWriter} writer
|
|
46621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
46622
|
+
*/
|
|
46623
|
+
proto.game.TagSnapshotItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
46624
|
+
var f = undefined;
|
|
46625
|
+
f = message.getItemsList();
|
|
46626
|
+
if (f.length > 0) {
|
|
46627
|
+
writer.writeRepeatedMessage(
|
|
46628
|
+
1,
|
|
46629
|
+
f,
|
|
46630
|
+
proto.game.TagSnapshotItem.serializeBinaryToWriter
|
|
46631
|
+
);
|
|
46632
|
+
}
|
|
46633
|
+
};
|
|
46634
|
+
|
|
46635
|
+
|
|
46636
|
+
/**
|
|
46637
|
+
* repeated TagSnapshotItem items = 1;
|
|
46638
|
+
* @return {!Array<!proto.game.TagSnapshotItem>}
|
|
46639
|
+
*/
|
|
46640
|
+
proto.game.TagSnapshotItemsResponse.prototype.getItemsList = function() {
|
|
46641
|
+
return /** @type{!Array<!proto.game.TagSnapshotItem>} */ (
|
|
46642
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.TagSnapshotItem, 1));
|
|
46643
|
+
};
|
|
46644
|
+
|
|
46645
|
+
|
|
46646
|
+
/**
|
|
46647
|
+
* @param {!Array<!proto.game.TagSnapshotItem>} value
|
|
46648
|
+
* @return {!proto.game.TagSnapshotItemsResponse} returns this
|
|
46649
|
+
*/
|
|
46650
|
+
proto.game.TagSnapshotItemsResponse.prototype.setItemsList = function(value) {
|
|
46651
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
46652
|
+
};
|
|
46653
|
+
|
|
46654
|
+
|
|
46655
|
+
/**
|
|
46656
|
+
* @param {!proto.game.TagSnapshotItem=} opt_value
|
|
46657
|
+
* @param {number=} opt_index
|
|
46658
|
+
* @return {!proto.game.TagSnapshotItem}
|
|
46659
|
+
*/
|
|
46660
|
+
proto.game.TagSnapshotItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
46661
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.TagSnapshotItem, opt_index);
|
|
46662
|
+
};
|
|
46663
|
+
|
|
46664
|
+
|
|
46665
|
+
/**
|
|
46666
|
+
* Clears the list making it empty but non-null.
|
|
46667
|
+
* @return {!proto.game.TagSnapshotItemsResponse} returns this
|
|
46668
|
+
*/
|
|
46669
|
+
proto.game.TagSnapshotItemsResponse.prototype.clearItemsList = function() {
|
|
46670
|
+
return this.setItemsList([]);
|
|
46671
|
+
};
|
|
46672
|
+
|
|
46673
|
+
|
|
44028
46674
|
/**
|
|
44029
46675
|
* @enum {number}
|
|
44030
46676
|
*/
|