protobuf-platform 1.2.92 → 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;
@@ -174,6 +175,7 @@ message MirrorItem {
174
175
  optional string priority = 7;
175
176
  optional string status = 8;
176
177
  optional int32 is_active = 9;
178
+ optional string id = 10;
177
179
  }
178
180
  message MirrorResponse {
179
181
  MirrorItem data = 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
 
@@ -6445,7 +6493,8 @@ proto.config.MirrorItem.toObject = function(includeInstance, msg) {
6445
6493
  countriesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
6446
6494
  priority: jspb.Message.getFieldWithDefault(msg, 7, ""),
6447
6495
  status: jspb.Message.getFieldWithDefault(msg, 8, ""),
6448
- isActive: jspb.Message.getFieldWithDefault(msg, 9, 0)
6496
+ isActive: jspb.Message.getFieldWithDefault(msg, 9, 0),
6497
+ id: jspb.Message.getFieldWithDefault(msg, 10, "")
6449
6498
  };
6450
6499
 
6451
6500
  if (includeInstance) {
@@ -6518,6 +6567,10 @@ proto.config.MirrorItem.deserializeBinaryFromReader = function(msg, reader) {
6518
6567
  var value = /** @type {number} */ (reader.readInt32());
6519
6568
  msg.setIsActive(value);
6520
6569
  break;
6570
+ case 10:
6571
+ var value = /** @type {string} */ (reader.readString());
6572
+ msg.setId(value);
6573
+ break;
6521
6574
  default:
6522
6575
  reader.skipField();
6523
6576
  break;
@@ -6610,6 +6663,13 @@ proto.config.MirrorItem.serializeBinaryToWriter = function(message, writer) {
6610
6663
  f
6611
6664
  );
6612
6665
  }
6666
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
6667
+ if (f != null) {
6668
+ writer.writeString(
6669
+ 10,
6670
+ f
6671
+ );
6672
+ }
6613
6673
  };
6614
6674
 
6615
6675
 
@@ -6938,6 +6998,42 @@ proto.config.MirrorItem.prototype.hasIsActive = function() {
6938
6998
  };
6939
6999
 
6940
7000
 
7001
+ /**
7002
+ * optional string id = 10;
7003
+ * @return {string}
7004
+ */
7005
+ proto.config.MirrorItem.prototype.getId = function() {
7006
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
7007
+ };
7008
+
7009
+
7010
+ /**
7011
+ * @param {string} value
7012
+ * @return {!proto.config.MirrorItem} returns this
7013
+ */
7014
+ proto.config.MirrorItem.prototype.setId = function(value) {
7015
+ return jspb.Message.setField(this, 10, value);
7016
+ };
7017
+
7018
+
7019
+ /**
7020
+ * Clears the field making it undefined.
7021
+ * @return {!proto.config.MirrorItem} returns this
7022
+ */
7023
+ proto.config.MirrorItem.prototype.clearId = function() {
7024
+ return jspb.Message.setField(this, 10, undefined);
7025
+ };
7026
+
7027
+
7028
+ /**
7029
+ * Returns whether this field is set.
7030
+ * @return {boolean}
7031
+ */
7032
+ proto.config.MirrorItem.prototype.hasId = function() {
7033
+ return jspb.Message.getField(this, 10) != null;
7034
+ };
7035
+
7036
+
6941
7037
 
6942
7038
 
6943
7039
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.92",
3
+ "version": "1.2.95",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {