protobuf-platform 1.2.93 → 1.2.95

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.
@@ -148,6 +148,7 @@ message R2FileListResponse {
148
148
  //Cloud Flare
149
149
  message GetZoneRequest {
150
150
  optional string domain = 1;
151
+ optional string id = 2;
151
152
  }
152
153
  message ZoneItem {
153
154
  string id = 1;
@@ -5589,7 +5589,8 @@ proto.config.GetZoneRequest.prototype.toObject = function(opt_includeInstance) {
5589
5589
  */
5590
5590
  proto.config.GetZoneRequest.toObject = function(includeInstance, msg) {
5591
5591
  var f, obj = {
5592
- domain: jspb.Message.getFieldWithDefault(msg, 1, "")
5592
+ domain: jspb.Message.getFieldWithDefault(msg, 1, ""),
5593
+ id: jspb.Message.getFieldWithDefault(msg, 2, "")
5593
5594
  };
5594
5595
 
5595
5596
  if (includeInstance) {
@@ -5630,6 +5631,10 @@ proto.config.GetZoneRequest.deserializeBinaryFromReader = function(msg, reader)
5630
5631
  var value = /** @type {string} */ (reader.readString());
5631
5632
  msg.setDomain(value);
5632
5633
  break;
5634
+ case 2:
5635
+ var value = /** @type {string} */ (reader.readString());
5636
+ msg.setId(value);
5637
+ break;
5633
5638
  default:
5634
5639
  reader.skipField();
5635
5640
  break;
@@ -5666,6 +5671,13 @@ proto.config.GetZoneRequest.serializeBinaryToWriter = function(message, writer)
5666
5671
  f
5667
5672
  );
5668
5673
  }
5674
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
5675
+ if (f != null) {
5676
+ writer.writeString(
5677
+ 2,
5678
+ f
5679
+ );
5680
+ }
5669
5681
  };
5670
5682
 
5671
5683
 
@@ -5705,6 +5717,42 @@ proto.config.GetZoneRequest.prototype.hasDomain = function() {
5705
5717
  };
5706
5718
 
5707
5719
 
5720
+ /**
5721
+ * optional string id = 2;
5722
+ * @return {string}
5723
+ */
5724
+ proto.config.GetZoneRequest.prototype.getId = function() {
5725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5726
+ };
5727
+
5728
+
5729
+ /**
5730
+ * @param {string} value
5731
+ * @return {!proto.config.GetZoneRequest} returns this
5732
+ */
5733
+ proto.config.GetZoneRequest.prototype.setId = function(value) {
5734
+ return jspb.Message.setField(this, 2, value);
5735
+ };
5736
+
5737
+
5738
+ /**
5739
+ * Clears the field making it undefined.
5740
+ * @return {!proto.config.GetZoneRequest} returns this
5741
+ */
5742
+ proto.config.GetZoneRequest.prototype.clearId = function() {
5743
+ return jspb.Message.setField(this, 2, undefined);
5744
+ };
5745
+
5746
+
5747
+ /**
5748
+ * Returns whether this field is set.
5749
+ * @return {boolean}
5750
+ */
5751
+ proto.config.GetZoneRequest.prototype.hasId = function() {
5752
+ return jspb.Message.getField(this, 2) != null;
5753
+ };
5754
+
5755
+
5708
5756
 
5709
5757
 
5710
5758
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.93",
3
+ "version": "1.2.95",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {