protobuf-platform 1.2.85 → 1.2.86

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.
@@ -137,6 +137,7 @@ message ZoneItem {
137
137
  optional string account_id = 4;
138
138
  optional string account_name = 5;
139
139
  optional string type = 6;
140
+ optional string plan_name = 7;
140
141
  }
141
142
  message ZoneItemResponse {
142
143
  ZoneItem data = 1;
@@ -4909,7 +4909,8 @@ proto.config.ZoneItem.toObject = function(includeInstance, msg) {
4909
4909
  status: jspb.Message.getFieldWithDefault(msg, 3, ""),
4910
4910
  accountId: jspb.Message.getFieldWithDefault(msg, 4, ""),
4911
4911
  accountName: jspb.Message.getFieldWithDefault(msg, 5, ""),
4912
- type: jspb.Message.getFieldWithDefault(msg, 6, "")
4912
+ type: jspb.Message.getFieldWithDefault(msg, 6, ""),
4913
+ planName: jspb.Message.getFieldWithDefault(msg, 7, "")
4913
4914
  };
4914
4915
 
4915
4916
  if (includeInstance) {
@@ -4970,6 +4971,10 @@ proto.config.ZoneItem.deserializeBinaryFromReader = function(msg, reader) {
4970
4971
  var value = /** @type {string} */ (reader.readString());
4971
4972
  msg.setType(value);
4972
4973
  break;
4974
+ case 7:
4975
+ var value = /** @type {string} */ (reader.readString());
4976
+ msg.setPlanName(value);
4977
+ break;
4973
4978
  default:
4974
4979
  reader.skipField();
4975
4980
  break;
@@ -5041,6 +5046,13 @@ proto.config.ZoneItem.serializeBinaryToWriter = function(message, writer) {
5041
5046
  f
5042
5047
  );
5043
5048
  }
5049
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
5050
+ if (f != null) {
5051
+ writer.writeString(
5052
+ 7,
5053
+ f
5054
+ );
5055
+ }
5044
5056
  };
5045
5057
 
5046
5058
 
@@ -5206,6 +5218,42 @@ proto.config.ZoneItem.prototype.hasType = function() {
5206
5218
  };
5207
5219
 
5208
5220
 
5221
+ /**
5222
+ * optional string plan_name = 7;
5223
+ * @return {string}
5224
+ */
5225
+ proto.config.ZoneItem.prototype.getPlanName = function() {
5226
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
5227
+ };
5228
+
5229
+
5230
+ /**
5231
+ * @param {string} value
5232
+ * @return {!proto.config.ZoneItem} returns this
5233
+ */
5234
+ proto.config.ZoneItem.prototype.setPlanName = function(value) {
5235
+ return jspb.Message.setField(this, 7, value);
5236
+ };
5237
+
5238
+
5239
+ /**
5240
+ * Clears the field making it undefined.
5241
+ * @return {!proto.config.ZoneItem} returns this
5242
+ */
5243
+ proto.config.ZoneItem.prototype.clearPlanName = function() {
5244
+ return jspb.Message.setField(this, 7, undefined);
5245
+ };
5246
+
5247
+
5248
+ /**
5249
+ * Returns whether this field is set.
5250
+ * @return {boolean}
5251
+ */
5252
+ proto.config.ZoneItem.prototype.hasPlanName = function() {
5253
+ return jspb.Message.getField(this, 7) != null;
5254
+ };
5255
+
5256
+
5209
5257
 
5210
5258
 
5211
5259
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.85",
3
+ "version": "1.2.86",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {