protobuf-platform 1.2.346 → 1.2.348

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
@@ -21,6 +21,7 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ goog.exportSymbol('proto.user.AppleLoginRequest', null, global);
24
25
  goog.exportSymbol('proto.user.BatchGetAffiliateAttributionItem', null, global);
25
26
  goog.exportSymbol('proto.user.BatchGetAffiliateAttributionRequest', null, global);
26
27
  goog.exportSymbol('proto.user.BatchGetAffiliateAttributionResponse', null, global);
@@ -416,6 +417,27 @@ if (goog.DEBUG && !COMPILED) {
416
417
  */
417
418
  proto.user.GoogleLoginRequest.displayName = 'proto.user.GoogleLoginRequest';
418
419
  }
420
+ /**
421
+ * Generated by JsPbCodeGenerator.
422
+ * @param {Array=} opt_data Optional initial data array, typically from a
423
+ * server response, or constructed directly in Javascript. The array is used
424
+ * in place and becomes part of the constructed object. It is not cloned.
425
+ * If no data is provided, the constructed object will be empty, but still
426
+ * valid.
427
+ * @extends {jspb.Message}
428
+ * @constructor
429
+ */
430
+ proto.user.AppleLoginRequest = function(opt_data) {
431
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
432
+ };
433
+ goog.inherits(proto.user.AppleLoginRequest, jspb.Message);
434
+ if (goog.DEBUG && !COMPILED) {
435
+ /**
436
+ * @public
437
+ * @override
438
+ */
439
+ proto.user.AppleLoginRequest.displayName = 'proto.user.AppleLoginRequest';
440
+ }
419
441
  /**
420
442
  * Generated by JsPbCodeGenerator.
421
443
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8540,16 +8562,860 @@ proto.user.GoogleLoginRequest.serializeBinaryToWriter = function(message, writer
8540
8562
  * optional string code = 1;
8541
8563
  * @return {string}
8542
8564
  */
