protobuf-platform 1.0.269 → 1.0.270

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
@@ -558,12 +558,13 @@ message SEOAttribute {
558
558
  string value = 2;
559
559
  }
560
560
  message SEOInstanceRequest {
561
- int32 instance_id = 1;
561
+ optional int32 instance_id = 1;
562
562
  string instance_type = 2;
563
563
  string locale = 3;
564
564
  optional string provider = 4;
565
565
  repeated SEOAttribute attributes = 5;
566
566
  optional bool with_main_info = 6;
567
+ optional string instance_slug = 7;
567
568
  }
568
569
  message SEOInstanceResponse {
569
570
  repeated SEOAttribute attributes = 1;
package/game/game_pb.js CHANGED
@@ -23114,7 +23114,8 @@ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
23114
23114
  provider: jspb.Message.getFieldWithDefault(msg, 4, ""),
23115
23115
  attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
23116
23116
  proto.game.SEOAttribute.toObject, includeInstance),
23117
- withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
23117
+ withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
23118
+ instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, "")
23118
23119
  };
23119
23120
 
23120
23121
  if (includeInstance) {
@@ -23176,6 +23177,10 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
23176
23177
  var value = /** @type {boolean} */ (reader.readBool());
23177
23178
  msg.setWithMainInfo(value);
23178
23179
  break;
23180
+ case 7:
23181
+ var value = /** @type {string} */ (reader.readString());
23182
+ msg.setInstanceSlug(value);
23183
+ break;
23179
23184
  default:
23180
23185
  reader.skipField();
23181
23186
  break;
@@ -23205,8 +23210,8 @@ proto.game.SEOInstanceRequest.prototype.serializeBinary = function() {
23205
23210
  */
23206
23211
  proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer) {
23207
23212
  var f = undefined;
23208
- f = message.getInstanceId();
23209
- if (f !== 0) {
23213
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
23214
+ if (f != null) {
23210
23215
  writer.writeInt32(
23211
23216
  1,
23212
23217
  f
@@ -23248,6 +23253,13 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
23248
23253
  f
23249
23254
  );
23250
23255
  }
23256
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
23257
+ if (f != null) {
23258
+ writer.writeString(
23259
+ 7,
23260
+ f
23261
+ );
23262
+ }
23251
23263
  };
23252
23264
 
23253
23265
 
@@ -23265,7 +23277,25 @@ proto.game.SEOInstanceRequest.prototype.getInstanceId = function() {
23265
23277
  * @return {!proto.game.SEOInstanceRequest} returns this
23266
23278
  */
23267
23279
  proto.game.SEOInstanceRequest.prototype.setInstanceId = function(value) {
23268
- return jspb.Message.setProto3IntField(this, 1, value);
23280
+ return jspb.Message.setField(this, 1, value);
23281
+ };
23282
+
23283
+
23284
+ /**
23285
+ * Clears the field making it undefined.
23286
+ * @return {!proto.game.SEOInstanceRequest} returns this
23287
+ */
23288
+ proto.game.SEOInstanceRequest.prototype.clearInstanceId = function() {
23289
+ return jspb.Message.setField(this, 1, undefined);
23290
+ };
23291
+
23292
+
23293
+ /**
23294
+ * Returns whether this field is set.
23295
+ * @return {boolean}
23296
+ */
23297
+ proto.game.SEOInstanceRequest.prototype.hasInstanceId = function() {
23298
+ return jspb.Message.getField(this, 1) != null;
23269
23299
  };
23270
23300
 
23271
23301
 
@@ -23415,6 +23445,42 @@ proto.game.SEOInstanceRequest.prototype.hasWithMainInfo = function() {
23415
23445
  };
23416
23446
 
23417
23447
 
23448
+ /**
23449
+ * optional string instance_slug = 7;
23450
+ * @return {string}
23451
+ */
23452
+ proto.game.SEOInstanceRequest.prototype.getInstanceSlug = function() {
23453
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
23454
+ };
23455
+
23456
+
23457
+ /**
23458
+ * @param {string} value
23459
+ * @return {!proto.game.SEOInstanceRequest} returns this
23460
+ */
23461
+ proto.game.SEOInstanceRequest.prototype.setInstanceSlug = function(value) {
23462
+ return jspb.Message.setField(this, 7, value);
23463
+ };
23464
+
23465
+
23466
+ /**
23467
+ * Clears the field making it undefined.
23468
+ * @return {!proto.game.SEOInstanceRequest} returns this
23469
+ */
23470
+ proto.game.SEOInstanceRequest.prototype.clearInstanceSlug = function() {
23471
+ return jspb.Message.setField(this, 7, undefined);
23472
+ };
23473
+
23474
+
23475
+ /**
23476
+ * Returns whether this field is set.
23477
+ * @return {boolean}
23478
+ */
23479
+ proto.game.SEOInstanceRequest.prototype.hasInstanceSlug = function() {
23480
+ return jspb.Message.getField(this, 7) != null;
23481
+ };
23482
+
23483
+
23418
23484
 
23419
23485
  /**
23420
23486
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.269",
3
+ "version": "1.0.270",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {