@sniipwebmaster/user-service-client-grpcweb-ts 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.
|
@@ -4813,6 +4813,49 @@ export class SniipUserServiceServiceClient {
|
|
|
4813
4813
|
this.methodDescriptorUpdateUserStatusInternal);
|
|
4814
4814
|
}
|
|
4815
4815
|
|
|
4816
|
+
methodDescriptorUpdateUserStatusV2 = new grpcWeb.MethodDescriptor(
|
|
4817
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusV2',
|
|
4818
|
+
grpcWeb.MethodType.UNARY,
|
|
4819
|
+
service_pb.UpdateUserStatusV2Request,
|
|
4820
|
+
service_pb.ResponseCode,
|
|
4821
|
+
(request: service_pb.UpdateUserStatusV2Request) => {
|
|
4822
|
+
return request.serializeBinary();
|
|
4823
|
+
},
|
|
4824
|
+
service_pb.ResponseCode.deserializeBinary
|
|
4825
|
+
);
|
|
4826
|
+
|
|
4827
|
+
updateUserStatusV2(
|
|
4828
|
+
request: service_pb.UpdateUserStatusV2Request,
|
|
4829
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
4830
|
+
|
|
4831
|
+
updateUserStatusV2(
|
|
4832
|
+
request: service_pb.UpdateUserStatusV2Request,
|
|
4833
|
+
metadata: grpcWeb.Metadata | null,
|
|
4834
|
+
callback: (err: grpcWeb.RpcError,
|
|
4835
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
4836
|
+
|
|
4837
|
+
updateUserStatusV2(
|
|
4838
|
+
request: service_pb.UpdateUserStatusV2Request,
|
|
4839
|
+
metadata: grpcWeb.Metadata | null,
|
|
4840
|
+
callback?: (err: grpcWeb.RpcError,
|
|
4841
|
+
response: service_pb.ResponseCode) => void) {
|
|
4842
|
+
if (callback !== undefined) {
|
|
4843
|
+
return this.client_.rpcCall(
|
|
4844
|
+
this.hostname_ +
|
|
4845
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusV2',
|
|
4846
|
+
request,
|
|
4847
|
+
metadata || {},
|
|
4848
|
+
this.methodDescriptorUpdateUserStatusV2,
|
|
4849
|
+
callback);
|
|
4850
|
+
}
|
|
4851
|
+
return this.client_.unaryCall(
|
|
4852
|
+
this.hostname_ +
|
|
4853
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusV2',
|
|
4854
|
+
request,
|
|
4855
|
+
metadata || {},
|
|
4856
|
+
this.methodDescriptorUpdateUserStatusV2);
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4816
4859
|
methodDescriptorValidateEmailV2 = new grpcWeb.MethodDescriptor(
|
|
4817
4860
|
'/sniipuserservice.SniipUserServiceService/ValidateEmailV2',
|
|
4818
4861
|
grpcWeb.MethodType.UNARY,
|
|
@@ -4518,6 +4518,26 @@ export namespace UpdateUserStatusRequest {
|
|
|
4518
4518
|
}
|
|
4519
4519
|
}
|
|
4520
4520
|
|
|
4521
|
+
export class UpdateUserStatusV2Request extends jspb.Message {
|
|
4522
|
+
getData(): UserStatusUpdateV2Request | undefined;
|
|
4523
|
+
setData(value?: UserStatusUpdateV2Request): UpdateUserStatusV2Request;
|
|
4524
|
+
hasData(): boolean;
|
|
4525
|
+
clearData(): UpdateUserStatusV2Request;
|
|
4526
|
+
|
|
4527
|
+
serializeBinary(): Uint8Array;
|
|
4528
|
+
toObject(includeInstance?: boolean): UpdateUserStatusV2Request.AsObject;
|
|
4529
|
+
static toObject(includeInstance: boolean, msg: UpdateUserStatusV2Request): UpdateUserStatusV2Request.AsObject;
|
|
4530
|
+
static serializeBinaryToWriter(message: UpdateUserStatusV2Request, writer: jspb.BinaryWriter): void;
|
|
4531
|
+
static deserializeBinary(bytes: Uint8Array): UpdateUserStatusV2Request;
|
|
4532
|
+
static deserializeBinaryFromReader(message: UpdateUserStatusV2Request, reader: jspb.BinaryReader): UpdateUserStatusV2Request;
|
|
4533
|
+
}
|
|
4534
|
+
|
|
4535
|
+
export namespace UpdateUserStatusV2Request {
|
|
4536
|
+
export type AsObject = {
|
|
4537
|
+
data?: UserStatusUpdateV2Request.AsObject,
|
|
4538
|
+
}
|
|
4539
|
+
}
|
|
4540
|
+
|
|
4521
4541
|
export class UserDetailsResponse extends jspb.Message {
|
|
4522
4542
|
getAccesstoken(): string;
|
|
4523
4543
|
setAccesstoken(value: string): UserDetailsResponse;
|
|
@@ -5006,6 +5026,32 @@ export namespace UserStatusUpdateRequest {
|
|
|
5006
5026
|
}
|
|
5007
5027
|
}
|
|
5008
5028
|
|
|
5029
|
+
export class UserStatusUpdateV2Request extends jspb.Message {
|
|
5030
|
+
getUserstatusid(): number;
|
|
5031
|
+
setUserstatusid(value: number): UserStatusUpdateV2Request;
|
|
5032
|
+
|
|
5033
|
+
getUserid(): number;
|
|
5034
|
+
setUserid(value: number): UserStatusUpdateV2Request;
|
|
5035
|
+
|
|
5036
|
+
getComment(): string;
|
|
5037
|
+
setComment(value: string): UserStatusUpdateV2Request;
|
|
5038
|
+
|
|
5039
|
+
serializeBinary(): Uint8Array;
|
|
5040
|
+
toObject(includeInstance?: boolean): UserStatusUpdateV2Request.AsObject;
|
|
5041
|
+
static toObject(includeInstance: boolean, msg: UserStatusUpdateV2Request): UserStatusUpdateV2Request.AsObject;
|
|
5042
|
+
static serializeBinaryToWriter(message: UserStatusUpdateV2Request, writer: jspb.BinaryWriter): void;
|
|
5043
|
+
static deserializeBinary(bytes: Uint8Array): UserStatusUpdateV2Request;
|
|
5044
|
+
static deserializeBinaryFromReader(message: UserStatusUpdateV2Request, reader: jspb.BinaryReader): UserStatusUpdateV2Request;
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
export namespace UserStatusUpdateV2Request {
|
|
5048
|
+
export type AsObject = {
|
|
5049
|
+
userstatusid: number,
|
|
5050
|
+
userid: number,
|
|
5051
|
+
comment: string,
|
|
5052
|
+
}
|
|
5053
|
+
}
|
|
5054
|
+
|
|
5009
5055
|
export class ValidateEmailV2Request extends jspb.Message {
|
|
5010
5056
|
getEmail(): string;
|
|
5011
5057
|
setEmail(value: string): ValidateEmailV2Request;
|
|
@@ -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.
|