protobuf-platform 1.0.199 → 1.0.200

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
@@ -129,6 +129,7 @@ message BannerGroupItem {
129
129
  message GetBannerGroupRequest {
130
130
  int32 id = 1;
131
131
  optional bool admin_side = 2;
132
+ optional string locale = 3;
132
133
  }
133
134
  message BannerGroupResponse {
134
135
  BannerGroupItem data = 1;
package/cms/cms_pb.js CHANGED
@@ -5629,7 +5629,8 @@ proto.cms.GetBannerGroupRequest.prototype.toObject = function(opt_includeInstanc
5629
5629
  proto.cms.GetBannerGroupRequest.toObject = function(includeInstance, msg) {
5630
5630
  var f, obj = {
5631
5631
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
5632
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
5632
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
5633
+ locale: jspb.Message.getFieldWithDefault(msg, 3, "")
5633
5634
  };
5634
5635
 
5635
5636
  if (includeInstance) {
@@ -5674,6 +5675,10 @@ proto.cms.GetBannerGroupRequest.deserializeBinaryFromReader = function(msg, read
5674
5675
  var value = /** @type {boolean} */ (reader.readBool());
5675
5676
  msg.setAdminSide(value);
5676
5677
  break;
5678
+ case 3:
5679
+ var value = /** @type {string} */ (reader.readString());
5680
+ msg.setLocale(value);
5681
+ break;
5677
5682
  default:
5678
5683
  reader.skipField();
5679
5684
  break;
@@ -5717,6 +5722,13 @@ proto.cms.GetBannerGroupRequest.serializeBinaryToWriter = function(message, writ
5717
5722
  f
5718
5723
  );
5719
5724
  }
5725
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
5726
+ if (f != null) {
5727
+ writer.writeString(
5728
+ 3,
5729
+ f
5730
+ );
5731
+ }
5720
5732
  };
5721
5733
 
5722
5734
 
@@ -5774,6 +5786,42 @@ proto.cms.GetBannerGroupRequest.prototype.hasAdminSide = function() {
5774
5786
  };
5775
5787
 
5776
5788
 
5789
+ /**
5790
+ * optional string locale = 3;
5791
+ * @return {string}
5792
+ */
5793
+ proto.cms.GetBannerGroupRequest.prototype.getLocale = function() {
5794
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5795
+ };
5796
+
5797
+
5798
+ /**
5799
+ * @param {string} value
5800
+ * @return {!proto.cms.GetBannerGroupRequest} returns this
5801
+ */
5802
+ proto.cms.GetBannerGroupRequest.prototype.setLocale = function(value) {
5803
+ return jspb.Message.setField(this, 3, value);
5804
+ };
5805
+
5806
+
5807
+ /**
5808
+ * Clears the field making it undefined.
5809
+ * @return {!proto.cms.GetBannerGroupRequest} returns this
5810
+ */
5811
+ proto.cms.GetBannerGroupRequest.prototype.clearLocale = function() {
5812
+ return jspb.Message.setField(this, 3, undefined);
5813
+ };
5814
+
5815
+
5816
+ /**
5817
+ * Returns whether this field is set.
5818
+ * @return {boolean}
5819
+ */
5820
+ proto.cms.GetBannerGroupRequest.prototype.hasLocale = function() {
5821
+ return jspb.Message.getField(this, 3) != null;
5822
+ };
5823
+
5824
+
5777
5825
 
5778
5826
 
5779
5827
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.199",
3
+ "version": "1.0.200",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {