protobuf-platform 1.2.430 → 1.2.432

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/user/user_pb.js CHANGED
@@ -184,6 +184,7 @@ goog.exportSymbol('proto.user.UserWalletBalancesResponse', null, global);
184
184
  goog.exportSymbol('proto.user.UsersResponse', null, global);
185
185
  goog.exportSymbol('proto.user.VerificationStatus', null, global);
186
186
  goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
187
+ goog.exportSymbol('proto.user.XLoginRequest', null, global);
187
188
  /**
188
189
  * Generated by JsPbCodeGenerator.
189
190
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -457,6 +458,27 @@ if (goog.DEBUG && !COMPILED) {
457
458
  */
458
459
  proto.user.AppleLoginRequest.displayName = 'proto.user.AppleLoginRequest';
459
460
  }
461
+ /**
462
+ * Generated by JsPbCodeGenerator.
463
+ * @param {Array=} opt_data Optional initial data array, typically from a
464
+ * server response, or constructed directly in Javascript. The array is used
465
+ * in place and becomes part of the constructed object. It is not cloned.
466
+ * If no data is provided, the constructed object will be empty, but still
467
+ * valid.
468
+ * @extends {jspb.Message}
469
+ * @constructor
470
+ */
471
+ proto.user.XLoginRequest = function(opt_data) {
472
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
473
+ };
474
+ goog.inherits(proto.user.XLoginRequest, jspb.Message);
475
+ if (goog.DEBUG && !COMPILED) {
476
+ /**
477
+ * @public
478
+ * @override
479
+ */
480
+ proto.user.XLoginRequest.displayName = 'proto.user.XLoginRequest';
481
+ }
460
482
  /**
461
483
  * Generated by JsPbCodeGenerator.
462
484
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11083,6 +11105,1096 @@ proto.user.AppleLoginRequest.prototype.hasAntifraudSession = function() {
11083
11105
 
11084
11106
 
11085
11107
 
11108
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11109
+ /**
11110
+ * Creates an object representation of this proto.
11111
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11112
+ * Optional fields that are not set will be set to undefined.
11113
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11114
+ * For the list of reserved names please see:
11115
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11116
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11117
+ * JSPB instance for transitional soy proto support:
11118
+ * http://goto/soy-param-migration
11119
+ * @return {!Object}
11120
+ */
11121
+ proto.user.XLoginRequest.prototype.toObject = function(opt_includeInstance) {
11122
+ return proto.user.XLoginRequest.toObject(opt_includeInstance, this);
11123
+ };
11124
+
11125
+
11126
+ /**
11127
+ * Static version of the {@see toObject} method.
11128
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11129
+ * the JSPB instance for transitional soy proto support:
11130
+ * http://goto/soy-param-migration
11131
+ * @param {!proto.user.XLoginRequest} msg The msg instance to transform.
11132
+ * @return {!Object}
11133
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11134
+ */
11135
+ proto.user.XLoginRequest.toObject = function(includeInstance, msg) {
11136
+ var f, obj = {
11137
+ xUserId: jspb.Message.getFieldWithDefault(msg, 1, ""),
11138
+ username: jspb.Message.getFieldWithDefault(msg, 2, ""),
11139
+ displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
11140
+ email: jspb.Message.getFieldWithDefault(msg, 4, ""),
11141
+ emailVerified: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
11142
+ avatarUrl: jspb.Message.getFieldWithDefault(msg, 6, ""),
11143
+ userIp: jspb.Message.getFieldWithDefault(msg, 7, ""),
11144
+ device: jspb.Message.getFieldWithDefault(msg, 8, ""),
11145
+ country: jspb.Message.getFieldWithDefault(msg, 9, ""),
11146
+ city: jspb.Message.getFieldWithDefault(msg, 10, ""),
11147
+ timezone: jspb.Message.getFieldWithDefault(msg, 11, ""),
11148
+ locale: jspb.Message.getFieldWithDefault(msg, 12, ""),
11149
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 13, 0),
11150
+ affiliateInfo: jspb.Message.getFieldWithDefault(msg, 14, ""),
11151
+ promoCode: jspb.Message.getFieldWithDefault(msg, 15, ""),
11152
+ seonSession: jspb.Message.getFieldWithDefault(msg, 16, ""),
11153
+ requestId: jspb.Message.getFieldWithDefault(msg, 17, ""),
11154
+ correlationId: jspb.Message.getFieldWithDefault(msg, 18, ""),
11155
+ userAgent: jspb.Message.getFieldWithDefault(msg, 19, ""),
11156
+ antifraudSession: jspb.Message.getFieldWithDefault(msg, 20, ""),
11157
+ presetCode: jspb.Message.getFieldWithDefault(msg, 21, "")
11158
+ };
11159
+
11160
+ if (includeInstance) {
11161
+ obj.$jspbMessageInstance = msg;
11162
+ }
11163
+ return obj;
11164
+ };
11165
+ }
11166
+
11167
+
11168
+ /**
11169
+ * Deserializes binary data (in protobuf wire format).
11170
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11171
+ * @return {!proto.user.XLoginRequest}
11172
+ */
11173
+ proto.user.XLoginRequest.deserializeBinary = function(bytes) {
11174
+ var reader = new jspb.BinaryReader(bytes);
11175
+ var msg = new proto.user.XLoginRequest;
11176
+ return proto.user.XLoginRequest.deserializeBinaryFromReader(msg, reader);
11177
+ };
11178
+
11179
+
11180
+ /**
11181
+ * Deserializes binary data (in protobuf wire format) from the
11182
+ * given reader into the given message object.
11183
+ * @param {!proto.user.XLoginRequest} msg The message object to deserialize into.
11184
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11185
+ * @return {!proto.user.XLoginRequest}
11186
+ */
11187
+ proto.user.XLoginRequest.deserializeBinaryFromReader = function(msg, reader) {
11188
+ while (reader.nextField()) {
11189
+ if (reader.isEndGroup()) {
11190
+ break;
11191
+ }
11192
+ var field = reader.getFieldNumber();
11193
+ switch (field) {
11194
+ case 1:
11195
+ var value = /** @type {string} */ (reader.readString());
11196
+ msg.setXUserId(value);
11197
+ break;
11198
+ case 2:
11199
+ var value = /** @type {string} */ (reader.readString());
11200
+ msg.setUsername(value);
11201
+ break;
11202
+ case 3:
11203
+ var value = /** @type {string} */ (reader.readString());
11204
+ msg.setDisplayName(value);
11205
+ break;
11206
+ case 4:
11207
+ var value = /** @type {string} */ (reader.readString());
11208
+ msg.setEmail(value);
11209
+ break;
11210
+ case 5:
11211
+ var value = /** @type {boolean} */ (reader.readBool());
11212
+ msg.setEmailVerified(value);
11213
+ break;
11214
+ case 6:
11215
+ var value = /** @type {string} */ (reader.readString());
11216
+ msg.setAvatarUrl(value);
11217
+ break;
11218
+ case 7:
11219
+ var value = /** @type {string} */ (reader.readString());
11220
+ msg.setUserIp(value);
11221
+ break;
11222
+ case 8:
11223
+ var value = /** @type {string} */ (reader.readString());
11224
+ msg.setDevice(value);
11225
+ break;
11226
+ case 9:
11227
+ var value = /** @type {string} */ (reader.readString());
11228
+ msg.setCountry(value);
11229
+ break;
11230
+ case 10:
11231
+ var value = /** @type {string} */ (reader.readString());
11232
+ msg.setCity(value);
11233
+ break;
11234
+ case 11:
11235
+ var value = /** @type {string} */ (reader.readString());
11236
+ msg.setTimezone(value);
11237
+ break;
11238
+ case 12:
11239
+ var value = /** @type {string} */ (reader.readString());
11240
+ msg.setLocale(value);
11241
+ break;
11242
+ case 13:
11243
+ var value = /** @type {number} */ (reader.readInt32());
11244
+ msg.setAffiliateId(value);
11245
+ break;
11246
+ case 14:
11247
+ var value = /** @type {string} */ (reader.readString());
11248
+ msg.setAffiliateInfo(value);
11249
+ break;
11250
+ case 15:
11251
+ var value = /** @type {string} */ (reader.readString());
11252
+ msg.setPromoCode(value);
11253
+ break;
11254
+ case 16:
11255
+ var value = /** @type {string} */ (reader.readString());
11256
+ msg.setSeonSession(value);
11257
+ break;
11258
+ case 17:
11259
+ var value = /** @type {string} */ (reader.readString());
11260
+ msg.setRequestId(value);
11261
+ break;
11262
+ case 18:
11263
+ var value = /** @type {string} */ (reader.readString());
11264
+ msg.setCorrelationId(value);
11265
+ break;
11266
+ case 19:
11267
+ var value = /** @type {string} */ (reader.readString());
11268
+ msg.setUserAgent(value);
11269
+ break;
11270
+ case 20:
11271
+ var value = /** @type {string} */ (reader.readString());
11272
+ msg.setAntifraudSession(value);
11273
+ break;
11274
+ case 21:
11275
+ var value = /** @type {string} */ (reader.readString());
11276
+ msg.setPresetCode(value);
11277
+ break;
11278
+ default:
11279
+ reader.skipField();
11280
+ break;
11281
+ }
11282
+ }
11283
+ return msg;
11284
+ };
11285
+
11286
+
11287
+ /**
11288
+ * Serializes the message to binary data (in protobuf wire format).
11289
+ * @return {!Uint8Array}
11290
+ */
11291
+ proto.user.XLoginRequest.prototype.serializeBinary = function() {
11292
+ var writer = new jspb.BinaryWriter();
11293
+ proto.user.XLoginRequest.serializeBinaryToWriter(this, writer);
11294
+ return writer.getResultBuffer();
11295
+ };
11296
+
11297
+
11298
+ /**
11299
+ * Serializes the given message to binary data (in protobuf wire
11300
+ * format), writing to the given BinaryWriter.
11301
+ * @param {!proto.user.XLoginRequest} message
11302
+ * @param {!jspb.BinaryWriter} writer
11303
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11304
+ */
11305
+ proto.user.XLoginRequest.serializeBinaryToWriter = function(message, writer) {
11306
+ var f = undefined;
11307
+ f = message.getXUserId();
11308
+ if (f.length > 0) {
11309
+ writer.writeString(
11310
+ 1,
11311
+ f
11312
+ );
11313
+ }
11314
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
11315
+ if (f != null) {
11316
+ writer.writeString(
11317
+ 2,
11318
+ f
11319
+ );
11320
+ }
11321
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
11322
+ if (f != null) {
11323
+ writer.writeString(
11324
+ 3,
11325
+ f
11326
+ );
11327
+ }
11328
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
11329
+ if (f != null) {
11330
+ writer.writeString(
11331
+ 4,
11332
+ f
11333
+ );
11334
+ }
11335
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
11336
+ if (f != null) {
11337
+ writer.writeBool(
11338
+ 5,
11339
+ f
11340
+ );
11341
+ }
11342
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
11343
+ if (f != null) {
11344
+ writer.writeString(
11345
+ 6,
11346
+ f
11347
+ );
11348
+ }
11349
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
11350
+ if (f != null) {
11351
+ writer.writeString(
11352
+ 7,
11353
+ f
11354
+ );
11355
+ }
11356
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
11357
+ if (f != null) {
11358
+ writer.writeString(
11359
+ 8,
11360
+ f
11361
+ );
11362
+ }
11363
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
11364
+ if (f != null) {
11365
+ writer.writeString(
11366
+ 9,
11367
+ f
11368
+ );
11369
+ }
11370
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
11371
+ if (f != null) {
11372
+ writer.writeString(
11373
+ 10,
11374
+ f
11375
+ );
11376
+ }
11377
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
11378
+ if (f != null) {
11379
+ writer.writeString(
11380
+ 11,
11381
+ f
11382
+ );
11383
+ }
11384
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
11385
+ if (f != null) {
11386
+ writer.writeString(
11387
+ 12,
11388
+ f
11389
+ );
11390
+ }
11391
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
11392
+ if (f != null) {
11393
+ writer.writeInt32(
11394
+ 13,
11395
+ f
11396
+ );
11397
+ }
11398
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
11399
+ if (f != null) {
11400
+ writer.writeString(
11401
+ 14,
11402
+ f
11403
+ );
11404
+ }
11405
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
11406
+ if (f != null) {
11407
+ writer.writeString(
11408
+ 15,
11409
+ f
11410
+ );
11411
+ }
11412
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
11413
+ if (f != null) {
11414
+ writer.writeString(
11415
+ 16,
11416
+ f
11417
+ );
11418
+ }
11419
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
11420
+ if (f != null) {
11421
+ writer.writeString(
11422
+ 17,
11423
+ f
11424
+ );
11425
+ }
11426
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
11427
+ if (f != null) {
11428
+ writer.writeString(
11429
+ 18,
11430
+ f
11431
+ );
11432
+ }
11433
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
11434
+ if (f != null) {
11435
+ writer.writeString(
11436
+ 19,
11437
+ f
11438
+ );
11439
+ }
11440
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
11441
+ if (f != null) {
11442
+ writer.writeString(
11443
+ 20,
11444
+ f
11445
+ );
11446
+ }
11447
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
11448
+ if (f != null) {
11449
+ writer.writeString(
11450
+ 21,
11451
+ f
11452
+ );
11453
+ }
11454
+ };
11455
+
11456
+
11457
+ /**
11458
+ * optional string x_user_id = 1;
11459
+ * @return {string}
11460
+ */
11461
+ proto.user.XLoginRequest.prototype.getXUserId = function() {
11462
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11463
+ };
11464
+
11465
+
11466
+ /**
11467
+ * @param {string} value
11468
+ * @return {!proto.user.XLoginRequest} returns this
11469
+ */
11470
+ proto.user.XLoginRequest.prototype.setXUserId = function(value) {
11471
+ return jspb.Message.setProto3StringField(this, 1, value);
11472
+ };
11473
+
11474
+
11475
+ /**
11476
+ * optional string username = 2;
11477
+ * @return {string}
11478
+ */
11479
+ proto.user.XLoginRequest.prototype.getUsername = function() {
11480
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11481
+ };
11482
+
11483
+
11484
+ /**
11485
+ * @param {string} value
11486
+ * @return {!proto.user.XLoginRequest} returns this
11487
+ */
11488
+ proto.user.XLoginRequest.prototype.setUsername = function(value) {
11489
+ return jspb.Message.setField(this, 2, value);
11490
+ };
11491
+
11492
+
11493
+ /**
11494
+ * Clears the field making it undefined.
11495
+ * @return {!proto.user.XLoginRequest} returns this
11496
+ */
11497
+ proto.user.XLoginRequest.prototype.clearUsername = function() {
11498
+ return jspb.Message.setField(this, 2, undefined);
11499
+ };
11500
+
11501
+
11502
+ /**
11503
+ * Returns whether this field is set.
11504
+ * @return {boolean}
11505
+ */
11506
+ proto.user.XLoginRequest.prototype.hasUsername = function() {
11507
+ return jspb.Message.getField(this, 2) != null;
11508
+ };
11509
+
11510
+
11511
+ /**
11512
+ * optional string display_name = 3;
11513
+ * @return {string}
11514
+ */
11515
+ proto.user.XLoginRequest.prototype.getDisplayName = function() {
11516
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11517
+ };
11518
+
11519
+
11520
+ /**
11521
+ * @param {string} value
11522
+ * @return {!proto.user.XLoginRequest} returns this
11523
+ */
11524
+ proto.user.XLoginRequest.prototype.setDisplayName = function(value) {
11525
+ return jspb.Message.setField(this, 3, value);
11526
+ };
11527
+
11528
+
11529
+ /**
11530
+ * Clears the field making it undefined.
11531
+ * @return {!proto.user.XLoginRequest} returns this
11532
+ */
11533
+ proto.user.XLoginRequest.prototype.clearDisplayName = function() {
11534
+ return jspb.Message.setField(this, 3, undefined);
11535
+ };
11536
+
11537
+
11538
+ /**
11539
+ * Returns whether this field is set.
11540
+ * @return {boolean}
11541
+ */
11542
+ proto.user.XLoginRequest.prototype.hasDisplayName = function() {
11543
+ return jspb.Message.getField(this, 3) != null;
11544
+ };
11545
+
11546
+
11547
+ /**
11548
+ * optional string email = 4;
11549
+ * @return {string}
11550
+ */
11551
+ proto.user.XLoginRequest.prototype.getEmail = function() {
11552
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11553
+ };
11554
+
11555
+
11556
+ /**
11557
+ * @param {string} value
11558
+ * @return {!proto.user.XLoginRequest} returns this
11559
+ */
11560
+ proto.user.XLoginRequest.prototype.setEmail = function(value) {
11561
+ return jspb.Message.setField(this, 4, value);
11562
+ };
11563
+
11564
+
11565
+ /**
11566
+ * Clears the field making it undefined.
11567
+ * @return {!proto.user.XLoginRequest} returns this
11568
+ */
11569
+ proto.user.XLoginRequest.prototype.clearEmail = function() {
11570
+ return jspb.Message.setField(this, 4, undefined);
11571
+ };
11572
+
11573
+
11574
+ /**
11575
+ * Returns whether this field is set.
11576
+ * @return {boolean}
11577
+ */
11578
+ proto.user.XLoginRequest.prototype.hasEmail = function() {
11579
+ return jspb.Message.getField(this, 4) != null;
11580
+ };
11581
+
11582
+
11583
+ /**
11584
+ * optional bool email_verified = 5;
11585
+ * @return {boolean}
11586
+ */
11587
+ proto.user.XLoginRequest.prototype.getEmailVerified = function() {
11588
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
11589
+ };
11590
+
11591
+
11592
+ /**
11593
+ * @param {boolean} value
11594
+ * @return {!proto.user.XLoginRequest} returns this
11595
+ */
11596
+ proto.user.XLoginRequest.prototype.setEmailVerified = function(value) {
11597
+ return jspb.Message.setField(this, 5, value);
11598
+ };
11599
+
11600
+
11601
+ /**
11602
+ * Clears the field making it undefined.
11603
+ * @return {!proto.user.XLoginRequest} returns this
11604
+ */
11605
+ proto.user.XLoginRequest.prototype.clearEmailVerified = function() {
11606
+ return jspb.Message.setField(this, 5, undefined);
11607
+ };
11608
+
11609
+
11610
+ /**
11611
+ * Returns whether this field is set.
11612
+ * @return {boolean}
11613
+ */
11614
+ proto.user.XLoginRequest.prototype.hasEmailVerified = function() {
11615
+ return jspb.Message.getField(this, 5) != null;
11616
+ };
11617
+
11618
+
11619
+ /**
11620
+ * optional string avatar_url = 6;
11621
+ * @return {string}
11622
+ */
11623
+ proto.user.XLoginRequest.prototype.getAvatarUrl = function() {
11624
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
11625
+ };
11626
+
11627
+
11628
+ /**
11629
+ * @param {string} value
11630
+ * @return {!proto.user.XLoginRequest} returns this
11631
+ */
11632
+ proto.user.XLoginRequest.prototype.setAvatarUrl = function(value) {
11633
+ return jspb.Message.setField(this, 6, value);
11634
+ };
11635
+
11636
+
11637
+ /**
11638
+ * Clears the field making it undefined.
11639
+ * @return {!proto.user.XLoginRequest} returns this
11640
+ */
11641
+ proto.user.XLoginRequest.prototype.clearAvatarUrl = function() {
11642
+ return jspb.Message.setField(this, 6, undefined);
11643
+ };
11644
+
11645
+
11646
+ /**
11647
+ * Returns whether this field is set.
11648
+ * @return {boolean}
11649
+ */
11650
+ proto.user.XLoginRequest.prototype.hasAvatarUrl = function() {
11651
+ return jspb.Message.getField(this, 6) != null;
11652
+ };
11653
+
11654
+
11655
+ /**
11656
+ * optional string user_ip = 7;
11657
+ * @return {string}
11658
+ */
11659
+ proto.user.XLoginRequest.prototype.getUserIp = function() {
11660
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
11661
+ };
11662
+
11663
+
11664
+ /**
11665
+ * @param {string} value
11666
+ * @return {!proto.user.XLoginRequest} returns this
11667
+ */
11668
+ proto.user.XLoginRequest.prototype.setUserIp = function(value) {
11669
+ return jspb.Message.setField(this, 7, value);
11670
+ };
11671
+
11672
+
11673
+ /**
11674
+ * Clears the field making it undefined.
11675
+ * @return {!proto.user.XLoginRequest} returns this
11676
+ */
11677
+ proto.user.XLoginRequest.prototype.clearUserIp = function() {
11678
+ return jspb.Message.setField(this, 7, undefined);
11679
+ };
11680
+
11681
+
11682
+ /**
11683
+ * Returns whether this field is set.
11684
+ * @return {boolean}
11685
+ */
11686
+ proto.user.XLoginRequest.prototype.hasUserIp = function() {
11687
+ return jspb.Message.getField(this, 7) != null;
11688
+ };
11689
+
11690
+
11691
+ /**
11692
+ * optional string device = 8;
11693
+ * @return {string}
11694
+ */
11695
+ proto.user.XLoginRequest.prototype.getDevice = function() {
11696
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
11697
+ };
11698
+
11699
+
11700
+ /**
11701
+ * @param {string} value
11702
+ * @return {!proto.user.XLoginRequest} returns this
11703
+ */
11704
+ proto.user.XLoginRequest.prototype.setDevice = function(value) {
11705
+ return jspb.Message.setField(this, 8, value);
11706
+ };
11707
+
11708
+
11709
+ /**
11710
+ * Clears the field making it undefined.
11711
+ * @return {!proto.user.XLoginRequest} returns this
11712
+ */
11713
+ proto.user.XLoginRequest.prototype.clearDevice = function() {
11714
+ return jspb.Message.setField(this, 8, undefined);
11715
+ };
11716
+
11717
+
11718
+ /**
11719
+ * Returns whether this field is set.
11720
+ * @return {boolean}
11721
+ */
11722
+ proto.user.XLoginRequest.prototype.hasDevice = function() {
11723
+ return jspb.Message.getField(this, 8) != null;
11724
+ };
11725
+
11726
+
11727
+ /**
11728
+ * optional string country = 9;
11729
+ * @return {string}
11730
+ */
11731
+ proto.user.XLoginRequest.prototype.getCountry = function() {
11732
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
11733
+ };
11734
+
11735
+
11736
+ /**
11737
+ * @param {string} value
11738
+ * @return {!proto.user.XLoginRequest} returns this
11739
+ */
11740
+ proto.user.XLoginRequest.prototype.setCountry = function(value) {
11741
+ return jspb.Message.setField(this, 9, value);
11742
+ };
11743
+
11744
+
11745
+ /**
11746
+ * Clears the field making it undefined.
11747
+ * @return {!proto.user.XLoginRequest} returns this
11748
+ */
11749
+ proto.user.XLoginRequest.prototype.clearCountry = function() {
11750
+ return jspb.Message.setField(this, 9, undefined);
11751
+ };
11752
+
11753
+
11754
+ /**
11755
+ * Returns whether this field is set.
11756
+ * @return {boolean}
11757
+ */
11758
+ proto.user.XLoginRequest.prototype.hasCountry = function() {
11759
+ return jspb.Message.getField(this, 9) != null;
11760
+ };
11761
+
11762
+
11763
+ /**
11764
+ * optional string city = 10;
11765
+ * @return {string}
11766
+ */
11767
+ proto.user.XLoginRequest.prototype.getCity = function() {
11768
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
11769
+ };
11770
+
11771
+
11772
+ /**
11773
+ * @param {string} value
11774
+ * @return {!proto.user.XLoginRequest} returns this
11775
+ */
11776
+ proto.user.XLoginRequest.prototype.setCity = function(value) {
11777
+ return jspb.Message.setField(this, 10, value);
11778
+ };
11779
+
11780
+
11781
+ /**
11782
+ * Clears the field making it undefined.
11783
+ * @return {!proto.user.XLoginRequest} returns this
11784
+ */
11785
+ proto.user.XLoginRequest.prototype.clearCity = function() {
11786
+ return jspb.Message.setField(this, 10, undefined);
11787
+ };
11788
+
11789
+
11790
+ /**
11791
+ * Returns whether this field is set.
11792
+ * @return {boolean}
11793
+ */
11794
+ proto.user.XLoginRequest.prototype.hasCity = function() {
11795
+ return jspb.Message.getField(this, 10) != null;
11796
+ };
11797
+
11798
+
11799
+ /**
11800
+ * optional string timezone = 11;
11801
+ * @return {string}
11802
+ */
11803
+ proto.user.XLoginRequest.prototype.getTimezone = function() {
11804
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
11805
+ };
11806
+
11807
+
11808
+ /**
11809
+ * @param {string} value
11810
+ * @return {!proto.user.XLoginRequest} returns this
11811
+ */
11812
+ proto.user.XLoginRequest.prototype.setTimezone = function(value) {
11813
+ return jspb.Message.setField(this, 11, value);
11814
+ };
11815
+
11816
+
11817
+ /**
11818
+ * Clears the field making it undefined.
11819
+ * @return {!proto.user.XLoginRequest} returns this
11820
+ */
11821
+ proto.user.XLoginRequest.prototype.clearTimezone = function() {
11822
+ return jspb.Message.setField(this, 11, undefined);
11823
+ };
11824
+
11825
+
11826
+ /**
11827
+ * Returns whether this field is set.
11828
+ * @return {boolean}
11829
+ */
11830
+ proto.user.XLoginRequest.prototype.hasTimezone = function() {
11831
+ return jspb.Message.getField(this, 11) != null;
11832
+ };
11833
+
11834
+
11835
+ /**
11836
+ * optional string locale = 12;
11837
+ * @return {string}
11838
+ */
11839
+ proto.user.XLoginRequest.prototype.getLocale = function() {
11840
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
11841
+ };
11842
+
11843
+
11844
+ /**
11845
+ * @param {string} value
11846
+ * @return {!proto.user.XLoginRequest} returns this
11847
+ */
11848
+ proto.user.XLoginRequest.prototype.setLocale = function(value) {
11849
+ return jspb.Message.setField(this, 12, value);
11850
+ };
11851
+
11852
+
11853
+ /**
11854
+ * Clears the field making it undefined.
11855
+ * @return {!proto.user.XLoginRequest} returns this
11856
+ */
11857
+ proto.user.XLoginRequest.prototype.clearLocale = function() {
11858
+ return jspb.Message.setField(this, 12, undefined);
11859
+ };
11860
+
11861
+
11862
+ /**
11863
+ * Returns whether this field is set.
11864
+ * @return {boolean}
11865
+ */
11866
+ proto.user.XLoginRequest.prototype.hasLocale = function() {
11867
+ return jspb.Message.getField(this, 12) != null;
11868
+ };
11869
+
11870
+
11871
+ /**
11872
+ * optional int32 affiliate_id = 13;
11873
+ * @return {number}
11874
+ */
11875
+ proto.user.XLoginRequest.prototype.getAffiliateId = function() {
11876
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
11877
+ };
11878
+
11879
+
11880
+ /**
11881
+ * @param {number} value
11882
+ * @return {!proto.user.XLoginRequest} returns this
11883
+ */
11884
+ proto.user.XLoginRequest.prototype.setAffiliateId = function(value) {
11885
+ return jspb.Message.setField(this, 13, value);
11886
+ };
11887
+
11888
+
11889
+ /**
11890
+ * Clears the field making it undefined.
11891
+ * @return {!proto.user.XLoginRequest} returns this
11892
+ */
11893
+ proto.user.XLoginRequest.prototype.clearAffiliateId = function() {
11894
+ return jspb.Message.setField(this, 13, undefined);
11895
+ };
11896
+
11897
+
11898
+ /**
11899
+ * Returns whether this field is set.
11900
+ * @return {boolean}
11901
+ */
11902
+ proto.user.XLoginRequest.prototype.hasAffiliateId = function() {
11903
+ return jspb.Message.getField(this, 13) != null;
11904
+ };
11905
+
11906
+
11907
+ /**
11908
+ * optional string affiliate_info = 14;
11909
+ * @return {string}
11910
+ */
11911
+ proto.user.XLoginRequest.prototype.getAffiliateInfo = function() {
11912
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
11913
+ };
11914
+
11915
+
11916
+ /**
11917
+ * @param {string} value
11918
+ * @return {!proto.user.XLoginRequest} returns this
11919
+ */
11920
+ proto.user.XLoginRequest.prototype.setAffiliateInfo = function(value) {
11921
+ return jspb.Message.setField(this, 14, value);
11922
+ };
11923
+
11924
+
11925
+ /**
11926
+ * Clears the field making it undefined.
11927
+ * @return {!proto.user.XLoginRequest} returns this
11928
+ */
11929
+ proto.user.XLoginRequest.prototype.clearAffiliateInfo = function() {
11930
+ return jspb.Message.setField(this, 14, undefined);
11931
+ };
11932
+
11933
+
11934
+ /**
11935
+ * Returns whether this field is set.
11936
+ * @return {boolean}
11937
+ */
11938
+ proto.user.XLoginRequest.prototype.hasAffiliateInfo = function() {
11939
+ return jspb.Message.getField(this, 14) != null;
11940
+ };
11941
+
11942
+
11943
+ /**
11944
+ * optional string promo_code = 15;
11945
+ * @return {string}
11946
+ */
11947
+ proto.user.XLoginRequest.prototype.getPromoCode = function() {
11948
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
11949
+ };
11950
+
11951
+
11952
+ /**
11953
+ * @param {string} value
11954
+ * @return {!proto.user.XLoginRequest} returns this
11955
+ */
11956
+ proto.user.XLoginRequest.prototype.setPromoCode = function(value) {
11957
+ return jspb.Message.setField(this, 15, value);
11958
+ };
11959
+
11960
+
11961
+ /**
11962
+ * Clears the field making it undefined.
11963
+ * @return {!proto.user.XLoginRequest} returns this
11964
+ */
11965
+ proto.user.XLoginRequest.prototype.clearPromoCode = function() {
11966
+ return jspb.Message.setField(this, 15, undefined);
11967
+ };
11968
+
11969
+
11970
+ /**
11971
+ * Returns whether this field is set.
11972
+ * @return {boolean}
11973
+ */
11974
+ proto.user.XLoginRequest.prototype.hasPromoCode = function() {
11975
+ return jspb.Message.getField(this, 15) != null;
11976
+ };
11977
+
11978
+
11979
+ /**
11980
+ * optional string seon_session = 16;
11981
+ * @return {string}
11982
+ */
11983
+ proto.user.XLoginRequest.prototype.getSeonSession = function() {
11984
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
11985
+ };
11986
+
11987
+
11988
+ /**
11989
+ * @param {string} value
11990
+ * @return {!proto.user.XLoginRequest} returns this
11991
+ */
11992
+ proto.user.XLoginRequest.prototype.setSeonSession = function(value) {
11993
+ return jspb.Message.setField(this, 16, value);
11994
+ };
11995
+
11996
+
11997
+ /**
11998
+ * Clears the field making it undefined.
11999
+ * @return {!proto.user.XLoginRequest} returns this
12000
+ */
12001
+ proto.user.XLoginRequest.prototype.clearSeonSession = function() {
12002
+ return jspb.Message.setField(this, 16, undefined);
12003
+ };
12004
+
12005
+
12006
+ /**
12007
+ * Returns whether this field is set.
12008
+ * @return {boolean}
12009
+ */
12010
+ proto.user.XLoginRequest.prototype.hasSeonSession = function() {
12011
+ return jspb.Message.getField(this, 16) != null;
12012
+ };
12013
+
12014
+
12015
+ /**
12016
+ * optional string request_id = 17;
12017
+ * @return {string}
12018
+ */
12019
+ proto.user.XLoginRequest.prototype.getRequestId = function() {
12020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
12021
+ };
12022
+
12023
+
12024
+ /**
12025
+ * @param {string} value
12026
+ * @return {!proto.user.XLoginRequest} returns this
12027
+ */
12028
+ proto.user.XLoginRequest.prototype.setRequestId = function(value) {
12029
+ return jspb.Message.setField(this, 17, value);
12030
+ };
12031
+
12032
+
12033
+ /**
12034
+ * Clears the field making it undefined.
12035
+ * @return {!proto.user.XLoginRequest} returns this
12036
+ */
12037
+ proto.user.XLoginRequest.prototype.clearRequestId = function() {
12038
+ return jspb.Message.setField(this, 17, undefined);
12039
+ };
12040
+
12041
+
12042
+ /**
12043
+ * Returns whether this field is set.
12044
+ * @return {boolean}
12045
+ */
12046
+ proto.user.XLoginRequest.prototype.hasRequestId = function() {
12047
+ return jspb.Message.getField(this, 17) != null;
12048
+ };
12049
+
12050
+
12051
+ /**
12052
+ * optional string correlation_id = 18;
12053
+ * @return {string}
12054
+ */
12055
+ proto.user.XLoginRequest.prototype.getCorrelationId = function() {
12056
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
12057
+ };
12058
+
12059
+
12060
+ /**
12061
+ * @param {string} value
12062
+ * @return {!proto.user.XLoginRequest} returns this
12063
+ */
12064
+ proto.user.XLoginRequest.prototype.setCorrelationId = function(value) {
12065
+ return jspb.Message.setField(this, 18, value);
12066
+ };
12067
+
12068
+
12069
+ /**
12070
+ * Clears the field making it undefined.
12071
+ * @return {!proto.user.XLoginRequest} returns this
12072
+ */
12073
+ proto.user.XLoginRequest.prototype.clearCorrelationId = function() {
12074
+ return jspb.Message.setField(this, 18, undefined);
12075
+ };
12076
+
12077
+
12078
+ /**
12079
+ * Returns whether this field is set.
12080
+ * @return {boolean}
12081
+ */
12082
+ proto.user.XLoginRequest.prototype.hasCorrelationId = function() {
12083
+ return jspb.Message.getField(this, 18) != null;
12084
+ };
12085
+
12086
+
12087
+ /**
12088
+ * optional string user_agent = 19;
12089
+ * @return {string}
12090
+ */
12091
+ proto.user.XLoginRequest.prototype.getUserAgent = function() {
12092
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
12093
+ };
12094
+
12095
+
12096
+ /**
12097
+ * @param {string} value
12098
+ * @return {!proto.user.XLoginRequest} returns this
12099
+ */
12100
+ proto.user.XLoginRequest.prototype.setUserAgent = function(value) {
12101
+ return jspb.Message.setField(this, 19, value);
12102
+ };
12103
+
12104
+
12105
+ /**
12106
+ * Clears the field making it undefined.
12107
+ * @return {!proto.user.XLoginRequest} returns this
12108
+ */
12109
+ proto.user.XLoginRequest.prototype.clearUserAgent = function() {
12110
+ return jspb.Message.setField(this, 19, undefined);
12111
+ };
12112
+
12113
+
12114
+ /**
12115
+ * Returns whether this field is set.
12116
+ * @return {boolean}
12117
+ */
12118
+ proto.user.XLoginRequest.prototype.hasUserAgent = function() {
12119
+ return jspb.Message.getField(this, 19) != null;
12120
+ };
12121
+
12122
+
12123
+ /**
12124
+ * optional string antifraud_session = 20;
12125
+ * @return {string}
12126
+ */
12127
+ proto.user.XLoginRequest.prototype.getAntifraudSession = function() {
12128
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
12129
+ };
12130
+
12131
+
12132
+ /**
12133
+ * @param {string} value
12134
+ * @return {!proto.user.XLoginRequest} returns this
12135
+ */
12136
+ proto.user.XLoginRequest.prototype.setAntifraudSession = function(value) {
12137
+ return jspb.Message.setField(this, 20, value);
12138
+ };
12139
+
12140
+
12141
+ /**
12142
+ * Clears the field making it undefined.
12143
+ * @return {!proto.user.XLoginRequest} returns this
12144
+ */
12145
+ proto.user.XLoginRequest.prototype.clearAntifraudSession = function() {
12146
+ return jspb.Message.setField(this, 20, undefined);
12147
+ };
12148
+
12149
+
12150
+ /**
12151
+ * Returns whether this field is set.
12152
+ * @return {boolean}
12153
+ */
12154
+ proto.user.XLoginRequest.prototype.hasAntifraudSession = function() {
12155
+ return jspb.Message.getField(this, 20) != null;
12156
+ };
12157
+
12158
+
12159
+ /**
12160
+ * optional string preset_code = 21;
12161
+ * @return {string}
12162
+ */
12163
+ proto.user.XLoginRequest.prototype.getPresetCode = function() {
12164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
12165
+ };
12166
+
12167
+
12168
+ /**
12169
+ * @param {string} value
12170
+ * @return {!proto.user.XLoginRequest} returns this
12171
+ */
12172
+ proto.user.XLoginRequest.prototype.setPresetCode = function(value) {
12173
+ return jspb.Message.setField(this, 21, value);
12174
+ };
12175
+
12176
+
12177
+ /**
12178
+ * Clears the field making it undefined.
12179
+ * @return {!proto.user.XLoginRequest} returns this
12180
+ */
12181
+ proto.user.XLoginRequest.prototype.clearPresetCode = function() {
12182
+ return jspb.Message.setField(this, 21, undefined);
12183
+ };
12184
+
12185
+
12186
+ /**
12187
+ * Returns whether this field is set.
12188
+ * @return {boolean}
12189
+ */
12190
+ proto.user.XLoginRequest.prototype.hasPresetCode = function() {
12191
+ return jspb.Message.getField(this, 21) != null;
12192
+ };
12193
+
12194
+
12195
+
12196
+
12197
+
11086
12198
  if (jspb.Message.GENERATE_TO_OBJECT) {
11087
12199
  /**
11088
12200
  * Creates an object representation of this proto.