protobuf-platform 1.2.520 → 1.2.521

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.520",
3
+ "version": "1.2.521",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -191,6 +191,7 @@ message UserSearchParams {
191
191
  optional string email = 8;
192
192
  optional string registration_from = 9;
193
193
  optional string registration_to = 10;
194
+ optional string nickname = 11;
194
195
  }
195
196
  message SegmentSearchParams {
196
197
  optional string type = 1;
package/user/user_pb.js CHANGED
@@ -5546,7 +5546,8 @@ proto.user.UserSearchParams.toObject = function(includeInstance, msg) {
5546
5546
  verificationStatusesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
5547
5547
  email: jspb.Message.getFieldWithDefault(msg, 8, ""),
5548
5548
  registrationFrom: jspb.Message.getFieldWithDefault(msg, 9, ""),
5549
- registrationTo: jspb.Message.getFieldWithDefault(msg, 10, "")
5549
+ registrationTo: jspb.Message.getFieldWithDefault(msg, 10, ""),
5550
+ nickname: jspb.Message.getFieldWithDefault(msg, 11, "")
5550
5551
  };
5551
5552
 
5552
5553
  if (includeInstance) {
@@ -5631,6 +5632,10 @@ proto.user.UserSearchParams.deserializeBinaryFromReader = function(msg, reader)
5631
5632
  var value = /** @type {string} */ (reader.readString());
5632
5633
  msg.setRegistrationTo(value);
5633
5634
  break;
5635
+ case 11:
5636
+ var value = /** @type {string} */ (reader.readString());
5637
+ msg.setNickname(value);
5638
+ break;
5634
5639
  default:
5635
5640
  reader.skipField();
5636
5641
  break;
@@ -5730,6 +5735,13 @@ proto.user.UserSearchParams.serializeBinaryToWriter = function(message, writer)
5730
5735
  f
5731
5736
  );
5732
5737
  }
5738
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
5739
+ if (f != null) {
5740
+ writer.writeString(
5741
+ 11,
5742
+ f
5743
+ );
5744
+ }
5733
5745
  };
5734
5746
 
5735
5747
 
@@ -6100,6 +6112,42 @@ proto.user.UserSearchParams.prototype.hasRegistrationTo = function() {
6100
6112
  };
6101
6113
 
6102
6114
 
6115
+ /**
6116
+ * optional string nickname = 11;
6117
+ * @return {string}
6118
+ */
6119
+ proto.user.UserSearchParams.prototype.getNickname = function() {
6120
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
6121
+ };
6122
+
6123
+
6124
+ /**
6125
+ * @param {string} value
6126
+ * @return {!proto.user.UserSearchParams} returns this
6127
+ */
6128
+ proto.user.UserSearchParams.prototype.setNickname = function(value) {
6129
+ return jspb.Message.setField(this, 11, value);
6130
+ };
6131
+
6132
+
6133
+ /**
6134
+ * Clears the field making it undefined.
6135
+ * @return {!proto.user.UserSearchParams} returns this
6136
+ */
6137
+ proto.user.UserSearchParams.prototype.clearNickname = function() {
6138
+ return jspb.Message.setField(this, 11, undefined);
6139
+ };
6140
+
6141
+
6142
+ /**
6143
+ * Returns whether this field is set.
6144
+ * @return {boolean}
6145
+ */
6146
+ proto.user.UserSearchParams.prototype.hasNickname = function() {
6147
+ return jspb.Message.getField(this, 11) != null;
6148
+ };
6149
+
6150
+
6103
6151
 
6104
6152
  /**
6105
6153
  * List of repeated fields within this message type.