protobuf-platform 1.1.26 → 1.1.28

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.
@@ -23,6 +23,8 @@ var global = (function() {
23
23
 
24
24
  goog.exportSymbol('proto.analytic.DepositItem', null, global);
25
25
  goog.exportSymbol('proto.analytic.DepositsResponse', null, global);
26
+ goog.exportSymbol('proto.analytic.GameItem', null, global);
27
+ goog.exportSymbol('proto.analytic.GamesResponse', null, global);
26
28
  goog.exportSymbol('proto.analytic.GlobalCasinoItem', null, global);
27
29
  goog.exportSymbol('proto.analytic.GlobalCasinoResponse', null, global);
28
30
  goog.exportSymbol('proto.analytic.GlobalSearchRequest', null, global);
@@ -241,6 +243,48 @@ if (goog.DEBUG && !COMPILED) {
241
243
  */
242
244
  proto.analytic.DepositsResponse.displayName = 'proto.analytic.DepositsResponse';
243
245
  }
246
+ /**
247
+ * Generated by JsPbCodeGenerator.
248
+ * @param {Array=} opt_data Optional initial data array, typically from a
249
+ * server response, or constructed directly in Javascript. The array is used
250
+ * in place and becomes part of the constructed object. It is not cloned.
251
+ * If no data is provided, the constructed object will be empty, but still
252
+ * valid.
253
+ * @extends {jspb.Message}
254
+ * @constructor
255
+ */
256
+ proto.analytic.GameItem = function(opt_data) {
257
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
258
+ };
259
+ goog.inherits(proto.analytic.GameItem, jspb.Message);
260
+ if (goog.DEBUG && !COMPILED) {
261
+ /**
262
+ * @public
263
+ * @override
264
+ */
265
+ proto.analytic.GameItem.displayName = 'proto.analytic.GameItem';
266
+ }
267
+ /**
268
+ * Generated by JsPbCodeGenerator.
269
+ * @param {Array=} opt_data Optional initial data array, typically from a
270
+ * server response, or constructed directly in Javascript. The array is used
271
+ * in place and becomes part of the constructed object. It is not cloned.
272
+ * If no data is provided, the constructed object will be empty, but still
273
+ * valid.
274
+ * @extends {jspb.Message}
275
+ * @constructor
276
+ */
277
+ proto.analytic.GamesResponse = function(opt_data) {
278
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.analytic.GamesResponse.repeatedFields_, null);
279
+ };
280
+ goog.inherits(proto.analytic.GamesResponse, jspb.Message);
281
+ if (goog.DEBUG && !COMPILED) {
282
+ /**
283
+ * @public
284
+ * @override
285
+ */
286
+ proto.analytic.GamesResponse.displayName = 'proto.analytic.GamesResponse';
287
+ }
244
288
 
245
289
 
246
290
 
@@ -4226,4 +4270,1398 @@ proto.analytic.DepositsResponse.prototype.hasTotalItems = function() {
4226
4270
  };
4227
4271
 
4228
4272
 
4273
+
4274
+
4275
+
4276
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4277
+ /**
4278
+ * Creates an object representation of this proto.
4279
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4280
+ * Optional fields that are not set will be set to undefined.
4281
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4282
+ * For the list of reserved names please see:
4283
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4284
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4285
+ * JSPB instance for transitional soy proto support:
4286
+ * http://goto/soy-param-migration
4287
+ * @return {!Object}
4288
+ */
4289
+ proto.analytic.GameItem.prototype.toObject = function(opt_includeInstance) {
4290
+ return proto.analytic.GameItem.toObject(opt_includeInstance, this);
4291
+ };
4292
+
4293
+
4294
+ /**
4295
+ * Static version of the {@see toObject} method.
4296
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4297
+ * the JSPB instance for transitional soy proto support:
4298
+ * http://goto/soy-param-migration
4299
+ * @param {!proto.analytic.GameItem} msg The msg instance to transform.
4300
+ * @return {!Object}
4301
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4302
+ */
4303
+ proto.analytic.GameItem.toObject = function(includeInstance, msg) {
4304
+ var f, obj = {
4305
+ date: jspb.Message.getFieldWithDefault(msg, 1, ""),
4306
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
4307
+ gameSlug: jspb.Message.getFieldWithDefault(msg, 3, ""),
4308
+ providerTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
4309
+ providerSlug: jspb.Message.getFieldWithDefault(msg, 5, ""),
4310
+ usersCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
4311
+ betCountReal: jspb.Message.getFieldWithDefault(msg, 7, 0),
4312
+ betSumReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
4313
+ betCountBonus: jspb.Message.getFieldWithDefault(msg, 9, 0),
4314
+ betSumBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
4315
+ winCountReal: jspb.Message.getFieldWithDefault(msg, 11, 0),
4316
+ winSumReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
4317
+ winCountBonus: jspb.Message.getFieldWithDefault(msg, 13, 0),
4318
+ winSumBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
4319
+ turnoverBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
4320
+ turnoverReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
4321
+ turnoverTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
4322
+ ggrBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
4323
+ ggrReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
4324
+ ggrTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
4325
+ gameImage: jspb.Message.getFieldWithDefault(msg, 21, ""),
4326
+ providerImage: jspb.Message.getFieldWithDefault(msg, 22, "")
4327
+ };
4328
+
4329
+ if (includeInstance) {
4330
+ obj.$jspbMessageInstance = msg;
4331
+ }
4332
+ return obj;
4333
+ };
4334
+ }
4335
+
4336
+
4337
+ /**
4338
+ * Deserializes binary data (in protobuf wire format).
4339
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4340
+ * @return {!proto.analytic.GameItem}
4341
+ */
4342
+ proto.analytic.GameItem.deserializeBinary = function(bytes) {
4343
+ var reader = new jspb.BinaryReader(bytes);
4344
+ var msg = new proto.analytic.GameItem;
4345
+ return proto.analytic.GameItem.deserializeBinaryFromReader(msg, reader);
4346
+ };
4347
+
4348
+
4349
+ /**
4350
+ * Deserializes binary data (in protobuf wire format) from the
4351
+ * given reader into the given message object.
4352
+ * @param {!proto.analytic.GameItem} msg The message object to deserialize into.
4353
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4354
+ * @return {!proto.analytic.GameItem}
4355
+ */
4356
+ proto.analytic.GameItem.deserializeBinaryFromReader = function(msg, reader) {
4357
+ while (reader.nextField()) {
4358
+ if (reader.isEndGroup()) {
4359
+ break;
4360
+ }
4361
+ var field = reader.getFieldNumber();
4362
+ switch (field) {
4363
+ case 1:
4364
+ var value = /** @type {string} */ (reader.readString());
4365
+ msg.setDate(value);
4366
+ break;
4367
+ case 2:
4368
+ var value = /** @type {string} */ (reader.readString());
4369
+ msg.setGameTitle(value);
4370
+ break;
4371
+ case 3:
4372
+ var value = /** @type {string} */ (reader.readString());
4373
+ msg.setGameSlug(value);
4374
+ break;
4375
+ case 4:
4376
+ var value = /** @type {string} */ (reader.readString());
4377
+ msg.setProviderTitle(value);
4378
+ break;
4379
+ case 5:
4380
+ var value = /** @type {string} */ (reader.readString());
4381
+ msg.setProviderSlug(value);
4382
+ break;
4383
+ case 6:
4384
+ var value = /** @type {number} */ (reader.readInt32());
4385
+ msg.setUsersCount(value);
4386
+ break;
4387
+ case 7:
4388
+ var value = /** @type {number} */ (reader.readInt32());
4389
+ msg.setBetCountReal(value);
4390
+ break;
4391
+ case 8:
4392
+ var value = /** @type {number} */ (reader.readFloat());
4393
+ msg.setBetSumReal(value);
4394
+ break;
4395
+ case 9:
4396
+ var value = /** @type {number} */ (reader.readInt32());
4397
+ msg.setBetCountBonus(value);
4398
+ break;
4399
+ case 10:
4400
+ var value = /** @type {number} */ (reader.readFloat());
4401
+ msg.setBetSumBonus(value);
4402
+ break;
4403
+ case 11:
4404
+ var value = /** @type {number} */ (reader.readInt32());
4405
+ msg.setWinCountReal(value);
4406
+ break;
4407
+ case 12:
4408
+ var value = /** @type {number} */ (reader.readFloat());
4409
+ msg.setWinSumReal(value);
4410
+ break;
4411
+ case 13:
4412
+ var value = /** @type {number} */ (reader.readInt32());
4413
+ msg.setWinCountBonus(value);
4414
+ break;
4415
+ case 14:
4416
+ var value = /** @type {number} */ (reader.readFloat());
4417
+ msg.setWinSumBonus(value);
4418
+ break;
4419
+ case 15:
4420
+ var value = /** @type {number} */ (reader.readFloat());
4421
+ msg.setTurnoverBonus(value);
4422
+ break;
4423
+ case 16:
4424
+ var value = /** @type {number} */ (reader.readFloat());
4425
+ msg.setTurnoverReal(value);
4426
+ break;
4427
+ case 17:
4428
+ var value = /** @type {number} */ (reader.readFloat());
4429
+ msg.setTurnoverTotal(value);
4430
+ break;
4431
+ case 18:
4432
+ var value = /** @type {number} */ (reader.readFloat());
4433
+ msg.setGgrBonus(value);
4434
+ break;
4435
+ case 19:
4436
+ var value = /** @type {number} */ (reader.readFloat());
4437
+ msg.setGgrReal(value);
4438
+ break;
4439
+ case 20:
4440
+ var value = /** @type {number} */ (reader.readFloat());
4441
+ msg.setGgrTotal(value);
4442
+ break;
4443
+ case 21:
4444
+ var value = /** @type {string} */ (reader.readString());
4445
+ msg.setGameImage(value);
4446
+ break;
4447
+ case 22:
4448
+ var value = /** @type {string} */ (reader.readString());
4449
+ msg.setProviderImage(value);
4450
+ break;
4451
+ default:
4452
+ reader.skipField();
4453
+ break;
4454
+ }
4455
+ }
4456
+ return msg;
4457
+ };
4458
+
4459
+
4460
+ /**
4461
+ * Serializes the message to binary data (in protobuf wire format).
4462
+ * @return {!Uint8Array}
4463
+ */
4464
+ proto.analytic.GameItem.prototype.serializeBinary = function() {
4465
+ var writer = new jspb.BinaryWriter();
4466
+ proto.analytic.GameItem.serializeBinaryToWriter(this, writer);
4467
+ return writer.getResultBuffer();
4468
+ };
4469
+
4470
+
4471
+ /**
4472
+ * Serializes the given message to binary data (in protobuf wire
4473
+ * format), writing to the given BinaryWriter.
4474
+ * @param {!proto.analytic.GameItem} message
4475
+ * @param {!jspb.BinaryWriter} writer
4476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4477
+ */
4478
+ proto.analytic.GameItem.serializeBinaryToWriter = function(message, writer) {
4479
+ var f = undefined;
4480
+ f = message.getDate();
4481
+ if (f.length > 0) {
4482
+ writer.writeString(
4483
+ 1,
4484
+ f
4485
+ );
4486
+ }
4487
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
4488
+ if (f != null) {
4489
+ writer.writeString(
4490
+ 2,
4491
+ f
4492
+ );
4493
+ }
4494
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
4495
+ if (f != null) {
4496
+ writer.writeString(
4497
+ 3,
4498
+ f
4499
+ );
4500
+ }
4501
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
4502
+ if (f != null) {
4503
+ writer.writeString(
4504
+ 4,
4505
+ f
4506
+ );
4507
+ }
4508
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
4509
+ if (f != null) {
4510
+ writer.writeString(
4511
+ 5,
4512
+ f
4513
+ );
4514
+ }
4515
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
4516
+ if (f != null) {
4517
+ writer.writeInt32(
4518
+ 6,
4519
+ f
4520
+ );
4521
+ }
4522
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
4523
+ if (f != null) {
4524
+ writer.writeInt32(
4525
+ 7,
4526
+ f
4527
+ );
4528
+ }
4529
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
4530
+ if (f != null) {
4531
+ writer.writeFloat(
4532
+ 8,
4533
+ f
4534
+ );
4535
+ }
4536
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
4537
+ if (f != null) {
4538
+ writer.writeInt32(
4539
+ 9,
4540
+ f
4541
+ );
4542
+ }
4543
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
4544
+ if (f != null) {
4545
+ writer.writeFloat(
4546
+ 10,
4547
+ f
4548
+ );
4549
+ }
4550
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
4551
+ if (f != null) {
4552
+ writer.writeInt32(
4553
+ 11,
4554
+ f
4555
+ );
4556
+ }
4557
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
4558
+ if (f != null) {
4559
+ writer.writeFloat(
4560
+ 12,
4561
+ f
4562
+ );
4563
+ }
4564
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
4565
+ if (f != null) {
4566
+ writer.writeInt32(
4567
+ 13,
4568
+ f
4569
+ );
4570
+ }
4571
+ f = /** @type {number} */ (jspb.Message.getField(message, 14));
4572
+ if (f != null) {
4573
+ writer.writeFloat(
4574
+ 14,
4575
+ f
4576
+ );
4577
+ }
4578
+ f = /** @type {number} */ (jspb.Message.getField(message, 15));
4579
+ if (f != null) {
4580
+ writer.writeFloat(
4581
+ 15,
4582
+ f
4583
+ );
4584
+ }
4585
+ f = /** @type {number} */ (jspb.Message.getField(message, 16));
4586
+ if (f != null) {
4587
+ writer.writeFloat(
4588
+ 16,
4589
+ f
4590
+ );
4591
+ }
4592
+ f = /** @type {number} */ (jspb.Message.getField(message, 17));
4593
+ if (f != null) {
4594
+ writer.writeFloat(
4595
+ 17,
4596
+ f
4597
+ );
4598
+ }
4599
+ f = /** @type {number} */ (jspb.Message.getField(message, 18));
4600
+ if (f != null) {
4601
+ writer.writeFloat(
4602
+ 18,
4603
+ f
4604
+ );
4605
+ }
4606
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
4607
+ if (f != null) {
4608
+ writer.writeFloat(
4609
+ 19,
4610
+ f
4611
+ );
4612
+ }
4613
+ f = /** @type {number} */ (jspb.Message.getField(message, 20));
4614
+ if (f != null) {
4615
+ writer.writeFloat(
4616
+ 20,
4617
+ f
4618
+ );
4619
+ }
4620
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
4621
+ if (f != null) {
4622
+ writer.writeString(
4623
+ 21,
4624
+ f
4625
+ );
4626
+ }
4627
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
4628
+ if (f != null) {
4629
+ writer.writeString(
4630
+ 22,
4631
+ f
4632
+ );
4633
+ }
4634
+ };
4635
+
4636
+
4637
+ /**
4638
+ * optional string date = 1;
4639
+ * @return {string}
4640
+ */
4641
+ proto.analytic.GameItem.prototype.getDate = function() {
4642
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4643
+ };
4644
+
4645
+
4646
+ /**
4647
+ * @param {string} value
4648
+ * @return {!proto.analytic.GameItem} returns this
4649
+ */
4650
+ proto.analytic.GameItem.prototype.setDate = function(value) {
4651
+ return jspb.Message.setProto3StringField(this, 1, value);
4652
+ };
4653
+
4654
+
4655
+ /**
4656
+ * optional string game_title = 2;
4657
+ * @return {string}
4658
+ */
4659
+ proto.analytic.GameItem.prototype.getGameTitle = function() {
4660
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4661
+ };
4662
+
4663
+
4664
+ /**
4665
+ * @param {string} value
4666
+ * @return {!proto.analytic.GameItem} returns this
4667
+ */
4668
+ proto.analytic.GameItem.prototype.setGameTitle = function(value) {
4669
+ return jspb.Message.setField(this, 2, value);
4670
+ };
4671
+
4672
+
4673
+ /**
4674
+ * Clears the field making it undefined.
4675
+ * @return {!proto.analytic.GameItem} returns this
4676
+ */
4677
+ proto.analytic.GameItem.prototype.clearGameTitle = function() {
4678
+ return jspb.Message.setField(this, 2, undefined);
4679
+ };
4680
+
4681
+
4682
+ /**
4683
+ * Returns whether this field is set.
4684
+ * @return {boolean}
4685
+ */
4686
+ proto.analytic.GameItem.prototype.hasGameTitle = function() {
4687
+ return jspb.Message.getField(this, 2) != null;
4688
+ };
4689
+
4690
+
4691
+ /**
4692
+ * optional string game_slug = 3;
4693
+ * @return {string}
4694
+ */
4695
+ proto.analytic.GameItem.prototype.getGameSlug = function() {
4696
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4697
+ };
4698
+
4699
+
4700
+ /**
4701
+ * @param {string} value
4702
+ * @return {!proto.analytic.GameItem} returns this
4703
+ */
4704
+ proto.analytic.GameItem.prototype.setGameSlug = function(value) {
4705
+ return jspb.Message.setField(this, 3, value);
4706
+ };
4707
+
4708
+
4709
+ /**
4710
+ * Clears the field making it undefined.
4711
+ * @return {!proto.analytic.GameItem} returns this
4712
+ */
4713
+ proto.analytic.GameItem.prototype.clearGameSlug = function() {
4714
+ return jspb.Message.setField(this, 3, undefined);
4715
+ };
4716
+
4717
+
4718
+ /**
4719
+ * Returns whether this field is set.
4720
+ * @return {boolean}
4721
+ */
4722
+ proto.analytic.GameItem.prototype.hasGameSlug = function() {
4723
+ return jspb.Message.getField(this, 3) != null;
4724
+ };
4725
+
4726
+
4727
+ /**
4728
+ * optional string provider_title = 4;
4729
+ * @return {string}
4730
+ */
4731
+ proto.analytic.GameItem.prototype.getProviderTitle = function() {
4732
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4733
+ };
4734
+
4735
+
4736
+ /**
4737
+ * @param {string} value
4738
+ * @return {!proto.analytic.GameItem} returns this
4739
+ */
4740
+ proto.analytic.GameItem.prototype.setProviderTitle = function(value) {
4741
+ return jspb.Message.setField(this, 4, value);
4742
+ };
4743
+
4744
+
4745
+ /**
4746
+ * Clears the field making it undefined.
4747
+ * @return {!proto.analytic.GameItem} returns this
4748
+ */
4749
+ proto.analytic.GameItem.prototype.clearProviderTitle = function() {
4750
+ return jspb.Message.setField(this, 4, undefined);
4751
+ };
4752
+
4753
+
4754
+ /**
4755
+ * Returns whether this field is set.
4756
+ * @return {boolean}
4757
+ */
4758
+ proto.analytic.GameItem.prototype.hasProviderTitle = function() {
4759
+ return jspb.Message.getField(this, 4) != null;
4760
+ };
4761
+
4762
+
4763
+ /**
4764
+ * optional string provider_slug = 5;
4765
+ * @return {string}
4766
+ */
4767
+ proto.analytic.GameItem.prototype.getProviderSlug = function() {
4768
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4769
+ };
4770
+
4771
+
4772
+ /**
4773
+ * @param {string} value
4774
+ * @return {!proto.analytic.GameItem} returns this
4775
+ */
4776
+ proto.analytic.GameItem.prototype.setProviderSlug = function(value) {
4777
+ return jspb.Message.setField(this, 5, value);
4778
+ };
4779
+
4780
+
4781
+ /**
4782
+ * Clears the field making it undefined.
4783
+ * @return {!proto.analytic.GameItem} returns this
4784
+ */
4785
+ proto.analytic.GameItem.prototype.clearProviderSlug = function() {
4786
+ return jspb.Message.setField(this, 5, undefined);
4787
+ };
4788
+
4789
+
4790
+ /**
4791
+ * Returns whether this field is set.
4792
+ * @return {boolean}
4793
+ */
4794
+ proto.analytic.GameItem.prototype.hasProviderSlug = function() {
4795
+ return jspb.Message.getField(this, 5) != null;
4796
+ };
4797
+
4798
+
4799
+ /**
4800
+ * optional int32 users_count = 6;
4801
+ * @return {number}
4802
+ */
4803
+ proto.analytic.GameItem.prototype.getUsersCount = function() {
4804
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4805
+ };
4806
+
4807
+
4808
+ /**
4809
+ * @param {number} value
4810
+ * @return {!proto.analytic.GameItem} returns this
4811
+ */
4812
+ proto.analytic.GameItem.prototype.setUsersCount = function(value) {
4813
+ return jspb.Message.setField(this, 6, value);
4814
+ };
4815
+
4816
+
4817
+ /**
4818
+ * Clears the field making it undefined.
4819
+ * @return {!proto.analytic.GameItem} returns this
4820
+ */
4821
+ proto.analytic.GameItem.prototype.clearUsersCount = function() {
4822
+ return jspb.Message.setField(this, 6, undefined);
4823
+ };
4824
+
4825
+
4826
+ /**
4827
+ * Returns whether this field is set.
4828
+ * @return {boolean}
4829
+ */
4830
+ proto.analytic.GameItem.prototype.hasUsersCount = function() {
4831
+ return jspb.Message.getField(this, 6) != null;
4832
+ };
4833
+
4834
+
4835
+ /**
4836
+ * optional int32 bet_count_real = 7;
4837
+ * @return {number}
4838
+ */
4839
+ proto.analytic.GameItem.prototype.getBetCountReal = function() {
4840
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4841
+ };
4842
+
4843
+
4844
+ /**
4845
+ * @param {number} value
4846
+ * @return {!proto.analytic.GameItem} returns this
4847
+ */
4848
+ proto.analytic.GameItem.prototype.setBetCountReal = function(value) {
4849
+ return jspb.Message.setField(this, 7, value);
4850
+ };
4851
+
4852
+
4853
+ /**
4854
+ * Clears the field making it undefined.
4855
+ * @return {!proto.analytic.GameItem} returns this
4856
+ */
4857
+ proto.analytic.GameItem.prototype.clearBetCountReal = function() {
4858
+ return jspb.Message.setField(this, 7, undefined);
4859
+ };
4860
+
4861
+
4862
+ /**
4863
+ * Returns whether this field is set.
4864
+ * @return {boolean}
4865
+ */
4866
+ proto.analytic.GameItem.prototype.hasBetCountReal = function() {
4867
+ return jspb.Message.getField(this, 7) != null;
4868
+ };
4869
+
4870
+
4871
+ /**
4872
+ * optional float bet_sum_real = 8;
4873
+ * @return {number}
4874
+ */
4875
+ proto.analytic.GameItem.prototype.getBetSumReal = function() {
4876
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
4877
+ };
4878
+
4879
+
4880
+ /**
4881
+ * @param {number} value
4882
+ * @return {!proto.analytic.GameItem} returns this
4883
+ */
4884
+ proto.analytic.GameItem.prototype.setBetSumReal = function(value) {
4885
+ return jspb.Message.setField(this, 8, value);
4886
+ };
4887
+
4888
+
4889
+ /**
4890
+ * Clears the field making it undefined.
4891
+ * @return {!proto.analytic.GameItem} returns this
4892
+ */
4893
+ proto.analytic.GameItem.prototype.clearBetSumReal = function() {
4894
+ return jspb.Message.setField(this, 8, undefined);
4895
+ };
4896
+
4897
+
4898
+ /**
4899
+ * Returns whether this field is set.
4900
+ * @return {boolean}
4901
+ */
4902
+ proto.analytic.GameItem.prototype.hasBetSumReal = function() {
4903
+ return jspb.Message.getField(this, 8) != null;
4904
+ };
4905
+
4906
+
4907
+ /**
4908
+ * optional int32 bet_count_bonus = 9;
4909
+ * @return {number}
4910
+ */
4911
+ proto.analytic.GameItem.prototype.getBetCountBonus = function() {
4912
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
4913
+ };
4914
+
4915
+
4916
+ /**
4917
+ * @param {number} value
4918
+ * @return {!proto.analytic.GameItem} returns this
4919
+ */
4920
+ proto.analytic.GameItem.prototype.setBetCountBonus = function(value) {
4921
+ return jspb.Message.setField(this, 9, value);
4922
+ };
4923
+
4924
+
4925
+ /**
4926
+ * Clears the field making it undefined.
4927
+ * @return {!proto.analytic.GameItem} returns this
4928
+ */
4929
+ proto.analytic.GameItem.prototype.clearBetCountBonus = function() {
4930
+ return jspb.Message.setField(this, 9, undefined);
4931
+ };
4932
+
4933
+
4934
+ /**
4935
+ * Returns whether this field is set.
4936
+ * @return {boolean}
4937
+ */
4938
+ proto.analytic.GameItem.prototype.hasBetCountBonus = function() {
4939
+ return jspb.Message.getField(this, 9) != null;
4940
+ };
4941
+
4942
+
4943
+ /**
4944
+ * optional float bet_sum_bonus = 10;
4945
+ * @return {number}
4946
+ */
4947
+ proto.analytic.GameItem.prototype.getBetSumBonus = function() {
4948
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
4949
+ };
4950
+
4951
+
4952
+ /**
4953
+ * @param {number} value
4954
+ * @return {!proto.analytic.GameItem} returns this
4955
+ */
4956
+ proto.analytic.GameItem.prototype.setBetSumBonus = function(value) {
4957
+ return jspb.Message.setField(this, 10, value);
4958
+ };
4959
+
4960
+
4961
+ /**
4962
+ * Clears the field making it undefined.
4963
+ * @return {!proto.analytic.GameItem} returns this
4964
+ */
4965
+ proto.analytic.GameItem.prototype.clearBetSumBonus = function() {
4966
+ return jspb.Message.setField(this, 10, undefined);
4967
+ };
4968
+
4969
+
4970
+ /**
4971
+ * Returns whether this field is set.
4972
+ * @return {boolean}
4973
+ */
4974
+ proto.analytic.GameItem.prototype.hasBetSumBonus = function() {
4975
+ return jspb.Message.getField(this, 10) != null;
4976
+ };
4977
+
4978
+
4979
+ /**
4980
+ * optional int32 win_count_real = 11;
4981
+ * @return {number}
4982
+ */
4983
+ proto.analytic.GameItem.prototype.getWinCountReal = function() {
4984
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
4985
+ };
4986
+
4987
+
4988
+ /**
4989
+ * @param {number} value
4990
+ * @return {!proto.analytic.GameItem} returns this
4991
+ */
4992
+ proto.analytic.GameItem.prototype.setWinCountReal = function(value) {
4993
+ return jspb.Message.setField(this, 11, value);
4994
+ };
4995
+
4996
+
4997
+ /**
4998
+ * Clears the field making it undefined.
4999
+ * @return {!proto.analytic.GameItem} returns this
5000
+ */
5001
+ proto.analytic.GameItem.prototype.clearWinCountReal = function() {
5002
+ return jspb.Message.setField(this, 11, undefined);
5003
+ };
5004
+
5005
+
5006
+ /**
5007
+ * Returns whether this field is set.
5008
+ * @return {boolean}
5009
+ */
5010
+ proto.analytic.GameItem.prototype.hasWinCountReal = function() {
5011
+ return jspb.Message.getField(this, 11) != null;
5012
+ };
5013
+
5014
+
5015
+ /**
5016
+ * optional float win_sum_real = 12;
5017
+ * @return {number}
5018
+ */
5019
+ proto.analytic.GameItem.prototype.getWinSumReal = function() {
5020
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
5021
+ };
5022
+
5023
+
5024
+ /**
5025
+ * @param {number} value
5026
+ * @return {!proto.analytic.GameItem} returns this
5027
+ */
5028
+ proto.analytic.GameItem.prototype.setWinSumReal = function(value) {
5029
+ return jspb.Message.setField(this, 12, value);
5030
+ };
5031
+
5032
+
5033
+ /**
5034
+ * Clears the field making it undefined.
5035
+ * @return {!proto.analytic.GameItem} returns this
5036
+ */
5037
+ proto.analytic.GameItem.prototype.clearWinSumReal = function() {
5038
+ return jspb.Message.setField(this, 12, undefined);
5039
+ };
5040
+
5041
+
5042
+ /**
5043
+ * Returns whether this field is set.
5044
+ * @return {boolean}
5045
+ */
5046
+ proto.analytic.GameItem.prototype.hasWinSumReal = function() {
5047
+ return jspb.Message.getField(this, 12) != null;
5048
+ };
5049
+
5050
+
5051
+ /**
5052
+ * optional int32 win_count_bonus = 13;
5053
+ * @return {number}
5054
+ */
5055
+ proto.analytic.GameItem.prototype.getWinCountBonus = function() {
5056
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
5057
+ };
5058
+
5059
+
5060
+ /**
5061
+ * @param {number} value
5062
+ * @return {!proto.analytic.GameItem} returns this
5063
+ */
5064
+ proto.analytic.GameItem.prototype.setWinCountBonus = function(value) {
5065
+ return jspb.Message.setField(this, 13, value);
5066
+ };
5067
+
5068
+
5069
+ /**
5070
+ * Clears the field making it undefined.
5071
+ * @return {!proto.analytic.GameItem} returns this
5072
+ */
5073
+ proto.analytic.GameItem.prototype.clearWinCountBonus = function() {
5074
+ return jspb.Message.setField(this, 13, undefined);
5075
+ };
5076
+
5077
+
5078
+ /**
5079
+ * Returns whether this field is set.
5080
+ * @return {boolean}
5081
+ */
5082
+ proto.analytic.GameItem.prototype.hasWinCountBonus = function() {
5083
+ return jspb.Message.getField(this, 13) != null;
5084
+ };
5085
+
5086
+
5087
+ /**
5088
+ * optional float win_sum_bonus = 14;
5089
+ * @return {number}
5090
+ */
5091
+ proto.analytic.GameItem.prototype.getWinSumBonus = function() {
5092
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
5093
+ };
5094
+
5095
+
5096
+ /**
5097
+ * @param {number} value
5098
+ * @return {!proto.analytic.GameItem} returns this
5099
+ */
5100
+ proto.analytic.GameItem.prototype.setWinSumBonus = function(value) {
5101
+ return jspb.Message.setField(this, 14, value);
5102
+ };
5103
+
5104
+
5105
+ /**
5106
+ * Clears the field making it undefined.
5107
+ * @return {!proto.analytic.GameItem} returns this
5108
+ */
5109
+ proto.analytic.GameItem.prototype.clearWinSumBonus = function() {
5110
+ return jspb.Message.setField(this, 14, undefined);
5111
+ };
5112
+
5113
+
5114
+ /**
5115
+ * Returns whether this field is set.
5116
+ * @return {boolean}
5117
+ */
5118
+ proto.analytic.GameItem.prototype.hasWinSumBonus = function() {
5119
+ return jspb.Message.getField(this, 14) != null;
5120
+ };
5121
+
5122
+
5123
+ /**
5124
+ * optional float turnover_bonus = 15;
5125
+ * @return {number}
5126
+ */
5127
+ proto.analytic.GameItem.prototype.getTurnoverBonus = function() {
5128
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
5129
+ };
5130
+
5131
+
5132
+ /**
5133
+ * @param {number} value
5134
+ * @return {!proto.analytic.GameItem} returns this
5135
+ */
5136
+ proto.analytic.GameItem.prototype.setTurnoverBonus = function(value) {
5137
+ return jspb.Message.setField(this, 15, value);
5138
+ };
5139
+
5140
+
5141
+ /**
5142
+ * Clears the field making it undefined.
5143
+ * @return {!proto.analytic.GameItem} returns this
5144
+ */
5145
+ proto.analytic.GameItem.prototype.clearTurnoverBonus = function() {
5146
+ return jspb.Message.setField(this, 15, undefined);
5147
+ };
5148
+
5149
+
5150
+ /**
5151
+ * Returns whether this field is set.
5152
+ * @return {boolean}
5153
+ */
5154
+ proto.analytic.GameItem.prototype.hasTurnoverBonus = function() {
5155
+ return jspb.Message.getField(this, 15) != null;
5156
+ };
5157
+
5158
+
5159
+ /**
5160
+ * optional float turnover_real = 16;
5161
+ * @return {number}
5162
+ */
5163
+ proto.analytic.GameItem.prototype.getTurnoverReal = function() {
5164
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
5165
+ };
5166
+
5167
+
5168
+ /**
5169
+ * @param {number} value
5170
+ * @return {!proto.analytic.GameItem} returns this
5171
+ */
5172
+ proto.analytic.GameItem.prototype.setTurnoverReal = function(value) {
5173
+ return jspb.Message.setField(this, 16, value);
5174
+ };
5175
+
5176
+
5177
+ /**
5178
+ * Clears the field making it undefined.
5179
+ * @return {!proto.analytic.GameItem} returns this
5180
+ */
5181
+ proto.analytic.GameItem.prototype.clearTurnoverReal = function() {
5182
+ return jspb.Message.setField(this, 16, undefined);
5183
+ };
5184
+
5185
+
5186
+ /**
5187
+ * Returns whether this field is set.
5188
+ * @return {boolean}
5189
+ */
5190
+ proto.analytic.GameItem.prototype.hasTurnoverReal = function() {
5191
+ return jspb.Message.getField(this, 16) != null;
5192
+ };
5193
+
5194
+
5195
+ /**
5196
+ * optional float turnover_total = 17;
5197
+ * @return {number}
5198
+ */
5199
+ proto.analytic.GameItem.prototype.getTurnoverTotal = function() {
5200
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
5201
+ };
5202
+
5203
+
5204
+ /**
5205
+ * @param {number} value
5206
+ * @return {!proto.analytic.GameItem} returns this
5207
+ */
5208
+ proto.analytic.GameItem.prototype.setTurnoverTotal = function(value) {
5209
+ return jspb.Message.setField(this, 17, value);
5210
+ };
5211
+
5212
+
5213
+ /**
5214
+ * Clears the field making it undefined.
5215
+ * @return {!proto.analytic.GameItem} returns this
5216
+ */
5217
+ proto.analytic.GameItem.prototype.clearTurnoverTotal = function() {
5218
+ return jspb.Message.setField(this, 17, undefined);
5219
+ };
5220
+
5221
+
5222
+ /**
5223
+ * Returns whether this field is set.
5224
+ * @return {boolean}
5225
+ */
5226
+ proto.analytic.GameItem.prototype.hasTurnoverTotal = function() {
5227
+ return jspb.Message.getField(this, 17) != null;
5228
+ };
5229
+
5230
+
5231
+ /**
5232
+ * optional float ggr_bonus = 18;
5233
+ * @return {number}
5234
+ */
5235
+ proto.analytic.GameItem.prototype.getGgrBonus = function() {
5236
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
5237
+ };
5238
+
5239
+
5240
+ /**
5241
+ * @param {number} value
5242
+ * @return {!proto.analytic.GameItem} returns this
5243
+ */
5244
+ proto.analytic.GameItem.prototype.setGgrBonus = function(value) {
5245
+ return jspb.Message.setField(this, 18, value);
5246
+ };
5247
+
5248
+
5249
+ /**
5250
+ * Clears the field making it undefined.
5251
+ * @return {!proto.analytic.GameItem} returns this
5252
+ */
5253
+ proto.analytic.GameItem.prototype.clearGgrBonus = function() {
5254
+ return jspb.Message.setField(this, 18, undefined);
5255
+ };
5256
+
5257
+
5258
+ /**
5259
+ * Returns whether this field is set.
5260
+ * @return {boolean}
5261
+ */
5262
+ proto.analytic.GameItem.prototype.hasGgrBonus = function() {
5263
+ return jspb.Message.getField(this, 18) != null;
5264
+ };
5265
+
5266
+
5267
+ /**
5268
+ * optional float ggr_real = 19;
5269
+ * @return {number}
5270
+ */
5271
+ proto.analytic.GameItem.prototype.getGgrReal = function() {
5272
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
5273
+ };
5274
+
5275
+
5276
+ /**
5277
+ * @param {number} value
5278
+ * @return {!proto.analytic.GameItem} returns this
5279
+ */
5280
+ proto.analytic.GameItem.prototype.setGgrReal = function(value) {
5281
+ return jspb.Message.setField(this, 19, value);
5282
+ };
5283
+
5284
+
5285
+ /**
5286
+ * Clears the field making it undefined.
5287
+ * @return {!proto.analytic.GameItem} returns this
5288
+ */
5289
+ proto.analytic.GameItem.prototype.clearGgrReal = function() {
5290
+ return jspb.Message.setField(this, 19, undefined);
5291
+ };
5292
+
5293
+
5294
+ /**
5295
+ * Returns whether this field is set.
5296
+ * @return {boolean}
5297
+ */
5298
+ proto.analytic.GameItem.prototype.hasGgrReal = function() {
5299
+ return jspb.Message.getField(this, 19) != null;
5300
+ };
5301
+
5302
+
5303
+ /**
5304
+ * optional float ggr_total = 20;
5305
+ * @return {number}
5306
+ */
5307
+ proto.analytic.GameItem.prototype.getGgrTotal = function() {
5308
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0));
5309
+ };
5310
+
5311
+
5312
+ /**
5313
+ * @param {number} value
5314
+ * @return {!proto.analytic.GameItem} returns this
5315
+ */
5316
+ proto.analytic.GameItem.prototype.setGgrTotal = function(value) {
5317
+ return jspb.Message.setField(this, 20, value);
5318
+ };
5319
+
5320
+
5321
+ /**
5322
+ * Clears the field making it undefined.
5323
+ * @return {!proto.analytic.GameItem} returns this
5324
+ */
5325
+ proto.analytic.GameItem.prototype.clearGgrTotal = function() {
5326
+ return jspb.Message.setField(this, 20, undefined);
5327
+ };
5328
+
5329
+
5330
+ /**
5331
+ * Returns whether this field is set.
5332
+ * @return {boolean}
5333
+ */
5334
+ proto.analytic.GameItem.prototype.hasGgrTotal = function() {
5335
+ return jspb.Message.getField(this, 20) != null;
5336
+ };
5337
+
5338
+
5339
+ /**
5340
+ * optional string game_image = 21;
5341
+ * @return {string}
5342
+ */
5343
+ proto.analytic.GameItem.prototype.getGameImage = function() {
5344
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
5345
+ };
5346
+
5347
+
5348
+ /**
5349
+ * @param {string} value
5350
+ * @return {!proto.analytic.GameItem} returns this
5351
+ */
5352
+ proto.analytic.GameItem.prototype.setGameImage = function(value) {
5353
+ return jspb.Message.setField(this, 21, value);
5354
+ };
5355
+
5356
+
5357
+ /**
5358
+ * Clears the field making it undefined.
5359
+ * @return {!proto.analytic.GameItem} returns this
5360
+ */
5361
+ proto.analytic.GameItem.prototype.clearGameImage = function() {
5362
+ return jspb.Message.setField(this, 21, undefined);
5363
+ };
5364
+
5365
+
5366
+ /**
5367
+ * Returns whether this field is set.
5368
+ * @return {boolean}
5369
+ */
5370
+ proto.analytic.GameItem.prototype.hasGameImage = function() {
5371
+ return jspb.Message.getField(this, 21) != null;
5372
+ };
5373
+
5374
+
5375
+ /**
5376
+ * optional string provider_image = 22;
5377
+ * @return {string}
5378
+ */
5379
+ proto.analytic.GameItem.prototype.getProviderImage = function() {
5380
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
5381
+ };
5382
+
5383
+
5384
+ /**
5385
+ * @param {string} value
5386
+ * @return {!proto.analytic.GameItem} returns this
5387
+ */
5388
+ proto.analytic.GameItem.prototype.setProviderImage = function(value) {
5389
+ return jspb.Message.setField(this, 22, value);
5390
+ };
5391
+
5392
+
5393
+ /**
5394
+ * Clears the field making it undefined.
5395
+ * @return {!proto.analytic.GameItem} returns this
5396
+ */
5397
+ proto.analytic.GameItem.prototype.clearProviderImage = function() {
5398
+ return jspb.Message.setField(this, 22, undefined);
5399
+ };
5400
+
5401
+
5402
+ /**
5403
+ * Returns whether this field is set.
5404
+ * @return {boolean}
5405
+ */
5406
+ proto.analytic.GameItem.prototype.hasProviderImage = function() {
5407
+ return jspb.Message.getField(this, 22) != null;
5408
+ };
5409
+
5410
+
5411
+
5412
+ /**
5413
+ * List of repeated fields within this message type.
5414
+ * @private {!Array<number>}
5415
+ * @const
5416
+ */
5417
+ proto.analytic.GamesResponse.repeatedFields_ = [1];
5418
+
5419
+
5420
+
5421
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5422
+ /**
5423
+ * Creates an object representation of this proto.
5424
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5425
+ * Optional fields that are not set will be set to undefined.
5426
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5427
+ * For the list of reserved names please see:
5428
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5429
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5430
+ * JSPB instance for transitional soy proto support:
5431
+ * http://goto/soy-param-migration
5432
+ * @return {!Object}
5433
+ */
5434
+ proto.analytic.GamesResponse.prototype.toObject = function(opt_includeInstance) {
5435
+ return proto.analytic.GamesResponse.toObject(opt_includeInstance, this);
5436
+ };
5437
+
5438
+
5439
+ /**
5440
+ * Static version of the {@see toObject} method.
5441
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5442
+ * the JSPB instance for transitional soy proto support:
5443
+ * http://goto/soy-param-migration
5444
+ * @param {!proto.analytic.GamesResponse} msg The msg instance to transform.
5445
+ * @return {!Object}
5446
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5447
+ */
5448
+ proto.analytic.GamesResponse.toObject = function(includeInstance, msg) {
5449
+ var f, obj = {
5450
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
5451
+ proto.analytic.DepositItem.toObject, includeInstance),
5452
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
5453
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
5454
+ };
5455
+
5456
+ if (includeInstance) {
5457
+ obj.$jspbMessageInstance = msg;
5458
+ }
5459
+ return obj;
5460
+ };
5461
+ }
5462
+
5463
+
5464
+ /**
5465
+ * Deserializes binary data (in protobuf wire format).
5466
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5467
+ * @return {!proto.analytic.GamesResponse}
5468
+ */
5469
+ proto.analytic.GamesResponse.deserializeBinary = function(bytes) {
5470
+ var reader = new jspb.BinaryReader(bytes);
5471
+ var msg = new proto.analytic.GamesResponse;
5472
+ return proto.analytic.GamesResponse.deserializeBinaryFromReader(msg, reader);
5473
+ };
5474
+
5475
+
5476
+ /**
5477
+ * Deserializes binary data (in protobuf wire format) from the
5478
+ * given reader into the given message object.
5479
+ * @param {!proto.analytic.GamesResponse} msg The message object to deserialize into.
5480
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5481
+ * @return {!proto.analytic.GamesResponse}
5482
+ */
5483
+ proto.analytic.GamesResponse.deserializeBinaryFromReader = function(msg, reader) {
5484
+ while (reader.nextField()) {
5485
+ if (reader.isEndGroup()) {
5486
+ break;
5487
+ }
5488
+ var field = reader.getFieldNumber();
5489
+ switch (field) {
5490
+ case 1:
5491
+ var value = new proto.analytic.DepositItem;
5492
+ reader.readMessage(value,proto.analytic.DepositItem.deserializeBinaryFromReader);
5493
+ msg.addItems(value);
5494
+ break;
5495
+ case 2:
5496
+ var value = /** @type {number} */ (reader.readInt32());
5497
+ msg.setTotalPages(value);
5498
+ break;
5499
+ case 3:
5500
+ var value = /** @type {number} */ (reader.readInt32());
5501
+ msg.setTotalItems(value);
5502
+ break;
5503
+ default:
5504
+ reader.skipField();
5505
+ break;
5506
+ }
5507
+ }
5508
+ return msg;
5509
+ };
5510
+
5511
+
5512
+ /**
5513
+ * Serializes the message to binary data (in protobuf wire format).
5514
+ * @return {!Uint8Array}
5515
+ */
5516
+ proto.analytic.GamesResponse.prototype.serializeBinary = function() {
5517
+ var writer = new jspb.BinaryWriter();
5518
+ proto.analytic.GamesResponse.serializeBinaryToWriter(this, writer);
5519
+ return writer.getResultBuffer();
5520
+ };
5521
+
5522
+
5523
+ /**
5524
+ * Serializes the given message to binary data (in protobuf wire
5525
+ * format), writing to the given BinaryWriter.
5526
+ * @param {!proto.analytic.GamesResponse} message
5527
+ * @param {!jspb.BinaryWriter} writer
5528
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5529
+ */
5530
+ proto.analytic.GamesResponse.serializeBinaryToWriter = function(message, writer) {
5531
+ var f = undefined;
5532
+ f = message.getItemsList();
5533
+ if (f.length > 0) {
5534
+ writer.writeRepeatedMessage(
5535
+ 1,
5536
+ f,
5537
+ proto.analytic.DepositItem.serializeBinaryToWriter
5538
+ );
5539
+ }
5540
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
5541
+ if (f != null) {
5542
+ writer.writeInt32(
5543
+ 2,
5544
+ f
5545
+ );
5546
+ }
5547
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
5548
+ if (f != null) {
5549
+ writer.writeInt32(
5550
+ 3,
5551
+ f
5552
+ );
5553
+ }
5554
+ };
5555
+
5556
+
5557
+ /**
5558
+ * repeated DepositItem items = 1;
5559
+ * @return {!Array<!proto.analytic.DepositItem>}
5560
+ */
5561
+ proto.analytic.GamesResponse.prototype.getItemsList = function() {
5562
+ return /** @type{!Array<!proto.analytic.DepositItem>} */ (
5563
+ jspb.Message.getRepeatedWrapperField(this, proto.analytic.DepositItem, 1));
5564
+ };
5565
+
5566
+
5567
+ /**
5568
+ * @param {!Array<!proto.analytic.DepositItem>} value
5569
+ * @return {!proto.analytic.GamesResponse} returns this
5570
+ */
5571
+ proto.analytic.GamesResponse.prototype.setItemsList = function(value) {
5572
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
5573
+ };
5574
+
5575
+
5576
+ /**
5577
+ * @param {!proto.analytic.DepositItem=} opt_value
5578
+ * @param {number=} opt_index
5579
+ * @return {!proto.analytic.DepositItem}
5580
+ */
5581
+ proto.analytic.GamesResponse.prototype.addItems = function(opt_value, opt_index) {
5582
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.analytic.DepositItem, opt_index);
5583
+ };
5584
+
5585
+
5586
+ /**
5587
+ * Clears the list making it empty but non-null.
5588
+ * @return {!proto.analytic.GamesResponse} returns this
5589
+ */
5590
+ proto.analytic.GamesResponse.prototype.clearItemsList = function() {
5591
+ return this.setItemsList([]);
5592
+ };
5593
+
5594
+
5595
+ /**
5596
+ * optional int32 total_pages = 2;
5597
+ * @return {number}
5598
+ */
5599
+ proto.analytic.GamesResponse.prototype.getTotalPages = function() {
5600
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5601
+ };
5602
+
5603
+
5604
+ /**
5605
+ * @param {number} value
5606
+ * @return {!proto.analytic.GamesResponse} returns this
5607
+ */
5608
+ proto.analytic.GamesResponse.prototype.setTotalPages = function(value) {
5609
+ return jspb.Message.setField(this, 2, value);
5610
+ };
5611
+
5612
+
5613
+ /**
5614
+ * Clears the field making it undefined.
5615
+ * @return {!proto.analytic.GamesResponse} returns this
5616
+ */
5617
+ proto.analytic.GamesResponse.prototype.clearTotalPages = function() {
5618
+ return jspb.Message.setField(this, 2, undefined);
5619
+ };
5620
+
5621
+
5622
+ /**
5623
+ * Returns whether this field is set.
5624
+ * @return {boolean}
5625
+ */
5626
+ proto.analytic.GamesResponse.prototype.hasTotalPages = function() {
5627
+ return jspb.Message.getField(this, 2) != null;
5628
+ };
5629
+
5630
+
5631
+ /**
5632
+ * optional int32 total_items = 3;
5633
+ * @return {number}
5634
+ */
5635
+ proto.analytic.GamesResponse.prototype.getTotalItems = function() {
5636
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
5637
+ };
5638
+
5639
+
5640
+ /**
5641
+ * @param {number} value
5642
+ * @return {!proto.analytic.GamesResponse} returns this
5643
+ */
5644
+ proto.analytic.GamesResponse.prototype.setTotalItems = function(value) {
5645
+ return jspb.Message.setField(this, 3, value);
5646
+ };
5647
+
5648
+
5649
+ /**
5650
+ * Clears the field making it undefined.
5651
+ * @return {!proto.analytic.GamesResponse} returns this
5652
+ */
5653
+ proto.analytic.GamesResponse.prototype.clearTotalItems = function() {
5654
+ return jspb.Message.setField(this, 3, undefined);
5655
+ };
5656
+
5657
+
5658
+ /**
5659
+ * Returns whether this field is set.
5660
+ * @return {boolean}
5661
+ */
5662
+ proto.analytic.GamesResponse.prototype.hasTotalItems = function() {
5663
+ return jspb.Message.getField(this, 3) != null;
5664
+ };
5665
+
5666
+
4229
5667
  goog.object.extend(exports, proto.analytic);