@sniipwebmaster/user-service-client-grpcweb 23.12.10715 → 23.13.10737
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.
|
@@ -9914,5 +9914,85 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.verifyPhon
|
|
|
9914
9914
|
};
|
|
9915
9915
|
|
|
9916
9916
|
|
|
9917
|
+
/**
|
|
9918
|
+
* @const
|
|
9919
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9920
|
+
* !proto.sniipuserservice.GetUserStatusRequest,
|
|
9921
|
+
* !proto.sniipuserservice.GetUserStatusResponse>}
|
|
9922
|
+
*/
|
|
9923
|
+
const methodDescriptor_SniipUserServiceService_GetUserStatus = new grpc.web.MethodDescriptor(
|
|
9924
|
+
'/sniipuserservice.SniipUserServiceService/GetUserStatus',
|
|
9925
|
+
grpc.web.MethodType.UNARY,
|
|
9926
|
+
proto.sniipuserservice.GetUserStatusRequest,
|
|
9927
|
+
proto.sniipuserservice.GetUserStatusResponse,
|
|
9928
|
+
/**
|
|
9929
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} request
|
|
9930
|
+
* @return {!Uint8Array}
|
|
9931
|
+
*/
|
|
9932
|
+
function(request) {
|
|
9933
|
+
return request.serializeBinary();
|
|
9934
|
+
},
|
|
9935
|
+
proto.sniipuserservice.GetUserStatusResponse.deserializeBinary
|
|
9936
|
+
);
|
|
9937
|
+
|
|
9938
|
+
|
|
9939
|
+
/**
|
|
9940
|
+
* @const
|
|
9941
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
9942
|
+
* !proto.sniipuserservice.GetUserStatusRequest,
|
|
9943
|
+
* !proto.sniipuserservice.GetUserStatusResponse>}
|
|
9944
|
+
*/
|
|
9945
|
+
const methodInfo_SniipUserServiceService_GetUserStatus = new grpc.web.AbstractClientBase.MethodInfo(
|
|
9946
|
+
proto.sniipuserservice.GetUserStatusResponse,
|
|
9947
|
+
/**
|
|
9948
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} request
|
|
9949
|
+
* @return {!Uint8Array}
|
|
9950
|
+
*/
|
|
9951
|
+
function(request) {
|
|
9952
|
+
return request.serializeBinary();
|
|
9953
|
+
},
|
|
9954
|
+
proto.sniipuserservice.GetUserStatusResponse.deserializeBinary
|
|
9955
|
+
);
|
|
9956
|
+
|
|
9957
|
+
|
|
9958
|
+
/**
|
|
9959
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} request The
|
|
9960
|
+
* request proto
|
|
9961
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9962
|
+
* call metadata
|
|
9963
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.GetUserStatusResponse)}
|
|
9964
|
+
* callback The callback function(error, response)
|
|
9965
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.GetUserStatusResponse>|undefined}
|
|
9966
|
+
* The XHR Node Readable Stream
|
|
9967
|
+
*/
|
|
9968
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getUserStatus =
|
|
9969
|
+
function(request, metadata, callback) {
|
|
9970
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9971
|
+
'/sniipuserservice.SniipUserServiceService/GetUserStatus',
|
|
9972
|
+
request,
|
|
9973
|
+
metadata || {},
|
|
9974
|
+
methodDescriptor_SniipUserServiceService_GetUserStatus,
|
|
9975
|
+
callback);
|
|
9976
|
+
};
|
|
9977
|
+
|
|
9978
|
+
|
|
9979
|
+
/**
|
|
9980
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} request The
|
|
9981
|
+
* request proto
|
|
9982
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9983
|
+
* call metadata
|
|
9984
|
+
* @return {!Promise<!proto.sniipuserservice.GetUserStatusResponse>}
|
|
9985
|
+
* Promise that resolves to the response
|
|
9986
|
+
*/
|
|
9987
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getUserStatus =
|
|
9988
|
+
function(request, metadata) {
|
|
9989
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9990
|
+
'/sniipuserservice.SniipUserServiceService/GetUserStatus',
|
|
9991
|
+
request,
|
|
9992
|
+
metadata || {},
|
|
9993
|
+
methodDescriptor_SniipUserServiceService_GetUserStatus);
|
|
9994
|
+
};
|
|
9995
|
+
|
|
9996
|
+
|
|
9917
9997
|
module.exports = proto.sniipuserservice;
|
|
9918
9998
|
|
|
@@ -86,6 +86,8 @@ goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenRequest', null,
|
|
|
86
86
|
goog.exportSymbol('proto.sniipuserservice.GetTemporaryAccessTokenResponse', null, global);
|
|
87
87
|
goog.exportSymbol('proto.sniipuserservice.GetUserDevicesHistoryRequest', null, global);
|
|
88
88
|
goog.exportSymbol('proto.sniipuserservice.GetUserDevicesHistoryResponse', null, global);
|
|
89
|
+
goog.exportSymbol('proto.sniipuserservice.GetUserStatusRequest', null, global);
|
|
90
|
+
goog.exportSymbol('proto.sniipuserservice.GetUserStatusResponse', null, global);
|
|
89
91
|
goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
|
|
90
92
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedRequest', null, global);
|
|
91
93
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedResponse', null, global);
|
|
@@ -4067,6 +4069,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4067
4069
|
*/
|
|
4068
4070
|
proto.sniipuserservice.File.displayName = 'proto.sniipuserservice.File';
|
|
4069
4071
|
}
|
|
4072
|
+
/**
|
|
4073
|
+
* Generated by JsPbCodeGenerator.
|
|
4074
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4075
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4076
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4077
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4078
|
+
* valid.
|
|
4079
|
+
* @extends {jspb.Message}
|
|
4080
|
+
* @constructor
|
|
4081
|
+
*/
|
|
4082
|
+
proto.sniipuserservice.GetUserStatusRequest = function(opt_data) {
|
|
4083
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4084
|
+
};
|
|
4085
|
+
goog.inherits(proto.sniipuserservice.GetUserStatusRequest, jspb.Message);
|
|
4086
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4087
|
+
/**
|
|
4088
|
+
* @public
|
|
4089
|
+
* @override
|
|
4090
|
+
*/
|
|
4091
|
+
proto.sniipuserservice.GetUserStatusRequest.displayName = 'proto.sniipuserservice.GetUserStatusRequest';
|
|
4092
|
+
}
|
|
4093
|
+
/**
|
|
4094
|
+
* Generated by JsPbCodeGenerator.
|
|
4095
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4096
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4097
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4098
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4099
|
+
* valid.
|
|
4100
|
+
* @extends {jspb.Message}
|
|
4101
|
+
* @constructor
|
|
4102
|
+
*/
|
|
4103
|
+
proto.sniipuserservice.GetUserStatusResponse = function(opt_data) {
|
|
4104
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4105
|
+
};
|
|
4106
|
+
goog.inherits(proto.sniipuserservice.GetUserStatusResponse, jspb.Message);
|
|
4107
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4108
|
+
/**
|
|
4109
|
+
* @public
|
|
4110
|
+
* @override
|
|
4111
|
+
*/
|
|
4112
|
+
proto.sniipuserservice.GetUserStatusResponse.displayName = 'proto.sniipuserservice.GetUserStatusResponse';
|
|
4113
|
+
}
|
|
4070
4114
|
|
|
4071
4115
|
|
|
4072
4116
|
|
|
@@ -44084,6 +44128,407 @@ proto.sniipuserservice.File.prototype.setContent = function(value) {
|
|
|
44084
44128
|
};
|
|
44085
44129
|
|
|
44086
44130
|
|
|
44131
|
+
|
|
44132
|
+
|
|
44133
|
+
|
|
44134
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44135
|
+
/**
|
|
44136
|
+
* Creates an object representation of this proto.
|
|
44137
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44138
|
+
* Optional fields that are not set will be set to undefined.
|
|
44139
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44140
|
+
* For the list of reserved names please see:
|
|
44141
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44142
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44143
|
+
* JSPB instance for transitional soy proto support:
|
|
44144
|
+
* http://goto/soy-param-migration
|
|
44145
|
+
* @return {!Object}
|
|
44146
|
+
*/
|
|
44147
|
+
proto.sniipuserservice.GetUserStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
44148
|
+
return proto.sniipuserservice.GetUserStatusRequest.toObject(opt_includeInstance, this);
|
|
44149
|
+
};
|
|
44150
|
+
|
|
44151
|
+
|
|
44152
|
+
/**
|
|
44153
|
+
* Static version of the {@see toObject} method.
|
|
44154
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44155
|
+
* the JSPB instance for transitional soy proto support:
|
|
44156
|
+
* http://goto/soy-param-migration
|
|
44157
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} msg The msg instance to transform.
|
|
44158
|
+
* @return {!Object}
|
|
44159
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44160
|
+
*/
|
|
44161
|
+
proto.sniipuserservice.GetUserStatusRequest.toObject = function(includeInstance, msg) {
|
|
44162
|
+
var f, obj = {
|
|
44163
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
44164
|
+
};
|
|
44165
|
+
|
|
44166
|
+
if (includeInstance) {
|
|
44167
|
+
obj.$jspbMessageInstance = msg;
|
|
44168
|
+
}
|
|
44169
|
+
return obj;
|
|
44170
|
+
};
|
|
44171
|
+
}
|
|
44172
|
+
|
|
44173
|
+
|
|
44174
|
+
/**
|
|
44175
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44176
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44177
|
+
* @return {!proto.sniipuserservice.GetUserStatusRequest}
|
|
44178
|
+
*/
|
|
44179
|
+
proto.sniipuserservice.GetUserStatusRequest.deserializeBinary = function(bytes) {
|
|
44180
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44181
|
+
var msg = new proto.sniipuserservice.GetUserStatusRequest;
|
|
44182
|
+
return proto.sniipuserservice.GetUserStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
44183
|
+
};
|
|
44184
|
+
|
|
44185
|
+
|
|
44186
|
+
/**
|
|
44187
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44188
|
+
* given reader into the given message object.
|
|
44189
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} msg The message object to deserialize into.
|
|
44190
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44191
|
+
* @return {!proto.sniipuserservice.GetUserStatusRequest}
|
|
44192
|
+
*/
|
|
44193
|
+
proto.sniipuserservice.GetUserStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
44194
|
+
while (reader.nextField()) {
|
|
44195
|
+
if (reader.isEndGroup()) {
|
|
44196
|
+
break;
|
|
44197
|
+
}
|
|
44198
|
+
var field = reader.getFieldNumber();
|
|
44199
|
+
switch (field) {
|
|
44200
|
+
case 1:
|
|
44201
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
44202
|
+
msg.setUserid(value);
|
|
44203
|
+
break;
|
|
44204
|
+
default:
|
|
44205
|
+
reader.skipField();
|
|
44206
|
+
break;
|
|
44207
|
+
}
|
|
44208
|
+
}
|
|
44209
|
+
return msg;
|
|
44210
|
+
};
|
|
44211
|
+
|
|
44212
|
+
|
|
44213
|
+
/**
|
|
44214
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44215
|
+
* @return {!Uint8Array}
|
|
44216
|
+
*/
|
|
44217
|
+
proto.sniipuserservice.GetUserStatusRequest.prototype.serializeBinary = function() {
|
|
44218
|
+
var writer = new jspb.BinaryWriter();
|
|
44219
|
+
proto.sniipuserservice.GetUserStatusRequest.serializeBinaryToWriter(this, writer);
|
|
44220
|
+
return writer.getResultBuffer();
|
|
44221
|
+
};
|
|
44222
|
+
|
|
44223
|
+
|
|
44224
|
+
/**
|
|
44225
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44226
|
+
* format), writing to the given BinaryWriter.
|
|
44227
|
+
* @param {!proto.sniipuserservice.GetUserStatusRequest} message
|
|
44228
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44229
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44230
|
+
*/
|
|
44231
|
+
proto.sniipuserservice.GetUserStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44232
|
+
var f = undefined;
|
|
44233
|
+
f = message.getUserid();
|
|
44234
|
+
if (f !== 0) {
|
|
44235
|
+
writer.writeInt64(
|
|
44236
|
+
1,
|
|
44237
|
+
f
|
|
44238
|
+
);
|
|
44239
|
+
}
|
|
44240
|
+
};
|
|
44241
|
+
|
|
44242
|
+
|
|
44243
|
+
/**
|
|
44244
|
+
* optional int64 userId = 1;
|
|
44245
|
+
* @return {number}
|
|
44246
|
+
*/
|
|
44247
|
+
proto.sniipuserservice.GetUserStatusRequest.prototype.getUserid = function() {
|
|
44248
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
44249
|
+
};
|
|
44250
|
+
|
|
44251
|
+
|
|
44252
|
+
/**
|
|
44253
|
+
* @param {number} value
|
|
44254
|
+
* @return {!proto.sniipuserservice.GetUserStatusRequest} returns this
|
|
44255
|
+
*/
|
|
44256
|
+
proto.sniipuserservice.GetUserStatusRequest.prototype.setUserid = function(value) {
|
|
44257
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
44258
|
+
};
|
|
44259
|
+
|
|
44260
|
+
|
|
44261
|
+
|
|
44262
|
+
|
|
44263
|
+
|
|
44264
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44265
|
+
/**
|
|
44266
|
+
* Creates an object representation of this proto.
|
|
44267
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44268
|
+
* Optional fields that are not set will be set to undefined.
|
|
44269
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44270
|
+
* For the list of reserved names please see:
|
|
44271
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44272
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44273
|
+
* JSPB instance for transitional soy proto support:
|
|
44274
|
+
* http://goto/soy-param-migration
|
|
44275
|
+
* @return {!Object}
|
|
44276
|
+
*/
|
|
44277
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
44278
|
+
return proto.sniipuserservice.GetUserStatusResponse.toObject(opt_includeInstance, this);
|
|
44279
|
+
};
|
|
44280
|
+
|
|
44281
|
+
|
|
44282
|
+
/**
|
|
44283
|
+
* Static version of the {@see toObject} method.
|
|
44284
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44285
|
+
* the JSPB instance for transitional soy proto support:
|
|
44286
|
+
* http://goto/soy-param-migration
|
|
44287
|
+
* @param {!proto.sniipuserservice.GetUserStatusResponse} msg The msg instance to transform.
|
|
44288
|
+
* @return {!Object}
|
|
44289
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44290
|
+
*/
|
|
44291
|
+
proto.sniipuserservice.GetUserStatusResponse.toObject = function(includeInstance, msg) {
|
|
44292
|
+
var f, obj = {
|
|
44293
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f),
|
|
44294
|
+
userstatusid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
44295
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
44296
|
+
displayname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
44297
|
+
maximumdailycards: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
44298
|
+
};
|
|
44299
|
+
|
|
44300
|
+
if (includeInstance) {
|
|
44301
|
+
obj.$jspbMessageInstance = msg;
|
|
44302
|
+
}
|
|
44303
|
+
return obj;
|
|
44304
|
+
};
|
|
44305
|
+
}
|
|
44306
|
+
|
|
44307
|
+
|
|
44308
|
+
/**
|
|
44309
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44310
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44311
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse}
|
|
44312
|
+
*/
|
|
44313
|
+
proto.sniipuserservice.GetUserStatusResponse.deserializeBinary = function(bytes) {
|
|
44314
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44315
|
+
var msg = new proto.sniipuserservice.GetUserStatusResponse;
|
|
44316
|
+
return proto.sniipuserservice.GetUserStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
44317
|
+
};
|
|
44318
|
+
|
|
44319
|
+
|
|
44320
|
+
/**
|
|
44321
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44322
|
+
* given reader into the given message object.
|
|
44323
|
+
* @param {!proto.sniipuserservice.GetUserStatusResponse} msg The message object to deserialize into.
|
|
44324
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44325
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse}
|
|
44326
|
+
*/
|
|
44327
|
+
proto.sniipuserservice.GetUserStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
44328
|
+
while (reader.nextField()) {
|
|
44329
|
+
if (reader.isEndGroup()) {
|
|
44330
|
+
break;
|
|
44331
|
+
}
|
|
44332
|
+
var field = reader.getFieldNumber();
|
|
44333
|
+
switch (field) {
|
|
44334
|
+
case 1:
|
|
44335
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
44336
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
44337
|
+
msg.setResponsecode(value);
|
|
44338
|
+
break;
|
|
44339
|
+
case 2:
|
|
44340
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
44341
|
+
msg.setUserstatusid(value);
|
|
44342
|
+
break;
|
|
44343
|
+
case 3:
|
|
44344
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44345
|
+
msg.setStatus(value);
|
|
44346
|
+
break;
|
|
44347
|
+
case 4:
|
|
44348
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44349
|
+
msg.setDisplayname(value);
|
|
44350
|
+
break;
|
|
44351
|
+
case 5:
|
|
44352
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44353
|
+
msg.setMaximumdailycards(value);
|
|
44354
|
+
break;
|
|
44355
|
+
default:
|
|
44356
|
+
reader.skipField();
|
|
44357
|
+
break;
|
|
44358
|
+
}
|
|
44359
|
+
}
|
|
44360
|
+
return msg;
|
|
44361
|
+
};
|
|
44362
|
+
|
|
44363
|
+
|
|
44364
|
+
/**
|
|
44365
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44366
|
+
* @return {!Uint8Array}
|
|
44367
|
+
*/
|
|
44368
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.serializeBinary = function() {
|
|
44369
|
+
var writer = new jspb.BinaryWriter();
|
|
44370
|
+
proto.sniipuserservice.GetUserStatusResponse.serializeBinaryToWriter(this, writer);
|
|
44371
|
+
return writer.getResultBuffer();
|
|
44372
|
+
};
|
|
44373
|
+
|
|
44374
|
+
|
|
44375
|
+
/**
|
|
44376
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44377
|
+
* format), writing to the given BinaryWriter.
|
|
44378
|
+
* @param {!proto.sniipuserservice.GetUserStatusResponse} message
|
|
44379
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44380
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44381
|
+
*/
|
|
44382
|
+
proto.sniipuserservice.GetUserStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
44383
|
+
var f = undefined;
|
|
44384
|
+
f = message.getResponsecode();
|
|
44385
|
+
if (f != null) {
|
|
44386
|
+
writer.writeMessage(
|
|
44387
|
+
1,
|
|
44388
|
+
f,
|
|
44389
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
44390
|
+
);
|
|
44391
|
+
}
|
|
44392
|
+
f = message.getUserstatusid();
|
|
44393
|
+
if (f !== 0) {
|
|
44394
|
+
writer.writeInt64(
|
|
44395
|
+
2,
|
|
44396
|
+
f
|
|
44397
|
+
);
|
|
44398
|
+
}
|
|
44399
|
+
f = message.getStatus();
|
|
44400
|
+
if (f.length > 0) {
|
|
44401
|
+
writer.writeString(
|
|
44402
|
+
3,
|
|
44403
|
+
f
|
|
44404
|
+
);
|
|
44405
|
+
}
|
|
44406
|
+
f = message.getDisplayname();
|
|
44407
|
+
if (f.length > 0) {
|
|
44408
|
+
writer.writeString(
|
|
44409
|
+
4,
|
|
44410
|
+
f
|
|
44411
|
+
);
|
|
44412
|
+
}
|
|
44413
|
+
f = message.getMaximumdailycards();
|
|
44414
|
+
if (f !== 0) {
|
|
44415
|
+
writer.writeInt32(
|
|
44416
|
+
5,
|
|
44417
|
+
f
|
|
44418
|
+
);
|
|
44419
|
+
}
|
|
44420
|
+
};
|
|
44421
|
+
|
|
44422
|
+
|
|
44423
|
+
/**
|
|
44424
|
+
* optional ResponseCode responseCode = 1;
|
|
44425
|
+
* @return {?proto.sniipuserservice.ResponseCode}
|
|
44426
|
+
*/
|
|
44427
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.getResponsecode = function() {
|
|
44428
|
+
return /** @type{?proto.sniipuserservice.ResponseCode} */ (
|
|
44429
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 1));
|
|
44430
|
+
};
|
|
44431
|
+
|
|
44432
|
+
|
|
44433
|
+
/**
|
|
44434
|
+
* @param {?proto.sniipuserservice.ResponseCode|undefined} value
|
|
44435
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse} returns this
|
|
44436
|
+
*/
|
|
44437
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.setResponsecode = function(value) {
|
|
44438
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
44439
|
+
};
|
|
44440
|
+
|
|
44441
|
+
|
|
44442
|
+
/**
|
|
44443
|
+
* Clears the message field making it undefined.
|
|
44444
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse} returns this
|
|
44445
|
+
*/
|
|
44446
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.clearResponsecode = function() {
|
|
44447
|
+
return this.setResponsecode(undefined);
|
|
44448
|
+
};
|
|
44449
|
+
|
|
44450
|
+
|
|
44451
|
+
/**
|
|
44452
|
+
* Returns whether this field is set.
|
|
44453
|
+
* @return {boolean}
|
|
44454
|
+
*/
|
|
44455
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.hasResponsecode = function() {
|
|
44456
|
+
return jspb.Message.getField(this, 1) != null;
|
|
44457
|
+
};
|
|
44458
|
+
|
|
44459
|
+
|
|
44460
|
+
/**
|
|
44461
|
+
* optional int64 userStatusId = 2;
|
|
44462
|
+
* @return {number}
|
|
44463
|
+
*/
|
|
44464
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.getUserstatusid = function() {
|
|
44465
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
44466
|
+
};
|
|
44467
|
+
|
|
44468
|
+
|
|
44469
|
+
/**
|
|
44470
|
+
* @param {number} value
|
|
44471
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse} returns this
|
|
44472
|
+
*/
|
|
44473
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.setUserstatusid = function(value) {
|
|
44474
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
44475
|
+
};
|
|
44476
|
+
|
|
44477
|
+
|
|
44478
|
+
/**
|
|
44479
|
+
* optional string status = 3;
|
|
44480
|
+
* @return {string}
|
|
44481
|
+
*/
|
|
44482
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.getStatus = function() {
|
|
44483
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
44484
|
+
};
|
|
44485
|
+
|
|
44486
|
+
|
|
44487
|
+
/**
|
|
44488
|
+
* @param {string} value
|
|
44489
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse} returns this
|
|
44490
|
+
*/
|
|
44491
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.setStatus = function(value) {
|
|
44492
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
44493
|
+
};
|
|
44494
|
+
|
|
44495
|
+
|
|
44496
|
+
/**
|
|
44497
|
+
* optional string displayName = 4;
|
|
44498
|
+
* @return {string}
|
|
44499
|
+
*/
|
|
44500
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.getDisplayname = function() {
|
|
44501
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
44502
|
+
};
|
|
44503
|
+
|
|
44504
|
+
|
|
44505
|
+
/**
|
|
44506
|
+
* @param {string} value
|
|
44507
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse} returns this
|
|
44508
|
+
*/
|
|
44509
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.setDisplayname = function(value) {
|
|
44510
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
44511
|
+
};
|
|
44512
|
+
|
|
44513
|
+
|
|
44514
|
+
/**
|
|
44515
|
+
* optional int32 maximumDailyCards = 5;
|
|
44516
|
+
* @return {number}
|
|
44517
|
+
*/
|
|
44518
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.getMaximumdailycards = function() {
|
|
44519
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
44520
|
+
};
|
|
44521
|
+
|
|
44522
|
+
|
|
44523
|
+
/**
|
|
44524
|
+
* @param {number} value
|
|
44525
|
+
* @return {!proto.sniipuserservice.GetUserStatusResponse} returns this
|
|
44526
|
+
*/
|
|
44527
|
+
proto.sniipuserservice.GetUserStatusResponse.prototype.setMaximumdailycards = function(value) {
|
|
44528
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
44529
|
+
};
|
|
44530
|
+
|
|
44531
|
+
|
|
44087
44532
|
/**
|
|
44088
44533
|
* @enum {number}
|
|
44089
44534
|
*/
|