@sniipwebmaster/user-service-client-grpcweb 22.21.8516 → 22.21.8528
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/dependancies/service_pb.js +73 -19
- package/package.json +1 -1
|
@@ -20466,8 +20466,10 @@ proto.sniipuserservice.MarkAsBusinessReq.prototype.toObject = function(opt_inclu
|
|
|
20466
20466
|
*/
|
|
20467
20467
|
proto.sniipuserservice.MarkAsBusinessReq.toObject = function(includeInstance, msg) {
|
|
20468
20468
|
var f, obj = {
|
|
20469
|
+
userid: msg.getUserid(),
|
|
20469
20470
|
isbusiness: msg.getIsbusiness(),
|
|
20470
|
-
|
|
20471
|
+
password: msg.getPassword(),
|
|
20472
|
+
comment: msg.getComment()
|
|
20471
20473
|
};
|
|
20472
20474
|
|
|
20473
20475
|
if (includeInstance) {
|
|
@@ -20505,12 +20507,20 @@ proto.sniipuserservice.MarkAsBusinessReq.deserializeBinaryFromReader = function(
|
|
|
20505
20507
|
var field = reader.getFieldNumber();
|
|
20506
20508
|
switch (field) {
|
|
20507
20509
|
case 1:
|
|
20510
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
20511
|
+
msg.setUserid(value);
|
|
20512
|
+
break;
|
|
20513
|
+
case 2:
|
|
20508
20514
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
20509
20515
|
msg.setIsbusiness(value);
|
|
20510
20516
|
break;
|
|
20511
|
-
case
|
|
20512
|
-
var value = /** @type {
|
|
20513
|
-
msg.
|
|
20517
|
+
case 3:
|
|
20518
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20519
|
+
msg.setPassword(value);
|
|
20520
|
+
break;
|
|
20521
|
+
case 4:
|
|
20522
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20523
|
+
msg.setComment(value);
|
|
20514
20524
|
break;
|
|
20515
20525
|
default:
|
|
20516
20526
|
reader.skipField();
|
|
@@ -20550,17 +20560,31 @@ proto.sniipuserservice.MarkAsBusinessReq.prototype.serializeBinary = function()
|
|
|
20550
20560
|
*/
|
|
20551
20561
|
proto.sniipuserservice.MarkAsBusinessReq.prototype.serializeBinaryToWriter = function (writer) {
|
|
20552
20562
|
var f = undefined;
|
|
20563
|
+
f = this.getUserid();
|
|
20564
|
+
if (f !== 0) {
|
|
20565
|
+
writer.writeInt64(
|
|
20566
|
+
1,
|
|
20567
|
+
f
|
|
20568
|
+
);
|
|
20569
|
+
}
|
|
20553
20570
|
f = this.getIsbusiness();
|
|
20554
20571
|
if (f) {
|
|
20555
20572
|
writer.writeBool(
|
|
20556
|
-
|
|
20573
|
+
2,
|
|
20557
20574
|
f
|
|
20558
20575
|
);
|
|
20559
20576
|
}
|
|
20560
|
-
f = this.
|
|
20561
|
-
if (f
|
|
20562
|
-
writer.
|
|
20563
|
-
|
|
20577
|
+
f = this.getPassword();
|
|
20578
|
+
if (f.length > 0) {
|
|
20579
|
+
writer.writeString(
|
|
20580
|
+
3,
|
|
20581
|
+
f
|
|
20582
|
+
);
|
|
20583
|
+
}
|
|
20584
|
+
f = this.getComment();
|
|
20585
|
+
if (f.length > 0) {
|
|
20586
|
+
writer.writeString(
|
|
20587
|
+
4,
|
|
20564
20588
|
f
|
|
20565
20589
|
);
|
|
20566
20590
|
}
|
|
@@ -20577,34 +20601,64 @@ proto.sniipuserservice.MarkAsBusinessReq.prototype.cloneMessage = function() {
|
|
|
20577
20601
|
|
|
20578
20602
|
|
|
20579
20603
|
/**
|
|
20580
|
-
* optional
|
|
20604
|
+
* optional int64 userId = 1;
|
|
20605
|
+
* @return {number}
|
|
20606
|
+
*/
|
|
20607
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.getUserid = function() {
|
|
20608
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
20609
|
+
};
|
|
20610
|
+
|
|
20611
|
+
|
|
20612
|
+
/** @param {number} value */
|
|
20613
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.setUserid = function(value) {
|
|
20614
|
+
jspb.Message.setField(this, 1, value);
|
|
20615
|
+
};
|
|
20616
|
+
|
|
20617
|
+
|
|
20618
|
+
/**
|
|
20619
|
+
* optional bool isBusiness = 2;
|
|
20581
20620
|
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
20582
20621
|
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
20583
20622
|
* @return {boolean}
|
|
20584
20623
|
*/
|
|
20585
20624
|
proto.sniipuserservice.MarkAsBusinessReq.prototype.getIsbusiness = function() {
|
|
20586
|
-
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this,
|
|
20625
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
|
|
20587
20626
|
};
|
|
20588
20627
|
|
|
20589
20628
|
|
|
20590
20629
|
/** @param {boolean} value */
|
|
20591
20630
|
proto.sniipuserservice.MarkAsBusinessReq.prototype.setIsbusiness = function(value) {
|
|
20592
|
-
jspb.Message.setField(this,
|
|
20631
|
+
jspb.Message.setField(this, 2, value);
|
|
20593
20632
|
};
|
|
20594
20633
|
|
|
20595
20634
|
|
|
20596
20635
|
/**
|
|
20597
|
-
* optional
|
|
20598
|
-
* @return {
|
|
20636
|
+
* optional string password = 3;
|
|
20637
|
+
* @return {string}
|
|
20599
20638
|
*/
|
|
20600
|
-
proto.sniipuserservice.MarkAsBusinessReq.prototype.
|
|
20601
|
-
return /** @type {
|
|
20639
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.getPassword = function() {
|
|
20640
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
20602
20641
|
};
|
|
20603
20642
|
|
|
20604
20643
|
|
|
20605
|
-
/** @param {
|
|
20606
|
-
proto.sniipuserservice.MarkAsBusinessReq.prototype.
|
|
20607
|
-
jspb.Message.setField(this,
|
|
20644
|
+
/** @param {string} value */
|
|
20645
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.setPassword = function(value) {
|
|
20646
|
+
jspb.Message.setField(this, 3, value);
|
|
20647
|
+
};
|
|
20648
|
+
|
|
20649
|
+
|
|
20650
|
+
/**
|
|
20651
|
+
* optional string comment = 4;
|
|
20652
|
+
* @return {string}
|
|
20653
|
+
*/
|
|
20654
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.getComment = function() {
|
|
20655
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
20656
|
+
};
|
|
20657
|
+
|
|
20658
|
+
|
|
20659
|
+
/** @param {string} value */
|
|
20660
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.setComment = function(value) {
|
|
20661
|
+
jspb.Message.setField(this, 4, value);
|
|
20608
20662
|
};
|
|
20609
20663
|
|
|
20610
20664
|
|