8543
- proto.user.GoogleLoginRequest.prototype.getCode = function() {
8565
+ proto.user.GoogleLoginRequest.prototype.getCode = function() {
8566
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8567
+ };
8568
+
8569
+
8570
+ /**
8571
+ * @param {string} value
8572
+ * @return {!proto.user.GoogleLoginRequest} returns this
8573
+ */
8574
+ proto.user.GoogleLoginRequest.prototype.setCode = function(value) {
8575
+ return jspb.Message.setProto3StringField(this, 1, value);
8576
+ };
8577
+
8578
+
8579
+ /**
8580
+ * optional string redirect_uri = 2;
8581
+ * @return {string}
8582
+ */
8583
+ proto.user.GoogleLoginRequest.prototype.getRedirectUri = function() {
8584
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8585
+ };
8586
+
8587
+
8588
+ /**
8589
+ * @param {string} value
8590
+ * @return {!proto.user.GoogleLoginRequest} returns this
8591
+ */
8592
+ proto.user.GoogleLoginRequest.prototype.setRedirectUri = function(value) {
8593
+ return jspb.Message.setProto3StringField(this, 2, value);
8594
+ };
8595
+
8596
+
8597
+ /**
8598
+ * optional string user_ip = 3;
8599
+ * @return {string}
8600
+ */
8601
+ proto.user.GoogleLoginRequest.prototype.getUserIp = function() {
8602
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8603
+ };
8604
+
8605
+
8606
+ /**
8607
+ * @param {string} value
8608
+ * @return {!proto.user.GoogleLoginRequest} returns this
8609
+ */
8610
+ proto.user.GoogleLoginRequest.prototype.setUserIp = function(value) {
8611
+ return jspb.Message.setField(this, 3, value);
8612
+ };
8613
+
8614
+
8615
+ /**
8616
+ * Clears the field making it undefined.
8617
+ * @return {!proto.user.GoogleLoginRequest} returns this
8618
+ */
8619
+ proto.user.GoogleLoginRequest.prototype.clearUserIp = function() {
8620
+ return jspb.Message.setField(this, 3, undefined);
8621
+ };
8622
+
8623
+
8624
+ /**
8625
+ * Returns whether this field is set.
8626
+ * @return {boolean}
8627
+ */
8628
+ proto.user.GoogleLoginRequest.prototype.hasUserIp = function() {
8629
+ return jspb.Message.getField(this, 3) != null;
8630
+ };
8631
+
8632
+
8633
+ /**
8634
+ * optional string device = 4;
8635
+ * @return {string}
8636
+ */
8637
+ proto.user.GoogleLoginRequest.prototype.getDevice = function() {
8638
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8639
+ };
8640
+
8641
+
8642
+ /**
8643
+ * @param {string} value
8644
+ * @return {!proto.user.GoogleLoginRequest} returns this
8645
+ */
8646
+ proto.user.GoogleLoginRequest.prototype.setDevice = function(value) {
8647
+ return jspb.Message.setField(this, 4, value);
8648
+ };
8649
+
8650
+
8651
+ /**
8652
+ * Clears the field making it undefined.
8653
+ * @return {!proto.user.GoogleLoginRequest} returns this
8654
+ */
8655
+ proto.user.GoogleLoginRequest.prototype.clearDevice = function() {
8656
+ return jspb.Message.setField(this, 4, undefined);
8657
+ };
8658
+
8659
+
8660
+ /**
8661
+ * Returns whether this field is set.
8662
+ * @return {boolean}
8663
+ */
8664
+ proto.user.GoogleLoginRequest.prototype.hasDevice = function() {
8665
+ return jspb.Message.getField(this, 4) != null;
8666
+ };
8667
+
8668
+
8669
+ /**
8670
+ * optional string country = 5;
8671
+ * @return {string}
8672
+ */
8673
+ proto.user.GoogleLoginRequest.prototype.getCountry = function() {
8674
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
8675
+ };
8676
+
8677
+
8678
+ /**
8679
+ * @param {string} value
8680
+ * @return {!proto.user.GoogleLoginRequest} returns this
8681
+ */
8682
+ proto.user.GoogleLoginRequest.prototype.setCountry = function(value) {
8683
+ return jspb.Message.setField(this, 5, value);
8684
+ };
8685
+
8686
+
8687
+ /**
8688
+ * Clears the field making it undefined.
8689
+ * @return {!proto.user.GoogleLoginRequest} returns this
8690
+ */
8691
+ proto.user.GoogleLoginRequest.prototype.clearCountry = function() {
8692
+ return jspb.Message.setField(this, 5, undefined);
8693
+ };
8694
+
8695
+
8696
+ /**
8697
+ * Returns whether this field is set.
8698
+ * @return {boolean}
8699
+ */
8700
+ proto.user.GoogleLoginRequest.prototype.hasCountry = function() {
8701
+ return jspb.Message.getField(this, 5) != null;
8702
+ };
8703
+
8704
+
8705
+ /**
8706
+ * optional string city = 6;
8707
+ * @return {string}
8708
+ */
8709
+ proto.user.GoogleLoginRequest.prototype.getCity = function() {
8710
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8711
+ };
8712
+
8713
+
8714
+ /**
8715
+ * @param {string} value
8716
+ * @return {!proto.user.GoogleLoginRequest} returns this
8717
+ */
8718
+ proto.user.GoogleLoginRequest.prototype.setCity = function(value) {
8719
+ return jspb.Message.setField(this, 6, value);
8720
+ };
8721
+
8722
+
8723
+ /**
8724
+ * Clears the field making it undefined.
8725
+ * @return {!proto.user.GoogleLoginRequest} returns this
8726
+ */
8727
+ proto.user.GoogleLoginRequest.prototype.clearCity = function() {
8728
+ return jspb.Message.setField(this, 6, undefined);
8729
+ };
8730
+
8731
+
8732
+ /**
8733
+ * Returns whether this field is set.
8734
+ * @return {boolean}
8735
+ */
8736
+ proto.user.GoogleLoginRequest.prototype.hasCity = function() {
8737
+ return jspb.Message.getField(this, 6) != null;
8738
+ };
8739
+
8740
+
8741
+ /**
8742
+ * optional string timezone = 7;
8743
+ * @return {string}
8744
+ */
8745
+ proto.user.GoogleLoginRequest.prototype.getTimezone = function() {
8746
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
8747
+ };
8748
+
8749
+
8750
+ /**
8751
+ * @param {string} value
8752
+ * @return {!proto.user.GoogleLoginRequest} returns this
8753
+ */
8754
+ proto.user.GoogleLoginRequest.prototype.setTimezone = function(value) {
8755
+ return jspb.Message.setField(this, 7, value);
8756
+ };
8757
+
8758
+
8759
+ /**
8760
+ * Clears the field making it undefined.
8761
+ * @return {!proto.user.GoogleLoginRequest} returns this
8762
+ */
8763
+ proto.user.GoogleLoginRequest.prototype.clearTimezone = function() {
8764
+ return jspb.Message.setField(this, 7, undefined);
8765
+ };
8766
+
8767
+
8768
+ /**
8769
+ * Returns whether this field is set.
8770
+ * @return {boolean}
8771
+ */
8772
+ proto.user.GoogleLoginRequest.prototype.hasTimezone = function() {
8773
+ return jspb.Message.getField(this, 7) != null;
8774
+ };
8775
+
8776
+
8777
+ /**
8778
+ * optional string locale = 8;
8779
+ * @return {string}
8780
+ */
8781
+ proto.user.GoogleLoginRequest.prototype.getLocale = function() {
8782
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
8783
+ };
8784
+
8785
+
8786
+ /**
8787
+ * @param {string} value
8788
+ * @return {!proto.user.GoogleLoginRequest} returns this
8789
+ */
8790
+ proto.user.GoogleLoginRequest.prototype.setLocale = function(value) {
8791
+ return jspb.Message.setField(this, 8, value);
8792
+ };
8793
+
8794
+
8795
+ /**
8796
+ * Clears the field making it undefined.
8797
+ * @return {!proto.user.GoogleLoginRequest} returns this
8798
+ */
8799
+ proto.user.GoogleLoginRequest.prototype.clearLocale = function() {
8800
+ return jspb.Message.setField(this, 8, undefined);
8801
+ };
8802
+
8803
+
8804
+ /**
8805
+ * Returns whether this field is set.
8806
+ * @return {boolean}
8807
+ */
8808
+ proto.user.GoogleLoginRequest.prototype.hasLocale = function() {
8809
+ return jspb.Message.getField(this, 8) != null;
8810
+ };
8811
+
8812
+
8813
+ /**
8814
+ * optional int32 affiliate_id = 9;
8815
+ * @return {number}
8816
+ */
8817
+ proto.user.GoogleLoginRequest.prototype.getAffiliateId = function() {
8818
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
8819
+ };
8820
+
8821
+
8822
+ /**
8823
+ * @param {number} value
8824
+ * @return {!proto.user.GoogleLoginRequest} returns this
8825
+ */
8826
+ proto.user.GoogleLoginRequest.prototype.setAffiliateId = function(value) {
8827
+ return jspb.Message.setField(this, 9, value);
8828
+ };
8829
+
8830
+
8831
+ /**
8832
+ * Clears the field making it undefined.
8833
+ * @return {!proto.user.GoogleLoginRequest} returns this
8834
+ */
8835
+ proto.user.GoogleLoginRequest.prototype.clearAffiliateId = function() {
8836
+ return jspb.Message.setField(this, 9, undefined);
8837
+ };
8838
+
8839
+
8840
+ /**
8841
+ * Returns whether this field is set.
8842
+ * @return {boolean}
8843
+ */
8844
+ proto.user.GoogleLoginRequest.prototype.hasAffiliateId = function() {
8845
+ return jspb.Message.getField(this, 9) != null;
8846
+ };
8847
+
8848
+
8849
+ /**
8850
+ * optional string affiliate_info = 10;
8851
+ * @return {string}
8852
+ */
8853
+ proto.user.GoogleLoginRequest.prototype.getAffiliateInfo = function() {
8854
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8855
+ };
8856
+
8857
+
8858
+ /**
8859
+ * @param {string} value
8860
+ * @return {!proto.user.GoogleLoginRequest} returns this
8861
+ */
8862
+ proto.user.GoogleLoginRequest.prototype.setAffiliateInfo = function(value) {
8863
+ return jspb.Message.setField(this, 10, value);
8864
+ };
8865
+
8866
+
8867
+ /**
8868
+ * Clears the field making it undefined.
8869
+ * @return {!proto.user.GoogleLoginRequest} returns this
8870
+ */
8871
+ proto.user.GoogleLoginRequest.prototype.clearAffiliateInfo = function() {
8872
+ return jspb.Message.setField(this, 10, undefined);
8873
+ };
8874
+
8875
+
8876
+ /**
8877
+ * Returns whether this field is set.
8878
+ * @return {boolean}
8879
+ */
8880
+ proto.user.GoogleLoginRequest.prototype.hasAffiliateInfo = function() {
8881
+ return jspb.Message.getField(this, 10) != null;
8882
+ };
8883
+
8884
+
8885
+ /**
8886
+ * optional string promo_code = 11;
8887
+ * @return {string}
8888
+ */
8889
+ proto.user.GoogleLoginRequest.prototype.getPromoCode = function() {
8890
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
8891
+ };
8892
+
8893
+
8894
+ /**
8895
+ * @param {string} value
8896
+ * @return {!proto.user.GoogleLoginRequest} returns this
8897
+ */
8898
+ proto.user.GoogleLoginRequest.prototype.setPromoCode = function(value) {
8899
+ return jspb.Message.setField(this, 11, value);
8900
+ };
8901
+
8902
+
8903
+ /**
8904
+ * Clears the field making it undefined.
8905
+ * @return {!proto.user.GoogleLoginRequest} returns this
8906
+ */
8907
+ proto.user.GoogleLoginRequest.prototype.clearPromoCode = function() {
8908
+ return jspb.Message.setField(this, 11, undefined);
8909
+ };
8910
+
8911
+
8912
+ /**
8913
+ * Returns whether this field is set.
8914
+ * @return {boolean}
8915
+ */
8916
+ proto.user.GoogleLoginRequest.prototype.hasPromoCode = function() {
8917
+ return jspb.Message.getField(this, 11) != null;
8918
+ };
8919
+
8920
+
8921
+ /**
8922
+ * optional string seon_session = 12;
8923
+ * @return {string}
8924
+ */
8925
+ proto.user.GoogleLoginRequest.prototype.getSeonSession = function() {
8926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
8927
+ };
8928
+
8929
+
8930
+ /**
8931
+ * @param {string} value
8932
+ * @return {!proto.user.GoogleLoginRequest} returns this
8933
+ */
8934
+ proto.user.GoogleLoginRequest.prototype.setSeonSession = function(value) {
8935
+ return jspb.Message.setField(this, 12, value);
8936
+ };
8937
+
8938
+
8939
+ /**
8940
+ * Clears the field making it undefined.
8941
+ * @return {!proto.user.GoogleLoginRequest} returns this
8942
+ */
8943
+ proto.user.GoogleLoginRequest.prototype.clearSeonSession = function() {
8944
+ return jspb.Message.setField(this, 12, undefined);
8945
+ };
8946
+
8947
+
8948
+ /**
8949
+ * Returns whether this field is set.
8950
+ * @return {boolean}
8951
+ */
8952
+ proto.user.GoogleLoginRequest.prototype.hasSeonSession = function() {
8953
+ return jspb.Message.getField(this, 12) != null;
8954
+ };
8955
+
8956
+
8957
+ /**
8958
+ * optional string request_id = 13;
8959
+ * @return {string}
8960
+ */
8961
+ proto.user.GoogleLoginRequest.prototype.getRequestId = function() {
8962
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
8963
+ };
8964
+
8965
+
8966
+ /**
8967
+ * @param {string} value
8968
+ * @return {!proto.user.GoogleLoginRequest} returns this
8969
+ */
8970
+ proto.user.GoogleLoginRequest.prototype.setRequestId = function(value) {
8971
+ return jspb.Message.setField(this, 13, value);
8972
+ };
8973
+
8974
+
8975
+ /**
8976
+ * Clears the field making it undefined.
8977
+ * @return {!proto.user.GoogleLoginRequest} returns this
8978
+ */
8979
+ proto.user.GoogleLoginRequest.prototype.clearRequestId = function() {
8980
+ return jspb.Message.setField(this, 13, undefined);
8981
+ };
8982
+
8983
+
8984
+ /**
8985
+ * Returns whether this field is set.
8986
+ * @return {boolean}
8987
+ */
8988
+ proto.user.GoogleLoginRequest.prototype.hasRequestId = function() {
8989
+ return jspb.Message.getField(this, 13) != null;
8990
+ };
8991
+
8992
+
8993
+ /**
8994
+ * optional string correlation_id = 14;
8995
+ * @return {string}
8996
+ */
8997
+ proto.user.GoogleLoginRequest.prototype.getCorrelationId = function() {
8998
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
8999
+ };
9000
+
9001
+
9002
+ /**
9003
+ * @param {string} value
9004
+ * @return {!proto.user.GoogleLoginRequest} returns this
9005
+ */
9006
+ proto.user.GoogleLoginRequest.prototype.setCorrelationId = function(value) {
9007
+ return jspb.Message.setField(this, 14, value);
9008
+ };
9009
+
9010
+
9011
+ /**
9012
+ * Clears the field making it undefined.
9013
+ * @return {!proto.user.GoogleLoginRequest} returns this
9014
+ */
9015
+ proto.user.GoogleLoginRequest.prototype.clearCorrelationId = function() {
9016
+ return jspb.Message.setField(this, 14, undefined);
9017
+ };
9018
+
9019
+
9020
+ /**
9021
+ * Returns whether this field is set.
9022
+ * @return {boolean}
9023
+ */
9024
+ proto.user.GoogleLoginRequest.prototype.hasCorrelationId = function() {
9025
+ return jspb.Message.getField(this, 14) != null;
9026
+ };
9027
+
9028
+
9029
+ /**
9030
+ * optional string user_agent = 15;
9031
+ * @return {string}
9032
+ */
9033
+ proto.user.GoogleLoginRequest.prototype.getUserAgent = function() {
9034
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
9035
+ };
9036
+
9037
+
9038
+ /**
9039
+ * @param {string} value
9040
+ * @return {!proto.user.GoogleLoginRequest} returns this
9041
+ */
9042
+ proto.user.GoogleLoginRequest.prototype.setUserAgent = function(value) {
9043
+ return jspb.Message.setField(this, 15, value);
9044
+ };
9045
+
9046
+
9047
+ /**
9048
+ * Clears the field making it undefined.
9049
+ * @return {!proto.user.GoogleLoginRequest} returns this
9050
+ */
9051
+ proto.user.GoogleLoginRequest.prototype.clearUserAgent = function() {
9052
+ return jspb.Message.setField(this, 15, undefined);
9053
+ };
9054
+
9055
+
9056
+ /**
9057
+ * Returns whether this field is set.
9058
+ * @return {boolean}
9059
+ */
9060
+ proto.user.GoogleLoginRequest.prototype.hasUserAgent = function() {
9061
+ return jspb.Message.getField(this, 15) != null;
9062
+ };
9063
+
9064
+
9065
+
9066
+
9067
+
9068
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9069
+ /**
9070
+ * Creates an object representation of this proto.
9071
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9072
+ * Optional fields that are not set will be set to undefined.
9073
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9074
+ * For the list of reserved names please see:
9075
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9076
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9077
+ * JSPB instance for transitional soy proto support:
9078
+ * http://goto/soy-param-migration
9079
+ * @return {!Object}
9080
+ */
9081
+ proto.user.AppleLoginRequest.prototype.toObject = function(opt_includeInstance) {
9082
+ return proto.user.AppleLoginRequest.toObject(opt_includeInstance, this);
9083
+ };
9084
+
9085
+
9086
+ /**
9087
+ * Static version of the {@see toObject} method.
9088
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9089
+ * the JSPB instance for transitional soy proto support:
9090
+ * http://goto/soy-param-migration
9091
+ * @param {!proto.user.AppleLoginRequest} msg The msg instance to transform.
9092
+ * @return {!Object}
9093
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9094
+ */
9095
+ proto.user.AppleLoginRequest.toObject = function(includeInstance, msg) {
9096
+ var f, obj = {
9097
+ code: jspb.Message.getFieldWithDefault(msg, 1, ""),
9098
+ redirectUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
9099
+ userIp: jspb.Message.getFieldWithDefault(msg, 3, ""),
9100
+ device: jspb.Message.getFieldWithDefault(msg, 4, ""),
9101
+ country: jspb.Message.getFieldWithDefault(msg, 5, ""),
9102
+ city: jspb.Message.getFieldWithDefault(msg, 6, ""),
9103
+ timezone: jspb.Message.getFieldWithDefault(msg, 7, ""),
9104
+ locale: jspb.Message.getFieldWithDefault(msg, 8, ""),
9105
+ affiliateId: jspb.Message.getFieldWithDefault(msg, 9, 0),
9106
+ affiliateInfo: jspb.Message.getFieldWithDefault(msg, 10, ""),
9107
+ promoCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
9108
+ seonSession: jspb.Message.getFieldWithDefault(msg, 12, ""),
9109
+ requestId: jspb.Message.getFieldWithDefault(msg, 13, ""),
9110
+ correlationId: jspb.Message.getFieldWithDefault(msg, 14, ""),
9111
+ userAgent: jspb.Message.getFieldWithDefault(msg, 15, ""),
9112
+ identityToken: jspb.Message.getFieldWithDefault(msg, 16, ""),
9113
+ firstName: jspb.Message.getFieldWithDefault(msg, 17, ""),
9114
+ lastName: jspb.Message.getFieldWithDefault(msg, 18, ""),
9115
+ email: jspb.Message.getFieldWithDefault(msg, 19, ""),
9116
+ nonce: jspb.Message.getFieldWithDefault(msg, 20, "")
9117
+ };
9118
+
9119
+ if (includeInstance) {
9120
+ obj.$jspbMessageInstance = msg;
9121
+ }
9122
+ return obj;
9123
+ };
9124
+ }
9125
+
9126
+
9127
+ /**
9128
+ * Deserializes binary data (in protobuf wire format).
9129
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9130
+ * @return {!proto.user.AppleLoginRequest}
9131
+ */
9132
+ proto.user.AppleLoginRequest.deserializeBinary = function(bytes) {
9133
+ var reader = new jspb.BinaryReader(bytes);
9134
+ var msg = new proto.user.AppleLoginRequest;
9135
+ return proto.user.AppleLoginRequest.deserializeBinaryFromReader(msg, reader);
9136
+ };
9137
+
9138
+
9139
+ /**
9140
+ * Deserializes binary data (in protobuf wire format) from the
9141
+ * given reader into the given message object.
9142
+ * @param {!proto.user.AppleLoginRequest} msg The message object to deserialize into.
9143
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9144
+ * @return {!proto.user.AppleLoginRequest}
9145
+ */
9146
+ proto.user.AppleLoginRequest.deserializeBinaryFromReader = function(msg, reader) {
9147
+ while (reader.nextField()) {
9148
+ if (reader.isEndGroup()) {
9149
+ break;
9150
+ }
9151
+ var field = reader.getFieldNumber();
9152
+ switch (field) {
9153
+ case 1:
9154
+ var value = /** @type {string} */ (reader.readString());
9155
+ msg.setCode(value);
9156
+ break;
9157
+ case 2:
9158
+ var value = /** @type {string} */ (reader.readString());
9159
+ msg.setRedirectUri(value);
9160
+ break;
9161
+ case 3:
9162
+ var value = /** @type {string} */ (reader.readString());
9163
+ msg.setUserIp(value);
9164
+ break;
9165
+ case 4:
9166
+ var value = /** @type {string} */ (reader.readString());
9167
+ msg.setDevice(value);
9168
+ break;
9169
+ case 5:
9170
+ var value = /** @type {string} */ (reader.readString());
9171
+ msg.setCountry(value);
9172
+ break;
9173
+ case 6:
9174
+ var value = /** @type {string} */ (reader.readString());
9175
+ msg.setCity(value);
9176
+ break;
9177
+ case 7:
9178
+ var value = /** @type {string} */ (reader.readString());
9179
+ msg.setTimezone(value);
9180
+ break;
9181
+ case 8:
9182
+ var value = /** @type {string} */ (reader.readString());
9183
+ msg.setLocale(value);
9184
+ break;
9185
+ case 9:
9186
+ var value = /** @type {number} */ (reader.readInt32());
9187
+ msg.setAffiliateId(value);
9188
+ break;
9189
+ case 10:
9190
+ var value = /** @type {string} */ (reader.readString());
9191
+ msg.setAffiliateInfo(value);
9192
+ break;
9193
+ case 11:
9194
+ var value = /** @type {string} */ (reader.readString());
9195
+ msg.setPromoCode(value);
9196
+ break;
9197
+ case 12:
9198
+ var value = /** @type {string} */ (reader.readString());
9199
+ msg.setSeonSession(value);
9200
+ break;
9201
+ case 13:
9202
+ var value = /** @type {string} */ (reader.readString());
9203
+ msg.setRequestId(value);
9204
+ break;
9205
+ case 14:
9206
+ var value = /** @type {string} */ (reader.readString());
9207
+ msg.setCorrelationId(value);
9208
+ break;
9209
+ case 15:
9210
+ var value = /** @type {string} */ (reader.readString());
9211
+ msg.setUserAgent(value);
9212
+ break;
9213
+ case 16:
9214
+ var value = /** @type {string} */ (reader.readString());
9215
+ msg.setIdentityToken(value);
9216
+ break;
9217
+ case 17:
9218
+ var value = /** @type {string} */ (reader.readString());
9219
+ msg.setFirstName(value);
9220
+ break;
9221
+ case 18:
9222
+ var value = /** @type {string} */ (reader.readString());
9223
+ msg.setLastName(value);
9224
+ break;
9225
+ case 19:
9226
+ var value = /** @type {string} */ (reader.readString());
9227
+ msg.setEmail(value);
9228
+ break;
9229
+ case 20:
9230
+ var value = /** @type {string} */ (reader.readString());
9231
+ msg.setNonce(value);
9232
+ break;
9233
+ default:
9234
+ reader.skipField();
9235
+ break;
9236
+ }
9237
+ }
9238
+ return msg;
9239
+ };
9240
+
9241
+
9242
+ /**
9243
+ * Serializes the message to binary data (in protobuf wire format).
9244
+ * @return {!Uint8Array}
9245
+ */
9246
+ proto.user.AppleLoginRequest.prototype.serializeBinary = function() {
9247
+ var writer = new jspb.BinaryWriter();
9248
+ proto.user.AppleLoginRequest.serializeBinaryToWriter(this, writer);
9249
+ return writer.getResultBuffer();
9250
+ };
9251
+
9252
+
9253
+ /**
9254
+ * Serializes the given message to binary data (in protobuf wire
9255
+ * format), writing to the given BinaryWriter.
9256
+ * @param {!proto.user.AppleLoginRequest} message
9257
+ * @param {!jspb.BinaryWriter} writer
9258
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9259
+ */
9260
+ proto.user.AppleLoginRequest.serializeBinaryToWriter = function(message, writer) {
9261
+ var f = undefined;
9262
+ f = message.getCode();
9263
+ if (f.length > 0) {
9264
+ writer.writeString(
9265
+ 1,
9266
+ f
9267
+ );
9268
+ }
9269
+ f = message.getRedirectUri();
9270
+ if (f.length > 0) {
9271
+ writer.writeString(
9272
+ 2,
9273
+ f
9274
+ );
9275
+ }
9276
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
9277
+ if (f != null) {
9278
+ writer.writeString(
9279
+ 3,
9280
+ f
9281
+ );
9282
+ }
9283
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
9284
+ if (f != null) {
9285
+ writer.writeString(
9286
+ 4,
9287
+ f
9288
+ );
9289
+ }
9290
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
9291
+ if (f != null) {
9292
+ writer.writeString(
9293
+ 5,
9294
+ f
9295
+ );
9296
+ }
9297
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
9298
+ if (f != null) {
9299
+ writer.writeString(
9300
+ 6,
9301
+ f
9302
+ );
9303
+ }
9304
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
9305
+ if (f != null) {
9306
+ writer.writeString(
9307
+ 7,
9308
+ f
9309
+ );
9310
+ }
9311
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
9312
+ if (f != null) {
9313
+ writer.writeString(
9314
+ 8,
9315
+ f
9316
+ );
9317
+ }
9318
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
9319
+ if (f != null) {
9320
+ writer.writeInt32(
9321
+ 9,
9322
+ f
9323
+ );
9324
+ }
9325
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
9326
+ if (f != null) {
9327
+ writer.writeString(
9328
+ 10,
9329
+ f
9330
+ );
9331
+ }
9332
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
9333
+ if (f != null) {
9334
+ writer.writeString(
9335
+ 11,
9336
+ f
9337
+ );
9338
+ }
9339
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
9340
+ if (f != null) {
9341
+ writer.writeString(
9342
+ 12,
9343
+ f
9344
+ );
9345
+ }
9346
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
9347
+ if (f != null) {
9348
+ writer.writeString(
9349
+ 13,
9350
+ f
9351
+ );
9352
+ }
9353
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
9354
+ if (f != null) {
9355
+ writer.writeString(
9356
+ 14,
9357
+ f
9358
+ );
9359
+ }
9360
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
9361
+ if (f != null) {
9362
+ writer.writeString(
9363
+ 15,
9364
+ f
9365
+ );
9366
+ }
9367
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
9368
+ if (f != null) {
9369
+ writer.writeString(
9370
+ 16,
9371
+ f
9372
+ );
9373
+ }
9374
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
9375
+ if (f != null) {
9376
+ writer.writeString(
9377
+ 17,
9378
+ f
9379
+ );
9380
+ }
9381
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
9382
+ if (f != null) {
9383
+ writer.writeString(
9384
+ 18,
9385
+ f
9386
+ );
9387
+ }
9388
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
9389
+ if (f != null) {
9390
+ writer.writeString(
9391
+ 19,
9392
+ f
9393
+ );
9394
+ }
9395
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
9396
+ if (f != null) {
9397
+ writer.writeString(
9398
+ 20,
9399
+ f
9400
+ );
9401
+ }
9402
+ };
9403
+
9404
+
9405
+ /**
9406
+ * optional string code = 1;
9407
+ * @return {string}
9408
+ */
9409
+ proto.user.AppleLoginRequest.prototype.getCode = function() {
8544
9410
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8545
9411
  };
8546
9412
 
8547
9413
 
8548
9414
  /**
8549
9415
  * @param {string} value
8550
- * @return {!proto.user.GoogleLoginRequest} returns this
9416
+ * @return {!proto.user.AppleLoginRequest} returns this
8551
9417
  */
8552
- proto.user.GoogleLoginRequest.prototype.setCode = function(value) {
9418
+ proto.user.AppleLoginRequest.prototype.setCode = function(value) {
8553
9419
  return jspb.Message.setProto3StringField(this, 1, value);
8554
9420
  };
8555
9421
 
@@ -8558,16 +9424,16 @@ proto.user.GoogleLoginRequest.prototype.setCode = function(value) {
8558
9424
  * optional string redirect_uri = 2;
8559
9425
  * @return {string}
8560
9426
  */
8561
- proto.user.GoogleLoginRequest.prototype.getRedirectUri = function() {
9427
+ proto.user.AppleLoginRequest.prototype.getRedirectUri = function() {
8562
9428
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8563
9429
  };
8564
9430
 
8565
9431
 
8566
9432
  /**
8567
9433
  * @param {string} value
8568
- * @return {!proto.user.GoogleLoginRequest} returns this
9434
+ * @return {!proto.user.AppleLoginRequest} returns this
8569
9435
  */
8570
- proto.user.GoogleLoginRequest.prototype.setRedirectUri = function(value) {
9436
+ proto.user.AppleLoginRequest.prototype.setRedirectUri = function(value) {
8571
9437
  return jspb.Message.setProto3StringField(this, 2, value);
8572
9438
  };
8573
9439
 
@@ -8576,25 +9442,25 @@ proto.user.GoogleLoginRequest.prototype.setRedirectUri = function(value) {
8576
9442
  * optional string user_ip = 3;
8577
9443
  * @return {string}
8578
9444
  */
8579
- proto.user.GoogleLoginRequest.prototype.getUserIp = function() {
9445
+ proto.user.AppleLoginRequest.prototype.getUserIp = function() {
8580
9446
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8581
9447
  };
8582
9448
 
8583
9449
 
8584
9450
  /**
8585
9451
  * @param {string} value
8586
- * @return {!proto.user.GoogleLoginRequest} returns this
9452
+ * @return {!proto.user.AppleLoginRequest} returns this
8587
9453
  */
8588
- proto.user.GoogleLoginRequest.prototype.setUserIp = function(value) {
9454
+ proto.user.AppleLoginRequest.prototype.setUserIp = function(value) {
8589
9455
  return jspb.Message.setField(this, 3, value);
8590
9456
  };
8591
9457
 
8592
9458
 
8593
9459
  /**
8594
9460
  * Clears the field making it undefined.
8595
- * @return {!proto.user.GoogleLoginRequest} returns this
9461
+ * @return {!proto.user.AppleLoginRequest} returns this
8596
9462
  */
8597
- proto.user.GoogleLoginRequest.prototype.clearUserIp = function() {
9463
+ proto.user.AppleLoginRequest.prototype.clearUserIp = function() {
8598
9464
  return jspb.Message.setField(this, 3, undefined);
8599
9465
  };
8600
9466
 
@@ -8603,7 +9469,7 @@ proto.user.GoogleLoginRequest.prototype.clearUserIp = function() {
8603
9469
  * Returns whether this field is set.
8604
9470
  * @return {boolean}
8605
9471
  */
8606
- proto.user.GoogleLoginRequest.prototype.hasUserIp = function() {
9472
+ proto.user.AppleLoginRequest.prototype.hasUserIp = function() {
8607
9473
  return jspb.Message.getField(this, 3) != null;
8608
9474
  };
8609
9475
 
@@ -8612,25 +9478,25 @@ proto.user.GoogleLoginRequest.prototype.hasUserIp = function() {
8612
9478
  * optional string device = 4;
8613
9479
  * @return {string}
8614
9480
  */
8615
- proto.user.GoogleLoginRequest.prototype.getDevice = function() {
9481
+ proto.user.AppleLoginRequest.prototype.getDevice = function() {
8616
9482
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8617
9483
  };
8618
9484
 
8619
9485
 
8620
9486
  /**
8621
9487
  * @param {string} value
8622
- * @return {!proto.user.GoogleLoginRequest} returns this
9488
+ * @return {!proto.user.AppleLoginRequest} returns this
8623
9489
  */
8624
- proto.user.GoogleLoginRequest.prototype.setDevice = function(value) {
9490
+ proto.user.AppleLoginRequest.prototype.setDevice = function(value) {
8625
9491
  return jspb.Message.setField(this, 4, value);
8626
9492
  };
8627
9493
 
8628
9494
 
8629
9495
  /**
8630
9496
  * Clears the field making it undefined.
8631
- * @return {!proto.user.GoogleLoginRequest} returns this
9497
+ * @return {!proto.user.AppleLoginRequest} returns this
8632
9498
  */
8633
- proto.user.GoogleLoginRequest.prototype.clearDevice = function() {
9499
+ proto.user.AppleLoginRequest.prototype.clearDevice = function() {
8634
9500
  return jspb.Message.setField(this, 4, undefined);
8635
9501
  };
8636
9502
 
@@ -8639,7 +9505,7 @@ proto.user.GoogleLoginRequest.prototype.clearDevice = function() {
8639
9505
  * Returns whether this field is set.
8640
9506
  * @return {boolean}
8641
9507
  */
8642
- proto.user.GoogleLoginRequest.prototype.hasDevice = function() {
9508
+ proto.user.AppleLoginRequest.prototype.hasDevice = function() {
8643
9509
  return jspb.Message.getField(this, 4) != null;
8644
9510
  };
8645
9511
 
@@ -8648,25 +9514,25 @@ proto.user.GoogleLoginRequest.prototype.hasDevice = function() {
8648
9514
  * optional string country = 5;
8649
9515
  * @return {string}
8650
9516
  */
8651
- proto.user.GoogleLoginRequest.prototype.getCountry = function() {
9517
+ proto.user.AppleLoginRequest.prototype.getCountry = function() {
8652
9518
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
8653
9519
  };
8654
9520
 
8655
9521
 
8656
9522
  /**
8657
9523
  * @param {string} value
8658
- * @return {!proto.user.GoogleLoginRequest} returns this
9524
+ * @return {!proto.user.AppleLoginRequest} returns this
8659
9525
  */
8660
- proto.user.GoogleLoginRequest.prototype.setCountry = function(value) {
9526
+ proto.user.AppleLoginRequest.prototype.setCountry = function(value) {
8661
9527
  return jspb.Message.setField(this, 5, value);
8662
9528
  };
8663
9529
 
8664
9530
 
8665
9531
  /**
8666
9532
  * Clears the field making it undefined.
8667
- * @return {!proto.user.GoogleLoginRequest} returns this
9533
+ * @return {!proto.user.AppleLoginRequest} returns this
8668
9534
  */
8669
- proto.user.GoogleLoginRequest.prototype.clearCountry = function() {
9535
+ proto.user.AppleLoginRequest.prototype.clearCountry = function() {
8670
9536
  return jspb.Message.setField(this, 5, undefined);
8671
9537
  };
8672
9538
 
@@ -8675,7 +9541,7 @@ proto.user.GoogleLoginRequest.prototype.clearCountry = function() {
8675
9541
  * Returns whether this field is set.
8676
9542
  * @return {boolean}
8677
9543
  */
8678
- proto.user.GoogleLoginRequest.prototype.hasCountry = function() {
9544
+ proto.user.AppleLoginRequest.prototype.hasCountry = function() {
8679
9545
  return jspb.Message.getField(this, 5) != null;
8680
9546
  };
8681
9547
 
@@ -8684,25 +9550,25 @@ proto.user.GoogleLoginRequest.prototype.hasCountry = function() {
8684
9550
  * optional string city = 6;
8685
9551
  * @return {string}
8686
9552
  */
8687
- proto.user.GoogleLoginRequest.prototype.getCity = function() {
9553
+ proto.user.AppleLoginRequest.prototype.getCity = function() {
8688
9554
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8689
9555
  };
8690
9556
 
8691
9557
 
8692
9558
  /**
8693
9559
  * @param {string} value
8694
- * @return {!proto.user.GoogleLoginRequest} returns this
9560
+ * @return {!proto.user.AppleLoginRequest} returns this
8695
9561
  */
8696
- proto.user.GoogleLoginRequest.prototype.setCity = function(value) {
9562
+ proto.user.AppleLoginRequest.prototype.setCity = function(value) {
8697
9563
  return jspb.Message.setField(this, 6, value);
8698
9564
  };
8699
9565
 
8700
9566
 
8701
9567
  /**
8702
9568
  * Clears the field making it undefined.
8703
- * @return {!proto.user.GoogleLoginRequest} returns this
9569
+ * @return {!proto.user.AppleLoginRequest} returns this
8704
9570
  */
8705
- proto.user.GoogleLoginRequest.prototype.clearCity = function() {
9571
+ proto.user.AppleLoginRequest.prototype.clearCity = function() {
8706
9572
  return jspb.Message.setField(this, 6, undefined);
8707
9573
  };
8708
9574
 
@@ -8711,7 +9577,7 @@ proto.user.GoogleLoginRequest.prototype.clearCity = function() {
8711
9577
  * Returns whether this field is set.
8712
9578
  * @return {boolean}
8713
9579
  */
8714
- proto.user.GoogleLoginRequest.prototype.hasCity = function() {
9580
+ proto.user.AppleLoginRequest.prototype.hasCity = function() {
8715
9581
  return jspb.Message.getField(this, 6) != null;
8716
9582
  };
8717
9583
 
@@ -8720,25 +9586,25 @@ proto.user.GoogleLoginRequest.prototype.hasCity = function() {
8720
9586
  * optional string timezone = 7;
8721
9587
  * @return {string}
8722
9588
  */
8723
- proto.user.GoogleLoginRequest.prototype.getTimezone = function() {
9589
+ proto.user.AppleLoginRequest.prototype.getTimezone = function() {
8724
9590
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
8725
9591
  };
8726
9592
 
8727
9593
 
8728
9594
  /**
8729
9595
  * @param {string} value
8730
- * @return {!proto.user.GoogleLoginRequest} returns this
9596
+ * @return {!proto.user.AppleLoginRequest} returns this
8731
9597
  */
8732
- proto.user.GoogleLoginRequest.prototype.setTimezone = function(value) {
9598
+ proto.user.AppleLoginRequest.prototype.setTimezone = function(value) {
8733
9599
  return jspb.Message.setField(this, 7, value);
8734
9600
  };
8735
9601
 
8736
9602
 
8737
9603
  /**
8738
9604
  * Clears the field making it undefined.
8739
- * @return {!proto.user.GoogleLoginRequest} returns this
9605
+ * @return {!proto.user.AppleLoginRequest} returns this
8740
9606
  */
8741
- proto.user.GoogleLoginRequest.prototype.clearTimezone = function() {
9607
+ proto.user.AppleLoginRequest.prototype.clearTimezone = function() {
8742
9608
  return jspb.Message.setField(this, 7, undefined);
8743
9609
  };
8744
9610
 
@@ -8747,7 +9613,7 @@ proto.user.GoogleLoginRequest.prototype.clearTimezone = function() {
8747
9613
  * Returns whether this field is set.
8748
9614
  * @return {boolean}
8749
9615
  */
8750
- proto.user.GoogleLoginRequest.prototype.hasTimezone = function() {
9616
+ proto.user.AppleLoginRequest.prototype.hasTimezone = function() {
8751
9617
  return jspb.Message.getField(this, 7) != null;
8752
9618
  };
8753
9619
 
@@ -8756,25 +9622,25 @@ proto.user.GoogleLoginRequest.prototype.hasTimezone = function() {
8756
9622
  * optional string locale = 8;
8757
9623
  * @return {string}
8758
9624
  */
8759
- proto.user.GoogleLoginRequest.prototype.getLocale = function() {
9625
+ proto.user.AppleLoginRequest.prototype.getLocale = function() {
8760
9626
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
8761
9627
  };
8762
9628
 
8763
9629
 
8764
9630
  /**
8765
9631
  * @param {string} value
8766
- * @return {!proto.user.GoogleLoginRequest} returns this
9632
+ * @return {!proto.user.AppleLoginRequest} returns this
8767
9633
  */
8768
- proto.user.GoogleLoginRequest.prototype.setLocale = function(value) {
9634
+ proto.user.AppleLoginRequest.prototype.setLocale = function(value) {
8769
9635
  return jspb.Message.setField(this, 8, value);
8770
9636
  };
8771
9637
 
8772
9638
 
8773
9639
  /**
8774
9640
  * Clears the field making it undefined.
8775
- * @return {!proto.user.GoogleLoginRequest} returns this
9641
+ * @return {!proto.user.AppleLoginRequest} returns this
8776
9642
  */
8777
- proto.user.GoogleLoginRequest.prototype.clearLocale = function() {
9643
+ proto.user.AppleLoginRequest.prototype.clearLocale = function() {
8778
9644
  return jspb.Message.setField(this, 8, undefined);
8779
9645
  };
8780
9646
 
@@ -8783,7 +9649,7 @@ proto.user.GoogleLoginRequest.prototype.clearLocale = function() {
8783
9649
  * Returns whether this field is set.
8784
9650
  * @return {boolean}
8785
9651
  */
8786
- proto.user.GoogleLoginRequest.prototype.hasLocale = function() {
9652
+ proto.user.AppleLoginRequest.prototype.hasLocale = function() {
8787
9653
  return jspb.Message.getField(this, 8) != null;
8788
9654
  };
8789
9655
 
@@ -8792,25 +9658,25 @@ proto.user.GoogleLoginRequest.prototype.hasLocale = function() {
8792
9658
  * optional int32 affiliate_id = 9;
8793
9659
  * @return {number}
8794
9660
  */
8795
- proto.user.GoogleLoginRequest.prototype.getAffiliateId = function() {
9661
+ proto.user.AppleLoginRequest.prototype.getAffiliateId = function() {
8796
9662
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
8797
9663
  };
8798
9664
 
8799
9665
 
8800
9666
  /**
8801
9667
  * @param {number} value
8802
- * @return {!proto.user.GoogleLoginRequest} returns this
9668
+ * @return {!proto.user.AppleLoginRequest} returns this
8803
9669
  */
8804
- proto.user.GoogleLoginRequest.prototype.setAffiliateId = function(value) {
9670
+ proto.user.AppleLoginRequest.prototype.setAffiliateId = function(value) {
8805
9671
  return jspb.Message.setField(this, 9, value);
8806
9672
  };
8807
9673
 
8808
9674
 
8809
9675
  /**
8810
9676
  * Clears the field making it undefined.
8811
- * @return {!proto.user.GoogleLoginRequest} returns this
9677
+ * @return {!proto.user.AppleLoginRequest} returns this
8812
9678
  */
8813
- proto.user.GoogleLoginRequest.prototype.clearAffiliateId = function() {
9679
+ proto.user.AppleLoginRequest.prototype.clearAffiliateId = function() {
8814
9680
  return jspb.Message.setField(this, 9, undefined);
8815
9681
  };
8816
9682
 
@@ -8819,7 +9685,7 @@ proto.user.GoogleLoginRequest.prototype.clearAffiliateId = function() {
8819
9685
  * Returns whether this field is set.
8820
9686
  * @return {boolean}
8821
9687
  */
8822
- proto.user.GoogleLoginRequest.prototype.hasAffiliateId = function() {
9688
+ proto.user.AppleLoginRequest.prototype.hasAffiliateId = function() {
8823
9689
  return jspb.Message.getField(this, 9) != null;
8824
9690
  };
8825
9691
 
@@ -8828,25 +9694,25 @@ proto.user.GoogleLoginRequest.prototype.hasAffiliateId = function() {
8828
9694
  * optional string affiliate_info = 10;
8829
9695
  * @return {string}
8830
9696
  */
8831
- proto.user.GoogleLoginRequest.prototype.getAffiliateInfo = function() {
9697
+ proto.user.AppleLoginRequest.prototype.getAffiliateInfo = function() {
8832
9698
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8833
9699
  };
8834
9700
 
8835
9701
 
8836
9702
  /**
8837
9703
  * @param {string} value
8838
- * @return {!proto.user.GoogleLoginRequest} returns this
9704
+ * @return {!proto.user.AppleLoginRequest} returns this
8839
9705
  */
8840
- proto.user.GoogleLoginRequest.prototype.setAffiliateInfo = function(value) {
9706
+ proto.user.AppleLoginRequest.prototype.setAffiliateInfo = function(value) {
8841
9707
  return jspb.Message.setField(this, 10, value);
8842
9708
  };
8843
9709
 
8844
9710
 
8845
9711
  /**
8846
9712
  * Clears the field making it undefined.
8847
- * @return {!proto.user.GoogleLoginRequest} returns this
9713
+ * @return {!proto.user.AppleLoginRequest} returns this
8848
9714
  */
8849
- proto.user.GoogleLoginRequest.prototype.clearAffiliateInfo = function() {
9715
+ proto.user.AppleLoginRequest.prototype.clearAffiliateInfo = function() {
8850
9716
  return jspb.Message.setField(this, 10, undefined);
8851
9717
  };
8852
9718
 
@@ -8855,7 +9721,7 @@ proto.user.GoogleLoginRequest.prototype.clearAffiliateInfo = function() {
8855
9721
  * Returns whether this field is set.
8856
9722
  * @return {boolean}
8857
9723
  */
8858
- proto.user.GoogleLoginRequest.prototype.hasAffiliateInfo = function() {
9724
+ proto.user.AppleLoginRequest.prototype.hasAffiliateInfo = function() {
8859
9725
  return jspb.Message.getField(this, 10) != null;
8860
9726
  };
8861
9727
 
@@ -8864,25 +9730,25 @@ proto.user.GoogleLoginRequest.prototype.hasAffiliateInfo = function() {
8864
9730
  * optional string promo_code = 11;
8865
9731
  * @return {string}
8866
9732
  */
8867
- proto.user.GoogleLoginRequest.prototype.getPromoCode = function() {
9733
+ proto.user.AppleLoginRequest.prototype.getPromoCode = function() {
8868
9734
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
8869
9735
  };
8870
9736
 
8871
9737
 
8872
9738
  /**
8873
9739
  * @param {string} value
8874
- * @return {!proto.user.GoogleLoginRequest} returns this
9740
+ * @return {!proto.user.AppleLoginRequest} returns this
8875
9741
  */
8876
- proto.user.GoogleLoginRequest.prototype.setPromoCode = function(value) {
9742
+ proto.user.AppleLoginRequest.prototype.setPromoCode = function(value) {
8877
9743
  return jspb.Message.setField(this, 11, value);
8878
9744
  };
8879
9745
 
8880
9746
 
8881
9747
  /**
8882
9748
  * Clears the field making it undefined.
8883
- * @return {!proto.user.GoogleLoginRequest} returns this
9749
+ * @return {!proto.user.AppleLoginRequest} returns this
8884
9750
  */
8885
- proto.user.GoogleLoginRequest.prototype.clearPromoCode = function() {
9751
+ proto.user.AppleLoginRequest.prototype.clearPromoCode = function() {
8886
9752
  return jspb.Message.setField(this, 11, undefined);
8887
9753
  };
8888
9754
 
@@ -8891,7 +9757,7 @@ proto.user.GoogleLoginRequest.prototype.clearPromoCode = function() {
8891
9757
  * Returns whether this field is set.
8892
9758
  * @return {boolean}
8893
9759
  */
8894
- proto.user.GoogleLoginRequest.prototype.hasPromoCode = function() {
9760
+ proto.user.AppleLoginRequest.prototype.hasPromoCode = function() {
8895
9761
  return jspb.Message.getField(this, 11) != null;
8896
9762
  };
8897
9763
 
@@ -8900,25 +9766,25 @@ proto.user.GoogleLoginRequest.prototype.hasPromoCode = function() {
8900
9766
  * optional string seon_session = 12;
8901
9767
  * @return {string}
8902
9768
  */
8903
- proto.user.GoogleLoginRequest.prototype.getSeonSession = function() {
9769
+ proto.user.AppleLoginRequest.prototype.getSeonSession = function() {
8904
9770
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
8905
9771
  };
8906
9772
 
8907
9773
 
8908
9774
  /**
8909
9775
  * @param {string} value
8910
- * @return {!proto.user.GoogleLoginRequest} returns this
9776
+ * @return {!proto.user.AppleLoginRequest} returns this
8911
9777
  */
8912
- proto.user.GoogleLoginRequest.prototype.setSeonSession = function(value) {
9778
+ proto.user.AppleLoginRequest.prototype.setSeonSession = function(value) {
8913
9779
  return jspb.Message.setField(this, 12, value);
8914
9780
  };
8915
9781
 
8916
9782
 
8917
9783
  /**
8918
9784
  * Clears the field making it undefined.
8919
- * @return {!proto.user.GoogleLoginRequest} returns this
9785
+ * @return {!proto.user.AppleLoginRequest} returns this
8920
9786
  */
8921
- proto.user.GoogleLoginRequest.prototype.clearSeonSession = function() {
9787
+ proto.user.AppleLoginRequest.prototype.clearSeonSession = function() {
8922
9788
  return jspb.Message.setField(this, 12, undefined);
8923
9789
  };
8924
9790
 
@@ -8927,7 +9793,7 @@ proto.user.GoogleLoginRequest.prototype.clearSeonSession = function() {
8927
9793
  * Returns whether this field is set.
8928
9794
  * @return {boolean}
8929
9795
  */
8930
- proto.user.GoogleLoginRequest.prototype.hasSeonSession = function() {
9796
+ proto.user.AppleLoginRequest.prototype.hasSeonSession = function() {
8931
9797
  return jspb.Message.getField(this, 12) != null;
8932
9798
  };
8933
9799
 
@@ -8936,25 +9802,25 @@ proto.user.GoogleLoginRequest.prototype.hasSeonSession = function() {
8936
9802
  * optional string request_id = 13;
8937
9803
  * @return {string}
8938
9804
  */
8939
- proto.user.GoogleLoginRequest.prototype.getRequestId = function() {
9805
+ proto.user.AppleLoginRequest.prototype.getRequestId = function() {
8940
9806
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
8941
9807
  };
8942
9808
 
8943
9809
 
8944
9810
  /**
8945
9811
  * @param {string} value
8946
- * @return {!proto.user.GoogleLoginRequest} returns this
9812
+ * @return {!proto.user.AppleLoginRequest} returns this
8947
9813
  */
8948
- proto.user.GoogleLoginRequest.prototype.setRequestId = function(value) {
9814
+ proto.user.AppleLoginRequest.prototype.setRequestId = function(value) {
8949
9815
  return jspb.Message.setField(this, 13, value);
8950
9816
  };
8951
9817
 
8952
9818
 
8953
9819
  /**
8954
9820
  * Clears the field making it undefined.
8955
- * @return {!proto.user.GoogleLoginRequest} returns this
9821
+ * @return {!proto.user.AppleLoginRequest} returns this
8956
9822
  */
8957
- proto.user.GoogleLoginRequest.prototype.clearRequestId = function() {
9823
+ proto.user.AppleLoginRequest.prototype.clearRequestId = function() {
8958
9824
  return jspb.Message.setField(this, 13, undefined);
8959
9825
  };
8960
9826
 
@@ -8963,7 +9829,7 @@ proto.user.GoogleLoginRequest.prototype.clearRequestId = function() {
8963
9829
  * Returns whether this field is set.
8964
9830
  * @return {boolean}
8965
9831
  */
8966
- proto.user.GoogleLoginRequest.prototype.hasRequestId = function() {
9832
+ proto.user.AppleLoginRequest.prototype.hasRequestId = function() {
8967
9833
  return jspb.Message.getField(this, 13) != null;
8968
9834
  };
8969
9835
 
@@ -8972,25 +9838,25 @@ proto.user.GoogleLoginRequest.prototype.hasRequestId = function() {
8972
9838
  * optional string correlation_id = 14;
8973
9839
  * @return {string}
8974
9840
  */
8975
- proto.user.GoogleLoginRequest.prototype.getCorrelationId = function() {
9841
+ proto.user.AppleLoginRequest.prototype.getCorrelationId = function() {
8976
9842
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
8977
9843
  };
8978
9844
 
8979
9845
 
8980
9846
  /**
8981
9847
  * @param {string} value
8982
- * @return {!proto.user.GoogleLoginRequest} returns this
9848
+ * @return {!proto.user.AppleLoginRequest} returns this
8983
9849
  */
8984
- proto.user.GoogleLoginRequest.prototype.setCorrelationId = function(value) {
9850
+ proto.user.AppleLoginRequest.prototype.setCorrelationId = function(value) {
8985
9851
  return jspb.Message.setField(this, 14, value);
8986
9852
  };
8987
9853
 
8988
9854
 
8989
9855
  /**
8990
9856
  * Clears the field making it undefined.
8991
- * @return {!proto.user.GoogleLoginRequest} returns this
9857
+ * @return {!proto.user.AppleLoginRequest} returns this
8992
9858
  */
8993
- proto.user.GoogleLoginRequest.prototype.clearCorrelationId = function() {
9859
+ proto.user.AppleLoginRequest.prototype.clearCorrelationId = function() {
8994
9860
  return jspb.Message.setField(this, 14, undefined);
8995
9861
  };
8996
9862
 
@@ -8999,7 +9865,7 @@ proto.user.GoogleLoginRequest.prototype.clearCorrelationId = function() {
8999
9865
  * Returns whether this field is set.
9000
9866
  * @return {boolean}
9001
9867
  */
9002
- proto.user.GoogleLoginRequest.prototype.hasCorrelationId = function() {
9868
+ proto.user.AppleLoginRequest.prototype.hasCorrelationId = function() {
9003
9869
  return jspb.Message.getField(this, 14) != null;
9004
9870
  };
9005
9871
 
@@ -9008,25 +9874,25 @@ proto.user.GoogleLoginRequest.prototype.hasCorrelationId = function() {
9008
9874
  * optional string user_agent = 15;
9009
9875
  * @return {string}
9010
9876
  */
9011
- proto.user.GoogleLoginRequest.prototype.getUserAgent = function() {
9877
+ proto.user.AppleLoginRequest.prototype.getUserAgent = function() {
9012
9878
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
9013
9879
  };
9014
9880
 
9015
9881
 
9016
9882
  /**
9017
9883
  * @param {string} value
9018
- * @return {!proto.user.GoogleLoginRequest} returns this
9884
+ * @return {!proto.user.AppleLoginRequest} returns this
9019
9885
  */
9020
- proto.user.GoogleLoginRequest.prototype.setUserAgent = function(value) {
9886
+ proto.user.AppleLoginRequest.prototype.setUserAgent = function(value) {
9021
9887
  return jspb.Message.setField(this, 15, value);
9022
9888
  };
9023
9889
 
9024
9890
 
9025
9891
  /**
9026
9892
  * Clears the field making it undefined.
9027
- * @return {!proto.user.GoogleLoginRequest} returns this
9893
+ * @return {!proto.user.AppleLoginRequest} returns this
9028
9894
  */
9029
- proto.user.GoogleLoginRequest.prototype.clearUserAgent = function() {
9895
+ proto.user.AppleLoginRequest.prototype.clearUserAgent = function() {
9030
9896
  return jspb.Message.setField(this, 15, undefined);
9031
9897
  };
9032
9898
 
@@ -9035,11 +9901,191 @@ proto.user.GoogleLoginRequest.prototype.clearUserAgent = function() {
9035
9901
  * Returns whether this field is set.
9036
9902
  * @return {boolean}
9037
9903
  */
9038
- proto.user.GoogleLoginRequest.prototype.hasUserAgent = function() {
9904
+ proto.user.AppleLoginRequest.prototype.hasUserAgent = function() {
9039
9905
  return jspb.Message.getField(this, 15) != null;
9040
9906
  };
9041
9907
 
9042
9908
 
9909
+ /**
9910
+ * optional string identity_token = 16;
9911
+ * @return {string}
9912
+ */
9913
+ proto.user.AppleLoginRequest.prototype.getIdentityToken = function() {
9914
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
9915
+ };
9916
+
9917
+
9918
+ /**
9919
+ * @param {string} value
9920
+ * @return {!proto.user.AppleLoginRequest} returns this
9921
+ */
9922
+ proto.user.AppleLoginRequest.prototype.setIdentityToken = function(value) {
9923
+ return jspb.Message.setField(this, 16, value);
9924
+ };
9925
+
9926
+
9927
+ /**
9928
+ * Clears the field making it undefined.
9929
+ * @return {!proto.user.AppleLoginRequest} returns this
9930
+ */
9931
+ proto.user.AppleLoginRequest.prototype.clearIdentityToken = function() {
9932
+ return jspb.Message.setField(this, 16, undefined);
9933
+ };
9934
+
9935
+
9936
+ /**
9937
+ * Returns whether this field is set.
9938
+ * @return {boolean}
9939
+ */
9940
+ proto.user.AppleLoginRequest.prototype.hasIdentityToken = function() {
9941
+ return jspb.Message.getField(this, 16) != null;
9942
+ };
9943
+
9944
+
9945
+ /**
9946
+ * optional string first_name = 17;
9947
+ * @return {string}
9948
+ */
9949
+ proto.user.AppleLoginRequest.prototype.getFirstName = function() {
9950
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
9951
+ };
9952
+
9953
+
9954
+ /**
9955
+ * @param {string} value
9956
+ * @return {!proto.user.AppleLoginRequest} returns this
9957
+ */
9958
+ proto.user.AppleLoginRequest.prototype.setFirstName = function(value) {
9959
+ return jspb.Message.setField(this, 17, value);
9960
+ };
9961
+
9962
+
9963
+ /**
9964
+ * Clears the field making it undefined.
9965
+ * @return {!proto.user.AppleLoginRequest} returns this
9966
+ */
9967
+ proto.user.AppleLoginRequest.prototype.clearFirstName = function() {
9968
+ return jspb.Message.setField(this, 17, undefined);
9969
+ };
9970
+
9971
+
9972
+ /**
9973
+ * Returns whether this field is set.
9974
+ * @return {boolean}
9975
+ */
9976
+ proto.user.AppleLoginRequest.prototype.hasFirstName = function() {
9977
+ return jspb.Message.getField(this, 17) != null;
9978
+ };
9979
+
9980
+
9981
+ /**
9982
+ * optional string last_name = 18;
9983
+ * @return {string}
9984
+ */
9985
+ proto.user.AppleLoginRequest.prototype.getLastName = function() {
9986
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
9987
+ };
9988
+
9989
+
9990
+ /**
9991
+ * @param {string} value
9992
+ * @return {!proto.user.AppleLoginRequest} returns this
9993
+ */
9994
+ proto.user.AppleLoginRequest.prototype.setLastName = function(value) {
9995
+ return jspb.Message.setField(this, 18, value);
9996
+ };
9997
+
9998
+
9999
+ /**
10000
+ * Clears the field making it undefined.
10001
+ * @return {!proto.user.AppleLoginRequest} returns this
10002
+ */
10003
+ proto.user.AppleLoginRequest.prototype.clearLastName = function() {
10004
+ return jspb.Message.setField(this, 18, undefined);
10005
+ };
10006
+
10007
+
10008
+ /**
10009
+ * Returns whether this field is set.
10010
+ * @return {boolean}
10011
+ */
10012
+ proto.user.AppleLoginRequest.prototype.hasLastName = function() {
10013
+ return jspb.Message.getField(this, 18) != null;
10014
+ };
10015
+
10016
+
10017
+ /**
10018
+ * optional string email = 19;
10019
+ * @return {string}
10020
+ */
10021
+ proto.user.AppleLoginRequest.prototype.getEmail = function() {
10022
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
10023
+ };
10024
+
10025
+
10026
+ /**
10027
+ * @param {string} value
10028
+ * @return {!proto.user.AppleLoginRequest} returns this
10029
+ */
10030
+ proto.user.AppleLoginRequest.prototype.setEmail = function(value) {
10031
+ return jspb.Message.setField(this, 19, value);
10032
+ };
10033
+
10034
+
10035
+ /**
10036
+ * Clears the field making it undefined.
10037
+ * @return {!proto.user.AppleLoginRequest} returns this
10038
+ */
10039
+ proto.user.AppleLoginRequest.prototype.clearEmail = function() {
10040
+ return jspb.Message.setField(this, 19, undefined);
10041
+ };
10042
+
10043
+
10044
+ /**
10045
+ * Returns whether this field is set.
10046
+ * @return {boolean}
10047
+ */
10048
+ proto.user.AppleLoginRequest.prototype.hasEmail = function() {
10049
+ return jspb.Message.getField(this, 19) != null;
10050
+ };
10051
+
10052
+
10053
+ /**
10054
+ * optional string nonce = 20;
10055
+ * @return {string}
10056
+ */
10057
+ proto.user.AppleLoginRequest.prototype.getNonce = function() {
10058
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
10059
+ };
10060
+
10061
+
10062
+ /**
10063
+ * @param {string} value
10064
+ * @return {!proto.user.AppleLoginRequest} returns this
10065
+ */
10066
+ proto.user.AppleLoginRequest.prototype.setNonce = function(value) {
10067
+ return jspb.Message.setField(this, 20, value);
10068
+ };
10069
+
10070
+
10071
+ /**
10072
+ * Clears the field making it undefined.
10073
+ * @return {!proto.user.AppleLoginRequest} returns this
10074
+ */
10075
+ proto.user.AppleLoginRequest.prototype.clearNonce = function() {
10076
+ return jspb.Message.setField(this, 20, undefined);
10077
+ };
10078
+
10079
+
10080
+ /**
10081
+ * Returns whether this field is set.
10082
+ * @return {boolean}
10083
+ */
10084
+ proto.user.AppleLoginRequest.prototype.hasNonce = function() {
10085
+ return jspb.Message.getField(this, 20) != null;
10086
+ };
10087
+
10088
+
9043
10089
 
9044
10090
 
9045
10091
 
@@ -41047,7 +42093,8 @@ proto.user.IngestUserKycDocumentToProviderRequest.toObject = function(includeIns
41047
42093
  var f, obj = {
41048
42094
  userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
41049
42095
  documentId: jspb.Message.getFieldWithDefault(msg, 2, 0),
41050
- correlationId: jspb.Message.getFieldWithDefault(msg, 3, "")
42096
+ correlationId: jspb.Message.getFieldWithDefault(msg, 3, ""),
42097
+ documentCountry: jspb.Message.getFieldWithDefault(msg, 4, "")
41051
42098
  };
41052
42099
 
41053
42100
  if (includeInstance) {
@@ -41096,6 +42143,10 @@ proto.user.IngestUserKycDocumentToProviderRequest.deserializeBinaryFromReader =
41096
42143
  var value = /** @type {string} */ (reader.readString());
41097
42144
  msg.setCorrelationId(value);
41098
42145
  break;
42146
+ case 4:
42147
+ var value = /** @type {string} */ (reader.readString());
42148
+ msg.setDocumentCountry(value);
42149
+ break;
41099
42150
  default:
41100
42151
  reader.skipField();
41101
42152
  break;
@@ -41146,6 +42197,13 @@ proto.user.IngestUserKycDocumentToProviderRequest.serializeBinaryToWriter = func
41146
42197
  f
41147
42198
  );
41148
42199
  }
42200
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
42201
+ if (f != null) {
42202
+ writer.writeString(
42203
+ 4,
42204
+ f
42205
+ );
42206
+ }
41149
42207
  };
41150
42208
 
41151
42209
 
@@ -41221,6 +42279,42 @@ proto.user.IngestUserKycDocumentToProviderRequest.prototype.hasCorrelationId = f
41221
42279
  };
41222
42280
 
41223
42281
 
42282
+ /**
42283
+ * optional string document_country = 4;
42284
+ * @return {string}
42285
+ */
42286
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.getDocumentCountry = function() {
42287
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
42288
+ };
42289
+
42290
+
42291
+ /**
42292
+ * @param {string} value
42293
+ * @return {!proto.user.IngestUserKycDocumentToProviderRequest} returns this
42294
+ */
42295
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.setDocumentCountry = function(value) {
42296
+ return jspb.Message.setField(this, 4, value);
42297
+ };
42298
+
42299
+
42300
+ /**
42301
+ * Clears the field making it undefined.
42302
+ * @return {!proto.user.IngestUserKycDocumentToProviderRequest} returns this
42303
+ */
42304
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.clearDocumentCountry = function() {
42305
+ return jspb.Message.setField(this, 4, undefined);
42306
+ };
42307
+
42308
+
42309
+ /**
42310
+ * Returns whether this field is set.
42311
+ * @return {boolean}
42312
+ */
42313
+ proto.user.IngestUserKycDocumentToProviderRequest.prototype.hasDocumentCountry = function() {
42314
+ return jspb.Message.getField(this, 4) != null;
42315
+ };
42316
+
42317
+
41224
42318
 
41225
42319
 
41226
42320