protobuf-platform 1.0.268 → 1.0.269

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
@@ -561,8 +561,9 @@ message SEOInstanceRequest {
561
561
  int32 instance_id = 1;
562
562
  string instance_type = 2;
563
563
  string locale = 3;
564
- repeated SEOAttribute attributes = 4;
565
- optional bool with_main_info = 5;
564
+ optional string provider = 4;
565
+ repeated SEOAttribute attributes = 5;
566
+ optional bool with_main_info = 6;
566
567
  }
567
568
  message SEOInstanceResponse {
568
569
  repeated SEOAttribute attributes = 1;
package/game/game_pb.js CHANGED
@@ -23075,7 +23075,7 @@ proto.game.SEOAttribute.prototype.setValue = function(value) {
23075
23075
  * @private {!Array<number>}
23076
23076
  * @const
23077
23077
  */
23078
- proto.game.SEOInstanceRequest.repeatedFields_ = [4];
23078
+ proto.game.SEOInstanceRequest.repeatedFields_ = [5];
23079
23079
 
23080
23080
 
23081
23081
 
@@ -23111,9 +23111,10 @@ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
23111
23111
  instanceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
23112
23112
  instanceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
23113
23113
  locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
23114
+ provider: jspb.Message.getFieldWithDefault(msg, 4, ""),
23114
23115
  attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
23115
23116
  proto.game.SEOAttribute.toObject, includeInstance),
23116
- withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
23117
+ withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
23117
23118
  };
23118
23119
 
23119
23120
  if (includeInstance) {
@@ -23163,11 +23164,15 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
23163
23164
  msg.setLocale(value);
23164
23165
  break;
23165
23166
  case 4:
23167
+ var value = /** @type {string} */ (reader.readString());
23168
+ msg.setProvider(value);
23169
+ break;
23170
+ case 5:
23166
23171
  var value = new proto.game.SEOAttribute;
23167
23172
  reader.readMessage(value,proto.game.SEOAttribute.deserializeBinaryFromReader);
23168
23173
  msg.addAttributes(value);
23169
23174
  break;
23170
- case 5:
23175
+ case 6:
23171
23176
  var value = /** @type {boolean} */ (reader.readBool());
23172
23177
  msg.setWithMainInfo(value);
23173
23178
  break;
@@ -23221,18 +23226,25 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
23221
23226
  f
23222
23227
  );
23223
23228
  }
23229
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
23230
+ if (f != null) {
23231
+ writer.writeString(
23232
+ 4,
23233
+ f
23234
+ );
23235
+ }
23224
23236
  f = message.getAttributesList();
23225
23237
  if (f.length > 0) {
23226
23238
  writer.writeRepeatedMessage(
23227
- 4,
23239
+ 5,
23228
23240
  f,
23229
23241
  proto.game.SEOAttribute.serializeBinaryToWriter
23230
23242
  );
23231
23243
  }
23232
- f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
23244
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
23233
23245
  if (f != null) {
23234
23246
  writer.writeBool(
23235
- 5,
23247
+ 6,
23236
23248
  f
23237
23249
  );
23238
23250
  }
@@ -23294,12 +23306,48 @@ proto.game.SEOInstanceRequest.prototype.setLocale = function(value) {
23294
23306
 
23295
23307
 
23296
23308
  /**
23297
- * repeated SEOAttribute attributes = 4;
23309
+ * optional string provider = 4;
23310
+ * @return {string}
23311
+ */
23312
+ proto.game.SEOInstanceRequest.prototype.getProvider = function() {
23313
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
23314
+ };
23315
+
23316
+
23317
+ /**
23318
+ * @param {string} value
23319
+ * @return {!proto.game.SEOInstanceRequest} returns this
23320
+ */
23321
+ proto.game.SEOInstanceRequest.prototype.setProvider = function(value) {
23322
+ return jspb.Message.setField(this, 4, value);
23323
+ };
23324
+
23325
+
23326
+ /**
23327
+ * Clears the field making it undefined.
23328
+ * @return {!proto.game.SEOInstanceRequest} returns this
23329
+ */
23330
+ proto.game.SEOInstanceRequest.prototype.clearProvider = function() {
23331
+ return jspb.Message.setField(this, 4, undefined);
23332
+ };
23333
+
23334
+
23335
+ /**
23336
+ * Returns whether this field is set.
23337
+ * @return {boolean}
23338
+ */
23339
+ proto.game.SEOInstanceRequest.prototype.hasProvider = function() {
23340
+ return jspb.Message.getField(this, 4) != null;
23341
+ };
23342
+
23343
+
23344
+ /**
23345
+ * repeated SEOAttribute attributes = 5;
23298
23346
  * @return {!Array<!proto.game.SEOAttribute>}
23299
23347
  */
23300
23348
  proto.game.SEOInstanceRequest.prototype.getAttributesList = function() {
23301
23349
  return /** @type{!Array<!proto.game.SEOAttribute>} */ (
23302
- jspb.Message.getRepeatedWrapperField(this, proto.game.SEOAttribute, 4));
23350
+ jspb.Message.getRepeatedWrapperField(this, proto.game.SEOAttribute, 5));
23303
23351
  };
23304
23352
 
23305
23353
 
@@ -23308,7 +23356,7 @@ proto.game.SEOInstanceRequest.prototype.getAttributesList = function() {
23308
23356
  * @return {!proto.game.SEOInstanceRequest} returns this
23309
23357
  */
23310
23358
  proto.game.SEOInstanceRequest.prototype.setAttributesList = function(value) {
23311
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
23359
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
23312
23360
  };
23313
23361
 
23314
23362
 
@@ -23318,7 +23366,7 @@ proto.game.SEOInstanceRequest.prototype.setAttributesList = function(value) {
23318
23366
  * @return {!proto.game.SEOAttribute}
23319
23367
  */
23320
23368
  proto.game.SEOInstanceRequest.prototype.addAttributes = function(opt_value, opt_index) {
23321
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.game.SEOAttribute, opt_index);
23369
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.game.SEOAttribute, opt_index);
23322
23370
  };
23323
23371
 
23324
23372
 
@@ -23332,11 +23380,11 @@ proto.game.SEOInstanceRequest.prototype.clearAttributesList = function() {
23332
23380
 
23333
23381
 
23334
23382
  /**
23335
- * optional bool with_main_info = 5;
23383
+ * optional bool with_main_info = 6;
23336
23384
  * @return {boolean}
23337
23385
  */
23338
23386
  proto.game.SEOInstanceRequest.prototype.getWithMainInfo = function() {
23339
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
23387
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
23340
23388
  };
23341
23389
 
23342
23390
 
@@ -23345,7 +23393,7 @@ proto.game.SEOInstanceRequest.prototype.getWithMainInfo = function() {
23345
23393
  * @return {!proto.game.SEOInstanceRequest} returns this
23346
23394
  */
23347
23395
  proto.game.SEOInstanceRequest.prototype.setWithMainInfo = function(value) {
23348
- return jspb.Message.setField(this, 5, value);
23396
+ return jspb.Message.setField(this, 6, value);
23349
23397
  };
23350
23398
 
23351
23399
 
@@ -23354,7 +23402,7 @@ proto.game.SEOInstanceRequest.prototype.setWithMainInfo = function(value) {
23354
23402
  * @return {!proto.game.SEOInstanceRequest} returns this
23355
23403
  */
23356
23404
  proto.game.SEOInstanceRequest.prototype.clearWithMainInfo = function() {
23357
- return jspb.Message.setField(this, 5, undefined);
23405
+ return jspb.Message.setField(this, 6, undefined);
23358
23406
  };
23359
23407
 
23360
23408
 
@@ -23363,7 +23411,7 @@ proto.game.SEOInstanceRequest.prototype.clearWithMainInfo = function() {
23363
23411
  * @return {boolean}
23364
23412
  */
23365
23413
  proto.game.SEOInstanceRequest.prototype.hasWithMainInfo = function() {
23366
- return jspb.Message.getField(this, 5) != null;
23414
+ return jspb.Message.getField(this, 6) != null;
23367
23415
  };
23368
23416
 
23369
23417
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.268",
3
+ "version": "1.0.269",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {