protobuf-platform 1.0.275 → 1.0.277
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.
- package/cms/cms.proto +36 -0
- package/cms/cms_grpc_pb.js +111 -0
- package/cms/cms_pb.js +1491 -0
- package/package.json +1 -1
- package/user/user.proto +10 -1
- package/user/user_pb.js +442 -10
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -86,6 +86,14 @@ message RegistrationRequest {
|
|
86
86
|
optional bool email_subscription = 11;
|
87
87
|
optional int32 affiliate_id = 12;
|
88
88
|
optional string promo_code = 13;
|
89
|
+
optional string user_ip = 14;
|
90
|
+
optional string nick_name = 15;
|
91
|
+
optional string gender = 16;
|
92
|
+
optional string nationality = 17;
|
93
|
+
optional string address = 18;
|
94
|
+
optional string phone = 19;
|
95
|
+
optional string postal_code = 20;
|
96
|
+
optional string referral = 21;
|
89
97
|
}
|
90
98
|
message LoggedInResponse {
|
91
99
|
int32 id = 1;
|
@@ -101,7 +109,8 @@ message LoggedInResponse {
|
|
101
109
|
message LoginRequest {
|
102
110
|
string email = 1;
|
103
111
|
string password = 2;
|
104
|
-
optional int32 is_admin =
|
112
|
+
optional int32 is_admin = 3;
|
113
|
+
optional string user_ip = 4;
|
105
114
|
}
|
106
115
|
message UserDataRequest {
|
107
116
|
int32 id = 1;
|
package/user/user_pb.js
CHANGED
@@ -2446,7 +2446,15 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
|
|
2446
2446
|
locale: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
2447
2447
|
emailSubscription: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
2448
2448
|
affiliateId: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
2449
|
-
promoCode: jspb.Message.getFieldWithDefault(msg, 13, "")
|
2449
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
2450
|
+
userIp: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
2451
|
+
nickName: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
2452
|
+
gender: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
2453
|
+
nationality: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
2454
|
+
address: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
2455
|
+
phone: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
2456
|
+
postalCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
2457
|
+
referral: jspb.Message.getFieldWithDefault(msg, 21, "")
|
2450
2458
|
};
|
2451
2459
|
|
2452
2460
|
if (includeInstance) {
|
@@ -2535,6 +2543,38 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
2535
2543
|
var value = /** @type {string} */ (reader.readString());
|
2536
2544
|
msg.setPromoCode(value);
|
2537
2545
|
break;
|
2546
|
+
case 14:
|
2547
|
+
var value = /** @type {string} */ (reader.readString());
|
2548
|
+
msg.setUserIp(value);
|
2549
|
+
break;
|
2550
|
+
case 15:
|
2551
|
+
var value = /** @type {string} */ (reader.readString());
|
2552
|
+
msg.setNickName(value);
|
2553
|
+
break;
|
2554
|
+
case 16:
|
2555
|
+
var value = /** @type {string} */ (reader.readString());
|
2556
|
+
msg.setGender(value);
|
2557
|
+
break;
|
2558
|
+
case 17:
|
2559
|
+
var value = /** @type {string} */ (reader.readString());
|
2560
|
+
msg.setNationality(value);
|
2561
|
+
break;
|
2562
|
+
case 18:
|
2563
|
+
var value = /** @type {string} */ (reader.readString());
|
2564
|
+
msg.setAddress(value);
|
2565
|
+
break;
|
2566
|
+
case 19:
|
2567
|
+
var value = /** @type {string} */ (reader.readString());
|
2568
|
+
msg.setPhone(value);
|
2569
|
+
break;
|
2570
|
+
case 20:
|
2571
|
+
var value = /** @type {string} */ (reader.readString());
|
2572
|
+
msg.setPostalCode(value);
|
2573
|
+
break;
|
2574
|
+
case 21:
|
2575
|
+
var value = /** @type {string} */ (reader.readString());
|
2576
|
+
msg.setReferral(value);
|
2577
|
+
break;
|
2538
2578
|
default:
|
2539
2579
|
reader.skipField();
|
2540
2580
|
break;
|
@@ -2655,6 +2695,62 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
2655
2695
|
f
|
2656
2696
|
);
|
2657
2697
|
}
|
2698
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
2699
|
+
if (f != null) {
|
2700
|
+
writer.writeString(
|
2701
|
+
14,
|
2702
|
+
f
|
2703
|
+
);
|
2704
|
+
}
|
2705
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
2706
|
+
if (f != null) {
|
2707
|
+
writer.writeString(
|
2708
|
+
15,
|
2709
|
+
f
|
2710
|
+
);
|
2711
|
+
}
|
2712
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
2713
|
+
if (f != null) {
|
2714
|
+
writer.writeString(
|
2715
|
+
16,
|
2716
|
+
f
|
2717
|
+
);
|
2718
|
+
}
|
2719
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
2720
|
+
if (f != null) {
|
2721
|
+
writer.writeString(
|
2722
|
+
17,
|
2723
|
+
f
|
2724
|
+
);
|
2725
|
+
}
|
2726
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
2727
|
+
if (f != null) {
|
2728
|
+
writer.writeString(
|
2729
|
+
18,
|
2730
|
+
f
|
2731
|
+
);
|
2732
|
+
}
|
2733
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
2734
|
+
if (f != null) {
|
2735
|
+
writer.writeString(
|
2736
|
+
19,
|
2737
|
+
f
|
2738
|
+
);
|
2739
|
+
}
|
2740
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
2741
|
+
if (f != null) {
|
2742
|
+
writer.writeString(
|
2743
|
+
20,
|
2744
|
+
f
|
2745
|
+
);
|
2746
|
+
}
|
2747
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
2748
|
+
if (f != null) {
|
2749
|
+
writer.writeString(
|
2750
|
+
21,
|
2751
|
+
f
|
2752
|
+
);
|
2753
|
+
}
|
2658
2754
|
};
|
2659
2755
|
|
2660
2756
|
|
@@ -3072,6 +3168,294 @@ proto.user.RegistrationRequest.prototype.hasPromoCode = function() {
|
|
3072
3168
|
};
|
3073
3169
|
|
3074
3170
|
|
3171
|
+
/**
|
3172
|
+
* optional string user_ip = 14;
|
3173
|
+
* @return {string}
|
3174
|
+
*/
|
3175
|
+
proto.user.RegistrationRequest.prototype.getUserIp = function() {
|
3176
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
3177
|
+
};
|
3178
|
+
|
3179
|
+
|
3180
|
+
/**
|
3181
|
+
* @param {string} value
|
3182
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3183
|
+
*/
|
3184
|
+
proto.user.RegistrationRequest.prototype.setUserIp = function(value) {
|
3185
|
+
return jspb.Message.setField(this, 14, value);
|
3186
|
+
};
|
3187
|
+
|
3188
|
+
|
3189
|
+
/**
|
3190
|
+
* Clears the field making it undefined.
|
3191
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3192
|
+
*/
|
3193
|
+
proto.user.RegistrationRequest.prototype.clearUserIp = function() {
|
3194
|
+
return jspb.Message.setField(this, 14, undefined);
|
3195
|
+
};
|
3196
|
+
|
3197
|
+
|
3198
|
+
/**
|
3199
|
+
* Returns whether this field is set.
|
3200
|
+
* @return {boolean}
|
3201
|
+
*/
|
3202
|
+
proto.user.RegistrationRequest.prototype.hasUserIp = function() {
|
3203
|
+
return jspb.Message.getField(this, 14) != null;
|
3204
|
+
};
|
3205
|
+
|
3206
|
+
|
3207
|
+
/**
|
3208
|
+
* optional string nick_name = 15;
|
3209
|
+
* @return {string}
|
3210
|
+
*/
|
3211
|
+
proto.user.RegistrationRequest.prototype.getNickName = function() {
|
3212
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
3213
|
+
};
|
3214
|
+
|
3215
|
+
|
3216
|
+
/**
|
3217
|
+
* @param {string} value
|
3218
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3219
|
+
*/
|
3220
|
+
proto.user.RegistrationRequest.prototype.setNickName = function(value) {
|
3221
|
+
return jspb.Message.setField(this, 15, value);
|
3222
|
+
};
|
3223
|
+
|
3224
|
+
|
3225
|
+
/**
|
3226
|
+
* Clears the field making it undefined.
|
3227
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3228
|
+
*/
|
3229
|
+
proto.user.RegistrationRequest.prototype.clearNickName = function() {
|
3230
|
+
return jspb.Message.setField(this, 15, undefined);
|
3231
|
+
};
|
3232
|
+
|
3233
|
+
|
3234
|
+
/**
|
3235
|
+
* Returns whether this field is set.
|
3236
|
+
* @return {boolean}
|
3237
|
+
*/
|
3238
|
+
proto.user.RegistrationRequest.prototype.hasNickName = function() {
|
3239
|
+
return jspb.Message.getField(this, 15) != null;
|
3240
|
+
};
|
3241
|
+
|
3242
|
+
|
3243
|
+
/**
|
3244
|
+
* optional string gender = 16;
|
3245
|
+
* @return {string}
|
3246
|
+
*/
|
3247
|
+
proto.user.RegistrationRequest.prototype.getGender = function() {
|
3248
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
3249
|
+
};
|
3250
|
+
|
3251
|
+
|
3252
|
+
/**
|
3253
|
+
* @param {string} value
|
3254
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3255
|
+
*/
|
3256
|
+
proto.user.RegistrationRequest.prototype.setGender = function(value) {
|
3257
|
+
return jspb.Message.setField(this, 16, value);
|
3258
|
+
};
|
3259
|
+
|
3260
|
+
|
3261
|
+
/**
|
3262
|
+
* Clears the field making it undefined.
|
3263
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3264
|
+
*/
|
3265
|
+
proto.user.RegistrationRequest.prototype.clearGender = function() {
|
3266
|
+
return jspb.Message.setField(this, 16, undefined);
|
3267
|
+
};
|
3268
|
+
|
3269
|
+
|
3270
|
+
/**
|
3271
|
+
* Returns whether this field is set.
|
3272
|
+
* @return {boolean}
|
3273
|
+
*/
|
3274
|
+
proto.user.RegistrationRequest.prototype.hasGender = function() {
|
3275
|
+
return jspb.Message.getField(this, 16) != null;
|
3276
|
+
};
|
3277
|
+
|
3278
|
+
|
3279
|
+
/**
|
3280
|
+
* optional string nationality = 17;
|
3281
|
+
* @return {string}
|
3282
|
+
*/
|
3283
|
+
proto.user.RegistrationRequest.prototype.getNationality = function() {
|
3284
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
3285
|
+
};
|
3286
|
+
|
3287
|
+
|
3288
|
+
/**
|
3289
|
+
* @param {string} value
|
3290
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3291
|
+
*/
|
3292
|
+
proto.user.RegistrationRequest.prototype.setNationality = function(value) {
|
3293
|
+
return jspb.Message.setField(this, 17, value);
|
3294
|
+
};
|
3295
|
+
|
3296
|
+
|
3297
|
+
/**
|
3298
|
+
* Clears the field making it undefined.
|
3299
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3300
|
+
*/
|
3301
|
+
proto.user.RegistrationRequest.prototype.clearNationality = function() {
|
3302
|
+
return jspb.Message.setField(this, 17, undefined);
|
3303
|
+
};
|
3304
|
+
|
3305
|
+
|
3306
|
+
/**
|
3307
|
+
* Returns whether this field is set.
|
3308
|
+
* @return {boolean}
|
3309
|
+
*/
|
3310
|
+
proto.user.RegistrationRequest.prototype.hasNationality = function() {
|
3311
|
+
return jspb.Message.getField(this, 17) != null;
|
3312
|
+
};
|
3313
|
+
|
3314
|
+
|
3315
|
+
/**
|
3316
|
+
* optional string address = 18;
|
3317
|
+
* @return {string}
|
3318
|
+
*/
|
3319
|
+
proto.user.RegistrationRequest.prototype.getAddress = function() {
|
3320
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
3321
|
+
};
|
3322
|
+
|
3323
|
+
|
3324
|
+
/**
|
3325
|
+
* @param {string} value
|
3326
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3327
|
+
*/
|
3328
|
+
proto.user.RegistrationRequest.prototype.setAddress = function(value) {
|
3329
|
+
return jspb.Message.setField(this, 18, value);
|
3330
|
+
};
|
3331
|
+
|
3332
|
+
|
3333
|
+
/**
|
3334
|
+
* Clears the field making it undefined.
|
3335
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3336
|
+
*/
|
3337
|
+
proto.user.RegistrationRequest.prototype.clearAddress = function() {
|
3338
|
+
return jspb.Message.setField(this, 18, undefined);
|
3339
|
+
};
|
3340
|
+
|
3341
|
+
|
3342
|
+
/**
|
3343
|
+
* Returns whether this field is set.
|
3344
|
+
* @return {boolean}
|
3345
|
+
*/
|
3346
|
+
proto.user.RegistrationRequest.prototype.hasAddress = function() {
|
3347
|
+
return jspb.Message.getField(this, 18) != null;
|
3348
|
+
};
|
3349
|
+
|
3350
|
+
|
3351
|
+
/**
|
3352
|
+
* optional string phone = 19;
|
3353
|
+
* @return {string}
|
3354
|
+
*/
|
3355
|
+
proto.user.RegistrationRequest.prototype.getPhone = function() {
|
3356
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
3357
|
+
};
|
3358
|
+
|
3359
|
+
|
3360
|
+
/**
|
3361
|
+
* @param {string} value
|
3362
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3363
|
+
*/
|
3364
|
+
proto.user.RegistrationRequest.prototype.setPhone = function(value) {
|
3365
|
+
return jspb.Message.setField(this, 19, value);
|
3366
|
+
};
|
3367
|
+
|
3368
|
+
|
3369
|
+
/**
|
3370
|
+
* Clears the field making it undefined.
|
3371
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3372
|
+
*/
|
3373
|
+
proto.user.RegistrationRequest.prototype.clearPhone = function() {
|
3374
|
+
return jspb.Message.setField(this, 19, undefined);
|
3375
|
+
};
|
3376
|
+
|
3377
|
+
|
3378
|
+
/**
|
3379
|
+
* Returns whether this field is set.
|
3380
|
+
* @return {boolean}
|
3381
|
+
*/
|
3382
|
+
proto.user.RegistrationRequest.prototype.hasPhone = function() {
|
3383
|
+
return jspb.Message.getField(this, 19) != null;
|
3384
|
+
};
|
3385
|
+
|
3386
|
+
|
3387
|
+
/**
|
3388
|
+
* optional string postal_code = 20;
|
3389
|
+
* @return {string}
|
3390
|
+
*/
|
3391
|
+
proto.user.RegistrationRequest.prototype.getPostalCode = function() {
|
3392
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
3393
|
+
};
|
3394
|
+
|
3395
|
+
|
3396
|
+
/**
|
3397
|
+
* @param {string} value
|
3398
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3399
|
+
*/
|
3400
|
+
proto.user.RegistrationRequest.prototype.setPostalCode = function(value) {
|
3401
|
+
return jspb.Message.setField(this, 20, value);
|
3402
|
+
};
|
3403
|
+
|
3404
|
+
|
3405
|
+
/**
|
3406
|
+
* Clears the field making it undefined.
|
3407
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3408
|
+
*/
|
3409
|
+
proto.user.RegistrationRequest.prototype.clearPostalCode = function() {
|
3410
|
+
return jspb.Message.setField(this, 20, undefined);
|
3411
|
+
};
|
3412
|
+
|
3413
|
+
|
3414
|
+
/**
|
3415
|
+
* Returns whether this field is set.
|
3416
|
+
* @return {boolean}
|
3417
|
+
*/
|
3418
|
+
proto.user.RegistrationRequest.prototype.hasPostalCode = function() {
|
3419
|
+
return jspb.Message.getField(this, 20) != null;
|
3420
|
+
};
|
3421
|
+
|
3422
|
+
|
3423
|
+
/**
|
3424
|
+
* optional string referral = 21;
|
3425
|
+
* @return {string}
|
3426
|
+
*/
|
3427
|
+
proto.user.RegistrationRequest.prototype.getReferral = function() {
|
3428
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
3429
|
+
};
|
3430
|
+
|
3431
|
+
|
3432
|
+
/**
|
3433
|
+
* @param {string} value
|
3434
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3435
|
+
*/
|
3436
|
+
proto.user.RegistrationRequest.prototype.setReferral = function(value) {
|
3437
|
+
return jspb.Message.setField(this, 21, value);
|
3438
|
+
};
|
3439
|
+
|
3440
|
+
|
3441
|
+
/**
|
3442
|
+
* Clears the field making it undefined.
|
3443
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
3444
|
+
*/
|
3445
|
+
proto.user.RegistrationRequest.prototype.clearReferral = function() {
|
3446
|
+
return jspb.Message.setField(this, 21, undefined);
|
3447
|
+
};
|
3448
|
+
|
3449
|
+
|
3450
|
+
/**
|
3451
|
+
* Returns whether this field is set.
|
3452
|
+
* @return {boolean}
|
3453
|
+
*/
|
3454
|
+
proto.user.RegistrationRequest.prototype.hasReferral = function() {
|
3455
|
+
return jspb.Message.getField(this, 21) != null;
|
3456
|
+
};
|
3457
|
+
|
3458
|
+
|
3075
3459
|
|
3076
3460
|
|
3077
3461
|
|
@@ -3476,7 +3860,8 @@ proto.user.LoginRequest.toObject = function(includeInstance, msg) {
|
|
3476
3860
|
var f, obj = {
|
3477
3861
|
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3478
3862
|
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3479
|
-
isAdmin: jspb.Message.getFieldWithDefault(msg,
|
3863
|
+
isAdmin: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
3864
|
+
userIp: jspb.Message.getFieldWithDefault(msg, 4, "")
|
3480
3865
|
};
|
3481
3866
|
|
3482
3867
|
if (includeInstance) {
|
@@ -3521,10 +3906,14 @@ proto.user.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3521
3906
|
var value = /** @type {string} */ (reader.readString());
|
3522
3907
|
msg.setPassword(value);
|
3523
3908
|
break;
|
3524
|
-
case
|
3909
|
+
case 3:
|
3525
3910
|
var value = /** @type {number} */ (reader.readInt32());
|
3526
3911
|
msg.setIsAdmin(value);
|
3527
3912
|
break;
|
3913
|
+
case 4:
|
3914
|
+
var value = /** @type {string} */ (reader.readString());
|
3915
|
+
msg.setUserIp(value);
|
3916
|
+
break;
|
3528
3917
|
default:
|
3529
3918
|
reader.skipField();
|
3530
3919
|
break;
|
@@ -3568,10 +3957,17 @@ proto.user.LoginRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3568
3957
|
f
|
3569
3958
|
);
|
3570
3959
|
}
|
3571
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
3960
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
3572
3961
|
if (f != null) {
|
3573
3962
|
writer.writeInt32(
|
3574
|
-
|
3963
|
+
3,
|
3964
|
+
f
|
3965
|
+
);
|
3966
|
+
}
|
3967
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
3968
|
+
if (f != null) {
|
3969
|
+
writer.writeString(
|
3970
|
+
4,
|
3575
3971
|
f
|
3576
3972
|
);
|
3577
3973
|
}
|
@@ -3615,11 +4011,11 @@ proto.user.LoginRequest.prototype.setPassword = function(value) {
|
|
3615
4011
|
|
3616
4012
|
|
3617
4013
|
/**
|
3618
|
-
* optional int32 is_admin =
|
4014
|
+
* optional int32 is_admin = 3;
|
3619
4015
|
* @return {number}
|
3620
4016
|
*/
|
3621
4017
|
proto.user.LoginRequest.prototype.getIsAdmin = function() {
|
3622
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
4018
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
3623
4019
|
};
|
3624
4020
|
|
3625
4021
|
|
@@ -3628,7 +4024,7 @@ proto.user.LoginRequest.prototype.getIsAdmin = function() {
|
|
3628
4024
|
* @return {!proto.user.LoginRequest} returns this
|
3629
4025
|
*/
|
3630
4026
|
proto.user.LoginRequest.prototype.setIsAdmin = function(value) {
|
3631
|
-
return jspb.Message.setField(this,
|
4027
|
+
return jspb.Message.setField(this, 3, value);
|
3632
4028
|
};
|
3633
4029
|
|
3634
4030
|
|
@@ -3637,7 +4033,7 @@ proto.user.LoginRequest.prototype.setIsAdmin = function(value) {
|
|
3637
4033
|
* @return {!proto.user.LoginRequest} returns this
|
3638
4034
|
*/
|
3639
4035
|
proto.user.LoginRequest.prototype.clearIsAdmin = function() {
|
3640
|
-
return jspb.Message.setField(this,
|
4036
|
+
return jspb.Message.setField(this, 3, undefined);
|
3641
4037
|
};
|
3642
4038
|
|
3643
4039
|
|
@@ -3646,7 +4042,43 @@ proto.user.LoginRequest.prototype.clearIsAdmin = function() {
|
|
3646
4042
|
* @return {boolean}
|
3647
4043
|
*/
|
3648
4044
|
proto.user.LoginRequest.prototype.hasIsAdmin = function() {
|
3649
|
-
return jspb.Message.getField(this,
|
4045
|
+
return jspb.Message.getField(this, 3) != null;
|
4046
|
+
};
|
4047
|
+
|
4048
|
+
|
4049
|
+
/**
|
4050
|
+
* optional string user_ip = 4;
|
4051
|
+
* @return {string}
|
4052
|
+
*/
|
4053
|
+
proto.user.LoginRequest.prototype.getUserIp = function() {
|
4054
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
4055
|
+
};
|
4056
|
+
|
4057
|
+
|
4058
|
+
/**
|
4059
|
+
* @param {string} value
|
4060
|
+
* @return {!proto.user.LoginRequest} returns this
|
4061
|
+
*/
|
4062
|
+
proto.user.LoginRequest.prototype.setUserIp = function(value) {
|
4063
|
+
return jspb.Message.setField(this, 4, value);
|
4064
|
+
};
|
4065
|
+
|
4066
|
+
|
4067
|
+
/**
|
4068
|
+
* Clears the field making it undefined.
|
4069
|
+
* @return {!proto.user.LoginRequest} returns this
|
4070
|
+
*/
|
4071
|
+
proto.user.LoginRequest.prototype.clearUserIp = function() {
|
4072
|
+
return jspb.Message.setField(this, 4, undefined);
|
4073
|
+
};
|
4074
|
+
|
4075
|
+
|
4076
|
+
/**
|
4077
|
+
* Returns whether this field is set.
|
4078
|
+
* @return {boolean}
|
4079
|
+
*/
|
4080
|
+
proto.user.LoginRequest.prototype.hasUserIp = function() {
|
4081
|
+
return jspb.Message.getField(this, 4) != null;
|
3650
4082
|
};
|
3651
4083
|
|
3652
4084
|
|