protobuf-platform 1.2.557 → 1.2.558

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.557",
3
+ "version": "1.2.558",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -143,6 +143,9 @@ service User {
143
143
  rpc approveVerification(ApproveVerificationRequest) returns (ApproveVerificationResponse);
144
144
  // Provider-agnostic KYC capability-level verification read for FE/BO (not field-level profile data).
145
145
  rpc getUserVerification(GetUserVerificationRequest) returns (GetUserVerificationResponse);
146
+ // Platform-wide Profile Data verification requirement field configuration.
147
+ rpc getVerificationProfileDataRequirements(GetVerificationProfileDataRequirementsRequest) returns (GetVerificationProfileDataRequirementsResponse);
148
+ rpc replaceVerificationProfileDataRequirements(ReplaceVerificationProfileDataRequirementsRequest) returns (ReplaceVerificationProfileDataRequirementsResponse);
146
149
  //Dashboard
147
150
  rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
148
151
  //Notes
@@ -1776,6 +1779,15 @@ message ApproveVerificationRequest {
1776
1779
  VerificationCapability capability = 2;
1777
1780
  }
1778
1781
  message ApproveVerificationResponse {}
1782
+ // Platform-wide Profile Data verification requirement field configuration.
1783
+ message GetVerificationProfileDataRequirementsRequest {}
1784
+ message GetVerificationProfileDataRequirementsResponse {
1785
+ repeated string fields = 1;
1786
+ }
1787
+ message ReplaceVerificationProfileDataRequirementsRequest {
1788
+ repeated string fields = 1;
1789
+ }
1790
+ message ReplaceVerificationProfileDataRequirementsResponse {}
1779
1791
  //Dashboard
1780
1792
  message DashboardRequest {
1781
1793
  string start_date = 1;
@@ -642,6 +642,28 @@ function deserialize_user_GetUserWalletBalancesRequest(buffer_arg) {
642
642
  return user_pb.GetUserWalletBalancesRequest.deserializeBinary(new Uint8Array(buffer_arg));
643
643
  }
644
644
 
645
+ function serialize_user_GetVerificationProfileDataRequirementsRequest(arg) {
646
+ if (!(arg instanceof user_pb.GetVerificationProfileDataRequirementsRequest)) {
647
+ throw new Error('Expected argument of type user.GetVerificationProfileDataRequirementsRequest');
648
+ }
649
+ return Buffer.from(arg.serializeBinary());
650
+ }
651
+
652
+ function deserialize_user_GetVerificationProfileDataRequirementsRequest(buffer_arg) {
653
+ return user_pb.GetVerificationProfileDataRequirementsRequest.deserializeBinary(new Uint8Array(buffer_arg));
654
+ }
655
+
656
+ function serialize_user_GetVerificationProfileDataRequirementsResponse(arg) {
657
+ if (!(arg instanceof user_pb.GetVerificationProfileDataRequirementsResponse)) {
658
+ throw new Error('Expected argument of type user.GetVerificationProfileDataRequirementsResponse');
659
+ }
660
+ return Buffer.from(arg.serializeBinary());
661
+ }
662
+
663
+ function deserialize_user_GetVerificationProfileDataRequirementsResponse(buffer_arg) {
664
+ return user_pb.GetVerificationProfileDataRequirementsResponse.deserializeBinary(new Uint8Array(buffer_arg));
665
+ }
666
+
645
667
  function serialize_user_GoogleLoginRequest(arg) {
646
668
  if (!(arg instanceof user_pb.GoogleLoginRequest)) {
647
669
  throw new Error('Expected argument of type user.GoogleLoginRequest');
@@ -1225,6 +1247,28 @@ function deserialize_user_RegistrationRequest(buffer_arg) {
1225
1247
  return user_pb.RegistrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
1226
1248
  }
1227
1249
 
1250
+ function serialize_user_ReplaceVerificationProfileDataRequirementsRequest(arg) {
1251
+ if (!(arg instanceof user_pb.ReplaceVerificationProfileDataRequirementsRequest)) {
1252
+ throw new Error('Expected argument of type user.ReplaceVerificationProfileDataRequirementsRequest');
1253
+ }
1254
+ return Buffer.from(arg.serializeBinary());
1255
+ }
1256
+
1257
+ function deserialize_user_ReplaceVerificationProfileDataRequirementsRequest(buffer_arg) {
1258
+ return user_pb.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinary(new Uint8Array(buffer_arg));
1259
+ }
1260
+
1261
+ function serialize_user_ReplaceVerificationProfileDataRequirementsResponse(arg) {
1262
+ if (!(arg instanceof user_pb.ReplaceVerificationProfileDataRequirementsResponse)) {
1263
+ throw new Error('Expected argument of type user.ReplaceVerificationProfileDataRequirementsResponse');
1264
+ }
1265
+ return Buffer.from(arg.serializeBinary());
1266
+ }
1267
+
1268
+ function deserialize_user_ReplaceVerificationProfileDataRequirementsResponse(buffer_arg) {
1269
+ return user_pb.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary(new Uint8Array(buffer_arg));
1270
+ }
1271
+
1228
1272
  function serialize_user_ReserveResponsibleGamingDepositRequest(arg) {
1229
1273
  if (!(arg instanceof user_pb.ReserveResponsibleGamingDepositRequest)) {
1230
1274
  throw new Error('Expected argument of type user.ReserveResponsibleGamingDepositRequest');
@@ -3492,6 +3536,29 @@ getUserVerification: {
3492
3536
  responseSerialize: serialize_user_GetUserVerificationResponse,
3493
3537
  responseDeserialize: deserialize_user_GetUserVerificationResponse,
3494
3538
  },
3539
+ // Platform-wide Profile Data verification requirement field configuration.
3540
+ getVerificationProfileDataRequirements: {
3541
+ path: '/user.User/getVerificationProfileDataRequirements',
3542
+ requestStream: false,
3543
+ responseStream: false,
3544
+ requestType: user_pb.GetVerificationProfileDataRequirementsRequest,
3545
+ responseType: user_pb.GetVerificationProfileDataRequirementsResponse,
3546
+ requestSerialize: serialize_user_GetVerificationProfileDataRequirementsRequest,
3547
+ requestDeserialize: deserialize_user_GetVerificationProfileDataRequirementsRequest,
3548
+ responseSerialize: serialize_user_GetVerificationProfileDataRequirementsResponse,
3549
+ responseDeserialize: deserialize_user_GetVerificationProfileDataRequirementsResponse,
3550
+ },
3551
+ replaceVerificationProfileDataRequirements: {
3552
+ path: '/user.User/replaceVerificationProfileDataRequirements',
3553
+ requestStream: false,
3554
+ responseStream: false,
3555
+ requestType: user_pb.ReplaceVerificationProfileDataRequirementsRequest,
3556
+ responseType: user_pb.ReplaceVerificationProfileDataRequirementsResponse,
3557
+ requestSerialize: serialize_user_ReplaceVerificationProfileDataRequirementsRequest,
3558
+ requestDeserialize: deserialize_user_ReplaceVerificationProfileDataRequirementsRequest,
3559
+ responseSerialize: serialize_user_ReplaceVerificationProfileDataRequirementsResponse,
3560
+ responseDeserialize: deserialize_user_ReplaceVerificationProfileDataRequirementsResponse,
3561
+ },
3495
3562
  // Dashboard
3496
3563
  getDashboardInfo: {
3497
3564
  path: '/user.User/getDashboardInfo',
package/user/user_pb.js CHANGED
@@ -83,6 +83,8 @@ goog.exportSymbol('proto.user.GetUserSegmentIdsRequest', null, global);
83
83
  goog.exportSymbol('proto.user.GetUserVerificationRequest', null, global);
84
84
  goog.exportSymbol('proto.user.GetUserVerificationResponse', null, global);
85
85
  goog.exportSymbol('proto.user.GetUserWalletBalancesRequest', null, global);
86
+ goog.exportSymbol('proto.user.GetVerificationProfileDataRequirementsRequest', null, global);
87
+ goog.exportSymbol('proto.user.GetVerificationProfileDataRequirementsResponse', null, global);
86
88
  goog.exportSymbol('proto.user.GoogleLoginRequest', null, global);
87
89
  goog.exportSymbol('proto.user.IngestUserKycDocumentToProviderRequest', null, global);
88
90
  goog.exportSymbol('proto.user.KycRequirementPresetItem', null, global);
@@ -143,6 +145,8 @@ goog.exportSymbol('proto.user.ReadUserKycVerificationDocumentsRequest', null, gl
143
145
  goog.exportSymbol('proto.user.ReadUserManualRestrictionsRequest', null, global);
144
146
  goog.exportSymbol('proto.user.ReadUserRiskProfileRequest', null, global);
145
147
  goog.exportSymbol('proto.user.RegistrationRequest', null, global);
148
+ goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsRequest', null, global);
149
+ goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsResponse', null, global);
146
150
  goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositRequest', null, global);
147
151
  goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositResponse', null, global);
148
152
  goog.exportSymbol('proto.user.ReserveResponsibleGamingLossExposureRequest', null, global);
@@ -4410,6 +4414,90 @@ if (goog.DEBUG && !COMPILED) {
4410
4414
  */
4411
4415
  proto.user.ApproveVerificationResponse.displayName = 'proto.user.ApproveVerificationResponse';
4412
4416
  }
4417
+ /**
4418
+ * Generated by JsPbCodeGenerator.
4419
+ * @param {Array=} opt_data Optional initial data array, typically from a
4420
+ * server response, or constructed directly in Javascript. The array is used
4421
+ * in place and becomes part of the constructed object. It is not cloned.
4422
+ * If no data is provided, the constructed object will be empty, but still
4423
+ * valid.
4424
+ * @extends {jspb.Message}
4425
+ * @constructor
4426
+ */
4427
+ proto.user.GetVerificationProfileDataRequirementsRequest = function(opt_data) {
4428
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4429
+ };
4430
+ goog.inherits(proto.user.GetVerificationProfileDataRequirementsRequest, jspb.Message);
4431
+ if (goog.DEBUG && !COMPILED) {
4432
+ /**
4433
+ * @public
4434
+ * @override
4435
+ */
4436
+ proto.user.GetVerificationProfileDataRequirementsRequest.displayName = 'proto.user.GetVerificationProfileDataRequirementsRequest';
4437
+ }
4438
+ /**
4439
+ * Generated by JsPbCodeGenerator.
4440
+ * @param {Array=} opt_data Optional initial data array, typically from a
4441
+ * server response, or constructed directly in Javascript. The array is used
4442
+ * in place and becomes part of the constructed object. It is not cloned.
4443
+ * If no data is provided, the constructed object will be empty, but still
4444
+ * valid.
4445
+ * @extends {jspb.Message}
4446
+ * @constructor
4447
+ */
4448
+ proto.user.GetVerificationProfileDataRequirementsResponse = function(opt_data) {
4449
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_, null);
4450
+ };
4451
+ goog.inherits(proto.user.GetVerificationProfileDataRequirementsResponse, jspb.Message);
4452
+ if (goog.DEBUG && !COMPILED) {
4453
+ /**
4454
+ * @public
4455
+ * @override
4456
+ */
4457
+ proto.user.GetVerificationProfileDataRequirementsResponse.displayName = 'proto.user.GetVerificationProfileDataRequirementsResponse';
4458
+ }
4459
+ /**
4460
+ * Generated by JsPbCodeGenerator.
4461
+ * @param {Array=} opt_data Optional initial data array, typically from a
4462
+ * server response, or constructed directly in Javascript. The array is used
4463
+ * in place and becomes part of the constructed object. It is not cloned.
4464
+ * If no data is provided, the constructed object will be empty, but still
4465
+ * valid.
4466
+ * @extends {jspb.Message}
4467
+ * @constructor
4468
+ */
4469
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest = function(opt_data) {
4470
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_, null);
4471
+ };
4472
+ goog.inherits(proto.user.ReplaceVerificationProfileDataRequirementsRequest, jspb.Message);
4473
+ if (goog.DEBUG && !COMPILED) {
4474
+ /**
4475
+ * @public
4476
+ * @override
4477
+ */
4478
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.displayName = 'proto.user.ReplaceVerificationProfileDataRequirementsRequest';
4479
+ }
4480
+ /**
4481
+ * Generated by JsPbCodeGenerator.
4482
+ * @param {Array=} opt_data Optional initial data array, typically from a
4483
+ * server response, or constructed directly in Javascript. The array is used
4484
+ * in place and becomes part of the constructed object. It is not cloned.
4485
+ * If no data is provided, the constructed object will be empty, but still
4486
+ * valid.
4487
+ * @extends {jspb.Message}
4488
+ * @constructor
4489
+ */
4490
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse = function(opt_data) {
4491
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4492
+ };
4493
+ goog.inherits(proto.user.ReplaceVerificationProfileDataRequirementsResponse, jspb.Message);
4494
+ if (goog.DEBUG && !COMPILED) {
4495
+ /**
4496
+ * @public
4497
+ * @override
4498
+ */
4499
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.displayName = 'proto.user.ReplaceVerificationProfileDataRequirementsResponse';
4500
+ }
4413
4501
  /**
4414
4502
  * Generated by JsPbCodeGenerator.
4415
4503
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -74374,6 +74462,520 @@ proto.user.ApproveVerificationResponse.serializeBinaryToWriter = function(messag
74374
74462
 
74375
74463
 
74376
74464
 
74465
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74466
+ /**
74467
+ * Creates an object representation of this proto.
74468
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74469
+ * Optional fields that are not set will be set to undefined.
74470
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74471
+ * For the list of reserved names please see:
74472
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74473
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74474
+ * JSPB instance for transitional soy proto support:
74475
+ * http://goto/soy-param-migration
74476
+ * @return {!Object}
74477
+ */
74478
+ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
74479
+ return proto.user.GetVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
74480
+ };
74481
+
74482
+
74483
+ /**
74484
+ * Static version of the {@see toObject} method.
74485
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74486
+ * the JSPB instance for transitional soy proto support:
74487
+ * http://goto/soy-param-migration
74488
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
74489
+ * @return {!Object}
74490
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74491
+ */
74492
+ proto.user.GetVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
74493
+ var f, obj = {
74494
+
74495
+ };
74496
+
74497
+ if (includeInstance) {
74498
+ obj.$jspbMessageInstance = msg;
74499
+ }
74500
+ return obj;
74501
+ };
74502
+ }
74503
+
74504
+
74505
+ /**
74506
+ * Deserializes binary data (in protobuf wire format).
74507
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74508
+ * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
74509
+ */
74510
+ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
74511
+ var reader = new jspb.BinaryReader(bytes);
74512
+ var msg = new proto.user.GetVerificationProfileDataRequirementsRequest;
74513
+ return proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
74514
+ };
74515
+
74516
+
74517
+ /**
74518
+ * Deserializes binary data (in protobuf wire format) from the
74519
+ * given reader into the given message object.
74520
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
74521
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74522
+ * @return {!proto.user.GetVerificationProfileDataRequirementsRequest}
74523
+ */
74524
+ proto.user.GetVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
74525
+ while (reader.nextField()) {
74526
+ if (reader.isEndGroup()) {
74527
+ break;
74528
+ }
74529
+ var field = reader.getFieldNumber();
74530
+ switch (field) {
74531
+ default:
74532
+ reader.skipField();
74533
+ break;
74534
+ }
74535
+ }
74536
+ return msg;
74537
+ };
74538
+
74539
+
74540
+ /**
74541
+ * Serializes the message to binary data (in protobuf wire format).
74542
+ * @return {!Uint8Array}
74543
+ */
74544
+ proto.user.GetVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
74545
+ var writer = new jspb.BinaryWriter();
74546
+ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
74547
+ return writer.getResultBuffer();
74548
+ };
74549
+
74550
+
74551
+ /**
74552
+ * Serializes the given message to binary data (in protobuf wire
74553
+ * format), writing to the given BinaryWriter.
74554
+ * @param {!proto.user.GetVerificationProfileDataRequirementsRequest} message
74555
+ * @param {!jspb.BinaryWriter} writer
74556
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74557
+ */
74558
+ proto.user.GetVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
74559
+ var f = undefined;
74560
+ };
74561
+
74562
+
74563
+
74564
+ /**
74565
+ * List of repeated fields within this message type.
74566
+ * @private {!Array<number>}
74567
+ * @const
74568
+ */
74569
+ proto.user.GetVerificationProfileDataRequirementsResponse.repeatedFields_ = [1];
74570
+
74571
+
74572
+
74573
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74574
+ /**
74575
+ * Creates an object representation of this proto.
74576
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74577
+ * Optional fields that are not set will be set to undefined.
74578
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74579
+ * For the list of reserved names please see:
74580
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74581
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74582
+ * JSPB instance for transitional soy proto support:
74583
+ * http://goto/soy-param-migration
74584
+ * @return {!Object}
74585
+ */
74586
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
74587
+ return proto.user.GetVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
74588
+ };
74589
+
74590
+
74591
+ /**
74592
+ * Static version of the {@see toObject} method.
74593
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74594
+ * the JSPB instance for transitional soy proto support:
74595
+ * http://goto/soy-param-migration
74596
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
74597
+ * @return {!Object}
74598
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74599
+ */
74600
+ proto.user.GetVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
74601
+ var f, obj = {
74602
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
74603
+ };
74604
+
74605
+ if (includeInstance) {
74606
+ obj.$jspbMessageInstance = msg;
74607
+ }
74608
+ return obj;
74609
+ };
74610
+ }
74611
+
74612
+
74613
+ /**
74614
+ * Deserializes binary data (in protobuf wire format).
74615
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74616
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
74617
+ */
74618
+ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
74619
+ var reader = new jspb.BinaryReader(bytes);
74620
+ var msg = new proto.user.GetVerificationProfileDataRequirementsResponse;
74621
+ return proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
74622
+ };
74623
+
74624
+
74625
+ /**
74626
+ * Deserializes binary data (in protobuf wire format) from the
74627
+ * given reader into the given message object.
74628
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
74629
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74630
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse}
74631
+ */
74632
+ proto.user.GetVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
74633
+ while (reader.nextField()) {
74634
+ if (reader.isEndGroup()) {
74635
+ break;
74636
+ }
74637
+ var field = reader.getFieldNumber();
74638
+ switch (field) {
74639
+ case 1:
74640
+ var value = /** @type {string} */ (reader.readString());
74641
+ msg.addFields(value);
74642
+ break;
74643
+ default:
74644
+ reader.skipField();
74645
+ break;
74646
+ }
74647
+ }
74648
+ return msg;
74649
+ };
74650
+
74651
+
74652
+ /**
74653
+ * Serializes the message to binary data (in protobuf wire format).
74654
+ * @return {!Uint8Array}
74655
+ */
74656
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
74657
+ var writer = new jspb.BinaryWriter();
74658
+ proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
74659
+ return writer.getResultBuffer();
74660
+ };
74661
+
74662
+
74663
+ /**
74664
+ * Serializes the given message to binary data (in protobuf wire
74665
+ * format), writing to the given BinaryWriter.
74666
+ * @param {!proto.user.GetVerificationProfileDataRequirementsResponse} message
74667
+ * @param {!jspb.BinaryWriter} writer
74668
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74669
+ */
74670
+ proto.user.GetVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
74671
+ var f = undefined;
74672
+ f = message.getFieldsList();
74673
+ if (f.length > 0) {
74674
+ writer.writeRepeatedString(
74675
+ 1,
74676
+ f
74677
+ );
74678
+ }
74679
+ };
74680
+
74681
+
74682
+ /**
74683
+ * repeated string fields = 1;
74684
+ * @return {!Array<string>}
74685
+ */
74686
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.getFieldsList = function() {
74687
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
74688
+ };
74689
+
74690
+
74691
+ /**
74692
+ * @param {!Array<string>} value
74693
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74694
+ */
74695
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.setFieldsList = function(value) {
74696
+ return jspb.Message.setField(this, 1, value || []);
74697
+ };
74698
+
74699
+
74700
+ /**
74701
+ * @param {string} value
74702
+ * @param {number=} opt_index
74703
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74704
+ */
74705
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.addFields = function(value, opt_index) {
74706
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
74707
+ };
74708
+
74709
+
74710
+ /**
74711
+ * Clears the list making it empty but non-null.
74712
+ * @return {!proto.user.GetVerificationProfileDataRequirementsResponse} returns this
74713
+ */
74714
+ proto.user.GetVerificationProfileDataRequirementsResponse.prototype.clearFieldsList = function() {
74715
+ return this.setFieldsList([]);
74716
+ };
74717
+
74718
+
74719
+
74720
+ /**
74721
+ * List of repeated fields within this message type.
74722
+ * @private {!Array<number>}
74723
+ * @const
74724
+ */
74725
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.repeatedFields_ = [1];
74726
+
74727
+
74728
+
74729
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74730
+ /**
74731
+ * Creates an object representation of this proto.
74732
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74733
+ * Optional fields that are not set will be set to undefined.
74734
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74735
+ * For the list of reserved names please see:
74736
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74737
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74738
+ * JSPB instance for transitional soy proto support:
74739
+ * http://goto/soy-param-migration
74740
+ * @return {!Object}
74741
+ */
74742
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.toObject = function(opt_includeInstance) {
74743
+ return proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject(opt_includeInstance, this);
74744
+ };
74745
+
74746
+
74747
+ /**
74748
+ * Static version of the {@see toObject} method.
74749
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74750
+ * the JSPB instance for transitional soy proto support:
74751
+ * http://goto/soy-param-migration
74752
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The msg instance to transform.
74753
+ * @return {!Object}
74754
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74755
+ */
74756
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.toObject = function(includeInstance, msg) {
74757
+ var f, obj = {
74758
+ fieldsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
74759
+ };
74760
+
74761
+ if (includeInstance) {
74762
+ obj.$jspbMessageInstance = msg;
74763
+ }
74764
+ return obj;
74765
+ };
74766
+ }
74767
+
74768
+
74769
+ /**
74770
+ * Deserializes binary data (in protobuf wire format).
74771
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74772
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
74773
+ */
74774
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinary = function(bytes) {
74775
+ var reader = new jspb.BinaryReader(bytes);
74776
+ var msg = new proto.user.ReplaceVerificationProfileDataRequirementsRequest;
74777
+ return proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader(msg, reader);
74778
+ };
74779
+
74780
+
74781
+ /**
74782
+ * Deserializes binary data (in protobuf wire format) from the
74783
+ * given reader into the given message object.
74784
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} msg The message object to deserialize into.
74785
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74786
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest}
74787
+ */
74788
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.deserializeBinaryFromReader = function(msg, reader) {
74789
+ while (reader.nextField()) {
74790
+ if (reader.isEndGroup()) {
74791
+ break;
74792
+ }
74793
+ var field = reader.getFieldNumber();
74794
+ switch (field) {
74795
+ case 1:
74796
+ var value = /** @type {string} */ (reader.readString());
74797
+ msg.addFields(value);
74798
+ break;
74799
+ default:
74800
+ reader.skipField();
74801
+ break;
74802
+ }
74803
+ }
74804
+ return msg;
74805
+ };
74806
+
74807
+
74808
+ /**
74809
+ * Serializes the message to binary data (in protobuf wire format).
74810
+ * @return {!Uint8Array}
74811
+ */
74812
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.serializeBinary = function() {
74813
+ var writer = new jspb.BinaryWriter();
74814
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter(this, writer);
74815
+ return writer.getResultBuffer();
74816
+ };
74817
+
74818
+
74819
+ /**
74820
+ * Serializes the given message to binary data (in protobuf wire
74821
+ * format), writing to the given BinaryWriter.
74822
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} message
74823
+ * @param {!jspb.BinaryWriter} writer
74824
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74825
+ */
74826
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.serializeBinaryToWriter = function(message, writer) {
74827
+ var f = undefined;
74828
+ f = message.getFieldsList();
74829
+ if (f.length > 0) {
74830
+ writer.writeRepeatedString(
74831
+ 1,
74832
+ f
74833
+ );
74834
+ }
74835
+ };
74836
+
74837
+
74838
+ /**
74839
+ * repeated string fields = 1;
74840
+ * @return {!Array<string>}
74841
+ */
74842
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.getFieldsList = function() {
74843
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
74844
+ };
74845
+
74846
+
74847
+ /**
74848
+ * @param {!Array<string>} value
74849
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
74850
+ */
74851
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.setFieldsList = function(value) {
74852
+ return jspb.Message.setField(this, 1, value || []);
74853
+ };
74854
+
74855
+
74856
+ /**
74857
+ * @param {string} value
74858
+ * @param {number=} opt_index
74859
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
74860
+ */
74861
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.addFields = function(value, opt_index) {
74862
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
74863
+ };
74864
+
74865
+
74866
+ /**
74867
+ * Clears the list making it empty but non-null.
74868
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsRequest} returns this
74869
+ */
74870
+ proto.user.ReplaceVerificationProfileDataRequirementsRequest.prototype.clearFieldsList = function() {
74871
+ return this.setFieldsList([]);
74872
+ };
74873
+
74874
+
74875
+
74876
+
74877
+
74878
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74879
+ /**
74880
+ * Creates an object representation of this proto.
74881
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74882
+ * Optional fields that are not set will be set to undefined.
74883
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74884
+ * For the list of reserved names please see:
74885
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74886
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74887
+ * JSPB instance for transitional soy proto support:
74888
+ * http://goto/soy-param-migration
74889
+ * @return {!Object}
74890
+ */
74891
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.toObject = function(opt_includeInstance) {
74892
+ return proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject(opt_includeInstance, this);
74893
+ };
74894
+
74895
+
74896
+ /**
74897
+ * Static version of the {@see toObject} method.
74898
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74899
+ * the JSPB instance for transitional soy proto support:
74900
+ * http://goto/soy-param-migration
74901
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The msg instance to transform.
74902
+ * @return {!Object}
74903
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74904
+ */
74905
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.toObject = function(includeInstance, msg) {
74906
+ var f, obj = {
74907
+
74908
+ };
74909
+
74910
+ if (includeInstance) {
74911
+ obj.$jspbMessageInstance = msg;
74912
+ }
74913
+ return obj;
74914
+ };
74915
+ }
74916
+
74917
+
74918
+ /**
74919
+ * Deserializes binary data (in protobuf wire format).
74920
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74921
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
74922
+ */
74923
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary = function(bytes) {
74924
+ var reader = new jspb.BinaryReader(bytes);
74925
+ var msg = new proto.user.ReplaceVerificationProfileDataRequirementsResponse;
74926
+ return proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader(msg, reader);
74927
+ };
74928
+
74929
+
74930
+ /**
74931
+ * Deserializes binary data (in protobuf wire format) from the
74932
+ * given reader into the given message object.
74933
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} msg The message object to deserialize into.
74934
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74935
+ * @return {!proto.user.ReplaceVerificationProfileDataRequirementsResponse}
74936
+ */
74937
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinaryFromReader = function(msg, reader) {
74938
+ while (reader.nextField()) {
74939
+ if (reader.isEndGroup()) {
74940
+ break;
74941
+ }
74942
+ var field = reader.getFieldNumber();
74943
+ switch (field) {
74944
+ default:
74945
+ reader.skipField();
74946
+ break;
74947
+ }
74948
+ }
74949
+ return msg;
74950
+ };
74951
+
74952
+
74953
+ /**
74954
+ * Serializes the message to binary data (in protobuf wire format).
74955
+ * @return {!Uint8Array}
74956
+ */
74957
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.prototype.serializeBinary = function() {
74958
+ var writer = new jspb.BinaryWriter();
74959
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter(this, writer);
74960
+ return writer.getResultBuffer();
74961
+ };
74962
+
74963
+
74964
+ /**
74965
+ * Serializes the given message to binary data (in protobuf wire
74966
+ * format), writing to the given BinaryWriter.
74967
+ * @param {!proto.user.ReplaceVerificationProfileDataRequirementsResponse} message
74968
+ * @param {!jspb.BinaryWriter} writer
74969
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74970
+ */
74971
+ proto.user.ReplaceVerificationProfileDataRequirementsResponse.serializeBinaryToWriter = function(message, writer) {
74972
+ var f = undefined;
74973
+ };
74974
+
74975
+
74976
+
74977
+
74978
+
74377
74979
  if (jspb.Message.GENERATE_TO_OBJECT) {
74378
74980
  /**
74379
74981
  * Creates an object representation of this proto.