protobuf-platform 1.2.28 → 1.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/game/game_pb.js CHANGED
@@ -70,6 +70,9 @@ goog.exportSymbol('proto.game.GamesBunchRequest', null, global);
70
70
  goog.exportSymbol('proto.game.GamesIds', null, global);
71
71
  goog.exportSymbol('proto.game.GamesPriorityRequest', null, global);
72
72
  goog.exportSymbol('proto.game.GamesUuids', null, global);
73
+ goog.exportSymbol('proto.game.GeoRestrictionRequest', null, global);
74
+ goog.exportSymbol('proto.game.GeoRestrictionResponse', null, global);
75
+ goog.exportSymbol('proto.game.GeoRestrictionStatusResponse', null, global);
73
76
  goog.exportSymbol('proto.game.GetCashBackListRequest', null, global);
74
77
  goog.exportSymbol('proto.game.GetCategoryRequest', null, global);
75
78
  goog.exportSymbol('proto.game.GetCollectionRequest', null, global);
@@ -2336,6 +2339,69 @@ if (goog.DEBUG && !COMPILED) {
2336
2339
  */
2337
2340
  proto.game.SegmentedUserResponse.displayName = 'proto.game.SegmentedUserResponse';
2338
2341
  }
2342
+ /**
2343
+ * Generated by JsPbCodeGenerator.
2344
+ * @param {Array=} opt_data Optional initial data array, typically from a
2345
+ * server response, or constructed directly in Javascript. The array is used
2346
+ * in place and becomes part of the constructed object. It is not cloned.
2347
+ * If no data is provided, the constructed object will be empty, but still
2348
+ * valid.
2349
+ * @extends {jspb.Message}
2350
+ * @constructor
2351
+ */
2352
+ proto.game.GeoRestrictionRequest = function(opt_data) {
2353
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GeoRestrictionRequest.repeatedFields_, null);
2354
+ };
2355
+ goog.inherits(proto.game.GeoRestrictionRequest, jspb.Message);
2356
+ if (goog.DEBUG && !COMPILED) {
2357
+ /**
2358
+ * @public
2359
+ * @override
2360
+ */
2361
+ proto.game.GeoRestrictionRequest.displayName = 'proto.game.GeoRestrictionRequest';
2362
+ }
2363
+ /**
2364
+ * Generated by JsPbCodeGenerator.
2365
+ * @param {Array=} opt_data Optional initial data array, typically from a
2366
+ * server response, or constructed directly in Javascript. The array is used
2367
+ * in place and becomes part of the constructed object. It is not cloned.
2368
+ * If no data is provided, the constructed object will be empty, but still
2369
+ * valid.
2370
+ * @extends {jspb.Message}
2371
+ * @constructor
2372
+ */
2373
+ proto.game.GeoRestrictionStatusResponse = function(opt_data) {
2374
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2375
+ };
2376
+ goog.inherits(proto.game.GeoRestrictionStatusResponse, jspb.Message);
2377
+ if (goog.DEBUG && !COMPILED) {
2378
+ /**
2379
+ * @public
2380
+ * @override
2381
+ */
2382
+ proto.game.GeoRestrictionStatusResponse.displayName = 'proto.game.GeoRestrictionStatusResponse';
2383
+ }
2384
+ /**
2385
+ * Generated by JsPbCodeGenerator.
2386
+ * @param {Array=} opt_data Optional initial data array, typically from a
2387
+ * server response, or constructed directly in Javascript. The array is used
2388
+ * in place and becomes part of the constructed object. It is not cloned.
2389
+ * If no data is provided, the constructed object will be empty, but still
2390
+ * valid.
2391
+ * @extends {jspb.Message}
2392
+ * @constructor
2393
+ */
2394
+ proto.game.GeoRestrictionResponse = function(opt_data) {
2395
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GeoRestrictionResponse.repeatedFields_, null);
2396
+ };
2397
+ goog.inherits(proto.game.GeoRestrictionResponse, jspb.Message);
2398
+ if (goog.DEBUG && !COMPILED) {
2399
+ /**
2400
+ * @public
2401
+ * @override
2402
+ */
2403
+ proto.game.GeoRestrictionResponse.displayName = 'proto.game.GeoRestrictionResponse';
2404
+ }
2339
2405
 
2340
2406
 
2341
2407
 
@@ -29267,4 +29333,554 @@ proto.game.SegmentedUserResponse.prototype.clearUserIdsList = function() {
29267
29333
  };
29268
29334
 
29269
29335
 
29336
+
29337
+ /**
29338
+ * List of repeated fields within this message type.
29339
+ * @private {!Array<number>}
29340
+ * @const
29341
+ */
29342
+ proto.game.GeoRestrictionRequest.repeatedFields_ = [4];
29343
+
29344
+
29345
+
29346
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29347
+ /**
29348
+ * Creates an object representation of this proto.
29349
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29350
+ * Optional fields that are not set will be set to undefined.
29351
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29352
+ * For the list of reserved names please see:
29353
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29354
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29355
+ * JSPB instance for transitional soy proto support:
29356
+ * http://goto/soy-param-migration
29357
+ * @return {!Object}
29358
+ */
29359
+ proto.game.GeoRestrictionRequest.prototype.toObject = function(opt_includeInstance) {
29360
+ return proto.game.GeoRestrictionRequest.toObject(opt_includeInstance, this);
29361
+ };
29362
+
29363
+
29364
+ /**
29365
+ * Static version of the {@see toObject} method.
29366
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29367
+ * the JSPB instance for transitional soy proto support:
29368
+ * http://goto/soy-param-migration
29369
+ * @param {!proto.game.GeoRestrictionRequest} msg The msg instance to transform.
29370
+ * @return {!Object}
29371
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29372
+ */
29373
+ proto.game.GeoRestrictionRequest.toObject = function(includeInstance, msg) {
29374
+ var f, obj = {
29375
+ instanceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
29376
+ instanceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
29377
+ mode: jspb.Message.getFieldWithDefault(msg, 3, ""),
29378
+ geoList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
29379
+ };
29380
+
29381
+ if (includeInstance) {
29382
+ obj.$jspbMessageInstance = msg;
29383
+ }
29384
+ return obj;
29385
+ };
29386
+ }
29387
+
29388
+
29389
+ /**
29390
+ * Deserializes binary data (in protobuf wire format).
29391
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29392
+ * @return {!proto.game.GeoRestrictionRequest}
29393
+ */
29394
+ proto.game.GeoRestrictionRequest.deserializeBinary = function(bytes) {
29395
+ var reader = new jspb.BinaryReader(bytes);
29396
+ var msg = new proto.game.GeoRestrictionRequest;
29397
+ return proto.game.GeoRestrictionRequest.deserializeBinaryFromReader(msg, reader);
29398
+ };
29399
+
29400
+
29401
+ /**
29402
+ * Deserializes binary data (in protobuf wire format) from the
29403
+ * given reader into the given message object.
29404
+ * @param {!proto.game.GeoRestrictionRequest} msg The message object to deserialize into.
29405
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29406
+ * @return {!proto.game.GeoRestrictionRequest}
29407
+ */
29408
+ proto.game.GeoRestrictionRequest.deserializeBinaryFromReader = function(msg, reader) {
29409
+ while (reader.nextField()) {
29410
+ if (reader.isEndGroup()) {
29411
+ break;
29412
+ }
29413
+ var field = reader.getFieldNumber();
29414
+ switch (field) {
29415
+ case 1:
29416
+ var value = /** @type {number} */ (reader.readInt32());
29417
+ msg.setInstanceId(value);
29418
+ break;
29419
+ case 2:
29420
+ var value = /** @type {string} */ (reader.readString());
29421
+ msg.setInstanceType(value);
29422
+ break;
29423
+ case 3:
29424
+ var value = /** @type {string} */ (reader.readString());
29425
+ msg.setMode(value);
29426
+ break;
29427
+ case 4:
29428
+ var value = /** @type {string} */ (reader.readString());
29429
+ msg.addGeo(value);
29430
+ break;
29431
+ default:
29432
+ reader.skipField();
29433
+ break;
29434
+ }
29435
+ }
29436
+ return msg;
29437
+ };
29438
+
29439
+
29440
+ /**
29441
+ * Serializes the message to binary data (in protobuf wire format).
29442
+ * @return {!Uint8Array}
29443
+ */
29444
+ proto.game.GeoRestrictionRequest.prototype.serializeBinary = function() {
29445
+ var writer = new jspb.BinaryWriter();
29446
+ proto.game.GeoRestrictionRequest.serializeBinaryToWriter(this, writer);
29447
+ return writer.getResultBuffer();
29448
+ };
29449
+
29450
+
29451
+ /**
29452
+ * Serializes the given message to binary data (in protobuf wire
29453
+ * format), writing to the given BinaryWriter.
29454
+ * @param {!proto.game.GeoRestrictionRequest} message
29455
+ * @param {!jspb.BinaryWriter} writer
29456
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29457
+ */
29458
+ proto.game.GeoRestrictionRequest.serializeBinaryToWriter = function(message, writer) {
29459
+ var f = undefined;
29460
+ f = message.getInstanceId();
29461
+ if (f !== 0) {
29462
+ writer.writeInt32(
29463
+ 1,
29464
+ f
29465
+ );
29466
+ }
29467
+ f = message.getInstanceType();
29468
+ if (f.length > 0) {
29469
+ writer.writeString(
29470
+ 2,
29471
+ f
29472
+ );
29473
+ }
29474
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
29475
+ if (f != null) {
29476
+ writer.writeString(
29477
+ 3,
29478
+ f
29479
+ );
29480
+ }
29481
+ f = message.getGeoList();
29482
+ if (f.length > 0) {
29483
+ writer.writeRepeatedString(
29484
+ 4,
29485
+ f
29486
+ );
29487
+ }
29488
+ };
29489
+
29490
+
29491
+ /**
29492
+ * optional int32 instance_id = 1;
29493
+ * @return {number}
29494
+ */
29495
+ proto.game.GeoRestrictionRequest.prototype.getInstanceId = function() {
29496
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29497
+ };
29498
+
29499
+
29500
+ /**
29501
+ * @param {number} value
29502
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29503
+ */
29504
+ proto.game.GeoRestrictionRequest.prototype.setInstanceId = function(value) {
29505
+ return jspb.Message.setProto3IntField(this, 1, value);
29506
+ };
29507
+
29508
+
29509
+ /**
29510
+ * optional string instance_type = 2;
29511
+ * @return {string}
29512
+ */
29513
+ proto.game.GeoRestrictionRequest.prototype.getInstanceType = function() {
29514
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
29515
+ };
29516
+
29517
+
29518
+ /**
29519
+ * @param {string} value
29520
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29521
+ */
29522
+ proto.game.GeoRestrictionRequest.prototype.setInstanceType = function(value) {
29523
+ return jspb.Message.setProto3StringField(this, 2, value);
29524
+ };
29525
+
29526
+
29527
+ /**
29528
+ * optional string mode = 3;
29529
+ * @return {string}
29530
+ */
29531
+ proto.game.GeoRestrictionRequest.prototype.getMode = function() {
29532
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
29533
+ };
29534
+
29535
+
29536
+ /**
29537
+ * @param {string} value
29538
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29539
+ */
29540
+ proto.game.GeoRestrictionRequest.prototype.setMode = function(value) {
29541
+ return jspb.Message.setField(this, 3, value);
29542
+ };
29543
+
29544
+
29545
+ /**
29546
+ * Clears the field making it undefined.
29547
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29548
+ */
29549
+ proto.game.GeoRestrictionRequest.prototype.clearMode = function() {
29550
+ return jspb.Message.setField(this, 3, undefined);
29551
+ };
29552
+
29553
+
29554
+ /**
29555
+ * Returns whether this field is set.
29556
+ * @return {boolean}
29557
+ */
29558
+ proto.game.GeoRestrictionRequest.prototype.hasMode = function() {
29559
+ return jspb.Message.getField(this, 3) != null;
29560
+ };
29561
+
29562
+
29563
+ /**
29564
+ * repeated string geo = 4;
29565
+ * @return {!Array<string>}
29566
+ */
29567
+ proto.game.GeoRestrictionRequest.prototype.getGeoList = function() {
29568
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
29569
+ };
29570
+
29571
+
29572
+ /**
29573
+ * @param {!Array<string>} value
29574
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29575
+ */
29576
+ proto.game.GeoRestrictionRequest.prototype.setGeoList = function(value) {
29577
+ return jspb.Message.setField(this, 4, value || []);
29578
+ };
29579
+
29580
+
29581
+ /**
29582
+ * @param {string} value
29583
+ * @param {number=} opt_index
29584
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29585
+ */
29586
+ proto.game.GeoRestrictionRequest.prototype.addGeo = function(value, opt_index) {
29587
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
29588
+ };
29589
+
29590
+
29591
+ /**
29592
+ * Clears the list making it empty but non-null.
29593
+ * @return {!proto.game.GeoRestrictionRequest} returns this
29594
+ */
29595
+ proto.game.GeoRestrictionRequest.prototype.clearGeoList = function() {
29596
+ return this.setGeoList([]);
29597
+ };
29598
+
29599
+
29600
+
29601
+
29602
+
29603
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29604
+ /**
29605
+ * Creates an object representation of this proto.
29606
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29607
+ * Optional fields that are not set will be set to undefined.
29608
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29609
+ * For the list of reserved names please see:
29610
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29611
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29612
+ * JSPB instance for transitional soy proto support:
29613
+ * http://goto/soy-param-migration
29614
+ * @return {!Object}
29615
+ */
29616
+ proto.game.GeoRestrictionStatusResponse.prototype.toObject = function(opt_includeInstance) {
29617
+ return proto.game.GeoRestrictionStatusResponse.toObject(opt_includeInstance, this);
29618
+ };
29619
+
29620
+
29621
+ /**
29622
+ * Static version of the {@see toObject} method.
29623
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29624
+ * the JSPB instance for transitional soy proto support:
29625
+ * http://goto/soy-param-migration
29626
+ * @param {!proto.game.GeoRestrictionStatusResponse} msg The msg instance to transform.
29627
+ * @return {!Object}
29628
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29629
+ */
29630
+ proto.game.GeoRestrictionStatusResponse.toObject = function(includeInstance, msg) {
29631
+ var f, obj = {
29632
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
29633
+ };
29634
+
29635
+ if (includeInstance) {
29636
+ obj.$jspbMessageInstance = msg;
29637
+ }
29638
+ return obj;
29639
+ };
29640
+ }
29641
+
29642
+
29643
+ /**
29644
+ * Deserializes binary data (in protobuf wire format).
29645
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29646
+ * @return {!proto.game.GeoRestrictionStatusResponse}
29647
+ */
29648
+ proto.game.GeoRestrictionStatusResponse.deserializeBinary = function(bytes) {
29649
+ var reader = new jspb.BinaryReader(bytes);
29650
+ var msg = new proto.game.GeoRestrictionStatusResponse;
29651
+ return proto.game.GeoRestrictionStatusResponse.deserializeBinaryFromReader(msg, reader);
29652
+ };
29653
+
29654
+
29655
+ /**
29656
+ * Deserializes binary data (in protobuf wire format) from the
29657
+ * given reader into the given message object.
29658
+ * @param {!proto.game.GeoRestrictionStatusResponse} msg The message object to deserialize into.
29659
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29660
+ * @return {!proto.game.GeoRestrictionStatusResponse}
29661
+ */
29662
+ proto.game.GeoRestrictionStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
29663
+ while (reader.nextField()) {
29664
+ if (reader.isEndGroup()) {
29665
+ break;
29666
+ }
29667
+ var field = reader.getFieldNumber();
29668
+ switch (field) {
29669
+ case 1:
29670
+ var value = /** @type {string} */ (reader.readString());
29671
+ msg.setStatus(value);
29672
+ break;
29673
+ default:
29674
+ reader.skipField();
29675
+ break;
29676
+ }
29677
+ }
29678
+ return msg;
29679
+ };
29680
+
29681
+
29682
+ /**
29683
+ * Serializes the message to binary data (in protobuf wire format).
29684
+ * @return {!Uint8Array}
29685
+ */
29686
+ proto.game.GeoRestrictionStatusResponse.prototype.serializeBinary = function() {
29687
+ var writer = new jspb.BinaryWriter();
29688
+ proto.game.GeoRestrictionStatusResponse.serializeBinaryToWriter(this, writer);
29689
+ return writer.getResultBuffer();
29690
+ };
29691
+
29692
+
29693
+ /**
29694
+ * Serializes the given message to binary data (in protobuf wire
29695
+ * format), writing to the given BinaryWriter.
29696
+ * @param {!proto.game.GeoRestrictionStatusResponse} message
29697
+ * @param {!jspb.BinaryWriter} writer
29698
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29699
+ */
29700
+ proto.game.GeoRestrictionStatusResponse.serializeBinaryToWriter = function(message, writer) {
29701
+ var f = undefined;
29702
+ f = message.getStatus();
29703
+ if (f.length > 0) {
29704
+ writer.writeString(
29705
+ 1,
29706
+ f
29707
+ );
29708
+ }
29709
+ };
29710
+
29711
+
29712
+ /**
29713
+ * optional string status = 1;
29714
+ * @return {string}
29715
+ */
29716
+ proto.game.GeoRestrictionStatusResponse.prototype.getStatus = function() {
29717
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
29718
+ };
29719
+
29720
+
29721
+ /**
29722
+ * @param {string} value
29723
+ * @return {!proto.game.GeoRestrictionStatusResponse} returns this
29724
+ */
29725
+ proto.game.GeoRestrictionStatusResponse.prototype.setStatus = function(value) {
29726
+ return jspb.Message.setProto3StringField(this, 1, value);
29727
+ };
29728
+
29729
+
29730
+
29731
+ /**
29732
+ * List of repeated fields within this message type.
29733
+ * @private {!Array<number>}
29734
+ * @const
29735
+ */
29736
+ proto.game.GeoRestrictionResponse.repeatedFields_ = [1];
29737
+
29738
+
29739
+
29740
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29741
+ /**
29742
+ * Creates an object representation of this proto.
29743
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29744
+ * Optional fields that are not set will be set to undefined.
29745
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29746
+ * For the list of reserved names please see:
29747
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29748
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29749
+ * JSPB instance for transitional soy proto support:
29750
+ * http://goto/soy-param-migration
29751
+ * @return {!Object}
29752
+ */
29753
+ proto.game.GeoRestrictionResponse.prototype.toObject = function(opt_includeInstance) {
29754
+ return proto.game.GeoRestrictionResponse.toObject(opt_includeInstance, this);
29755
+ };
29756
+
29757
+
29758
+ /**
29759
+ * Static version of the {@see toObject} method.
29760
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29761
+ * the JSPB instance for transitional soy proto support:
29762
+ * http://goto/soy-param-migration
29763
+ * @param {!proto.game.GeoRestrictionResponse} msg The msg instance to transform.
29764
+ * @return {!Object}
29765
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29766
+ */
29767
+ proto.game.GeoRestrictionResponse.toObject = function(includeInstance, msg) {
29768
+ var f, obj = {
29769
+ geoList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
29770
+ };
29771
+
29772
+ if (includeInstance) {
29773
+ obj.$jspbMessageInstance = msg;
29774
+ }
29775
+ return obj;
29776
+ };
29777
+ }
29778
+
29779
+
29780
+ /**
29781
+ * Deserializes binary data (in protobuf wire format).
29782
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29783
+ * @return {!proto.game.GeoRestrictionResponse}
29784
+ */
29785
+ proto.game.GeoRestrictionResponse.deserializeBinary = function(bytes) {
29786
+ var reader = new jspb.BinaryReader(bytes);
29787
+ var msg = new proto.game.GeoRestrictionResponse;
29788
+ return proto.game.GeoRestrictionResponse.deserializeBinaryFromReader(msg, reader);
29789
+ };
29790
+
29791
+
29792
+ /**
29793
+ * Deserializes binary data (in protobuf wire format) from the
29794
+ * given reader into the given message object.
29795
+ * @param {!proto.game.GeoRestrictionResponse} msg The message object to deserialize into.
29796
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29797
+ * @return {!proto.game.GeoRestrictionResponse}
29798
+ */
29799
+ proto.game.GeoRestrictionResponse.deserializeBinaryFromReader = function(msg, reader) {
29800
+ while (reader.nextField()) {
29801
+ if (reader.isEndGroup()) {
29802
+ break;
29803
+ }
29804
+ var field = reader.getFieldNumber();
29805
+ switch (field) {
29806
+ case 1:
29807
+ var value = /** @type {string} */ (reader.readString());
29808
+ msg.addGeo(value);
29809
+ break;
29810
+ default:
29811
+ reader.skipField();
29812
+ break;
29813
+ }
29814
+ }
29815
+ return msg;
29816
+ };
29817
+
29818
+
29819
+ /**
29820
+ * Serializes the message to binary data (in protobuf wire format).
29821
+ * @return {!Uint8Array}
29822
+ */
29823
+ proto.game.GeoRestrictionResponse.prototype.serializeBinary = function() {
29824
+ var writer = new jspb.BinaryWriter();
29825
+ proto.game.GeoRestrictionResponse.serializeBinaryToWriter(this, writer);
29826
+ return writer.getResultBuffer();
29827
+ };
29828
+
29829
+
29830
+ /**
29831
+ * Serializes the given message to binary data (in protobuf wire
29832
+ * format), writing to the given BinaryWriter.
29833
+ * @param {!proto.game.GeoRestrictionResponse} message
29834
+ * @param {!jspb.BinaryWriter} writer
29835
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29836
+ */
29837
+ proto.game.GeoRestrictionResponse.serializeBinaryToWriter = function(message, writer) {
29838
+ var f = undefined;
29839
+ f = message.getGeoList();
29840
+ if (f.length > 0) {
29841
+ writer.writeRepeatedString(
29842
+ 1,
29843
+ f
29844
+ );
29845
+ }
29846
+ };
29847
+
29848
+
29849
+ /**
29850
+ * repeated string geo = 1;
29851
+ * @return {!Array<string>}
29852
+ */
29853
+ proto.game.GeoRestrictionResponse.prototype.getGeoList = function() {
29854
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
29855
+ };
29856
+
29857
+
29858
+ /**
29859
+ * @param {!Array<string>} value
29860
+ * @return {!proto.game.GeoRestrictionResponse} returns this
29861
+ */
29862
+ proto.game.GeoRestrictionResponse.prototype.setGeoList = function(value) {
29863
+ return jspb.Message.setField(this, 1, value || []);
29864
+ };
29865
+
29866
+
29867
+ /**
29868
+ * @param {string} value
29869
+ * @param {number=} opt_index
29870
+ * @return {!proto.game.GeoRestrictionResponse} returns this
29871
+ */
29872
+ proto.game.GeoRestrictionResponse.prototype.addGeo = function(value, opt_index) {
29873
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
29874
+ };
29875
+
29876
+
29877
+ /**
29878
+ * Clears the list making it empty but non-null.
29879
+ * @return {!proto.game.GeoRestrictionResponse} returns this
29880
+ */
29881
+ proto.game.GeoRestrictionResponse.prototype.clearGeoList = function() {
29882
+ return this.setGeoList([]);
29883
+ };
29884
+
29885
+
29270
29886
  goog.object.extend(exports, proto.game);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.28",
3
+ "version": "1.2.30",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {