protobuf-platform 1.0.67 → 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/game/game.proto CHANGED
@@ -18,6 +18,8 @@ service Game {
18
18
  rpc deleteSingleCollection(GetCollectionRequest) returns (CollectionStatusResponse);
19
19
  rpc readListCollections(PaginationRequest) returns (CollectionItemsResponse);
20
20
  rpc addGamesToCollection(CollectionGamesRequest) returns (CollectionStatusResponse);
21
+ rpc removeGamesFromCollection(CollectionGamesRequest) returns (CollectionStatusResponse);
22
+ rpc updateGamesPriorityInCollection(CollectionGamesPriorityRequest) returns (CollectionStatusResponse);
21
23
  //Tags
22
24
  rpc createSingleTag(stream TagRequest) returns (TagResponse);
23
25
  rpc readSingleTag(GetTagRequest) returns (TagResponse);
@@ -25,6 +27,8 @@ service Game {
25
27
  rpc deleteSingleTag(GetTagRequest) returns (TagStatusResponse);
26
28
  rpc readListTags(PaginationRequest) returns (TagItemsResponse);
27
29
  rpc addGamesToTag(TagGamesRequest) returns (TagStatusResponse);
30
+ rpc removeGamesFromTag(TagGamesRequest) returns (TagStatusResponse);
31
+ rpc updateGamesPriorityInTag(TagGamesPriorityRequest) returns (TagStatusResponse);
28
32
  //Providers
29
33
  rpc createSingleProvider(stream ProviderRequest) returns (ProviderResponse);
30
34
  rpc readSingleProvider(GetProviderRequest) returns (ProviderResponse);
@@ -135,6 +139,11 @@ message CollectionGamesRequest {
135
139
  string game_ids = 2;
136
140
  optional string geo = 3;
137
141
  }
142
+ message CollectionGamesPriorityRequest {
143
+ int32 id = 1;
144
+ string game_priorities = 2;
145
+ optional string geo = 3;
146
+ }
138
147
 
139
148
  //Tag CRUD
140
149
  message TagItem {
@@ -181,6 +190,11 @@ message TagGamesRequest {
181
190
  string game_ids = 2;
182
191
  optional string geo = 3;
183
192
  }
193
+ message TagGamesPriorityRequest {
194
+ int32 id = 1;
195
+ string game_priorities = 2;
196
+ optional string geo = 3;
197
+ }
184
198
 
185
199
  //Provider CRUD
186
200
  message ProviderItem {
@@ -48,6 +48,17 @@ function deserialize_game_CategoryStatusResponse(buffer_arg) {
48
48
  return game_pb.CategoryStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
49
49
  }
50
50
 
51
+ function serialize_game_CollectionGamesPriorityRequest(arg) {
52
+ if (!(arg instanceof game_pb.CollectionGamesPriorityRequest)) {
53
+ throw new Error('Expected argument of type game.CollectionGamesPriorityRequest');
54
+ }
55
+ return Buffer.from(arg.serializeBinary());
56
+ }
57
+
58
+ function deserialize_game_CollectionGamesPriorityRequest(buffer_arg) {
59
+ return game_pb.CollectionGamesPriorityRequest.deserializeBinary(new Uint8Array(buffer_arg));
60
+ }
61
+
51
62
  function serialize_game_CollectionGamesRequest(arg) {
52
63
  if (!(arg instanceof game_pb.CollectionGamesRequest)) {
53
64
  throw new Error('Expected argument of type game.CollectionGamesRequest');
@@ -345,6 +356,17 @@ function deserialize_game_SearchGamesIntoTagsRequest(buffer_arg) {
345
356
  return game_pb.SearchGamesIntoTagsRequest.deserializeBinary(new Uint8Array(buffer_arg));
346
357
  }
347
358
 
359
+ function serialize_game_TagGamesPriorityRequest(arg) {
360
+ if (!(arg instanceof game_pb.TagGamesPriorityRequest)) {
361
+ throw new Error('Expected argument of type game.TagGamesPriorityRequest');
362
+ }
363
+ return Buffer.from(arg.serializeBinary());
364
+ }
365
+
366
+ function deserialize_game_TagGamesPriorityRequest(buffer_arg) {
367
+ return game_pb.TagGamesPriorityRequest.deserializeBinary(new Uint8Array(buffer_arg));
368
+ }
369
+
348
370
  function serialize_game_TagGamesRequest(arg) {
349
371
  if (!(arg instanceof game_pb.TagGamesRequest)) {
350
372
  throw new Error('Expected argument of type game.TagGamesRequest');
@@ -547,6 +569,28 @@ createSingleCollection: {
547
569
  responseSerialize: serialize_game_CollectionStatusResponse,
548
570
  responseDeserialize: deserialize_game_CollectionStatusResponse,
549
571
  },
572
+ removeGamesFromCollection: {
573
+ path: '/game.Game/removeGamesFromCollection',
574
+ requestStream: false,
575
+ responseStream: false,
576
+ requestType: game_pb.CollectionGamesRequest,
577
+ responseType: game_pb.CollectionStatusResponse,
578
+ requestSerialize: serialize_game_CollectionGamesRequest,
579
+ requestDeserialize: deserialize_game_CollectionGamesRequest,
580
+ responseSerialize: serialize_game_CollectionStatusResponse,
581
+ responseDeserialize: deserialize_game_CollectionStatusResponse,
582
+ },
583
+ updateGamesPriorityInCollection: {
584
+ path: '/game.Game/updateGamesPriorityInCollection',
585
+ requestStream: false,
586
+ responseStream: false,
587
+ requestType: game_pb.CollectionGamesPriorityRequest,
588
+ responseType: game_pb.CollectionStatusResponse,
589
+ requestSerialize: serialize_game_CollectionGamesPriorityRequest,
590
+ requestDeserialize: deserialize_game_CollectionGamesPriorityRequest,
591
+ responseSerialize: serialize_game_CollectionStatusResponse,
592
+ responseDeserialize: deserialize_game_CollectionStatusResponse,
593
+ },
550
594
  // Tags
551
595
  createSingleTag: {
552
596
  path: '/game.Game/createSingleTag',
@@ -614,6 +658,28 @@ createSingleTag: {
614
658
  responseSerialize: serialize_game_TagStatusResponse,
615
659
  responseDeserialize: deserialize_game_TagStatusResponse,
616
660
  },
661
+ removeGamesFromTag: {
662
+ path: '/game.Game/removeGamesFromTag',
663
+ requestStream: false,
664
+ responseStream: false,
665
+ requestType: game_pb.TagGamesRequest,
666
+ responseType: game_pb.TagStatusResponse,
667
+ requestSerialize: serialize_game_TagGamesRequest,
668
+ requestDeserialize: deserialize_game_TagGamesRequest,
669
+ responseSerialize: serialize_game_TagStatusResponse,
670
+ responseDeserialize: deserialize_game_TagStatusResponse,
671
+ },
672
+ updateGamesPriorityInTag: {
673
+ path: '/game.Game/updateGamesPriorityInTag',
674
+ requestStream: false,
675
+ responseStream: false,
676
+ requestType: game_pb.TagGamesPriorityRequest,
677
+ responseType: game_pb.TagStatusResponse,
678
+ requestSerialize: serialize_game_TagGamesPriorityRequest,
679
+ requestDeserialize: deserialize_game_TagGamesPriorityRequest,
680
+ responseSerialize: serialize_game_TagStatusResponse,
681
+ responseDeserialize: deserialize_game_TagStatusResponse,
682
+ },
617
683
  // Providers
618
684
  createSingleProvider: {
619
685
  path: '/game.Game/createSingleProvider',
package/game/game_pb.js CHANGED
@@ -28,6 +28,7 @@ goog.exportSymbol('proto.game.CategoryRequest', null, global);
28
28
  goog.exportSymbol('proto.game.CategoryRequest.RequestCase', null, global);
29
29
  goog.exportSymbol('proto.game.CategoryResponse', null, global);
30
30
  goog.exportSymbol('proto.game.CategoryStatusResponse', null, global);
31
+ goog.exportSymbol('proto.game.CollectionGamesPriorityRequest', null, global);
31
32
  goog.exportSymbol('proto.game.CollectionGamesRequest', null, global);
32
33
  goog.exportSymbol('proto.game.CollectionItem', null, global);
33
34
  goog.exportSymbol('proto.game.CollectionItemRequest', null, global);
@@ -64,6 +65,7 @@ goog.exportSymbol('proto.game.ProviderResponse', null, global);
64
65
  goog.exportSymbol('proto.game.ProviderStatusResponse', null, global);
65
66
  goog.exportSymbol('proto.game.SearchGamesIntoCollectionsRequest', null, global);
66
67
  goog.exportSymbol('proto.game.SearchGamesIntoTagsRequest', null, global);
68
+ goog.exportSymbol('proto.game.TagGamesPriorityRequest', null, global);
67
69
  goog.exportSymbol('proto.game.TagGamesRequest', null, global);
68
70
  goog.exportSymbol('proto.game.TagItem', null, global);
69
71
  goog.exportSymbol('proto.game.TagItemRequest', null, global);
@@ -492,6 +494,27 @@ if (goog.DEBUG && !COMPILED) {
492
494
  */
493
495
  proto.game.CollectionGamesRequest.displayName = 'proto.game.CollectionGamesRequest';
494
496
  }
497
+ /**
498
+ * Generated by JsPbCodeGenerator.
499
+ * @param {Array=} opt_data Optional initial data array, typically from a
500
+ * server response, or constructed directly in Javascript. The array is used
501
+ * in place and becomes part of the constructed object. It is not cloned.
502
+ * If no data is provided, the constructed object will be empty, but still
503
+ * valid.
504
+ * @extends {jspb.Message}
505
+ * @constructor
506
+ */
507
+ proto.game.CollectionGamesPriorityRequest = function(opt_data) {
508
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
509
+ };
510
+ goog.inherits(proto.game.CollectionGamesPriorityRequest, jspb.Message);
511
+ if (goog.DEBUG && !COMPILED) {
512
+ /**
513
+ * @public
514
+ * @override
515
+ */
516
+ proto.game.CollectionGamesPriorityRequest.displayName = 'proto.game.CollectionGamesPriorityRequest';
517
+ }
495
518
  /**
496
519
  * Generated by JsPbCodeGenerator.
497
520
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -660,6 +683,27 @@ if (goog.DEBUG && !COMPILED) {
660
683
  */
661
684
  proto.game.TagGamesRequest.displayName = 'proto.game.TagGamesRequest';
662
685
  }
686
+ /**
687
+ * Generated by JsPbCodeGenerator.
688
+ * @param {Array=} opt_data Optional initial data array, typically from a
689
+ * server response, or constructed directly in Javascript. The array is used
690
+ * in place and becomes part of the constructed object. It is not cloned.
691
+ * If no data is provided, the constructed object will be empty, but still
692
+ * valid.
693
+ * @extends {jspb.Message}
694
+ * @constructor
695
+ */
696
+ proto.game.TagGamesPriorityRequest = function(opt_data) {
697
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
698
+ };
699
+ goog.inherits(proto.game.TagGamesPriorityRequest, jspb.Message);
700
+ if (goog.DEBUG && !COMPILED) {
701
+ /**
702
+ * @public
703
+ * @override
704
+ */
705
+ proto.game.TagGamesPriorityRequest.displayName = 'proto.game.TagGamesPriorityRequest';
706
+ }
663
707
  /**
664
708
  * Generated by JsPbCodeGenerator.
665
709
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5520,6 +5564,214 @@ proto.game.CollectionGamesRequest.prototype.hasGeo = function() {
5520
5564
 
5521
5565
 
5522
5566
 
5567
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5568
+ /**
5569
+ * Creates an object representation of this proto.
5570
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5571
+ * Optional fields that are not set will be set to undefined.
5572
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5573
+ * For the list of reserved names please see:
5574
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5575
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5576
+ * JSPB instance for transitional soy proto support:
5577
+ * http://goto/soy-param-migration
5578
+ * @return {!Object}
5579
+ */
5580
+ proto.game.CollectionGamesPriorityRequest.prototype.toObject = function(opt_includeInstance) {
5581
+ return proto.game.CollectionGamesPriorityRequest.toObject(opt_includeInstance, this);
5582
+ };
5583
+
5584
+
5585
+ /**
5586
+ * Static version of the {@see toObject} method.
5587
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5588
+ * the JSPB instance for transitional soy proto support:
5589
+ * http://goto/soy-param-migration
5590
+ * @param {!proto.game.CollectionGamesPriorityRequest} msg The msg instance to transform.
5591
+ * @return {!Object}
5592
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5593
+ */
5594
+ proto.game.CollectionGamesPriorityRequest.toObject = function(includeInstance, msg) {
5595
+ var f, obj = {
5596
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
5597
+ gamePriorities: jspb.Message.getFieldWithDefault(msg, 2, ""),
5598
+ geo: jspb.Message.getFieldWithDefault(msg, 3, "")
5599
+ };
5600
+
5601
+ if (includeInstance) {
5602
+ obj.$jspbMessageInstance = msg;
5603
+ }
5604
+ return obj;
5605
+ };
5606
+ }
5607
+
5608
+
5609
+ /**
5610
+ * Deserializes binary data (in protobuf wire format).
5611
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5612
+ * @return {!proto.game.CollectionGamesPriorityRequest}
5613
+ */
5614
+ proto.game.CollectionGamesPriorityRequest.deserializeBinary = function(bytes) {
5615
+ var reader = new jspb.BinaryReader(bytes);
5616
+ var msg = new proto.game.CollectionGamesPriorityRequest;
5617
+ return proto.game.CollectionGamesPriorityRequest.deserializeBinaryFromReader(msg, reader);
5618
+ };
5619
+
5620
+
5621
+ /**
5622
+ * Deserializes binary data (in protobuf wire format) from the
5623
+ * given reader into the given message object.
5624
+ * @param {!proto.game.CollectionGamesPriorityRequest} msg The message object to deserialize into.
5625
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5626
+ * @return {!proto.game.CollectionGamesPriorityRequest}
5627
+ */
5628
+ proto.game.CollectionGamesPriorityRequest.deserializeBinaryFromReader = function(msg, reader) {
5629
+ while (reader.nextField()) {
5630
+ if (reader.isEndGroup()) {
5631
+ break;
5632
+ }
5633
+ var field = reader.getFieldNumber();
5634
+ switch (field) {
5635
+ case 1:
5636
+ var value = /** @type {number} */ (reader.readInt32());
5637
+ msg.setId(value);
5638
+ break;
5639
+ case 2:
5640
+ var value = /** @type {string} */ (reader.readString());
5641
+ msg.setGamePriorities(value);
5642
+ break;
5643
+ case 3:
5644
+ var value = /** @type {string} */ (reader.readString());
5645
+ msg.setGeo(value);
5646
+ break;
5647
+ default:
5648
+ reader.skipField();
5649
+ break;
5650
+ }
5651
+ }
5652
+ return msg;
5653
+ };
5654
+
5655
+
5656
+ /**
5657
+ * Serializes the message to binary data (in protobuf wire format).
5658
+ * @return {!Uint8Array}
5659
+ */
5660
+ proto.game.CollectionGamesPriorityRequest.prototype.serializeBinary = function() {
5661
+ var writer = new jspb.BinaryWriter();
5662
+ proto.game.CollectionGamesPriorityRequest.serializeBinaryToWriter(this, writer);
5663
+ return writer.getResultBuffer();
5664
+ };
5665
+
5666
+
5667
+ /**
5668
+ * Serializes the given message to binary data (in protobuf wire
5669
+ * format), writing to the given BinaryWriter.
5670
+ * @param {!proto.game.CollectionGamesPriorityRequest} message
5671
+ * @param {!jspb.BinaryWriter} writer
5672
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5673
+ */
5674
+ proto.game.CollectionGamesPriorityRequest.serializeBinaryToWriter = function(message, writer) {
5675
+ var f = undefined;
5676
+ f = message.getId();
5677
+ if (f !== 0) {
5678
+ writer.writeInt32(
5679
+ 1,
5680
+ f
5681
+ );
5682
+ }
5683
+ f = message.getGamePriorities();
5684
+ if (f.length > 0) {
5685
+ writer.writeString(
5686
+ 2,
5687
+ f
5688
+ );
5689
+ }
5690
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
5691
+ if (f != null) {
5692
+ writer.writeString(
5693
+ 3,
5694
+ f
5695
+ );
5696
+ }
5697
+ };
5698
+
5699
+
5700
+ /**
5701
+ * optional int32 id = 1;
5702
+ * @return {number}
5703
+ */
5704
+ proto.game.CollectionGamesPriorityRequest.prototype.getId = function() {
5705
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5706
+ };
5707
+
5708
+
5709
+ /**
5710
+ * @param {number} value
5711
+ * @return {!proto.game.CollectionGamesPriorityRequest} returns this
5712
+ */
5713
+ proto.game.CollectionGamesPriorityRequest.prototype.setId = function(value) {
5714
+ return jspb.Message.setProto3IntField(this, 1, value);
5715
+ };
5716
+
5717
+
5718
+ /**
5719
+ * optional string game_priorities = 2;
5720
+ * @return {string}
5721
+ */
5722
+ proto.game.CollectionGamesPriorityRequest.prototype.getGamePriorities = function() {
5723
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5724
+ };
5725
+
5726
+
5727
+ /**
5728
+ * @param {string} value
5729
+ * @return {!proto.game.CollectionGamesPriorityRequest} returns this
5730
+ */
5731
+ proto.game.CollectionGamesPriorityRequest.prototype.setGamePriorities = function(value) {
5732
+ return jspb.Message.setProto3StringField(this, 2, value);
5733
+ };
5734
+
5735
+
5736
+ /**
5737
+ * optional string geo = 3;
5738
+ * @return {string}
5739
+ */
5740
+ proto.game.CollectionGamesPriorityRequest.prototype.getGeo = function() {
5741
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5742
+ };
5743
+
5744
+
5745
+ /**
5746
+ * @param {string} value
5747
+ * @return {!proto.game.CollectionGamesPriorityRequest} returns this
5748
+ */
5749
+ proto.game.CollectionGamesPriorityRequest.prototype.setGeo = function(value) {
5750
+ return jspb.Message.setField(this, 3, value);
5751
+ };
5752
+
5753
+
5754
+ /**
5755
+ * Clears the field making it undefined.
5756
+ * @return {!proto.game.CollectionGamesPriorityRequest} returns this
5757
+ */
5758
+ proto.game.CollectionGamesPriorityRequest.prototype.clearGeo = function() {
5759
+ return jspb.Message.setField(this, 3, undefined);
5760
+ };
5761
+
5762
+
5763
+ /**
5764
+ * Returns whether this field is set.
5765
+ * @return {boolean}
5766
+ */
5767
+ proto.game.CollectionGamesPriorityRequest.prototype.hasGeo = function() {
5768
+ return jspb.Message.getField(this, 3) != null;
5769
+ };
5770
+
5771
+
5772
+
5773
+
5774
+
5523
5775
  if (jspb.Message.GENERATE_TO_OBJECT) {
5524
5776
  /**
5525
5777
  * Creates an object representation of this proto.
@@ -7447,6 +7699,214 @@ proto.game.TagGamesRequest.prototype.hasGeo = function() {
7447
7699
 
7448
7700
 
7449
7701
 
7702
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7703
+ /**
7704
+ * Creates an object representation of this proto.
7705
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7706
+ * Optional fields that are not set will be set to undefined.
7707
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7708
+ * For the list of reserved names please see:
7709
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7710
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7711
+ * JSPB instance for transitional soy proto support:
7712
+ * http://goto/soy-param-migration
7713
+ * @return {!Object}
7714
+ */
7715
+ proto.game.TagGamesPriorityRequest.prototype.toObject = function(opt_includeInstance) {
7716
+ return proto.game.TagGamesPriorityRequest.toObject(opt_includeInstance, this);
7717
+ };
7718
+
7719
+
7720
+ /**
7721
+ * Static version of the {@see toObject} method.
7722
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7723
+ * the JSPB instance for transitional soy proto support:
7724
+ * http://goto/soy-param-migration
7725
+ * @param {!proto.game.TagGamesPriorityRequest} msg The msg instance to transform.
7726
+ * @return {!Object}
7727
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7728
+ */
7729
+ proto.game.TagGamesPriorityRequest.toObject = function(includeInstance, msg) {
7730
+ var f, obj = {
7731
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
7732
+ gamePriorities: jspb.Message.getFieldWithDefault(msg, 2, ""),
7733
+ geo: jspb.Message.getFieldWithDefault(msg, 3, "")
7734
+ };
7735
+
7736
+ if (includeInstance) {
7737
+ obj.$jspbMessageInstance = msg;
7738
+ }
7739
+ return obj;
7740
+ };
7741
+ }
7742
+
7743
+
7744
+ /**
7745
+ * Deserializes binary data (in protobuf wire format).
7746
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7747
+ * @return {!proto.game.TagGamesPriorityRequest}
7748
+ */
7749
+ proto.game.TagGamesPriorityRequest.deserializeBinary = function(bytes) {
7750
+ var reader = new jspb.BinaryReader(bytes);
7751
+ var msg = new proto.game.TagGamesPriorityRequest;
7752
+ return proto.game.TagGamesPriorityRequest.deserializeBinaryFromReader(msg, reader);
7753
+ };
7754
+
7755
+
7756
+ /**
7757
+ * Deserializes binary data (in protobuf wire format) from the
7758
+ * given reader into the given message object.
7759
+ * @param {!proto.game.TagGamesPriorityRequest} msg The message object to deserialize into.
7760
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7761
+ * @return {!proto.game.TagGamesPriorityRequest}
7762
+ */
7763
+ proto.game.TagGamesPriorityRequest.deserializeBinaryFromReader = function(msg, reader) {
7764
+ while (reader.nextField()) {
7765
+ if (reader.isEndGroup()) {
7766
+ break;
7767
+ }
7768
+ var field = reader.getFieldNumber();
7769
+ switch (field) {
7770
+ case 1:
7771
+ var value = /** @type {number} */ (reader.readInt32());
7772
+ msg.setId(value);
7773
+ break;
7774
+ case 2:
7775
+ var value = /** @type {string} */ (reader.readString());
7776
+ msg.setGamePriorities(value);
7777
+ break;
7778
+ case 3:
7779
+ var value = /** @type {string} */ (reader.readString());
7780
+ msg.setGeo(value);
7781
+ break;
7782
+ default:
7783
+ reader.skipField();
7784
+ break;
7785
+ }
7786
+ }
7787
+ return msg;
7788
+ };
7789
+
7790
+
7791
+ /**
7792
+ * Serializes the message to binary data (in protobuf wire format).
7793
+ * @return {!Uint8Array}
7794
+ */
7795
+ proto.game.TagGamesPriorityRequest.prototype.serializeBinary = function() {
7796
+ var writer = new jspb.BinaryWriter();
7797
+ proto.game.TagGamesPriorityRequest.serializeBinaryToWriter(this, writer);
7798
+ return writer.getResultBuffer();
7799
+ };
7800
+
7801
+
7802
+ /**
7803
+ * Serializes the given message to binary data (in protobuf wire
7804
+ * format), writing to the given BinaryWriter.
7805
+ * @param {!proto.game.TagGamesPriorityRequest} message
7806
+ * @param {!jspb.BinaryWriter} writer
7807
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7808
+ */
7809
+ proto.game.TagGamesPriorityRequest.serializeBinaryToWriter = function(message, writer) {
7810
+ var f = undefined;
7811
+ f = message.getId();
7812
+ if (f !== 0) {
7813
+ writer.writeInt32(
7814
+ 1,
7815
+ f
7816
+ );
7817
+ }
7818
+ f = message.getGamePriorities();
7819
+ if (f.length > 0) {
7820
+ writer.writeString(
7821
+ 2,
7822
+ f
7823
+ );
7824
+ }
7825
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
7826
+ if (f != null) {
7827
+ writer.writeString(
7828
+ 3,
7829
+ f
7830
+ );
7831
+ }
7832
+ };
7833
+
7834
+
7835
+ /**
7836
+ * optional int32 id = 1;
7837
+ * @return {number}
7838
+ */
7839
+ proto.game.TagGamesPriorityRequest.prototype.getId = function() {
7840
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7841
+ };
7842
+
7843
+
7844
+ /**
7845
+ * @param {number} value
7846
+ * @return {!proto.game.TagGamesPriorityRequest} returns this
7847
+ */
7848
+ proto.game.TagGamesPriorityRequest.prototype.setId = function(value) {
7849
+ return jspb.Message.setProto3IntField(this, 1, value);
7850
+ };
7851
+
7852
+
7853
+ /**
7854
+ * optional string game_priorities = 2;
7855
+ * @return {string}
7856
+ */
7857
+ proto.game.TagGamesPriorityRequest.prototype.getGamePriorities = function() {
7858
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7859
+ };
7860
+
7861
+
7862
+ /**
7863
+ * @param {string} value
7864
+ * @return {!proto.game.TagGamesPriorityRequest} returns this
7865
+ */
7866
+ proto.game.TagGamesPriorityRequest.prototype.setGamePriorities = function(value) {
7867
+ return jspb.Message.setProto3StringField(this, 2, value);
7868
+ };
7869
+
7870
+
7871
+ /**
7872
+ * optional string geo = 3;
7873
+ * @return {string}
7874
+ */
7875
+ proto.game.TagGamesPriorityRequest.prototype.getGeo = function() {
7876
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7877
+ };
7878
+
7879
+
7880
+ /**
7881
+ * @param {string} value
7882
+ * @return {!proto.game.TagGamesPriorityRequest} returns this
7883
+ */
7884
+ proto.game.TagGamesPriorityRequest.prototype.setGeo = function(value) {
7885
+ return jspb.Message.setField(this, 3, value);
7886
+ };
7887
+
7888
+
7889
+ /**
7890
+ * Clears the field making it undefined.
7891
+ * @return {!proto.game.TagGamesPriorityRequest} returns this
7892
+ */
7893
+ proto.game.TagGamesPriorityRequest.prototype.clearGeo = function() {
7894
+ return jspb.Message.setField(this, 3, undefined);
7895
+ };
7896
+
7897
+
7898
+ /**
7899
+ * Returns whether this field is set.
7900
+ * @return {boolean}
7901
+ */
7902
+ proto.game.TagGamesPriorityRequest.prototype.hasGeo = function() {
7903
+ return jspb.Message.getField(this, 3) != null;
7904
+ };
7905
+
7906
+
7907
+
7908
+
7909
+
7450
7910
  if (jspb.Message.GENERATE_TO_OBJECT) {
7451
7911
  /**
7452
7912
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {