@sniipwebmaster/user-service-client-grpcweb 22.17.8322 → 22.17.8345
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.
|
@@ -3518,13 +3518,13 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getPermiss
|
|
|
3518
3518
|
* @const
|
|
3519
3519
|
* @type {!grpc.web.MethodDescriptor<
|
|
3520
3520
|
* !proto.sniipuserservice.GetPermissionRolesRequest,
|
|
3521
|
-
* !proto.sniipuserservice.
|
|
3521
|
+
* !proto.sniipuserservice.PermissionRolesPaginationResponse>}
|
|
3522
3522
|
*/
|
|
3523
3523
|
const methodDescriptor_SniipUserServiceService_GetPermissionRoles = new grpc.web.MethodDescriptor(
|
|
3524
3524
|
'/sniipuserservice.SniipUserServiceService/GetPermissionRoles',
|
|
3525
3525
|
grpc.web.MethodType.UNARY,
|
|
3526
3526
|
proto.sniipuserservice.GetPermissionRolesRequest,
|
|
3527
|
-
proto.sniipuserservice.
|
|
3527
|
+
proto.sniipuserservice.PermissionRolesPaginationResponse,
|
|
3528
3528
|
/**
|
|
3529
3529
|
* @param {!proto.sniipuserservice.GetPermissionRolesRequest} request
|
|
3530
3530
|
* @return {!Uint8Array}
|
|
@@ -3532,7 +3532,7 @@ const methodDescriptor_SniipUserServiceService_GetPermissionRoles = new grpc.web
|
|
|
3532
3532
|
function(request) {
|
|
3533
3533
|
return request.serializeBinary();
|
|
3534
3534
|
},
|
|
3535
|
-
proto.sniipuserservice.
|
|
3535
|
+
proto.sniipuserservice.PermissionRolesPaginationResponse.deserializeBinary
|
|
3536
3536
|
);
|
|
3537
3537
|
|
|
3538
3538
|
|
|
@@ -3540,10 +3540,10 @@ const methodDescriptor_SniipUserServiceService_GetPermissionRoles = new grpc.web
|
|
|
3540
3540
|
* @const
|
|
3541
3541
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
3542
3542
|
* !proto.sniipuserservice.GetPermissionRolesRequest,
|
|
3543
|
-
* !proto.sniipuserservice.
|
|
3543
|
+
* !proto.sniipuserservice.PermissionRolesPaginationResponse>}
|
|
3544
3544
|
*/
|
|
3545
3545
|
const methodInfo_SniipUserServiceService_GetPermissionRoles = new grpc.web.AbstractClientBase.MethodInfo(
|
|
3546
|
-
proto.sniipuserservice.
|
|
3546
|
+
proto.sniipuserservice.PermissionRolesPaginationResponse,
|
|
3547
3547
|
/**
|
|
3548
3548
|
* @param {!proto.sniipuserservice.GetPermissionRolesRequest} request
|
|
3549
3549
|
* @return {!Uint8Array}
|
|
@@ -3551,7 +3551,7 @@ const methodInfo_SniipUserServiceService_GetPermissionRoles = new grpc.web.Abstr
|
|
|
3551
3551
|
function(request) {
|
|
3552
3552
|
return request.serializeBinary();
|
|
3553
3553
|
},
|
|
3554
|
-
proto.sniipuserservice.
|
|
3554
|
+
proto.sniipuserservice.PermissionRolesPaginationResponse.deserializeBinary
|
|
3555
3555
|
);
|
|
3556
3556
|
|
|
3557
3557
|
|
|
@@ -3560,9 +3560,9 @@ const methodInfo_SniipUserServiceService_GetPermissionRoles = new grpc.web.Abstr
|
|
|
3560
3560
|
* request proto
|
|
3561
3561
|
* @param {?Object<string, string>} metadata User defined
|
|
3562
3562
|
* call metadata
|
|
3563
|
-
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.
|
|
3563
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.PermissionRolesPaginationResponse)}
|
|
3564
3564
|
* callback The callback function(error, response)
|
|
3565
|
-
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.
|
|
3565
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.PermissionRolesPaginationResponse>|undefined}
|
|
3566
3566
|
* The XHR Node Readable Stream
|
|
3567
3567
|
*/
|
|
3568
3568
|
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getPermissionRoles =
|
|
@@ -3581,7 +3581,7 @@ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getPermissionRole
|
|
|
3581
3581
|
* request proto
|
|
3582
3582
|
* @param {?Object<string, string>} metadata User defined
|
|
3583
3583
|
* call metadata
|
|
3584
|
-
* @return {!Promise<!proto.sniipuserservice.
|
|
3584
|
+
* @return {!Promise<!proto.sniipuserservice.PermissionRolesPaginationResponse>}
|
|
3585
3585
|
* Promise that resolves to the response
|
|
3586
3586
|
*/
|
|
3587
3587
|
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getPermissionRoles =
|
|
@@ -131,12 +131,14 @@ goog.exportSymbol('proto.sniipuserservice.ResetPasswordEmailRequest', null, glob
|
|
|
131
131
|
goog.exportSymbol('proto.sniipuserservice.ResetPasswordMobileRequest', null, global);
|
|
132
132
|
goog.exportSymbol('proto.sniipuserservice.ResetPinRequest', null, global);
|
|
133
133
|
goog.exportSymbol('proto.sniipuserservice.ResponseCode', null, global);
|
|
134
|
+
goog.exportSymbol('proto.sniipuserservice.SearchPermissionRequest', null, global);
|
|
134
135
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersByRoleRequest', null, global);
|
|
135
136
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersRequest', null, global);
|
|
136
137
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersResponse', null, global);
|
|
137
138
|
goog.exportSymbol('proto.sniipuserservice.SetPasswordEmailRequest', null, global);
|
|
138
139
|
goog.exportSymbol('proto.sniipuserservice.SetPasswordMobileRequest', null, global);
|
|
139
140
|
goog.exportSymbol('proto.sniipuserservice.SetPinRequest', null, global);
|
|
141
|
+
goog.exportSymbol('proto.sniipuserservice.SimpleSearchRequest', null, global);
|
|
140
142
|
goog.exportSymbol('proto.sniipuserservice.SocialLoginRequest', null, global);
|
|
141
143
|
goog.exportSymbol('proto.sniipuserservice.SocialLoginWebRequest', null, global);
|
|
142
144
|
goog.exportSymbol('proto.sniipuserservice.SocialSignUpOrLoginV2Request', null, global);
|
|
@@ -14639,7 +14641,7 @@ proto.sniipuserservice.GetPermissionRolesRequest.prototype.toObject = function(o
|
|
|
14639
14641
|
*/
|
|
14640
14642
|
proto.sniipuserservice.GetPermissionRolesRequest.toObject = function(includeInstance, msg) {
|
|
14641
14643
|
var f, obj = {
|
|
14642
|
-
|
|
14644
|
+
data: (f = msg.getData()) && proto.sniipuserservice.SimpleSearchRequest.toObject(includeInstance, f)
|
|
14643
14645
|
};
|
|
14644
14646
|
|
|
14645
14647
|
if (includeInstance) {
|
|
@@ -14677,8 +14679,9 @@ proto.sniipuserservice.GetPermissionRolesRequest.deserializeBinaryFromReader = f
|
|
|
14677
14679
|
var field = reader.getFieldNumber();
|
|
14678
14680
|
switch (field) {
|
|
14679
14681
|
case 1:
|
|
14680
|
-
var value =
|
|
14681
|
-
|
|
14682
|
+
var value = new proto.sniipuserservice.SimpleSearchRequest;
|
|
14683
|
+
reader.readMessage(value,proto.sniipuserservice.SimpleSearchRequest.deserializeBinaryFromReader);
|
|
14684
|
+
msg.setData(value);
|
|
14682
14685
|
break;
|
|
14683
14686
|
default:
|
|
14684
14687
|
reader.skipField();
|
|
@@ -14718,11 +14721,12 @@ proto.sniipuserservice.GetPermissionRolesRequest.prototype.serializeBinary = fun
|
|
|
14718
14721
|
*/
|
|
14719
14722
|
proto.sniipuserservice.GetPermissionRolesRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
14720
14723
|
var f = undefined;
|
|
14721
|
-
f = this.
|
|
14722
|
-
if (f
|
|
14723
|
-
writer.
|
|
14724
|
+
f = this.getData();
|
|
14725
|
+
if (f != null) {
|
|
14726
|
+
writer.writeMessage(
|
|
14724
14727
|
1,
|
|
14725
|
-
f
|
|
14728
|
+
f,
|
|
14729
|
+
proto.sniipuserservice.SimpleSearchRequest.serializeBinaryToWriter
|
|
14726
14730
|
);
|
|
14727
14731
|
}
|
|
14728
14732
|
};
|
|
@@ -14738,17 +14742,32 @@ proto.sniipuserservice.GetPermissionRolesRequest.prototype.cloneMessage = functi
|
|
|
14738
14742
|
|
|
14739
14743
|
|
|
14740
14744
|
/**
|
|
14741
|
-
* optional
|
|
14742
|
-
* @return {
|
|
14745
|
+
* optional SimpleSearchRequest data = 1;
|
|
14746
|
+
* @return {proto.sniipuserservice.SimpleSearchRequest}
|
|
14743
14747
|
*/
|
|
14744
|
-
proto.sniipuserservice.GetPermissionRolesRequest.prototype.
|
|
14745
|
-
return /** @type
|
|
14748
|
+
proto.sniipuserservice.GetPermissionRolesRequest.prototype.getData = function() {
|
|
14749
|
+
return /** @type{proto.sniipuserservice.SimpleSearchRequest} */ (
|
|
14750
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.SimpleSearchRequest, 1));
|
|
14746
14751
|
};
|
|
14747
14752
|
|
|
14748
14753
|
|
|
14749
|
-
/** @param {
|
|
14750
|
-
proto.sniipuserservice.GetPermissionRolesRequest.prototype.
|
|
14751
|
-
jspb.Message.
|
|
14754
|
+
/** @param {proto.sniipuserservice.SimpleSearchRequest|undefined} value */
|
|
14755
|
+
proto.sniipuserservice.GetPermissionRolesRequest.prototype.setData = function(value) {
|
|
14756
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
14757
|
+
};
|
|
14758
|
+
|
|
14759
|
+
|
|
14760
|
+
proto.sniipuserservice.GetPermissionRolesRequest.prototype.clearData = function() {
|
|
14761
|
+
this.setData(undefined);
|
|
14762
|
+
};
|
|
14763
|
+
|
|
14764
|
+
|
|
14765
|
+
/**
|
|
14766
|
+
* Returns whether this field is set.
|
|
14767
|
+
* @return{!boolean}
|
|
14768
|
+
*/
|
|
14769
|
+
proto.sniipuserservice.GetPermissionRolesRequest.prototype.hasData = function() {
|
|
14770
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14752
14771
|
};
|
|
14753
14772
|
|
|
14754
14773
|
|
|
@@ -14798,8 +14817,7 @@ proto.sniipuserservice.GetPermissionsRequest.prototype.toObject = function(opt_i
|
|
|
14798
14817
|
*/
|
|
14799
14818
|
proto.sniipuserservice.GetPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
14800
14819
|
var f, obj = {
|
|
14801
|
-
|
|
14802
|
-
type: msg.getType()
|
|
14820
|
+
data: (f = msg.getData()) && proto.sniipuserservice.SearchPermissionRequest.toObject(includeInstance, f)
|
|
14803
14821
|
};
|
|
14804
14822
|
|
|
14805
14823
|
if (includeInstance) {
|
|
@@ -14837,12 +14855,9 @@ proto.sniipuserservice.GetPermissionsRequest.deserializeBinaryFromReader = funct
|
|
|
14837
14855
|
var field = reader.getFieldNumber();
|
|
14838
14856
|
switch (field) {
|
|
14839
14857
|
case 1:
|
|
14840
|
-
var value =
|
|
14841
|
-
|
|
14842
|
-
|
|
14843
|
-
case 2:
|
|
14844
|
-
var value = /** @type {string} */ (reader.readString());
|
|
14845
|
-
msg.setType(value);
|
|
14858
|
+
var value = new proto.sniipuserservice.SearchPermissionRequest;
|
|
14859
|
+
reader.readMessage(value,proto.sniipuserservice.SearchPermissionRequest.deserializeBinaryFromReader);
|
|
14860
|
+
msg.setData(value);
|
|
14846
14861
|
break;
|
|
14847
14862
|
default:
|
|
14848
14863
|
reader.skipField();
|
|
@@ -14882,18 +14897,12 @@ proto.sniipuserservice.GetPermissionsRequest.prototype.serializeBinary = functio
|
|
|
14882
14897
|
*/
|
|
14883
14898
|
proto.sniipuserservice.GetPermissionsRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
14884
14899
|
var f = undefined;
|
|
14885
|
-
f = this.
|
|
14886
|
-
if (f
|
|
14887
|
-
writer.
|
|
14900
|
+
f = this.getData();
|
|
14901
|
+
if (f != null) {
|
|
14902
|
+
writer.writeMessage(
|
|
14888
14903
|
1,
|
|
14889
|
-
f
|
|
14890
|
-
|
|
14891
|
-
}
|
|
14892
|
-
f = this.getType();
|
|
14893
|
-
if (f.length > 0) {
|
|
14894
|
-
writer.writeString(
|
|
14895
|
-
2,
|
|
14896
|
-
f
|
|
14904
|
+
f,
|
|
14905
|
+
proto.sniipuserservice.SearchPermissionRequest.serializeBinaryToWriter
|
|
14897
14906
|
);
|
|
14898
14907
|
}
|
|
14899
14908
|
};
|
|
@@ -14909,32 +14918,32 @@ proto.sniipuserservice.GetPermissionsRequest.prototype.cloneMessage = function()
|
|
|
14909
14918
|
|
|
14910
14919
|
|
|
14911
14920
|
/**
|
|
14912
|
-
* optional
|
|
14913
|
-
* @return {
|
|
14921
|
+
* optional SearchPermissionRequest data = 1;
|
|
14922
|
+
* @return {proto.sniipuserservice.SearchPermissionRequest}
|
|
14914
14923
|
*/
|
|
14915
|
-
proto.sniipuserservice.GetPermissionsRequest.prototype.
|
|
14916
|
-
return /** @type
|
|
14924
|
+
proto.sniipuserservice.GetPermissionsRequest.prototype.getData = function() {
|
|
14925
|
+
return /** @type{proto.sniipuserservice.SearchPermissionRequest} */ (
|
|
14926
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.SearchPermissionRequest, 1));
|
|
14917
14927
|
};
|
|
14918
14928
|
|
|
14919
14929
|
|
|
14920
|
-
/** @param {
|
|
14921
|
-
proto.sniipuserservice.GetPermissionsRequest.prototype.
|
|
14922
|
-
jspb.Message.
|
|
14930
|
+
/** @param {proto.sniipuserservice.SearchPermissionRequest|undefined} value */
|
|
14931
|
+
proto.sniipuserservice.GetPermissionsRequest.prototype.setData = function(value) {
|
|
14932
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
14923
14933
|
};
|
|
14924
14934
|
|
|
14925
14935
|
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
* @return {string}
|
|
14929
|
-
*/
|
|
14930
|
-
proto.sniipuserservice.GetPermissionsRequest.prototype.getType = function() {
|
|
14931
|
-
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
14936
|
+
proto.sniipuserservice.GetPermissionsRequest.prototype.clearData = function() {
|
|
14937
|
+
this.setData(undefined);
|
|
14932
14938
|
};
|
|
14933
14939
|
|
|
14934
14940
|
|
|
14935
|
-
/**
|
|
14936
|
-
|
|
14937
|
-
|
|
14941
|
+
/**
|
|
14942
|
+
* Returns whether this field is set.
|
|
14943
|
+
* @return{!boolean}
|
|
14944
|
+
*/
|
|
14945
|
+
proto.sniipuserservice.GetPermissionsRequest.prototype.hasData = function() {
|
|
14946
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14938
14947
|
};
|
|
14939
14948
|
|
|
14940
14949
|
|
|
@@ -24612,7 +24621,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
24612
24621
|
* @private {!Array<number>}
|
|
24613
24622
|
* @const
|
|
24614
24623
|
*/
|
|
24615
|
-
proto.sniipuserservice.PermissionsResponse.repeatedFields_ = [
|
|
24624
|
+
proto.sniipuserservice.PermissionsResponse.repeatedFields_ = [6];
|
|
24616
24625
|
|
|
24617
24626
|
|
|
24618
24627
|
|
|
@@ -24642,6 +24651,10 @@ proto.sniipuserservice.PermissionsResponse.prototype.toObject = function(opt_inc
|
|
|
24642
24651
|
*/
|
|
24643
24652
|
proto.sniipuserservice.PermissionsResponse.toObject = function(includeInstance, msg) {
|
|
24644
24653
|
var f, obj = {
|
|
24654
|
+
page: msg.getPage(),
|
|
24655
|
+
size: msg.getSize(),
|
|
24656
|
+
totalsize: msg.getTotalsize(),
|
|
24657
|
+
totalpages: msg.getTotalpages(),
|
|
24645
24658
|
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
24646
24659
|
permissionsList: jspb.Message.toObjectList(msg.getPermissionsList(),
|
|
24647
24660
|
proto.sniipuserservice.Permission.toObject, includeInstance)
|
|
@@ -24682,11 +24695,27 @@ proto.sniipuserservice.PermissionsResponse.deserializeBinaryFromReader = functio
|
|
|
24682
24695
|
var field = reader.getFieldNumber();
|
|
24683
24696
|
switch (field) {
|
|
24684
24697
|
case 1:
|
|
24698
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24699
|
+
msg.setPage(value);
|
|
24700
|
+
break;
|
|
24701
|
+
case 2:
|
|
24702
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24703
|
+
msg.setSize(value);
|
|
24704
|
+
break;
|
|
24705
|
+
case 3:
|
|
24706
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
24707
|
+
msg.setTotalsize(value);
|
|
24708
|
+
break;
|
|
24709
|
+
case 4:
|
|
24710
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24711
|
+
msg.setTotalpages(value);
|
|
24712
|
+
break;
|
|
24713
|
+
case 5:
|
|
24685
24714
|
var value = new proto.sniipuserservice.ResponseCode;
|
|
24686
24715
|
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
24687
24716
|
msg.setResponsecode(value);
|
|
24688
24717
|
break;
|
|
24689
|
-
case
|
|
24718
|
+
case 6:
|
|
24690
24719
|
var value = new proto.sniipuserservice.Permission;
|
|
24691
24720
|
reader.readMessage(value,proto.sniipuserservice.Permission.deserializeBinaryFromReader);
|
|
24692
24721
|
msg.getPermissionsList().push(value);
|
|
@@ -24730,10 +24759,38 @@ proto.sniipuserservice.PermissionsResponse.prototype.serializeBinary = function(
|
|
|
24730
24759
|
*/
|
|
24731
24760
|
proto.sniipuserservice.PermissionsResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
24732
24761
|
var f = undefined;
|
|
24762
|
+
f = this.getPage();
|
|
24763
|
+
if (f !== 0) {
|
|
24764
|
+
writer.writeInt32(
|
|
24765
|
+
1,
|
|
24766
|
+
f
|
|
24767
|
+
);
|
|
24768
|
+
}
|
|
24769
|
+
f = this.getSize();
|
|
24770
|
+
if (f !== 0) {
|
|
24771
|
+
writer.writeInt32(
|
|
24772
|
+
2,
|
|
24773
|
+
f
|
|
24774
|
+
);
|
|
24775
|
+
}
|
|
24776
|
+
f = this.getTotalsize();
|
|
24777
|
+
if (f !== 0) {
|
|
24778
|
+
writer.writeInt64(
|
|
24779
|
+
3,
|
|
24780
|
+
f
|
|
24781
|
+
);
|
|
24782
|
+
}
|
|
24783
|
+
f = this.getTotalpages();
|
|
24784
|
+
if (f !== 0) {
|
|
24785
|
+
writer.writeInt32(
|
|
24786
|
+
4,
|
|
24787
|
+
f
|
|
24788
|
+
);
|
|
24789
|
+
}
|
|
24733
24790
|
f = this.getResponsecode();
|
|
24734
24791
|
if (f != null) {
|
|
24735
24792
|
writer.writeMessage(
|
|
24736
|
-
|
|
24793
|
+
5,
|
|
24737
24794
|
f,
|
|
24738
24795
|
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
24739
24796
|
);
|
|
@@ -24741,7 +24798,7 @@ proto.sniipuserservice.PermissionsResponse.prototype.serializeBinaryToWriter = f
|
|
|
24741
24798
|
f = this.getPermissionsList();
|
|
24742
24799
|
if (f.length > 0) {
|
|
24743
24800
|
writer.writeRepeatedMessage(
|
|
24744
|
-
|
|
24801
|
+
6,
|
|
24745
24802
|
f,
|
|
24746
24803
|
proto.sniipuserservice.Permission.serializeBinaryToWriter
|
|
24747
24804
|
);
|
|
@@ -24759,18 +24816,78 @@ proto.sniipuserservice.PermissionsResponse.prototype.cloneMessage = function() {
|
|
|
24759
24816
|
|
|
24760
24817
|
|
|
24761
24818
|
/**
|
|
24762
|
-
* optional
|
|
24819
|
+
* optional int32 page = 1;
|
|
24820
|
+
* @return {number}
|
|
24821
|
+
*/
|
|
24822
|
+
proto.sniipuserservice.PermissionsResponse.prototype.getPage = function() {
|
|
24823
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
24824
|
+
};
|
|
24825
|
+
|
|
24826
|
+
|
|
24827
|
+
/** @param {number} value */
|
|
24828
|
+
proto.sniipuserservice.PermissionsResponse.prototype.setPage = function(value) {
|
|
24829
|
+
jspb.Message.setField(this, 1, value);
|
|
24830
|
+
};
|
|
24831
|
+
|
|
24832
|
+
|
|
24833
|
+
/**
|
|
24834
|
+
* optional int32 size = 2;
|
|
24835
|
+
* @return {number}
|
|
24836
|
+
*/
|
|
24837
|
+
proto.sniipuserservice.PermissionsResponse.prototype.getSize = function() {
|
|
24838
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
24839
|
+
};
|
|
24840
|
+
|
|
24841
|
+
|
|
24842
|
+
/** @param {number} value */
|
|
24843
|
+
proto.sniipuserservice.PermissionsResponse.prototype.setSize = function(value) {
|
|
24844
|
+
jspb.Message.setField(this, 2, value);
|
|
24845
|
+
};
|
|
24846
|
+
|
|
24847
|
+
|
|
24848
|
+
/**
|
|
24849
|
+
* optional int64 totalSize = 3;
|
|
24850
|
+
* @return {number}
|
|
24851
|
+
*/
|
|
24852
|
+
proto.sniipuserservice.PermissionsResponse.prototype.getTotalsize = function() {
|
|
24853
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
24854
|
+
};
|
|
24855
|
+
|
|
24856
|
+
|
|
24857
|
+
/** @param {number} value */
|
|
24858
|
+
proto.sniipuserservice.PermissionsResponse.prototype.setTotalsize = function(value) {
|
|
24859
|
+
jspb.Message.setField(this, 3, value);
|
|
24860
|
+
};
|
|
24861
|
+
|
|
24862
|
+
|
|
24863
|
+
/**
|
|
24864
|
+
* optional int32 totalPages = 4;
|
|
24865
|
+
* @return {number}
|
|
24866
|
+
*/
|
|
24867
|
+
proto.sniipuserservice.PermissionsResponse.prototype.getTotalpages = function() {
|
|
24868
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
24869
|
+
};
|
|
24870
|
+
|
|
24871
|
+
|
|
24872
|
+
/** @param {number} value */
|
|
24873
|
+
proto.sniipuserservice.PermissionsResponse.prototype.setTotalpages = function(value) {
|
|
24874
|
+
jspb.Message.setField(this, 4, value);
|
|
24875
|
+
};
|
|
24876
|
+
|
|
24877
|
+
|
|
24878
|
+
/**
|
|
24879
|
+
* optional ResponseCode responseCode = 5;
|
|
24763
24880
|
* @return {proto.sniipuserservice.ResponseCode}
|
|
24764
24881
|
*/
|
|
24765
24882
|
proto.sniipuserservice.PermissionsResponse.prototype.getResponsecode = function() {
|
|
24766
24883
|
return /** @type{proto.sniipuserservice.ResponseCode} */ (
|
|
24767
|
-
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode,
|
|
24884
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 5));
|
|
24768
24885
|
};
|
|
24769
24886
|
|
|
24770
24887
|
|
|
24771
24888
|
/** @param {proto.sniipuserservice.ResponseCode|undefined} value */
|
|
24772
24889
|
proto.sniipuserservice.PermissionsResponse.prototype.setResponsecode = function(value) {
|
|
24773
|
-
jspb.Message.setWrapperField(this,
|
|
24890
|
+
jspb.Message.setWrapperField(this, 5, value);
|
|
24774
24891
|
};
|
|
24775
24892
|
|
|
24776
24893
|
|
|
@@ -24784,25 +24901,25 @@ proto.sniipuserservice.PermissionsResponse.prototype.clearResponsecode = functio
|
|
|
24784
24901
|
* @return{!boolean}
|
|
24785
24902
|
*/
|
|
24786
24903
|
proto.sniipuserservice.PermissionsResponse.prototype.hasResponsecode = function() {
|
|
24787
|
-
return jspb.Message.getField(this,
|
|
24904
|
+
return jspb.Message.getField(this, 5) != null;
|
|
24788
24905
|
};
|
|
24789
24906
|
|
|
24790
24907
|
|
|
24791
24908
|
/**
|
|
24792
|
-
* repeated Permission permissions =
|
|
24909
|
+
* repeated Permission permissions = 6;
|
|
24793
24910
|
* If you change this array by adding, removing or replacing elements, or if you
|
|
24794
24911
|
* replace the array itself, then you must call the setter to update it.
|
|
24795
24912
|
* @return {!Array.<!proto.sniipuserservice.Permission>}
|
|
24796
24913
|
*/
|
|
24797
24914
|
proto.sniipuserservice.PermissionsResponse.prototype.getPermissionsList = function() {
|
|
24798
24915
|
return /** @type{!Array.<!proto.sniipuserservice.Permission>} */ (
|
|
24799
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sniipuserservice.Permission,
|
|
24916
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipuserservice.Permission, 6));
|
|
24800
24917
|
};
|
|
24801
24918
|
|
|
24802
24919
|
|
|
24803
24920
|
/** @param {Array.<!proto.sniipuserservice.Permission>} value */
|
|
24804
24921
|
proto.sniipuserservice.PermissionsResponse.prototype.setPermissionsList = function(value) {
|
|
24805
|
-
jspb.Message.setRepeatedWrapperField(this,
|
|
24922
|
+
jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
24806
24923
|
};
|
|
24807
24924
|
|
|
24808
24925
|
|
|
@@ -27943,12 +28060,12 @@ proto.sniipuserservice.ResponseCode.prototype.setMessage = function(value) {
|
|
|
27943
28060
|
* @extends {jspb.Message}
|
|
27944
28061
|
* @constructor
|
|
27945
28062
|
*/
|
|
27946
|
-
proto.sniipuserservice.
|
|
28063
|
+
proto.sniipuserservice.SearchPermissionRequest = function(opt_data) {
|
|
27947
28064
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
27948
28065
|
};
|
|
27949
|
-
goog.inherits(proto.sniipuserservice.
|
|
28066
|
+
goog.inherits(proto.sniipuserservice.SearchPermissionRequest, jspb.Message);
|
|
27950
28067
|
if (goog.DEBUG && !COMPILED) {
|
|
27951
|
-
proto.sniipuserservice.
|
|
28068
|
+
proto.sniipuserservice.SearchPermissionRequest.displayName = 'proto.sniipuserservice.SearchPermissionRequest';
|
|
27952
28069
|
}
|
|
27953
28070
|
|
|
27954
28071
|
|
|
@@ -27963,8 +28080,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
27963
28080
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
27964
28081
|
* @return {!Object}
|
|
27965
28082
|
*/
|
|
27966
|
-
proto.sniipuserservice.
|
|
27967
|
-
return proto.sniipuserservice.
|
|
28083
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
28084
|
+
return proto.sniipuserservice.SearchPermissionRequest.toObject(opt_includeInstance, this);
|
|
27968
28085
|
};
|
|
27969
28086
|
|
|
27970
28087
|
|
|
@@ -27973,16 +28090,15 @@ proto.sniipuserservice.SearchUsersByRoleRequest.prototype.toObject = function(op
|
|
|
27973
28090
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
27974
28091
|
* instance for transitional soy proto support:
|
|
27975
28092
|
* http://goto/soy-param-migration
|
|
27976
|
-
* @param {!proto.sniipuserservice.
|
|
28093
|
+
* @param {!proto.sniipuserservice.SearchPermissionRequest} msg The msg instance to transform.
|
|
27977
28094
|
* @return {!Object}
|
|
27978
28095
|
*/
|
|
27979
|
-
proto.sniipuserservice.
|
|
28096
|
+
proto.sniipuserservice.SearchPermissionRequest.toObject = function(includeInstance, msg) {
|
|
27980
28097
|
var f, obj = {
|
|
27981
28098
|
page: msg.getPage(),
|
|
27982
28099
|
pagesize: msg.getPagesize(),
|
|
27983
28100
|
query: msg.getQuery(),
|
|
27984
|
-
|
|
27985
|
-
ismember: msg.getIsmember()
|
|
28101
|
+
type: msg.getType()
|
|
27986
28102
|
};
|
|
27987
28103
|
|
|
27988
28104
|
if (includeInstance) {
|
|
@@ -27996,23 +28112,23 @@ proto.sniipuserservice.SearchUsersByRoleRequest.toObject = function(includeInsta
|
|
|
27996
28112
|
/**
|
|
27997
28113
|
* Deserializes binary data (in protobuf wire format).
|
|
27998
28114
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27999
|
-
* @return {!proto.sniipuserservice.
|
|
28115
|
+
* @return {!proto.sniipuserservice.SearchPermissionRequest}
|
|
28000
28116
|
*/
|
|
28001
|
-
proto.sniipuserservice.
|
|
28117
|
+
proto.sniipuserservice.SearchPermissionRequest.deserializeBinary = function(bytes) {
|
|
28002
28118
|
var reader = new jspb.BinaryReader(bytes);
|
|
28003
|
-
var msg = new proto.sniipuserservice.
|
|
28004
|
-
return proto.sniipuserservice.
|
|
28119
|
+
var msg = new proto.sniipuserservice.SearchPermissionRequest;
|
|
28120
|
+
return proto.sniipuserservice.SearchPermissionRequest.deserializeBinaryFromReader(msg, reader);
|
|
28005
28121
|
};
|
|
28006
28122
|
|
|
28007
28123
|
|
|
28008
28124
|
/**
|
|
28009
28125
|
* Deserializes binary data (in protobuf wire format) from the
|
|
28010
28126
|
* given reader into the given message object.
|
|
28011
|
-
* @param {!proto.sniipuserservice.
|
|
28127
|
+
* @param {!proto.sniipuserservice.SearchPermissionRequest} msg The message object to deserialize into.
|
|
28012
28128
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28013
|
-
* @return {!proto.sniipuserservice.
|
|
28129
|
+
* @return {!proto.sniipuserservice.SearchPermissionRequest}
|
|
28014
28130
|
*/
|
|
28015
|
-
proto.sniipuserservice.
|
|
28131
|
+
proto.sniipuserservice.SearchPermissionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
28016
28132
|
while (reader.nextField()) {
|
|
28017
28133
|
if (reader.isEndGroup()) {
|
|
28018
28134
|
break;
|
|
@@ -28032,12 +28148,8 @@ proto.sniipuserservice.SearchUsersByRoleRequest.deserializeBinaryFromReader = fu
|
|
|
28032
28148
|
msg.setQuery(value);
|
|
28033
28149
|
break;
|
|
28034
28150
|
case 4:
|
|
28035
|
-
var value = /** @type {
|
|
28036
|
-
msg.
|
|
28037
|
-
break;
|
|
28038
|
-
case 5:
|
|
28039
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
28040
|
-
msg.setIsmember(value);
|
|
28151
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28152
|
+
msg.setType(value);
|
|
28041
28153
|
break;
|
|
28042
28154
|
default:
|
|
28043
28155
|
reader.skipField();
|
|
@@ -28051,10 +28163,10 @@ proto.sniipuserservice.SearchUsersByRoleRequest.deserializeBinaryFromReader = fu
|
|
|
28051
28163
|
/**
|
|
28052
28164
|
* Class method variant: serializes the given message to binary data
|
|
28053
28165
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
28054
|
-
* @param {!proto.sniipuserservice.
|
|
28166
|
+
* @param {!proto.sniipuserservice.SearchPermissionRequest} message
|
|
28055
28167
|
* @param {!jspb.BinaryWriter} writer
|
|
28056
28168
|
*/
|
|
28057
|
-
proto.sniipuserservice.
|
|
28169
|
+
proto.sniipuserservice.SearchPermissionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
28058
28170
|
message.serializeBinaryToWriter(writer);
|
|
28059
28171
|
};
|
|
28060
28172
|
|
|
@@ -28063,7 +28175,7 @@ proto.sniipuserservice.SearchUsersByRoleRequest.serializeBinaryToWriter = functi
|
|
|
28063
28175
|
* Serializes the message to binary data (in protobuf wire format).
|
|
28064
28176
|
* @return {!Uint8Array}
|
|
28065
28177
|
*/
|
|
28066
|
-
proto.sniipuserservice.
|
|
28178
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.serializeBinary = function() {
|
|
28067
28179
|
var writer = new jspb.BinaryWriter();
|
|
28068
28180
|
this.serializeBinaryToWriter(writer);
|
|
28069
28181
|
return writer.getResultBuffer();
|
|
@@ -28075,7 +28187,7 @@ proto.sniipuserservice.SearchUsersByRoleRequest.prototype.serializeBinary = func
|
|
|
28075
28187
|
* writing to the given BinaryWriter.
|
|
28076
28188
|
* @param {!jspb.BinaryWriter} writer
|
|
28077
28189
|
*/
|
|
28078
|
-
proto.sniipuserservice.
|
|
28190
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
28079
28191
|
var f = undefined;
|
|
28080
28192
|
f = this.getPage();
|
|
28081
28193
|
if (f !== 0) {
|
|
@@ -28098,29 +28210,22 @@ proto.sniipuserservice.SearchUsersByRoleRequest.prototype.serializeBinaryToWrite
|
|
|
28098
28210
|
f
|
|
28099
28211
|
);
|
|
28100
28212
|
}
|
|
28101
|
-
f = this.
|
|
28102
|
-
if (f
|
|
28103
|
-
writer.
|
|
28213
|
+
f = this.getType();
|
|
28214
|
+
if (f.length > 0) {
|
|
28215
|
+
writer.writeString(
|
|
28104
28216
|
4,
|
|
28105
28217
|
f
|
|
28106
28218
|
);
|
|
28107
28219
|
}
|
|
28108
|
-
f = this.getIsmember();
|
|
28109
|
-
if (f) {
|
|
28110
|
-
writer.writeBool(
|
|
28111
|
-
5,
|
|
28112
|
-
f
|
|
28113
|
-
);
|
|
28114
|
-
}
|
|
28115
28220
|
};
|
|
28116
28221
|
|
|
28117
28222
|
|
|
28118
28223
|
/**
|
|
28119
28224
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
28120
|
-
* @return {!proto.sniipuserservice.
|
|
28225
|
+
* @return {!proto.sniipuserservice.SearchPermissionRequest} The clone.
|
|
28121
28226
|
*/
|
|
28122
|
-
proto.sniipuserservice.
|
|
28123
|
-
return /** @type {!proto.sniipuserservice.
|
|
28227
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.cloneMessage = function() {
|
|
28228
|
+
return /** @type {!proto.sniipuserservice.SearchPermissionRequest} */ (jspb.Message.cloneMessage(this));
|
|
28124
28229
|
};
|
|
28125
28230
|
|
|
28126
28231
|
|
|
@@ -28128,13 +28233,13 @@ proto.sniipuserservice.SearchUsersByRoleRequest.prototype.cloneMessage = functio
|
|
|
28128
28233
|
* optional int32 page = 1;
|
|
28129
28234
|
* @return {number}
|
|
28130
28235
|
*/
|
|
28131
|
-
proto.sniipuserservice.
|
|
28236
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.getPage = function() {
|
|
28132
28237
|
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
28133
28238
|
};
|
|
28134
28239
|
|
|
28135
28240
|
|
|
28136
28241
|
/** @param {number} value */
|
|
28137
|
-
proto.sniipuserservice.
|
|
28242
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.setPage = function(value) {
|
|
28138
28243
|
jspb.Message.setField(this, 1, value);
|
|
28139
28244
|
};
|
|
28140
28245
|
|
|
@@ -28143,13 +28248,13 @@ proto.sniipuserservice.SearchUsersByRoleRequest.prototype.setPage = function(val
|
|
|
28143
28248
|
* optional int32 pageSize = 2;
|
|
28144
28249
|
* @return {number}
|
|
28145
28250
|
*/
|
|
28146
|
-
proto.sniipuserservice.
|
|
28251
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.getPagesize = function() {
|
|
28147
28252
|
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
28148
28253
|
};
|
|
28149
28254
|
|
|
28150
28255
|
|
|
28151
28256
|
/** @param {number} value */
|
|
28152
|
-
proto.sniipuserservice.
|
|
28257
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.setPagesize = function(value) {
|
|
28153
28258
|
jspb.Message.setField(this, 2, value);
|
|
28154
28259
|
};
|
|
28155
28260
|
|
|
@@ -28158,40 +28263,292 @@ proto.sniipuserservice.SearchUsersByRoleRequest.prototype.setPagesize = function
|
|
|
28158
28263
|
* optional string query = 3;
|
|
28159
28264
|
* @return {string}
|
|
28160
28265
|
*/
|
|
28161
|
-
proto.sniipuserservice.
|
|
28266
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.getQuery = function() {
|
|
28162
28267
|
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
28163
28268
|
};
|
|
28164
28269
|
|
|
28165
28270
|
|
|
28166
28271
|
/** @param {string} value */
|
|
28167
|
-
proto.sniipuserservice.
|
|
28272
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.setQuery = function(value) {
|
|
28168
28273
|
jspb.Message.setField(this, 3, value);
|
|
28169
28274
|
};
|
|
28170
28275
|
|
|
28171
28276
|
|
|
28172
28277
|
/**
|
|
28173
|
-
* optional
|
|
28174
|
-
* @return {
|
|
28278
|
+
* optional string type = 4;
|
|
28279
|
+
* @return {string}
|
|
28175
28280
|
*/
|
|
28176
|
-
proto.sniipuserservice.
|
|
28177
|
-
return /** @type {
|
|
28281
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.getType = function() {
|
|
28282
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
28178
28283
|
};
|
|
28179
28284
|
|
|
28180
28285
|
|
|
28181
|
-
/** @param {
|
|
28182
|
-
proto.sniipuserservice.
|
|
28286
|
+
/** @param {string} value */
|
|
28287
|
+
proto.sniipuserservice.SearchPermissionRequest.prototype.setType = function(value) {
|
|
28183
28288
|
jspb.Message.setField(this, 4, value);
|
|
28184
28289
|
};
|
|
28185
28290
|
|
|
28186
28291
|
|
|
28292
|
+
|
|
28187
28293
|
/**
|
|
28188
|
-
*
|
|
28189
|
-
*
|
|
28190
|
-
*
|
|
28191
|
-
*
|
|
28192
|
-
|
|
28193
|
-
|
|
28194
|
-
|
|
28294
|
+
* Generated by JsPbCodeGenerator.
|
|
28295
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
28296
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
28297
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
28298
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
28299
|
+
* valid.
|
|
28300
|
+
* @extends {jspb.Message}
|
|
28301
|
+
* @constructor
|
|
28302
|
+
*/
|
|
28303
|
+
proto.sniipuserservice.SearchUsersByRoleRequest = function(opt_data) {
|
|
28304
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
28305
|
+
};
|
|
28306
|
+
goog.inherits(proto.sniipuserservice.SearchUsersByRoleRequest, jspb.Message);
|
|
28307
|
+
if (goog.DEBUG && !COMPILED) {
|
|
28308
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.displayName = 'proto.sniipuserservice.SearchUsersByRoleRequest';
|
|
28309
|
+
}
|
|
28310
|
+
|
|
28311
|
+
|
|
28312
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28313
|
+
/**
|
|
28314
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
28315
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
28316
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
28317
|
+
* For the list of reserved names please see:
|
|
28318
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
28319
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
28320
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
28321
|
+
* @return {!Object}
|
|
28322
|
+
*/
|
|
28323
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
28324
|
+
return proto.sniipuserservice.SearchUsersByRoleRequest.toObject(opt_includeInstance, this);
|
|
28325
|
+
};
|
|
28326
|
+
|
|
28327
|
+
|
|
28328
|
+
/**
|
|
28329
|
+
* Static version of the {@see toObject} method.
|
|
28330
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
28331
|
+
* instance for transitional soy proto support:
|
|
28332
|
+
* http://goto/soy-param-migration
|
|
28333
|
+
* @param {!proto.sniipuserservice.SearchUsersByRoleRequest} msg The msg instance to transform.
|
|
28334
|
+
* @return {!Object}
|
|
28335
|
+
*/
|
|
28336
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.toObject = function(includeInstance, msg) {
|
|
28337
|
+
var f, obj = {
|
|
28338
|
+
page: msg.getPage(),
|
|
28339
|
+
pagesize: msg.getPagesize(),
|
|
28340
|
+
query: msg.getQuery(),
|
|
28341
|
+
roleid: msg.getRoleid(),
|
|
28342
|
+
ismember: msg.getIsmember()
|
|
28343
|
+
};
|
|
28344
|
+
|
|
28345
|
+
if (includeInstance) {
|
|
28346
|
+
obj.$jspbMessageInstance = msg;
|
|
28347
|
+
}
|
|
28348
|
+
return obj;
|
|
28349
|
+
};
|
|
28350
|
+
}
|
|
28351
|
+
|
|
28352
|
+
|
|
28353
|
+
/**
|
|
28354
|
+
* Deserializes binary data (in protobuf wire format).
|
|
28355
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28356
|
+
* @return {!proto.sniipuserservice.SearchUsersByRoleRequest}
|
|
28357
|
+
*/
|
|
28358
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.deserializeBinary = function(bytes) {
|
|
28359
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
28360
|
+
var msg = new proto.sniipuserservice.SearchUsersByRoleRequest;
|
|
28361
|
+
return proto.sniipuserservice.SearchUsersByRoleRequest.deserializeBinaryFromReader(msg, reader);
|
|
28362
|
+
};
|
|
28363
|
+
|
|
28364
|
+
|
|
28365
|
+
/**
|
|
28366
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
28367
|
+
* given reader into the given message object.
|
|
28368
|
+
* @param {!proto.sniipuserservice.SearchUsersByRoleRequest} msg The message object to deserialize into.
|
|
28369
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28370
|
+
* @return {!proto.sniipuserservice.SearchUsersByRoleRequest}
|
|
28371
|
+
*/
|
|
28372
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
28373
|
+
while (reader.nextField()) {
|
|
28374
|
+
if (reader.isEndGroup()) {
|
|
28375
|
+
break;
|
|
28376
|
+
}
|
|
28377
|
+
var field = reader.getFieldNumber();
|
|
28378
|
+
switch (field) {
|
|
28379
|
+
case 1:
|
|
28380
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
28381
|
+
msg.setPage(value);
|
|
28382
|
+
break;
|
|
28383
|
+
case 2:
|
|
28384
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
28385
|
+
msg.setPagesize(value);
|
|
28386
|
+
break;
|
|
28387
|
+
case 3:
|
|
28388
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28389
|
+
msg.setQuery(value);
|
|
28390
|
+
break;
|
|
28391
|
+
case 4:
|
|
28392
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
28393
|
+
msg.setRoleid(value);
|
|
28394
|
+
break;
|
|
28395
|
+
case 5:
|
|
28396
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
28397
|
+
msg.setIsmember(value);
|
|
28398
|
+
break;
|
|
28399
|
+
default:
|
|
28400
|
+
reader.skipField();
|
|
28401
|
+
break;
|
|
28402
|
+
}
|
|
28403
|
+
}
|
|
28404
|
+
return msg;
|
|
28405
|
+
};
|
|
28406
|
+
|
|
28407
|
+
|
|
28408
|
+
/**
|
|
28409
|
+
* Class method variant: serializes the given message to binary data
|
|
28410
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
28411
|
+
* @param {!proto.sniipuserservice.SearchUsersByRoleRequest} message
|
|
28412
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28413
|
+
*/
|
|
28414
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
28415
|
+
message.serializeBinaryToWriter(writer);
|
|
28416
|
+
};
|
|
28417
|
+
|
|
28418
|
+
|
|
28419
|
+
/**
|
|
28420
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
28421
|
+
* @return {!Uint8Array}
|
|
28422
|
+
*/
|
|
28423
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.serializeBinary = function() {
|
|
28424
|
+
var writer = new jspb.BinaryWriter();
|
|
28425
|
+
this.serializeBinaryToWriter(writer);
|
|
28426
|
+
return writer.getResultBuffer();
|
|
28427
|
+
};
|
|
28428
|
+
|
|
28429
|
+
|
|
28430
|
+
/**
|
|
28431
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
28432
|
+
* writing to the given BinaryWriter.
|
|
28433
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28434
|
+
*/
|
|
28435
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
28436
|
+
var f = undefined;
|
|
28437
|
+
f = this.getPage();
|
|
28438
|
+
if (f !== 0) {
|
|
28439
|
+
writer.writeInt32(
|
|
28440
|
+
1,
|
|
28441
|
+
f
|
|
28442
|
+
);
|
|
28443
|
+
}
|
|
28444
|
+
f = this.getPagesize();
|
|
28445
|
+
if (f !== 0) {
|
|
28446
|
+
writer.writeInt32(
|
|
28447
|
+
2,
|
|
28448
|
+
f
|
|
28449
|
+
);
|
|
28450
|
+
}
|
|
28451
|
+
f = this.getQuery();
|
|
28452
|
+
if (f.length > 0) {
|
|
28453
|
+
writer.writeString(
|
|
28454
|
+
3,
|
|
28455
|
+
f
|
|
28456
|
+
);
|
|
28457
|
+
}
|
|
28458
|
+
f = this.getRoleid();
|
|
28459
|
+
if (f !== 0) {
|
|
28460
|
+
writer.writeInt64(
|
|
28461
|
+
4,
|
|
28462
|
+
f
|
|
28463
|
+
);
|
|
28464
|
+
}
|
|
28465
|
+
f = this.getIsmember();
|
|
28466
|
+
if (f) {
|
|
28467
|
+
writer.writeBool(
|
|
28468
|
+
5,
|
|
28469
|
+
f
|
|
28470
|
+
);
|
|
28471
|
+
}
|
|
28472
|
+
};
|
|
28473
|
+
|
|
28474
|
+
|
|
28475
|
+
/**
|
|
28476
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
28477
|
+
* @return {!proto.sniipuserservice.SearchUsersByRoleRequest} The clone.
|
|
28478
|
+
*/
|
|
28479
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.cloneMessage = function() {
|
|
28480
|
+
return /** @type {!proto.sniipuserservice.SearchUsersByRoleRequest} */ (jspb.Message.cloneMessage(this));
|
|
28481
|
+
};
|
|
28482
|
+
|
|
28483
|
+
|
|
28484
|
+
/**
|
|
28485
|
+
* optional int32 page = 1;
|
|
28486
|
+
* @return {number}
|
|
28487
|
+
*/
|
|
28488
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.getPage = function() {
|
|
28489
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
28490
|
+
};
|
|
28491
|
+
|
|
28492
|
+
|
|
28493
|
+
/** @param {number} value */
|
|
28494
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.setPage = function(value) {
|
|
28495
|
+
jspb.Message.setField(this, 1, value);
|
|
28496
|
+
};
|
|
28497
|
+
|
|
28498
|
+
|
|
28499
|
+
/**
|
|
28500
|
+
* optional int32 pageSize = 2;
|
|
28501
|
+
* @return {number}
|
|
28502
|
+
*/
|
|
28503
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.getPagesize = function() {
|
|
28504
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
28505
|
+
};
|
|
28506
|
+
|
|
28507
|
+
|
|
28508
|
+
/** @param {number} value */
|
|
28509
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.setPagesize = function(value) {
|
|
28510
|
+
jspb.Message.setField(this, 2, value);
|
|
28511
|
+
};
|
|
28512
|
+
|
|
28513
|
+
|
|
28514
|
+
/**
|
|
28515
|
+
* optional string query = 3;
|
|
28516
|
+
* @return {string}
|
|
28517
|
+
*/
|
|
28518
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.getQuery = function() {
|
|
28519
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
28520
|
+
};
|
|
28521
|
+
|
|
28522
|
+
|
|
28523
|
+
/** @param {string} value */
|
|
28524
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.setQuery = function(value) {
|
|
28525
|
+
jspb.Message.setField(this, 3, value);
|
|
28526
|
+
};
|
|
28527
|
+
|
|
28528
|
+
|
|
28529
|
+
/**
|
|
28530
|
+
* optional int64 roleId = 4;
|
|
28531
|
+
* @return {number}
|
|
28532
|
+
*/
|
|
28533
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.getRoleid = function() {
|
|
28534
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
28535
|
+
};
|
|
28536
|
+
|
|
28537
|
+
|
|
28538
|
+
/** @param {number} value */
|
|
28539
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.setRoleid = function(value) {
|
|
28540
|
+
jspb.Message.setField(this, 4, value);
|
|
28541
|
+
};
|
|
28542
|
+
|
|
28543
|
+
|
|
28544
|
+
/**
|
|
28545
|
+
* optional bool isMember = 5;
|
|
28546
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
28547
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
28548
|
+
* @return {boolean}
|
|
28549
|
+
*/
|
|
28550
|
+
proto.sniipuserservice.SearchUsersByRoleRequest.prototype.getIsmember = function() {
|
|
28551
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 5, false));
|
|
28195
28552
|
};
|
|
28196
28553
|
|
|
28197
28554
|
|
|
@@ -29384,6 +29741,219 @@ proto.sniipuserservice.SetPinRequest.prototype.setPin = function(value) {
|
|
|
29384
29741
|
|
|
29385
29742
|
|
|
29386
29743
|
|
|
29744
|
+
/**
|
|
29745
|
+
* Generated by JsPbCodeGenerator.
|
|
29746
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29747
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
29748
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
29749
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
29750
|
+
* valid.
|
|
29751
|
+
* @extends {jspb.Message}
|
|
29752
|
+
* @constructor
|
|
29753
|
+
*/
|
|
29754
|
+
proto.sniipuserservice.SimpleSearchRequest = function(opt_data) {
|
|
29755
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
29756
|
+
};
|
|
29757
|
+
goog.inherits(proto.sniipuserservice.SimpleSearchRequest, jspb.Message);
|
|
29758
|
+
if (goog.DEBUG && !COMPILED) {
|
|
29759
|
+
proto.sniipuserservice.SimpleSearchRequest.displayName = 'proto.sniipuserservice.SimpleSearchRequest';
|
|
29760
|
+
}
|
|
29761
|
+
|
|
29762
|
+
|
|
29763
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29764
|
+
/**
|
|
29765
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
29766
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29767
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29768
|
+
* For the list of reserved names please see:
|
|
29769
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
29770
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
29771
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
29772
|
+
* @return {!Object}
|
|
29773
|
+
*/
|
|
29774
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
29775
|
+
return proto.sniipuserservice.SimpleSearchRequest.toObject(opt_includeInstance, this);
|
|
29776
|
+
};
|
|
29777
|
+
|
|
29778
|
+
|
|
29779
|
+
/**
|
|
29780
|
+
* Static version of the {@see toObject} method.
|
|
29781
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
29782
|
+
* instance for transitional soy proto support:
|
|
29783
|
+
* http://goto/soy-param-migration
|
|
29784
|
+
* @param {!proto.sniipuserservice.SimpleSearchRequest} msg The msg instance to transform.
|
|
29785
|
+
* @return {!Object}
|
|
29786
|
+
*/
|
|
29787
|
+
proto.sniipuserservice.SimpleSearchRequest.toObject = function(includeInstance, msg) {
|
|
29788
|
+
var f, obj = {
|
|
29789
|
+
page: msg.getPage(),
|
|
29790
|
+
pagesize: msg.getPagesize(),
|
|
29791
|
+
query: msg.getQuery()
|
|
29792
|
+
};
|
|
29793
|
+
|
|
29794
|
+
if (includeInstance) {
|
|
29795
|
+
obj.$jspbMessageInstance = msg;
|
|
29796
|
+
}
|
|
29797
|
+
return obj;
|
|
29798
|
+
};
|
|
29799
|
+
}
|
|
29800
|
+
|
|
29801
|
+
|
|
29802
|
+
/**
|
|
29803
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29804
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29805
|
+
* @return {!proto.sniipuserservice.SimpleSearchRequest}
|
|
29806
|
+
*/
|
|
29807
|
+
proto.sniipuserservice.SimpleSearchRequest.deserializeBinary = function(bytes) {
|
|
29808
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29809
|
+
var msg = new proto.sniipuserservice.SimpleSearchRequest;
|
|
29810
|
+
return proto.sniipuserservice.SimpleSearchRequest.deserializeBinaryFromReader(msg, reader);
|
|
29811
|
+
};
|
|
29812
|
+
|
|
29813
|
+
|
|
29814
|
+
/**
|
|
29815
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29816
|
+
* given reader into the given message object.
|
|
29817
|
+
* @param {!proto.sniipuserservice.SimpleSearchRequest} msg The message object to deserialize into.
|
|
29818
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29819
|
+
* @return {!proto.sniipuserservice.SimpleSearchRequest}
|
|
29820
|
+
*/
|
|
29821
|
+
proto.sniipuserservice.SimpleSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
29822
|
+
while (reader.nextField()) {
|
|
29823
|
+
if (reader.isEndGroup()) {
|
|
29824
|
+
break;
|
|
29825
|
+
}
|
|
29826
|
+
var field = reader.getFieldNumber();
|
|
29827
|
+
switch (field) {
|
|
29828
|
+
case 1:
|
|
29829
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29830
|
+
msg.setPage(value);
|
|
29831
|
+
break;
|
|
29832
|
+
case 2:
|
|
29833
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29834
|
+
msg.setPagesize(value);
|
|
29835
|
+
break;
|
|
29836
|
+
case 3:
|
|
29837
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29838
|
+
msg.setQuery(value);
|
|
29839
|
+
break;
|
|
29840
|
+
default:
|
|
29841
|
+
reader.skipField();
|
|
29842
|
+
break;
|
|
29843
|
+
}
|
|
29844
|
+
}
|
|
29845
|
+
return msg;
|
|
29846
|
+
};
|
|
29847
|
+
|
|
29848
|
+
|
|
29849
|
+
/**
|
|
29850
|
+
* Class method variant: serializes the given message to binary data
|
|
29851
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
29852
|
+
* @param {!proto.sniipuserservice.SimpleSearchRequest} message
|
|
29853
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29854
|
+
*/
|
|
29855
|
+
proto.sniipuserservice.SimpleSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
29856
|
+
message.serializeBinaryToWriter(writer);
|
|
29857
|
+
};
|
|
29858
|
+
|
|
29859
|
+
|
|
29860
|
+
/**
|
|
29861
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29862
|
+
* @return {!Uint8Array}
|
|
29863
|
+
*/
|
|
29864
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.serializeBinary = function() {
|
|
29865
|
+
var writer = new jspb.BinaryWriter();
|
|
29866
|
+
this.serializeBinaryToWriter(writer);
|
|
29867
|
+
return writer.getResultBuffer();
|
|
29868
|
+
};
|
|
29869
|
+
|
|
29870
|
+
|
|
29871
|
+
/**
|
|
29872
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
29873
|
+
* writing to the given BinaryWriter.
|
|
29874
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29875
|
+
*/
|
|
29876
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
29877
|
+
var f = undefined;
|
|
29878
|
+
f = this.getPage();
|
|
29879
|
+
if (f !== 0) {
|
|
29880
|
+
writer.writeInt32(
|
|
29881
|
+
1,
|
|
29882
|
+
f
|
|
29883
|
+
);
|
|
29884
|
+
}
|
|
29885
|
+
f = this.getPagesize();
|
|
29886
|
+
if (f !== 0) {
|
|
29887
|
+
writer.writeInt32(
|
|
29888
|
+
2,
|
|
29889
|
+
f
|
|
29890
|
+
);
|
|
29891
|
+
}
|
|
29892
|
+
f = this.getQuery();
|
|
29893
|
+
if (f.length > 0) {
|
|
29894
|
+
writer.writeString(
|
|
29895
|
+
3,
|
|
29896
|
+
f
|
|
29897
|
+
);
|
|
29898
|
+
}
|
|
29899
|
+
};
|
|
29900
|
+
|
|
29901
|
+
|
|
29902
|
+
/**
|
|
29903
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
29904
|
+
* @return {!proto.sniipuserservice.SimpleSearchRequest} The clone.
|
|
29905
|
+
*/
|
|
29906
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.cloneMessage = function() {
|
|
29907
|
+
return /** @type {!proto.sniipuserservice.SimpleSearchRequest} */ (jspb.Message.cloneMessage(this));
|
|
29908
|
+
};
|
|
29909
|
+
|
|
29910
|
+
|
|
29911
|
+
/**
|
|
29912
|
+
* optional int32 page = 1;
|
|
29913
|
+
* @return {number}
|
|
29914
|
+
*/
|
|
29915
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.getPage = function() {
|
|
29916
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
29917
|
+
};
|
|
29918
|
+
|
|
29919
|
+
|
|
29920
|
+
/** @param {number} value */
|
|
29921
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.setPage = function(value) {
|
|
29922
|
+
jspb.Message.setField(this, 1, value);
|
|
29923
|
+
};
|
|
29924
|
+
|
|
29925
|
+
|
|
29926
|
+
/**
|
|
29927
|
+
* optional int32 pageSize = 2;
|
|
29928
|
+
* @return {number}
|
|
29929
|
+
*/
|
|
29930
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.getPagesize = function() {
|
|
29931
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
29932
|
+
};
|
|
29933
|
+
|
|
29934
|
+
|
|
29935
|
+
/** @param {number} value */
|
|
29936
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.setPagesize = function(value) {
|
|
29937
|
+
jspb.Message.setField(this, 2, value);
|
|
29938
|
+
};
|
|
29939
|
+
|
|
29940
|
+
|
|
29941
|
+
/**
|
|
29942
|
+
* optional string query = 3;
|
|
29943
|
+
* @return {string}
|
|
29944
|
+
*/
|
|
29945
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.getQuery = function() {
|
|
29946
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
29947
|
+
};
|
|
29948
|
+
|
|
29949
|
+
|
|
29950
|
+
/** @param {string} value */
|
|
29951
|
+
proto.sniipuserservice.SimpleSearchRequest.prototype.setQuery = function(value) {
|
|
29952
|
+
jspb.Message.setField(this, 3, value);
|
|
29953
|
+
};
|
|
29954
|
+
|
|
29955
|
+
|
|
29956
|
+
|
|
29387
29957
|
/**
|
|
29388
29958
|
* Generated by JsPbCodeGenerator.
|
|
29389
29959
|
* @param {Array=} opt_data Optional initial data array, typically from a
|