protobuf-platform 1.2.92 → 1.2.93

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.
@@ -174,6 +174,7 @@ message MirrorItem {
174
174
  optional string priority = 7;
175
175
  optional string status = 8;
176
176
  optional int32 is_active = 9;
177
+ optional string id = 10;
177
178
  }
178
179
  message MirrorResponse {
179
180
  MirrorItem data = 1;
@@ -6445,7 +6445,8 @@ proto.config.MirrorItem.toObject = function(includeInstance, msg) {
6445
6445
  countriesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
6446
6446
  priority: jspb.Message.getFieldWithDefault(msg, 7, ""),
6447
6447
  status: jspb.Message.getFieldWithDefault(msg, 8, ""),
6448
- isActive: jspb.Message.getFieldWithDefault(msg, 9, 0)
6448
+ isActive: jspb.Message.getFieldWithDefault(msg, 9, 0),
6449
+ id: jspb.Message.getFieldWithDefault(msg, 10, "")
6449
6450
  };
6450
6451
 
6451
6452
  if (includeInstance) {
@@ -6518,6 +6519,10 @@ proto.config.MirrorItem.deserializeBinaryFromReader = function(msg, reader) {
6518
6519
  var value = /** @type {number} */ (reader.readInt32());
6519
6520
  msg.setIsActive(value);
6520
6521
  break;
6522
+ case 10:
6523
+ var value = /** @type {string} */ (reader.readString());
6524
+ msg.setId(value);
6525
+ break;
6521
6526
  default:
6522
6527
  reader.skipField();
6523
6528
  break;
@@ -6610,6 +6615,13 @@ proto.config.MirrorItem.serializeBinaryToWriter = function(message, writer) {
6610
6615
  f
6611
6616
  );
6612
6617
  }
6618
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
6619
+ if (f != null) {
6620
+ writer.writeString(
6621
+ 10,
6622
+ f
6623
+ );
6624
+ }
6613
6625
  };
6614
6626
 
6615
6627
 
@@ -6938,6 +6950,42 @@ proto.config.MirrorItem.prototype.hasIsActive = function() {
6938
6950
  };
6939
6951
 
6940
6952
 
6953
+ /**
6954
+ * optional string id = 10;
6955
+ * @return {string}
6956
+ */
6957
+ proto.config.MirrorItem.prototype.getId = function() {
6958
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
6959
+ };
6960
+
6961
+
6962
+ /**
6963
+ * @param {string} value
6964
+ * @return {!proto.config.MirrorItem} returns this
6965
+ */
6966
+ proto.config.MirrorItem.prototype.setId = function(value) {
6967
+ return jspb.Message.setField(this, 10, value);
6968
+ };
6969
+
6970
+
6971
+ /**
6972
+ * Clears the field making it undefined.
6973
+ * @return {!proto.config.MirrorItem} returns this
6974
+ */
6975
+ proto.config.MirrorItem.prototype.clearId = function() {
6976
+ return jspb.Message.setField(this, 10, undefined);
6977
+ };
6978
+
6979
+
6980
+ /**
6981
+ * Returns whether this field is set.
6982
+ * @return {boolean}
6983
+ */
6984
+ proto.config.MirrorItem.prototype.hasId = function() {
6985
+ return jspb.Message.getField(this, 10) != null;
6986
+ };
6987
+
6988
+
6941
6989
 
6942
6990
 
6943
6991
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {