protobuf-platform 1.2.84 → 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.
- package/config/config.proto +2 -1
- package/config/config_pb.js +58 -10
- package/package.json +1 -1
package/config/config.proto
CHANGED
|
@@ -137,10 +137,11 @@ 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;
|
|
143
144
|
}
|
|
144
145
|
message ZonesResponse {
|
|
145
|
-
repeated ZoneItem
|
|
146
|
+
repeated ZoneItem items = 1;
|
|
146
147
|
}
|
package/config/config_pb.js
CHANGED
|
@@ -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
|
|
|
@@ -5396,7 +5444,7 @@ proto.config.ZonesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
5396
5444
|
*/
|
|
5397
5445
|
proto.config.ZonesResponse.toObject = function(includeInstance, msg) {
|
|
5398
5446
|
var f, obj = {
|
|
5399
|
-
|
|
5447
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
5400
5448
|
proto.config.ZoneItem.toObject, includeInstance)
|
|
5401
5449
|
};
|
|
5402
5450
|
|
|
@@ -5437,7 +5485,7 @@ proto.config.ZonesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
5437
5485
|
case 1:
|
|
5438
5486
|
var value = new proto.config.ZoneItem;
|
|
5439
5487
|
reader.readMessage(value,proto.config.ZoneItem.deserializeBinaryFromReader);
|
|
5440
|
-
msg.
|
|
5488
|
+
msg.addItems(value);
|
|
5441
5489
|
break;
|
|
5442
5490
|
default:
|
|
5443
5491
|
reader.skipField();
|
|
@@ -5468,7 +5516,7 @@ proto.config.ZonesResponse.prototype.serializeBinary = function() {
|
|
|
5468
5516
|
*/
|
|
5469
5517
|
proto.config.ZonesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5470
5518
|
var f = undefined;
|
|
5471
|
-
f = message.
|
|
5519
|
+
f = message.getItemsList();
|
|
5472
5520
|
if (f.length > 0) {
|
|
5473
5521
|
writer.writeRepeatedMessage(
|
|
5474
5522
|
1,
|
|
@@ -5480,10 +5528,10 @@ proto.config.ZonesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
5480
5528
|
|
|
5481
5529
|
|
|
5482
5530
|
/**
|
|
5483
|
-
* repeated ZoneItem
|
|
5531
|
+
* repeated ZoneItem items = 1;
|
|
5484
5532
|
* @return {!Array<!proto.config.ZoneItem>}
|
|
5485
5533
|
*/
|
|
5486
|
-
proto.config.ZonesResponse.prototype.
|
|
5534
|
+
proto.config.ZonesResponse.prototype.getItemsList = function() {
|
|
5487
5535
|
return /** @type{!Array<!proto.config.ZoneItem>} */ (
|
|
5488
5536
|
jspb.Message.getRepeatedWrapperField(this, proto.config.ZoneItem, 1));
|
|
5489
5537
|
};
|
|
@@ -5493,7 +5541,7 @@ proto.config.ZonesResponse.prototype.getZonesList = function() {
|
|
|
5493
5541
|
* @param {!Array<!proto.config.ZoneItem>} value
|
|
5494
5542
|
* @return {!proto.config.ZonesResponse} returns this
|
|
5495
5543
|
*/
|
|
5496
|
-
proto.config.ZonesResponse.prototype.
|
|
5544
|
+
proto.config.ZonesResponse.prototype.setItemsList = function(value) {
|
|
5497
5545
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
5498
5546
|
};
|
|
5499
5547
|
|
|
@@ -5503,7 +5551,7 @@ proto.config.ZonesResponse.prototype.setZonesList = function(value) {
|
|
|
5503
5551
|
* @param {number=} opt_index
|
|
5504
5552
|
* @return {!proto.config.ZoneItem}
|
|
5505
5553
|
*/
|
|
5506
|
-
proto.config.ZonesResponse.prototype.
|
|
5554
|
+
proto.config.ZonesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
5507
5555
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.ZoneItem, opt_index);
|
|
5508
5556
|
};
|
|
5509
5557
|
|
|
@@ -5512,8 +5560,8 @@ proto.config.ZonesResponse.prototype.addZones = function(opt_value, opt_index) {
|
|
|
5512
5560
|
* Clears the list making it empty but non-null.
|
|
5513
5561
|
* @return {!proto.config.ZonesResponse} returns this
|
|
5514
5562
|
*/
|
|
5515
|
-
proto.config.ZonesResponse.prototype.
|
|
5516
|
-
return this.
|
|
5563
|
+
proto.config.ZonesResponse.prototype.clearItemsList = function() {
|
|
5564
|
+
return this.setItemsList([]);
|
|
5517
5565
|
};
|
|
5518
5566
|
|
|
5519
5567
|
|