protobuf-platform 1.2.134 → 1.2.137

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.134",
3
+ "version": "1.2.137",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -206,6 +206,8 @@ message UserRequest {
206
206
  optional string self_exclusion_date = 22;
207
207
  optional string postal_code = 23;
208
208
  optional string gender = 24;
209
+ optional string nickname = 25;
210
+ optional string address = 26;
209
211
  }
210
212
  message UserDataResponse {
211
213
  int32 id = 1;
@@ -245,6 +247,7 @@ message UserDataResponse {
245
247
  optional string cookies = 35;
246
248
  optional string postal_code = 36;
247
249
  optional string gender = 37;
250
+ optional string address = 38;
248
251
  }
249
252
  message UsersResponse {
250
253
  repeated UserDataResponse items = 1;
package/user/user_pb.js CHANGED
@@ -7098,7 +7098,9 @@ proto.user.UserRequest.toObject = function(includeInstance, msg) {
7098
7098
  blockBet: jspb.Message.getFieldWithDefault(msg, 21, 0),
7099
7099
  selfExclusionDate: jspb.Message.getFieldWithDefault(msg, 22, ""),
7100
7100
  postalCode: jspb.Message.getFieldWithDefault(msg, 23, ""),
7101
- gender: jspb.Message.getFieldWithDefault(msg, 24, "")
7101
+ gender: jspb.Message.getFieldWithDefault(msg, 24, ""),
7102
+ nickname: jspb.Message.getFieldWithDefault(msg, 25, ""),
7103
+ address: jspb.Message.getFieldWithDefault(msg, 26, "")
7102
7104
  };
7103
7105
 
7104
7106
  if (includeInstance) {
@@ -7231,6 +7233,14 @@ proto.user.UserRequest.deserializeBinaryFromReader = function(msg, reader) {
7231
7233
  var value = /** @type {string} */ (reader.readString());
7232
7234
  msg.setGender(value);
7233
7235
  break;
7236
+ case 25:
7237
+ var value = /** @type {string} */ (reader.readString());
7238
+ msg.setNickname(value);
7239
+ break;
7240
+ case 26:
7241
+ var value = /** @type {string} */ (reader.readString());
7242
+ msg.setAddress(value);
7243
+ break;
7234
7244
  default:
7235
7245
  reader.skipField();
7236
7246
  break;
@@ -7428,6 +7438,20 @@ proto.user.UserRequest.serializeBinaryToWriter = function(message, writer) {
7428
7438
  f
7429
7439
  );
7430
7440
  }
7441
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
7442
+ if (f != null) {
7443
+ writer.writeString(
7444
+ 25,
7445
+ f
7446
+ );
7447
+ }
7448
+ f = /** @type {string} */ (jspb.Message.getField(message, 26));
7449
+ if (f != null) {
7450
+ writer.writeString(
7451
+ 26,
7452
+ f
7453
+ );
7454
+ }
7431
7455
  };
7432
7456
 
7433
7457
 
@@ -8277,6 +8301,78 @@ proto.user.UserRequest.prototype.hasGender = function() {
8277
8301
  };
8278
8302
 
8279
8303
 
8304
+ /**
8305
+ * optional string nickname = 25;
8306
+ * @return {string}
8307
+ */
8308
+ proto.user.UserRequest.prototype.getNickname = function() {
8309
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
8310
+ };
8311
+
8312
+
8313
+ /**
8314
+ * @param {string} value
8315
+ * @return {!proto.user.UserRequest} returns this
8316
+ */
8317
+ proto.user.UserRequest.prototype.setNickname = function(value) {
8318
+ return jspb.Message.setField(this, 25, value);
8319
+ };
8320
+
8321
+
8322
+ /**
8323
+ * Clears the field making it undefined.
8324
+ * @return {!proto.user.UserRequest} returns this
8325
+ */
8326
+ proto.user.UserRequest.prototype.clearNickname = function() {
8327
+ return jspb.Message.setField(this, 25, undefined);
8328
+ };
8329
+
8330
+
8331
+ /**
8332
+ * Returns whether this field is set.
8333
+ * @return {boolean}
8334
+ */
8335
+ proto.user.UserRequest.prototype.hasNickname = function() {
8336
+ return jspb.Message.getField(this, 25) != null;
8337
+ };
8338
+
8339
+
8340
+ /**
8341
+ * optional string address = 26;
8342
+ * @return {string}
8343
+ */
8344
+ proto.user.UserRequest.prototype.getAddress = function() {
8345
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
8346
+ };
8347
+
8348
+
8349
+ /**
8350
+ * @param {string} value
8351
+ * @return {!proto.user.UserRequest} returns this
8352
+ */
8353
+ proto.user.UserRequest.prototype.setAddress = function(value) {
8354
+ return jspb.Message.setField(this, 26, value);
8355
+ };
8356
+
8357
+
8358
+ /**
8359
+ * Clears the field making it undefined.
8360
+ * @return {!proto.user.UserRequest} returns this
8361
+ */
8362
+ proto.user.UserRequest.prototype.clearAddress = function() {
8363
+ return jspb.Message.setField(this, 26, undefined);
8364
+ };
8365
+
8366
+
8367
+ /**
8368
+ * Returns whether this field is set.
8369
+ * @return {boolean}
8370
+ */
8371
+ proto.user.UserRequest.prototype.hasAddress = function() {
8372
+ return jspb.Message.getField(this, 26) != null;
8373
+ };
8374
+
8375
+
8280
8376
 
8281
8377
 
8282
8378
 
@@ -8345,7 +8441,8 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
8345
8441
  nickname: jspb.Message.getFieldWithDefault(msg, 34, ""),
8346
8442
  cookies: jspb.Message.getFieldWithDefault(msg, 35, ""),
8347
8443
  postalCode: jspb.Message.getFieldWithDefault(msg, 36, ""),
8348
- gender: jspb.Message.getFieldWithDefault(msg, 37, "")
8444
+ gender: jspb.Message.getFieldWithDefault(msg, 37, ""),
8445
+ address: jspb.Message.getFieldWithDefault(msg, 38, "")
8349
8446
  };
8350
8447
 
8351
8448
  if (includeInstance) {
@@ -8531,6 +8628,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
8531
8628
  var value = /** @type {string} */ (reader.readString());
8532
8629
  msg.setGender(value);
8533
8630
  break;
8631
+ case 38:
8632
+ var value = /** @type {string} */ (reader.readString());
8633
+ msg.setAddress(value);
8634
+ break;
8534
8635
  default:
8535
8636
  reader.skipField();
8536
8637
  break;
@@ -8820,6 +8921,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
8820
8921
  f
8821
8922
  );
8822
8923
  }
8924
+ f = /** @type {string} */ (jspb.Message.getField(message, 38));
8925
+ if (f != null) {
8926
+ writer.writeString(
8927
+ 38,
8928
+ f
8929
+ );
8930
+ }
8823
8931
  };
8824
8932
 
8825
8933
 
@@ -10120,6 +10228,42 @@ proto.user.UserDataResponse.prototype.hasGender = function() {
10120
10228
  };
10121
10229
 
10122
10230
 
10231
+ /**
10232
+ * optional string address = 38;
10233
+ * @return {string}
10234
+ */
10235
+ proto.user.UserDataResponse.prototype.getAddress = function() {
10236
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
10237
+ };
10238
+
10239
+
10240
+ /**
10241
+ * @param {string} value
10242
+ * @return {!proto.user.UserDataResponse} returns this
10243
+ */
10244
+ proto.user.UserDataResponse.prototype.setAddress = function(value) {
10245
+ return jspb.Message.setField(this, 38, value);
10246
+ };
10247
+
10248
+
10249
+ /**
10250
+ * Clears the field making it undefined.
10251
+ * @return {!proto.user.UserDataResponse} returns this
10252
+ */
10253
+ proto.user.UserDataResponse.prototype.clearAddress = function() {
10254
+ return jspb.Message.setField(this, 38, undefined);
10255
+ };
10256
+
10257
+
10258
+ /**
10259
+ * Returns whether this field is set.
10260
+ * @return {boolean}
10261
+ */
10262
+ proto.user.UserDataResponse.prototype.hasAddress = function() {
10263
+ return jspb.Message.getField(this, 38) != null;
10264
+ };
10265
+
10266
+
10123
10267
 
10124
10268
  /**
10125
10269
  * List of repeated fields within this message type.