protobuf-platform 1.0.201 → 1.0.202

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
@@ -131,6 +131,7 @@ message GetBannerGroupRequest {
131
131
  int32 id = 1;
132
132
  optional bool admin_side = 2;
133
133
  optional string locale = 3;
134
+ optional string geo = 4;
134
135
  }
135
136
  message BannerGroupResponse {
136
137
  BannerGroupItem data = 1;
package/cms/cms_pb.js CHANGED
@@ -5674,7 +5674,8 @@ proto.cms.GetBannerGroupRequest.toObject = function(includeInstance, msg) {
5674
5674
  var f, obj = {
5675
5675
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
5676
5676
  adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
5677
- locale: jspb.Message.getFieldWithDefault(msg, 3, "")
5677
+ locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
5678
+ geo: jspb.Message.getFieldWithDefault(msg, 4, "")
5678
5679
  };
5679
5680
 
5680
5681
  if (includeInstance) {
@@ -5723,6 +5724,10 @@ proto.cms.GetBannerGroupRequest.deserializeBinaryFromReader = function(msg, read
5723
5724
  var value = /** @type {string} */ (reader.readString());
5724
5725
  msg.setLocale(value);
5725
5726
  break;
5727
+ case 4:
5728
+ var value = /** @type {string} */ (reader.readString());
5729
+ msg.setGeo(value);
5730
+ break;
5726
5731
  default:
5727
5732
  reader.skipField();
5728
5733
  break;
@@ -5773,6 +5778,13 @@ proto.cms.GetBannerGroupRequest.serializeBinaryToWriter = function(message, writ
5773
5778
  f
5774
5779
  );
5775
5780
  }
5781
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
5782
+ if (f != null) {
5783
+ writer.writeString(
5784
+ 4,
5785
+ f
5786
+ );
5787
+ }
5776
5788
  };
5777
5789
 
5778
5790
 
@@ -5866,6 +5878,42 @@ proto.cms.GetBannerGroupRequest.prototype.hasLocale = function() {
5866
5878
  };
5867
5879
 
5868
5880
 
5881
+ /**
5882
+ * optional string geo = 4;
5883
+ * @return {string}
5884
+ */
5885
+ proto.cms.GetBannerGroupRequest.prototype.getGeo = function() {
5886
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5887
+ };
5888
+
5889
+
5890
+ /**
5891
+ * @param {string} value
5892
+ * @return {!proto.cms.GetBannerGroupRequest} returns this
5893
+ */
5894
+ proto.cms.GetBannerGroupRequest.prototype.setGeo = function(value) {
5895
+ return jspb.Message.setField(this, 4, value);
5896
+ };
5897
+
5898
+
5899
+ /**
5900
+ * Clears the field making it undefined.
5901
+ * @return {!proto.cms.GetBannerGroupRequest} returns this
5902
+ */
5903
+ proto.cms.GetBannerGroupRequest.prototype.clearGeo = function() {
5904
+ return jspb.Message.setField(this, 4, undefined);
5905
+ };
5906
+
5907
+
5908
+ /**
5909
+ * Returns whether this field is set.
5910
+ * @return {boolean}
5911
+ */
5912
+ proto.cms.GetBannerGroupRequest.prototype.hasGeo = function() {
5913
+ return jspb.Message.getField(this, 4) != null;
5914
+ };
5915
+
5916
+
5869
5917
 
5870
5918
 
5871
5919
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.201",
3
+ "version": "1.0.202",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {