@sniipwebmaster/user-service-client-grpcweb 23.6.9572 → 23.7.9605
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.
|
@@ -8954,6 +8954,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateUser
|
|
|
8954
8954
|
};
|
|
8955
8955
|
|
|
8956
8956
|
|
|
8957
|
+
/**
|
|
8958
|
+
* @const
|
|
8959
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8960
|
+
* !proto.sniipuserservice.UpdateUserStatusV2Request,
|
|
8961
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
8962
|
+
*/
|
|
8963
|
+
const methodDescriptor_SniipUserServiceService_UpdateUserStatusV2 = new grpc.web.MethodDescriptor(
|
|
8964
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusV2',
|
|
8965
|
+
grpc.web.MethodType.UNARY,
|
|
8966
|
+
proto.sniipuserservice.UpdateUserStatusV2Request,
|
|
8967
|
+
proto.sniipuserservice.ResponseCode,
|
|
8968
|
+
/**
|
|
8969
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} request
|
|
8970
|
+
* @return {!Uint8Array}
|
|
8971
|
+
*/
|
|
8972
|
+
function(request) {
|
|
8973
|
+
return request.serializeBinary();
|
|
8974
|
+
},
|
|
8975
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
8976
|
+
);
|
|
8977
|
+
|
|
8978
|
+
|
|
8979
|
+
/**
|
|
8980
|
+
* @const
|
|
8981
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
8982
|
+
* !proto.sniipuserservice.UpdateUserStatusV2Request,
|
|
8983
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
8984
|
+
*/
|
|
8985
|
+
const methodInfo_SniipUserServiceService_UpdateUserStatusV2 = new grpc.web.AbstractClientBase.MethodInfo(
|
|
8986
|
+
proto.sniipuserservice.ResponseCode,
|
|
8987
|
+
/**
|
|
8988
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} request
|
|
8989
|
+
* @return {!Uint8Array}
|
|
8990
|
+
*/
|
|
8991
|
+
function(request) {
|
|
8992
|
+
return request.serializeBinary();
|
|
8993
|
+
},
|
|
8994
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
8995
|
+
);
|
|
8996
|
+
|
|
8997
|
+
|
|
8998
|
+
/**
|
|
8999
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} request The
|
|
9000
|
+
* request proto
|
|
9001
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9002
|
+
* call metadata
|
|
9003
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
|
|
9004
|
+
* callback The callback function(error, response)
|
|
9005
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
9006
|
+
* The XHR Node Readable Stream
|
|
9007
|
+
*/
|
|
9008
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.updateUserStatusV2 =
|
|
9009
|
+
function(request, metadata, callback) {
|
|
9010
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9011
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusV2',
|
|
9012
|
+
request,
|
|
9013
|
+
metadata || {},
|
|
9014
|
+
methodDescriptor_SniipUserServiceService_UpdateUserStatusV2,
|
|
9015
|
+
callback);
|
|
9016
|
+
};
|
|
9017
|
+
|
|
9018
|
+
|
|
9019
|
+
/**
|
|
9020
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} request The
|
|
9021
|
+
* request proto
|
|
9022
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9023
|
+
* call metadata
|
|
9024
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
9025
|
+
* Promise that resolves to the response
|
|
9026
|
+
*/
|
|
9027
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateUserStatusV2 =
|
|
9028
|
+
function(request, metadata) {
|
|
9029
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9030
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusV2',
|
|
9031
|
+
request,
|
|
9032
|
+
metadata || {},
|
|
9033
|
+
methodDescriptor_SniipUserServiceService_UpdateUserStatusV2);
|
|
9034
|
+
};
|
|
9035
|
+
|
|
9036
|
+
|
|
8957
9037
|
/**
|
|
8958
9038
|
* @const
|
|
8959
9039
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -176,6 +176,7 @@ goog.exportSymbol('proto.sniipuserservice.UpdatePhoneRequest', null, global);
|
|
|
176
176
|
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusForTestRequest', null, global);
|
|
177
177
|
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusInternalRequest', null, global);
|
|
178
178
|
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusRequest', null, global);
|
|
179
|
+
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusV2Request', null, global);
|
|
179
180
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsResponse', null, global);
|
|
180
181
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsWebResponse', null, global);
|
|
181
182
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsWebResponse.PermissionsMessage', null, global);
|
|
@@ -190,6 +191,7 @@ goog.exportSymbol('proto.sniipuserservice.UserProfileResponse.RolesMessage', nul
|
|
|
190
191
|
goog.exportSymbol('proto.sniipuserservice.UserProfilesRequest', null, global);
|
|
191
192
|
goog.exportSymbol('proto.sniipuserservice.UserProfilesResponse', null, global);
|
|
192
193
|
goog.exportSymbol('proto.sniipuserservice.UserStatusUpdateRequest', null, global);
|
|
194
|
+
goog.exportSymbol('proto.sniipuserservice.UserStatusUpdateV2Request', null, global);
|
|
193
195
|
goog.exportSymbol('proto.sniipuserservice.ValidateEmailV2Request', null, global);
|
|
194
196
|
goog.exportSymbol('proto.sniipuserservice.ValidatePasswordRequest', null, global);
|
|
195
197
|
goog.exportSymbol('proto.sniipuserservice.ValidatePinRequest', null, global);
|
|
@@ -3495,6 +3497,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3495
3497
|
*/
|
|
3496
3498
|
proto.sniipuserservice.UpdateUserStatusRequest.displayName = 'proto.sniipuserservice.UpdateUserStatusRequest';
|
|
3497
3499
|
}
|
|
3500
|
+
/**
|
|
3501
|
+
* Generated by JsPbCodeGenerator.
|
|
3502
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3503
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3504
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3505
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3506
|
+
* valid.
|
|
3507
|
+
* @extends {jspb.Message}
|
|
3508
|
+
* @constructor
|
|
3509
|
+
*/
|
|
3510
|
+
proto.sniipuserservice.UpdateUserStatusV2Request = function(opt_data) {
|
|
3511
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3512
|
+
};
|
|
3513
|
+
goog.inherits(proto.sniipuserservice.UpdateUserStatusV2Request, jspb.Message);
|
|
3514
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3515
|
+
/**
|
|
3516
|
+
* @public
|
|
3517
|
+
* @override
|
|
3518
|
+
*/
|
|
3519
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.displayName = 'proto.sniipuserservice.UpdateUserStatusV2Request';
|
|
3520
|
+
}
|
|
3498
3521
|
/**
|
|
3499
3522
|
* Generated by JsPbCodeGenerator.
|
|
3500
3523
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3789,6 +3812,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3789
3812
|
*/
|
|
3790
3813
|
proto.sniipuserservice.UserStatusUpdateRequest.displayName = 'proto.sniipuserservice.UserStatusUpdateRequest';
|
|
3791
3814
|
}
|
|
3815
|
+
/**
|
|
3816
|
+
* Generated by JsPbCodeGenerator.
|
|
3817
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3818
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3819
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3820
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3821
|
+
* valid.
|
|
3822
|
+
* @extends {jspb.Message}
|
|
3823
|
+
* @constructor
|
|
3824
|
+
*/
|
|
3825
|
+
proto.sniipuserservice.UserStatusUpdateV2Request = function(opt_data) {
|
|
3826
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3827
|
+
};
|
|
3828
|
+
goog.inherits(proto.sniipuserservice.UserStatusUpdateV2Request, jspb.Message);
|
|
3829
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3830
|
+
/**
|
|
3831
|
+
* @public
|
|
3832
|
+
* @override
|
|
3833
|
+
*/
|
|
3834
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.displayName = 'proto.sniipuserservice.UserStatusUpdateV2Request';
|
|
3835
|
+
}
|
|
3792
3836
|
/**
|
|
3793
3837
|
* Generated by JsPbCodeGenerator.
|
|
3794
3838
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -37768,6 +37812,157 @@ proto.sniipuserservice.UpdateUserStatusRequest.prototype.hasData = function() {
|
|
|
37768
37812
|
|
|
37769
37813
|
|
|
37770
37814
|
|
|
37815
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37816
|
+
/**
|
|
37817
|
+
* Creates an object representation of this proto.
|
|
37818
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
37819
|
+
* Optional fields that are not set will be set to undefined.
|
|
37820
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
37821
|
+
* For the list of reserved names please see:
|
|
37822
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
37823
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
37824
|
+
* JSPB instance for transitional soy proto support:
|
|
37825
|
+
* http://goto/soy-param-migration
|
|
37826
|
+
* @return {!Object}
|
|
37827
|
+
*/
|
|
37828
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.prototype.toObject = function(opt_includeInstance) {
|
|
37829
|
+
return proto.sniipuserservice.UpdateUserStatusV2Request.toObject(opt_includeInstance, this);
|
|
37830
|
+
};
|
|
37831
|
+
|
|
37832
|
+
|
|
37833
|
+
/**
|
|
37834
|
+
* Static version of the {@see toObject} method.
|
|
37835
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
37836
|
+
* the JSPB instance for transitional soy proto support:
|
|
37837
|
+
* http://goto/soy-param-migration
|
|
37838
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} msg The msg instance to transform.
|
|
37839
|
+
* @return {!Object}
|
|
37840
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37841
|
+
*/
|
|
37842
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.toObject = function(includeInstance, msg) {
|
|
37843
|
+
var f, obj = {
|
|
37844
|
+
data: (f = msg.getData()) && proto.sniipuserservice.UserStatusUpdateV2Request.toObject(includeInstance, f)
|
|
37845
|
+
};
|
|
37846
|
+
|
|
37847
|
+
if (includeInstance) {
|
|
37848
|
+
obj.$jspbMessageInstance = msg;
|
|
37849
|
+
}
|
|
37850
|
+
return obj;
|
|
37851
|
+
};
|
|
37852
|
+
}
|
|
37853
|
+
|
|
37854
|
+
|
|
37855
|
+
/**
|
|
37856
|
+
* Deserializes binary data (in protobuf wire format).
|
|
37857
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
37858
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusV2Request}
|
|
37859
|
+
*/
|
|
37860
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.deserializeBinary = function(bytes) {
|
|
37861
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
37862
|
+
var msg = new proto.sniipuserservice.UpdateUserStatusV2Request;
|
|
37863
|
+
return proto.sniipuserservice.UpdateUserStatusV2Request.deserializeBinaryFromReader(msg, reader);
|
|
37864
|
+
};
|
|
37865
|
+
|
|
37866
|
+
|
|
37867
|
+
/**
|
|
37868
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
37869
|
+
* given reader into the given message object.
|
|
37870
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} msg The message object to deserialize into.
|
|
37871
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
37872
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusV2Request}
|
|
37873
|
+
*/
|
|
37874
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.deserializeBinaryFromReader = function(msg, reader) {
|
|
37875
|
+
while (reader.nextField()) {
|
|
37876
|
+
if (reader.isEndGroup()) {
|
|
37877
|
+
break;
|
|
37878
|
+
}
|
|
37879
|
+
var field = reader.getFieldNumber();
|
|
37880
|
+
switch (field) {
|
|
37881
|
+
case 1:
|
|
37882
|
+
var value = new proto.sniipuserservice.UserStatusUpdateV2Request;
|
|
37883
|
+
reader.readMessage(value,proto.sniipuserservice.UserStatusUpdateV2Request.deserializeBinaryFromReader);
|
|
37884
|
+
msg.setData(value);
|
|
37885
|
+
break;
|
|
37886
|
+
default:
|
|
37887
|
+
reader.skipField();
|
|
37888
|
+
break;
|
|
37889
|
+
}
|
|
37890
|
+
}
|
|
37891
|
+
return msg;
|
|
37892
|
+
};
|
|
37893
|
+
|
|
37894
|
+
|
|
37895
|
+
/**
|
|
37896
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
37897
|
+
* @return {!Uint8Array}
|
|
37898
|
+
*/
|
|
37899
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.prototype.serializeBinary = function() {
|
|
37900
|
+
var writer = new jspb.BinaryWriter();
|
|
37901
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.serializeBinaryToWriter(this, writer);
|
|
37902
|
+
return writer.getResultBuffer();
|
|
37903
|
+
};
|
|
37904
|
+
|
|
37905
|
+
|
|
37906
|
+
/**
|
|
37907
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
37908
|
+
* format), writing to the given BinaryWriter.
|
|
37909
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusV2Request} message
|
|
37910
|
+
* @param {!jspb.BinaryWriter} writer
|
|
37911
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37912
|
+
*/
|
|
37913
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.serializeBinaryToWriter = function(message, writer) {
|
|
37914
|
+
var f = undefined;
|
|
37915
|
+
f = message.getData();
|
|
37916
|
+
if (f != null) {
|
|
37917
|
+
writer.writeMessage(
|
|
37918
|
+
1,
|
|
37919
|
+
f,
|
|
37920
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.serializeBinaryToWriter
|
|
37921
|
+
);
|
|
37922
|
+
}
|
|
37923
|
+
};
|
|
37924
|
+
|
|
37925
|
+
|
|
37926
|
+
/**
|
|
37927
|
+
* optional UserStatusUpdateV2Request data = 1;
|
|
37928
|
+
* @return {?proto.sniipuserservice.UserStatusUpdateV2Request}
|
|
37929
|
+
*/
|
|
37930
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.prototype.getData = function() {
|
|
37931
|
+
return /** @type{?proto.sniipuserservice.UserStatusUpdateV2Request} */ (
|
|
37932
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.UserStatusUpdateV2Request, 1));
|
|
37933
|
+
};
|
|
37934
|
+
|
|
37935
|
+
|
|
37936
|
+
/**
|
|
37937
|
+
* @param {?proto.sniipuserservice.UserStatusUpdateV2Request|undefined} value
|
|
37938
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusV2Request} returns this
|
|
37939
|
+
*/
|
|
37940
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.prototype.setData = function(value) {
|
|
37941
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
37942
|
+
};
|
|
37943
|
+
|
|
37944
|
+
|
|
37945
|
+
/**
|
|
37946
|
+
* Clears the message field making it undefined.
|
|
37947
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusV2Request} returns this
|
|
37948
|
+
*/
|
|
37949
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.prototype.clearData = function() {
|
|
37950
|
+
return this.setData(undefined);
|
|
37951
|
+
};
|
|
37952
|
+
|
|
37953
|
+
|
|
37954
|
+
/**
|
|
37955
|
+
* Returns whether this field is set.
|
|
37956
|
+
* @return {boolean}
|
|
37957
|
+
*/
|
|
37958
|
+
proto.sniipuserservice.UpdateUserStatusV2Request.prototype.hasData = function() {
|
|
37959
|
+
return jspb.Message.getField(this, 1) != null;
|
|
37960
|
+
};
|
|
37961
|
+
|
|
37962
|
+
|
|
37963
|
+
|
|
37964
|
+
|
|
37965
|
+
|
|
37771
37966
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37772
37967
|
/**
|
|
37773
37968
|
* Creates an object representation of this proto.
|
|
@@ -41501,6 +41696,196 @@ proto.sniipuserservice.UserStatusUpdateRequest.prototype.setUserid = function(va
|
|
|
41501
41696
|
|
|
41502
41697
|
|
|
41503
41698
|
|
|
41699
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41700
|
+
/**
|
|
41701
|
+
* Creates an object representation of this proto.
|
|
41702
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41703
|
+
* Optional fields that are not set will be set to undefined.
|
|
41704
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41705
|
+
* For the list of reserved names please see:
|
|
41706
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41707
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41708
|
+
* JSPB instance for transitional soy proto support:
|
|
41709
|
+
* http://goto/soy-param-migration
|
|
41710
|
+
* @return {!Object}
|
|
41711
|
+
*/
|
|
41712
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.toObject = function(opt_includeInstance) {
|
|
41713
|
+
return proto.sniipuserservice.UserStatusUpdateV2Request.toObject(opt_includeInstance, this);
|
|
41714
|
+
};
|
|
41715
|
+
|
|
41716
|
+
|
|
41717
|
+
/**
|
|
41718
|
+
* Static version of the {@see toObject} method.
|
|
41719
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41720
|
+
* the JSPB instance for transitional soy proto support:
|
|
41721
|
+
* http://goto/soy-param-migration
|
|
41722
|
+
* @param {!proto.sniipuserservice.UserStatusUpdateV2Request} msg The msg instance to transform.
|
|
41723
|
+
* @return {!Object}
|
|
41724
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41725
|
+
*/
|
|
41726
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.toObject = function(includeInstance, msg) {
|
|
41727
|
+
var f, obj = {
|
|
41728
|
+
userstatusid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
41729
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
41730
|
+
comment: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
41731
|
+
};
|
|
41732
|
+
|
|
41733
|
+
if (includeInstance) {
|
|
41734
|
+
obj.$jspbMessageInstance = msg;
|
|
41735
|
+
}
|
|
41736
|
+
return obj;
|
|
41737
|
+
};
|
|
41738
|
+
}
|
|
41739
|
+
|
|
41740
|
+
|
|
41741
|
+
/**
|
|
41742
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41743
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41744
|
+
* @return {!proto.sniipuserservice.UserStatusUpdateV2Request}
|
|
41745
|
+
*/
|
|
41746
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.deserializeBinary = function(bytes) {
|
|
41747
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41748
|
+
var msg = new proto.sniipuserservice.UserStatusUpdateV2Request;
|
|
41749
|
+
return proto.sniipuserservice.UserStatusUpdateV2Request.deserializeBinaryFromReader(msg, reader);
|
|
41750
|
+
};
|
|
41751
|
+
|
|
41752
|
+
|
|
41753
|
+
/**
|
|
41754
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41755
|
+
* given reader into the given message object.
|
|
41756
|
+
* @param {!proto.sniipuserservice.UserStatusUpdateV2Request} msg The message object to deserialize into.
|
|
41757
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41758
|
+
* @return {!proto.sniipuserservice.UserStatusUpdateV2Request}
|
|
41759
|
+
*/
|
|
41760
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.deserializeBinaryFromReader = function(msg, reader) {
|
|
41761
|
+
while (reader.nextField()) {
|
|
41762
|
+
if (reader.isEndGroup()) {
|
|
41763
|
+
break;
|
|
41764
|
+
}
|
|
41765
|
+
var field = reader.getFieldNumber();
|
|
41766
|
+
switch (field) {
|
|
41767
|
+
case 1:
|
|
41768
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
41769
|
+
msg.setUserstatusid(value);
|
|
41770
|
+
break;
|
|
41771
|
+
case 2:
|
|
41772
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
41773
|
+
msg.setUserid(value);
|
|
41774
|
+
break;
|
|
41775
|
+
case 3:
|
|
41776
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41777
|
+
msg.setComment(value);
|
|
41778
|
+
break;
|
|
41779
|
+
default:
|
|
41780
|
+
reader.skipField();
|
|
41781
|
+
break;
|
|
41782
|
+
}
|
|
41783
|
+
}
|
|
41784
|
+
return msg;
|
|
41785
|
+
};
|
|
41786
|
+
|
|
41787
|
+
|
|
41788
|
+
/**
|
|
41789
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41790
|
+
* @return {!Uint8Array}
|
|
41791
|
+
*/
|
|
41792
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.serializeBinary = function() {
|
|
41793
|
+
var writer = new jspb.BinaryWriter();
|
|
41794
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.serializeBinaryToWriter(this, writer);
|
|
41795
|
+
return writer.getResultBuffer();
|
|
41796
|
+
};
|
|
41797
|
+
|
|
41798
|
+
|
|
41799
|
+
/**
|
|
41800
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41801
|
+
* format), writing to the given BinaryWriter.
|
|
41802
|
+
* @param {!proto.sniipuserservice.UserStatusUpdateV2Request} message
|
|
41803
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41804
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41805
|
+
*/
|
|
41806
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.serializeBinaryToWriter = function(message, writer) {
|
|
41807
|
+
var f = undefined;
|
|
41808
|
+
f = message.getUserstatusid();
|
|
41809
|
+
if (f !== 0) {
|
|
41810
|
+
writer.writeInt64(
|
|
41811
|
+
1,
|
|
41812
|
+
f
|
|
41813
|
+
);
|
|
41814
|
+
}
|
|
41815
|
+
f = message.getUserid();
|
|
41816
|
+
if (f !== 0) {
|
|
41817
|
+
writer.writeInt64(
|
|
41818
|
+
2,
|
|
41819
|
+
f
|
|
41820
|
+
);
|
|
41821
|
+
}
|
|
41822
|
+
f = message.getComment();
|
|
41823
|
+
if (f.length > 0) {
|
|
41824
|
+
writer.writeString(
|
|
41825
|
+
3,
|
|
41826
|
+
f
|
|
41827
|
+
);
|
|
41828
|
+
}
|
|
41829
|
+
};
|
|
41830
|
+
|
|
41831
|
+
|
|
41832
|
+
/**
|
|
41833
|
+
* optional int64 userStatusId = 1;
|
|
41834
|
+
* @return {number}
|
|
41835
|
+
*/
|
|
41836
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.getUserstatusid = function() {
|
|
41837
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
41838
|
+
};
|
|
41839
|
+
|
|
41840
|
+
|
|
41841
|
+
/**
|
|
41842
|
+
* @param {number} value
|
|
41843
|
+
* @return {!proto.sniipuserservice.UserStatusUpdateV2Request} returns this
|
|
41844
|
+
*/
|
|
41845
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.setUserstatusid = function(value) {
|
|
41846
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
41847
|
+
};
|
|
41848
|
+
|
|
41849
|
+
|
|
41850
|
+
/**
|
|
41851
|
+
* optional int64 userId = 2;
|
|
41852
|
+
* @return {number}
|
|
41853
|
+
*/
|
|
41854
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.getUserid = function() {
|
|
41855
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
41856
|
+
};
|
|
41857
|
+
|
|
41858
|
+
|
|
41859
|
+
/**
|
|
41860
|
+
* @param {number} value
|
|
41861
|
+
* @return {!proto.sniipuserservice.UserStatusUpdateV2Request} returns this
|
|
41862
|
+
*/
|
|
41863
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.setUserid = function(value) {
|
|
41864
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41865
|
+
};
|
|
41866
|
+
|
|
41867
|
+
|
|
41868
|
+
/**
|
|
41869
|
+
* optional string comment = 3;
|
|
41870
|
+
* @return {string}
|
|
41871
|
+
*/
|
|
41872
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.getComment = function() {
|
|
41873
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
41874
|
+
};
|
|
41875
|
+
|
|
41876
|
+
|
|
41877
|
+
/**
|
|
41878
|
+
* @param {string} value
|
|
41879
|
+
* @return {!proto.sniipuserservice.UserStatusUpdateV2Request} returns this
|
|
41880
|
+
*/
|
|
41881
|
+
proto.sniipuserservice.UserStatusUpdateV2Request.prototype.setComment = function(value) {
|
|
41882
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
41883
|
+
};
|
|
41884
|
+
|
|
41885
|
+
|
|
41886
|
+
|
|
41887
|
+
|
|
41888
|
+
|
|
41504
41889
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41505
41890
|
/**
|
|
41506
41891
|
* Creates an object representation of this proto.
|