protobuf-platform 1.2.84 → 1.2.85

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.
@@ -142,5 +142,5 @@ message ZoneItemResponse {
142
142
  ZoneItem data = 1;
143
143
  }
144
144
  message ZonesResponse {
145
- repeated ZoneItem zones = 1;
145
+ repeated ZoneItem items = 1;
146
146
  }
@@ -5396,7 +5396,7 @@ proto.config.ZonesResponse.prototype.toObject = function(opt_includeInstance) {
5396
5396
  */
5397
5397
  proto.config.ZonesResponse.toObject = function(includeInstance, msg) {
5398
5398
  var f, obj = {
5399
- zonesList: jspb.Message.toObjectList(msg.getZonesList(),
5399
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
5400
5400
  proto.config.ZoneItem.toObject, includeInstance)
5401
5401
  };
5402
5402
 
@@ -5437,7 +5437,7 @@ proto.config.ZonesResponse.deserializeBinaryFromReader = function(msg, reader) {
5437
5437
  case 1:
5438
5438
  var value = new proto.config.ZoneItem;
5439
5439
  reader.readMessage(value,proto.config.ZoneItem.deserializeBinaryFromReader);
5440
- msg.addZones(value);
5440
+ msg.addItems(value);
5441
5441
  break;
5442
5442
  default:
5443
5443
  reader.skipField();
@@ -5468,7 +5468,7 @@ proto.config.ZonesResponse.prototype.serializeBinary = function() {
5468
5468
  */
5469
5469
  proto.config.ZonesResponse.serializeBinaryToWriter = function(message, writer) {
5470
5470
  var f = undefined;
5471
- f = message.getZonesList();
5471
+ f = message.getItemsList();
5472
5472
  if (f.length > 0) {
5473
5473
  writer.writeRepeatedMessage(
5474
5474
  1,
@@ -5480,10 +5480,10 @@ proto.config.ZonesResponse.serializeBinaryToWriter = function(message, writer) {
5480
5480
 
5481
5481
 
5482
5482
  /**
5483
- * repeated ZoneItem zones = 1;
5483
+ * repeated ZoneItem items = 1;
5484
5484
  * @return {!Array<!proto.config.ZoneItem>}
5485
5485
  */
5486
- proto.config.ZonesResponse.prototype.getZonesList = function() {
5486
+ proto.config.ZonesResponse.prototype.getItemsList = function() {
5487
5487
  return /** @type{!Array<!proto.config.ZoneItem>} */ (
5488
5488
  jspb.Message.getRepeatedWrapperField(this, proto.config.ZoneItem, 1));
5489
5489
  };
@@ -5493,7 +5493,7 @@ proto.config.ZonesResponse.prototype.getZonesList = function() {
5493
5493
  * @param {!Array<!proto.config.ZoneItem>} value
5494
5494
  * @return {!proto.config.ZonesResponse} returns this
5495
5495
  */
5496
- proto.config.ZonesResponse.prototype.setZonesList = function(value) {
5496
+ proto.config.ZonesResponse.prototype.setItemsList = function(value) {
5497
5497
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
5498
5498
  };
5499
5499
 
@@ -5503,7 +5503,7 @@ proto.config.ZonesResponse.prototype.setZonesList = function(value) {
5503
5503
  * @param {number=} opt_index
5504
5504
  * @return {!proto.config.ZoneItem}
5505
5505
  */
5506
- proto.config.ZonesResponse.prototype.addZones = function(opt_value, opt_index) {
5506
+ proto.config.ZonesResponse.prototype.addItems = function(opt_value, opt_index) {
5507
5507
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.ZoneItem, opt_index);
5508
5508
  };
5509
5509
 
@@ -5512,8 +5512,8 @@ proto.config.ZonesResponse.prototype.addZones = function(opt_value, opt_index) {
5512
5512
  * Clears the list making it empty but non-null.
5513
5513
  * @return {!proto.config.ZonesResponse} returns this
5514
5514
  */
5515
- proto.config.ZonesResponse.prototype.clearZonesList = function() {
5516
- return this.setZonesList([]);
5515
+ proto.config.ZonesResponse.prototype.clearItemsList = function() {
5516
+ return this.setItemsList([]);
5517
5517
  };
5518
5518
 
5519
5519
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.84",
3
+ "version": "1.2.85",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {