protobuf-platform 1.0.266 → 1.0.268

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/user/user_pb.js CHANGED
@@ -21,6 +21,8 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ goog.exportSymbol('proto.user.CategoryItem', null, global);
25
+ goog.exportSymbol('proto.user.CategoryItemsResponse', null, global);
24
26
  goog.exportSymbol('proto.user.DashboardRequest', null, global);
25
27
  goog.exportSymbol('proto.user.DashboardResponse', null, global);
26
28
  goog.exportSymbol('proto.user.GetNoteRequest', null, global);
@@ -54,6 +56,8 @@ goog.exportSymbol('proto.user.UserLoyaltyItem', null, global);
54
56
  goog.exportSymbol('proto.user.UserRequest', null, global);
55
57
  goog.exportSymbol('proto.user.UserSearchParams', null, global);
56
58
  goog.exportSymbol('proto.user.UsersResponse', null, global);
59
+ goog.exportSymbol('proto.user.VerificationStatus', null, global);
60
+ goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
57
61
  /**
58
62
  * Generated by JsPbCodeGenerator.
59
63
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -600,6 +604,90 @@ if (goog.DEBUG && !COMPILED) {
600
604
  */
601
605
  proto.user.RiskStatusItemsResponse.displayName = 'proto.user.RiskStatusItemsResponse';
602
606
  }
607
+ /**
608
+ * Generated by JsPbCodeGenerator.
609
+ * @param {Array=} opt_data Optional initial data array, typically from a
610
+ * server response, or constructed directly in Javascript. The array is used
611
+ * in place and becomes part of the constructed object. It is not cloned.
612
+ * If no data is provided, the constructed object will be empty, but still
613
+ * valid.
614
+ * @extends {jspb.Message}
615
+ * @constructor
616
+ */
617
+ proto.user.CategoryItem = function(opt_data) {
618
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
619
+ };
620
+ goog.inherits(proto.user.CategoryItem, jspb.Message);
621
+ if (goog.DEBUG && !COMPILED) {
622
+ /**
623
+ * @public
624
+ * @override
625
+ */
626
+ proto.user.CategoryItem.displayName = 'proto.user.CategoryItem';
627
+ }
628
+ /**
629
+ * Generated by JsPbCodeGenerator.
630
+ * @param {Array=} opt_data Optional initial data array, typically from a
631
+ * server response, or constructed directly in Javascript. The array is used
632
+ * in place and becomes part of the constructed object. It is not cloned.
633
+ * If no data is provided, the constructed object will be empty, but still
634
+ * valid.
635
+ * @extends {jspb.Message}
636
+ * @constructor
637
+ */
638
+ proto.user.CategoryItemsResponse = function(opt_data) {
639
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.CategoryItemsResponse.repeatedFields_, null);
640
+ };
641
+ goog.inherits(proto.user.CategoryItemsResponse, jspb.Message);
642
+ if (goog.DEBUG && !COMPILED) {
643
+ /**
644
+ * @public
645
+ * @override
646
+ */
647
+ proto.user.CategoryItemsResponse.displayName = 'proto.user.CategoryItemsResponse';
648
+ }
649
+ /**
650
+ * Generated by JsPbCodeGenerator.
651
+ * @param {Array=} opt_data Optional initial data array, typically from a
652
+ * server response, or constructed directly in Javascript. The array is used
653
+ * in place and becomes part of the constructed object. It is not cloned.
654
+ * If no data is provided, the constructed object will be empty, but still
655
+ * valid.
656
+ * @extends {jspb.Message}
657
+ * @constructor
658
+ */
659
+ proto.user.VerificationStatus = function(opt_data) {
660
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
661
+ };
662
+ goog.inherits(proto.user.VerificationStatus, jspb.Message);
663
+ if (goog.DEBUG && !COMPILED) {
664
+ /**
665
+ * @public
666
+ * @override
667
+ */
668
+ proto.user.VerificationStatus.displayName = 'proto.user.VerificationStatus';
669
+ }
670
+ /**
671
+ * Generated by JsPbCodeGenerator.
672
+ * @param {Array=} opt_data Optional initial data array, typically from a
673
+ * server response, or constructed directly in Javascript. The array is used
674
+ * in place and becomes part of the constructed object. It is not cloned.
675
+ * If no data is provided, the constructed object will be empty, but still
676
+ * valid.
677
+ * @extends {jspb.Message}
678
+ * @constructor
679
+ */
680
+ proto.user.VerificationStatusItemsResponse = function(opt_data) {
681
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.VerificationStatusItemsResponse.repeatedFields_, null);
682
+ };
683
+ goog.inherits(proto.user.VerificationStatusItemsResponse, jspb.Message);
684
+ if (goog.DEBUG && !COMPILED) {
685
+ /**
686
+ * @public
687
+ * @override
688
+ */
689
+ proto.user.VerificationStatusItemsResponse.displayName = 'proto.user.VerificationStatusItemsResponse';
690
+ }
603
691
  /**
604
692
  * Generated by JsPbCodeGenerator.
605
693
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1326,7 +1414,7 @@ proto.user.PaginationRequest.prototype.hasNoteSearchParams = function() {
1326
1414
  * @private {!Array<number>}
1327
1415
  * @const
1328
1416
  */
1329
- proto.user.UserSearchParams.repeatedFields_ = [1,2];
1417
+ proto.user.UserSearchParams.repeatedFields_ = [1,2,3,4,5,6,7];
1330
1418
 
1331
1419
 
1332
1420
 
@@ -1360,7 +1448,15 @@ proto.user.UserSearchParams.prototype.toObject = function(opt_includeInstance) {
1360
1448
  proto.user.UserSearchParams.toObject = function(includeInstance, msg) {
1361
1449
  var f, obj = {
1362
1450
  userPublicIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1363
- userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
1451
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1452
+ geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1453
+ currencyList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
1454
+ riskStatusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
1455
+ categoriesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
1456
+ verificationStatusesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
1457
+ email: jspb.Message.getFieldWithDefault(msg, 8, ""),
1458
+ registrationFrom: jspb.Message.getFieldWithDefault(msg, 9, ""),
1459
+ registrationTo: jspb.Message.getFieldWithDefault(msg, 10, "")
1364
1460
  };
1365
1461
 
1366
1462
  if (includeInstance) {
@@ -1407,6 +1503,44 @@ proto.user.UserSearchParams.deserializeBinaryFromReader = function(msg, reader)
1407
1503
  msg.addUserIds(values[i]);
1408
1504
  }
1409
1505
  break;
1506
+ case 3:
1507
+ var value = /** @type {string} */ (reader.readString());
1508
+ msg.addGeo(value);
1509
+ break;
1510
+ case 4:
1511
+ var value = /** @type {string} */ (reader.readString());
1512
+ msg.addCurrency(value);
1513
+ break;
1514
+ case 5:
1515
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
1516
+ for (var i = 0; i < values.length; i++) {
1517
+ msg.addRiskStatuses(values[i]);
1518
+ }
1519
+ break;
1520
+ case 6:
1521
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
1522
+ for (var i = 0; i < values.length; i++) {
1523
+ msg.addCategories(values[i]);
1524
+ }
1525
+ break;
1526
+ case 7:
1527
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
1528
+ for (var i = 0; i < values.length; i++) {
1529
+ msg.addVerificationStatuses(values[i]);
1530
+ }
1531
+ break;
1532
+ case 8:
1533
+ var value = /** @type {string} */ (reader.readString());
1534
+ msg.setEmail(value);
1535
+ break;
1536
+ case 9:
1537
+ var value = /** @type {string} */ (reader.readString());
1538
+ msg.setRegistrationFrom(value);
1539
+ break;
1540
+ case 10:
1541
+ var value = /** @type {string} */ (reader.readString());
1542
+ msg.setRegistrationTo(value);
1543
+ break;
1410
1544
  default:
1411
1545
  reader.skipField();
1412
1546
  break;
@@ -1450,6 +1584,62 @@ proto.user.UserSearchParams.serializeBinaryToWriter = function(message, writer)
1450
1584
  f
1451
1585
  );
1452
1586
  }
1587
+ f = message.getGeoList();
1588
+ if (f.length > 0) {
1589
+ writer.writeRepeatedString(
1590
+ 3,
1591
+ f
1592
+ );
1593
+ }
1594
+ f = message.getCurrencyList();
1595
+ if (f.length > 0) {
1596
+ writer.writeRepeatedString(
1597
+ 4,
1598
+ f
1599
+ );
1600
+ }
1601
+ f = message.getRiskStatusesList();
1602
+ if (f.length > 0) {
1603
+ writer.writePackedInt32(
1604
+ 5,
1605
+ f
1606
+ );
1607
+ }
1608
+ f = message.getCategoriesList();
1609
+ if (f.length > 0) {
1610
+ writer.writePackedInt32(
1611
+ 6,
1612
+ f
1613
+ );
1614
+ }
1615
+ f = message.getVerificationStatusesList();
1616
+ if (f.length > 0) {
1617
+ writer.writePackedInt32(
1618
+ 7,
1619
+ f
1620
+ );
1621
+ }
1622
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
1623
+ if (f != null) {
1624
+ writer.writeString(
1625
+ 8,
1626
+ f
1627
+ );
1628
+ }
1629
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
1630
+ if (f != null) {
1631
+ writer.writeString(
1632
+ 9,
1633
+ f
1634
+ );
1635
+ }
1636
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
1637
+ if (f != null) {
1638
+ writer.writeString(
1639
+ 10,
1640
+ f
1641
+ );
1642
+ }
1453
1643
  };
1454
1644
 
1455
1645
 
@@ -1527,166 +1717,215 @@ proto.user.UserSearchParams.prototype.clearUserIdsList = function() {
1527
1717
  };
1528
1718
 
1529
1719
 
1720
+ /**
1721
+ * repeated string geo = 3;
1722
+ * @return {!Array<string>}
1723
+ */
1724
+ proto.user.UserSearchParams.prototype.getGeoList = function() {
1725
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
1726
+ };
1727
+
1530
1728
 
1729
+ /**
1730
+ * @param {!Array<string>} value
1731
+ * @return {!proto.user.UserSearchParams} returns this
1732
+ */
1733
+ proto.user.UserSearchParams.prototype.setGeoList = function(value) {
1734
+ return jspb.Message.setField(this, 3, value || []);
1735
+ };
1531
1736
 
1532
1737
 
1533
- if (jspb.Message.GENERATE_TO_OBJECT) {
1534
1738
  /**
1535
- * Creates an object representation of this proto.
1536
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1537
- * Optional fields that are not set will be set to undefined.
1538
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1539
- * For the list of reserved names please see:
1540
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1541
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1542
- * JSPB instance for transitional soy proto support:
1543
- * http://goto/soy-param-migration
1544
- * @return {!Object}
1739
+ * @param {string} value
1740
+ * @param {number=} opt_index
1741
+ * @return {!proto.user.UserSearchParams} returns this
1545
1742
  */
1546
- proto.user.SegmentSearchParams.prototype.toObject = function(opt_includeInstance) {
1547
- return proto.user.SegmentSearchParams.toObject(opt_includeInstance, this);
1743
+ proto.user.UserSearchParams.prototype.addGeo = function(value, opt_index) {
1744
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
1548
1745
  };
1549
1746
 
1550
1747
 
1551
1748
  /**
1552
- * Static version of the {@see toObject} method.
1553
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1554
- * the JSPB instance for transitional soy proto support:
1555
- * http://goto/soy-param-migration
1556
- * @param {!proto.user.SegmentSearchParams} msg The msg instance to transform.
1557
- * @return {!Object}
1558
- * @suppress {unusedLocalVariables} f is only used for nested messages
1749
+ * Clears the list making it empty but non-null.
1750
+ * @return {!proto.user.UserSearchParams} returns this
1559
1751
  */
1560
- proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
1561
- var f, obj = {
1562
- type: jspb.Message.getFieldWithDefault(msg, 1, ""),
1563
- geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
1564
- segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0)
1565
- };
1752
+ proto.user.UserSearchParams.prototype.clearGeoList = function() {
1753
+ return this.setGeoList([]);
1754
+ };
1566
1755
 
1567
- if (includeInstance) {
1568
- obj.$jspbMessageInstance = msg;
1569
- }
1570
- return obj;
1756
+
1757
+ /**
1758
+ * repeated string currency = 4;
1759
+ * @return {!Array<string>}
1760
+ */
1761
+ proto.user.UserSearchParams.prototype.getCurrencyList = function() {
1762
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
1571
1763
  };
1572
- }
1573
1764
 
1574
1765
 
1575
1766
  /**
1576
- * Deserializes binary data (in protobuf wire format).
1577
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1578
- * @return {!proto.user.SegmentSearchParams}
1767
+ * @param {!Array<string>} value
1768
+ * @return {!proto.user.UserSearchParams} returns this
1579
1769
  */
1580
- proto.user.SegmentSearchParams.deserializeBinary = function(bytes) {
1581
- var reader = new jspb.BinaryReader(bytes);
1582
- var msg = new proto.user.SegmentSearchParams;
1583
- return proto.user.SegmentSearchParams.deserializeBinaryFromReader(msg, reader);
1770
+ proto.user.UserSearchParams.prototype.setCurrencyList = function(value) {
1771
+ return jspb.Message.setField(this, 4, value || []);
1584
1772
  };
1585
1773
 
1586
1774
 
1587
1775
  /**
1588
- * Deserializes binary data (in protobuf wire format) from the
1589
- * given reader into the given message object.
1590
- * @param {!proto.user.SegmentSearchParams} msg The message object to deserialize into.
1591
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1592
- * @return {!proto.user.SegmentSearchParams}
1776
+ * @param {string} value
1777
+ * @param {number=} opt_index
1778
+ * @return {!proto.user.UserSearchParams} returns this
1593
1779
  */
1594
- proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reader) {
1595
- while (reader.nextField()) {
1596
- if (reader.isEndGroup()) {
1597
- break;
1598
- }
1599
- var field = reader.getFieldNumber();
1600
- switch (field) {
1601
- case 1:
1602
- var value = /** @type {string} */ (reader.readString());
1603
- msg.setType(value);
1604
- break;
1605
- case 2:
1606
- var value = /** @type {string} */ (reader.readString());
1607
- msg.setGeo(value);
1608
- break;
1609
- case 3:
1610
- var value = /** @type {number} */ (reader.readInt32());
1611
- msg.setSegmentId(value);
1612
- break;
1613
- default:
1614
- reader.skipField();
1615
- break;
1616
- }
1617
- }
1618
- return msg;
1780
+ proto.user.UserSearchParams.prototype.addCurrency = function(value, opt_index) {
1781
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
1619
1782
  };
1620
1783
 
1621
1784
 
1622
1785
  /**
1623
- * Serializes the message to binary data (in protobuf wire format).
1624
- * @return {!Uint8Array}
1786
+ * Clears the list making it empty but non-null.
1787
+ * @return {!proto.user.UserSearchParams} returns this
1625
1788
  */
1626
- proto.user.SegmentSearchParams.prototype.serializeBinary = function() {
1627
- var writer = new jspb.BinaryWriter();
1628
- proto.user.SegmentSearchParams.serializeBinaryToWriter(this, writer);
1629
- return writer.getResultBuffer();
1789
+ proto.user.UserSearchParams.prototype.clearCurrencyList = function() {
1790
+ return this.setCurrencyList([]);
1630
1791
  };
1631
1792
 
1632
1793
 
1633
1794
  /**
1634
- * Serializes the given message to binary data (in protobuf wire
1635
- * format), writing to the given BinaryWriter.
1636
- * @param {!proto.user.SegmentSearchParams} message
1637
- * @param {!jspb.BinaryWriter} writer
1638
- * @suppress {unusedLocalVariables} f is only used for nested messages
1795
+ * repeated int32 risk_statuses = 5;
1796
+ * @return {!Array<number>}
1639
1797
  */
1640
- proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, writer) {
1641
- var f = undefined;
1642
- f = /** @type {string} */ (jspb.Message.getField(message, 1));
1643
- if (f != null) {
1644
- writer.writeString(
1645
- 1,
1646
- f
1647
- );
1648
- }
1649
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
1650
- if (f != null) {
1651
- writer.writeString(
1652
- 2,
1653
- f
1654
- );
1655
- }
1656
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
1657
- if (f != null) {
1658
- writer.writeInt32(
1659
- 3,
1660
- f
1661
- );
1662
- }
1798
+ proto.user.UserSearchParams.prototype.getRiskStatusesList = function() {
1799
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
1663
1800
  };
1664
1801
 
1665
1802
 
1666
1803
  /**
1667
- * optional string type = 1;
1804
+ * @param {!Array<number>} value
1805
+ * @return {!proto.user.UserSearchParams} returns this
1806
+ */
1807
+ proto.user.UserSearchParams.prototype.setRiskStatusesList = function(value) {
1808
+ return jspb.Message.setField(this, 5, value || []);
1809
+ };
1810
+
1811
+
1812
+ /**
1813
+ * @param {number} value
1814
+ * @param {number=} opt_index
1815
+ * @return {!proto.user.UserSearchParams} returns this
1816
+ */
1817
+ proto.user.UserSearchParams.prototype.addRiskStatuses = function(value, opt_index) {
1818
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
1819
+ };
1820
+
1821
+
1822
+ /**
1823
+ * Clears the list making it empty but non-null.
1824
+ * @return {!proto.user.UserSearchParams} returns this
1825
+ */
1826
+ proto.user.UserSearchParams.prototype.clearRiskStatusesList = function() {
1827
+ return this.setRiskStatusesList([]);
1828
+ };
1829
+
1830
+
1831
+ /**
1832
+ * repeated int32 categories = 6;
1833
+ * @return {!Array<number>}
1834
+ */
1835
+ proto.user.UserSearchParams.prototype.getCategoriesList = function() {
1836
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 6));
1837
+ };
1838
+
1839
+
1840
+ /**
1841
+ * @param {!Array<number>} value
1842
+ * @return {!proto.user.UserSearchParams} returns this
1843
+ */
1844
+ proto.user.UserSearchParams.prototype.setCategoriesList = function(value) {
1845
+ return jspb.Message.setField(this, 6, value || []);
1846
+ };
1847
+
1848
+
1849
+ /**
1850
+ * @param {number} value
1851
+ * @param {number=} opt_index
1852
+ * @return {!proto.user.UserSearchParams} returns this
1853
+ */
1854
+ proto.user.UserSearchParams.prototype.addCategories = function(value, opt_index) {
1855
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
1856
+ };
1857
+
1858
+
1859
+ /**
1860
+ * Clears the list making it empty but non-null.
1861
+ * @return {!proto.user.UserSearchParams} returns this
1862
+ */
1863
+ proto.user.UserSearchParams.prototype.clearCategoriesList = function() {
1864
+ return this.setCategoriesList([]);
1865
+ };
1866
+
1867
+
1868
+ /**
1869
+ * repeated int32 verification_statuses = 7;
1870
+ * @return {!Array<number>}
1871
+ */
1872
+ proto.user.UserSearchParams.prototype.getVerificationStatusesList = function() {
1873
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 7));
1874
+ };
1875
+
1876
+
1877
+ /**
1878
+ * @param {!Array<number>} value
1879
+ * @return {!proto.user.UserSearchParams} returns this
1880
+ */
1881
+ proto.user.UserSearchParams.prototype.setVerificationStatusesList = function(value) {
1882
+ return jspb.Message.setField(this, 7, value || []);
1883
+ };
1884
+
1885
+
1886
+ /**
1887
+ * @param {number} value
1888
+ * @param {number=} opt_index
1889
+ * @return {!proto.user.UserSearchParams} returns this
1890
+ */
1891
+ proto.user.UserSearchParams.prototype.addVerificationStatuses = function(value, opt_index) {
1892
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
1893
+ };
1894
+
1895
+
1896
+ /**
1897
+ * Clears the list making it empty but non-null.
1898
+ * @return {!proto.user.UserSearchParams} returns this
1899
+ */
1900
+ proto.user.UserSearchParams.prototype.clearVerificationStatusesList = function() {
1901
+ return this.setVerificationStatusesList([]);
1902
+ };
1903
+
1904
+
1905
+ /**
1906
+ * optional string email = 8;
1668
1907
  * @return {string}
1669
1908
  */
1670
- proto.user.SegmentSearchParams.prototype.getType = function() {
1671
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1909
+ proto.user.UserSearchParams.prototype.getEmail = function() {
1910
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1672
1911
  };
1673
1912
 
1674
1913
 
1675
1914
  /**
1676
1915
  * @param {string} value
1677
- * @return {!proto.user.SegmentSearchParams} returns this
1916
+ * @return {!proto.user.UserSearchParams} returns this
1678
1917
  */
1679
- proto.user.SegmentSearchParams.prototype.setType = function(value) {
1680
- return jspb.Message.setField(this, 1, value);
1918
+ proto.user.UserSearchParams.prototype.setEmail = function(value) {
1919
+ return jspb.Message.setField(this, 8, value);
1681
1920
  };
1682
1921
 
1683
1922
 
1684
1923
  /**
1685
1924
  * Clears the field making it undefined.
1686
- * @return {!proto.user.SegmentSearchParams} returns this
1925
+ * @return {!proto.user.UserSearchParams} returns this
1687
1926
  */
1688
- proto.user.SegmentSearchParams.prototype.clearType = function() {
1689
- return jspb.Message.setField(this, 1, undefined);
1927
+ proto.user.UserSearchParams.prototype.clearEmail = function() {
1928
+ return jspb.Message.setField(this, 8, undefined);
1690
1929
  };
1691
1930
 
1692
1931
 
@@ -1694,35 +1933,35 @@ proto.user.SegmentSearchParams.prototype.clearType = function() {
1694
1933
  * Returns whether this field is set.
1695
1934
  * @return {boolean}
1696
1935
  */
1697
- proto.user.SegmentSearchParams.prototype.hasType = function() {
1698
- return jspb.Message.getField(this, 1) != null;
1936
+ proto.user.UserSearchParams.prototype.hasEmail = function() {
1937
+ return jspb.Message.getField(this, 8) != null;
1699
1938
  };
1700
1939
 
1701
1940
 
1702
1941
  /**
1703
- * optional string geo = 2;
1942
+ * optional string registration_from = 9;
1704
1943
  * @return {string}
1705
1944
  */
1706
- proto.user.SegmentSearchParams.prototype.getGeo = function() {
1707
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1945
+ proto.user.UserSearchParams.prototype.getRegistrationFrom = function() {
1946
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1708
1947
  };
1709
1948
 
1710
1949
 
1711
1950
  /**
1712
1951
  * @param {string} value
1713
- * @return {!proto.user.SegmentSearchParams} returns this
1952
+ * @return {!proto.user.UserSearchParams} returns this
1714
1953
  */
1715
- proto.user.SegmentSearchParams.prototype.setGeo = function(value) {
1716
- return jspb.Message.setField(this, 2, value);
1954
+ proto.user.UserSearchParams.prototype.setRegistrationFrom = function(value) {
1955
+ return jspb.Message.setField(this, 9, value);
1717
1956
  };
1718
1957
 
1719
1958
 
1720
1959
  /**
1721
1960
  * Clears the field making it undefined.
1722
- * @return {!proto.user.SegmentSearchParams} returns this
1961
+ * @return {!proto.user.UserSearchParams} returns this
1723
1962
  */
1724
- proto.user.SegmentSearchParams.prototype.clearGeo = function() {
1725
- return jspb.Message.setField(this, 2, undefined);
1963
+ proto.user.UserSearchParams.prototype.clearRegistrationFrom = function() {
1964
+ return jspb.Message.setField(this, 9, undefined);
1726
1965
  };
1727
1966
 
1728
1967
 
@@ -1730,35 +1969,35 @@ proto.user.SegmentSearchParams.prototype.clearGeo = function() {
1730
1969
  * Returns whether this field is set.
1731
1970
  * @return {boolean}
1732
1971
  */
1733
- proto.user.SegmentSearchParams.prototype.hasGeo = function() {
1734
- return jspb.Message.getField(this, 2) != null;
1972
+ proto.user.UserSearchParams.prototype.hasRegistrationFrom = function() {
1973
+ return jspb.Message.getField(this, 9) != null;
1735
1974
  };
1736
1975
 
1737
1976
 
1738
1977
  /**
1739
- * optional int32 segment_id = 3;
1740
- * @return {number}
1978
+ * optional string registration_to = 10;
1979
+ * @return {string}
1741
1980
  */
1742
- proto.user.SegmentSearchParams.prototype.getSegmentId = function() {
1743
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1981
+ proto.user.UserSearchParams.prototype.getRegistrationTo = function() {
1982
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1744
1983
  };
1745
1984
 
1746
1985
 
1747
1986
  /**
1748
- * @param {number} value
1749
- * @return {!proto.user.SegmentSearchParams} returns this
1987
+ * @param {string} value
1988
+ * @return {!proto.user.UserSearchParams} returns this
1750
1989
  */
1751
- proto.user.SegmentSearchParams.prototype.setSegmentId = function(value) {
1752
- return jspb.Message.setField(this, 3, value);
1990
+ proto.user.UserSearchParams.prototype.setRegistrationTo = function(value) {
1991
+ return jspb.Message.setField(this, 10, value);
1753
1992
  };
1754
1993
 
1755
1994
 
1756
1995
  /**
1757
1996
  * Clears the field making it undefined.
1758
- * @return {!proto.user.SegmentSearchParams} returns this
1997
+ * @return {!proto.user.UserSearchParams} returns this
1759
1998
  */
1760
- proto.user.SegmentSearchParams.prototype.clearSegmentId = function() {
1761
- return jspb.Message.setField(this, 3, undefined);
1999
+ proto.user.UserSearchParams.prototype.clearRegistrationTo = function() {
2000
+ return jspb.Message.setField(this, 10, undefined);
1762
2001
  };
1763
2002
 
1764
2003
 
@@ -1766,8 +2005,8 @@ proto.user.SegmentSearchParams.prototype.clearSegmentId = function() {
1766
2005
  * Returns whether this field is set.
1767
2006
  * @return {boolean}
1768
2007
  */
1769
- proto.user.SegmentSearchParams.prototype.hasSegmentId = function() {
1770
- return jspb.Message.getField(this, 3) != null;
2008
+ proto.user.UserSearchParams.prototype.hasRegistrationTo = function() {
2009
+ return jspb.Message.getField(this, 10) != null;
1771
2010
  };
1772
2011
 
1773
2012
 
@@ -1787,8 +2026,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1787
2026
  * http://goto/soy-param-migration
1788
2027
  * @return {!Object}
1789
2028
  */
1790
- proto.user.NoteSearchParams.prototype.toObject = function(opt_includeInstance) {
1791
- return proto.user.NoteSearchParams.toObject(opt_includeInstance, this);
2029
+ proto.user.SegmentSearchParams.prototype.toObject = function(opt_includeInstance) {
2030
+ return proto.user.SegmentSearchParams.toObject(opt_includeInstance, this);
1792
2031
  };
1793
2032
 
1794
2033
 
@@ -1797,13 +2036,15 @@ proto.user.NoteSearchParams.prototype.toObject = function(opt_includeInstance) {
1797
2036
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1798
2037
  * the JSPB instance for transitional soy proto support:
1799
2038
  * http://goto/soy-param-migration
1800
- * @param {!proto.user.NoteSearchParams} msg The msg instance to transform.
2039
+ * @param {!proto.user.SegmentSearchParams} msg The msg instance to transform.
1801
2040
  * @return {!Object}
1802
2041
  * @suppress {unusedLocalVariables} f is only used for nested messages
1803
2042
  */
1804
- proto.user.NoteSearchParams.toObject = function(includeInstance, msg) {
2043
+ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
1805
2044
  var f, obj = {
1806
- userId: jspb.Message.getFieldWithDefault(msg, 2, 0)
2045
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
2046
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
2047
+ segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0)
1807
2048
  };
1808
2049
 
1809
2050
  if (includeInstance) {
@@ -1817,32 +2058,40 @@ proto.user.NoteSearchParams.toObject = function(includeInstance, msg) {
1817
2058
  /**
1818
2059
  * Deserializes binary data (in protobuf wire format).
1819
2060
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1820
- * @return {!proto.user.NoteSearchParams}
2061
+ * @return {!proto.user.SegmentSearchParams}
1821
2062
  */
1822
- proto.user.NoteSearchParams.deserializeBinary = function(bytes) {
2063
+ proto.user.SegmentSearchParams.deserializeBinary = function(bytes) {
1823
2064
  var reader = new jspb.BinaryReader(bytes);
1824
- var msg = new proto.user.NoteSearchParams;
1825
- return proto.user.NoteSearchParams.deserializeBinaryFromReader(msg, reader);
2065
+ var msg = new proto.user.SegmentSearchParams;
2066
+ return proto.user.SegmentSearchParams.deserializeBinaryFromReader(msg, reader);
1826
2067
  };
1827
2068
 
1828
2069
 
1829
2070
  /**
1830
2071
  * Deserializes binary data (in protobuf wire format) from the
1831
2072
  * given reader into the given message object.
1832
- * @param {!proto.user.NoteSearchParams} msg The message object to deserialize into.
2073
+ * @param {!proto.user.SegmentSearchParams} msg The message object to deserialize into.
1833
2074
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1834
- * @return {!proto.user.NoteSearchParams}
2075
+ * @return {!proto.user.SegmentSearchParams}
1835
2076
  */
1836
- proto.user.NoteSearchParams.deserializeBinaryFromReader = function(msg, reader) {
2077
+ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reader) {
1837
2078
  while (reader.nextField()) {
1838
2079
  if (reader.isEndGroup()) {
1839
2080
  break;
1840
2081
  }
1841
2082
  var field = reader.getFieldNumber();
1842
2083
  switch (field) {
2084
+ case 1:
2085
+ var value = /** @type {string} */ (reader.readString());
2086
+ msg.setType(value);
2087
+ break;
1843
2088
  case 2:
2089
+ var value = /** @type {string} */ (reader.readString());
2090
+ msg.setGeo(value);
2091
+ break;
2092
+ case 3:
1844
2093
  var value = /** @type {number} */ (reader.readInt32());
1845
- msg.setUserId(value);
2094
+ msg.setSegmentId(value);
1846
2095
  break;
1847
2096
  default:
1848
2097
  reader.skipField();
@@ -1857,9 +2106,9 @@ proto.user.NoteSearchParams.deserializeBinaryFromReader = function(msg, reader)
1857
2106
  * Serializes the message to binary data (in protobuf wire format).
1858
2107
  * @return {!Uint8Array}
1859
2108
  */
1860
- proto.user.NoteSearchParams.prototype.serializeBinary = function() {
2109
+ proto.user.SegmentSearchParams.prototype.serializeBinary = function() {
1861
2110
  var writer = new jspb.BinaryWriter();
1862
- proto.user.NoteSearchParams.serializeBinaryToWriter(this, writer);
2111
+ proto.user.SegmentSearchParams.serializeBinaryToWriter(this, writer);
1863
2112
  return writer.getResultBuffer();
1864
2113
  };
1865
2114
 
@@ -1867,46 +2116,60 @@ proto.user.NoteSearchParams.prototype.serializeBinary = function() {
1867
2116
  /**
1868
2117
  * Serializes the given message to binary data (in protobuf wire
1869
2118
  * format), writing to the given BinaryWriter.
1870
- * @param {!proto.user.NoteSearchParams} message
2119
+ * @param {!proto.user.SegmentSearchParams} message
1871
2120
  * @param {!jspb.BinaryWriter} writer
1872
2121
  * @suppress {unusedLocalVariables} f is only used for nested messages
1873
2122
  */
1874
- proto.user.NoteSearchParams.serializeBinaryToWriter = function(message, writer) {
2123
+ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, writer) {
1875
2124
  var f = undefined;
1876
- f = /** @type {number} */ (jspb.Message.getField(message, 2));
2125
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
1877
2126
  if (f != null) {
1878
- writer.writeInt32(
2127
+ writer.writeString(
2128
+ 1,
2129
+ f
2130
+ );
2131
+ }
2132
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
2133
+ if (f != null) {
2134
+ writer.writeString(
1879
2135
  2,
1880
2136
  f
1881
2137
  );
1882
2138
  }
2139
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
2140
+ if (f != null) {
2141
+ writer.writeInt32(
2142
+ 3,
2143
+ f
2144
+ );
2145
+ }
1883
2146
  };
1884
2147
 
1885
2148
 
1886
2149
  /**
1887
- * optional int32 user_id = 2;
1888
- * @return {number}
2150
+ * optional string type = 1;
2151
+ * @return {string}
1889
2152
  */
1890
- proto.user.NoteSearchParams.prototype.getUserId = function() {
1891
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2153
+ proto.user.SegmentSearchParams.prototype.getType = function() {
2154
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1892
2155
  };
1893
2156
 
1894
2157
 
1895
2158
  /**
1896
- * @param {number} value
1897
- * @return {!proto.user.NoteSearchParams} returns this
2159
+ * @param {string} value
2160
+ * @return {!proto.user.SegmentSearchParams} returns this
1898
2161
  */
1899
- proto.user.NoteSearchParams.prototype.setUserId = function(value) {
1900
- return jspb.Message.setField(this, 2, value);
2162
+ proto.user.SegmentSearchParams.prototype.setType = function(value) {
2163
+ return jspb.Message.setField(this, 1, value);
1901
2164
  };
1902
2165
 
1903
2166
 
1904
2167
  /**
1905
2168
  * Clears the field making it undefined.
1906
- * @return {!proto.user.NoteSearchParams} returns this
2169
+ * @return {!proto.user.SegmentSearchParams} returns this
1907
2170
  */
1908
- proto.user.NoteSearchParams.prototype.clearUserId = function() {
1909
- return jspb.Message.setField(this, 2, undefined);
2171
+ proto.user.SegmentSearchParams.prototype.clearType = function() {
2172
+ return jspb.Message.setField(this, 1, undefined);
1910
2173
  };
1911
2174
 
1912
2175
 
@@ -1914,18 +2177,238 @@ proto.user.NoteSearchParams.prototype.clearUserId = function() {
1914
2177
  * Returns whether this field is set.
1915
2178
  * @return {boolean}
1916
2179
  */
1917
- proto.user.NoteSearchParams.prototype.hasUserId = function() {
1918
- return jspb.Message.getField(this, 2) != null;
2180
+ proto.user.SegmentSearchParams.prototype.hasType = function() {
2181
+ return jspb.Message.getField(this, 1) != null;
1919
2182
  };
1920
2183
 
1921
2184
 
1922
-
1923
-
1924
-
1925
- if (jspb.Message.GENERATE_TO_OBJECT) {
1926
2185
  /**
1927
- * Creates an object representation of this proto.
1928
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2186
+ * optional string geo = 2;
2187
+ * @return {string}
2188
+ */
2189
+ proto.user.SegmentSearchParams.prototype.getGeo = function() {
2190
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2191
+ };
2192
+
2193
+
2194
+ /**
2195
+ * @param {string} value
2196
+ * @return {!proto.user.SegmentSearchParams} returns this
2197
+ */
2198
+ proto.user.SegmentSearchParams.prototype.setGeo = function(value) {
2199
+ return jspb.Message.setField(this, 2, value);
2200
+ };
2201
+
2202
+
2203
+ /**
2204
+ * Clears the field making it undefined.
2205
+ * @return {!proto.user.SegmentSearchParams} returns this
2206
+ */
2207
+ proto.user.SegmentSearchParams.prototype.clearGeo = function() {
2208
+ return jspb.Message.setField(this, 2, undefined);
2209
+ };
2210
+
2211
+
2212
+ /**
2213
+ * Returns whether this field is set.
2214
+ * @return {boolean}
2215
+ */
2216
+ proto.user.SegmentSearchParams.prototype.hasGeo = function() {
2217
+ return jspb.Message.getField(this, 2) != null;
2218
+ };
2219
+
2220
+
2221
+ /**
2222
+ * optional int32 segment_id = 3;
2223
+ * @return {number}
2224
+ */
2225
+ proto.user.SegmentSearchParams.prototype.getSegmentId = function() {
2226
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2227
+ };
2228
+
2229
+
2230
+ /**
2231
+ * @param {number} value
2232
+ * @return {!proto.user.SegmentSearchParams} returns this
2233
+ */
2234
+ proto.user.SegmentSearchParams.prototype.setSegmentId = function(value) {
2235
+ return jspb.Message.setField(this, 3, value);
2236
+ };
2237
+
2238
+
2239
+ /**
2240
+ * Clears the field making it undefined.
2241
+ * @return {!proto.user.SegmentSearchParams} returns this
2242
+ */
2243
+ proto.user.SegmentSearchParams.prototype.clearSegmentId = function() {
2244
+ return jspb.Message.setField(this, 3, undefined);
2245
+ };
2246
+
2247
+
2248
+ /**
2249
+ * Returns whether this field is set.
2250
+ * @return {boolean}
2251
+ */
2252
+ proto.user.SegmentSearchParams.prototype.hasSegmentId = function() {
2253
+ return jspb.Message.getField(this, 3) != null;
2254
+ };
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2261
+ /**
2262
+ * Creates an object representation of this proto.
2263
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2264
+ * Optional fields that are not set will be set to undefined.
2265
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2266
+ * For the list of reserved names please see:
2267
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2268
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2269
+ * JSPB instance for transitional soy proto support:
2270
+ * http://goto/soy-param-migration
2271
+ * @return {!Object}
2272
+ */
2273
+ proto.user.NoteSearchParams.prototype.toObject = function(opt_includeInstance) {
2274
+ return proto.user.NoteSearchParams.toObject(opt_includeInstance, this);
2275
+ };
2276
+
2277
+
2278
+ /**
2279
+ * Static version of the {@see toObject} method.
2280
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2281
+ * the JSPB instance for transitional soy proto support:
2282
+ * http://goto/soy-param-migration
2283
+ * @param {!proto.user.NoteSearchParams} msg The msg instance to transform.
2284
+ * @return {!Object}
2285
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2286
+ */
2287
+ proto.user.NoteSearchParams.toObject = function(includeInstance, msg) {
2288
+ var f, obj = {
2289
+ userId: jspb.Message.getFieldWithDefault(msg, 2, 0)
2290
+ };
2291
+
2292
+ if (includeInstance) {
2293
+ obj.$jspbMessageInstance = msg;
2294
+ }
2295
+ return obj;
2296
+ };
2297
+ }
2298
+
2299
+
2300
+ /**
2301
+ * Deserializes binary data (in protobuf wire format).
2302
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2303
+ * @return {!proto.user.NoteSearchParams}
2304
+ */
2305
+ proto.user.NoteSearchParams.deserializeBinary = function(bytes) {
2306
+ var reader = new jspb.BinaryReader(bytes);
2307
+ var msg = new proto.user.NoteSearchParams;
2308
+ return proto.user.NoteSearchParams.deserializeBinaryFromReader(msg, reader);
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * Deserializes binary data (in protobuf wire format) from the
2314
+ * given reader into the given message object.
2315
+ * @param {!proto.user.NoteSearchParams} msg The message object to deserialize into.
2316
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2317
+ * @return {!proto.user.NoteSearchParams}
2318
+ */
2319
+ proto.user.NoteSearchParams.deserializeBinaryFromReader = function(msg, reader) {
2320
+ while (reader.nextField()) {
2321
+ if (reader.isEndGroup()) {
2322
+ break;
2323
+ }
2324
+ var field = reader.getFieldNumber();
2325
+ switch (field) {
2326
+ case 2:
2327
+ var value = /** @type {number} */ (reader.readInt32());
2328
+ msg.setUserId(value);
2329
+ break;
2330
+ default:
2331
+ reader.skipField();
2332
+ break;
2333
+ }
2334
+ }
2335
+ return msg;
2336
+ };
2337
+
2338
+
2339
+ /**
2340
+ * Serializes the message to binary data (in protobuf wire format).
2341
+ * @return {!Uint8Array}
2342
+ */
2343
+ proto.user.NoteSearchParams.prototype.serializeBinary = function() {
2344
+ var writer = new jspb.BinaryWriter();
2345
+ proto.user.NoteSearchParams.serializeBinaryToWriter(this, writer);
2346
+ return writer.getResultBuffer();
2347
+ };
2348
+
2349
+
2350
+ /**
2351
+ * Serializes the given message to binary data (in protobuf wire
2352
+ * format), writing to the given BinaryWriter.
2353
+ * @param {!proto.user.NoteSearchParams} message
2354
+ * @param {!jspb.BinaryWriter} writer
2355
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2356
+ */
2357
+ proto.user.NoteSearchParams.serializeBinaryToWriter = function(message, writer) {
2358
+ var f = undefined;
2359
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
2360
+ if (f != null) {
2361
+ writer.writeInt32(
2362
+ 2,
2363
+ f
2364
+ );
2365
+ }
2366
+ };
2367
+
2368
+
2369
+ /**
2370
+ * optional int32 user_id = 2;
2371
+ * @return {number}
2372
+ */
2373
+ proto.user.NoteSearchParams.prototype.getUserId = function() {
2374
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2375
+ };
2376
+
2377
+
2378
+ /**
2379
+ * @param {number} value
2380
+ * @return {!proto.user.NoteSearchParams} returns this
2381
+ */
2382
+ proto.user.NoteSearchParams.prototype.setUserId = function(value) {
2383
+ return jspb.Message.setField(this, 2, value);
2384
+ };
2385
+
2386
+
2387
+ /**
2388
+ * Clears the field making it undefined.
2389
+ * @return {!proto.user.NoteSearchParams} returns this
2390
+ */
2391
+ proto.user.NoteSearchParams.prototype.clearUserId = function() {
2392
+ return jspb.Message.setField(this, 2, undefined);
2393
+ };
2394
+
2395
+
2396
+ /**
2397
+ * Returns whether this field is set.
2398
+ * @return {boolean}
2399
+ */
2400
+ proto.user.NoteSearchParams.prototype.hasUserId = function() {
2401
+ return jspb.Message.getField(this, 2) != null;
2402
+ };
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2409
+ /**
2410
+ * Creates an object representation of this proto.
2411
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1929
2412
  * Optional fields that are not set will be set to undefined.
1930
2413
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1931
2414
  * For the list of reserved names please see:
@@ -8516,17 +8999,867 @@ proto.user.SegmentResponse.prototype.getIsActive = function() {
8516
8999
  * @param {boolean} value
8517
9000
  * @return {!proto.user.SegmentResponse} returns this
8518
9001
  */
8519
- proto.user.SegmentResponse.prototype.setIsActive = function(value) {
8520
- return jspb.Message.setField(this, 5, value);
9002
+ proto.user.SegmentResponse.prototype.setIsActive = function(value) {
9003
+ return jspb.Message.setField(this, 5, value);
9004
+ };
9005
+
9006
+
9007
+ /**
9008
+ * Clears the field making it undefined.
9009
+ * @return {!proto.user.SegmentResponse} returns this
9010
+ */
9011
+ proto.user.SegmentResponse.prototype.clearIsActive = function() {
9012
+ return jspb.Message.setField(this, 5, undefined);
9013
+ };
9014
+
9015
+
9016
+ /**
9017
+ * Returns whether this field is set.
9018
+ * @return {boolean}
9019
+ */
9020
+ proto.user.SegmentResponse.prototype.hasIsActive = function() {
9021
+ return jspb.Message.getField(this, 5) != null;
9022
+ };
9023
+
9024
+
9025
+ /**
9026
+ * optional int32 count_of_users = 6;
9027
+ * @return {number}
9028
+ */
9029
+ proto.user.SegmentResponse.prototype.getCountOfUsers = function() {
9030
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9031
+ };
9032
+
9033
+
9034
+ /**
9035
+ * @param {number} value
9036
+ * @return {!proto.user.SegmentResponse} returns this
9037
+ */
9038
+ proto.user.SegmentResponse.prototype.setCountOfUsers = function(value) {
9039
+ return jspb.Message.setField(this, 6, value);
9040
+ };
9041
+
9042
+
9043
+ /**
9044
+ * Clears the field making it undefined.
9045
+ * @return {!proto.user.SegmentResponse} returns this
9046
+ */
9047
+ proto.user.SegmentResponse.prototype.clearCountOfUsers = function() {
9048
+ return jspb.Message.setField(this, 6, undefined);
9049
+ };
9050
+
9051
+
9052
+ /**
9053
+ * Returns whether this field is set.
9054
+ * @return {boolean}
9055
+ */
9056
+ proto.user.SegmentResponse.prototype.hasCountOfUsers = function() {
9057
+ return jspb.Message.getField(this, 6) != null;
9058
+ };
9059
+
9060
+
9061
+
9062
+
9063
+
9064
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9065
+ /**
9066
+ * Creates an object representation of this proto.
9067
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9068
+ * Optional fields that are not set will be set to undefined.
9069
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9070
+ * For the list of reserved names please see:
9071
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9072
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9073
+ * JSPB instance for transitional soy proto support:
9074
+ * http://goto/soy-param-migration
9075
+ * @return {!Object}
9076
+ */
9077
+ proto.user.SegmentStatusResponse.prototype.toObject = function(opt_includeInstance) {
9078
+ return proto.user.SegmentStatusResponse.toObject(opt_includeInstance, this);
9079
+ };
9080
+
9081
+
9082
+ /**
9083
+ * Static version of the {@see toObject} method.
9084
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9085
+ * the JSPB instance for transitional soy proto support:
9086
+ * http://goto/soy-param-migration
9087
+ * @param {!proto.user.SegmentStatusResponse} msg The msg instance to transform.
9088
+ * @return {!Object}
9089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9090
+ */
9091
+ proto.user.SegmentStatusResponse.toObject = function(includeInstance, msg) {
9092
+ var f, obj = {
9093
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
9094
+ };
9095
+
9096
+ if (includeInstance) {
9097
+ obj.$jspbMessageInstance = msg;
9098
+ }
9099
+ return obj;
9100
+ };
9101
+ }
9102
+
9103
+
9104
+ /**
9105
+ * Deserializes binary data (in protobuf wire format).
9106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9107
+ * @return {!proto.user.SegmentStatusResponse}
9108
+ */
9109
+ proto.user.SegmentStatusResponse.deserializeBinary = function(bytes) {
9110
+ var reader = new jspb.BinaryReader(bytes);
9111
+ var msg = new proto.user.SegmentStatusResponse;
9112
+ return proto.user.SegmentStatusResponse.deserializeBinaryFromReader(msg, reader);
9113
+ };
9114
+
9115
+
9116
+ /**
9117
+ * Deserializes binary data (in protobuf wire format) from the
9118
+ * given reader into the given message object.
9119
+ * @param {!proto.user.SegmentStatusResponse} msg The message object to deserialize into.
9120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9121
+ * @return {!proto.user.SegmentStatusResponse}
9122
+ */
9123
+ proto.user.SegmentStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
9124
+ while (reader.nextField()) {
9125
+ if (reader.isEndGroup()) {
9126
+ break;
9127
+ }
9128
+ var field = reader.getFieldNumber();
9129
+ switch (field) {
9130
+ case 1:
9131
+ var value = /** @type {string} */ (reader.readString());
9132
+ msg.setStatus(value);
9133
+ break;
9134
+ default:
9135
+ reader.skipField();
9136
+ break;
9137
+ }
9138
+ }
9139
+ return msg;
9140
+ };
9141
+
9142
+
9143
+ /**
9144
+ * Serializes the message to binary data (in protobuf wire format).
9145
+ * @return {!Uint8Array}
9146
+ */
9147
+ proto.user.SegmentStatusResponse.prototype.serializeBinary = function() {
9148
+ var writer = new jspb.BinaryWriter();
9149
+ proto.user.SegmentStatusResponse.serializeBinaryToWriter(this, writer);
9150
+ return writer.getResultBuffer();
9151
+ };
9152
+
9153
+
9154
+ /**
9155
+ * Serializes the given message to binary data (in protobuf wire
9156
+ * format), writing to the given BinaryWriter.
9157
+ * @param {!proto.user.SegmentStatusResponse} message
9158
+ * @param {!jspb.BinaryWriter} writer
9159
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9160
+ */
9161
+ proto.user.SegmentStatusResponse.serializeBinaryToWriter = function(message, writer) {
9162
+ var f = undefined;
9163
+ f = message.getStatus();
9164
+ if (f.length > 0) {
9165
+ writer.writeString(
9166
+ 1,
9167
+ f
9168
+ );
9169
+ }
9170
+ };
9171
+
9172
+
9173
+ /**
9174
+ * optional string status = 1;
9175
+ * @return {string}
9176
+ */
9177
+ proto.user.SegmentStatusResponse.prototype.getStatus = function() {
9178
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
9179
+ };
9180
+
9181
+
9182
+ /**
9183
+ * @param {string} value
9184
+ * @return {!proto.user.SegmentStatusResponse} returns this
9185
+ */
9186
+ proto.user.SegmentStatusResponse.prototype.setStatus = function(value) {
9187
+ return jspb.Message.setProto3StringField(this, 1, value);
9188
+ };
9189
+
9190
+
9191
+
9192
+ /**
9193
+ * List of repeated fields within this message type.
9194
+ * @private {!Array<number>}
9195
+ * @const
9196
+ */
9197
+ proto.user.SegmentItemsResponse.repeatedFields_ = [1];
9198
+
9199
+
9200
+
9201
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9202
+ /**
9203
+ * Creates an object representation of this proto.
9204
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9205
+ * Optional fields that are not set will be set to undefined.
9206
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9207
+ * For the list of reserved names please see:
9208
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9209
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9210
+ * JSPB instance for transitional soy proto support:
9211
+ * http://goto/soy-param-migration
9212
+ * @return {!Object}
9213
+ */
9214
+ proto.user.SegmentItemsResponse.prototype.toObject = function(opt_includeInstance) {
9215
+ return proto.user.SegmentItemsResponse.toObject(opt_includeInstance, this);
9216
+ };
9217
+
9218
+
9219
+ /**
9220
+ * Static version of the {@see toObject} method.
9221
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9222
+ * the JSPB instance for transitional soy proto support:
9223
+ * http://goto/soy-param-migration
9224
+ * @param {!proto.user.SegmentItemsResponse} msg The msg instance to transform.
9225
+ * @return {!Object}
9226
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9227
+ */
9228
+ proto.user.SegmentItemsResponse.toObject = function(includeInstance, msg) {
9229
+ var f, obj = {
9230
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
9231
+ proto.user.SegmentResponse.toObject, includeInstance),
9232
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
9233
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
9234
+ };
9235
+
9236
+ if (includeInstance) {
9237
+ obj.$jspbMessageInstance = msg;
9238
+ }
9239
+ return obj;
9240
+ };
9241
+ }
9242
+
9243
+
9244
+ /**
9245
+ * Deserializes binary data (in protobuf wire format).
9246
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9247
+ * @return {!proto.user.SegmentItemsResponse}
9248
+ */
9249
+ proto.user.SegmentItemsResponse.deserializeBinary = function(bytes) {
9250
+ var reader = new jspb.BinaryReader(bytes);
9251
+ var msg = new proto.user.SegmentItemsResponse;
9252
+ return proto.user.SegmentItemsResponse.deserializeBinaryFromReader(msg, reader);
9253
+ };
9254
+
9255
+
9256
+ /**
9257
+ * Deserializes binary data (in protobuf wire format) from the
9258
+ * given reader into the given message object.
9259
+ * @param {!proto.user.SegmentItemsResponse} msg The message object to deserialize into.
9260
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9261
+ * @return {!proto.user.SegmentItemsResponse}
9262
+ */
9263
+ proto.user.SegmentItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
9264
+ while (reader.nextField()) {
9265
+ if (reader.isEndGroup()) {
9266
+ break;
9267
+ }
9268
+ var field = reader.getFieldNumber();
9269
+ switch (field) {
9270
+ case 1:
9271
+ var value = new proto.user.SegmentResponse;
9272
+ reader.readMessage(value,proto.user.SegmentResponse.deserializeBinaryFromReader);
9273
+ msg.addItems(value);
9274
+ break;
9275
+ case 2:
9276
+ var value = /** @type {number} */ (reader.readInt32());
9277
+ msg.setTotalPages(value);
9278
+ break;
9279
+ case 3:
9280
+ var value = /** @type {number} */ (reader.readInt32());
9281
+ msg.setTotalItems(value);
9282
+ break;
9283
+ default:
9284
+ reader.skipField();
9285
+ break;
9286
+ }
9287
+ }
9288
+ return msg;
9289
+ };
9290
+
9291
+
9292
+ /**
9293
+ * Serializes the message to binary data (in protobuf wire format).
9294
+ * @return {!Uint8Array}
9295
+ */
9296
+ proto.user.SegmentItemsResponse.prototype.serializeBinary = function() {
9297
+ var writer = new jspb.BinaryWriter();
9298
+ proto.user.SegmentItemsResponse.serializeBinaryToWriter(this, writer);
9299
+ return writer.getResultBuffer();
9300
+ };
9301
+
9302
+
9303
+ /**
9304
+ * Serializes the given message to binary data (in protobuf wire
9305
+ * format), writing to the given BinaryWriter.
9306
+ * @param {!proto.user.SegmentItemsResponse} message
9307
+ * @param {!jspb.BinaryWriter} writer
9308
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9309
+ */
9310
+ proto.user.SegmentItemsResponse.serializeBinaryToWriter = function(message, writer) {
9311
+ var f = undefined;
9312
+ f = message.getItemsList();
9313
+ if (f.length > 0) {
9314
+ writer.writeRepeatedMessage(
9315
+ 1,
9316
+ f,
9317
+ proto.user.SegmentResponse.serializeBinaryToWriter
9318
+ );
9319
+ }
9320
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
9321
+ if (f != null) {
9322
+ writer.writeInt32(
9323
+ 2,
9324
+ f
9325
+ );
9326
+ }
9327
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
9328
+ if (f != null) {
9329
+ writer.writeInt32(
9330
+ 3,
9331
+ f
9332
+ );
9333
+ }
9334
+ };
9335
+
9336
+
9337
+ /**
9338
+ * repeated SegmentResponse items = 1;
9339
+ * @return {!Array<!proto.user.SegmentResponse>}
9340
+ */
9341
+ proto.user.SegmentItemsResponse.prototype.getItemsList = function() {
9342
+ return /** @type{!Array<!proto.user.SegmentResponse>} */ (
9343
+ jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentResponse, 1));
9344
+ };
9345
+
9346
+
9347
+ /**
9348
+ * @param {!Array<!proto.user.SegmentResponse>} value
9349
+ * @return {!proto.user.SegmentItemsResponse} returns this
9350
+ */
9351
+ proto.user.SegmentItemsResponse.prototype.setItemsList = function(value) {
9352
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
9353
+ };
9354
+
9355
+
9356
+ /**
9357
+ * @param {!proto.user.SegmentResponse=} opt_value
9358
+ * @param {number=} opt_index
9359
+ * @return {!proto.user.SegmentResponse}
9360
+ */
9361
+ proto.user.SegmentItemsResponse.prototype.addItems = function(opt_value, opt_index) {
9362
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.SegmentResponse, opt_index);
9363
+ };
9364
+
9365
+
9366
+ /**
9367
+ * Clears the list making it empty but non-null.
9368
+ * @return {!proto.user.SegmentItemsResponse} returns this
9369
+ */
9370
+ proto.user.SegmentItemsResponse.prototype.clearItemsList = function() {
9371
+ return this.setItemsList([]);
9372
+ };
9373
+
9374
+
9375
+ /**
9376
+ * optional int32 total_pages = 2;
9377
+ * @return {number}
9378
+ */
9379
+ proto.user.SegmentItemsResponse.prototype.getTotalPages = function() {
9380
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9381
+ };
9382
+
9383
+
9384
+ /**
9385
+ * @param {number} value
9386
+ * @return {!proto.user.SegmentItemsResponse} returns this
9387
+ */
9388
+ proto.user.SegmentItemsResponse.prototype.setTotalPages = function(value) {
9389
+ return jspb.Message.setField(this, 2, value);
9390
+ };
9391
+
9392
+
9393
+ /**
9394
+ * Clears the field making it undefined.
9395
+ * @return {!proto.user.SegmentItemsResponse} returns this
9396
+ */
9397
+ proto.user.SegmentItemsResponse.prototype.clearTotalPages = function() {
9398
+ return jspb.Message.setField(this, 2, undefined);
9399
+ };
9400
+
9401
+
9402
+ /**
9403
+ * Returns whether this field is set.
9404
+ * @return {boolean}
9405
+ */
9406
+ proto.user.SegmentItemsResponse.prototype.hasTotalPages = function() {
9407
+ return jspb.Message.getField(this, 2) != null;
9408
+ };
9409
+
9410
+
9411
+ /**
9412
+ * optional int32 total_items = 3;
9413
+ * @return {number}
9414
+ */
9415
+ proto.user.SegmentItemsResponse.prototype.getTotalItems = function() {
9416
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9417
+ };
9418
+
9419
+
9420
+ /**
9421
+ * @param {number} value
9422
+ * @return {!proto.user.SegmentItemsResponse} returns this
9423
+ */
9424
+ proto.user.SegmentItemsResponse.prototype.setTotalItems = function(value) {
9425
+ return jspb.Message.setField(this, 3, value);
9426
+ };
9427
+
9428
+
9429
+ /**
9430
+ * Clears the field making it undefined.
9431
+ * @return {!proto.user.SegmentItemsResponse} returns this
9432
+ */
9433
+ proto.user.SegmentItemsResponse.prototype.clearTotalItems = function() {
9434
+ return jspb.Message.setField(this, 3, undefined);
9435
+ };
9436
+
9437
+
9438
+ /**
9439
+ * Returns whether this field is set.
9440
+ * @return {boolean}
9441
+ */
9442
+ proto.user.SegmentItemsResponse.prototype.hasTotalItems = function() {
9443
+ return jspb.Message.getField(this, 3) != null;
9444
+ };
9445
+
9446
+
9447
+
9448
+
9449
+
9450
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9451
+ /**
9452
+ * Creates an object representation of this proto.
9453
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9454
+ * Optional fields that are not set will be set to undefined.
9455
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9456
+ * For the list of reserved names please see:
9457
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9458
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9459
+ * JSPB instance for transitional soy proto support:
9460
+ * http://goto/soy-param-migration
9461
+ * @return {!Object}
9462
+ */
9463
+ proto.user.RiskStatus.prototype.toObject = function(opt_includeInstance) {
9464
+ return proto.user.RiskStatus.toObject(opt_includeInstance, this);
9465
+ };
9466
+
9467
+
9468
+ /**
9469
+ * Static version of the {@see toObject} method.
9470
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9471
+ * the JSPB instance for transitional soy proto support:
9472
+ * http://goto/soy-param-migration
9473
+ * @param {!proto.user.RiskStatus} msg The msg instance to transform.
9474
+ * @return {!Object}
9475
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9476
+ */
9477
+ proto.user.RiskStatus.toObject = function(includeInstance, msg) {
9478
+ var f, obj = {
9479
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
9480
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
9481
+ description: jspb.Message.getFieldWithDefault(msg, 3, "")
9482
+ };
9483
+
9484
+ if (includeInstance) {
9485
+ obj.$jspbMessageInstance = msg;
9486
+ }
9487
+ return obj;
9488
+ };
9489
+ }
9490
+
9491
+
9492
+ /**
9493
+ * Deserializes binary data (in protobuf wire format).
9494
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9495
+ * @return {!proto.user.RiskStatus}
9496
+ */
9497
+ proto.user.RiskStatus.deserializeBinary = function(bytes) {
9498
+ var reader = new jspb.BinaryReader(bytes);
9499
+ var msg = new proto.user.RiskStatus;
9500
+ return proto.user.RiskStatus.deserializeBinaryFromReader(msg, reader);
9501
+ };
9502
+
9503
+
9504
+ /**
9505
+ * Deserializes binary data (in protobuf wire format) from the
9506
+ * given reader into the given message object.
9507
+ * @param {!proto.user.RiskStatus} msg The message object to deserialize into.
9508
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9509
+ * @return {!proto.user.RiskStatus}
9510
+ */
9511
+ proto.user.RiskStatus.deserializeBinaryFromReader = function(msg, reader) {
9512
+ while (reader.nextField()) {
9513
+ if (reader.isEndGroup()) {
9514
+ break;
9515
+ }
9516
+ var field = reader.getFieldNumber();
9517
+ switch (field) {
9518
+ case 1:
9519
+ var value = /** @type {number} */ (reader.readInt32());
9520
+ msg.setId(value);
9521
+ break;
9522
+ case 2:
9523
+ var value = /** @type {string} */ (reader.readString());
9524
+ msg.setTitle(value);
9525
+ break;
9526
+ case 3:
9527
+ var value = /** @type {string} */ (reader.readString());
9528
+ msg.setDescription(value);
9529
+ break;
9530
+ default:
9531
+ reader.skipField();
9532
+ break;
9533
+ }
9534
+ }
9535
+ return msg;
9536
+ };
9537
+
9538
+
9539
+ /**
9540
+ * Serializes the message to binary data (in protobuf wire format).
9541
+ * @return {!Uint8Array}
9542
+ */
9543
+ proto.user.RiskStatus.prototype.serializeBinary = function() {
9544
+ var writer = new jspb.BinaryWriter();
9545
+ proto.user.RiskStatus.serializeBinaryToWriter(this, writer);
9546
+ return writer.getResultBuffer();
9547
+ };
9548
+
9549
+
9550
+ /**
9551
+ * Serializes the given message to binary data (in protobuf wire
9552
+ * format), writing to the given BinaryWriter.
9553
+ * @param {!proto.user.RiskStatus} message
9554
+ * @param {!jspb.BinaryWriter} writer
9555
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9556
+ */
9557
+ proto.user.RiskStatus.serializeBinaryToWriter = function(message, writer) {
9558
+ var f = undefined;
9559
+ f = message.getId();
9560
+ if (f !== 0) {
9561
+ writer.writeInt32(
9562
+ 1,
9563
+ f
9564
+ );
9565
+ }
9566
+ f = message.getTitle();
9567
+ if (f.length > 0) {
9568
+ writer.writeString(
9569
+ 2,
9570
+ f
9571
+ );
9572
+ }
9573
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
9574
+ if (f != null) {
9575
+ writer.writeString(
9576
+ 3,
9577
+ f
9578
+ );
9579
+ }
9580
+ };
9581
+
9582
+
9583
+ /**
9584
+ * optional int32 id = 1;
9585
+ * @return {number}
9586
+ */
9587
+ proto.user.RiskStatus.prototype.getId = function() {
9588
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9589
+ };
9590
+
9591
+
9592
+ /**
9593
+ * @param {number} value
9594
+ * @return {!proto.user.RiskStatus} returns this
9595
+ */
9596
+ proto.user.RiskStatus.prototype.setId = function(value) {
9597
+ return jspb.Message.setProto3IntField(this, 1, value);
9598
+ };
9599
+
9600
+
9601
+ /**
9602
+ * optional string title = 2;
9603
+ * @return {string}
9604
+ */
9605
+ proto.user.RiskStatus.prototype.getTitle = function() {
9606
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9607
+ };
9608
+
9609
+
9610
+ /**
9611
+ * @param {string} value
9612
+ * @return {!proto.user.RiskStatus} returns this
9613
+ */
9614
+ proto.user.RiskStatus.prototype.setTitle = function(value) {
9615
+ return jspb.Message.setProto3StringField(this, 2, value);
9616
+ };
9617
+
9618
+
9619
+ /**
9620
+ * optional string description = 3;
9621
+ * @return {string}
9622
+ */
9623
+ proto.user.RiskStatus.prototype.getDescription = function() {
9624
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9625
+ };
9626
+
9627
+
9628
+ /**
9629
+ * @param {string} value
9630
+ * @return {!proto.user.RiskStatus} returns this
9631
+ */
9632
+ proto.user.RiskStatus.prototype.setDescription = function(value) {
9633
+ return jspb.Message.setField(this, 3, value);
9634
+ };
9635
+
9636
+
9637
+ /**
9638
+ * Clears the field making it undefined.
9639
+ * @return {!proto.user.RiskStatus} returns this
9640
+ */
9641
+ proto.user.RiskStatus.prototype.clearDescription = function() {
9642
+ return jspb.Message.setField(this, 3, undefined);
9643
+ };
9644
+
9645
+
9646
+ /**
9647
+ * Returns whether this field is set.
9648
+ * @return {boolean}
9649
+ */
9650
+ proto.user.RiskStatus.prototype.hasDescription = function() {
9651
+ return jspb.Message.getField(this, 3) != null;
9652
+ };
9653
+
9654
+
9655
+
9656
+ /**
9657
+ * List of repeated fields within this message type.
9658
+ * @private {!Array<number>}
9659
+ * @const
9660
+ */
9661
+ proto.user.RiskStatusItemsResponse.repeatedFields_ = [1];
9662
+
9663
+
9664
+
9665
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9666
+ /**
9667
+ * Creates an object representation of this proto.
9668
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9669
+ * Optional fields that are not set will be set to undefined.
9670
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9671
+ * For the list of reserved names please see:
9672
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9673
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9674
+ * JSPB instance for transitional soy proto support:
9675
+ * http://goto/soy-param-migration
9676
+ * @return {!Object}
9677
+ */
9678
+ proto.user.RiskStatusItemsResponse.prototype.toObject = function(opt_includeInstance) {
9679
+ return proto.user.RiskStatusItemsResponse.toObject(opt_includeInstance, this);
9680
+ };
9681
+
9682
+
9683
+ /**
9684
+ * Static version of the {@see toObject} method.
9685
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9686
+ * the JSPB instance for transitional soy proto support:
9687
+ * http://goto/soy-param-migration
9688
+ * @param {!proto.user.RiskStatusItemsResponse} msg The msg instance to transform.
9689
+ * @return {!Object}
9690
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9691
+ */
9692
+ proto.user.RiskStatusItemsResponse.toObject = function(includeInstance, msg) {
9693
+ var f, obj = {
9694
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
9695
+ proto.user.RiskStatus.toObject, includeInstance),
9696
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
9697
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
9698
+ };
9699
+
9700
+ if (includeInstance) {
9701
+ obj.$jspbMessageInstance = msg;
9702
+ }
9703
+ return obj;
9704
+ };
9705
+ }
9706
+
9707
+
9708
+ /**
9709
+ * Deserializes binary data (in protobuf wire format).
9710
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9711
+ * @return {!proto.user.RiskStatusItemsResponse}
9712
+ */
9713
+ proto.user.RiskStatusItemsResponse.deserializeBinary = function(bytes) {
9714
+ var reader = new jspb.BinaryReader(bytes);
9715
+ var msg = new proto.user.RiskStatusItemsResponse;
9716
+ return proto.user.RiskStatusItemsResponse.deserializeBinaryFromReader(msg, reader);
9717
+ };
9718
+
9719
+
9720
+ /**
9721
+ * Deserializes binary data (in protobuf wire format) from the
9722
+ * given reader into the given message object.
9723
+ * @param {!proto.user.RiskStatusItemsResponse} msg The message object to deserialize into.
9724
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9725
+ * @return {!proto.user.RiskStatusItemsResponse}
9726
+ */
9727
+ proto.user.RiskStatusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
9728
+ while (reader.nextField()) {
9729
+ if (reader.isEndGroup()) {
9730
+ break;
9731
+ }
9732
+ var field = reader.getFieldNumber();
9733
+ switch (field) {
9734
+ case 1:
9735
+ var value = new proto.user.RiskStatus;
9736
+ reader.readMessage(value,proto.user.RiskStatus.deserializeBinaryFromReader);
9737
+ msg.addItems(value);
9738
+ break;
9739
+ case 2:
9740
+ var value = /** @type {number} */ (reader.readInt32());
9741
+ msg.setTotalPages(value);
9742
+ break;
9743
+ case 3:
9744
+ var value = /** @type {number} */ (reader.readInt32());
9745
+ msg.setTotalItems(value);
9746
+ break;
9747
+ default:
9748
+ reader.skipField();
9749
+ break;
9750
+ }
9751
+ }
9752
+ return msg;
9753
+ };
9754
+
9755
+
9756
+ /**
9757
+ * Serializes the message to binary data (in protobuf wire format).
9758
+ * @return {!Uint8Array}
9759
+ */
9760
+ proto.user.RiskStatusItemsResponse.prototype.serializeBinary = function() {
9761
+ var writer = new jspb.BinaryWriter();
9762
+ proto.user.RiskStatusItemsResponse.serializeBinaryToWriter(this, writer);
9763
+ return writer.getResultBuffer();
9764
+ };
9765
+
9766
+
9767
+ /**
9768
+ * Serializes the given message to binary data (in protobuf wire
9769
+ * format), writing to the given BinaryWriter.
9770
+ * @param {!proto.user.RiskStatusItemsResponse} message
9771
+ * @param {!jspb.BinaryWriter} writer
9772
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9773
+ */
9774
+ proto.user.RiskStatusItemsResponse.serializeBinaryToWriter = function(message, writer) {
9775
+ var f = undefined;
9776
+ f = message.getItemsList();
9777
+ if (f.length > 0) {
9778
+ writer.writeRepeatedMessage(
9779
+ 1,
9780
+ f,
9781
+ proto.user.RiskStatus.serializeBinaryToWriter
9782
+ );
9783
+ }
9784
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
9785
+ if (f != null) {
9786
+ writer.writeInt32(
9787
+ 2,
9788
+ f
9789
+ );
9790
+ }
9791
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
9792
+ if (f != null) {
9793
+ writer.writeInt32(
9794
+ 3,
9795
+ f
9796
+ );
9797
+ }
9798
+ };
9799
+
9800
+
9801
+ /**
9802
+ * repeated RiskStatus items = 1;
9803
+ * @return {!Array<!proto.user.RiskStatus>}
9804
+ */
9805
+ proto.user.RiskStatusItemsResponse.prototype.getItemsList = function() {
9806
+ return /** @type{!Array<!proto.user.RiskStatus>} */ (
9807
+ jspb.Message.getRepeatedWrapperField(this, proto.user.RiskStatus, 1));
9808
+ };
9809
+
9810
+
9811
+ /**
9812
+ * @param {!Array<!proto.user.RiskStatus>} value
9813
+ * @return {!proto.user.RiskStatusItemsResponse} returns this
9814
+ */
9815
+ proto.user.RiskStatusItemsResponse.prototype.setItemsList = function(value) {
9816
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
9817
+ };
9818
+
9819
+
9820
+ /**
9821
+ * @param {!proto.user.RiskStatus=} opt_value
9822
+ * @param {number=} opt_index
9823
+ * @return {!proto.user.RiskStatus}
9824
+ */
9825
+ proto.user.RiskStatusItemsResponse.prototype.addItems = function(opt_value, opt_index) {
9826
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.RiskStatus, opt_index);
9827
+ };
9828
+
9829
+
9830
+ /**
9831
+ * Clears the list making it empty but non-null.
9832
+ * @return {!proto.user.RiskStatusItemsResponse} returns this
9833
+ */
9834
+ proto.user.RiskStatusItemsResponse.prototype.clearItemsList = function() {
9835
+ return this.setItemsList([]);
9836
+ };
9837
+
9838
+
9839
+ /**
9840
+ * optional int32 total_pages = 2;
9841
+ * @return {number}
9842
+ */
9843
+ proto.user.RiskStatusItemsResponse.prototype.getTotalPages = function() {
9844
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9845
+ };
9846
+
9847
+
9848
+ /**
9849
+ * @param {number} value
9850
+ * @return {!proto.user.RiskStatusItemsResponse} returns this
9851
+ */
9852
+ proto.user.RiskStatusItemsResponse.prototype.setTotalPages = function(value) {
9853
+ return jspb.Message.setField(this, 2, value);
8521
9854
  };
8522
9855
 
8523
9856
 
8524
9857
  /**
8525
9858
  * Clears the field making it undefined.
8526
- * @return {!proto.user.SegmentResponse} returns this
9859
+ * @return {!proto.user.RiskStatusItemsResponse} returns this
8527
9860
  */
8528
- proto.user.SegmentResponse.prototype.clearIsActive = function() {
8529
- return jspb.Message.setField(this, 5, undefined);
9861
+ proto.user.RiskStatusItemsResponse.prototype.clearTotalPages = function() {
9862
+ return jspb.Message.setField(this, 2, undefined);
8530
9863
  };
8531
9864
 
8532
9865
 
@@ -8534,35 +9867,35 @@ proto.user.SegmentResponse.prototype.clearIsActive = function() {
8534
9867
  * Returns whether this field is set.
8535
9868
  * @return {boolean}
8536
9869
  */
8537
- proto.user.SegmentResponse.prototype.hasIsActive = function() {
8538
- return jspb.Message.getField(this, 5) != null;
9870
+ proto.user.RiskStatusItemsResponse.prototype.hasTotalPages = function() {
9871
+ return jspb.Message.getField(this, 2) != null;
8539
9872
  };
8540
9873
 
8541
9874
 
8542
9875
  /**
8543
- * optional int32 count_of_users = 6;
9876
+ * optional int32 total_items = 3;
8544
9877
  * @return {number}
8545
9878
  */
8546
- proto.user.SegmentResponse.prototype.getCountOfUsers = function() {
8547
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9879
+ proto.user.RiskStatusItemsResponse.prototype.getTotalItems = function() {
9880
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
8548
9881
  };
8549
9882
 
8550
9883
 
8551
9884
  /**
8552
9885
  * @param {number} value
8553
- * @return {!proto.user.SegmentResponse} returns this
9886
+ * @return {!proto.user.RiskStatusItemsResponse} returns this
8554
9887
  */
8555
- proto.user.SegmentResponse.prototype.setCountOfUsers = function(value) {
8556
- return jspb.Message.setField(this, 6, value);
9888
+ proto.user.RiskStatusItemsResponse.prototype.setTotalItems = function(value) {
9889
+ return jspb.Message.setField(this, 3, value);
8557
9890
  };
8558
9891
 
8559
9892
 
8560
9893
  /**
8561
9894
  * Clears the field making it undefined.
8562
- * @return {!proto.user.SegmentResponse} returns this
9895
+ * @return {!proto.user.RiskStatusItemsResponse} returns this
8563
9896
  */
8564
- proto.user.SegmentResponse.prototype.clearCountOfUsers = function() {
8565
- return jspb.Message.setField(this, 6, undefined);
9897
+ proto.user.RiskStatusItemsResponse.prototype.clearTotalItems = function() {
9898
+ return jspb.Message.setField(this, 3, undefined);
8566
9899
  };
8567
9900
 
8568
9901
 
@@ -8570,8 +9903,8 @@ proto.user.SegmentResponse.prototype.clearCountOfUsers = function() {
8570
9903
  * Returns whether this field is set.
8571
9904
  * @return {boolean}
8572
9905
  */
8573
- proto.user.SegmentResponse.prototype.hasCountOfUsers = function() {
8574
- return jspb.Message.getField(this, 6) != null;
9906
+ proto.user.RiskStatusItemsResponse.prototype.hasTotalItems = function() {
9907
+ return jspb.Message.getField(this, 3) != null;
8575
9908
  };
8576
9909
 
8577
9910
 
@@ -8591,8 +9924,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
8591
9924
  * http://goto/soy-param-migration
8592
9925
  * @return {!Object}
8593
9926
  */
8594
- proto.user.SegmentStatusResponse.prototype.toObject = function(opt_includeInstance) {
8595
- return proto.user.SegmentStatusResponse.toObject(opt_includeInstance, this);
9927
+ proto.user.CategoryItem.prototype.toObject = function(opt_includeInstance) {
9928
+ return proto.user.CategoryItem.toObject(opt_includeInstance, this);
8596
9929
  };
8597
9930
 
8598
9931
 
@@ -8601,13 +9934,15 @@ proto.user.SegmentStatusResponse.prototype.toObject = function(opt_includeInstan
8601
9934
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8602
9935
  * the JSPB instance for transitional soy proto support:
8603
9936
  * http://goto/soy-param-migration
8604
- * @param {!proto.user.SegmentStatusResponse} msg The msg instance to transform.
9937
+ * @param {!proto.user.CategoryItem} msg The msg instance to transform.
8605
9938
  * @return {!Object}
8606
9939
  * @suppress {unusedLocalVariables} f is only used for nested messages
8607
9940
  */
8608
- proto.user.SegmentStatusResponse.toObject = function(includeInstance, msg) {
9941
+ proto.user.CategoryItem.toObject = function(includeInstance, msg) {
8609
9942
  var f, obj = {
8610
- status: jspb.Message.getFieldWithDefault(msg, 1, "")
9943
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
9944
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
9945
+ description: jspb.Message.getFieldWithDefault(msg, 3, "")
8611
9946
  };
8612
9947
 
8613
9948
  if (includeInstance) {
@@ -8621,23 +9956,23 @@ proto.user.SegmentStatusResponse.toObject = function(includeInstance, msg) {
8621
9956
  /**
8622
9957
  * Deserializes binary data (in protobuf wire format).
8623
9958
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
8624
- * @return {!proto.user.SegmentStatusResponse}
9959
+ * @return {!proto.user.CategoryItem}
8625
9960
  */
8626
- proto.user.SegmentStatusResponse.deserializeBinary = function(bytes) {
9961
+ proto.user.CategoryItem.deserializeBinary = function(bytes) {
8627
9962
  var reader = new jspb.BinaryReader(bytes);
8628
- var msg = new proto.user.SegmentStatusResponse;
8629
- return proto.user.SegmentStatusResponse.deserializeBinaryFromReader(msg, reader);
9963
+ var msg = new proto.user.CategoryItem;
9964
+ return proto.user.CategoryItem.deserializeBinaryFromReader(msg, reader);
8630
9965
  };
8631
9966
 
8632
9967
 
8633
9968
  /**
8634
9969
  * Deserializes binary data (in protobuf wire format) from the
8635
9970
  * given reader into the given message object.
8636
- * @param {!proto.user.SegmentStatusResponse} msg The message object to deserialize into.
9971
+ * @param {!proto.user.CategoryItem} msg The message object to deserialize into.
8637
9972
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8638
- * @return {!proto.user.SegmentStatusResponse}
9973
+ * @return {!proto.user.CategoryItem}
8639
9974
  */
8640
- proto.user.SegmentStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
9975
+ proto.user.CategoryItem.deserializeBinaryFromReader = function(msg, reader) {
8641
9976
  while (reader.nextField()) {
8642
9977
  if (reader.isEndGroup()) {
8643
9978
  break;
@@ -8645,8 +9980,16 @@ proto.user.SegmentStatusResponse.deserializeBinaryFromReader = function(msg, rea
8645
9980
  var field = reader.getFieldNumber();
8646
9981
  switch (field) {
8647
9982
  case 1:
9983
+ var value = /** @type {number} */ (reader.readInt32());
9984
+ msg.setId(value);
9985
+ break;
9986
+ case 2:
8648
9987
  var value = /** @type {string} */ (reader.readString());
8649
- msg.setStatus(value);
9988
+ msg.setTitle(value);
9989
+ break;
9990
+ case 3:
9991
+ var value = /** @type {string} */ (reader.readString());
9992
+ msg.setDescription(value);
8650
9993
  break;
8651
9994
  default:
8652
9995
  reader.skipField();
@@ -8661,9 +10004,9 @@ proto.user.SegmentStatusResponse.deserializeBinaryFromReader = function(msg, rea
8661
10004
  * Serializes the message to binary data (in protobuf wire format).
8662
10005
  * @return {!Uint8Array}
8663
10006
  */
8664
- proto.user.SegmentStatusResponse.prototype.serializeBinary = function() {
10007
+ proto.user.CategoryItem.prototype.serializeBinary = function() {
8665
10008
  var writer = new jspb.BinaryWriter();
8666
- proto.user.SegmentStatusResponse.serializeBinaryToWriter(this, writer);
10009
+ proto.user.CategoryItem.serializeBinaryToWriter(this, writer);
8667
10010
  return writer.getResultBuffer();
8668
10011
  };
8669
10012
 
@@ -8671,16 +10014,30 @@ proto.user.SegmentStatusResponse.prototype.serializeBinary = function() {
8671
10014
  /**
8672
10015
  * Serializes the given message to binary data (in protobuf wire
8673
10016
  * format), writing to the given BinaryWriter.
8674
- * @param {!proto.user.SegmentStatusResponse} message
10017
+ * @param {!proto.user.CategoryItem} message
8675
10018
  * @param {!jspb.BinaryWriter} writer
8676
10019
  * @suppress {unusedLocalVariables} f is only used for nested messages
8677
10020
  */
8678
- proto.user.SegmentStatusResponse.serializeBinaryToWriter = function(message, writer) {
10021
+ proto.user.CategoryItem.serializeBinaryToWriter = function(message, writer) {
8679
10022
  var f = undefined;
8680
- f = message.getStatus();
10023
+ f = message.getId();
10024
+ if (f !== 0) {
10025
+ writer.writeInt32(
10026
+ 1,
10027
+ f
10028
+ );
10029
+ }
10030
+ f = message.getTitle();
8681
10031
  if (f.length > 0) {
8682
10032
  writer.writeString(
8683
- 1,
10033
+ 2,
10034
+ f
10035
+ );
10036
+ }
10037
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
10038
+ if (f != null) {
10039
+ writer.writeString(
10040
+ 3,
8684
10041
  f
8685
10042
  );
8686
10043
  }
@@ -8688,20 +10045,74 @@ proto.user.SegmentStatusResponse.serializeBinaryToWriter = function(message, wri
8688
10045
 
8689
10046
 
8690
10047
  /**
8691
- * optional string status = 1;
10048
+ * optional int32 id = 1;
10049
+ * @return {number}
10050
+ */
10051
+ proto.user.CategoryItem.prototype.getId = function() {
10052
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10053
+ };
10054
+
10055
+
10056
+ /**
10057
+ * @param {number} value
10058
+ * @return {!proto.user.CategoryItem} returns this
10059
+ */
10060
+ proto.user.CategoryItem.prototype.setId = function(value) {
10061
+ return jspb.Message.setProto3IntField(this, 1, value);
10062
+ };
10063
+
10064
+
10065
+ /**
10066
+ * optional string title = 2;
8692
10067
  * @return {string}
8693
10068
  */
8694
- proto.user.SegmentStatusResponse.prototype.getStatus = function() {
8695
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10069
+ proto.user.CategoryItem.prototype.getTitle = function() {
10070
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8696
10071
  };
8697
10072
 
8698
10073
 
8699
10074
  /**
8700
10075
  * @param {string} value
8701
- * @return {!proto.user.SegmentStatusResponse} returns this
10076
+ * @return {!proto.user.CategoryItem} returns this
8702
10077
  */
8703
- proto.user.SegmentStatusResponse.prototype.setStatus = function(value) {
8704
- return jspb.Message.setProto3StringField(this, 1, value);
10078
+ proto.user.CategoryItem.prototype.setTitle = function(value) {
10079
+ return jspb.Message.setProto3StringField(this, 2, value);
10080
+ };
10081
+
10082
+
10083
+ /**
10084
+ * optional string description = 3;
10085
+ * @return {string}
10086
+ */
10087
+ proto.user.CategoryItem.prototype.getDescription = function() {
10088
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10089
+ };
10090
+
10091
+
10092
+ /**
10093
+ * @param {string} value
10094
+ * @return {!proto.user.CategoryItem} returns this
10095
+ */
10096
+ proto.user.CategoryItem.prototype.setDescription = function(value) {
10097
+ return jspb.Message.setField(this, 3, value);
10098
+ };
10099
+
10100
+
10101
+ /**
10102
+ * Clears the field making it undefined.
10103
+ * @return {!proto.user.CategoryItem} returns this
10104
+ */
10105
+ proto.user.CategoryItem.prototype.clearDescription = function() {
10106
+ return jspb.Message.setField(this, 3, undefined);
10107
+ };
10108
+
10109
+
10110
+ /**
10111
+ * Returns whether this field is set.
10112
+ * @return {boolean}
10113
+ */
10114
+ proto.user.CategoryItem.prototype.hasDescription = function() {
10115
+ return jspb.Message.getField(this, 3) != null;
8705
10116
  };
8706
10117
 
8707
10118
 
@@ -8711,7 +10122,7 @@ proto.user.SegmentStatusResponse.prototype.setStatus = function(value) {
8711
10122
  * @private {!Array<number>}
8712
10123
  * @const
8713
10124
  */
8714
- proto.user.SegmentItemsResponse.repeatedFields_ = [1];
10125
+ proto.user.CategoryItemsResponse.repeatedFields_ = [1];
8715
10126
 
8716
10127
 
8717
10128
 
@@ -8728,8 +10139,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
8728
10139
  * http://goto/soy-param-migration
8729
10140
  * @return {!Object}
8730
10141
  */
8731
- proto.user.SegmentItemsResponse.prototype.toObject = function(opt_includeInstance) {
8732
- return proto.user.SegmentItemsResponse.toObject(opt_includeInstance, this);
10142
+ proto.user.CategoryItemsResponse.prototype.toObject = function(opt_includeInstance) {
10143
+ return proto.user.CategoryItemsResponse.toObject(opt_includeInstance, this);
8733
10144
  };
8734
10145
 
8735
10146
 
@@ -8738,14 +10149,14 @@ proto.user.SegmentItemsResponse.prototype.toObject = function(opt_includeInstanc
8738
10149
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8739
10150
  * the JSPB instance for transitional soy proto support:
8740
10151
  * http://goto/soy-param-migration
8741
- * @param {!proto.user.SegmentItemsResponse} msg The msg instance to transform.
10152
+ * @param {!proto.user.CategoryItemsResponse} msg The msg instance to transform.
8742
10153
  * @return {!Object}
8743
10154
  * @suppress {unusedLocalVariables} f is only used for nested messages
8744
10155
  */
8745
- proto.user.SegmentItemsResponse.toObject = function(includeInstance, msg) {
10156
+ proto.user.CategoryItemsResponse.toObject = function(includeInstance, msg) {
8746
10157
  var f, obj = {
8747
10158
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
8748
- proto.user.SegmentResponse.toObject, includeInstance),
10159
+ proto.user.CategoryItem.toObject, includeInstance),
8749
10160
  totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
8750
10161
  totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
8751
10162
  };
@@ -8761,23 +10172,23 @@ proto.user.SegmentItemsResponse.toObject = function(includeInstance, msg) {
8761
10172
  /**
8762
10173
  * Deserializes binary data (in protobuf wire format).
8763
10174
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
8764
- * @return {!proto.user.SegmentItemsResponse}
10175
+ * @return {!proto.user.CategoryItemsResponse}
8765
10176
  */
8766
- proto.user.SegmentItemsResponse.deserializeBinary = function(bytes) {
10177
+ proto.user.CategoryItemsResponse.deserializeBinary = function(bytes) {
8767
10178
  var reader = new jspb.BinaryReader(bytes);
8768
- var msg = new proto.user.SegmentItemsResponse;
8769
- return proto.user.SegmentItemsResponse.deserializeBinaryFromReader(msg, reader);
10179
+ var msg = new proto.user.CategoryItemsResponse;
10180
+ return proto.user.CategoryItemsResponse.deserializeBinaryFromReader(msg, reader);
8770
10181
  };
8771
10182
 
8772
10183
 
8773
10184
  /**
8774
10185
  * Deserializes binary data (in protobuf wire format) from the
8775
10186
  * given reader into the given message object.
8776
- * @param {!proto.user.SegmentItemsResponse} msg The message object to deserialize into.
10187
+ * @param {!proto.user.CategoryItemsResponse} msg The message object to deserialize into.
8777
10188
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8778
- * @return {!proto.user.SegmentItemsResponse}
10189
+ * @return {!proto.user.CategoryItemsResponse}
8779
10190
  */
8780
- proto.user.SegmentItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
10191
+ proto.user.CategoryItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
8781
10192
  while (reader.nextField()) {
8782
10193
  if (reader.isEndGroup()) {
8783
10194
  break;
@@ -8785,8 +10196,8 @@ proto.user.SegmentItemsResponse.deserializeBinaryFromReader = function(msg, read
8785
10196
  var field = reader.getFieldNumber();
8786
10197
  switch (field) {
8787
10198
  case 1:
8788
- var value = new proto.user.SegmentResponse;
8789
- reader.readMessage(value,proto.user.SegmentResponse.deserializeBinaryFromReader);
10199
+ var value = new proto.user.CategoryItem;
10200
+ reader.readMessage(value,proto.user.CategoryItem.deserializeBinaryFromReader);
8790
10201
  msg.addItems(value);
8791
10202
  break;
8792
10203
  case 2:
@@ -8810,9 +10221,9 @@ proto.user.SegmentItemsResponse.deserializeBinaryFromReader = function(msg, read
8810
10221
  * Serializes the message to binary data (in protobuf wire format).
8811
10222
  * @return {!Uint8Array}
8812
10223
  */
8813
- proto.user.SegmentItemsResponse.prototype.serializeBinary = function() {
10224
+ proto.user.CategoryItemsResponse.prototype.serializeBinary = function() {
8814
10225
  var writer = new jspb.BinaryWriter();
8815
- proto.user.SegmentItemsResponse.serializeBinaryToWriter(this, writer);
10226
+ proto.user.CategoryItemsResponse.serializeBinaryToWriter(this, writer);
8816
10227
  return writer.getResultBuffer();
8817
10228
  };
8818
10229
 
@@ -8820,18 +10231,18 @@ proto.user.SegmentItemsResponse.prototype.serializeBinary = function() {
8820
10231
  /**
8821
10232
  * Serializes the given message to binary data (in protobuf wire
8822
10233
  * format), writing to the given BinaryWriter.
8823
- * @param {!proto.user.SegmentItemsResponse} message
10234
+ * @param {!proto.user.CategoryItemsResponse} message
8824
10235
  * @param {!jspb.BinaryWriter} writer
8825
10236
  * @suppress {unusedLocalVariables} f is only used for nested messages
8826
10237
  */
8827
- proto.user.SegmentItemsResponse.serializeBinaryToWriter = function(message, writer) {
10238
+ proto.user.CategoryItemsResponse.serializeBinaryToWriter = function(message, writer) {
8828
10239
  var f = undefined;
8829
10240
  f = message.getItemsList();
8830
10241
  if (f.length > 0) {
8831
10242
  writer.writeRepeatedMessage(
8832
10243
  1,
8833
10244
  f,
8834
- proto.user.SegmentResponse.serializeBinaryToWriter
10245
+ proto.user.CategoryItem.serializeBinaryToWriter
8835
10246
  );
8836
10247
  }
8837
10248
  f = /** @type {number} */ (jspb.Message.getField(message, 2));
@@ -8852,39 +10263,39 @@ proto.user.SegmentItemsResponse.serializeBinaryToWriter = function(message, writ
8852
10263
 
8853
10264
 
8854
10265
  /**
8855
- * repeated SegmentResponse items = 1;
8856
- * @return {!Array<!proto.user.SegmentResponse>}
10266
+ * repeated CategoryItem items = 1;
10267
+ * @return {!Array<!proto.user.CategoryItem>}
8857
10268
  */
8858
- proto.user.SegmentItemsResponse.prototype.getItemsList = function() {
8859
- return /** @type{!Array<!proto.user.SegmentResponse>} */ (
8860
- jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentResponse, 1));
10269
+ proto.user.CategoryItemsResponse.prototype.getItemsList = function() {
10270
+ return /** @type{!Array<!proto.user.CategoryItem>} */ (
10271
+ jspb.Message.getRepeatedWrapperField(this, proto.user.CategoryItem, 1));
8861
10272
  };
8862
10273
 
8863
10274
 
8864
10275
  /**
8865
- * @param {!Array<!proto.user.SegmentResponse>} value
8866
- * @return {!proto.user.SegmentItemsResponse} returns this
10276
+ * @param {!Array<!proto.user.CategoryItem>} value
10277
+ * @return {!proto.user.CategoryItemsResponse} returns this
8867
10278
  */
8868
- proto.user.SegmentItemsResponse.prototype.setItemsList = function(value) {
10279
+ proto.user.CategoryItemsResponse.prototype.setItemsList = function(value) {
8869
10280
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
8870
10281
  };
8871
10282
 
8872
10283
 
8873
10284
  /**
8874
- * @param {!proto.user.SegmentResponse=} opt_value
10285
+ * @param {!proto.user.CategoryItem=} opt_value
8875
10286
  * @param {number=} opt_index
8876
- * @return {!proto.user.SegmentResponse}
10287
+ * @return {!proto.user.CategoryItem}
8877
10288
  */
8878
- proto.user.SegmentItemsResponse.prototype.addItems = function(opt_value, opt_index) {
8879
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.SegmentResponse, opt_index);
10289
+ proto.user.CategoryItemsResponse.prototype.addItems = function(opt_value, opt_index) {
10290
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.CategoryItem, opt_index);
8880
10291
  };
8881
10292
 
8882
10293
 
8883
10294
  /**
8884
10295
  * Clears the list making it empty but non-null.
8885
- * @return {!proto.user.SegmentItemsResponse} returns this
10296
+ * @return {!proto.user.CategoryItemsResponse} returns this
8886
10297
  */
8887
- proto.user.SegmentItemsResponse.prototype.clearItemsList = function() {
10298
+ proto.user.CategoryItemsResponse.prototype.clearItemsList = function() {
8888
10299
  return this.setItemsList([]);
8889
10300
  };
8890
10301
 
@@ -8893,25 +10304,25 @@ proto.user.SegmentItemsResponse.prototype.clearItemsList = function() {
8893
10304
  * optional int32 total_pages = 2;
8894
10305
  * @return {number}
8895
10306
  */
8896
- proto.user.SegmentItemsResponse.prototype.getTotalPages = function() {
10307
+ proto.user.CategoryItemsResponse.prototype.getTotalPages = function() {
8897
10308
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
8898
10309
  };
8899
10310
 
8900
10311
 
8901
10312
  /**
8902
10313
  * @param {number} value
8903
- * @return {!proto.user.SegmentItemsResponse} returns this
10314
+ * @return {!proto.user.CategoryItemsResponse} returns this
8904
10315
  */
8905
- proto.user.SegmentItemsResponse.prototype.setTotalPages = function(value) {
10316
+ proto.user.CategoryItemsResponse.prototype.setTotalPages = function(value) {
8906
10317
  return jspb.Message.setField(this, 2, value);
8907
10318
  };
8908
10319
 
8909
10320
 
8910
10321
  /**
8911
10322
  * Clears the field making it undefined.
8912
- * @return {!proto.user.SegmentItemsResponse} returns this
10323
+ * @return {!proto.user.CategoryItemsResponse} returns this
8913
10324
  */
8914
- proto.user.SegmentItemsResponse.prototype.clearTotalPages = function() {
10325
+ proto.user.CategoryItemsResponse.prototype.clearTotalPages = function() {
8915
10326
  return jspb.Message.setField(this, 2, undefined);
8916
10327
  };
8917
10328
 
@@ -8920,7 +10331,7 @@ proto.user.SegmentItemsResponse.prototype.clearTotalPages = function() {
8920
10331
  * Returns whether this field is set.
8921
10332
  * @return {boolean}
8922
10333
  */
8923
- proto.user.SegmentItemsResponse.prototype.hasTotalPages = function() {
10334
+ proto.user.CategoryItemsResponse.prototype.hasTotalPages = function() {
8924
10335
  return jspb.Message.getField(this, 2) != null;
8925
10336
  };
8926
10337
 
@@ -8929,25 +10340,25 @@ proto.user.SegmentItemsResponse.prototype.hasTotalPages = function() {
8929
10340
  * optional int32 total_items = 3;
8930
10341
  * @return {number}
8931
10342
  */
8932
- proto.user.SegmentItemsResponse.prototype.getTotalItems = function() {
10343
+ proto.user.CategoryItemsResponse.prototype.getTotalItems = function() {
8933
10344
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
8934
10345
  };
8935
10346
 
8936
10347
 
8937
10348
  /**
8938
10349
  * @param {number} value
8939
- * @return {!proto.user.SegmentItemsResponse} returns this
10350
+ * @return {!proto.user.CategoryItemsResponse} returns this
8940
10351
  */
8941
- proto.user.SegmentItemsResponse.prototype.setTotalItems = function(value) {
10352
+ proto.user.CategoryItemsResponse.prototype.setTotalItems = function(value) {
8942
10353
  return jspb.Message.setField(this, 3, value);
8943
10354
  };
8944
10355
 
8945
10356
 
8946
10357
  /**
8947
10358
  * Clears the field making it undefined.
8948
- * @return {!proto.user.SegmentItemsResponse} returns this
10359
+ * @return {!proto.user.CategoryItemsResponse} returns this
8949
10360
  */
8950
- proto.user.SegmentItemsResponse.prototype.clearTotalItems = function() {
10361
+ proto.user.CategoryItemsResponse.prototype.clearTotalItems = function() {
8951
10362
  return jspb.Message.setField(this, 3, undefined);
8952
10363
  };
8953
10364
 
@@ -8956,7 +10367,7 @@ proto.user.SegmentItemsResponse.prototype.clearTotalItems = function() {
8956
10367
  * Returns whether this field is set.
8957
10368
  * @return {boolean}
8958
10369
  */
8959
- proto.user.SegmentItemsResponse.prototype.hasTotalItems = function() {
10370
+ proto.user.CategoryItemsResponse.prototype.hasTotalItems = function() {
8960
10371
  return jspb.Message.getField(this, 3) != null;
8961
10372
  };
8962
10373
 
@@ -8977,8 +10388,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
8977
10388
  * http://goto/soy-param-migration
8978
10389
  * @return {!Object}
8979
10390
  */
8980
- proto.user.RiskStatus.prototype.toObject = function(opt_includeInstance) {
8981
- return proto.user.RiskStatus.toObject(opt_includeInstance, this);
10391
+ proto.user.VerificationStatus.prototype.toObject = function(opt_includeInstance) {
10392
+ return proto.user.VerificationStatus.toObject(opt_includeInstance, this);
8982
10393
  };
8983
10394
 
8984
10395
 
@@ -8987,11 +10398,11 @@ proto.user.RiskStatus.prototype.toObject = function(opt_includeInstance) {
8987
10398
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8988
10399
  * the JSPB instance for transitional soy proto support:
8989
10400
  * http://goto/soy-param-migration
8990
- * @param {!proto.user.RiskStatus} msg The msg instance to transform.
10401
+ * @param {!proto.user.VerificationStatus} msg The msg instance to transform.
8991
10402
  * @return {!Object}
8992
10403
  * @suppress {unusedLocalVariables} f is only used for nested messages
8993
10404
  */
8994
- proto.user.RiskStatus.toObject = function(includeInstance, msg) {
10405
+ proto.user.VerificationStatus.toObject = function(includeInstance, msg) {
8995
10406
  var f, obj = {
8996
10407
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
8997
10408
  title: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -9009,23 +10420,23 @@ proto.user.RiskStatus.toObject = function(includeInstance, msg) {
9009
10420
  /**
9010
10421
  * Deserializes binary data (in protobuf wire format).
9011
10422
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
9012
- * @return {!proto.user.RiskStatus}
10423
+ * @return {!proto.user.VerificationStatus}
9013
10424
  */
9014
- proto.user.RiskStatus.deserializeBinary = function(bytes) {
10425
+ proto.user.VerificationStatus.deserializeBinary = function(bytes) {
9015
10426
  var reader = new jspb.BinaryReader(bytes);
9016
- var msg = new proto.user.RiskStatus;
9017
- return proto.user.RiskStatus.deserializeBinaryFromReader(msg, reader);
10427
+ var msg = new proto.user.VerificationStatus;
10428
+ return proto.user.VerificationStatus.deserializeBinaryFromReader(msg, reader);
9018
10429
  };
9019
10430
 
9020
10431
 
9021
10432
  /**
9022
10433
  * Deserializes binary data (in protobuf wire format) from the
9023
10434
  * given reader into the given message object.
9024
- * @param {!proto.user.RiskStatus} msg The message object to deserialize into.
10435
+ * @param {!proto.user.VerificationStatus} msg The message object to deserialize into.
9025
10436
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9026
- * @return {!proto.user.RiskStatus}
10437
+ * @return {!proto.user.VerificationStatus}
9027
10438
  */
9028
- proto.user.RiskStatus.deserializeBinaryFromReader = function(msg, reader) {
10439
+ proto.user.VerificationStatus.deserializeBinaryFromReader = function(msg, reader) {
9029
10440
  while (reader.nextField()) {
9030
10441
  if (reader.isEndGroup()) {
9031
10442
  break;
@@ -9057,9 +10468,9 @@ proto.user.RiskStatus.deserializeBinaryFromReader = function(msg, reader) {
9057
10468
  * Serializes the message to binary data (in protobuf wire format).
9058
10469
  * @return {!Uint8Array}
9059
10470
  */
9060
- proto.user.RiskStatus.prototype.serializeBinary = function() {
10471
+ proto.user.VerificationStatus.prototype.serializeBinary = function() {
9061
10472
  var writer = new jspb.BinaryWriter();
9062
- proto.user.RiskStatus.serializeBinaryToWriter(this, writer);
10473
+ proto.user.VerificationStatus.serializeBinaryToWriter(this, writer);
9063
10474
  return writer.getResultBuffer();
9064
10475
  };
9065
10476
 
@@ -9067,11 +10478,11 @@ proto.user.RiskStatus.prototype.serializeBinary = function() {
9067
10478
  /**
9068
10479
  * Serializes the given message to binary data (in protobuf wire
9069
10480
  * format), writing to the given BinaryWriter.
9070
- * @param {!proto.user.RiskStatus} message
10481
+ * @param {!proto.user.VerificationStatus} message
9071
10482
  * @param {!jspb.BinaryWriter} writer
9072
10483
  * @suppress {unusedLocalVariables} f is only used for nested messages
9073
10484
  */
9074
- proto.user.RiskStatus.serializeBinaryToWriter = function(message, writer) {
10485
+ proto.user.VerificationStatus.serializeBinaryToWriter = function(message, writer) {
9075
10486
  var f = undefined;
9076
10487
  f = message.getId();
9077
10488
  if (f !== 0) {
@@ -9101,16 +10512,16 @@ proto.user.RiskStatus.serializeBinaryToWriter = function(message, writer) {
9101
10512
  * optional int32 id = 1;
9102
10513
  * @return {number}
9103
10514
  */
9104
- proto.user.RiskStatus.prototype.getId = function() {
10515
+ proto.user.VerificationStatus.prototype.getId = function() {
9105
10516
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
9106
10517
  };
9107
10518
 
9108
10519
 
9109
10520
  /**
9110
10521
  * @param {number} value
9111
- * @return {!proto.user.RiskStatus} returns this
10522
+ * @return {!proto.user.VerificationStatus} returns this
9112
10523
  */
9113
- proto.user.RiskStatus.prototype.setId = function(value) {
10524
+ proto.user.VerificationStatus.prototype.setId = function(value) {
9114
10525
  return jspb.Message.setProto3IntField(this, 1, value);
9115
10526
  };
9116
10527
 
@@ -9119,16 +10530,16 @@ proto.user.RiskStatus.prototype.setId = function(value) {
9119
10530
  * optional string title = 2;
9120
10531
  * @return {string}
9121
10532
  */
9122
- proto.user.RiskStatus.prototype.getTitle = function() {
10533
+ proto.user.VerificationStatus.prototype.getTitle = function() {
9123
10534
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9124
10535
  };
9125
10536
 
9126
10537
 
9127
10538
  /**
9128
10539
  * @param {string} value
9129
- * @return {!proto.user.RiskStatus} returns this
10540
+ * @return {!proto.user.VerificationStatus} returns this
9130
10541
  */
9131
- proto.user.RiskStatus.prototype.setTitle = function(value) {
10542
+ proto.user.VerificationStatus.prototype.setTitle = function(value) {
9132
10543
  return jspb.Message.setProto3StringField(this, 2, value);
9133
10544
  };
9134
10545
 
@@ -9137,25 +10548,25 @@ proto.user.RiskStatus.prototype.setTitle = function(value) {
9137
10548
  * optional string description = 3;
9138
10549
  * @return {string}
9139
10550
  */
9140
- proto.user.RiskStatus.prototype.getDescription = function() {
10551
+ proto.user.VerificationStatus.prototype.getDescription = function() {
9141
10552
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9142
10553
  };
9143
10554
 
9144
10555
 
9145
10556
  /**
9146
10557
  * @param {string} value
9147
- * @return {!proto.user.RiskStatus} returns this
10558
+ * @return {!proto.user.VerificationStatus} returns this
9148
10559
  */
9149
- proto.user.RiskStatus.prototype.setDescription = function(value) {
10560
+ proto.user.VerificationStatus.prototype.setDescription = function(value) {
9150
10561
  return jspb.Message.setField(this, 3, value);
9151
10562
  };
9152
10563
 
9153
10564
 
9154
10565
  /**
9155
10566
  * Clears the field making it undefined.
9156
- * @return {!proto.user.RiskStatus} returns this
10567
+ * @return {!proto.user.VerificationStatus} returns this
9157
10568
  */
9158
- proto.user.RiskStatus.prototype.clearDescription = function() {
10569
+ proto.user.VerificationStatus.prototype.clearDescription = function() {
9159
10570
  return jspb.Message.setField(this, 3, undefined);
9160
10571
  };
9161
10572
 
@@ -9164,7 +10575,7 @@ proto.user.RiskStatus.prototype.clearDescription = function() {
9164
10575
  * Returns whether this field is set.
9165
10576
  * @return {boolean}
9166
10577
  */
9167
- proto.user.RiskStatus.prototype.hasDescription = function() {
10578
+ proto.user.VerificationStatus.prototype.hasDescription = function() {
9168
10579
  return jspb.Message.getField(this, 3) != null;
9169
10580
  };
9170
10581
 
@@ -9175,7 +10586,7 @@ proto.user.RiskStatus.prototype.hasDescription = function() {
9175
10586
  * @private {!Array<number>}
9176
10587
  * @const
9177
10588
  */
9178
- proto.user.RiskStatusItemsResponse.repeatedFields_ = [1];
10589
+ proto.user.VerificationStatusItemsResponse.repeatedFields_ = [1];
9179
10590
 
9180
10591
 
9181
10592
 
@@ -9192,8 +10603,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
9192
10603
  * http://goto/soy-param-migration
9193
10604
  * @return {!Object}
9194
10605
  */
9195
- proto.user.RiskStatusItemsResponse.prototype.toObject = function(opt_includeInstance) {
9196
- return proto.user.RiskStatusItemsResponse.toObject(opt_includeInstance, this);
10606
+ proto.user.VerificationStatusItemsResponse.prototype.toObject = function(opt_includeInstance) {
10607
+ return proto.user.VerificationStatusItemsResponse.toObject(opt_includeInstance, this);
9197
10608
  };
9198
10609
 
9199
10610
 
@@ -9202,14 +10613,14 @@ proto.user.RiskStatusItemsResponse.prototype.toObject = function(opt_includeInst
9202
10613
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9203
10614
  * the JSPB instance for transitional soy proto support:
9204
10615
  * http://goto/soy-param-migration
9205
- * @param {!proto.user.RiskStatusItemsResponse} msg The msg instance to transform.
10616
+ * @param {!proto.user.VerificationStatusItemsResponse} msg The msg instance to transform.
9206
10617
  * @return {!Object}
9207
10618
  * @suppress {unusedLocalVariables} f is only used for nested messages
9208
10619
  */
9209
- proto.user.RiskStatusItemsResponse.toObject = function(includeInstance, msg) {
10620
+ proto.user.VerificationStatusItemsResponse.toObject = function(includeInstance, msg) {
9210
10621
  var f, obj = {
9211
10622
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
9212
- proto.user.RiskStatus.toObject, includeInstance),
10623
+ proto.user.VerificationStatus.toObject, includeInstance),
9213
10624
  totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
9214
10625
  totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
9215
10626
  };
@@ -9225,23 +10636,23 @@ proto.user.RiskStatusItemsResponse.toObject = function(includeInstance, msg) {
9225
10636
  /**
9226
10637
  * Deserializes binary data (in protobuf wire format).
9227
10638
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
9228
- * @return {!proto.user.RiskStatusItemsResponse}
10639
+ * @return {!proto.user.VerificationStatusItemsResponse}
9229
10640
  */
9230
- proto.user.RiskStatusItemsResponse.deserializeBinary = function(bytes) {
10641
+ proto.user.VerificationStatusItemsResponse.deserializeBinary = function(bytes) {
9231
10642
  var reader = new jspb.BinaryReader(bytes);
9232
- var msg = new proto.user.RiskStatusItemsResponse;
9233
- return proto.user.RiskStatusItemsResponse.deserializeBinaryFromReader(msg, reader);
10643
+ var msg = new proto.user.VerificationStatusItemsResponse;
10644
+ return proto.user.VerificationStatusItemsResponse.deserializeBinaryFromReader(msg, reader);
9234
10645
  };
9235
10646
 
9236
10647
 
9237
10648
  /**
9238
10649
  * Deserializes binary data (in protobuf wire format) from the
9239
10650
  * given reader into the given message object.
9240
- * @param {!proto.user.RiskStatusItemsResponse} msg The message object to deserialize into.
10651
+ * @param {!proto.user.VerificationStatusItemsResponse} msg The message object to deserialize into.
9241
10652
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9242
- * @return {!proto.user.RiskStatusItemsResponse}
10653
+ * @return {!proto.user.VerificationStatusItemsResponse}
9243
10654
  */
9244
- proto.user.RiskStatusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
10655
+ proto.user.VerificationStatusItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
9245
10656
  while (reader.nextField()) {
9246
10657
  if (reader.isEndGroup()) {
9247
10658
  break;
@@ -9249,8 +10660,8 @@ proto.user.RiskStatusItemsResponse.deserializeBinaryFromReader = function(msg, r
9249
10660
  var field = reader.getFieldNumber();
9250
10661
  switch (field) {
9251
10662
  case 1:
9252
- var value = new proto.user.RiskStatus;
9253
- reader.readMessage(value,proto.user.RiskStatus.deserializeBinaryFromReader);
10663
+ var value = new proto.user.VerificationStatus;
10664
+ reader.readMessage(value,proto.user.VerificationStatus.deserializeBinaryFromReader);
9254
10665
  msg.addItems(value);
9255
10666
  break;
9256
10667
  case 2:
@@ -9274,9 +10685,9 @@ proto.user.RiskStatusItemsResponse.deserializeBinaryFromReader = function(msg, r
9274
10685
  * Serializes the message to binary data (in protobuf wire format).
9275
10686
  * @return {!Uint8Array}
9276
10687
  */
9277
- proto.user.RiskStatusItemsResponse.prototype.serializeBinary = function() {
10688
+ proto.user.VerificationStatusItemsResponse.prototype.serializeBinary = function() {
9278
10689
  var writer = new jspb.BinaryWriter();
9279
- proto.user.RiskStatusItemsResponse.serializeBinaryToWriter(this, writer);
10690
+ proto.user.VerificationStatusItemsResponse.serializeBinaryToWriter(this, writer);
9280
10691
  return writer.getResultBuffer();
9281
10692
  };
9282
10693
 
@@ -9284,18 +10695,18 @@ proto.user.RiskStatusItemsResponse.prototype.serializeBinary = function() {
9284
10695
  /**
9285
10696
  * Serializes the given message to binary data (in protobuf wire
9286
10697
  * format), writing to the given BinaryWriter.
9287
- * @param {!proto.user.RiskStatusItemsResponse} message
10698
+ * @param {!proto.user.VerificationStatusItemsResponse} message
9288
10699
  * @param {!jspb.BinaryWriter} writer
9289
10700
  * @suppress {unusedLocalVariables} f is only used for nested messages
9290
10701
  */
9291
- proto.user.RiskStatusItemsResponse.serializeBinaryToWriter = function(message, writer) {
10702
+ proto.user.VerificationStatusItemsResponse.serializeBinaryToWriter = function(message, writer) {
9292
10703
  var f = undefined;
9293
10704
  f = message.getItemsList();
9294
10705
  if (f.length > 0) {
9295
10706
  writer.writeRepeatedMessage(
9296
10707
  1,
9297
10708
  f,
9298
- proto.user.RiskStatus.serializeBinaryToWriter
10709
+ proto.user.VerificationStatus.serializeBinaryToWriter
9299
10710
  );
9300
10711
  }
9301
10712
  f = /** @type {number} */ (jspb.Message.getField(message, 2));
@@ -9316,39 +10727,39 @@ proto.user.RiskStatusItemsResponse.serializeBinaryToWriter = function(message, w
9316
10727
 
9317
10728
 
9318
10729
  /**
9319
- * repeated RiskStatus items = 1;
9320
- * @return {!Array<!proto.user.RiskStatus>}
10730
+ * repeated VerificationStatus items = 1;
10731
+ * @return {!Array<!proto.user.VerificationStatus>}
9321
10732
  */
9322
- proto.user.RiskStatusItemsResponse.prototype.getItemsList = function() {
9323
- return /** @type{!Array<!proto.user.RiskStatus>} */ (
9324
- jspb.Message.getRepeatedWrapperField(this, proto.user.RiskStatus, 1));
10733
+ proto.user.VerificationStatusItemsResponse.prototype.getItemsList = function() {
10734
+ return /** @type{!Array<!proto.user.VerificationStatus>} */ (
10735
+ jspb.Message.getRepeatedWrapperField(this, proto.user.VerificationStatus, 1));
9325
10736
  };
9326
10737
 
9327
10738
 
9328
10739
  /**
9329
- * @param {!Array<!proto.user.RiskStatus>} value
9330
- * @return {!proto.user.RiskStatusItemsResponse} returns this
10740
+ * @param {!Array<!proto.user.VerificationStatus>} value
10741
+ * @return {!proto.user.VerificationStatusItemsResponse} returns this
9331
10742
  */
9332
- proto.user.RiskStatusItemsResponse.prototype.setItemsList = function(value) {
10743
+ proto.user.VerificationStatusItemsResponse.prototype.setItemsList = function(value) {
9333
10744
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
9334
10745
  };
9335
10746
 
9336
10747
 
9337
10748
  /**
9338
- * @param {!proto.user.RiskStatus=} opt_value
10749
+ * @param {!proto.user.VerificationStatus=} opt_value
9339
10750
  * @param {number=} opt_index
9340
- * @return {!proto.user.RiskStatus}
10751
+ * @return {!proto.user.VerificationStatus}
9341
10752
  */
9342
- proto.user.RiskStatusItemsResponse.prototype.addItems = function(opt_value, opt_index) {
9343
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.RiskStatus, opt_index);
10753
+ proto.user.VerificationStatusItemsResponse.prototype.addItems = function(opt_value, opt_index) {
10754
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.VerificationStatus, opt_index);
9344
10755
  };
9345
10756
 
9346
10757
 
9347
10758
  /**
9348
10759
  * Clears the list making it empty but non-null.
9349
- * @return {!proto.user.RiskStatusItemsResponse} returns this
10760
+ * @return {!proto.user.VerificationStatusItemsResponse} returns this
9350
10761
  */
9351
- proto.user.RiskStatusItemsResponse.prototype.clearItemsList = function() {
10762
+ proto.user.VerificationStatusItemsResponse.prototype.clearItemsList = function() {
9352
10763
  return this.setItemsList([]);
9353
10764
  };
9354
10765
 
@@ -9357,25 +10768,25 @@ proto.user.RiskStatusItemsResponse.prototype.clearItemsList = function() {
9357
10768
  * optional int32 total_pages = 2;
9358
10769
  * @return {number}
9359
10770
  */
9360
- proto.user.RiskStatusItemsResponse.prototype.getTotalPages = function() {
10771
+ proto.user.VerificationStatusItemsResponse.prototype.getTotalPages = function() {
9361
10772
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9362
10773
  };
9363
10774
 
9364
10775
 
9365
10776
  /**
9366
10777
  * @param {number} value
9367
- * @return {!proto.user.RiskStatusItemsResponse} returns this
10778
+ * @return {!proto.user.VerificationStatusItemsResponse} returns this
9368
10779
  */
9369
- proto.user.RiskStatusItemsResponse.prototype.setTotalPages = function(value) {
10780
+ proto.user.VerificationStatusItemsResponse.prototype.setTotalPages = function(value) {
9370
10781
  return jspb.Message.setField(this, 2, value);
9371
10782
  };
9372
10783
 
9373
10784
 
9374
10785
  /**
9375
10786
  * Clears the field making it undefined.
9376
- * @return {!proto.user.RiskStatusItemsResponse} returns this
10787
+ * @return {!proto.user.VerificationStatusItemsResponse} returns this
9377
10788
  */
9378
- proto.user.RiskStatusItemsResponse.prototype.clearTotalPages = function() {
10789
+ proto.user.VerificationStatusItemsResponse.prototype.clearTotalPages = function() {
9379
10790
  return jspb.Message.setField(this, 2, undefined);
9380
10791
  };
9381
10792
 
@@ -9384,7 +10795,7 @@ proto.user.RiskStatusItemsResponse.prototype.clearTotalPages = function() {
9384
10795
  * Returns whether this field is set.
9385
10796
  * @return {boolean}
9386
10797
  */
9387
- proto.user.RiskStatusItemsResponse.prototype.hasTotalPages = function() {
10798
+ proto.user.VerificationStatusItemsResponse.prototype.hasTotalPages = function() {
9388
10799
  return jspb.Message.getField(this, 2) != null;
9389
10800
  };
9390
10801
 
@@ -9393,25 +10804,25 @@ proto.user.RiskStatusItemsResponse.prototype.hasTotalPages = function() {
9393
10804
  * optional int32 total_items = 3;
9394
10805
  * @return {number}
9395
10806
  */
9396
- proto.user.RiskStatusItemsResponse.prototype.getTotalItems = function() {
10807
+ proto.user.VerificationStatusItemsResponse.prototype.getTotalItems = function() {
9397
10808
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9398
10809
  };
9399
10810
 
9400
10811
 
9401
10812
  /**
9402
10813
  * @param {number} value
9403
- * @return {!proto.user.RiskStatusItemsResponse} returns this
10814
+ * @return {!proto.user.VerificationStatusItemsResponse} returns this
9404
10815
  */
9405
- proto.user.RiskStatusItemsResponse.prototype.setTotalItems = function(value) {
10816
+ proto.user.VerificationStatusItemsResponse.prototype.setTotalItems = function(value) {
9406
10817
  return jspb.Message.setField(this, 3, value);
9407
10818
  };
9408
10819
 
9409
10820
 
9410
10821
  /**
9411
10822
  * Clears the field making it undefined.
9412
- * @return {!proto.user.RiskStatusItemsResponse} returns this
10823
+ * @return {!proto.user.VerificationStatusItemsResponse} returns this
9413
10824
  */
9414
- proto.user.RiskStatusItemsResponse.prototype.clearTotalItems = function() {
10825
+ proto.user.VerificationStatusItemsResponse.prototype.clearTotalItems = function() {
9415
10826
  return jspb.Message.setField(this, 3, undefined);
9416
10827
  };
9417
10828
 
@@ -9420,7 +10831,7 @@ proto.user.RiskStatusItemsResponse.prototype.clearTotalItems = function() {
9420
10831
  * Returns whether this field is set.
9421
10832
  * @return {boolean}
9422
10833
  */
9423
- proto.user.RiskStatusItemsResponse.prototype.hasTotalItems = function() {
10834
+ proto.user.VerificationStatusItemsResponse.prototype.hasTotalItems = function() {
9424
10835
  return jspb.Message.getField(this, 3) != null;
9425
10836
  };
9426
10837