protobuf-platform 1.2.558 → 1.2.561

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
@@ -80,6 +80,8 @@ goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
80
80
  goog.exportSymbol('proto.user.GetUserProfileDataVerificationRequest', null, global);
81
81
  goog.exportSymbol('proto.user.GetUserProfileDataVerificationResponse', null, global);
82
82
  goog.exportSymbol('proto.user.GetUserSegmentIdsRequest', null, global);
83
+ goog.exportSymbol('proto.user.GetUserVerificationFlowRequest', null, global);
84
+ goog.exportSymbol('proto.user.GetUserVerificationFlowResponse', null, global);
83
85
  goog.exportSymbol('proto.user.GetUserVerificationRequest', null, global);
84
86
  goog.exportSymbol('proto.user.GetUserVerificationResponse', null, global);
85
87
  goog.exportSymbol('proto.user.GetUserWalletBalancesRequest', null, global);
@@ -287,12 +289,17 @@ goog.exportSymbol('proto.user.UserSegmentIdsResponse', null, global);
287
289
  goog.exportSymbol('proto.user.UserStatusResponse', null, global);
288
290
  goog.exportSymbol('proto.user.UserToggleGameStatusResponse', null, global);
289
291
  goog.exportSymbol('proto.user.UserVerificationCapabilityState', null, global);
292
+ goog.exportSymbol('proto.user.UserVerificationFlowOption', null, global);
293
+ goog.exportSymbol('proto.user.UserVerificationFlowProfileField', null, global);
294
+ goog.exportSymbol('proto.user.UserVerificationFlowStep', null, global);
295
+ goog.exportSymbol('proto.user.UserVerificationFlowUpload', null, global);
290
296
  goog.exportSymbol('proto.user.UserVerificationOverallStatus', null, global);
291
297
  goog.exportSymbol('proto.user.UserWalletBalanceItem', null, global);
292
298
  goog.exportSymbol('proto.user.UserWalletBalancesResponse', null, global);
293
299
  goog.exportSymbol('proto.user.UsersResponse', null, global);
294
300
  goog.exportSymbol('proto.user.VerificationCapability', null, global);
295
301
  goog.exportSymbol('proto.user.VerificationCapabilityStatus', null, global);
302
+ goog.exportSymbol('proto.user.VerificationSelectionMode', null, global);
296
303
  goog.exportSymbol('proto.user.VerificationStatus', null, global);
297
304
  goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
298
305
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
@@ -4414,6 +4421,132 @@ if (goog.DEBUG && !COMPILED) {
4414
4421
  */
4415
4422
  proto.user.ApproveVerificationResponse.displayName = 'proto.user.ApproveVerificationResponse';
4416
4423
  }
4424
+ /**
4425
+ * Generated by JsPbCodeGenerator.
4426
+ * @param {Array=} opt_data Optional initial data array, typically from a
4427
+ * server response, or constructed directly in Javascript. The array is used
4428
+ * in place and becomes part of the constructed object. It is not cloned.
4429
+ * If no data is provided, the constructed object will be empty, but still
4430
+ * valid.
4431
+ * @extends {jspb.Message}
4432
+ * @constructor
4433
+ */
4434
+ proto.user.UserVerificationFlowUpload = function(opt_data) {
4435
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4436
+ };
4437
+ goog.inherits(proto.user.UserVerificationFlowUpload, jspb.Message);
4438
+ if (goog.DEBUG && !COMPILED) {
4439
+ /**
4440
+ * @public
4441
+ * @override
4442
+ */
4443
+ proto.user.UserVerificationFlowUpload.displayName = 'proto.user.UserVerificationFlowUpload';
4444
+ }
4445
+ /**
4446
+ * Generated by JsPbCodeGenerator.
4447
+ * @param {Array=} opt_data Optional initial data array, typically from a
4448
+ * server response, or constructed directly in Javascript. The array is used
4449
+ * in place and becomes part of the constructed object. It is not cloned.
4450
+ * If no data is provided, the constructed object will be empty, but still
4451
+ * valid.
4452
+ * @extends {jspb.Message}
4453
+ * @constructor
4454
+ */
4455
+ proto.user.UserVerificationFlowOption = function(opt_data) {
4456
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserVerificationFlowOption.repeatedFields_, null);
4457
+ };
4458
+ goog.inherits(proto.user.UserVerificationFlowOption, jspb.Message);
4459
+ if (goog.DEBUG && !COMPILED) {
4460
+ /**
4461
+ * @public
4462
+ * @override
4463
+ */
4464
+ proto.user.UserVerificationFlowOption.displayName = 'proto.user.UserVerificationFlowOption';
4465
+ }
4466
+ /**
4467
+ * Generated by JsPbCodeGenerator.
4468
+ * @param {Array=} opt_data Optional initial data array, typically from a
4469
+ * server response, or constructed directly in Javascript. The array is used
4470
+ * in place and becomes part of the constructed object. It is not cloned.
4471
+ * If no data is provided, the constructed object will be empty, but still
4472
+ * valid.
4473
+ * @extends {jspb.Message}
4474
+ * @constructor
4475
+ */
4476
+ proto.user.UserVerificationFlowProfileField = function(opt_data) {
4477
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4478
+ };
4479
+ goog.inherits(proto.user.UserVerificationFlowProfileField, jspb.Message);
4480
+ if (goog.DEBUG && !COMPILED) {
4481
+ /**
4482
+ * @public
4483
+ * @override
4484
+ */
4485
+ proto.user.UserVerificationFlowProfileField.displayName = 'proto.user.UserVerificationFlowProfileField';
4486
+ }
4487
+ /**
4488
+ * Generated by JsPbCodeGenerator.
4489
+ * @param {Array=} opt_data Optional initial data array, typically from a
4490
+ * server response, or constructed directly in Javascript. The array is used
4491
+ * in place and becomes part of the constructed object. It is not cloned.
4492
+ * If no data is provided, the constructed object will be empty, but still
4493
+ * valid.
4494
+ * @extends {jspb.Message}
4495
+ * @constructor
4496
+ */
4497
+ proto.user.UserVerificationFlowStep = function(opt_data) {
4498
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.UserVerificationFlowStep.repeatedFields_, null);
4499
+ };
4500
+ goog.inherits(proto.user.UserVerificationFlowStep, jspb.Message);
4501
+ if (goog.DEBUG && !COMPILED) {
4502
+ /**
4503
+ * @public
4504
+ * @override
4505
+ */
4506
+ proto.user.UserVerificationFlowStep.displayName = 'proto.user.UserVerificationFlowStep';
4507
+ }
4508
+ /**
4509
+ * Generated by JsPbCodeGenerator.
4510
+ * @param {Array=} opt_data Optional initial data array, typically from a
4511
+ * server response, or constructed directly in Javascript. The array is used
4512
+ * in place and becomes part of the constructed object. It is not cloned.
4513
+ * If no data is provided, the constructed object will be empty, but still
4514
+ * valid.
4515
+ * @extends {jspb.Message}
4516
+ * @constructor
4517
+ */
4518
+ proto.user.GetUserVerificationFlowRequest = function(opt_data) {
4519
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4520
+ };
4521
+ goog.inherits(proto.user.GetUserVerificationFlowRequest, jspb.Message);
4522
+ if (goog.DEBUG && !COMPILED) {
4523
+ /**
4524
+ * @public
4525
+ * @override
4526
+ */
4527
+ proto.user.GetUserVerificationFlowRequest.displayName = 'proto.user.GetUserVerificationFlowRequest';
4528
+ }
4529
+ /**
4530
+ * Generated by JsPbCodeGenerator.
4531
+ * @param {Array=} opt_data Optional initial data array, typically from a
4532
+ * server response, or constructed directly in Javascript. The array is used
4533
+ * in place and becomes part of the constructed object. It is not cloned.
4534
+ * If no data is provided, the constructed object will be empty, but still
4535
+ * valid.
4536
+ * @extends {jspb.Message}
4537
+ * @constructor
4538
+ */
4539
+ proto.user.GetUserVerificationFlowResponse = function(opt_data) {
4540
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.GetUserVerificationFlowResponse.repeatedFields_, null);
4541
+ };
4542
+ goog.inherits(proto.user.GetUserVerificationFlowResponse, jspb.Message);
4543
+ if (goog.DEBUG && !COMPILED) {
4544
+ /**
4545
+ * @public
4546
+ * @override
4547
+ */
4548
+ proto.user.GetUserVerificationFlowResponse.displayName = 'proto.user.GetUserVerificationFlowResponse';
4549
+ }
4417
4550
  /**
4418
4551
  * Generated by JsPbCodeGenerator.
4419
4552
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -74475,8 +74608,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74475
74608
  * http://goto/soy-param-migration
74476
74609
  * @return {!Object}
74477
74610
  */
74478
- proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
74479
- return proto.user.GetVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
74611
+ proto.user.UserVerificationFlowUpload.prototype.toObject = function(opt_includeInstance) {
74612
+ return proto.user.UserVerificationFlowUpload.toObject(opt_includeInstance, this);
74480
74613
  };
74481
74614
 
74482
74615
 
@@ -74485,13 +74618,15 @@ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = fu
74485
74618
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74486
74619
  * the JSPB instance for transitional soy proto support:
74487
74620
  * http://goto/soy-param-migration
74488
- * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
74621
+ * @param {!proto.user.UserVerificationFlowUpload} msg The msg instance to transform.
74489
74622
  * @return {!Object}
74490
74623
  * @suppress {unusedLocalVariables} f is only used for nested messages
74491
74624
  */
74492
- proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
74625
+ proto.user.UserVerificationFlowUpload.toObject = function(includeInstance, msg) {
74493
74626
  var f, obj = {
74494
-
74627
+ side: jspb.Message.getFieldWithDefault(msg, 1, ""),
74628
+ required: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
74629
+ status: jspb.Message.getFieldWithDefault(msg, 3, 0)
74495
74630
  };
74496
74631
 
74497
74632
  if (includeInstance) {
@@ -74505,29 +74640,41 @@ proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(inc
74505
74640
  /**
74506
74641
  * Deserializes binary data (in protobuf wire format).
74507
74642
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74508
- * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
74643
+ * @return {!proto.user.UserVerificationFlowUpload}
74509
74644
  */
74510
- proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
74645
+ proto.user.UserVerificationFlowUpload.deserializeBinary = function(bytes) {
74511
74646
  var reader = new jspb.BinaryReader(bytes);
74512
- var msg = new proto.user.GetVerificationProfileDataRequirementsRequest;
74513
- return proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
74647
+ var msg = new proto.user.UserVerificationFlowUpload;
74648
+ return proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader(msg, reader);
74514
74649
  };
74515
74650
 
74516
74651
 
74517
74652
  /**
74518
74653
  * Deserializes binary data (in protobuf wire format) from the
74519
74654
  * given reader into the given message object.
74520
- * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
74655
+ * @param {!proto.user.UserVerificationFlowUpload} msg The message object to deserialize into.
74521
74656
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74522
- * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
74657
+ * @return {!proto.user.UserVerificationFlowUpload}
74523
74658
  */
74524
- proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
74659
+ proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader = function(msg, reader) {
74525
74660
  while (reader.nextField()) {
74526
74661
  if (reader.isEndGroup()) {
74527
74662
  break;
74528
74663
  }
74529
74664
  var field = reader.getFieldNumber();
74530
74665
  switch (field) {
74666
+ case 1:
74667
+ var value = /** @type {string} */ (reader.readString());
74668
+ msg.setSide(value);
74669
+ break;
74670
+ case 2:
74671
+ var value = /** @type {boolean} */ (reader.readBool());
74672
+ msg.setRequired(value);
74673
+ break;
74674
+ case 3:
74675
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
74676
+ msg.setStatus(value);
74677
+ break;
74531
74678
  default:
74532
74679
  reader.skipField();
74533
74680
  break;
@@ -74541,9 +74688,9 @@ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromRe
74541
74688
  * Serializes the message to binary data (in protobuf wire format).
74542
74689
  * @return {!Uint8Array}
74543
74690
  */
74544
- proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
74691
+ proto.user.UserVerificationFlowUpload.prototype.serializeBinary = function() {
74545
74692
  var writer = new jspb.BinaryWriter();
74546
- proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
74693
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter(this, writer);
74547
74694
  return writer.getResultBuffer();
74548
74695
  };
74549
74696
 
@@ -74551,12 +74698,87 @@ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBina
74551
74698
  /**
74552
74699
  * Serializes the given message to binary data (in protobuf wire
74553
74700
  * format), writing to the given BinaryWriter.
74554
- * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} message
74701
+ * @param {!proto.user.UserVerificationFlowUpload} message
74555
74702
  * @param {!jspb.BinaryWriter} writer
74556
74703
  * @suppress {unusedLocalVariables} f is only used for nested messages
74557
74704
  */
74558
- proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
74705
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter = function(message, writer) {
74559
74706
  var f = undefined;
74707
+ f = message.getSide();
74708
+ if (f.length > 0) {
74709
+ writer.writeString(
74710
+ 1,
74711
+ f
74712
+ );
74713
+ }
74714
+ f = message.getRequired();
74715
+ if (f) {
74716
+ writer.writeBool(
74717
+ 2,
74718
+ f
74719
+ );
74720
+ }
74721
+ f = message.getStatus();
74722
+ if (f !== 0.0) {
74723
+ writer.writeEnum(
74724
+ 3,
74725
+ f
74726
+ );
74727
+ }
74728
+ };
74729
+
74730
+
74731
+ /**
74732
+ * optional string side = 1;
74733
+ * @return {string}
74734
+ */
74735
+ proto.user.UserVerificationFlowUpload.prototype.getSide = function() {
74736
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74737
+ };
74738
+
74739
+
74740
+ /**
74741
+ * @param {string} value
74742
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74743
+ */
74744
+ proto.user.UserVerificationFlowUpload.prototype.setSide = function(value) {
74745
+ return jspb.Message.setProto3StringField(this, 1, value);
74746
+ };
74747
+
74748
+
74749
+ /**
74750
+ * optional bool required = 2;
74751
+ * @return {boolean}
74752
+ */
74753
+ proto.user.UserVerificationFlowUpload.prototype.getRequired = function() {
74754
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74755
+ };
74756
+
74757
+
74758
+ /**
74759
+ * @param {boolean} value
74760
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74761
+ */
74762
+ proto.user.UserVerificationFlowUpload.prototype.setRequired = function(value) {
74763
+ return jspb.Message.setProto3BooleanField(this, 2, value);
74764
+ };
74765
+
74766
+
74767
+ /**
74768
+ * optional VerificationCapabilityStatus status = 3;
74769
+ * @return {!proto.user.VerificationCapabilityStatus}
74770
+ */
74771
+ proto.user.UserVerificationFlowUpload.prototype.getStatus = function() {
74772
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
74773
+ };
74774
+
74775
+
74776
+ /**
74777
+ * @param {!proto.user.VerificationCapabilityStatus} value
74778
+ * @return {!proto.user.UserVerificationFlowUpload} returns this
74779
+ */
74780
+ proto.user.UserVerificationFlowUpload.prototype.setStatus = function(value) {
74781
+ return jspb.Message.setProto3EnumField(this, 3, value);
74560
74782
  };
74561
74783
 
74562
74784
 
@@ -74566,7 +74788,7 @@ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter
74566
74788
  * @private {!Array<number>}
74567
74789
  * @const
74568
74790
  */
74569
- proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_ = [1];
74791
+ proto.user.UserVerificationFlowOption.repeatedFields_ = [4];
74570
74792
 
74571
74793
 
74572
74794
 
@@ -74583,8 +74805,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74583
74805
  * http://goto/soy-param-migration
74584
74806
  * @return {!Object}
74585
74807
  */
74586
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
74587
- return proto.user.GetVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
74808
+ proto.user.UserVerificationFlowOption.prototype.toObject = function(opt_includeInstance) {
74809
+ return proto.user.UserVerificationFlowOption.toObject(opt_includeInstance, this);
74588
74810
  };
74589
74811
 
74590
74812
 
@@ -74593,13 +74815,17 @@ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = f
74593
74815
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74594
74816
  * the JSPB instance for transitional soy proto support:
74595
74817
  * http://goto/soy-param-migration
74596
- * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
74818
+ * @param {!proto.user.UserVerificationFlowOption} msg The msg instance to transform.
74597
74819
  * @return {!Object}
74598
74820
  * @suppress {unusedLocalVariables} f is only used for nested messages
74599
74821
  */
74600
- proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
74822
+ proto.user.UserVerificationFlowOption.toObject = function(includeInstance, msg) {
74601
74823
  var f, obj = {
74602
- fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
74824
+ documentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
74825
+ supported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
74826
+ uploadRequirementsResolved: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
74827
+ uploadsList: jspb.Message.toObjectList(msg.getUploadsList(),
74828
+ proto.user.UserVerificationFlowUpload.toObject, includeInstance)
74603
74829
  };
74604
74830
 
74605
74831
  if (includeInstance) {
@@ -74613,23 +74839,23 @@ proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(in
74613
74839
  /**
74614
74840
  * Deserializes binary data (in protobuf wire format).
74615
74841
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74616
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
74842
+ * @return {!proto.user.UserVerificationFlowOption}
74617
74843
  */
74618
- proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
74844
+ proto.user.UserVerificationFlowOption.deserializeBinary = function(bytes) {
74619
74845
  var reader = new jspb.BinaryReader(bytes);
74620
- var msg = new proto.user.GetVerificationProfileDataRequirementsResponse;
74621
- return proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
74846
+ var msg = new proto.user.UserVerificationFlowOption;
74847
+ return proto.user.UserVerificationFlowOption.deserializeBinaryFromReader(msg, reader);
74622
74848
  };
74623
74849
 
74624
74850
 
74625
74851
  /**
74626
74852
  * Deserializes binary data (in protobuf wire format) from the
74627
74853
  * given reader into the given message object.
74628
- * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
74854
+ * @param {!proto.user.UserVerificationFlowOption} msg The message object to deserialize into.
74629
74855
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74630
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
74856
+ * @return {!proto.user.UserVerificationFlowOption}
74631
74857
  */
74632
- proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
74858
+ proto.user.UserVerificationFlowOption.deserializeBinaryFromReader = function(msg, reader) {
74633
74859
  while (reader.nextField()) {
74634
74860
  if (reader.isEndGroup()) {
74635
74861
  break;
@@ -74638,7 +74864,20 @@ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromR
74638
74864
  switch (field) {
74639
74865
  case 1:
74640
74866
  var value = /** @type {string} */ (reader.readString());
74641
- msg.addFields(value);
74867
+ msg.setDocumentType(value);
74868
+ break;
74869
+ case 2:
74870
+ var value = /** @type {boolean} */ (reader.readBool());
74871
+ msg.setSupported(value);
74872
+ break;
74873
+ case 3:
74874
+ var value = /** @type {boolean} */ (reader.readBool());
74875
+ msg.setUploadRequirementsResolved(value);
74876
+ break;
74877
+ case 4:
74878
+ var value = new proto.user.UserVerificationFlowUpload;
74879
+ reader.readMessage(value,proto.user.UserVerificationFlowUpload.deserializeBinaryFromReader);
74880
+ msg.addUploads(value);
74642
74881
  break;
74643
74882
  default:
74644
74883
  reader.skipField();
@@ -74653,9 +74892,9 @@ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromR
74653
74892
  * Serializes the message to binary data (in protobuf wire format).
74654
74893
  * @return {!Uint8Array}
74655
74894
  */
74656
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
74895
+ proto.user.UserVerificationFlowOption.prototype.serializeBinary = function() {
74657
74896
  var writer = new jspb.BinaryWriter();
74658
- proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
74897
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter(this, writer);
74659
74898
  return writer.getResultBuffer();
74660
74899
  };
74661
74900
 
@@ -74663,66 +74902,136 @@ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBin
74663
74902
  /**
74664
74903
  * Serializes the given message to binary data (in protobuf wire
74665
74904
  * format), writing to the given BinaryWriter.
74666
- * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} message
74905
+ * @param {!proto.user.UserVerificationFlowOption} message
74667
74906
  * @param {!jspb.BinaryWriter} writer
74668
74907
  * @suppress {unusedLocalVariables} f is only used for nested messages
74669
74908
  */
74670
- proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
74909
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter = function(message, writer) {
74671
74910
  var f = undefined;
74672
- f = message.getFieldsList();
74911
+ f = message.getDocumentType();
74673
74912
  if (f.length > 0) {
74674
- writer.writeRepeatedString(
74913
+ writer.writeString(
74675
74914
  1,
74676
74915
  f
74677
74916
  );
74678
74917
  }
74918
+ f = message.getSupported();
74919
+ if (f) {
74920
+ writer.writeBool(
74921
+ 2,
74922
+ f
74923
+ );
74924
+ }
74925
+ f = message.getUploadRequirementsResolved();
74926
+ if (f) {
74927
+ writer.writeBool(
74928
+ 3,
74929
+ f
74930
+ );
74931
+ }
74932
+ f = message.getUploadsList();
74933
+ if (f.length > 0) {
74934
+ writer.writeRepeatedMessage(
74935
+ 4,
74936
+ f,
74937
+ proto.user.UserVerificationFlowUpload.serializeBinaryToWriter
74938
+ );
74939
+ }
74679
74940
  };
74680
74941
 
74681
74942
 
74682
74943
  /**
74683
- * repeated string fields = 1;
74684
- * @return {!Array<string>}
74944
+ * optional string document_type = 1;
74945
+ * @return {string}
74685
74946
  */
74686
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.getFieldsList = function() {
74687
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
74947
+ proto.user.UserVerificationFlowOption.prototype.getDocumentType = function() {
74948
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74688
74949
  };
74689
74950
 
74690
74951
 
74691
74952
  /**
74692
- * @param {!Array<string>} value
74693
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74953
+ * @param {string} value
74954
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74694
74955
  */
74695
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.setFieldsList = function(value) {
74696
- return jspb.Message.setField(this, 1, value || []);
74956
+ proto.user.UserVerificationFlowOption.prototype.setDocumentType = function(value) {
74957
+ return jspb.Message.setProto3StringField(this, 1, value);
74697
74958
  };
74698
74959
 
74699
74960
 
74700
74961
  /**
74701
- * @param {string} value
74702
- * @param {number=} opt_index
74703
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74962
+ * optional bool supported = 2;
74963
+ * @return {boolean}
74704
74964
  */
74705
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.addFields = function(value, opt_index) {
74706
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
74965
+ proto.user.UserVerificationFlowOption.prototype.getSupported = function() {
74966
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
74707
74967
  };
74708
74968
 
74709
74969
 
74710
74970
  /**
74711
- * Clears the list making it empty but non-null.
74712
- * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74971
+ * @param {boolean} value
74972
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74713
74973
  */
74714
- proto.user.GetVerificationProfileDataRequirementsResponse.prototype.clearFieldsList = function() {
74715
- return this.setFieldsList([]);
74974
+ proto.user.UserVerificationFlowOption.prototype.setSupported = function(value) {
74975
+ return jspb.Message.setProto3BooleanField(this, 2, value);
74716
74976
  };
74717
74977
 
74718
74978
 
74979
+ /**
74980
+ * optional bool upload_requirements_resolved = 3;
74981
+ * @return {boolean}
74982
+ */
74983
+ proto.user.UserVerificationFlowOption.prototype.getUploadRequirementsResolved = function() {
74984
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
74985
+ };
74986
+
74719
74987
 
74720
74988
  /**
74721
- * List of repeated fields within this message type.
74722
- * @private {!Array<number>}
74723
- * @const
74989
+ * @param {boolean} value
74990
+ * @return {!proto.user.UserVerificationFlowOption} returns this
74724
74991
  */
74725
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_ = [1];
74992
+ proto.user.UserVerificationFlowOption.prototype.setUploadRequirementsResolved = function(value) {
74993
+ return jspb.Message.setProto3BooleanField(this, 3, value);
74994
+ };
74995
+
74996
+
74997
+ /**
74998
+ * repeated UserVerificationFlowUpload uploads = 4;
74999
+ * @return {!Array<!proto.user.UserVerificationFlowUpload>}
75000
+ */
75001
+ proto.user.UserVerificationFlowOption.prototype.getUploadsList = function() {
75002
+ return /** @type{!Array<!proto.user.UserVerificationFlowUpload>} */ (
75003
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowUpload, 4));
75004
+ };
75005
+
75006
+
75007
+ /**
75008
+ * @param {!Array<!proto.user.UserVerificationFlowUpload>} value
75009
+ * @return {!proto.user.UserVerificationFlowOption} returns this
75010
+ */
75011
+ proto.user.UserVerificationFlowOption.prototype.setUploadsList = function(value) {
75012
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
75013
+ };
75014
+
75015
+
75016
+ /**
75017
+ * @param {!proto.user.UserVerificationFlowUpload=} opt_value
75018
+ * @param {number=} opt_index
75019
+ * @return {!proto.user.UserVerificationFlowUpload}
75020
+ */
75021
+ proto.user.UserVerificationFlowOption.prototype.addUploads = function(opt_value, opt_index) {
75022
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserVerificationFlowUpload, opt_index);
75023
+ };
75024
+
75025
+
75026
+ /**
75027
+ * Clears the list making it empty but non-null.
75028
+ * @return {!proto.user.UserVerificationFlowOption} returns this
75029
+ */
75030
+ proto.user.UserVerificationFlowOption.prototype.clearUploadsList = function() {
75031
+ return this.setUploadsList([]);
75032
+ };
75033
+
75034
+
74726
75035
 
74727
75036
 
74728
75037
 
@@ -74739,8 +75048,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74739
75048
  * http://goto/soy-param-migration
74740
75049
  * @return {!Object}
74741
75050
  */
74742
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
74743
- return proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
75051
+ proto.user.UserVerificationFlowProfileField.prototype.toObject = function(opt_includeInstance) {
75052
+ return proto.user.UserVerificationFlowProfileField.toObject(opt_includeInstance, this);
74744
75053
  };
74745
75054
 
74746
75055
 
@@ -74749,13 +75058,14 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject
74749
75058
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74750
75059
  * the JSPB instance for transitional soy proto support:
74751
75060
  * http://goto/soy-param-migration
74752
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
75061
+ * @param {!proto.user.UserVerificationFlowProfileField} msg The msg instance to transform.
74753
75062
  * @return {!Object}
74754
75063
  * @suppress {unusedLocalVariables} f is only used for nested messages
74755
75064
  */
74756
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
75065
+ proto.user.UserVerificationFlowProfileField.toObject = function(includeInstance, msg) {
74757
75066
  var f, obj = {
74758
- fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
75067
+ fieldKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
75068
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0)
74759
75069
  };
74760
75070
 
74761
75071
  if (includeInstance) {
@@ -74769,23 +75079,23 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function
74769
75079
  /**
74770
75080
  * Deserializes binary data (in protobuf wire format).
74771
75081
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74772
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
75082
+ * @return {!proto.user.UserVerificationFlowProfileField}
74773
75083
  */
74774
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
75084
+ proto.user.UserVerificationFlowProfileField.deserializeBinary = function(bytes) {
74775
75085
  var reader = new jspb.BinaryReader(bytes);
74776
- var msg = new proto.user.ReplaceVerificationProfileDataRequirementsRequest;
74777
- return proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
75086
+ var msg = new proto.user.UserVerificationFlowProfileField;
75087
+ return proto.user.UserVerificationFlowProfileField.deserializeBinaryFromReader(msg, reader);
74778
75088
  };
74779
75089
 
74780
75090
 
74781
75091
  /**
74782
75092
  * Deserializes binary data (in protobuf wire format) from the
74783
75093
  * given reader into the given message object.
74784
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
75094
+ * @param {!proto.user.UserVerificationFlowProfileField} msg The message object to deserialize into.
74785
75095
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74786
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
75096
+ * @return {!proto.user.UserVerificationFlowProfileField}
74787
75097
  */
74788
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
75098
+ proto.user.UserVerificationFlowProfileField.deserializeBinaryFromReader = function(msg, reader) {
74789
75099
  while (reader.nextField()) {
74790
75100
  if (reader.isEndGroup()) {
74791
75101
  break;
@@ -74794,7 +75104,11 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFr
74794
75104
  switch (field) {
74795
75105
  case 1:
74796
75106
  var value = /** @type {string} */ (reader.readString());
74797
- msg.addFields(value);
75107
+ msg.setFieldKey(value);
75108
+ break;
75109
+ case 2:
75110
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
75111
+ msg.setStatus(value);
74798
75112
  break;
74799
75113
  default:
74800
75114
  reader.skipField();
@@ -74809,9 +75123,9 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFr
74809
75123
  * Serializes the message to binary data (in protobuf wire format).
74810
75124
  * @return {!Uint8Array}
74811
75125
  */
74812
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
75126
+ proto.user.UserVerificationFlowProfileField.prototype.serializeBinary = function() {
74813
75127
  var writer = new jspb.BinaryWriter();
74814
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
75128
+ proto.user.UserVerificationFlowProfileField.serializeBinaryToWriter(this, writer);
74815
75129
  return writer.getResultBuffer();
74816
75130
  };
74817
75131
 
@@ -74819,60 +75133,73 @@ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serialize
74819
75133
  /**
74820
75134
  * Serializes the given message to binary data (in protobuf wire
74821
75135
  * format), writing to the given BinaryWriter.
74822
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} message
75136
+ * @param {!proto.user.UserVerificationFlowProfileField} message
74823
75137
  * @param {!jspb.BinaryWriter} writer
74824
75138
  * @suppress {unusedLocalVariables} f is only used for nested messages
74825
75139
  */
74826
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
75140
+ proto.user.UserVerificationFlowProfileField.serializeBinaryToWriter = function(message, writer) {
74827
75141
  var f = undefined;
74828
- f = message.getFieldsList();
75142
+ f = message.getFieldKey();
74829
75143
  if (f.length > 0) {
74830
- writer.writeRepeatedString(
75144
+ writer.writeString(
74831
75145
  1,
74832
75146
  f
74833
75147
  );
74834
75148
  }
75149
+ f = message.getStatus();
75150
+ if (f !== 0.0) {
75151
+ writer.writeEnum(
75152
+ 2,
75153
+ f
75154
+ );
75155
+ }
74835
75156
  };
74836
75157
 
74837
75158
 
74838
75159
  /**
74839
- * repeated string fields = 1;
74840
- * @return {!Array<string>}
75160
+ * optional string field_key = 1;
75161
+ * @return {string}
74841
75162
  */
74842
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.getFieldsList = function() {
74843
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
75163
+ proto.user.UserVerificationFlowProfileField.prototype.getFieldKey = function() {
75164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
74844
75165
  };
74845
75166
 
74846
75167
 
74847
75168
  /**
74848
- * @param {!Array<string>} value
74849
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
75169
+ * @param {string} value
75170
+ * @return {!proto.user.UserVerificationFlowProfileField} returns this
74850
75171
  */
74851
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.setFieldsList = function(value) {
74852
- return jspb.Message.setField(this, 1, value || []);
75172
+ proto.user.UserVerificationFlowProfileField.prototype.setFieldKey = function(value) {
75173
+ return jspb.Message.setProto3StringField(this, 1, value);
74853
75174
  };
74854
75175
 
74855
75176
 
74856
75177
  /**
74857
- * @param {string} value
74858
- * @param {number=} opt_index
74859
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
75178
+ * optional VerificationCapabilityStatus status = 2;
75179
+ * @return {!proto.user.VerificationCapabilityStatus}
74860
75180
  */
74861
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.addFields = function(value, opt_index) {
74862
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
75181
+ proto.user.UserVerificationFlowProfileField.prototype.getStatus = function() {
75182
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
74863
75183
  };
74864
75184
 
74865
75185
 
74866
75186
  /**
74867
- * Clears the list making it empty but non-null.
74868
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
75187
+ * @param {!proto.user.VerificationCapabilityStatus} value
75188
+ * @return {!proto.user.UserVerificationFlowProfileField} returns this
74869
75189
  */
74870
- proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.clearFieldsList = function() {
74871
- return this.setFieldsList([]);
75190
+ proto.user.UserVerificationFlowProfileField.prototype.setStatus = function(value) {
75191
+ return jspb.Message.setProto3EnumField(this, 2, value);
74872
75192
  };
74873
75193
 
74874
75194
 
74875
75195
 
75196
+ /**
75197
+ * List of repeated fields within this message type.
75198
+ * @private {!Array<number>}
75199
+ * @const
75200
+ */
75201
+ proto.user.UserVerificationFlowStep.repeatedFields_ = [5,6];
75202
+
74876
75203
 
74877
75204
 
74878
75205
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -74888,8 +75215,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74888
75215
  * http://goto/soy-param-migration
74889
75216
  * @return {!Object}
74890
75217
  */
74891
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
74892
- return proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
75218
+ proto.user.UserVerificationFlowStep.prototype.toObject = function(opt_includeInstance) {
75219
+ return proto.user.UserVerificationFlowStep.toObject(opt_includeInstance, this);
74893
75220
  };
74894
75221
 
74895
75222
 
@@ -74898,13 +75225,20 @@ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.toObject
74898
75225
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74899
75226
  * the JSPB instance for transitional soy proto support:
74900
75227
  * http://goto/soy-param-migration
74901
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
75228
+ * @param {!proto.user.UserVerificationFlowStep} msg The msg instance to transform.
74902
75229
  * @return {!Object}
74903
75230
  * @suppress {unusedLocalVariables} f is only used for nested messages
74904
75231
  */
74905
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
75232
+ proto.user.UserVerificationFlowStep.toObject = function(includeInstance, msg) {
74906
75233
  var f, obj = {
74907
-
75234
+ capability: jspb.Message.getFieldWithDefault(msg, 1, 0),
75235
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0),
75236
+ required: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
75237
+ selectionMode: jspb.Message.getFieldWithDefault(msg, 4, 0),
75238
+ optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
75239
+ proto.user.UserVerificationFlowOption.toObject, includeInstance),
75240
+ fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
75241
+ proto.user.UserVerificationFlowProfileField.toObject, includeInstance)
74908
75242
  };
74909
75243
 
74910
75244
  if (includeInstance) {
@@ -74918,29 +75252,55 @@ proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject = functio
74918
75252
  /**
74919
75253
  * Deserializes binary data (in protobuf wire format).
74920
75254
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
74921
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
75255
+ * @return {!proto.user.UserVerificationFlowStep}
74922
75256
  */
74923
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
75257
+ proto.user.UserVerificationFlowStep.deserializeBinary = function(bytes) {
74924
75258
  var reader = new jspb.BinaryReader(bytes);
74925
- var msg = new proto.user.ReplaceVerificationProfileDataRequirementsResponse;
74926
- return proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
75259
+ var msg = new proto.user.UserVerificationFlowStep;
75260
+ return proto.user.UserVerificationFlowStep.deserializeBinaryFromReader(msg, reader);
74927
75261
  };
74928
75262
 
74929
75263
 
74930
75264
  /**
74931
75265
  * Deserializes binary data (in protobuf wire format) from the
74932
75266
  * given reader into the given message object.
74933
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
75267
+ * @param {!proto.user.UserVerificationFlowStep} msg The message object to deserialize into.
74934
75268
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74935
- * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
75269
+ * @return {!proto.user.UserVerificationFlowStep}
74936
75270
  */
74937
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
75271
+ proto.user.UserVerificationFlowStep.deserializeBinaryFromReader = function(msg, reader) {
74938
75272
  while (reader.nextField()) {
74939
75273
  if (reader.isEndGroup()) {
74940
75274
  break;
74941
75275
  }
74942
75276
  var field = reader.getFieldNumber();
74943
75277
  switch (field) {
75278
+ case 1:
75279
+ var value = /** @type {!proto.user.VerificationCapability} */ (reader.readEnum());
75280
+ msg.setCapability(value);
75281
+ break;
75282
+ case 2:
75283
+ var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
75284
+ msg.setStatus(value);
75285
+ break;
75286
+ case 3:
75287
+ var value = /** @type {boolean} */ (reader.readBool());
75288
+ msg.setRequired(value);
75289
+ break;
75290
+ case 4:
75291
+ var value = /** @type {!proto.user.VerificationSelectionMode} */ (reader.readEnum());
75292
+ msg.setSelectionMode(value);
75293
+ break;
75294
+ case 5:
75295
+ var value = new proto.user.UserVerificationFlowOption;
75296
+ reader.readMessage(value,proto.user.UserVerificationFlowOption.deserializeBinaryFromReader);
75297
+ msg.addOptions(value);
75298
+ break;
75299
+ case 6:
75300
+ var value = new proto.user.UserVerificationFlowProfileField;
75301
+ reader.readMessage(value,proto.user.UserVerificationFlowProfileField.deserializeBinaryFromReader);
75302
+ msg.addFields(value);
75303
+ break;
74944
75304
  default:
74945
75305
  reader.skipField();
74946
75306
  break;
@@ -74954,9 +75314,9 @@ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryF
74954
75314
  * Serializes the message to binary data (in protobuf wire format).
74955
75315
  * @return {!Uint8Array}
74956
75316
  */
74957
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
75317
+ proto.user.UserVerificationFlowStep.prototype.serializeBinary = function() {
74958
75318
  var writer = new jspb.BinaryWriter();
74959
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
75319
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter(this, writer);
74960
75320
  return writer.getResultBuffer();
74961
75321
  };
74962
75322
 
@@ -74964,48 +75324,1164 @@ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.serializ
74964
75324
  /**
74965
75325
  * Serializes the given message to binary data (in protobuf wire
74966
75326
  * format), writing to the given BinaryWriter.
74967
- * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} message
75327
+ * @param {!proto.user.UserVerificationFlowStep} message
74968
75328
  * @param {!jspb.BinaryWriter} writer
74969
75329
  * @suppress {unusedLocalVariables} f is only used for nested messages
74970
75330
  */
74971
- proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
75331
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter = function(message, writer) {
74972
75332
  var f = undefined;
75333
+ f = message.getCapability();
75334
+ if (f !== 0.0) {
75335
+ writer.writeEnum(
75336
+ 1,
75337
+ f
75338
+ );
75339
+ }
75340
+ f = message.getStatus();
75341
+ if (f !== 0.0) {
75342
+ writer.writeEnum(
75343
+ 2,
75344
+ f
75345
+ );
75346
+ }
75347
+ f = message.getRequired();
75348
+ if (f) {
75349
+ writer.writeBool(
75350
+ 3,
75351
+ f
75352
+ );
75353
+ }
75354
+ f = message.getSelectionMode();
75355
+ if (f !== 0.0) {
75356
+ writer.writeEnum(
75357
+ 4,
75358
+ f
75359
+ );
75360
+ }
75361
+ f = message.getOptionsList();
75362
+ if (f.length > 0) {
75363
+ writer.writeRepeatedMessage(
75364
+ 5,
75365
+ f,
75366
+ proto.user.UserVerificationFlowOption.serializeBinaryToWriter
75367
+ );
75368
+ }
75369
+ f = message.getFieldsList();
75370
+ if (f.length > 0) {
75371
+ writer.writeRepeatedMessage(
75372
+ 6,
75373
+ f,
75374
+ proto.user.UserVerificationFlowProfileField.serializeBinaryToWriter
75375
+ );
75376
+ }
74973
75377
  };
74974
75378
 
74975
75379
 
75380
+ /**
75381
+ * optional VerificationCapability capability = 1;
75382
+ * @return {!proto.user.VerificationCapability}
75383
+ */
75384
+ proto.user.UserVerificationFlowStep.prototype.getCapability = function() {
75385
+ return /** @type {!proto.user.VerificationCapability} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75386
+ };
74976
75387
 
74977
75388
 
74978
-
74979
- if (jspb.Message.GENERATE_TO_OBJECT) {
74980
75389
  /**
74981
- * Creates an object representation of this proto.
74982
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
74983
- * Optional fields that are not set will be set to undefined.
74984
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74985
- * For the list of reserved names please see:
74986
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74987
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74988
- * JSPB instance for transitional soy proto support:
74989
- * http://goto/soy-param-migration
74990
- * @return {!Object}
75390
+ * @param {!proto.user.VerificationCapability} value
75391
+ * @return {!proto.user.UserVerificationFlowStep} returns this
74991
75392
  */
74992
- proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
74993
- return proto.user.DashboardRequest.toObject(opt_includeInstance, this);
75393
+ proto.user.UserVerificationFlowStep.prototype.setCapability = function(value) {
75394
+ return jspb.Message.setProto3EnumField(this, 1, value);
74994
75395
  };
74995
75396
 
74996
75397
 
74997
75398
  /**
74998
- * Static version of the {@see toObject} method.
74999
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75000
- * the JSPB instance for transitional soy proto support:
75001
- * http://goto/soy-param-migration
75002
- * @param {!proto.user.DashboardRequest} msg The msg instance to transform.
75003
- * @return {!Object}
75004
- * @suppress {unusedLocalVariables} f is only used for nested messages
75399
+ * optional VerificationCapabilityStatus status = 2;
75400
+ * @return {!proto.user.VerificationCapabilityStatus}
75005
75401
  */
75006
- proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
75007
- var f, obj = {
75008
- startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
75402
+ proto.user.UserVerificationFlowStep.prototype.getStatus = function() {
75403
+ return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
75404
+ };
75405
+
75406
+
75407
+ /**
75408
+ * @param {!proto.user.VerificationCapabilityStatus} value
75409
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75410
+ */
75411
+ proto.user.UserVerificationFlowStep.prototype.setStatus = function(value) {
75412
+ return jspb.Message.setProto3EnumField(this, 2, value);
75413
+ };
75414
+
75415
+
75416
+ /**
75417
+ * optional bool required = 3;
75418
+ * @return {boolean}
75419
+ */
75420
+ proto.user.UserVerificationFlowStep.prototype.getRequired = function() {
75421
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
75422
+ };
75423
+
75424
+
75425
+ /**
75426
+ * @param {boolean} value
75427
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75428
+ */
75429
+ proto.user.UserVerificationFlowStep.prototype.setRequired = function(value) {
75430
+ return jspb.Message.setProto3BooleanField(this, 3, value);
75431
+ };
75432
+
75433
+
75434
+ /**
75435
+ * optional VerificationSelectionMode selection_mode = 4;
75436
+ * @return {!proto.user.VerificationSelectionMode}
75437
+ */
75438
+ proto.user.UserVerificationFlowStep.prototype.getSelectionMode = function() {
75439
+ return /** @type {!proto.user.VerificationSelectionMode} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
75440
+ };
75441
+
75442
+
75443
+ /**
75444
+ * @param {!proto.user.VerificationSelectionMode} value
75445
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75446
+ */
75447
+ proto.user.UserVerificationFlowStep.prototype.setSelectionMode = function(value) {
75448
+ return jspb.Message.setProto3EnumField(this, 4, value);
75449
+ };
75450
+
75451
+
75452
+ /**
75453
+ * repeated UserVerificationFlowOption options = 5;
75454
+ * @return {!Array<!proto.user.UserVerificationFlowOption>}
75455
+ */
75456
+ proto.user.UserVerificationFlowStep.prototype.getOptionsList = function() {
75457
+ return /** @type{!Array<!proto.user.UserVerificationFlowOption>} */ (
75458
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowOption, 5));
75459
+ };
75460
+
75461
+
75462
+ /**
75463
+ * @param {!Array<!proto.user.UserVerificationFlowOption>} value
75464
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75465
+ */
75466
+ proto.user.UserVerificationFlowStep.prototype.setOptionsList = function(value) {
75467
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
75468
+ };
75469
+
75470
+
75471
+ /**
75472
+ * @param {!proto.user.UserVerificationFlowOption=} opt_value
75473
+ * @param {number=} opt_index
75474
+ * @return {!proto.user.UserVerificationFlowOption}
75475
+ */
75476
+ proto.user.UserVerificationFlowStep.prototype.addOptions = function(opt_value, opt_index) {
75477
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.user.UserVerificationFlowOption, opt_index);
75478
+ };
75479
+
75480
+
75481
+ /**
75482
+ * Clears the list making it empty but non-null.
75483
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75484
+ */
75485
+ proto.user.UserVerificationFlowStep.prototype.clearOptionsList = function() {
75486
+ return this.setOptionsList([]);
75487
+ };
75488
+
75489
+
75490
+ /**
75491
+ * repeated UserVerificationFlowProfileField fields = 6;
75492
+ * @return {!Array<!proto.user.UserVerificationFlowProfileField>}
75493
+ */
75494
+ proto.user.UserVerificationFlowStep.prototype.getFieldsList = function() {
75495
+ return /** @type{!Array<!proto.user.UserVerificationFlowProfileField>} */ (
75496
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowProfileField, 6));
75497
+ };
75498
+
75499
+
75500
+ /**
75501
+ * @param {!Array<!proto.user.UserVerificationFlowProfileField>} value
75502
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75503
+ */
75504
+ proto.user.UserVerificationFlowStep.prototype.setFieldsList = function(value) {
75505
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
75506
+ };
75507
+
75508
+
75509
+ /**
75510
+ * @param {!proto.user.UserVerificationFlowProfileField=} opt_value
75511
+ * @param {number=} opt_index
75512
+ * @return {!proto.user.UserVerificationFlowProfileField}
75513
+ */
75514
+ proto.user.UserVerificationFlowStep.prototype.addFields = function(opt_value, opt_index) {
75515
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.user.UserVerificationFlowProfileField, opt_index);
75516
+ };
75517
+
75518
+
75519
+ /**
75520
+ * Clears the list making it empty but non-null.
75521
+ * @return {!proto.user.UserVerificationFlowStep} returns this
75522
+ */
75523
+ proto.user.UserVerificationFlowStep.prototype.clearFieldsList = function() {
75524
+ return this.setFieldsList([]);
75525
+ };
75526
+
75527
+
75528
+
75529
+
75530
+
75531
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75532
+ /**
75533
+ * Creates an object representation of this proto.
75534
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75535
+ * Optional fields that are not set will be set to undefined.
75536
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75537
+ * For the list of reserved names please see:
75538
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75539
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75540
+ * JSPB instance for transitional soy proto support:
75541
+ * http://goto/soy-param-migration
75542
+ * @return {!Object}
75543
+ */
75544
+ proto.user.GetUserVerificationFlowRequest.prototype.toObject = function(opt_includeInstance) {
75545
+ return proto.user.GetUserVerificationFlowRequest.toObject(opt_includeInstance, this);
75546
+ };
75547
+
75548
+
75549
+ /**
75550
+ * Static version of the {@see toObject} method.
75551
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75552
+ * the JSPB instance for transitional soy proto support:
75553
+ * http://goto/soy-param-migration
75554
+ * @param {!proto.user.GetUserVerificationFlowRequest} msg The msg instance to transform.
75555
+ * @return {!Object}
75556
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75557
+ */
75558
+ proto.user.GetUserVerificationFlowRequest.toObject = function(includeInstance, msg) {
75559
+ var f, obj = {
75560
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
75561
+ purpose: jspb.Message.getFieldWithDefault(msg, 2, "")
75562
+ };
75563
+
75564
+ if (includeInstance) {
75565
+ obj.$jspbMessageInstance = msg;
75566
+ }
75567
+ return obj;
75568
+ };
75569
+ }
75570
+
75571
+
75572
+ /**
75573
+ * Deserializes binary data (in protobuf wire format).
75574
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75575
+ * @return {!proto.user.GetUserVerificationFlowRequest}
75576
+ */
75577
+ proto.user.GetUserVerificationFlowRequest.deserializeBinary = function(bytes) {
75578
+ var reader = new jspb.BinaryReader(bytes);
75579
+ var msg = new proto.user.GetUserVerificationFlowRequest;
75580
+ return proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader(msg, reader);
75581
+ };
75582
+
75583
+
75584
+ /**
75585
+ * Deserializes binary data (in protobuf wire format) from the
75586
+ * given reader into the given message object.
75587
+ * @param {!proto.user.GetUserVerificationFlowRequest} msg The message object to deserialize into.
75588
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75589
+ * @return {!proto.user.GetUserVerificationFlowRequest}
75590
+ */
75591
+ proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader = function(msg, reader) {
75592
+ while (reader.nextField()) {
75593
+ if (reader.isEndGroup()) {
75594
+ break;
75595
+ }
75596
+ var field = reader.getFieldNumber();
75597
+ switch (field) {
75598
+ case 1:
75599
+ var value = /** @type {number} */ (reader.readInt32());
75600
+ msg.setUserId(value);
75601
+ break;
75602
+ case 2:
75603
+ var value = /** @type {string} */ (reader.readString());
75604
+ msg.setPurpose(value);
75605
+ break;
75606
+ default:
75607
+ reader.skipField();
75608
+ break;
75609
+ }
75610
+ }
75611
+ return msg;
75612
+ };
75613
+
75614
+
75615
+ /**
75616
+ * Serializes the message to binary data (in protobuf wire format).
75617
+ * @return {!Uint8Array}
75618
+ */
75619
+ proto.user.GetUserVerificationFlowRequest.prototype.serializeBinary = function() {
75620
+ var writer = new jspb.BinaryWriter();
75621
+ proto.user.GetUserVerificationFlowRequest.serializeBinaryToWriter(this, writer);
75622
+ return writer.getResultBuffer();
75623
+ };
75624
+
75625
+
75626
+ /**
75627
+ * Serializes the given message to binary data (in protobuf wire
75628
+ * format), writing to the given BinaryWriter.
75629
+ * @param {!proto.user.GetUserVerificationFlowRequest} message
75630
+ * @param {!jspb.BinaryWriter} writer
75631
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75632
+ */
75633
+ proto.user.GetUserVerificationFlowRequest.serializeBinaryToWriter = function(message, writer) {
75634
+ var f = undefined;
75635
+ f = message.getUserId();
75636
+ if (f !== 0) {
75637
+ writer.writeInt32(
75638
+ 1,
75639
+ f
75640
+ );
75641
+ }
75642
+ f = message.getPurpose();
75643
+ if (f.length > 0) {
75644
+ writer.writeString(
75645
+ 2,
75646
+ f
75647
+ );
75648
+ }
75649
+ };
75650
+
75651
+
75652
+ /**
75653
+ * optional int32 user_id = 1;
75654
+ * @return {number}
75655
+ */
75656
+ proto.user.GetUserVerificationFlowRequest.prototype.getUserId = function() {
75657
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75658
+ };
75659
+
75660
+
75661
+ /**
75662
+ * @param {number} value
75663
+ * @return {!proto.user.GetUserVerificationFlowRequest} returns this
75664
+ */
75665
+ proto.user.GetUserVerificationFlowRequest.prototype.setUserId = function(value) {
75666
+ return jspb.Message.setProto3IntField(this, 1, value);
75667
+ };
75668
+
75669
+
75670
+ /**
75671
+ * optional string purpose = 2;
75672
+ * @return {string}
75673
+ */
75674
+ proto.user.GetUserVerificationFlowRequest.prototype.getPurpose = function() {
75675
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75676
+ };
75677
+
75678
+
75679
+ /**
75680
+ * @param {string} value
75681
+ * @return {!proto.user.GetUserVerificationFlowRequest} returns this
75682
+ */
75683
+ proto.user.GetUserVerificationFlowRequest.prototype.setPurpose = function(value) {
75684
+ return jspb.Message.setProto3StringField(this, 2, value);
75685
+ };
75686
+
75687
+
75688
+
75689
+ /**
75690
+ * List of repeated fields within this message type.
75691
+ * @private {!Array<number>}
75692
+ * @const
75693
+ */
75694
+ proto.user.GetUserVerificationFlowResponse.repeatedFields_ = [4];
75695
+
75696
+
75697
+
75698
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75699
+ /**
75700
+ * Creates an object representation of this proto.
75701
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75702
+ * Optional fields that are not set will be set to undefined.
75703
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75704
+ * For the list of reserved names please see:
75705
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75706
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75707
+ * JSPB instance for transitional soy proto support:
75708
+ * http://goto/soy-param-migration
75709
+ * @return {!Object}
75710
+ */
75711
+ proto.user.GetUserVerificationFlowResponse.prototype.toObject = function(opt_includeInstance) {
75712
+ return proto.user.GetUserVerificationFlowResponse.toObject(opt_includeInstance, this);
75713
+ };
75714
+
75715
+
75716
+ /**
75717
+ * Static version of the {@see toObject} method.
75718
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75719
+ * the JSPB instance for transitional soy proto support:
75720
+ * http://goto/soy-param-migration
75721
+ * @param {!proto.user.GetUserVerificationFlowResponse} msg The msg instance to transform.
75722
+ * @return {!Object}
75723
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75724
+ */
75725
+ proto.user.GetUserVerificationFlowResponse.toObject = function(includeInstance, msg) {
75726
+ var f, obj = {
75727
+ purpose: jspb.Message.getFieldWithDefault(msg, 1, ""),
75728
+ overallStatus: jspb.Message.getFieldWithDefault(msg, 2, 0),
75729
+ isKycConfirmed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
75730
+ stepsList: jspb.Message.toObjectList(msg.getStepsList(),
75731
+ proto.user.UserVerificationFlowStep.toObject, includeInstance)
75732
+ };
75733
+
75734
+ if (includeInstance) {
75735
+ obj.$jspbMessageInstance = msg;
75736
+ }
75737
+ return obj;
75738
+ };
75739
+ }
75740
+
75741
+
75742
+ /**
75743
+ * Deserializes binary data (in protobuf wire format).
75744
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75745
+ * @return {!proto.user.GetUserVerificationFlowResponse}
75746
+ */
75747
+ proto.user.GetUserVerificationFlowResponse.deserializeBinary = function(bytes) {
75748
+ var reader = new jspb.BinaryReader(bytes);
75749
+ var msg = new proto.user.GetUserVerificationFlowResponse;
75750
+ return proto.user.GetUserVerificationFlowResponse.deserializeBinaryFromReader(msg, reader);
75751
+ };
75752
+
75753
+
75754
+ /**
75755
+ * Deserializes binary data (in protobuf wire format) from the
75756
+ * given reader into the given message object.
75757
+ * @param {!proto.user.GetUserVerificationFlowResponse} msg The message object to deserialize into.
75758
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75759
+ * @return {!proto.user.GetUserVerificationFlowResponse}
75760
+ */
75761
+ proto.user.GetUserVerificationFlowResponse.deserializeBinaryFromReader = function(msg, reader) {
75762
+ while (reader.nextField()) {
75763
+ if (reader.isEndGroup()) {
75764
+ break;
75765
+ }
75766
+ var field = reader.getFieldNumber();
75767
+ switch (field) {
75768
+ case 1:
75769
+ var value = /** @type {string} */ (reader.readString());
75770
+ msg.setPurpose(value);
75771
+ break;
75772
+ case 2:
75773
+ var value = /** @type {!proto.user.UserVerificationOverallStatus} */ (reader.readEnum());
75774
+ msg.setOverallStatus(value);
75775
+ break;
75776
+ case 3:
75777
+ var value = /** @type {boolean} */ (reader.readBool());
75778
+ msg.setIsKycConfirmed(value);
75779
+ break;
75780
+ case 4:
75781
+ var value = new proto.user.UserVerificationFlowStep;
75782
+ reader.readMessage(value,proto.user.UserVerificationFlowStep.deserializeBinaryFromReader);
75783
+ msg.addSteps(value);
75784
+ break;
75785
+ default:
75786
+ reader.skipField();
75787
+ break;
75788
+ }
75789
+ }
75790
+ return msg;
75791
+ };
75792
+
75793
+
75794
+ /**
75795
+ * Serializes the message to binary data (in protobuf wire format).
75796
+ * @return {!Uint8Array}
75797
+ */
75798
+ proto.user.GetUserVerificationFlowResponse.prototype.serializeBinary = function() {
75799
+ var writer = new jspb.BinaryWriter();
75800
+ proto.user.GetUserVerificationFlowResponse.serializeBinaryToWriter(this, writer);
75801
+ return writer.getResultBuffer();
75802
+ };
75803
+
75804
+
75805
+ /**
75806
+ * Serializes the given message to binary data (in protobuf wire
75807
+ * format), writing to the given BinaryWriter.
75808
+ * @param {!proto.user.GetUserVerificationFlowResponse} message
75809
+ * @param {!jspb.BinaryWriter} writer
75810
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75811
+ */
75812
+ proto.user.GetUserVerificationFlowResponse.serializeBinaryToWriter = function(message, writer) {
75813
+ var f = undefined;
75814
+ f = message.getPurpose();
75815
+ if (f.length > 0) {
75816
+ writer.writeString(
75817
+ 1,
75818
+ f
75819
+ );
75820
+ }
75821
+ f = message.getOverallStatus();
75822
+ if (f !== 0.0) {
75823
+ writer.writeEnum(
75824
+ 2,
75825
+ f
75826
+ );
75827
+ }
75828
+ f = message.getIsKycConfirmed();
75829
+ if (f) {
75830
+ writer.writeBool(
75831
+ 3,
75832
+ f
75833
+ );
75834
+ }
75835
+ f = message.getStepsList();
75836
+ if (f.length > 0) {
75837
+ writer.writeRepeatedMessage(
75838
+ 4,
75839
+ f,
75840
+ proto.user.UserVerificationFlowStep.serializeBinaryToWriter
75841
+ );
75842
+ }
75843
+ };
75844
+
75845
+
75846
+ /**
75847
+ * optional string purpose = 1;
75848
+ * @return {string}
75849
+ */
75850
+ proto.user.GetUserVerificationFlowResponse.prototype.getPurpose = function() {
75851
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
75852
+ };
75853
+
75854
+
75855
+ /**
75856
+ * @param {string} value
75857
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75858
+ */
75859
+ proto.user.GetUserVerificationFlowResponse.prototype.setPurpose = function(value) {
75860
+ return jspb.Message.setProto3StringField(this, 1, value);
75861
+ };
75862
+
75863
+
75864
+ /**
75865
+ * optional UserVerificationOverallStatus overall_status = 2;
75866
+ * @return {!proto.user.UserVerificationOverallStatus}
75867
+ */
75868
+ proto.user.GetUserVerificationFlowResponse.prototype.getOverallStatus = function() {
75869
+ return /** @type {!proto.user.UserVerificationOverallStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
75870
+ };
75871
+
75872
+
75873
+ /**
75874
+ * @param {!proto.user.UserVerificationOverallStatus} value
75875
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75876
+ */
75877
+ proto.user.GetUserVerificationFlowResponse.prototype.setOverallStatus = function(value) {
75878
+ return jspb.Message.setProto3EnumField(this, 2, value);
75879
+ };
75880
+
75881
+
75882
+ /**
75883
+ * optional bool is_kyc_confirmed = 3;
75884
+ * @return {boolean}
75885
+ */
75886
+ proto.user.GetUserVerificationFlowResponse.prototype.getIsKycConfirmed = function() {
75887
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
75888
+ };
75889
+
75890
+
75891
+ /**
75892
+ * @param {boolean} value
75893
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75894
+ */
75895
+ proto.user.GetUserVerificationFlowResponse.prototype.setIsKycConfirmed = function(value) {
75896
+ return jspb.Message.setProto3BooleanField(this, 3, value);
75897
+ };
75898
+
75899
+
75900
+ /**
75901
+ * repeated UserVerificationFlowStep steps = 4;
75902
+ * @return {!Array<!proto.user.UserVerificationFlowStep>}
75903
+ */
75904
+ proto.user.GetUserVerificationFlowResponse.prototype.getStepsList = function() {
75905
+ return /** @type{!Array<!proto.user.UserVerificationFlowStep>} */ (
75906
+ jspb.Message.getRepeatedWrapperField(this, proto.user.UserVerificationFlowStep, 4));
75907
+ };
75908
+
75909
+
75910
+ /**
75911
+ * @param {!Array<!proto.user.UserVerificationFlowStep>} value
75912
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75913
+ */
75914
+ proto.user.GetUserVerificationFlowResponse.prototype.setStepsList = function(value) {
75915
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
75916
+ };
75917
+
75918
+
75919
+ /**
75920
+ * @param {!proto.user.UserVerificationFlowStep=} opt_value
75921
+ * @param {number=} opt_index
75922
+ * @return {!proto.user.UserVerificationFlowStep}
75923
+ */
75924
+ proto.user.GetUserVerificationFlowResponse.prototype.addSteps = function(opt_value, opt_index) {
75925
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserVerificationFlowStep, opt_index);
75926
+ };
75927
+
75928
+
75929
+ /**
75930
+ * Clears the list making it empty but non-null.
75931
+ * @return {!proto.user.GetUserVerificationFlowResponse} returns this
75932
+ */
75933
+ proto.user.GetUserVerificationFlowResponse.prototype.clearStepsList = function() {
75934
+ return this.setStepsList([]);
75935
+ };
75936
+
75937
+
75938
+
75939
+
75940
+
75941
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75942
+ /**
75943
+ * Creates an object representation of this proto.
75944
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75945
+ * Optional fields that are not set will be set to undefined.
75946
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75947
+ * For the list of reserved names please see:
75948
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75949
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75950
+ * JSPB instance for transitional soy proto support:
75951
+ * http://goto/soy-param-migration
75952
+ * @return {!Object}
75953
+ */
75954
+ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
75955
+ return proto.user.GetVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
75956
+ };
75957
+
75958
+
75959
+ /**
75960
+ * Static version of the {@see toObject} method.
75961
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75962
+ * the JSPB instance for transitional soy proto support:
75963
+ * http://goto/soy-param-migration
75964
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
75965
+ * @return {!Object}
75966
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75967
+ */
75968
+ proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
75969
+ var f, obj = {
75970
+
75971
+ };
75972
+
75973
+ if (includeInstance) {
75974
+ obj.$jspbMessageInstance = msg;
75975
+ }
75976
+ return obj;
75977
+ };
75978
+ }
75979
+
75980
+
75981
+ /**
75982
+ * Deserializes binary data (in protobuf wire format).
75983
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75984
+ * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
75985
+ */
75986
+ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
75987
+ var reader = new jspb.BinaryReader(bytes);
75988
+ var msg = new proto.user.GetVerificationProfileDataRequirementsRequest;
75989
+ return proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
75990
+ };
75991
+
75992
+
75993
+ /**
75994
+ * Deserializes binary data (in protobuf wire format) from the
75995
+ * given reader into the given message object.
75996
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
75997
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75998
+ * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
75999
+ */
76000
+ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
76001
+ while (reader.nextField()) {
76002
+ if (reader.isEndGroup()) {
76003
+ break;
76004
+ }
76005
+ var field = reader.getFieldNumber();
76006
+ switch (field) {
76007
+ default:
76008
+ reader.skipField();
76009
+ break;
76010
+ }
76011
+ }
76012
+ return msg;
76013
+ };
76014
+
76015
+
76016
+ /**
76017
+ * Serializes the message to binary data (in protobuf wire format).
76018
+ * @return {!Uint8Array}
76019
+ */
76020
+ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
76021
+ var writer = new jspb.BinaryWriter();
76022
+ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
76023
+ return writer.getResultBuffer();
76024
+ };
76025
+
76026
+
76027
+ /**
76028
+ * Serializes the given message to binary data (in protobuf wire
76029
+ * format), writing to the given BinaryWriter.
76030
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} message
76031
+ * @param {!jspb.BinaryWriter} writer
76032
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76033
+ */
76034
+ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
76035
+ var f = undefined;
76036
+ };
76037
+
76038
+
76039
+
76040
+ /**
76041
+ * List of repeated fields within this message type.
76042
+ * @private {!Array<number>}
76043
+ * @const
76044
+ */
76045
+ proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_ = [1];
76046
+
76047
+
76048
+
76049
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76050
+ /**
76051
+ * Creates an object representation of this proto.
76052
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76053
+ * Optional fields that are not set will be set to undefined.
76054
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76055
+ * For the list of reserved names please see:
76056
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76057
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76058
+ * JSPB instance for transitional soy proto support:
76059
+ * http://goto/soy-param-migration
76060
+ * @return {!Object}
76061
+ */
76062
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
76063
+ return proto.user.GetVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
76064
+ };
76065
+
76066
+
76067
+ /**
76068
+ * Static version of the {@see toObject} method.
76069
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76070
+ * the JSPB instance for transitional soy proto support:
76071
+ * http://goto/soy-param-migration
76072
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
76073
+ * @return {!Object}
76074
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76075
+ */
76076
+ proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
76077
+ var f, obj = {
76078
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
76079
+ };
76080
+
76081
+ if (includeInstance) {
76082
+ obj.$jspbMessageInstance = msg;
76083
+ }
76084
+ return obj;
76085
+ };
76086
+ }
76087
+
76088
+
76089
+ /**
76090
+ * Deserializes binary data (in protobuf wire format).
76091
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76092
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
76093
+ */
76094
+ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
76095
+ var reader = new jspb.BinaryReader(bytes);
76096
+ var msg = new proto.user.GetVerificationProfileDataRequirementsResponse;
76097
+ return proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
76098
+ };
76099
+
76100
+
76101
+ /**
76102
+ * Deserializes binary data (in protobuf wire format) from the
76103
+ * given reader into the given message object.
76104
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
76105
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76106
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
76107
+ */
76108
+ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
76109
+ while (reader.nextField()) {
76110
+ if (reader.isEndGroup()) {
76111
+ break;
76112
+ }
76113
+ var field = reader.getFieldNumber();
76114
+ switch (field) {
76115
+ case 1:
76116
+ var value = /** @type {string} */ (reader.readString());
76117
+ msg.addFields(value);
76118
+ break;
76119
+ default:
76120
+ reader.skipField();
76121
+ break;
76122
+ }
76123
+ }
76124
+ return msg;
76125
+ };
76126
+
76127
+
76128
+ /**
76129
+ * Serializes the message to binary data (in protobuf wire format).
76130
+ * @return {!Uint8Array}
76131
+ */
76132
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
76133
+ var writer = new jspb.BinaryWriter();
76134
+ proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
76135
+ return writer.getResultBuffer();
76136
+ };
76137
+
76138
+
76139
+ /**
76140
+ * Serializes the given message to binary data (in protobuf wire
76141
+ * format), writing to the given BinaryWriter.
76142
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} message
76143
+ * @param {!jspb.BinaryWriter} writer
76144
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76145
+ */
76146
+ proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
76147
+ var f = undefined;
76148
+ f = message.getFieldsList();
76149
+ if (f.length > 0) {
76150
+ writer.writeRepeatedString(
76151
+ 1,
76152
+ f
76153
+ );
76154
+ }
76155
+ };
76156
+
76157
+
76158
+ /**
76159
+ * repeated string fields = 1;
76160
+ * @return {!Array<string>}
76161
+ */
76162
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.getFieldsList = function() {
76163
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
76164
+ };
76165
+
76166
+
76167
+ /**
76168
+ * @param {!Array<string>} value
76169
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
76170
+ */
76171
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.setFieldsList = function(value) {
76172
+ return jspb.Message.setField(this, 1, value || []);
76173
+ };
76174
+
76175
+
76176
+ /**
76177
+ * @param {string} value
76178
+ * @param {number=} opt_index
76179
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
76180
+ */
76181
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.addFields = function(value, opt_index) {
76182
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
76183
+ };
76184
+
76185
+
76186
+ /**
76187
+ * Clears the list making it empty but non-null.
76188
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
76189
+ */
76190
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.clearFieldsList = function() {
76191
+ return this.setFieldsList([]);
76192
+ };
76193
+
76194
+
76195
+
76196
+ /**
76197
+ * List of repeated fields within this message type.
76198
+ * @private {!Array<number>}
76199
+ * @const
76200
+ */
76201
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_ = [1];
76202
+
76203
+
76204
+
76205
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76206
+ /**
76207
+ * Creates an object representation of this proto.
76208
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76209
+ * Optional fields that are not set will be set to undefined.
76210
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76211
+ * For the list of reserved names please see:
76212
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76213
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76214
+ * JSPB instance for transitional soy proto support:
76215
+ * http://goto/soy-param-migration
76216
+ * @return {!Object}
76217
+ */
76218
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
76219
+ return proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
76220
+ };
76221
+
76222
+
76223
+ /**
76224
+ * Static version of the {@see toObject} method.
76225
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76226
+ * the JSPB instance for transitional soy proto support:
76227
+ * http://goto/soy-param-migration
76228
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
76229
+ * @return {!Object}
76230
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76231
+ */
76232
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
76233
+ var f, obj = {
76234
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
76235
+ };
76236
+
76237
+ if (includeInstance) {
76238
+ obj.$jspbMessageInstance = msg;
76239
+ }
76240
+ return obj;
76241
+ };
76242
+ }
76243
+
76244
+
76245
+ /**
76246
+ * Deserializes binary data (in protobuf wire format).
76247
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76248
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
76249
+ */
76250
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
76251
+ var reader = new jspb.BinaryReader(bytes);
76252
+ var msg = new proto.user.ReplaceVerificationProfileDataRequirementsRequest;
76253
+ return proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
76254
+ };
76255
+
76256
+
76257
+ /**
76258
+ * Deserializes binary data (in protobuf wire format) from the
76259
+ * given reader into the given message object.
76260
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
76261
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76262
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
76263
+ */
76264
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
76265
+ while (reader.nextField()) {
76266
+ if (reader.isEndGroup()) {
76267
+ break;
76268
+ }
76269
+ var field = reader.getFieldNumber();
76270
+ switch (field) {
76271
+ case 1:
76272
+ var value = /** @type {string} */ (reader.readString());
76273
+ msg.addFields(value);
76274
+ break;
76275
+ default:
76276
+ reader.skipField();
76277
+ break;
76278
+ }
76279
+ }
76280
+ return msg;
76281
+ };
76282
+
76283
+
76284
+ /**
76285
+ * Serializes the message to binary data (in protobuf wire format).
76286
+ * @return {!Uint8Array}
76287
+ */
76288
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
76289
+ var writer = new jspb.BinaryWriter();
76290
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
76291
+ return writer.getResultBuffer();
76292
+ };
76293
+
76294
+
76295
+ /**
76296
+ * Serializes the given message to binary data (in protobuf wire
76297
+ * format), writing to the given BinaryWriter.
76298
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} message
76299
+ * @param {!jspb.BinaryWriter} writer
76300
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76301
+ */
76302
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
76303
+ var f = undefined;
76304
+ f = message.getFieldsList();
76305
+ if (f.length > 0) {
76306
+ writer.writeRepeatedString(
76307
+ 1,
76308
+ f
76309
+ );
76310
+ }
76311
+ };
76312
+
76313
+
76314
+ /**
76315
+ * repeated string fields = 1;
76316
+ * @return {!Array<string>}
76317
+ */
76318
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.getFieldsList = function() {
76319
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
76320
+ };
76321
+
76322
+
76323
+ /**
76324
+ * @param {!Array<string>} value
76325
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
76326
+ */
76327
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.setFieldsList = function(value) {
76328
+ return jspb.Message.setField(this, 1, value || []);
76329
+ };
76330
+
76331
+
76332
+ /**
76333
+ * @param {string} value
76334
+ * @param {number=} opt_index
76335
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
76336
+ */
76337
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.addFields = function(value, opt_index) {
76338
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
76339
+ };
76340
+
76341
+
76342
+ /**
76343
+ * Clears the list making it empty but non-null.
76344
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
76345
+ */
76346
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.clearFieldsList = function() {
76347
+ return this.setFieldsList([]);
76348
+ };
76349
+
76350
+
76351
+
76352
+
76353
+
76354
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76355
+ /**
76356
+ * Creates an object representation of this proto.
76357
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76358
+ * Optional fields that are not set will be set to undefined.
76359
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76360
+ * For the list of reserved names please see:
76361
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76362
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76363
+ * JSPB instance for transitional soy proto support:
76364
+ * http://goto/soy-param-migration
76365
+ * @return {!Object}
76366
+ */
76367
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
76368
+ return proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
76369
+ };
76370
+
76371
+
76372
+ /**
76373
+ * Static version of the {@see toObject} method.
76374
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76375
+ * the JSPB instance for transitional soy proto support:
76376
+ * http://goto/soy-param-migration
76377
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
76378
+ * @return {!Object}
76379
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76380
+ */
76381
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
76382
+ var f, obj = {
76383
+
76384
+ };
76385
+
76386
+ if (includeInstance) {
76387
+ obj.$jspbMessageInstance = msg;
76388
+ }
76389
+ return obj;
76390
+ };
76391
+ }
76392
+
76393
+
76394
+ /**
76395
+ * Deserializes binary data (in protobuf wire format).
76396
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76397
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
76398
+ */
76399
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
76400
+ var reader = new jspb.BinaryReader(bytes);
76401
+ var msg = new proto.user.ReplaceVerificationProfileDataRequirementsResponse;
76402
+ return proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
76403
+ };
76404
+
76405
+
76406
+ /**
76407
+ * Deserializes binary data (in protobuf wire format) from the
76408
+ * given reader into the given message object.
76409
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
76410
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76411
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
76412
+ */
76413
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
76414
+ while (reader.nextField()) {
76415
+ if (reader.isEndGroup()) {
76416
+ break;
76417
+ }
76418
+ var field = reader.getFieldNumber();
76419
+ switch (field) {
76420
+ default:
76421
+ reader.skipField();
76422
+ break;
76423
+ }
76424
+ }
76425
+ return msg;
76426
+ };
76427
+
76428
+
76429
+ /**
76430
+ * Serializes the message to binary data (in protobuf wire format).
76431
+ * @return {!Uint8Array}
76432
+ */
76433
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
76434
+ var writer = new jspb.BinaryWriter();
76435
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
76436
+ return writer.getResultBuffer();
76437
+ };
76438
+
76439
+
76440
+ /**
76441
+ * Serializes the given message to binary data (in protobuf wire
76442
+ * format), writing to the given BinaryWriter.
76443
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} message
76444
+ * @param {!jspb.BinaryWriter} writer
76445
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76446
+ */
76447
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
76448
+ var f = undefined;
76449
+ };
76450
+
76451
+
76452
+
76453
+
76454
+
76455
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76456
+ /**
76457
+ * Creates an object representation of this proto.
76458
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76459
+ * Optional fields that are not set will be set to undefined.
76460
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76461
+ * For the list of reserved names please see:
76462
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76463
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76464
+ * JSPB instance for transitional soy proto support:
76465
+ * http://goto/soy-param-migration
76466
+ * @return {!Object}
76467
+ */
76468
+ proto.user.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
76469
+ return proto.user.DashboardRequest.toObject(opt_includeInstance, this);
76470
+ };
76471
+
76472
+
76473
+ /**
76474
+ * Static version of the {@see toObject} method.
76475
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76476
+ * the JSPB instance for transitional soy proto support:
76477
+ * http://goto/soy-param-migration
76478
+ * @param {!proto.user.DashboardRequest} msg The msg instance to transform.
76479
+ * @return {!Object}
76480
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76481
+ */
76482
+ proto.user.DashboardRequest.toObject = function(includeInstance, msg) {
76483
+ var f, obj = {
76484
+ startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
75009
76485
  endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
75010
76486
  };
75011
76487
 
@@ -95526,6 +97002,14 @@ proto.user.UserVerificationOverallStatus = {
95526
97002
  USER_VERIFICATION_OVERALL_STATUS_REQUIRES_REVIEW: 6
95527
97003
  };
95528
97004
 
97005
+ /**
97006
+ * @enum {number}
97007
+ */
97008
+ proto.user.VerificationSelectionMode = {
97009
+ VERIFICATION_SELECTION_MODE_UNSPECIFIED: 0,
97010
+ VERIFICATION_SELECTION_MODE_ONE_OF: 1
97011
+ };
97012
+
95529
97013
  /**
95530
97014
  * @enum {number}
95531
97015
  */