protobuf-platform 1.0.268 → 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 +5 -3
- package/game/game_pb.js +132 -18
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -558,11 +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
|
-
|
565
|
-
|
564
|
+
optional string provider = 4;
|
565
|
+
repeated SEOAttribute attributes = 5;
|
566
|
+
optional bool with_main_info = 6;
|
567
|
+
optional string instance_slug = 7;
|
566
568
|
}
|
567
569
|
message SEOInstanceResponse {
|
568
570
|
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_ = [
|
23078
|
+
proto.game.SEOInstanceRequest.repeatedFields_ = [5];
|
23079
23079
|
|
23080
23080
|
|
23081
23081
|
|
@@ -23111,9 +23111,11 @@ 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,
|
23117
|
+
withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
23118
|
+
instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, "")
|
23117
23119
|
};
|
23118
23120
|
|
23119
23121
|
if (includeInstance) {
|
@@ -23163,14 +23165,22 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
|
|
23163
23165
|
msg.setLocale(value);
|
23164
23166
|
break;
|
23165
23167
|
case 4:
|
23168
|
+
var value = /** @type {string} */ (reader.readString());
|
23169
|
+
msg.setProvider(value);
|
23170
|
+
break;
|
23171
|
+
case 5:
|
23166
23172
|
var value = new proto.game.SEOAttribute;
|
23167
23173
|
reader.readMessage(value,proto.game.SEOAttribute.deserializeBinaryFromReader);
|
23168
23174
|
msg.addAttributes(value);
|
23169
23175
|
break;
|
23170
|
-
case
|
23176
|
+
case 6:
|
23171
23177
|
var value = /** @type {boolean} */ (reader.readBool());
|
23172
23178
|
msg.setWithMainInfo(value);
|
23173
23179
|
break;
|
23180
|
+
case 7:
|
23181
|
+
var value = /** @type {string} */ (reader.readString());
|
23182
|
+
msg.setInstanceSlug(value);
|
23183
|
+
break;
|
23174
23184
|
default:
|
23175
23185
|
reader.skipField();
|
23176
23186
|
break;
|
@@ -23200,8 +23210,8 @@ proto.game.SEOInstanceRequest.prototype.serializeBinary = function() {
|
|
23200
23210
|
*/
|
23201
23211
|
proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer) {
|
23202
23212
|
var f = undefined;
|
23203
|
-
f =
|
23204
|
-
if (f
|
23213
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
23214
|
+
if (f != null) {
|
23205
23215
|
writer.writeInt32(
|
23206
23216
|
1,
|
23207
23217
|
f
|
@@ -23221,18 +23231,32 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
|
|
23221
23231
|
f
|
23222
23232
|
);
|
23223
23233
|
}
|
23234
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
23235
|
+
if (f != null) {
|
23236
|
+
writer.writeString(
|
23237
|
+
4,
|
23238
|
+
f
|
23239
|
+
);
|
23240
|
+
}
|
23224
23241
|
f = message.getAttributesList();
|
23225
23242
|
if (f.length > 0) {
|
23226
23243
|
writer.writeRepeatedMessage(
|
23227
|
-
|
23244
|
+
5,
|
23228
23245
|
f,
|
23229
23246
|
proto.game.SEOAttribute.serializeBinaryToWriter
|
23230
23247
|
);
|
23231
23248
|
}
|
23232
|
-
f = /** @type {boolean} */ (jspb.Message.getField(message,
|
23249
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
23233
23250
|
if (f != null) {
|
23234
23251
|
writer.writeBool(
|
23235
|
-
|
23252
|
+
6,
|
23253
|
+
f
|
23254
|
+
);
|
23255
|
+
}
|
23256
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
23257
|
+
if (f != null) {
|
23258
|
+
writer.writeString(
|
23259
|
+
7,
|
23236
23260
|
f
|
23237
23261
|
);
|
23238
23262
|
}
|
@@ -23253,7 +23277,25 @@ proto.game.SEOInstanceRequest.prototype.getInstanceId = function() {
|
|
23253
23277
|
* @return {!proto.game.SEOInstanceRequest} returns this
|
23254
23278
|
*/
|
23255
23279
|
proto.game.SEOInstanceRequest.prototype.setInstanceId = function(value) {
|
23256
|
-
return jspb.Message.
|
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;
|
23257
23299
|
};
|
23258
23300
|
|
23259
23301
|
|
@@ -23294,12 +23336,48 @@ proto.game.SEOInstanceRequest.prototype.setLocale = function(value) {
|
|
23294
23336
|
|
23295
23337
|
|
23296
23338
|
/**
|
23297
|
-
*
|
23339
|
+
* optional string provider = 4;
|
23340
|
+
* @return {string}
|
23341
|
+
*/
|
23342
|
+
proto.game.SEOInstanceRequest.prototype.getProvider = function() {
|
23343
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
23344
|
+
};
|
23345
|
+
|
23346
|
+
|
23347
|
+
/**
|
23348
|
+
* @param {string} value
|
23349
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
23350
|
+
*/
|
23351
|
+
proto.game.SEOInstanceRequest.prototype.setProvider = function(value) {
|
23352
|
+
return jspb.Message.setField(this, 4, value);
|
23353
|
+
};
|
23354
|
+
|
23355
|
+
|
23356
|
+
/**
|
23357
|
+
* Clears the field making it undefined.
|
23358
|
+
* @return {!proto.game.SEOInstanceRequest} returns this
|
23359
|
+
*/
|
23360
|
+
proto.game.SEOInstanceRequest.prototype.clearProvider = function() {
|
23361
|
+
return jspb.Message.setField(this, 4, undefined);
|
23362
|
+
};
|
23363
|
+
|
23364
|
+
|
23365
|
+
/**
|
23366
|
+
* Returns whether this field is set.
|
23367
|
+
* @return {boolean}
|
23368
|
+
*/
|
23369
|
+
proto.game.SEOInstanceRequest.prototype.hasProvider = function() {
|
23370
|
+
return jspb.Message.getField(this, 4) != null;
|
23371
|
+
};
|
23372
|
+
|
23373
|
+
|
23374
|
+
/**
|
23375
|
+
* repeated SEOAttribute attributes = 5;
|
23298
23376
|
* @return {!Array<!proto.game.SEOAttribute>}
|
23299
23377
|
*/
|
23300
23378
|
proto.game.SEOInstanceRequest.prototype.getAttributesList = function() {
|
23301
23379
|
return /** @type{!Array<!proto.game.SEOAttribute>} */ (
|
23302
|
-
jspb.Message.getRepeatedWrapperField(this, proto.game.SEOAttribute,
|
23380
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.SEOAttribute, 5));
|
23303
23381
|
};
|
23304
23382
|
|
23305
23383
|
|
@@ -23308,7 +23386,7 @@ proto.game.SEOInstanceRequest.prototype.getAttributesList = function() {
|
|
23308
23386
|
* @return {!proto.game.SEOInstanceRequest} returns this
|
23309
23387
|
*/
|
23310
23388
|
proto.game.SEOInstanceRequest.prototype.setAttributesList = function(value) {
|
23311
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
23389
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
23312
23390
|
};
|
23313
23391
|
|
23314
23392
|
|
@@ -23318,7 +23396,7 @@ proto.game.SEOInstanceRequest.prototype.setAttributesList = function(value) {
|
|
23318
23396
|
* @return {!proto.game.SEOAttribute}
|
23319
23397
|
*/
|
23320
23398
|
proto.game.SEOInstanceRequest.prototype.addAttributes = function(opt_value, opt_index) {
|
23321
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
23399
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.game.SEOAttribute, opt_index);
|
23322
23400
|
};
|
23323
23401
|
|
23324
23402
|
|
@@ -23332,11 +23410,11 @@ proto.game.SEOInstanceRequest.prototype.clearAttributesList = function() {
|
|
23332
23410
|
|
23333
23411
|
|
23334
23412
|
/**
|
23335
|
-
* optional bool with_main_info =
|
23413
|
+
* optional bool with_main_info = 6;
|
23336
23414
|
* @return {boolean}
|
23337
23415
|
*/
|
23338
23416
|
proto.game.SEOInstanceRequest.prototype.getWithMainInfo = function() {
|
23339
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
23417
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
23340
23418
|
};
|
23341
23419
|
|
23342
23420
|
|
@@ -23345,7 +23423,7 @@ proto.game.SEOInstanceRequest.prototype.getWithMainInfo = function() {
|
|
23345
23423
|
* @return {!proto.game.SEOInstanceRequest} returns this
|
23346
23424
|
*/
|
23347
23425
|
proto.game.SEOInstanceRequest.prototype.setWithMainInfo = function(value) {
|
23348
|
-
return jspb.Message.setField(this,
|
23426
|
+
return jspb.Message.setField(this, 6, value);
|
23349
23427
|
};
|
23350
23428
|
|
23351
23429
|
|
@@ -23354,7 +23432,7 @@ proto.game.SEOInstanceRequest.prototype.setWithMainInfo = function(value) {
|
|
23354
23432
|
* @return {!proto.game.SEOInstanceRequest} returns this
|
23355
23433
|
*/
|
23356
23434
|
proto.game.SEOInstanceRequest.prototype.clearWithMainInfo = function() {
|
23357
|
-
return jspb.Message.setField(this,
|
23435
|
+
return jspb.Message.setField(this, 6, undefined);
|
23358
23436
|
};
|
23359
23437
|
|
23360
23438
|
|
@@ -23363,7 +23441,43 @@ proto.game.SEOInstanceRequest.prototype.clearWithMainInfo = function() {
|
|
23363
23441
|
* @return {boolean}
|
23364
23442
|
*/
|
23365
23443
|
proto.game.SEOInstanceRequest.prototype.hasWithMainInfo = function() {
|
23366
|
-
return jspb.Message.getField(this,
|
23444
|
+
return jspb.Message.getField(this, 6) != null;
|
23445
|
+
};
|
23446
|
+
|
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;
|
23367
23481
|
};
|
23368
23482
|
|
23369
23483
|
|