protobuf-platform 1.0.277 → 1.0.278
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 +1 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
@@ -2454,7 +2454,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
|
|
2454
2454
|
address: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
2455
2455
|
phone: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
2456
2456
|
postalCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
2457
|
-
referral: jspb.Message.getFieldWithDefault(msg, 21, "")
|
2457
|
+
referral: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
2458
|
+
device: jspb.Message.getFieldWithDefault(msg, 22, "")
|
2458
2459
|
};
|
2459
2460
|
|
2460
2461
|
if (includeInstance) {
|
@@ -2575,6 +2576,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
2575
2576
|
var value = /** @type {string} */ (reader.readString());
|
2576
2577
|
msg.setReferral(value);
|
2577
2578
|
break;
|
2579
|
+
case 22:
|
2580
|
+
var value = /** @type {string} */ (reader.readString());
|
2581
|
+
msg.setDevice(value);
|
2582
|
+
break;
|
2578
2583
|
default:
|
2579
2584
|
reader.skipField();
|
2580
2585
|
break;
|
@@ -2751,6 +2756,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
2751
2756
|
f
|
2752
2757
|
);
|
2753
2758
|
}
|
2759
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
2760
|
+
if (f != null) {
|
2761
|
+
writer.writeString(
|
2762
|
+
22,
|
2763
|
+
f
|
2764
|
+
);
|
2765
|
+
}
|
2754
2766
|
};
|
2755
2767
|
|
2756
2768
|
|
@@ -3456,6 +3468,42 @@ proto.user.RegistrationRequest.prototype.hasReferral = function() {
|
|
3456
3468
|
};
|
3457
3469
|
|
3458
3470
|
|
3471
|
+
/**
|
3472
|
+
* optional string device = 22;
|
3473
|
+
* @return {string}
|
3474
|
+
*/
|
3475
|
+
proto.user.RegistrationRequest.prototype.getDevice = function() {
|
3476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
3477
|
+
};
|
3478
|
+
|
3479
|
+
|
3480
|
+
/**
|
3481
|
+
* @param {string} value
|
3482
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3483
|
+
*/
|
3484
|
+
proto.user.RegistrationRequest.prototype.setDevice = function(value) {
|
3485
|
+
return jspb.Message.setField(this, 22, value);
|
3486
|
+
};
|
3487
|
+
|
3488
|
+
|
3489
|
+
/**
|
3490
|
+
* Clears the field making it undefined.
|
3491
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3492
|
+
*/
|
3493
|
+
proto.user.RegistrationRequest.prototype.clearDevice = function() {
|
3494
|
+
return jspb.Message.setField(this, 22, undefined);
|
3495
|
+
};
|
3496
|
+
|
3497
|
+
|
3498
|
+
/**
|
3499
|
+
* Returns whether this field is set.
|
3500
|
+
* @return {boolean}
|
3501
|
+
*/
|
3502
|
+
proto.user.RegistrationRequest.prototype.hasDevice = function() {
|
3503
|
+
return jspb.Message.getField(this, 22) != null;
|
3504
|
+
};
|
3505
|
+
|
3506
|
+
|
3459
3507
|
|
3460
3508
|
|
3461
3509
|
|