@sniipwebmaster/user-service-client-grpcweb-ts 23.6.9393 → 23.6.9418
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.
|
@@ -4383,6 +4383,49 @@ export class SniipUserServiceServiceClient {
|
|
|
4383
4383
|
this.methodDescriptorUpdateDob);
|
|
4384
4384
|
}
|
|
4385
4385
|
|
|
4386
|
+
methodDescriptorUpdateDobApp = new grpcWeb.MethodDescriptor(
|
|
4387
|
+
'/sniipuserservice.SniipUserServiceService/UpdateDobApp',
|
|
4388
|
+
grpcWeb.MethodType.UNARY,
|
|
4389
|
+
service_pb.UpdateDobAppRequest,
|
|
4390
|
+
service_pb.ResponseCode,
|
|
4391
|
+
(request: service_pb.UpdateDobAppRequest) => {
|
|
4392
|
+
return request.serializeBinary();
|
|
4393
|
+
},
|
|
4394
|
+
service_pb.ResponseCode.deserializeBinary
|
|
4395
|
+
);
|
|
4396
|
+
|
|
4397
|
+
updateDobApp(
|
|
4398
|
+
request: service_pb.UpdateDobAppRequest,
|
|
4399
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
4400
|
+
|
|
4401
|
+
updateDobApp(
|
|
4402
|
+
request: service_pb.UpdateDobAppRequest,
|
|
4403
|
+
metadata: grpcWeb.Metadata | null,
|
|
4404
|
+
callback: (err: grpcWeb.RpcError,
|
|
4405
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
4406
|
+
|
|
4407
|
+
updateDobApp(
|
|
4408
|
+
request: service_pb.UpdateDobAppRequest,
|
|
4409
|
+
metadata: grpcWeb.Metadata | null,
|
|
4410
|
+
callback?: (err: grpcWeb.RpcError,
|
|
4411
|
+
response: service_pb.ResponseCode) => void) {
|
|
4412
|
+
if (callback !== undefined) {
|
|
4413
|
+
return this.client_.rpcCall(
|
|
4414
|
+
this.hostname_ +
|
|
4415
|
+
'/sniipuserservice.SniipUserServiceService/UpdateDobApp',
|
|
4416
|
+
request,
|
|
4417
|
+
metadata || {},
|
|
4418
|
+
this.methodDescriptorUpdateDobApp,
|
|
4419
|
+
callback);
|
|
4420
|
+
}
|
|
4421
|
+
return this.client_.unaryCall(
|
|
4422
|
+
this.hostname_ +
|
|
4423
|
+
'/sniipuserservice.SniipUserServiceService/UpdateDobApp',
|
|
4424
|
+
request,
|
|
4425
|
+
metadata || {},
|
|
4426
|
+
this.methodDescriptorUpdateDobApp);
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4386
4429
|
methodDescriptorUpdateEmail = new grpcWeb.MethodDescriptor(
|
|
4387
4430
|
'/sniipuserservice.SniipUserServiceService/UpdateEmail',
|
|
4388
4431
|
grpcWeb.MethodType.UNARY,
|
|
@@ -4258,6 +4258,26 @@ export namespace UpdateAbnRequest {
|
|
|
4258
4258
|
}
|
|
4259
4259
|
}
|
|
4260
4260
|
|
|
4261
|
+
export class UpdateDobAppRequest extends jspb.Message {
|
|
4262
|
+
getData(): UserDobAppUpdateRequest | undefined;
|
|
4263
|
+
setData(value?: UserDobAppUpdateRequest): UpdateDobAppRequest;
|
|
4264
|
+
hasData(): boolean;
|
|
4265
|
+
clearData(): UpdateDobAppRequest;
|
|
4266
|
+
|
|
4267
|
+
serializeBinary(): Uint8Array;
|
|
4268
|
+
toObject(includeInstance?: boolean): UpdateDobAppRequest.AsObject;
|
|
4269
|
+
static toObject(includeInstance: boolean, msg: UpdateDobAppRequest): UpdateDobAppRequest.AsObject;
|
|
4270
|
+
static serializeBinaryToWriter(message: UpdateDobAppRequest, writer: jspb.BinaryWriter): void;
|
|
4271
|
+
static deserializeBinary(bytes: Uint8Array): UpdateDobAppRequest;
|
|
4272
|
+
static deserializeBinaryFromReader(message: UpdateDobAppRequest, reader: jspb.BinaryReader): UpdateDobAppRequest;
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4275
|
+
export namespace UpdateDobAppRequest {
|
|
4276
|
+
export type AsObject = {
|
|
4277
|
+
data?: UserDobAppUpdateRequest.AsObject,
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
|
|
4261
4281
|
export class UpdateDobRequest extends jspb.Message {
|
|
4262
4282
|
getData(): UserDobUpdateRequest | undefined;
|
|
4263
4283
|
setData(value?: UserDobUpdateRequest): UpdateDobRequest;
|
|
@@ -4632,6 +4652,28 @@ export namespace UserDetailsWebResponse {
|
|
|
4632
4652
|
|
|
4633
4653
|
}
|
|
4634
4654
|
|
|
4655
|
+
export class UserDobAppUpdateRequest extends jspb.Message {
|
|
4656
|
+
getUserid(): number;
|
|
4657
|
+
setUserid(value: number): UserDobAppUpdateRequest;
|
|
4658
|
+
|
|
4659
|
+
getDob(): string;
|
|
4660
|
+
setDob(value: string): UserDobAppUpdateRequest;
|
|
4661
|
+
|
|
4662
|
+
serializeBinary(): Uint8Array;
|
|
4663
|
+
toObject(includeInstance?: boolean): UserDobAppUpdateRequest.AsObject;
|
|
4664
|
+
static toObject(includeInstance: boolean, msg: UserDobAppUpdateRequest): UserDobAppUpdateRequest.AsObject;
|
|
4665
|
+
static serializeBinaryToWriter(message: UserDobAppUpdateRequest, writer: jspb.BinaryWriter): void;
|
|
4666
|
+
static deserializeBinary(bytes: Uint8Array): UserDobAppUpdateRequest;
|
|
4667
|
+
static deserializeBinaryFromReader(message: UserDobAppUpdateRequest, reader: jspb.BinaryReader): UserDobAppUpdateRequest;
|
|
4668
|
+
}
|
|
4669
|
+
|
|
4670
|
+
export namespace UserDobAppUpdateRequest {
|
|
4671
|
+
export type AsObject = {
|
|
4672
|
+
userid: number,
|
|
4673
|
+
dob: string,
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
|
|
4635
4677
|
export class UserDobUpdateRequest extends jspb.Message {
|
|
4636
4678
|
getUserid(): number;
|
|
4637
4679
|
setUserid(value: number): UserDobUpdateRequest;
|
|
@@ -165,6 +165,7 @@ goog.exportSymbol('proto.sniipuserservice.TestUserAccountResponse', null, global
|
|
|
165
165
|
goog.exportSymbol('proto.sniipuserservice.TestUserAccountV2Response', null, global);
|
|
166
166
|
goog.exportSymbol('proto.sniipuserservice.UnassignPermissionRolesRequest', null, global);
|
|
167
167
|
goog.exportSymbol('proto.sniipuserservice.UpdateAbnRequest', null, global);
|
|
168
|
+
goog.exportSymbol('proto.sniipuserservice.UpdateDobAppRequest', null, global);
|
|
168
169
|
goog.exportSymbol('proto.sniipuserservice.UpdateDobRequest', null, global);
|
|
169
170
|
goog.exportSymbol('proto.sniipuserservice.UpdateEmailRequest', null, global);
|
|
170
171
|
goog.exportSymbol('proto.sniipuserservice.UpdateEmailV2Request', null, global);
|
|
@@ -179,6 +180,7 @@ goog.exportSymbol('proto.sniipuserservice.UserDetailsResponse', null, global);
|
|
|
179
180
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsWebResponse', null, global);
|
|
180
181
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsWebResponse.PermissionsMessage', null, global);
|
|
181
182
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsWebResponse.RolesMessage', null, global);
|
|
183
|
+
goog.exportSymbol('proto.sniipuserservice.UserDobAppUpdateRequest', null, global);
|
|
182
184
|
goog.exportSymbol('proto.sniipuserservice.UserDobUpdateRequest', null, global);
|
|
183
185
|
goog.exportSymbol('proto.sniipuserservice.UserFraudStatus', null, global);
|
|
184
186
|
goog.exportSymbol('proto.sniipuserservice.UserProfile', null, global);
|
|
@@ -3262,6 +3264,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3262
3264
|
*/
|
|
3263
3265
|
proto.sniipuserservice.UpdateAbnRequest.displayName = 'proto.sniipuserservice.UpdateAbnRequest';
|
|
3264
3266
|
}
|
|
3267
|
+
/**
|
|
3268
|
+
* Generated by JsPbCodeGenerator.
|
|
3269
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3270
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3271
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3272
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3273
|
+
* valid.
|
|
3274
|
+
* @extends {jspb.Message}
|
|
3275
|
+
* @constructor
|
|
3276
|
+
*/
|
|
3277
|
+
proto.sniipuserservice.UpdateDobAppRequest = function(opt_data) {
|
|
3278
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3279
|
+
};
|
|
3280
|
+
goog.inherits(proto.sniipuserservice.UpdateDobAppRequest, jspb.Message);
|
|
3281
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3282
|
+
/**
|
|
3283
|
+
* @public
|
|
3284
|
+
* @override
|
|
3285
|
+
*/
|
|
3286
|
+
proto.sniipuserservice.UpdateDobAppRequest.displayName = 'proto.sniipuserservice.UpdateDobAppRequest';
|
|
3287
|
+
}
|
|
3265
3288
|
/**
|
|
3266
3289
|
* Generated by JsPbCodeGenerator.
|
|
3267
3290
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3556,6 +3579,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3556
3579
|
*/
|
|
3557
3580
|
proto.sniipuserservice.UserDetailsWebResponse.RolesMessage.displayName = 'proto.sniipuserservice.UserDetailsWebResponse.RolesMessage';
|
|
3558
3581
|
}
|
|
3582
|
+
/**
|
|
3583
|
+
* Generated by JsPbCodeGenerator.
|
|
3584
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3585
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3586
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3587
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3588
|
+
* valid.
|
|
3589
|
+
* @extends {jspb.Message}
|
|
3590
|
+
* @constructor
|
|
3591
|
+
*/
|
|
3592
|
+
proto.sniipuserservice.UserDobAppUpdateRequest = function(opt_data) {
|
|
3593
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3594
|
+
};
|
|
3595
|
+
goog.inherits(proto.sniipuserservice.UserDobAppUpdateRequest, jspb.Message);
|
|
3596
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3597
|
+
/**
|
|
3598
|
+
* @public
|
|
3599
|
+
* @override
|
|
3600
|
+
*/
|
|
3601
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.displayName = 'proto.sniipuserservice.UserDobAppUpdateRequest';
|
|
3602
|
+
}
|
|
3559
3603
|
/**
|
|
3560
3604
|
* Generated by JsPbCodeGenerator.
|
|
3561
3605
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -35787,6 +35831,157 @@ proto.sniipuserservice.UpdateAbnRequest.prototype.setAbnentityname = function(va
|
|
|
35787
35831
|
|
|
35788
35832
|
|
|
35789
35833
|
|
|
35834
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35835
|
+
/**
|
|
35836
|
+
* Creates an object representation of this proto.
|
|
35837
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35838
|
+
* Optional fields that are not set will be set to undefined.
|
|
35839
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
35840
|
+
* For the list of reserved names please see:
|
|
35841
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
35842
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
35843
|
+
* JSPB instance for transitional soy proto support:
|
|
35844
|
+
* http://goto/soy-param-migration
|
|
35845
|
+
* @return {!Object}
|
|
35846
|
+
*/
|
|
35847
|
+
proto.sniipuserservice.UpdateDobAppRequest.prototype.toObject = function(opt_includeInstance) {
|
|
35848
|
+
return proto.sniipuserservice.UpdateDobAppRequest.toObject(opt_includeInstance, this);
|
|
35849
|
+
};
|
|
35850
|
+
|
|
35851
|
+
|
|
35852
|
+
/**
|
|
35853
|
+
* Static version of the {@see toObject} method.
|
|
35854
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
35855
|
+
* the JSPB instance for transitional soy proto support:
|
|
35856
|
+
* http://goto/soy-param-migration
|
|
35857
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} msg The msg instance to transform.
|
|
35858
|
+
* @return {!Object}
|
|
35859
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35860
|
+
*/
|
|
35861
|
+
proto.sniipuserservice.UpdateDobAppRequest.toObject = function(includeInstance, msg) {
|
|
35862
|
+
var f, obj = {
|
|
35863
|
+
data: (f = msg.getData()) && proto.sniipuserservice.UserDobAppUpdateRequest.toObject(includeInstance, f)
|
|
35864
|
+
};
|
|
35865
|
+
|
|
35866
|
+
if (includeInstance) {
|
|
35867
|
+
obj.$jspbMessageInstance = msg;
|
|
35868
|
+
}
|
|
35869
|
+
return obj;
|
|
35870
|
+
};
|
|
35871
|
+
}
|
|
35872
|
+
|
|
35873
|
+
|
|
35874
|
+
/**
|
|
35875
|
+
* Deserializes binary data (in protobuf wire format).
|
|
35876
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
35877
|
+
* @return {!proto.sniipuserservice.UpdateDobAppRequest}
|
|
35878
|
+
*/
|
|
35879
|
+
proto.sniipuserservice.UpdateDobAppRequest.deserializeBinary = function(bytes) {
|
|
35880
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
35881
|
+
var msg = new proto.sniipuserservice.UpdateDobAppRequest;
|
|
35882
|
+
return proto.sniipuserservice.UpdateDobAppRequest.deserializeBinaryFromReader(msg, reader);
|
|
35883
|
+
};
|
|
35884
|
+
|
|
35885
|
+
|
|
35886
|
+
/**
|
|
35887
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
35888
|
+
* given reader into the given message object.
|
|
35889
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} msg The message object to deserialize into.
|
|
35890
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
35891
|
+
* @return {!proto.sniipuserservice.UpdateDobAppRequest}
|
|
35892
|
+
*/
|
|
35893
|
+
proto.sniipuserservice.UpdateDobAppRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
35894
|
+
while (reader.nextField()) {
|
|
35895
|
+
if (reader.isEndGroup()) {
|
|
35896
|
+
break;
|
|
35897
|
+
}
|
|
35898
|
+
var field = reader.getFieldNumber();
|
|
35899
|
+
switch (field) {
|
|
35900
|
+
case 1:
|
|
35901
|
+
var value = new proto.sniipuserservice.UserDobAppUpdateRequest;
|
|
35902
|
+
reader.readMessage(value,proto.sniipuserservice.UserDobAppUpdateRequest.deserializeBinaryFromReader);
|
|
35903
|
+
msg.setData(value);
|
|
35904
|
+
break;
|
|
35905
|
+
default:
|
|
35906
|
+
reader.skipField();
|
|
35907
|
+
break;
|
|
35908
|
+
}
|
|
35909
|
+
}
|
|
35910
|
+
return msg;
|
|
35911
|
+
};
|
|
35912
|
+
|
|
35913
|
+
|
|
35914
|
+
/**
|
|
35915
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35916
|
+
* @return {!Uint8Array}
|
|
35917
|
+
*/
|
|
35918
|
+
proto.sniipuserservice.UpdateDobAppRequest.prototype.serializeBinary = function() {
|
|
35919
|
+
var writer = new jspb.BinaryWriter();
|
|
35920
|
+
proto.sniipuserservice.UpdateDobAppRequest.serializeBinaryToWriter(this, writer);
|
|
35921
|
+
return writer.getResultBuffer();
|
|
35922
|
+
};
|
|
35923
|
+
|
|
35924
|
+
|
|
35925
|
+
/**
|
|
35926
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35927
|
+
* format), writing to the given BinaryWriter.
|
|
35928
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} message
|
|
35929
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35930
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35931
|
+
*/
|
|
35932
|
+
proto.sniipuserservice.UpdateDobAppRequest.serializeBinaryToWriter = function(message, writer) {
|
|
35933
|
+
var f = undefined;
|
|
35934
|
+
f = message.getData();
|
|
35935
|
+
if (f != null) {
|
|
35936
|
+
writer.writeMessage(
|
|
35937
|
+
1,
|
|
35938
|
+
f,
|
|
35939
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.serializeBinaryToWriter
|
|
35940
|
+
);
|
|
35941
|
+
}
|
|
35942
|
+
};
|
|
35943
|
+
|
|
35944
|
+
|
|
35945
|
+
/**
|
|
35946
|
+
* optional UserDobAppUpdateRequest data = 1;
|
|
35947
|
+
* @return {?proto.sniipuserservice.UserDobAppUpdateRequest}
|
|
35948
|
+
*/
|
|
35949
|
+
proto.sniipuserservice.UpdateDobAppRequest.prototype.getData = function() {
|
|
35950
|
+
return /** @type{?proto.sniipuserservice.UserDobAppUpdateRequest} */ (
|
|
35951
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.UserDobAppUpdateRequest, 1));
|
|
35952
|
+
};
|
|
35953
|
+
|
|
35954
|
+
|
|
35955
|
+
/**
|
|
35956
|
+
* @param {?proto.sniipuserservice.UserDobAppUpdateRequest|undefined} value
|
|
35957
|
+
* @return {!proto.sniipuserservice.UpdateDobAppRequest} returns this
|
|
35958
|
+
*/
|
|
35959
|
+
proto.sniipuserservice.UpdateDobAppRequest.prototype.setData = function(value) {
|
|
35960
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
35961
|
+
};
|
|
35962
|
+
|
|
35963
|
+
|
|
35964
|
+
/**
|
|
35965
|
+
* Clears the message field making it undefined.
|
|
35966
|
+
* @return {!proto.sniipuserservice.UpdateDobAppRequest} returns this
|
|
35967
|
+
*/
|
|
35968
|
+
proto.sniipuserservice.UpdateDobAppRequest.prototype.clearData = function() {
|
|
35969
|
+
return this.setData(undefined);
|
|
35970
|
+
};
|
|
35971
|
+
|
|
35972
|
+
|
|
35973
|
+
/**
|
|
35974
|
+
* Returns whether this field is set.
|
|
35975
|
+
* @return {boolean}
|
|
35976
|
+
*/
|
|
35977
|
+
proto.sniipuserservice.UpdateDobAppRequest.prototype.hasData = function() {
|
|
35978
|
+
return jspb.Message.getField(this, 1) != null;
|
|
35979
|
+
};
|
|
35980
|
+
|
|
35981
|
+
|
|
35982
|
+
|
|
35983
|
+
|
|
35984
|
+
|
|
35790
35985
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35791
35986
|
/**
|
|
35792
35987
|
* Creates an object representation of this proto.
|
|
@@ -38612,6 +38807,166 @@ proto.sniipuserservice.UserDetailsWebResponse.prototype.clearPermissionsList = f
|
|
|
38612
38807
|
|
|
38613
38808
|
|
|
38614
38809
|
|
|
38810
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38811
|
+
/**
|
|
38812
|
+
* Creates an object representation of this proto.
|
|
38813
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38814
|
+
* Optional fields that are not set will be set to undefined.
|
|
38815
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38816
|
+
* For the list of reserved names please see:
|
|
38817
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38818
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38819
|
+
* JSPB instance for transitional soy proto support:
|
|
38820
|
+
* http://goto/soy-param-migration
|
|
38821
|
+
* @return {!Object}
|
|
38822
|
+
*/
|
|
38823
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
38824
|
+
return proto.sniipuserservice.UserDobAppUpdateRequest.toObject(opt_includeInstance, this);
|
|
38825
|
+
};
|
|
38826
|
+
|
|
38827
|
+
|
|
38828
|
+
/**
|
|
38829
|
+
* Static version of the {@see toObject} method.
|
|
38830
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38831
|
+
* the JSPB instance for transitional soy proto support:
|
|
38832
|
+
* http://goto/soy-param-migration
|
|
38833
|
+
* @param {!proto.sniipuserservice.UserDobAppUpdateRequest} msg The msg instance to transform.
|
|
38834
|
+
* @return {!Object}
|
|
38835
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38836
|
+
*/
|
|
38837
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.toObject = function(includeInstance, msg) {
|
|
38838
|
+
var f, obj = {
|
|
38839
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
38840
|
+
dob: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
38841
|
+
};
|
|
38842
|
+
|
|
38843
|
+
if (includeInstance) {
|
|
38844
|
+
obj.$jspbMessageInstance = msg;
|
|
38845
|
+
}
|
|
38846
|
+
return obj;
|
|
38847
|
+
};
|
|
38848
|
+
}
|
|
38849
|
+
|
|
38850
|
+
|
|
38851
|
+
/**
|
|
38852
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38853
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38854
|
+
* @return {!proto.sniipuserservice.UserDobAppUpdateRequest}
|
|
38855
|
+
*/
|
|
38856
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.deserializeBinary = function(bytes) {
|
|
38857
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38858
|
+
var msg = new proto.sniipuserservice.UserDobAppUpdateRequest;
|
|
38859
|
+
return proto.sniipuserservice.UserDobAppUpdateRequest.deserializeBinaryFromReader(msg, reader);
|
|
38860
|
+
};
|
|
38861
|
+
|
|
38862
|
+
|
|
38863
|
+
/**
|
|
38864
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38865
|
+
* given reader into the given message object.
|
|
38866
|
+
* @param {!proto.sniipuserservice.UserDobAppUpdateRequest} msg The message object to deserialize into.
|
|
38867
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38868
|
+
* @return {!proto.sniipuserservice.UserDobAppUpdateRequest}
|
|
38869
|
+
*/
|
|
38870
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
38871
|
+
while (reader.nextField()) {
|
|
38872
|
+
if (reader.isEndGroup()) {
|
|
38873
|
+
break;
|
|
38874
|
+
}
|
|
38875
|
+
var field = reader.getFieldNumber();
|
|
38876
|
+
switch (field) {
|
|
38877
|
+
case 1:
|
|
38878
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
38879
|
+
msg.setUserid(value);
|
|
38880
|
+
break;
|
|
38881
|
+
case 2:
|
|
38882
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38883
|
+
msg.setDob(value);
|
|
38884
|
+
break;
|
|
38885
|
+
default:
|
|
38886
|
+
reader.skipField();
|
|
38887
|
+
break;
|
|
38888
|
+
}
|
|
38889
|
+
}
|
|
38890
|
+
return msg;
|
|
38891
|
+
};
|
|
38892
|
+
|
|
38893
|
+
|
|
38894
|
+
/**
|
|
38895
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38896
|
+
* @return {!Uint8Array}
|
|
38897
|
+
*/
|
|
38898
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.prototype.serializeBinary = function() {
|
|
38899
|
+
var writer = new jspb.BinaryWriter();
|
|
38900
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.serializeBinaryToWriter(this, writer);
|
|
38901
|
+
return writer.getResultBuffer();
|
|
38902
|
+
};
|
|
38903
|
+
|
|
38904
|
+
|
|
38905
|
+
/**
|
|
38906
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38907
|
+
* format), writing to the given BinaryWriter.
|
|
38908
|
+
* @param {!proto.sniipuserservice.UserDobAppUpdateRequest} message
|
|
38909
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38910
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38911
|
+
*/
|
|
38912
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
38913
|
+
var f = undefined;
|
|
38914
|
+
f = message.getUserid();
|
|
38915
|
+
if (f !== 0) {
|
|
38916
|
+
writer.writeInt64(
|
|
38917
|
+
1,
|
|
38918
|
+
f
|
|
38919
|
+
);
|
|
38920
|
+
}
|
|
38921
|
+
f = message.getDob();
|
|
38922
|
+
if (f.length > 0) {
|
|
38923
|
+
writer.writeString(
|
|
38924
|
+
2,
|
|
38925
|
+
f
|
|
38926
|
+
);
|
|
38927
|
+
}
|
|
38928
|
+
};
|
|
38929
|
+
|
|
38930
|
+
|
|
38931
|
+
/**
|
|
38932
|
+
* optional int64 userId = 1;
|
|
38933
|
+
* @return {number}
|
|
38934
|
+
*/
|
|
38935
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.prototype.getUserid = function() {
|
|
38936
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
38937
|
+
};
|
|
38938
|
+
|
|
38939
|
+
|
|
38940
|
+
/**
|
|
38941
|
+
* @param {number} value
|
|
38942
|
+
* @return {!proto.sniipuserservice.UserDobAppUpdateRequest} returns this
|
|
38943
|
+
*/
|
|
38944
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.prototype.setUserid = function(value) {
|
|
38945
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
38946
|
+
};
|
|
38947
|
+
|
|
38948
|
+
|
|
38949
|
+
/**
|
|
38950
|
+
* optional string dob = 2;
|
|
38951
|
+
* @return {string}
|
|
38952
|
+
*/
|
|
38953
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.prototype.getDob = function() {
|
|
38954
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38955
|
+
};
|
|
38956
|
+
|
|
38957
|
+
|
|
38958
|
+
/**
|
|
38959
|
+
* @param {string} value
|
|
38960
|
+
* @return {!proto.sniipuserservice.UserDobAppUpdateRequest} returns this
|
|
38961
|
+
*/
|
|
38962
|
+
proto.sniipuserservice.UserDobAppUpdateRequest.prototype.setDob = function(value) {
|
|
38963
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
38964
|
+
};
|
|
38965
|
+
|
|
38966
|
+
|
|
38967
|
+
|
|
38968
|
+
|
|
38969
|
+
|
|
38615
38970
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38616
38971
|
/**
|
|
38617
38972
|
* Creates an object representation of this proto.
|