protobuf-platform 1.2.280 → 1.2.281

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
@@ -26,6 +26,8 @@ goog.exportSymbol('proto.user.BatchGetAffiliateAttributionRequest', null, global
26
26
  goog.exportSymbol('proto.user.BatchGetAffiliateAttributionResponse', null, global);
27
27
  goog.exportSymbol('proto.user.CategoryItem', null, global);
28
28
  goog.exportSymbol('proto.user.CategoryItemsResponse', null, global);
29
+ goog.exportSymbol('proto.user.CheckMissingProfileFieldsRequest', null, global);
30
+ goog.exportSymbol('proto.user.CheckMissingProfileFieldsResponse', null, global);
29
31
  goog.exportSymbol('proto.user.ConfirmTwoFaRequest', null, global);
30
32
  goog.exportSymbol('proto.user.ConfirmationStatusResponse', null, global);
31
33
  goog.exportSymbol('proto.user.DashboardRequest', null, global);
@@ -85,6 +87,7 @@ goog.exportSymbol('proto.user.SumSubDocumentRequest.RequestCase', null, global);
85
87
  goog.exportSymbol('proto.user.SumSubResponse', null, global);
86
88
  goog.exportSymbol('proto.user.TelegramLoginRequest', null, global);
87
89
  goog.exportSymbol('proto.user.TournamentRulesInfoResponse', null, global);
90
+ goog.exportSymbol('proto.user.UpdatePreDepositProfileFieldsRequest', null, global);
88
91
  goog.exportSymbol('proto.user.UserActionRequest', null, global);
89
92
  goog.exportSymbol('proto.user.UserActionResponse', null, global);
90
93
  goog.exportSymbol('proto.user.UserAffiliateAttributionRequest', null, global);
@@ -634,6 +637,69 @@ if (goog.DEBUG && !COMPILED) {
634
637
  */
635
638
  proto.user.UserStatusResponse.displayName = 'proto.user.UserStatusResponse';
636
639
  }
640
+ /**
641
+ * Generated by JsPbCodeGenerator.
642
+ * @param {Array=} opt_data Optional initial data array, typically from a
643
+ * server response, or constructed directly in Javascript. The array is used
644
+ * in place and becomes part of the constructed object. It is not cloned.
645
+ * If no data is provided, the constructed object will be empty, but still
646
+ * valid.
647
+ * @extends {jspb.Message}
648
+ * @constructor
649
+ */
650
+ proto.user.CheckMissingProfileFieldsRequest = function(opt_data) {
651
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.CheckMissingProfileFieldsRequest.repeatedFields_, null);
652
+ };
653
+ goog.inherits(proto.user.CheckMissingProfileFieldsRequest, jspb.Message);
654
+ if (goog.DEBUG && !COMPILED) {
655
+ /**
656
+ * @public
657
+ * @override
658
+ */
659
+ proto.user.CheckMissingProfileFieldsRequest.displayName = 'proto.user.CheckMissingProfileFieldsRequest';
660
+ }
661
+ /**
662
+ * Generated by JsPbCodeGenerator.
663
+ * @param {Array=} opt_data Optional initial data array, typically from a
664
+ * server response, or constructed directly in Javascript. The array is used
665
+ * in place and becomes part of the constructed object. It is not cloned.
666
+ * If no data is provided, the constructed object will be empty, but still
667
+ * valid.
668
+ * @extends {jspb.Message}
669
+ * @constructor
670
+ */
671
+ proto.user.CheckMissingProfileFieldsResponse = function(opt_data) {
672
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.CheckMissingProfileFieldsResponse.repeatedFields_, null);
673
+ };
674
+ goog.inherits(proto.user.CheckMissingProfileFieldsResponse, jspb.Message);
675
+ if (goog.DEBUG && !COMPILED) {
676
+ /**
677
+ * @public
678
+ * @override
679
+ */
680
+ proto.user.CheckMissingProfileFieldsResponse.displayName = 'proto.user.CheckMissingProfileFieldsResponse';
681
+ }
682
+ /**
683
+ * Generated by JsPbCodeGenerator.
684
+ * @param {Array=} opt_data Optional initial data array, typically from a
685
+ * server response, or constructed directly in Javascript. The array is used
686
+ * in place and becomes part of the constructed object. It is not cloned.
687
+ * If no data is provided, the constructed object will be empty, but still
688
+ * valid.
689
+ * @extends {jspb.Message}
690
+ * @constructor
691
+ */
692
+ proto.user.UpdatePreDepositProfileFieldsRequest = function(opt_data) {
693
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
694
+ };
695
+ goog.inherits(proto.user.UpdatePreDepositProfileFieldsRequest, jspb.Message);
696
+ if (goog.DEBUG && !COMPILED) {
697
+ /**
698
+ * @public
699
+ * @override
700
+ */
701
+ proto.user.UpdatePreDepositProfileFieldsRequest.displayName = 'proto.user.UpdatePreDepositProfileFieldsRequest';
702
+ }
637
703
  /**
638
704
  * Generated by JsPbCodeGenerator.
639
705
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13728,6 +13794,814 @@ proto.user.UserStatusResponse.prototype.setStatus = function(value) {
13728
13794
 
13729
13795
 
13730
13796
 
13797
+ /**
13798
+ * List of repeated fields within this message type.
13799
+ * @private {!Array<number>}
13800
+ * @const
13801
+ */
13802
+ proto.user.CheckMissingProfileFieldsRequest.repeatedFields_ = [2];
13803
+
13804
+
13805
+
13806
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13807
+ /**
13808
+ * Creates an object representation of this proto.
13809
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13810
+ * Optional fields that are not set will be set to undefined.
13811
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13812
+ * For the list of reserved names please see:
13813
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13814
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13815
+ * JSPB instance for transitional soy proto support:
13816
+ * http://goto/soy-param-migration
13817
+ * @return {!Object}
13818
+ */
13819
+ proto.user.CheckMissingProfileFieldsRequest.prototype.toObject = function(opt_includeInstance) {
13820
+ return proto.user.CheckMissingProfileFieldsRequest.toObject(opt_includeInstance, this);
13821
+ };
13822
+
13823
+
13824
+ /**
13825
+ * Static version of the {@see toObject} method.
13826
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13827
+ * the JSPB instance for transitional soy proto support:
13828
+ * http://goto/soy-param-migration
13829
+ * @param {!proto.user.CheckMissingProfileFieldsRequest} msg The msg instance to transform.
13830
+ * @return {!Object}
13831
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13832
+ */
13833
+ proto.user.CheckMissingProfileFieldsRequest.toObject = function(includeInstance, msg) {
13834
+ var f, obj = {
13835
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
13836
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
13837
+ };
13838
+
13839
+ if (includeInstance) {
13840
+ obj.$jspbMessageInstance = msg;
13841
+ }
13842
+ return obj;
13843
+ };
13844
+ }
13845
+
13846
+
13847
+ /**
13848
+ * Deserializes binary data (in protobuf wire format).
13849
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13850
+ * @return {!proto.user.CheckMissingProfileFieldsRequest}
13851
+ */
13852
+ proto.user.CheckMissingProfileFieldsRequest.deserializeBinary = function(bytes) {
13853
+ var reader = new jspb.BinaryReader(bytes);
13854
+ var msg = new proto.user.CheckMissingProfileFieldsRequest;
13855
+ return proto.user.CheckMissingProfileFieldsRequest.deserializeBinaryFromReader(msg, reader);
13856
+ };
13857
+
13858
+
13859
+ /**
13860
+ * Deserializes binary data (in protobuf wire format) from the
13861
+ * given reader into the given message object.
13862
+ * @param {!proto.user.CheckMissingProfileFieldsRequest} msg The message object to deserialize into.
13863
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13864
+ * @return {!proto.user.CheckMissingProfileFieldsRequest}
13865
+ */
13866
+ proto.user.CheckMissingProfileFieldsRequest.deserializeBinaryFromReader = function(msg, reader) {
13867
+ while (reader.nextField()) {
13868
+ if (reader.isEndGroup()) {
13869
+ break;
13870
+ }
13871
+ var field = reader.getFieldNumber();
13872
+ switch (field) {
13873
+ case 1:
13874
+ var value = /** @type {number} */ (reader.readInt32());
13875
+ msg.setUserId(value);
13876
+ break;
13877
+ case 2:
13878
+ var value = /** @type {string} */ (reader.readString());
13879
+ msg.addFields(value);
13880
+ break;
13881
+ default:
13882
+ reader.skipField();
13883
+ break;
13884
+ }
13885
+ }
13886
+ return msg;
13887
+ };
13888
+
13889
+
13890
+ /**
13891
+ * Serializes the message to binary data (in protobuf wire format).
13892
+ * @return {!Uint8Array}
13893
+ */
13894
+ proto.user.CheckMissingProfileFieldsRequest.prototype.serializeBinary = function() {
13895
+ var writer = new jspb.BinaryWriter();
13896
+ proto.user.CheckMissingProfileFieldsRequest.serializeBinaryToWriter(this, writer);
13897
+ return writer.getResultBuffer();
13898
+ };
13899
+
13900
+
13901
+ /**
13902
+ * Serializes the given message to binary data (in protobuf wire
13903
+ * format), writing to the given BinaryWriter.
13904
+ * @param {!proto.user.CheckMissingProfileFieldsRequest} message
13905
+ * @param {!jspb.BinaryWriter} writer
13906
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13907
+ */
13908
+ proto.user.CheckMissingProfileFieldsRequest.serializeBinaryToWriter = function(message, writer) {
13909
+ var f = undefined;
13910
+ f = message.getUserId();
13911
+ if (f !== 0) {
13912
+ writer.writeInt32(
13913
+ 1,
13914
+ f
13915
+ );
13916
+ }
13917
+ f = message.getFieldsList();
13918
+ if (f.length > 0) {
13919
+ writer.writeRepeatedString(
13920
+ 2,
13921
+ f
13922
+ );
13923
+ }
13924
+ };
13925
+
13926
+
13927
+ /**
13928
+ * optional int32 user_id = 1;
13929
+ * @return {number}
13930
+ */
13931
+ proto.user.CheckMissingProfileFieldsRequest.prototype.getUserId = function() {
13932
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
13933
+ };
13934
+
13935
+
13936
+ /**
13937
+ * @param {number} value
13938
+ * @return {!proto.user.CheckMissingProfileFieldsRequest} returns this
13939
+ */
13940
+ proto.user.CheckMissingProfileFieldsRequest.prototype.setUserId = function(value) {
13941
+ return jspb.Message.setProto3IntField(this, 1, value);
13942
+ };
13943
+
13944
+
13945
+ /**
13946
+ * repeated string fields = 2;
13947
+ * @return {!Array<string>}
13948
+ */
13949
+ proto.user.CheckMissingProfileFieldsRequest.prototype.getFieldsList = function() {
13950
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
13951
+ };
13952
+
13953
+
13954
+ /**
13955
+ * @param {!Array<string>} value
13956
+ * @return {!proto.user.CheckMissingProfileFieldsRequest} returns this
13957
+ */
13958
+ proto.user.CheckMissingProfileFieldsRequest.prototype.setFieldsList = function(value) {
13959
+ return jspb.Message.setField(this, 2, value || []);
13960
+ };
13961
+
13962
+
13963
+ /**
13964
+ * @param {string} value
13965
+ * @param {number=} opt_index
13966
+ * @return {!proto.user.CheckMissingProfileFieldsRequest} returns this
13967
+ */
13968
+ proto.user.CheckMissingProfileFieldsRequest.prototype.addFields = function(value, opt_index) {
13969
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
13970
+ };
13971
+
13972
+
13973
+ /**
13974
+ * Clears the list making it empty but non-null.
13975
+ * @return {!proto.user.CheckMissingProfileFieldsRequest} returns this
13976
+ */
13977
+ proto.user.CheckMissingProfileFieldsRequest.prototype.clearFieldsList = function() {
13978
+ return this.setFieldsList([]);
13979
+ };
13980
+
13981
+
13982
+
13983
+ /**
13984
+ * List of repeated fields within this message type.
13985
+ * @private {!Array<number>}
13986
+ * @const
13987
+ */
13988
+ proto.user.CheckMissingProfileFieldsResponse.repeatedFields_ = [1];
13989
+
13990
+
13991
+
13992
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13993
+ /**
13994
+ * Creates an object representation of this proto.
13995
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13996
+ * Optional fields that are not set will be set to undefined.
13997
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13998
+ * For the list of reserved names please see:
13999
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14000
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14001
+ * JSPB instance for transitional soy proto support:
14002
+ * http://goto/soy-param-migration
14003
+ * @return {!Object}
14004
+ */
14005
+ proto.user.CheckMissingProfileFieldsResponse.prototype.toObject = function(opt_includeInstance) {
14006
+ return proto.user.CheckMissingProfileFieldsResponse.toObject(opt_includeInstance, this);
14007
+ };
14008
+
14009
+
14010
+ /**
14011
+ * Static version of the {@see toObject} method.
14012
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14013
+ * the JSPB instance for transitional soy proto support:
14014
+ * http://goto/soy-param-migration
14015
+ * @param {!proto.user.CheckMissingProfileFieldsResponse} msg The msg instance to transform.
14016
+ * @return {!Object}
14017
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14018
+ */
14019
+ proto.user.CheckMissingProfileFieldsResponse.toObject = function(includeInstance, msg) {
14020
+ var f, obj = {
14021
+ missingFieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
14022
+ };
14023
+
14024
+ if (includeInstance) {
14025
+ obj.$jspbMessageInstance = msg;
14026
+ }
14027
+ return obj;
14028
+ };
14029
+ }
14030
+
14031
+
14032
+ /**
14033
+ * Deserializes binary data (in protobuf wire format).
14034
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14035
+ * @return {!proto.user.CheckMissingProfileFieldsResponse}
14036
+ */
14037
+ proto.user.CheckMissingProfileFieldsResponse.deserializeBinary = function(bytes) {
14038
+ var reader = new jspb.BinaryReader(bytes);
14039
+ var msg = new proto.user.CheckMissingProfileFieldsResponse;
14040
+ return proto.user.CheckMissingProfileFieldsResponse.deserializeBinaryFromReader(msg, reader);
14041
+ };
14042
+
14043
+
14044
+ /**
14045
+ * Deserializes binary data (in protobuf wire format) from the
14046
+ * given reader into the given message object.
14047
+ * @param {!proto.user.CheckMissingProfileFieldsResponse} msg The message object to deserialize into.
14048
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14049
+ * @return {!proto.user.CheckMissingProfileFieldsResponse}
14050
+ */
14051
+ proto.user.CheckMissingProfileFieldsResponse.deserializeBinaryFromReader = function(msg, reader) {
14052
+ while (reader.nextField()) {
14053
+ if (reader.isEndGroup()) {
14054
+ break;
14055
+ }
14056
+ var field = reader.getFieldNumber();
14057
+ switch (field) {
14058
+ case 1:
14059
+ var value = /** @type {string} */ (reader.readString());
14060
+ msg.addMissingFields(value);
14061
+ break;
14062
+ default:
14063
+ reader.skipField();
14064
+ break;
14065
+ }
14066
+ }
14067
+ return msg;
14068
+ };
14069
+
14070
+
14071
+ /**
14072
+ * Serializes the message to binary data (in protobuf wire format).
14073
+ * @return {!Uint8Array}
14074
+ */
14075
+ proto.user.CheckMissingProfileFieldsResponse.prototype.serializeBinary = function() {
14076
+ var writer = new jspb.BinaryWriter();
14077
+ proto.user.CheckMissingProfileFieldsResponse.serializeBinaryToWriter(this, writer);
14078
+ return writer.getResultBuffer();
14079
+ };
14080
+
14081
+
14082
+ /**
14083
+ * Serializes the given message to binary data (in protobuf wire
14084
+ * format), writing to the given BinaryWriter.
14085
+ * @param {!proto.user.CheckMissingProfileFieldsResponse} message
14086
+ * @param {!jspb.BinaryWriter} writer
14087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14088
+ */
14089
+ proto.user.CheckMissingProfileFieldsResponse.serializeBinaryToWriter = function(message, writer) {
14090
+ var f = undefined;
14091
+ f = message.getMissingFieldsList();
14092
+ if (f.length > 0) {
14093
+ writer.writeRepeatedString(
14094
+ 1,
14095
+ f
14096
+ );
14097
+ }
14098
+ };
14099
+
14100
+
14101
+ /**
14102
+ * repeated string missing_fields = 1;
14103
+ * @return {!Array<string>}
14104
+ */
14105
+ proto.user.CheckMissingProfileFieldsResponse.prototype.getMissingFieldsList = function() {
14106
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
14107
+ };
14108
+
14109
+
14110
+ /**
14111
+ * @param {!Array<string>} value
14112
+ * @return {!proto.user.CheckMissingProfileFieldsResponse} returns this
14113
+ */
14114
+ proto.user.CheckMissingProfileFieldsResponse.prototype.setMissingFieldsList = function(value) {
14115
+ return jspb.Message.setField(this, 1, value || []);
14116
+ };
14117
+
14118
+
14119
+ /**
14120
+ * @param {string} value
14121
+ * @param {number=} opt_index
14122
+ * @return {!proto.user.CheckMissingProfileFieldsResponse} returns this
14123
+ */
14124
+ proto.user.CheckMissingProfileFieldsResponse.prototype.addMissingFields = function(value, opt_index) {
14125
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
14126
+ };
14127
+
14128
+
14129
+ /**
14130
+ * Clears the list making it empty but non-null.
14131
+ * @return {!proto.user.CheckMissingProfileFieldsResponse} returns this
14132
+ */
14133
+ proto.user.CheckMissingProfileFieldsResponse.prototype.clearMissingFieldsList = function() {
14134
+ return this.setMissingFieldsList([]);
14135
+ };
14136
+
14137
+
14138
+
14139
+
14140
+
14141
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14142
+ /**
14143
+ * Creates an object representation of this proto.
14144
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14145
+ * Optional fields that are not set will be set to undefined.
14146
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14147
+ * For the list of reserved names please see:
14148
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14149
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14150
+ * JSPB instance for transitional soy proto support:
14151
+ * http://goto/soy-param-migration
14152
+ * @return {!Object}
14153
+ */
14154
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.toObject = function(opt_includeInstance) {
14155
+ return proto.user.UpdatePreDepositProfileFieldsRequest.toObject(opt_includeInstance, this);
14156
+ };
14157
+
14158
+
14159
+ /**
14160
+ * Static version of the {@see toObject} method.
14161
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14162
+ * the JSPB instance for transitional soy proto support:
14163
+ * http://goto/soy-param-migration
14164
+ * @param {!proto.user.UpdatePreDepositProfileFieldsRequest} msg The msg instance to transform.
14165
+ * @return {!Object}
14166
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14167
+ */
14168
+ proto.user.UpdatePreDepositProfileFieldsRequest.toObject = function(includeInstance, msg) {
14169
+ var f, obj = {
14170
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
14171
+ firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
14172
+ lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
14173
+ phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
14174
+ addressLine1: jspb.Message.getFieldWithDefault(msg, 5, ""),
14175
+ city: jspb.Message.getFieldWithDefault(msg, 6, ""),
14176
+ postalCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
14177
+ state: jspb.Message.getFieldWithDefault(msg, 8, "")
14178
+ };
14179
+
14180
+ if (includeInstance) {
14181
+ obj.$jspbMessageInstance = msg;
14182
+ }
14183
+ return obj;
14184
+ };
14185
+ }
14186
+
14187
+
14188
+ /**
14189
+ * Deserializes binary data (in protobuf wire format).
14190
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14191
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest}
14192
+ */
14193
+ proto.user.UpdatePreDepositProfileFieldsRequest.deserializeBinary = function(bytes) {
14194
+ var reader = new jspb.BinaryReader(bytes);
14195
+ var msg = new proto.user.UpdatePreDepositProfileFieldsRequest;
14196
+ return proto.user.UpdatePreDepositProfileFieldsRequest.deserializeBinaryFromReader(msg, reader);
14197
+ };
14198
+
14199
+
14200
+ /**
14201
+ * Deserializes binary data (in protobuf wire format) from the
14202
+ * given reader into the given message object.
14203
+ * @param {!proto.user.UpdatePreDepositProfileFieldsRequest} msg The message object to deserialize into.
14204
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14205
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest}
14206
+ */
14207
+ proto.user.UpdatePreDepositProfileFieldsRequest.deserializeBinaryFromReader = function(msg, reader) {
14208
+ while (reader.nextField()) {
14209
+ if (reader.isEndGroup()) {
14210
+ break;
14211
+ }
14212
+ var field = reader.getFieldNumber();
14213
+ switch (field) {
14214
+ case 1:
14215
+ var value = /** @type {number} */ (reader.readInt32());
14216
+ msg.setUserId(value);
14217
+ break;
14218
+ case 2:
14219
+ var value = /** @type {string} */ (reader.readString());
14220
+ msg.setFirstName(value);
14221
+ break;
14222
+ case 3:
14223
+ var value = /** @type {string} */ (reader.readString());
14224
+ msg.setLastName(value);
14225
+ break;
14226
+ case 4:
14227
+ var value = /** @type {string} */ (reader.readString());
14228
+ msg.setPhone(value);
14229
+ break;
14230
+ case 5:
14231
+ var value = /** @type {string} */ (reader.readString());
14232
+ msg.setAddressLine1(value);
14233
+ break;
14234
+ case 6:
14235
+ var value = /** @type {string} */ (reader.readString());
14236
+ msg.setCity(value);
14237
+ break;
14238
+ case 7:
14239
+ var value = /** @type {string} */ (reader.readString());
14240
+ msg.setPostalCode(value);
14241
+ break;
14242
+ case 8:
14243
+ var value = /** @type {string} */ (reader.readString());
14244
+ msg.setState(value);
14245
+ break;
14246
+ default:
14247
+ reader.skipField();
14248
+ break;
14249
+ }
14250
+ }
14251
+ return msg;
14252
+ };
14253
+
14254
+
14255
+ /**
14256
+ * Serializes the message to binary data (in protobuf wire format).
14257
+ * @return {!Uint8Array}
14258
+ */
14259
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.serializeBinary = function() {
14260
+ var writer = new jspb.BinaryWriter();
14261
+ proto.user.UpdatePreDepositProfileFieldsRequest.serializeBinaryToWriter(this, writer);
14262
+ return writer.getResultBuffer();
14263
+ };
14264
+
14265
+
14266
+ /**
14267
+ * Serializes the given message to binary data (in protobuf wire
14268
+ * format), writing to the given BinaryWriter.
14269
+ * @param {!proto.user.UpdatePreDepositProfileFieldsRequest} message
14270
+ * @param {!jspb.BinaryWriter} writer
14271
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14272
+ */
14273
+ proto.user.UpdatePreDepositProfileFieldsRequest.serializeBinaryToWriter = function(message, writer) {
14274
+ var f = undefined;
14275
+ f = message.getUserId();
14276
+ if (f !== 0) {
14277
+ writer.writeInt32(
14278
+ 1,
14279
+ f
14280
+ );
14281
+ }
14282
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
14283
+ if (f != null) {
14284
+ writer.writeString(
14285
+ 2,
14286
+ f
14287
+ );
14288
+ }
14289
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
14290
+ if (f != null) {
14291
+ writer.writeString(
14292
+ 3,
14293
+ f
14294
+ );
14295
+ }
14296
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
14297
+ if (f != null) {
14298
+ writer.writeString(
14299
+ 4,
14300
+ f
14301
+ );
14302
+ }
14303
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
14304
+ if (f != null) {
14305
+ writer.writeString(
14306
+ 5,
14307
+ f
14308
+ );
14309
+ }
14310
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
14311
+ if (f != null) {
14312
+ writer.writeString(
14313
+ 6,
14314
+ f
14315
+ );
14316
+ }
14317
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
14318
+ if (f != null) {
14319
+ writer.writeString(
14320
+ 7,
14321
+ f
14322
+ );
14323
+ }
14324
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
14325
+ if (f != null) {
14326
+ writer.writeString(
14327
+ 8,
14328
+ f
14329
+ );
14330
+ }
14331
+ };
14332
+
14333
+
14334
+ /**
14335
+ * optional int32 user_id = 1;
14336
+ * @return {number}
14337
+ */
14338
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getUserId = function() {
14339
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14340
+ };
14341
+
14342
+
14343
+ /**
14344
+ * @param {number} value
14345
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14346
+ */
14347
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setUserId = function(value) {
14348
+ return jspb.Message.setProto3IntField(this, 1, value);
14349
+ };
14350
+
14351
+
14352
+ /**
14353
+ * optional string first_name = 2;
14354
+ * @return {string}
14355
+ */
14356
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getFirstName = function() {
14357
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
14358
+ };
14359
+
14360
+
14361
+ /**
14362
+ * @param {string} value
14363
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14364
+ */
14365
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setFirstName = function(value) {
14366
+ return jspb.Message.setField(this, 2, value);
14367
+ };
14368
+
14369
+
14370
+ /**
14371
+ * Clears the field making it undefined.
14372
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14373
+ */
14374
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearFirstName = function() {
14375
+ return jspb.Message.setField(this, 2, undefined);
14376
+ };
14377
+
14378
+
14379
+ /**
14380
+ * Returns whether this field is set.
14381
+ * @return {boolean}
14382
+ */
14383
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasFirstName = function() {
14384
+ return jspb.Message.getField(this, 2) != null;
14385
+ };
14386
+
14387
+
14388
+ /**
14389
+ * optional string last_name = 3;
14390
+ * @return {string}
14391
+ */
14392
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getLastName = function() {
14393
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
14394
+ };
14395
+
14396
+
14397
+ /**
14398
+ * @param {string} value
14399
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14400
+ */
14401
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setLastName = function(value) {
14402
+ return jspb.Message.setField(this, 3, value);
14403
+ };
14404
+
14405
+
14406
+ /**
14407
+ * Clears the field making it undefined.
14408
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14409
+ */
14410
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearLastName = function() {
14411
+ return jspb.Message.setField(this, 3, undefined);
14412
+ };
14413
+
14414
+
14415
+ /**
14416
+ * Returns whether this field is set.
14417
+ * @return {boolean}
14418
+ */
14419
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasLastName = function() {
14420
+ return jspb.Message.getField(this, 3) != null;
14421
+ };
14422
+
14423
+
14424
+ /**
14425
+ * optional string phone = 4;
14426
+ * @return {string}
14427
+ */
14428
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getPhone = function() {
14429
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
14430
+ };
14431
+
14432
+
14433
+ /**
14434
+ * @param {string} value
14435
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14436
+ */
14437
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setPhone = function(value) {
14438
+ return jspb.Message.setField(this, 4, value);
14439
+ };
14440
+
14441
+
14442
+ /**
14443
+ * Clears the field making it undefined.
14444
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14445
+ */
14446
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearPhone = function() {
14447
+ return jspb.Message.setField(this, 4, undefined);
14448
+ };
14449
+
14450
+
14451
+ /**
14452
+ * Returns whether this field is set.
14453
+ * @return {boolean}
14454
+ */
14455
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasPhone = function() {
14456
+ return jspb.Message.getField(this, 4) != null;
14457
+ };
14458
+
14459
+
14460
+ /**
14461
+ * optional string address_line1 = 5;
14462
+ * @return {string}
14463
+ */
14464
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getAddressLine1 = function() {
14465
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
14466
+ };
14467
+
14468
+
14469
+ /**
14470
+ * @param {string} value
14471
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14472
+ */
14473
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setAddressLine1 = function(value) {
14474
+ return jspb.Message.setField(this, 5, value);
14475
+ };
14476
+
14477
+
14478
+ /**
14479
+ * Clears the field making it undefined.
14480
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14481
+ */
14482
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearAddressLine1 = function() {
14483
+ return jspb.Message.setField(this, 5, undefined);
14484
+ };
14485
+
14486
+
14487
+ /**
14488
+ * Returns whether this field is set.
14489
+ * @return {boolean}
14490
+ */
14491
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasAddressLine1 = function() {
14492
+ return jspb.Message.getField(this, 5) != null;
14493
+ };
14494
+
14495
+
14496
+ /**
14497
+ * optional string city = 6;
14498
+ * @return {string}
14499
+ */
14500
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getCity = function() {
14501
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
14502
+ };
14503
+
14504
+
14505
+ /**
14506
+ * @param {string} value
14507
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14508
+ */
14509
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setCity = function(value) {
14510
+ return jspb.Message.setField(this, 6, value);
14511
+ };
14512
+
14513
+
14514
+ /**
14515
+ * Clears the field making it undefined.
14516
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14517
+ */
14518
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearCity = function() {
14519
+ return jspb.Message.setField(this, 6, undefined);
14520
+ };
14521
+
14522
+
14523
+ /**
14524
+ * Returns whether this field is set.
14525
+ * @return {boolean}
14526
+ */
14527
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasCity = function() {
14528
+ return jspb.Message.getField(this, 6) != null;
14529
+ };
14530
+
14531
+
14532
+ /**
14533
+ * optional string postal_code = 7;
14534
+ * @return {string}
14535
+ */
14536
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getPostalCode = function() {
14537
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
14538
+ };
14539
+
14540
+
14541
+ /**
14542
+ * @param {string} value
14543
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14544
+ */
14545
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setPostalCode = function(value) {
14546
+ return jspb.Message.setField(this, 7, value);
14547
+ };
14548
+
14549
+
14550
+ /**
14551
+ * Clears the field making it undefined.
14552
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14553
+ */
14554
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearPostalCode = function() {
14555
+ return jspb.Message.setField(this, 7, undefined);
14556
+ };
14557
+
14558
+
14559
+ /**
14560
+ * Returns whether this field is set.
14561
+ * @return {boolean}
14562
+ */
14563
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasPostalCode = function() {
14564
+ return jspb.Message.getField(this, 7) != null;
14565
+ };
14566
+
14567
+
14568
+ /**
14569
+ * optional string state = 8;
14570
+ * @return {string}
14571
+ */
14572
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.getState = function() {
14573
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
14574
+ };
14575
+
14576
+
14577
+ /**
14578
+ * @param {string} value
14579
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14580
+ */
14581
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.setState = function(value) {
14582
+ return jspb.Message.setField(this, 8, value);
14583
+ };
14584
+
14585
+
14586
+ /**
14587
+ * Clears the field making it undefined.
14588
+ * @return {!proto.user.UpdatePreDepositProfileFieldsRequest} returns this
14589
+ */
14590
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.clearState = function() {
14591
+ return jspb.Message.setField(this, 8, undefined);
14592
+ };
14593
+
14594
+
14595
+ /**
14596
+ * Returns whether this field is set.
14597
+ * @return {boolean}
14598
+ */
14599
+ proto.user.UpdatePreDepositProfileFieldsRequest.prototype.hasState = function() {
14600
+ return jspb.Message.getField(this, 8) != null;
14601
+ };
14602
+
14603
+
14604
+
13731
14605
 
13732
14606
 
13733
14607
  if (jspb.Message.GENERATE_TO_OBJECT) {