protobuf-platform 1.2.332 → 1.2.334

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/cms/cms.proto CHANGED
@@ -296,6 +296,11 @@ message BannerCta {
296
296
  optional int32 instance_id = 2; // entity instance id (used for future slug updates)
297
297
  optional string slug = 3; // tournament/bonus/promo/game slug, not required for deposit
298
298
  optional string provider_slug = 4; // required only for game
299
+ optional string image = 5;
300
+ optional UserBannerGameImages images = 6;
301
+ optional string portrait = 7;
302
+ optional string landscape = 8;
303
+ optional string square = 9;
299
304
  }
300
305
  message BannerResponse {
301
306
  BannerItem data = 1;
package/cms/cms_pb.js CHANGED
@@ -11213,7 +11213,12 @@ proto.cms.BannerCta.toObject = function(includeInstance, msg) {
11213
11213
  actionType: jspb.Message.getFieldWithDefault(msg, 1, ""),
11214
11214
  instanceId: jspb.Message.getFieldWithDefault(msg, 2, 0),
11215
11215
  slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
11216
- providerSlug: jspb.Message.getFieldWithDefault(msg, 4, "")
11216
+ providerSlug: jspb.Message.getFieldWithDefault(msg, 4, ""),
11217
+ image: jspb.Message.getFieldWithDefault(msg, 5, ""),
11218
+ images: (f = msg.getImages()) && proto.cms.UserBannerGameImages.toObject(includeInstance, f),
11219
+ portrait: jspb.Message.getFieldWithDefault(msg, 7, ""),
11220
+ landscape: jspb.Message.getFieldWithDefault(msg, 8, ""),
11221
+ square: jspb.Message.getFieldWithDefault(msg, 9, "")
11217
11222
  };
11218
11223
 
11219
11224
  if (includeInstance) {
@@ -11266,6 +11271,27 @@ proto.cms.BannerCta.deserializeBinaryFromReader = function(msg, reader) {
11266
11271
  var value = /** @type {string} */ (reader.readString());
11267
11272
  msg.setProviderSlug(value);
11268
11273
  break;
11274
+ case 5:
11275
+ var value = /** @type {string} */ (reader.readString());
11276
+ msg.setImage(value);
11277
+ break;
11278
+ case 6:
11279
+ var value = new proto.cms.UserBannerGameImages;
11280
+ reader.readMessage(value,proto.cms.UserBannerGameImages.deserializeBinaryFromReader);
11281
+ msg.setImages(value);
11282
+ break;
11283
+ case 7:
11284
+ var value = /** @type {string} */ (reader.readString());
11285
+ msg.setPortrait(value);
11286
+ break;
11287
+ case 8:
11288
+ var value = /** @type {string} */ (reader.readString());
11289
+ msg.setLandscape(value);
11290
+ break;
11291
+ case 9:
11292
+ var value = /** @type {string} */ (reader.readString());
11293
+ msg.setSquare(value);
11294
+ break;
11269
11295
  default:
11270
11296
  reader.skipField();
11271
11297
  break;
@@ -11323,6 +11349,42 @@ proto.cms.BannerCta.serializeBinaryToWriter = function(message, writer) {
11323
11349
  f
11324
11350
  );
11325
11351
  }
11352
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
11353
+ if (f != null) {
11354
+ writer.writeString(
11355
+ 5,
11356
+ f
11357
+ );
11358
+ }
11359
+ f = message.getImages();
11360
+ if (f != null) {
11361
+ writer.writeMessage(
11362
+ 6,
11363
+ f,
11364
+ proto.cms.UserBannerGameImages.serializeBinaryToWriter
11365
+ );
11366
+ }
11367
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
11368
+ if (f != null) {
11369
+ writer.writeString(
11370
+ 7,
11371
+ f
11372
+ );
11373
+ }
11374
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
11375
+ if (f != null) {
11376
+ writer.writeString(
11377
+ 8,
11378
+ f
11379
+ );
11380
+ }
11381
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
11382
+ if (f != null) {
11383
+ writer.writeString(
11384
+ 9,
11385
+ f
11386
+ );
11387
+ }
11326
11388
  };
11327
11389
 
11328
11390
 
@@ -11470,6 +11532,187 @@ proto.cms.BannerCta.prototype.hasProviderSlug = function() {
11470
11532
  };
11471
11533
 
11472
11534
 
11535
+ /**
11536
+ * optional string image = 5;
11537
+ * @return {string}
11538
+ */
11539
+ proto.cms.BannerCta.prototype.getImage = function() {
11540
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11541
+ };
11542
+
11543
+
11544
+ /**
11545
+ * @param {string} value
11546
+ * @return {!proto.cms.BannerCta} returns this
11547
+ */
11548
+ proto.cms.BannerCta.prototype.setImage = function(value) {
11549
+ return jspb.Message.setField(this, 5, value);
11550
+ };
11551
+
11552
+
11553
+ /**
11554
+ * Clears the field making it undefined.
11555
+ * @return {!proto.cms.BannerCta} returns this
11556
+ */
11557
+ proto.cms.BannerCta.prototype.clearImage = function() {
11558
+ return jspb.Message.setField(this, 5, undefined);
11559
+ };
11560
+
11561
+
11562
+ /**
11563
+ * Returns whether this field is set.
11564
+ * @return {boolean}
11565
+ */
11566
+ proto.cms.BannerCta.prototype.hasImage = function() {
11567
+ return jspb.Message.getField(this, 5) != null;
11568
+ };
11569
+
11570
+
11571
+ /**
11572
+ * optional UserBannerGameImages images = 6;
11573
+ * @return {?proto.cms.UserBannerGameImages}
11574
+ */
11575
+ proto.cms.BannerCta.prototype.getImages = function() {
11576
+ return /** @type{?proto.cms.UserBannerGameImages} */ (
11577
+ jspb.Message.getWrapperField(this, proto.cms.UserBannerGameImages, 6));
11578
+ };
11579
+
11580
+
11581
+ /**
11582
+ * @param {?proto.cms.UserBannerGameImages|undefined} value
11583
+ * @return {!proto.cms.BannerCta} returns this
11584
+ */
11585
+ proto.cms.BannerCta.prototype.setImages = function(value) {
11586
+ return jspb.Message.setWrapperField(this, 6, value);
11587
+ };
11588
+
11589
+
11590
+ /**
11591
+ * Clears the message field making it undefined.
11592
+ * @return {!proto.cms.BannerCta} returns this
11593
+ */
11594
+ proto.cms.BannerCta.prototype.clearImages = function() {
11595
+ return this.setImages(undefined);
11596
+ };
11597
+
11598
+
11599
+ /**
11600
+ * Returns whether this field is set.
11601
+ * @return {boolean}
11602
+ */
11603
+ proto.cms.BannerCta.prototype.hasImages = function() {
11604
+ return jspb.Message.getField(this, 6) != null;
11605
+ };
11606
+
11607
+
11608
+ /**
11609
+ * optional string portrait = 7;
11610
+ * @return {string}
11611
+ */
11612
+ proto.cms.BannerCta.prototype.getPortrait = function() {
11613
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
11614
+ };
11615
+
11616
+
11617
+ /**
11618
+ * @param {string} value
11619
+ * @return {!proto.cms.BannerCta} returns this
11620
+ */
11621
+ proto.cms.BannerCta.prototype.setPortrait = function(value) {
11622
+ return jspb.Message.setField(this, 7, value);
11623
+ };
11624
+
11625
+
11626
+ /**
11627
+ * Clears the field making it undefined.
11628
+ * @return {!proto.cms.BannerCta} returns this
11629
+ */
11630
+ proto.cms.BannerCta.prototype.clearPortrait = function() {
11631
+ return jspb.Message.setField(this, 7, undefined);
11632
+ };
11633
+
11634
+
11635
+ /**
11636
+ * Returns whether this field is set.
11637
+ * @return {boolean}
11638
+ */
11639
+ proto.cms.BannerCta.prototype.hasPortrait = function() {
11640
+ return jspb.Message.getField(this, 7) != null;
11641
+ };
11642
+
11643
+
11644
+ /**
11645
+ * optional string landscape = 8;
11646
+ * @return {string}
11647
+ */
11648
+ proto.cms.BannerCta.prototype.getLandscape = function() {
11649
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
11650
+ };
11651
+
11652
+
11653
+ /**
11654
+ * @param {string} value
11655
+ * @return {!proto.cms.BannerCta} returns this
11656
+ */
11657
+ proto.cms.BannerCta.prototype.setLandscape = function(value) {
11658
+ return jspb.Message.setField(this, 8, value);
11659
+ };
11660
+
11661
+
11662
+ /**
11663
+ * Clears the field making it undefined.
11664
+ * @return {!proto.cms.BannerCta} returns this
11665
+ */
11666
+ proto.cms.BannerCta.prototype.clearLandscape = function() {
11667
+ return jspb.Message.setField(this, 8, undefined);
11668
+ };
11669
+
11670
+
11671
+ /**
11672
+ * Returns whether this field is set.
11673
+ * @return {boolean}
11674
+ */
11675
+ proto.cms.BannerCta.prototype.hasLandscape = function() {
11676
+ return jspb.Message.getField(this, 8) != null;
11677
+ };
11678
+
11679
+
11680
+ /**
11681
+ * optional string square = 9;
11682
+ * @return {string}
11683
+ */
11684
+ proto.cms.BannerCta.prototype.getSquare = function() {
11685
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
11686
+ };
11687
+
11688
+
11689
+ /**
11690
+ * @param {string} value
11691
+ * @return {!proto.cms.BannerCta} returns this
11692
+ */
11693
+ proto.cms.BannerCta.prototype.setSquare = function(value) {
11694
+ return jspb.Message.setField(this, 9, value);
11695
+ };
11696
+
11697
+
11698
+ /**
11699
+ * Clears the field making it undefined.
11700
+ * @return {!proto.cms.BannerCta} returns this
11701
+ */
11702
+ proto.cms.BannerCta.prototype.clearSquare = function() {
11703
+ return jspb.Message.setField(this, 9, undefined);
11704
+ };
11705
+
11706
+
11707
+ /**
11708
+ * Returns whether this field is set.
11709
+ * @return {boolean}
11710
+ */
11711
+ proto.cms.BannerCta.prototype.hasSquare = function() {
11712
+ return jspb.Message.getField(this, 9) != null;
11713
+ };
11714
+
11715
+
11473
11716
 
11474
11717
 
11475
11718
 
package/game/game.proto CHANGED
@@ -902,10 +902,16 @@ message SEOInstanceRequest {
902
902
  optional bool with_main_info = 6;
903
903
  optional string instance_slug = 7;
904
904
  optional string full_description = 8;
905
+ optional string geo = 9;
906
+ }
907
+ message SEOInstanceRelation {
908
+ string type = 1;
909
+ string slug = 2;
905
910
  }
906
911
  message SEOInstanceResponse {
907
912
  repeated SEOAttribute attributes = 1;
908
913
  optional string full_description = 2;
914
+ repeated SEOInstanceRelation relations = 3;
909
915
  }
910
916
  //Segmentation
911
917
  message SegmentedUserRequest {
package/game/game_pb.js CHANGED
@@ -125,6 +125,7 @@ goog.exportSymbol('proto.game.ProviderSearchRequest', null, global);
125
125
  goog.exportSymbol('proto.game.ProviderStatusResponse', null, global);
126
126
  goog.exportSymbol('proto.game.ProvidersIds', null, global);
127
127
  goog.exportSymbol('proto.game.SEOAttribute', null, global);
128
+ goog.exportSymbol('proto.game.SEOInstanceRelation', null, global);
128
129
  goog.exportSymbol('proto.game.SEOInstanceRequest', null, global);
129
130
  goog.exportSymbol('proto.game.SEOInstanceResponse', null, global);
130
131
  goog.exportSymbol('proto.game.ScopeRequest', null, global);
@@ -2893,6 +2894,27 @@ if (goog.DEBUG && !COMPILED) {
2893
2894
  */
2894
2895
  proto.game.SEOInstanceRequest.displayName = 'proto.game.SEOInstanceRequest';
2895
2896
  }
2897
+ /**
2898
+ * Generated by JsPbCodeGenerator.
2899
+ * @param {Array=} opt_data Optional initial data array, typically from a
2900
+ * server response, or constructed directly in Javascript. The array is used
2901
+ * in place and becomes part of the constructed object. It is not cloned.
2902
+ * If no data is provided, the constructed object will be empty, but still
2903
+ * valid.
2904
+ * @extends {jspb.Message}
2905
+ * @constructor
2906
+ */
2907
+ proto.game.SEOInstanceRelation = function(opt_data) {
2908
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2909
+ };
2910
+ goog.inherits(proto.game.SEOInstanceRelation, jspb.Message);
2911
+ if (goog.DEBUG && !COMPILED) {
2912
+ /**
2913
+ * @public
2914
+ * @override
2915
+ */
2916
+ proto.game.SEOInstanceRelation.displayName = 'proto.game.SEOInstanceRelation';
2917
+ }
2896
2918
  /**
2897
2919
  * Generated by JsPbCodeGenerator.
2898
2920
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -37542,6 +37564,164 @@ proto.game.SEOAttribute.prototype.setValue = function(value) {
37542
37564
 
37543
37565
 
37544
37566
 
37567
+ if (jspb.Message.GENERATE_TO_OBJECT) {
37568
+ /**
37569
+ * Creates an object representation of this proto.
37570
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
37571
+ * Optional fields that are not set will be set to undefined.
37572
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
37573
+ * For the list of reserved names please see:
37574
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
37575
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
37576
+ * JSPB instance for transitional soy proto support:
37577
+ * http://goto/soy-param-migration
37578
+ * @return {!Object}
37579
+ */
37580
+ proto.game.SEOInstanceRelation.prototype.toObject = function(opt_includeInstance) {
37581
+ return proto.game.SEOInstanceRelation.toObject(opt_includeInstance, this);
37582
+ };
37583
+
37584
+
37585
+ /**
37586
+ * Static version of the {@see toObject} method.
37587
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
37588
+ * the JSPB instance for transitional soy proto support:
37589
+ * http://goto/soy-param-migration
37590
+ * @param {!proto.game.SEOInstanceRelation} msg The msg instance to transform.
37591
+ * @return {!Object}
37592
+ * @suppress {unusedLocalVariables} f is only used for nested messages
37593
+ */
37594
+ proto.game.SEOInstanceRelation.toObject = function(includeInstance, msg) {
37595
+ var f, obj = {
37596
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
37597
+ slug: jspb.Message.getFieldWithDefault(msg, 2, "")
37598
+ };
37599
+
37600
+ if (includeInstance) {
37601
+ obj.$jspbMessageInstance = msg;
37602
+ }
37603
+ return obj;
37604
+ };
37605
+ }
37606
+
37607
+
37608
+ /**
37609
+ * Deserializes binary data (in protobuf wire format).
37610
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
37611
+ * @return {!proto.game.SEOInstanceRelation}
37612
+ */
37613
+ proto.game.SEOInstanceRelation.deserializeBinary = function(bytes) {
37614
+ var reader = new jspb.BinaryReader(bytes);
37615
+ var msg = new proto.game.SEOInstanceRelation;
37616
+ return proto.game.SEOInstanceRelation.deserializeBinaryFromReader(msg, reader);
37617
+ };
37618
+
37619
+
37620
+ /**
37621
+ * Deserializes binary data (in protobuf wire format) from the
37622
+ * given reader into the given message object.
37623
+ * @param {!proto.game.SEOInstanceRelation} msg The message object to deserialize into.
37624
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
37625
+ * @return {!proto.game.SEOInstanceRelation}
37626
+ */
37627
+ proto.game.SEOInstanceRelation.deserializeBinaryFromReader = function(msg, reader) {
37628
+ while (reader.nextField()) {
37629
+ if (reader.isEndGroup()) {
37630
+ break;
37631
+ }
37632
+ var field = reader.getFieldNumber();
37633
+ switch (field) {
37634
+ case 1:
37635
+ var value = /** @type {string} */ (reader.readString());
37636
+ msg.setType(value);
37637
+ break;
37638
+ case 2:
37639
+ var value = /** @type {string} */ (reader.readString());
37640
+ msg.setSlug(value);
37641
+ break;
37642
+ default:
37643
+ reader.skipField();
37644
+ break;
37645
+ }
37646
+ }
37647
+ return msg;
37648
+ };
37649
+
37650
+
37651
+ /**
37652
+ * Serializes the message to binary data (in protobuf wire format).
37653
+ * @return {!Uint8Array}
37654
+ */
37655
+ proto.game.SEOInstanceRelation.prototype.serializeBinary = function() {
37656
+ var writer = new jspb.BinaryWriter();
37657
+ proto.game.SEOInstanceRelation.serializeBinaryToWriter(this, writer);
37658
+ return writer.getResultBuffer();
37659
+ };
37660
+
37661
+
37662
+ /**
37663
+ * Serializes the given message to binary data (in protobuf wire
37664
+ * format), writing to the given BinaryWriter.
37665
+ * @param {!proto.game.SEOInstanceRelation} message
37666
+ * @param {!jspb.BinaryWriter} writer
37667
+ * @suppress {unusedLocalVariables} f is only used for nested messages
37668
+ */
37669
+ proto.game.SEOInstanceRelation.serializeBinaryToWriter = function(message, writer) {
37670
+ var f = undefined;
37671
+ f = message.getType();
37672
+ if (f.length > 0) {
37673
+ writer.writeString(
37674
+ 1,
37675
+ f
37676
+ );
37677
+ }
37678
+ f = message.getSlug();
37679
+ if (f.length > 0) {
37680
+ writer.writeString(
37681
+ 2,
37682
+ f
37683
+ );
37684
+ }
37685
+ };
37686
+
37687
+
37688
+ /**
37689
+ * optional string type = 1;
37690
+ * @return {string}
37691
+ */
37692
+ proto.game.SEOInstanceRelation.prototype.getType = function() {
37693
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
37694
+ };
37695
+
37696
+
37697
+ /**
37698
+ * @param {string} value
37699
+ * @return {!proto.game.SEOInstanceRelation} returns this
37700
+ */
37701
+ proto.game.SEOInstanceRelation.prototype.setType = function(value) {
37702
+ return jspb.Message.setProto3StringField(this, 1, value);
37703
+ };
37704
+
37705
+
37706
+ /**
37707
+ * optional string slug = 2;
37708
+ * @return {string}
37709
+ */
37710
+ proto.game.SEOInstanceRelation.prototype.getSlug = function() {
37711
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
37712
+ };
37713
+
37714
+
37715
+ /**
37716
+ * @param {string} value
37717
+ * @return {!proto.game.SEOInstanceRelation} returns this
37718
+ */
37719
+ proto.game.SEOInstanceRelation.prototype.setSlug = function(value) {
37720
+ return jspb.Message.setProto3StringField(this, 2, value);
37721
+ };
37722
+
37723
+
37724
+
37545
37725
  /**
37546
37726
  * List of repeated fields within this message type.
37547
37727
  * @private {!Array<number>}
@@ -37588,7 +37768,8 @@ proto.game.SEOInstanceRequest.toObject = function(includeInstance, msg) {
37588
37768
  proto.game.SEOAttribute.toObject, includeInstance),
37589
37769
  withMainInfo: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
37590
37770
  instanceSlug: jspb.Message.getFieldWithDefault(msg, 7, ""),
37591
- fullDescription: jspb.Message.getFieldWithDefault(msg, 8, "")
37771
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 8, ""),
37772
+ geo: jspb.Message.getFieldWithDefault(msg, 9, "")
37592
37773
  };
37593
37774
 
37594
37775
  if (includeInstance) {
@@ -37658,6 +37839,10 @@ proto.game.SEOInstanceRequest.deserializeBinaryFromReader = function(msg, reader
37658
37839
  var value = /** @type {string} */ (reader.readString());
37659
37840
  msg.setFullDescription(value);
37660
37841
  break;
37842
+ case 9:
37843
+ var value = /** @type {string} */ (reader.readString());
37844
+ msg.setGeo(value);
37845
+ break;
37661
37846
  default:
37662
37847
  reader.skipField();
37663
37848
  break;
@@ -37744,6 +37929,13 @@ proto.game.SEOInstanceRequest.serializeBinaryToWriter = function(message, writer
37744
37929
  f
37745
37930
  );
37746
37931
  }
37932
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
37933
+ if (f != null) {
37934
+ writer.writeString(
37935
+ 9,
37936
+ f
37937
+ );
37938
+ }
37747
37939
  };
37748
37940
 
37749
37941
 
@@ -38001,13 +38193,49 @@ proto.game.SEOInstanceRequest.prototype.hasFullDescription = function() {
38001
38193
  };
38002
38194
 
38003
38195
 
38196
+ /**
38197
+ * optional string geo = 9;
38198
+ * @return {string}
38199
+ */
38200
+ proto.game.SEOInstanceRequest.prototype.getGeo = function() {
38201
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
38202
+ };
38203
+
38204
+
38205
+ /**
38206
+ * @param {string} value
38207
+ * @return {!proto.game.SEOInstanceRequest} returns this
38208
+ */
38209
+ proto.game.SEOInstanceRequest.prototype.setGeo = function(value) {
38210
+ return jspb.Message.setField(this, 9, value);
38211
+ };
38212
+
38213
+
38214
+ /**
38215
+ * Clears the field making it undefined.
38216
+ * @return {!proto.game.SEOInstanceRequest} returns this
38217
+ */
38218
+ proto.game.SEOInstanceRequest.prototype.clearGeo = function() {
38219
+ return jspb.Message.setField(this, 9, undefined);
38220
+ };
38221
+
38222
+
38223
+ /**
38224
+ * Returns whether this field is set.
38225
+ * @return {boolean}
38226
+ */
38227
+ proto.game.SEOInstanceRequest.prototype.hasGeo = function() {
38228
+ return jspb.Message.getField(this, 9) != null;
38229
+ };
38230
+
38231
+
38004
38232
 
38005
38233
  /**
38006
38234
  * List of repeated fields within this message type.
38007
38235
  * @private {!Array<number>}
38008
38236
  * @const
38009
38237
  */
38010
- proto.game.SEOInstanceResponse.repeatedFields_ = [1];
38238
+ proto.game.SEOInstanceResponse.repeatedFields_ = [1, 3];
38011
38239
 
38012
38240
 
38013
38241
 
@@ -38042,7 +38270,9 @@ proto.game.SEOInstanceResponse.toObject = function(includeInstance, msg) {
38042
38270
  var f, obj = {
38043
38271
  attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
38044
38272
  proto.game.SEOAttribute.toObject, includeInstance),
38045
- fullDescription: jspb.Message.getFieldWithDefault(msg, 2, "")
38273
+ fullDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
38274
+ relationsList: jspb.Message.toObjectList(msg.getRelationsList(),
38275
+ proto.game.SEOInstanceRelation.toObject, includeInstance)
38046
38276
  };
38047
38277
 
38048
38278
  if (includeInstance) {
@@ -38088,6 +38318,11 @@ proto.game.SEOInstanceResponse.deserializeBinaryFromReader = function(msg, reade
38088
38318
  var value = /** @type {string} */ (reader.readString());
38089
38319
  msg.setFullDescription(value);
38090
38320
  break;
38321
+ case 3:
38322
+ var value = new proto.game.SEOInstanceRelation;
38323
+ reader.readMessage(value,proto.game.SEOInstanceRelation.deserializeBinaryFromReader);
38324
+ msg.addRelations(value);
38325
+ break;
38091
38326
  default:
38092
38327
  reader.skipField();
38093
38328
  break;
@@ -38132,6 +38367,14 @@ proto.game.SEOInstanceResponse.serializeBinaryToWriter = function(message, write
38132
38367
  f
38133
38368
  );
38134
38369
  }
38370
+ f = message.getRelationsList();
38371
+ if (f.length > 0) {
38372
+ writer.writeRepeatedMessage(
38373
+ 3,
38374
+ f,
38375
+ proto.game.SEOInstanceRelation.serializeBinaryToWriter
38376
+ );
38377
+ }
38135
38378
  };
38136
38379
 
38137
38380
 
@@ -38173,6 +38416,44 @@ proto.game.SEOInstanceResponse.prototype.clearAttributesList = function() {
38173
38416
  };
38174
38417
 
38175
38418
 
38419
+ /**
38420
+ * repeated SEOInstanceRelation relations = 3;
38421
+ * @return {!Array<!proto.game.SEOInstanceRelation>}
38422
+ */
38423
+ proto.game.SEOInstanceResponse.prototype.getRelationsList = function() {
38424
+ return /** @type{!Array<!proto.game.SEOInstanceRelation>} */ (
38425
+ jspb.Message.getRepeatedWrapperField(this, proto.game.SEOInstanceRelation, 3));
38426
+ };
38427
+
38428
+
38429
+ /**
38430
+ * @param {!Array<!proto.game.SEOInstanceRelation>} value
38431
+ * @return {!proto.game.SEOInstanceResponse} returns this
38432
+ */
38433
+ proto.game.SEOInstanceResponse.prototype.setRelationsList = function(value) {
38434
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
38435
+ };
38436
+
38437
+
38438
+ /**
38439
+ * @param {!proto.game.SEOInstanceRelation=} opt_value
38440
+ * @param {number=} opt_index
38441
+ * @return {!proto.game.SEOInstanceRelation}
38442
+ */
38443
+ proto.game.SEOInstanceResponse.prototype.addRelations = function(opt_value, opt_index) {
38444
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.game.SEOInstanceRelation, opt_index);
38445
+ };
38446
+
38447
+
38448
+ /**
38449
+ * Clears the list making it empty but non-null.
38450
+ * @return {!proto.game.SEOInstanceResponse} returns this
38451
+ */
38452
+ proto.game.SEOInstanceResponse.prototype.clearRelationsList = function() {
38453
+ return this.setRelationsList([]);
38454
+ };
38455
+
38456
+
38176
38457
  /**
38177
38458
  * optional string full_description = 2;
38178
38459
  * @return {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.332",
3
+ "version": "1.2.334",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {