@sniipwebmaster/user-service-client-grpcweb 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.
|
@@ -8154,6 +8154,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateDob
|
|
|
8154
8154
|
};
|
|
8155
8155
|
|
|
8156
8156
|
|
|
8157
|
+
/**
|
|
8158
|
+
* @const
|
|
8159
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8160
|
+
* !proto.sniipuserservice.UpdateDobAppRequest,
|
|
8161
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
8162
|
+
*/
|
|
8163
|
+
const methodDescriptor_SniipUserServiceService_UpdateDobApp = new grpc.web.MethodDescriptor(
|
|
8164
|
+
'/sniipuserservice.SniipUserServiceService/UpdateDobApp',
|
|
8165
|
+
grpc.web.MethodType.UNARY,
|
|
8166
|
+
proto.sniipuserservice.UpdateDobAppRequest,
|
|
8167
|
+
proto.sniipuserservice.ResponseCode,
|
|
8168
|
+
/**
|
|
8169
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} request
|
|
8170
|
+
* @return {!Uint8Array}
|
|
8171
|
+
*/
|
|
8172
|
+
function(request) {
|
|
8173
|
+
return request.serializeBinary();
|
|
8174
|
+
},
|
|
8175
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
8176
|
+
);
|
|
8177
|
+
|
|
8178
|
+
|
|
8179
|
+
/**
|
|
8180
|
+
* @const
|
|
8181
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
8182
|
+
* !proto.sniipuserservice.UpdateDobAppRequest,
|
|
8183
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
8184
|
+
*/
|
|
8185
|
+
const methodInfo_SniipUserServiceService_UpdateDobApp = new grpc.web.AbstractClientBase.MethodInfo(
|
|
8186
|
+
proto.sniipuserservice.ResponseCode,
|
|
8187
|
+
/**
|
|
8188
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} request
|
|
8189
|
+
* @return {!Uint8Array}
|
|
8190
|
+
*/
|
|
8191
|
+
function(request) {
|
|
8192
|
+
return request.serializeBinary();
|
|
8193
|
+
},
|
|
8194
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
8195
|
+
);
|
|
8196
|
+
|
|
8197
|
+
|
|
8198
|
+
/**
|
|
8199
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} request The
|
|
8200
|
+
* request proto
|
|
8201
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8202
|
+
* call metadata
|
|
8203
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
|
|
8204
|
+
* callback The callback function(error, response)
|
|
8205
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
8206
|
+
* The XHR Node Readable Stream
|
|
8207
|
+
*/
|
|
8208
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.updateDobApp =
|
|
8209
|
+
function(request, metadata, callback) {
|
|
8210
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8211
|
+
'/sniipuserservice.SniipUserServiceService/UpdateDobApp',
|
|
8212
|
+
request,
|
|
8213
|
+
metadata || {},
|
|
8214
|
+
methodDescriptor_SniipUserServiceService_UpdateDobApp,
|
|
8215
|
+
callback);
|
|
8216
|
+
};
|
|
8217
|
+
|
|
8218
|
+
|
|
8219
|
+
/**
|
|
8220
|
+
* @param {!proto.sniipuserservice.UpdateDobAppRequest} request The
|
|
8221
|
+
* request proto
|
|
8222
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8223
|
+
* call metadata
|
|
8224
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
8225
|
+
* Promise that resolves to the response
|
|
8226
|
+
*/
|
|
8227
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateDobApp =
|
|
8228
|
+
function(request, metadata) {
|
|
8229
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8230
|
+
'/sniipuserservice.SniipUserServiceService/UpdateDobApp',
|
|
8231
|
+
request,
|
|
8232
|
+
metadata || {},
|
|
8233
|
+
methodDescriptor_SniipUserServiceService_UpdateDobApp);
|
|
8234
|
+
};
|
|
8235
|
+
|
|
8236
|
+
|
|
8157
8237
|
/**
|
|
8158
8238
|
* @const
|
|
8159
8239
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -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.
|