wlan_legacy_metrics_registry/
wlan_legacy_metrics_registry.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
// This file was generated by Cobalt's Registry parser based on the registry YAML
// in the cobalt_config repository. Edit the YAML there to make changes.
pub const CUSTOMER_NAME: &str = "fuchsia";
pub const CUSTOMER_ID: u32 = 1;
pub const PROJECT_NAME: &str = "connectivity_wlan";
pub const PROJECT_ID: u32 = 3708719327;

// Linear bucket constants for last_scan_age_when_scan_requested_migrated last_scan_age_when_scan_requested_histogram
pub const LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_MIGRATED_LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_MIGRATED_LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 60;
pub const LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_MIGRATED_LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 5000000;

// Exponential bucket constants for policy_connection_attempt_migrated device_daily_occurrence_histogram
pub const POLICY_CONNECTION_ATTEMPT_MIGRATED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const POLICY_CONNECTION_ATTEMPT_MIGRATED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const POLICY_CONNECTION_ATTEMPT_MIGRATED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const POLICY_CONNECTION_ATTEMPT_MIGRATED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Linear bucket constants for fleetwide_total_time_quality_metric_template__custom device_daily_total_histogram
pub const FLEETWIDE_TOTAL_TIME_QUALITY_METRIC_TEMPLATE__CUSTOM_DEVICE_DAILY_TOTAL_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const FLEETWIDE_TOTAL_TIME_QUALITY_METRIC_TEMPLATE__CUSTOM_DEVICE_DAILY_TOTAL_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const FLEETWIDE_TOTAL_TIME_QUALITY_METRIC_TEMPLATE__CUSTOM_DEVICE_DAILY_TOTAL_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1000000;

// Linear bucket constants for device_local_ratio_monitoring_metric_template__custom device_daily_max_histograms
pub const DEVICE_LOCAL_RATIO_MONITORING_METRIC_TEMPLATE__CUSTOM_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const DEVICE_LOCAL_RATIO_MONITORING_METRIC_TEMPLATE__CUSTOM_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const DEVICE_LOCAL_RATIO_MONITORING_METRIC_TEMPLATE__CUSTOM_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Linear bucket constants for occurrence_metric_template device_daily_occurrence_histograms
pub const OCCURRENCE_METRIC_TEMPLATE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const OCCURRENCE_METRIC_TEMPLATE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const OCCURRENCE_METRIC_TEMPLATE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for occurrence_metric_template device_weekly_occurrence_histograms
pub const OCCURRENCE_METRIC_TEMPLATE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const OCCURRENCE_METRIC_TEMPLATE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 100;
pub const OCCURRENCE_METRIC_TEMPLATE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for integer_metric_template fleetwide_histogram
pub const INTEGER_METRIC_TEMPLATE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTEGER_METRIC_TEMPLATE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const INTEGER_METRIC_TEMPLATE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for integer_metric_template device_daily_median_histogram
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for integer_metric_template device_daily_mean_histogram
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for integer_metric_template device_daily_max_histogram
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for integer_metric_template device_daily_min_histogram
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MIN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MIN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const INTEGER_METRIC_TEMPLATE_DEVICE_DAILY_MIN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for total_connected_uptime device_daily_total_histogram
pub const TOTAL_CONNECTED_UPTIME_DEVICE_DAILY_TOTAL_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const TOTAL_CONNECTED_UPTIME_DEVICE_DAILY_TOTAL_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 144;
pub const TOTAL_CONNECTED_UPTIME_DEVICE_DAILY_TOTAL_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 600000000;

// Linear bucket constants for connected_uptime_ratio device_daily_max_histograms__part_1
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 4;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 2000;

// Linear bucket constants for connected_uptime_ratio device_daily_max_histograms__part_2
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 8000;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 3;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 500;

// Linear bucket constants for connected_uptime_ratio device_daily_max_histograms__part_3
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 9500;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 4;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for connected_uptime_ratio device_daily_max_histograms__part_4
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_FLOOR: i64 = 9900;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_NUM_BUCKETS: u32 = 6;
pub const CONNECTED_UPTIME_RATIO_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_STEP_SIZE: u32 = 20;

// Linear bucket constants for disconnect_per_day_connected device_daily_max_histograms
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Linear bucket constants for disconnect_per_day_connected device_daily_max_histograms__part_1
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 10000;

// Linear bucket constants for disconnect_per_day_connected device_daily_max_histograms__part_2
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 100000;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 4;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 50000;

// Linear bucket constants for disconnect_per_day_connected device_daily_max_histograms__part_3
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 300000;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 100000;

// Linear bucket constants for time_ratio_with_high_rx_packet_drop device_daily_max_histograms__part_1
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for time_ratio_with_high_rx_packet_drop device_daily_max_histograms__part_2
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 1000;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 200;

// Linear bucket constants for time_ratio_with_high_rx_packet_drop device_daily_max_histograms__part_3
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 2000;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 400;

// Linear bucket constants for time_ratio_with_high_rx_packet_drop device_daily_max_histograms__part_4
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_FLOOR: i64 = 4000;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Linear bucket constants for time_ratio_with_high_tx_packet_drop device_daily_max_histograms__part_1
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for time_ratio_with_high_tx_packet_drop device_daily_max_histograms__part_2
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 1000;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 200;

// Linear bucket constants for time_ratio_with_high_tx_packet_drop device_daily_max_histograms__part_3
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 2000;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 400;

// Linear bucket constants for time_ratio_with_high_tx_packet_drop device_daily_max_histograms__part_4
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_FLOOR: i64 = 4000;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Exponential bucket constants for time_ratio_with_no_rx device_daily_max_histograms
pub const TIME_RATIO_WITH_NO_RX_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIME_RATIO_WITH_NO_RX_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 15;
pub const TIME_RATIO_WITH_NO_RX_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const TIME_RATIO_WITH_NO_RX_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Linear bucket constants for connection_success_rate device_daily_max_histograms
pub const CONNECTION_SUCCESS_RATE_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECTION_SUCCESS_RATE_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONNECTION_SUCCESS_RATE_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for time_ratio_with_very_high_rx_packet_drop device_daily_max_histograms__part_1
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for time_ratio_with_very_high_rx_packet_drop device_daily_max_histograms__part_2
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 1000;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 200;

// Linear bucket constants for time_ratio_with_very_high_rx_packet_drop device_daily_max_histograms__part_3
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 2000;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 400;

// Linear bucket constants for time_ratio_with_very_high_rx_packet_drop device_daily_max_histograms__part_4
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_FLOOR: i64 = 4000;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Linear bucket constants for time_ratio_with_very_high_tx_packet_drop device_daily_max_histograms__part_1
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for time_ratio_with_very_high_tx_packet_drop device_daily_max_histograms__part_2
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 1000;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 200;

// Linear bucket constants for time_ratio_with_very_high_tx_packet_drop device_daily_max_histograms__part_3
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 2000;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 400;

// Linear bucket constants for time_ratio_with_very_high_tx_packet_drop device_daily_max_histograms__part_4
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_FLOOR: i64 = 4000;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Linear bucket constants for roaming_disconnect_per_day_connected device_daily_max_histograms__part_1
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 10000;

// Linear bucket constants for roaming_disconnect_per_day_connected device_daily_max_histograms__part_2
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 100000;
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 4;
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 50000;

// Linear bucket constants for roaming_disconnect_per_day_connected device_daily_max_histograms__part_3
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 300000;
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 100000;

// Linear bucket constants for non_roaming_disconnect_per_day_connected device_daily_max_histograms__part_1
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 10000;

// Linear bucket constants for non_roaming_disconnect_per_day_connected device_daily_max_histograms__part_2
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 100000;
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 4;
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 50000;

// Linear bucket constants for non_roaming_disconnect_per_day_connected device_daily_max_histograms__part_3
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 300000;
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 7;
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 100000;

// Linear bucket constants for disconnect_per_day_connected_7d device_daily_max_histograms
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1000;

// Linear bucket constants for disconnect_per_day_connected_7d device_daily_max_histograms__part_1
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_FLOOR: i64 = 0;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_NUM_BUCKETS: u32 = 5;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_1_INT_BUCKETS_STEP_SIZE: u32 = 2000;

// Linear bucket constants for disconnect_per_day_connected_7d device_daily_max_histograms__part_2
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_FLOOR: i64 = 10000;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_NUM_BUCKETS: u32 = 8;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_2_INT_BUCKETS_STEP_SIZE: u32 = 5000;

// Linear bucket constants for disconnect_per_day_connected_7d device_daily_max_histograms__part_3
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_FLOOR: i64 = 50000;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_3_INT_BUCKETS_STEP_SIZE: u32 = 10000;

// Linear bucket constants for disconnect_per_day_connected_7d device_daily_max_histograms__part_4
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_FLOOR: i64 = 150000;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_NUM_BUCKETS: u32 = 6;
pub const DISCONNECT_PER_DAY_CONNECTED_7D_DEVICE_DAILY_MAX_HISTOGRAMS__PART_4_INT_BUCKETS_STEP_SIZE: u32 = 50000;

// Exponential bucket constants for disconnect_breakdown_by_reason_code device_daily_occurrence_histograms
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for disconnect_breakdown_by_reason_code device_weekly_occurrence_histograms
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for connect_attempt_breakdown_by_status_code device_daily_occurrence_histograms
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for connect_attempt_breakdown_by_status_code device_weekly_occurrence_histograms
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for connect_attempt_on_normal_device_breakdown_by_status_code device_daily_occurrence_histograms
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for connect_attempt_on_normal_device_breakdown_by_status_code device_weekly_occurrence_histograms
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for connect_attempt_on_bad_device_breakdown_by_status_code device_daily_occurrence_histograms
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for connect_attempt_on_bad_device_breakdown_by_status_code device_weekly_occurrence_histograms
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Linear bucket constants for policy_proactive_roaming_scan_counts device_daily_occurrence_histograms
pub const POLICY_PROACTIVE_ROAMING_SCAN_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const POLICY_PROACTIVE_ROAMING_SCAN_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const POLICY_PROACTIVE_ROAMING_SCAN_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for network_roaming_disconnect_counts device_daily_occurrence_histograms
pub const NETWORK_ROAMING_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const NETWORK_ROAMING_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const NETWORK_ROAMING_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for network_non_roaming_disconnect_counts device_daily_occurrence_histograms
pub const NETWORK_NON_ROAMING_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const NETWORK_NON_ROAMING_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const NETWORK_NON_ROAMING_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for network_disconnect_counts device_daily_occurrence_histograms
pub const NETWORK_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const NETWORK_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const NETWORK_DISCONNECT_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connected_duration_before_roaming_disconnect fleetwide_histograms
pub const CONNECTED_DURATION_BEFORE_ROAMING_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECTED_DURATION_BEFORE_ROAMING_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 360;
pub const CONNECTED_DURATION_BEFORE_ROAMING_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connected_duration_before_non_roaming_disconnect fleetwide_histograms
pub const CONNECTED_DURATION_BEFORE_NON_ROAMING_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECTED_DURATION_BEFORE_NON_ROAMING_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 360;
pub const CONNECTED_DURATION_BEFORE_NON_ROAMING_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connected_duration_before_disconnect fleetwide_histograms
pub const CONNECTED_DURATION_BEFORE_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECTED_DURATION_BEFORE_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 360;
pub const CONNECTED_DURATION_BEFORE_DISCONNECT_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connection_rssi
pub const CONNECTION_RSSI_INT_BUCKETS_FLOOR: i64 = -128;
pub const CONNECTION_RSSI_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const CONNECTION_RSSI_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for rssi_velocity
pub const RSSI_VELOCITY_INT_BUCKETS_FLOOR: i64 = -10;
pub const RSSI_VELOCITY_INT_BUCKETS_NUM_BUCKETS: u32 = 21;
pub const RSSI_VELOCITY_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for roaming_reconnect_duration fleetwide_histograms
pub const ROAMING_RECONNECT_DURATION_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const ROAMING_RECONNECT_DURATION_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 600;
pub const ROAMING_RECONNECT_DURATION_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 100000;

// Linear bucket constants for non_roaming_reconnect_duration fleetwide_histograms
pub const NON_ROAMING_RECONNECT_DURATION_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const NON_ROAMING_RECONNECT_DURATION_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 600;
pub const NON_ROAMING_RECONNECT_DURATION_FLEETWIDE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 100000;

// Linear bucket constants for client_connections_stop_and_start device_daily_occurrence_histograms
pub const CLIENT_CONNECTIONS_STOP_AND_START_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CLIENT_CONNECTIONS_STOP_AND_START_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const CLIENT_CONNECTIONS_STOP_AND_START_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for manual_network_change device_daily_occurrence_histograms
pub const MANUAL_NETWORK_CHANGE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const MANUAL_NETWORK_CHANGE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const MANUAL_NETWORK_CHANGE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for percent_good_roams device_daily_max_histograms
pub const PERCENT_GOOD_ROAMS_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const PERCENT_GOOD_ROAMS_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const PERCENT_GOOD_ROAMS_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for percent_good_roams_at_least_five_roams device_daily_max_histograms
pub const PERCENT_GOOD_ROAMS_AT_LEAST_FIVE_ROAMS_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const PERCENT_GOOD_ROAMS_AT_LEAST_FIVE_ROAMS_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const PERCENT_GOOD_ROAMS_AT_LEAST_FIVE_ROAMS_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 100;

// Linear bucket constants for roam_to_insufficent_network_issue_counts device_daily_occurrence_histograms
pub const ROAM_TO_INSUFFICENT_NETWORK_ISSUE_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const ROAM_TO_INSUFFICENT_NETWORK_ISSUE_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const ROAM_TO_INSUFFICENT_NETWORK_ISSUE_COUNTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for interface_creation_failure device_daily_occurrence_histograms
pub const INTERFACE_CREATION_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTERFACE_CREATION_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 51;
pub const INTERFACE_CREATION_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for interface_destruction_failure device_daily_occurrence_histograms
pub const INTERFACE_DESTRUCTION_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTERFACE_DESTRUCTION_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 51;
pub const INTERFACE_DESTRUCTION_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for ap_start_failure device_daily_occurrence_histograms
pub const AP_START_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const AP_START_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 51;
pub const AP_START_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for client_scan_failure device_daily_occurrence_histograms
pub const CLIENT_SCAN_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CLIENT_SCAN_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 501;
pub const CLIENT_SCAN_FAILURE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for aborted_scan device_daily_occurrence_histograms
pub const ABORTED_SCAN_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const ABORTED_SCAN_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 501;
pub const ABORTED_SCAN_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for empty_scan_results device_daily_occurrence_histograms
pub const EMPTY_SCAN_RESULTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const EMPTY_SCAN_RESULTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 501;
pub const EMPTY_SCAN_RESULTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connection_failures device_daily_occurrence_histograms
pub const CONNECTION_FAILURES_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECTION_FAILURES_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 501;
pub const CONNECTION_FAILURES_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for consecutive_counter_stats_failures device_daily_max_histograms
pub const CONSECUTIVE_COUNTER_STATS_FAILURES_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONSECUTIVE_COUNTER_STATS_FAILURES_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONSECUTIVE_COUNTER_STATS_FAILURES_DEVICE_DAILY_MAX_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for recovery_occurrence device_daily_occurrence_histograms
pub const RECOVERY_OCCURRENCE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const RECOVERY_OCCURRENCE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const RECOVERY_OCCURRENCE_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for recovery_occurrence device_weekly_occurrence_histograms
pub const RECOVERY_OCCURRENCE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const RECOVERY_OCCURRENCE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const RECOVERY_OCCURRENCE_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for interface_creation_recovery_outcome device_daily_occurrence_histograms
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for interface_creation_recovery_outcome device_weekly_occurrence_histograms
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for interface_destruction_recovery_outcome device_daily_occurrence_histograms
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for interface_destruction_recovery_outcome device_weekly_occurrence_histograms
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connect_failure_recovery_outcome device_daily_occurrence_histograms
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connect_failure_recovery_outcome device_weekly_occurrence_histograms
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for scan_failure_recovery_outcome device_daily_occurrence_histograms
pub const SCAN_FAILURE_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const SCAN_FAILURE_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SCAN_FAILURE_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for scan_failure_recovery_outcome device_weekly_occurrence_histograms
pub const SCAN_FAILURE_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const SCAN_FAILURE_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SCAN_FAILURE_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for scan_cancellation_recovery_outcome device_daily_occurrence_histograms
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for scan_cancellation_recovery_outcome device_weekly_occurrence_histograms
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for empty_scan_results_recovery_outcome device_daily_occurrence_histograms
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for empty_scan_results_recovery_outcome device_weekly_occurrence_histograms
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for start_access_point_recovery_outcome device_daily_occurrence_histograms
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for start_access_point_recovery_outcome device_weekly_occurrence_histograms
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for roam_scans_by_roam_reason device_daily_occurrence_histograms
pub const ROAM_SCANS_BY_ROAM_REASON_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const ROAM_SCANS_BY_ROAM_REASON_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const ROAM_SCANS_BY_ROAM_REASON_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for roam_attempts_by_roam_reason device_daily_occurrence_histograms
pub const ROAM_ATTEMPTS_BY_ROAM_REASON_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const ROAM_ATTEMPTS_BY_ROAM_REASON_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 150;
pub const ROAM_ATTEMPTS_BY_ROAM_REASON_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for sme_operation_timeout device_daily_occurrence_histograms
pub const SME_OPERATION_TIMEOUT_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const SME_OPERATION_TIMEOUT_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SME_OPERATION_TIMEOUT_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for sme_operation_timeout device_weekly_occurrence_histograms
pub const SME_OPERATION_TIMEOUT_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const SME_OPERATION_TIMEOUT_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SME_OPERATION_TIMEOUT_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for timeout_recovery_outcome device_daily_occurrence_histograms
pub const TIMEOUT_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIMEOUT_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const TIMEOUT_RECOVERY_OUTCOME_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for timeout_recovery_outcome device_weekly_occurrence_histograms
pub const TIMEOUT_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const TIMEOUT_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const TIMEOUT_RECOVERY_OUTCOME_DEVICE_WEEKLY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for power_level_at_suspend device_daily_occurrence_histograms
pub const POWER_LEVEL_AT_SUSPEND_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const POWER_LEVEL_AT_SUSPEND_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 50;
pub const POWER_LEVEL_AT_SUSPEND_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 5;

// Linear bucket constants for unclear_power_level_demand device_daily_occurrence_histograms
pub const UNCLEAR_POWER_LEVEL_DEMAND_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_FLOOR: i64 = 0;
pub const UNCLEAR_POWER_LEVEL_DEMAND_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const UNCLEAR_POWER_LEVEL_DEMAND_DEVICE_DAILY_OCCURRENCE_HISTOGRAMS_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Exponential bucket constants for policy_connection_attempts device_daily_occurrence_histogram
pub const POLICY_CONNECTION_ATTEMPTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const POLICY_CONNECTION_ATTEMPTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const POLICY_CONNECTION_ATTEMPTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const POLICY_CONNECTION_ATTEMPTS_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Linear bucket constants for policy_fidl_connection_attempts_during_short_connection_detailed device_daily_occurrence_histogram
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 30;
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for policy_fidl_connection_attempts_during_short_connection device_daily_occurrence_histogram
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 30;
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Exponential bucket constants for network_selection_count device_daily_occurrence_histogram
pub const NETWORK_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NETWORK_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const NETWORK_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const NETWORK_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Linear bucket constants for num_networks_selected fleetwide_histogram
pub const NUM_NETWORKS_SELECTED_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_SELECTED_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 11;
pub const NUM_NETWORKS_SELECTED_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_networks_selected device_daily_mean_histogram
pub const NUM_NETWORKS_SELECTED_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_SELECTED_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 11;
pub const NUM_NETWORKS_SELECTED_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_networks_selected device_daily_median_histogram
pub const NUM_NETWORKS_SELECTED_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_SELECTED_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 11;
pub const NUM_NETWORKS_SELECTED_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Exponential bucket constants for bss_selection_count_detailed device_daily_occurrence_histogram
pub const BSS_SELECTION_COUNT_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const BSS_SELECTION_COUNT_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const BSS_SELECTION_COUNT_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const BSS_SELECTION_COUNT_DETAILED_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Exponential bucket constants for bss_selection_count device_daily_occurrence_histogram
pub const BSS_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const BSS_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 10;
pub const BSS_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_INITIAL_STEP: u32 = 1;
pub const BSS_SELECTION_COUNT_DEVICE_DAILY_OCCURRENCE_HISTOGRAM_INT_BUCKETS_STEP_MULTIPLIER: u32 = 2;

// Linear bucket constants for num_bss_considered_in_selection_detailed fleetwide_histogram
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DETAILED_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DETAILED_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 21;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DETAILED_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_bss_considered_in_selection device_daily_mean_histogram
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 21;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_bss_considered_in_selection device_daily_median_histogram
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 21;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_bss_considered_in_selection device_daily_max_histogram
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 21;
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_networks_represented_in_bss_selection fleetwide_histogram
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 11;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_networks_represented_in_bss_selection device_daily_mean_histogram
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 11;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_networks_represented_in_bss_selection device_daily_median_histogram
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 11;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for num_networks_represented_in_bss_selection device_daily_max_histogram
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = 0;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 30;
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_DEVICE_DAILY_MAX_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connection_score_average fleetwide_histogram
pub const CONNECTION_SCORE_AVERAGE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const CONNECTION_SCORE_AVERAGE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONNECTION_SCORE_AVERAGE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for connection_score_average device_daily_mean_histogram
pub const CONNECTION_SCORE_AVERAGE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const CONNECTION_SCORE_AVERAGE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONNECTION_SCORE_AVERAGE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for connection_score_average device_daily_median_histogram
pub const CONNECTION_SCORE_AVERAGE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const CONNECTION_SCORE_AVERAGE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const CONNECTION_SCORE_AVERAGE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for bss_candidate_score fleetwide_histogram
pub const BSS_CANDIDATE_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const BSS_CANDIDATE_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const BSS_CANDIDATE_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for bss_candidate_score device_daily_mean_histogram
pub const BSS_CANDIDATE_SCORE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const BSS_CANDIDATE_SCORE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const BSS_CANDIDATE_SCORE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for bss_candidate_score device_daily_median_histogram
pub const BSS_CANDIDATE_SCORE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const BSS_CANDIDATE_SCORE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const BSS_CANDIDATE_SCORE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for selected_bss_score fleetwide_histogram
pub const SELECTED_BSS_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const SELECTED_BSS_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SELECTED_BSS_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for selected_bss_score device_daily_mean_histogram
pub const SELECTED_BSS_SCORE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const SELECTED_BSS_SCORE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SELECTED_BSS_SCORE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for selected_bss_score device_daily_median_histogram
pub const SELECTED_BSS_SCORE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const SELECTED_BSS_SCORE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const SELECTED_BSS_SCORE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for runner_up_candidate_score_delta fleetwide_histogram
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for runner_up_candidate_score_delta device_daily_mean_histogram
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for runner_up_candidate_score_delta device_daily_median_histogram
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for best_candidates_ghz_score_delta fleetwide_histogram
pub const BEST_CANDIDATES_GHZ_SCORE_DELTA_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const BEST_CANDIDATES_GHZ_SCORE_DELTA_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const BEST_CANDIDATES_GHZ_SCORE_DELTA_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for average_score_delta_after_connection_by_initial_score fleetwide_histogram
pub const AVERAGE_SCORE_DELTA_AFTER_CONNECTION_BY_INITIAL_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const AVERAGE_SCORE_DELTA_AFTER_CONNECTION_BY_INITIAL_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const AVERAGE_SCORE_DELTA_AFTER_CONNECTION_BY_INITIAL_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for average_score_delta_before_disconnect_by_final_score fleetwide_histogram
pub const AVERAGE_SCORE_DELTA_BEFORE_DISCONNECT_BY_FINAL_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -100;
pub const AVERAGE_SCORE_DELTA_BEFORE_DISCONNECT_BY_FINAL_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 101;
pub const AVERAGE_SCORE_DELTA_BEFORE_DISCONNECT_BY_FINAL_SCORE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for average_rssi_delta_after_connection_by_initial_rssi fleetwide_histogram
pub const AVERAGE_RSSI_DELTA_AFTER_CONNECTION_BY_INITIAL_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const AVERAGE_RSSI_DELTA_AFTER_CONNECTION_BY_INITIAL_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const AVERAGE_RSSI_DELTA_AFTER_CONNECTION_BY_INITIAL_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for average_rssi_delta_before_disconnect_by_final_rssi fleetwide_histogram
pub const AVERAGE_RSSI_DELTA_BEFORE_DISCONNECT_BY_FINAL_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const AVERAGE_RSSI_DELTA_BEFORE_DISCONNECT_BY_FINAL_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const AVERAGE_RSSI_DELTA_BEFORE_DISCONNECT_BY_FINAL_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for connection_rssi_average fleetwide_histogram
pub const CONNECTION_RSSI_AVERAGE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const CONNECTION_RSSI_AVERAGE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const CONNECTION_RSSI_AVERAGE_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connection_rssi_average device_daily_mean_histogram
pub const CONNECTION_RSSI_AVERAGE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const CONNECTION_RSSI_AVERAGE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const CONNECTION_RSSI_AVERAGE_DEVICE_DAILY_MEAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for connection_rssi_average device_daily_median_histogram
pub const CONNECTION_RSSI_AVERAGE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const CONNECTION_RSSI_AVERAGE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const CONNECTION_RSSI_AVERAGE_DEVICE_DAILY_MEDIAN_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Linear bucket constants for roam_transition_rssi_delta_by_roam_reason fleetwide_histogram
pub const ROAM_TRANSITION_RSSI_DELTA_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const ROAM_TRANSITION_RSSI_DELTA_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const ROAM_TRANSITION_RSSI_DELTA_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for average_rssi_delta_pre_roam_by_roam_reason fleetwide_histogram
pub const AVERAGE_RSSI_DELTA_PRE_ROAM_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const AVERAGE_RSSI_DELTA_PRE_ROAM_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const AVERAGE_RSSI_DELTA_PRE_ROAM_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for average_rssi_delta_after_roam_by_roam_reason fleetwide_histogram
pub const AVERAGE_RSSI_DELTA_AFTER_ROAM_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const AVERAGE_RSSI_DELTA_AFTER_ROAM_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const AVERAGE_RSSI_DELTA_AFTER_ROAM_BY_ROAM_REASON_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 2;

// Linear bucket constants for bss_candidate_rssi fleetwide_histogram
pub const BSS_CANDIDATE_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_FLOOR: i64 = -128;
pub const BSS_CANDIDATE_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_NUM_BUCKETS: u32 = 129;
pub const BSS_CANDIDATE_RSSI_FLEETWIDE_HISTOGRAM_INT_BUCKETS_STEP_SIZE: u32 = 1;

// Metric ID Constants
// scan_results_received_migrated
pub const SCAN_RESULTS_RECEIVED_MIGRATED_METRIC_ID: u32 = 321;
// saved_network_in_scan_result_migrated
pub const SAVED_NETWORK_IN_SCAN_RESULT_MIGRATED_METRIC_ID: u32 = 322;
// saved_networks_migrated
pub const SAVED_NETWORKS_MIGRATED_METRIC_ID: u32 = 323;
// saved_configurations_for_saved_network_migrated
pub const SAVED_CONFIGURATIONS_FOR_SAVED_NETWORK_MIGRATED_METRIC_ID: u32 = 324;
// last_scan_age_when_scan_requested_migrated
pub const LAST_SCAN_AGE_WHEN_SCAN_REQUESTED_MIGRATED_METRIC_ID: u32 = 325;
// active_scan_requested_for_network_selection_migrated
pub const ACTIVE_SCAN_REQUESTED_FOR_NETWORK_SELECTION_MIGRATED_METRIC_ID: u32 = 326;
// saved_network_in_scan_result_with_active_scan_migrated
pub const SAVED_NETWORK_IN_SCAN_RESULT_WITH_ACTIVE_SCAN_MIGRATED_METRIC_ID: u32 = 327;
// policy_connection_attempt_migrated
pub const POLICY_CONNECTION_ATTEMPT_MIGRATED_METRIC_ID: u32 = 329;
// policy_disconnection_migrated
pub const POLICY_DISCONNECTION_MIGRATED_METRIC_ID: u32 = 330;
// client_connections_enabled_duration_migrated
pub const CLIENT_CONNECTIONS_ENABLED_DURATION_MIGRATED_METRIC_ID: u32 = 331;
// access_point_enabled_duration_migrated
pub const ACCESS_POINT_ENABLED_DURATION_MIGRATED_METRIC_ID: u32 = 332;
// brcmfmac_firmware_recovery_attempt_occurrence
pub const BRCMFMAC_FIRMWARE_RECOVERY_ATTEMPT_OCCURRENCE_METRIC_ID: u32 = 339;
// brcmfmac_firmware_recovery_occurrence
pub const BRCMFMAC_FIRMWARE_RECOVERY_OCCURRENCE_METRIC_ID: u32 = 340;
// active_scan_requested_for_policy_api
pub const ACTIVE_SCAN_REQUESTED_FOR_POLICY_API_METRIC_ID: u32 = 341;
// fleetwide_total_time_quality_metric_template
pub const FLEETWIDE_TOTAL_TIME_QUALITY_METRIC_TEMPLATE_METRIC_ID: u32 = 900;
// fleetwide_total_time_quality_metric_template__custom
pub const FLEETWIDE_TOTAL_TIME_QUALITY_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 901;
// device_local_ratio_monitoring_metric_template
pub const DEVICE_LOCAL_RATIO_MONITORING_METRIC_TEMPLATE_METRIC_ID: u32 = 904;
// device_local_ratio_monitoring_metric_template__custom
pub const DEVICE_LOCAL_RATIO_MONITORING_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 905;
// device_counts_metric_template
pub const DEVICE_COUNTS_METRIC_TEMPLATE_METRIC_ID: u32 = 906;
// device_counts_metric_template__custom
pub const DEVICE_COUNTS_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 907;
// device_one_daily_occurrence_metric_template
pub const DEVICE_ONE_DAILY_OCCURRENCE_METRIC_TEMPLATE_METRIC_ID: u32 = 908;
// device_one_daily_occurrence_metric_template__custom
pub const DEVICE_ONE_DAILY_OCCURRENCE_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 909;
// detailed_occurrence_metric_template
pub const DETAILED_OCCURRENCE_METRIC_TEMPLATE_METRIC_ID: u32 = 910;
// detailed_occurrence_metric_template__custom
pub const DETAILED_OCCURRENCE_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 911;
// fleetwide_string_counts_metric_template
pub const FLEETWIDE_STRING_COUNTS_METRIC_TEMPLATE_METRIC_ID: u32 = 912;
// fleetwide_string_counts_metric_template__custom
pub const FLEETWIDE_STRING_COUNTS_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 913;
// device_string_counts_metric_template
pub const DEVICE_STRING_COUNTS_METRIC_TEMPLATE_METRIC_ID: u32 = 916;
// device_string_counts_metric_template__custom
pub const DEVICE_STRING_COUNTS_METRIC_TEMPLATE__CUSTOM_METRIC_ID: u32 = 917;
// occurrence_metric_template
pub const OCCURRENCE_METRIC_TEMPLATE_METRIC_ID: u32 = 918;
// integer_metric_template
pub const INTEGER_METRIC_TEMPLATE_METRIC_ID: u32 = 919;
// total_wlan_uptime_near_saved_network
pub const TOTAL_WLAN_UPTIME_NEAR_SAVED_NETWORK_METRIC_ID: u32 = 1000;
// total_connected_uptime
pub const TOTAL_CONNECTED_UPTIME_METRIC_ID: u32 = 1001;
// total_disconnect_count
pub const TOTAL_DISCONNECT_COUNT_METRIC_ID: u32 = 1002;
// total_time_with_high_rx_packet_drop
pub const TOTAL_TIME_WITH_HIGH_RX_PACKET_DROP_METRIC_ID: u32 = 1003;
// total_time_with_high_tx_packet_drop
pub const TOTAL_TIME_WITH_HIGH_TX_PACKET_DROP_METRIC_ID: u32 = 1004;
// total_time_with_no_rx
pub const TOTAL_TIME_WITH_NO_RX_METRIC_ID: u32 = 1005;
// total_time_with_very_high_rx_packet_drop
pub const TOTAL_TIME_WITH_VERY_HIGH_RX_PACKET_DROP_METRIC_ID: u32 = 1006;
// total_time_with_very_high_tx_packet_drop
pub const TOTAL_TIME_WITH_VERY_HIGH_TX_PACKET_DROP_METRIC_ID: u32 = 1007;
// total_roaming_disconnect_count
pub const TOTAL_ROAMING_DISCONNECT_COUNT_METRIC_ID: u32 = 1008;
// total_non_roaming_disconnect_count
pub const TOTAL_NON_ROAMING_DISCONNECT_COUNT_METRIC_ID: u32 = 1009;
// connected_uptime_ratio
pub const CONNECTED_UPTIME_RATIO_METRIC_ID: u32 = 2000;
// disconnect_per_day_connected
pub const DISCONNECT_PER_DAY_CONNECTED_METRIC_ID: u32 = 2001;
// time_ratio_with_high_rx_packet_drop
pub const TIME_RATIO_WITH_HIGH_RX_PACKET_DROP_METRIC_ID: u32 = 2002;
// time_ratio_with_high_tx_packet_drop
pub const TIME_RATIO_WITH_HIGH_TX_PACKET_DROP_METRIC_ID: u32 = 2003;
// time_ratio_with_no_rx
pub const TIME_RATIO_WITH_NO_RX_METRIC_ID: u32 = 2004;
// connection_success_rate
pub const CONNECTION_SUCCESS_RATE_METRIC_ID: u32 = 2005;
// time_ratio_with_very_high_rx_packet_drop
pub const TIME_RATIO_WITH_VERY_HIGH_RX_PACKET_DROP_METRIC_ID: u32 = 2006;
// time_ratio_with_very_high_tx_packet_drop
pub const TIME_RATIO_WITH_VERY_HIGH_TX_PACKET_DROP_METRIC_ID: u32 = 2007;
// roaming_disconnect_per_day_connected
pub const ROAMING_DISCONNECT_PER_DAY_CONNECTED_METRIC_ID: u32 = 2008;
// non_roaming_disconnect_per_day_connected
pub const NON_ROAMING_DISCONNECT_PER_DAY_CONNECTED_METRIC_ID: u32 = 2009;
// disconnect_per_day_connected_7d
pub const DISCONNECT_PER_DAY_CONNECTED_7D_METRIC_ID: u32 = 2010;
// stash_migration_results
pub const STASH_MIGRATION_RESULTS_METRIC_ID: u32 = 2011;
// disconnect_breakdown_by_device_uptime
pub const DISCONNECT_BREAKDOWN_BY_DEVICE_UPTIME_METRIC_ID: u32 = 4003;
// disconnect_breakdown_by_connected_duration
pub const DISCONNECT_BREAKDOWN_BY_CONNECTED_DURATION_METRIC_ID: u32 = 4004;
// disconnect_breakdown_by_reason_code
pub const DISCONNECT_BREAKDOWN_BY_REASON_CODE_METRIC_ID: u32 = 4005;
// disconnect_breakdown_by_primary_channel
pub const DISCONNECT_BREAKDOWN_BY_PRIMARY_CHANNEL_METRIC_ID: u32 = 4006;
// downtime_breakdown_by_disconnect_reason
pub const DOWNTIME_BREAKDOWN_BY_DISCONNECT_REASON_METRIC_ID: u32 = 4007;
// connect_attempt_breakdown_by_status_code
pub const CONNECT_ATTEMPT_BREAKDOWN_BY_STATUS_CODE_METRIC_ID: u32 = 4008;
// connect_attempt_on_normal_device_breakdown_by_status_code
pub const CONNECT_ATTEMPT_ON_NORMAL_DEVICE_BREAKDOWN_BY_STATUS_CODE_METRIC_ID: u32 = 4009;
// connect_attempt_on_bad_device_breakdown_by_status_code
pub const CONNECT_ATTEMPT_ON_BAD_DEVICE_BREAKDOWN_BY_STATUS_CODE_METRIC_ID: u32 = 4010;
// successful_connect_breakdown_by_user_wait_time
pub const SUCCESSFUL_CONNECT_BREAKDOWN_BY_USER_WAIT_TIME_METRIC_ID: u32 = 4011;
// successful_connect_breakdown_by_is_multi_bss
pub const SUCCESSFUL_CONNECT_BREAKDOWN_BY_IS_MULTI_BSS_METRIC_ID: u32 = 4012;
// successful_connect_breakdown_by_security_type
pub const SUCCESSFUL_CONNECT_BREAKDOWN_BY_SECURITY_TYPE_METRIC_ID: u32 = 4013;
// successful_connect_breakdown_by_primary_channel
pub const SUCCESSFUL_CONNECT_BREAKDOWN_BY_PRIMARY_CHANNEL_METRIC_ID: u32 = 4014;
// successful_connect_breakdown_by_channel_band
pub const SUCCESSFUL_CONNECT_BREAKDOWN_BY_CHANNEL_BAND_METRIC_ID: u32 = 4015;
// daily_connect_success_rate_breakdown_by_is_multi_bss
pub const DAILY_CONNECT_SUCCESS_RATE_BREAKDOWN_BY_IS_MULTI_BSS_METRIC_ID: u32 = 4018;
// daily_connect_success_rate_breakdown_by_security_type
pub const DAILY_CONNECT_SUCCESS_RATE_BREAKDOWN_BY_SECURITY_TYPE_METRIC_ID: u32 = 4019;
// daily_connect_success_rate_breakdown_by_primary_channel
pub const DAILY_CONNECT_SUCCESS_RATE_BREAKDOWN_BY_PRIMARY_CHANNEL_METRIC_ID: u32 = 4020;
// daily_connect_success_rate_breakdown_by_channel_band
pub const DAILY_CONNECT_SUCCESS_RATE_BREAKDOWN_BY_CHANNEL_BAND_METRIC_ID: u32 = 4021;
// daily_connect_success_rate_breakdown_by_rssi_bucket
pub const DAILY_CONNECT_SUCCESS_RATE_BREAKDOWN_BY_RSSI_BUCKET_METRIC_ID: u32 = 4022;
// daily_connect_success_rate_breakdown_by_snr_bucket
pub const DAILY_CONNECT_SUCCESS_RATE_BREAKDOWN_BY_SNR_BUCKET_METRIC_ID: u32 = 4023;
// successful_connect_per_oui
pub const SUCCESSFUL_CONNECT_PER_OUI_METRIC_ID: u32 = 4024;
// reconnect_breakdown_by_duration
pub const RECONNECT_BREAKDOWN_BY_DURATION_METRIC_ID: u32 = 4025;
// policy_proactive_roaming_scan_counts
pub const POLICY_PROACTIVE_ROAMING_SCAN_COUNTS_METRIC_ID: u32 = 4026;
// network_roaming_disconnect_counts
pub const NETWORK_ROAMING_DISCONNECT_COUNTS_METRIC_ID: u32 = 4027;
// network_non_roaming_disconnect_counts
pub const NETWORK_NON_ROAMING_DISCONNECT_COUNTS_METRIC_ID: u32 = 4028;
// network_disconnect_counts
pub const NETWORK_DISCONNECT_COUNTS_METRIC_ID: u32 = 4029;
// connected_duration_before_roaming_disconnect
pub const CONNECTED_DURATION_BEFORE_ROAMING_DISCONNECT_METRIC_ID: u32 = 4030;
// connected_duration_before_non_roaming_disconnect
pub const CONNECTED_DURATION_BEFORE_NON_ROAMING_DISCONNECT_METRIC_ID: u32 = 4031;
// connected_duration_before_disconnect
pub const CONNECTED_DURATION_BEFORE_DISCONNECT_METRIC_ID: u32 = 4032;
// connection_rssi
pub const CONNECTION_RSSI_METRIC_ID: u32 = 4033;
// rssi_velocity
pub const RSSI_VELOCITY_METRIC_ID: u32 = 4034;
// roaming_reconnect_duration
pub const ROAMING_RECONNECT_DURATION_METRIC_ID: u32 = 4035;
// non_roaming_reconnect_duration
pub const NON_ROAMING_RECONNECT_DURATION_METRIC_ID: u32 = 4036;
// disconnect_breakdown_by_channel_band
pub const DISCONNECT_BREAKDOWN_BY_CHANNEL_BAND_METRIC_ID: u32 = 4037;
// disconnect_breakdown_by_is_multi_bss
pub const DISCONNECT_BREAKDOWN_BY_IS_MULTI_BSS_METRIC_ID: u32 = 4038;
// disconnect_breakdown_by_security_type
pub const DISCONNECT_BREAKDOWN_BY_SECURITY_TYPE_METRIC_ID: u32 = 4039;
// client_connections_stop_and_start
pub const CLIENT_CONNECTIONS_STOP_AND_START_METRIC_ID: u32 = 4040;
// manual_network_change
pub const MANUAL_NETWORK_CHANGE_METRIC_ID: u32 = 4041;
// percent_good_roams
pub const PERCENT_GOOD_ROAMS_METRIC_ID: u32 = 4042;
// percent_good_roams_at_least_five_roams
pub const PERCENT_GOOD_ROAMS_AT_LEAST_FIVE_ROAMS_METRIC_ID: u32 = 4043;
// roam_to_insufficent_network_issue_counts
pub const ROAM_TO_INSUFFICENT_NETWORK_ISSUE_COUNTS_METRIC_ID: u32 = 4044;
// interface_creation_failure
pub const INTERFACE_CREATION_FAILURE_METRIC_ID: u32 = 4045;
// interface_destruction_failure
pub const INTERFACE_DESTRUCTION_FAILURE_METRIC_ID: u32 = 4046;
// ap_start_failure
pub const AP_START_FAILURE_METRIC_ID: u32 = 4047;
// client_scan_failure
pub const CLIENT_SCAN_FAILURE_METRIC_ID: u32 = 4048;
// aborted_scan
pub const ABORTED_SCAN_METRIC_ID: u32 = 4049;
// empty_scan_results
pub const EMPTY_SCAN_RESULTS_METRIC_ID: u32 = 4050;
// connection_failures
pub const CONNECTION_FAILURES_METRIC_ID: u32 = 4051;
// consecutive_counter_stats_failures
pub const CONSECUTIVE_COUNTER_STATS_FAILURES_METRIC_ID: u32 = 4052;
// successful_scan_request_fulfillment_time
pub const SUCCESSFUL_SCAN_REQUEST_FULFILLMENT_TIME_METRIC_ID: u32 = 4053;
// scan_queue_statistics_after_completed_scan
pub const SCAN_QUEUE_STATISTICS_AFTER_COMPLETED_SCAN_METRIC_ID: u32 = 4054;
// recovery_occurrence
pub const RECOVERY_OCCURRENCE_METRIC_ID: u32 = 4055;
// interface_creation_recovery_outcome
pub const INTERFACE_CREATION_RECOVERY_OUTCOME_METRIC_ID: u32 = 4056;
// interface_destruction_recovery_outcome
pub const INTERFACE_DESTRUCTION_RECOVERY_OUTCOME_METRIC_ID: u32 = 4057;
// connect_failure_recovery_outcome
pub const CONNECT_FAILURE_RECOVERY_OUTCOME_METRIC_ID: u32 = 4058;
// scan_failure_recovery_outcome
pub const SCAN_FAILURE_RECOVERY_OUTCOME_METRIC_ID: u32 = 4059;
// scan_cancellation_recovery_outcome
pub const SCAN_CANCELLATION_RECOVERY_OUTCOME_METRIC_ID: u32 = 4060;
// empty_scan_results_recovery_outcome
pub const EMPTY_SCAN_RESULTS_RECOVERY_OUTCOME_METRIC_ID: u32 = 4061;
// start_access_point_recovery_outcome
pub const START_ACCESS_POINT_RECOVERY_OUTCOME_METRIC_ID: u32 = 4062;
// roam_scans_by_roam_reason
pub const ROAM_SCANS_BY_ROAM_REASON_METRIC_ID: u32 = 4063;
// roam_attempts_by_roam_reason
pub const ROAM_ATTEMPTS_BY_ROAM_REASON_METRIC_ID: u32 = 4064;
// daily_roam_success_rate_by_roam_reason
pub const DAILY_ROAM_SUCCESS_RATE_BY_ROAM_REASON_METRIC_ID: u32 = 4065;
// sme_operation_timeout
pub const SME_OPERATION_TIMEOUT_METRIC_ID: u32 = 4066;
// timeout_recovery_outcome
pub const TIMEOUT_RECOVERY_OUTCOME_METRIC_ID: u32 = 4067;
// power_level_at_suspend
pub const POWER_LEVEL_AT_SUSPEND_METRIC_ID: u32 = 4068;
// unclear_power_level_demand
pub const UNCLEAR_POWER_LEVEL_DEMAND_METRIC_ID: u32 = 4069;
// number_of_connected_devices
pub const NUMBER_OF_CONNECTED_DEVICES_METRIC_ID: u32 = 5000;
// connected_network_security_type
pub const CONNECTED_NETWORK_SECURITY_TYPE_METRIC_ID: u32 = 5001;
// device_connected_to_ap_that_supports_apsd
pub const DEVICE_CONNECTED_TO_AP_THAT_SUPPORTS_APSD_METRIC_ID: u32 = 5002;
// device_connected_to_ap_that_supports_link_measurement
pub const DEVICE_CONNECTED_TO_AP_THAT_SUPPORTS_LINK_MEASUREMENT_METRIC_ID: u32 = 5003;
// device_connected_to_ap_that_supports_neighbor_report
pub const DEVICE_CONNECTED_TO_AP_THAT_SUPPORTS_NEIGHBOR_REPORT_METRIC_ID: u32 = 5004;
// device_connected_to_ap_that_supports_ft
pub const DEVICE_CONNECTED_TO_AP_THAT_SUPPORTS_FT_METRIC_ID: u32 = 5005;
// device_connected_to_ap_that_supports_bss_transition_management
pub const DEVICE_CONNECTED_TO_AP_THAT_SUPPORTS_BSS_TRANSITION_MANAGEMENT_METRIC_ID: u32 = 5006;
// device_connected_to_ap_breakdown_by_is_multi_bss
pub const DEVICE_CONNECTED_TO_AP_BREAKDOWN_BY_IS_MULTI_BSS_METRIC_ID: u32 = 5007;
// device_connected_to_ap_breakdown_by_primary_channel
pub const DEVICE_CONNECTED_TO_AP_BREAKDOWN_BY_PRIMARY_CHANNEL_METRIC_ID: u32 = 5008;
// device_connected_to_ap_breakdown_by_channel_band
pub const DEVICE_CONNECTED_TO_AP_BREAKDOWN_BY_CHANNEL_BAND_METRIC_ID: u32 = 5009;
// device_connected_to_ap_oui_2
pub const DEVICE_CONNECTED_TO_AP_OUI_2_METRIC_ID: u32 = 5011;
// connect_to_likely_hidden_network
pub const CONNECT_TO_LIKELY_HIDDEN_NETWORK_METRIC_ID: u32 = 5012;
// policy_connection_attempts
pub const POLICY_CONNECTION_ATTEMPTS_METRIC_ID: u32 = 6000;
// policy_fidl_connection_attempts_during_short_connection_detailed
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_DETAILED_METRIC_ID: u32 = 6001;
// policy_fidl_connection_attempts_during_short_connection
pub const POLICY_FIDL_CONNECTION_ATTEMPTS_DURING_SHORT_CONNECTION_METRIC_ID: u32 = 6002;
// network_selection_count
pub const NETWORK_SELECTION_COUNT_METRIC_ID: u32 = 6100;
// num_networks_selected
pub const NUM_NETWORKS_SELECTED_METRIC_ID: u32 = 6101;
// bss_selection_count_detailed
pub const BSS_SELECTION_COUNT_DETAILED_METRIC_ID: u32 = 6200;
// bss_selection_count
pub const BSS_SELECTION_COUNT_METRIC_ID: u32 = 6201;
// num_bss_considered_in_selection_detailed
pub const NUM_BSS_CONSIDERED_IN_SELECTION_DETAILED_METRIC_ID: u32 = 6202;
// num_bss_considered_in_selection
pub const NUM_BSS_CONSIDERED_IN_SELECTION_METRIC_ID: u32 = 6203;
// ghz_bands_available_in_bss_selection
pub const GHZ_BANDS_AVAILABLE_IN_BSS_SELECTION_METRIC_ID: u32 = 6204;
// num_networks_represented_in_bss_selection
pub const NUM_NETWORKS_REPRESENTED_IN_BSS_SELECTION_METRIC_ID: u32 = 6205;
// connection_score_average
pub const CONNECTION_SCORE_AVERAGE_METRIC_ID: u32 = 6300;
// bss_candidate_score
pub const BSS_CANDIDATE_SCORE_METRIC_ID: u32 = 6301;
// selected_bss_score
pub const SELECTED_BSS_SCORE_METRIC_ID: u32 = 6302;
// runner_up_candidate_score_delta
pub const RUNNER_UP_CANDIDATE_SCORE_DELTA_METRIC_ID: u32 = 6303;
// best_candidates_ghz_score_delta
pub const BEST_CANDIDATES_GHZ_SCORE_DELTA_METRIC_ID: u32 = 6304;
// average_score_delta_after_connection_by_initial_score
pub const AVERAGE_SCORE_DELTA_AFTER_CONNECTION_BY_INITIAL_SCORE_METRIC_ID: u32 = 6305;
// average_score_delta_before_disconnect_by_final_score
pub const AVERAGE_SCORE_DELTA_BEFORE_DISCONNECT_BY_FINAL_SCORE_METRIC_ID: u32 = 6306;
// average_rssi_delta_after_connection_by_initial_rssi
pub const AVERAGE_RSSI_DELTA_AFTER_CONNECTION_BY_INITIAL_RSSI_METRIC_ID: u32 = 6307;
// average_rssi_delta_before_disconnect_by_final_rssi
pub const AVERAGE_RSSI_DELTA_BEFORE_DISCONNECT_BY_FINAL_RSSI_METRIC_ID: u32 = 6308;
// connection_rssi_average
pub const CONNECTION_RSSI_AVERAGE_METRIC_ID: u32 = 6309;
// roam_transition_rssi_delta_by_roam_reason
pub const ROAM_TRANSITION_RSSI_DELTA_BY_ROAM_REASON_METRIC_ID: u32 = 6310;
// average_rssi_delta_pre_roam_by_roam_reason
pub const AVERAGE_RSSI_DELTA_PRE_ROAM_BY_ROAM_REASON_METRIC_ID: u32 = 6311;
// average_rssi_delta_after_roam_by_roam_reason
pub const AVERAGE_RSSI_DELTA_AFTER_ROAM_BY_ROAM_REASON_METRIC_ID: u32 = 6312;
// roam_attempt_count
pub const ROAM_ATTEMPT_COUNT_METRIC_ID: u32 = 6313;
// bss_candidate_rssi
pub const BSS_CANDIDATE_RSSI_METRIC_ID: u32 = 6314;

// Enum for connectivity_wlan (Metric Dimension saved_networks_count)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionSavedNetworksCount {
  Zero = 0,
  One = 1,
  TwoToFour = 2,
  FiveToTwenty = 3,
  TwentyOneToForty = 4,
  FortyOneOrMore = 5,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionSavedNetworksCount {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for scan_results_received_migrated (Metric Dimension saved_networks_count) which has the same event codes
pub use ConnectivityWlanMetricDimensionSavedNetworksCount as ScanResultsReceivedMigratedMetricDimensionSavedNetworksCount;

// Enum for connectivity_wlan (Metric Dimension bss_count)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionBssCount {
  Zero = 0,
  One = 1,
  TwoToFour = 2,
  FiveToTen = 3,
  ElevenToTwenty = 4,
  TwentyOneOrMore = 5,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionBssCount {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for saved_network_in_scan_result_migrated (Metric Dimension bss_count) which has the same event codes
pub use ConnectivityWlanMetricDimensionBssCount as SavedNetworkInScanResultMigratedMetricDimensionBssCount;

// Enum for saved_networks_migrated (Metric Dimension saved_networks)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum SavedNetworksMigratedMetricDimensionSavedNetworks {
  Zero = 0,
  One = 1,
  TwoToFour = 2,
  FiveToForty = 3,
  FortyToFiveHundred = 4,
  FiveHundredAndOneOrMore = 5,
}

impl cobalt_client::traits::AsEventCode for SavedNetworksMigratedMetricDimensionSavedNetworks {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for saved_configurations_for_saved_network_migrated (Metric Dimension saved_configurations) which has the same event codes
pub use SavedNetworksMigratedMetricDimensionSavedNetworks as SavedConfigurationsForSavedNetworkMigratedMetricDimensionSavedConfigurations;

// Enum for active_scan_requested_for_network_selection_migrated (Metric Dimension active_scan_ssids_requested)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ActiveScanRequestedForNetworkSelectionMigratedMetricDimensionActiveScanSsidsRequested {
  Zero = 0,
  One = 1,
  TwoToFour = 2,
  FiveToTen = 3,
  ElevenToTwenty = 4,
  TwentyOneToFifty = 5,
  FiftyOneToOneHundred = 6,
  OneHundredAndOneOrMore = 7,
}

impl cobalt_client::traits::AsEventCode for ActiveScanRequestedForNetworkSelectionMigratedMetricDimensionActiveScanSsidsRequested {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for saved_network_in_scan_result_with_active_scan_migrated (Metric Dimension active_scan_ssids_observed) which has the same event codes
pub use ActiveScanRequestedForNetworkSelectionMigratedMetricDimensionActiveScanSsidsRequested as SavedNetworkInScanResultWithActiveScanMigratedMetricDimensionActiveScanSsidsObserved;

// Alias for active_scan_requested_for_policy_api (Metric Dimension active_scan_ssids_requested) which has the same event codes
pub use ActiveScanRequestedForNetworkSelectionMigratedMetricDimensionActiveScanSsidsRequested as ActiveScanRequestedForPolicyApiMetricDimensionActiveScanSsidsRequested;

// Enum for policy_connection_attempt_migrated (Metric Dimension reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum PolicyConnectionAttemptMigratedMetricDimensionReason {
  RetryAfterDisconnectDetected = 0,
  RetryAfterFailedConnectAttempt = 1,
  FidlConnectRequest = 2,
  ProactiveNetworkSwitch = 3,
  RegulatoryChangeReconnect = 4,
  IdleInterfaceAutoconnect = 5,
  NewSavedNetworkAutoconnect = 6,
}

impl cobalt_client::traits::AsEventCode for PolicyConnectionAttemptMigratedMetricDimensionReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Enum for policy_disconnection_migrated (Metric Dimension reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum PolicyDisconnectionMigratedMetricDimensionReason {
  Unknown = 0,
  FailedToConnect = 1,
  FidlConnectRequest = 2,
  FidlStopClientConnectionsRequest = 3,
  ProactiveNetworkSwitch = 4,
  DisconnectDetectedFromSme = 5,
  RegulatoryRegionChange = 6,
  Startup = 7,
  NetworkUnsaved = 8,
  NetworkConfigUpdated = 9,
}

impl cobalt_client::traits::AsEventCode for PolicyDisconnectionMigratedMetricDimensionReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Enum for connectivity_wlan (Metric Dimension migration_result)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionMigrationResult {
  Success = 1,
  AlreadyMigrated = 2,
  MigratedButFailedToDeleteLegacy = 3,
  FailedToWriteNewStore = 4,
  FailedToLoadLegacyData = 5,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionMigrationResult {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for stash_migration_results (Metric Dimension migration_result) which has the same event codes
pub use ConnectivityWlanMetricDimensionMigrationResult as StashMigrationResultsMetricDimensionMigrationResult;

// Enum for connectivity_wlan (Metric Dimension DeviceUptime)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionDeviceUptime {
  LessThan1Hour = 1,
  LessThan3Hours = 2,
  LessThan12Hours = 3,
  LessThan1Day = 4,
  LessThan2Days = 5,
  AtLeast2Days = 6,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionDeviceUptime {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for disconnect_breakdown_by_device_uptime (Metric Dimension DeviceUptime) which has the same event codes
pub use ConnectivityWlanMetricDimensionDeviceUptime as DisconnectBreakdownByDeviceUptimeMetricDimensionDeviceUptime;

// Enum for connectivity_wlan (Metric Dimension connected_duration)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionConnectedDuration {
  LessThan30Seconds = 1,
  LessThan5Minutes = 2,
  LessThan1Hour = 3,
  LessThan6Hours = 4,
  LessThan24Hours = 5,
  AtLeast24Hours = 6,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionConnectedDuration {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for disconnect_breakdown_by_connected_duration (Metric Dimension connected_duration) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectedDuration as DisconnectBreakdownByConnectedDurationMetricDimensionConnectedDuration;

// Enum for connectivity_wlan (Metric Dimension disconnect_source)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionDisconnectSource {
  User = 0,
  Mlme = 1,
  Ap = 2,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionDisconnectSource {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for disconnect_breakdown_by_reason_code (Metric Dimension disconnect_source) which has the same event codes
pub use ConnectivityWlanMetricDimensionDisconnectSource as DisconnectBreakdownByReasonCodeMetricDimensionDisconnectSource;

// Alias for downtime_breakdown_by_disconnect_reason (Metric Dimension disconnect_source) which has the same event codes
pub use ConnectivityWlanMetricDimensionDisconnectSource as DowntimeBreakdownByDisconnectReasonMetricDimensionDisconnectSource;

// Enum for connectivity_wlan (Metric Dimension wait_time)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionWaitTime {
  LessThan1Second = 1,
  LessThan3Seconds = 2,
  LessThan5Seconds = 3,
  LessThan8Seconds = 4,
  LessThan15Seconds = 5,
  AtLeast15Seconds = 6,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionWaitTime {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for successful_connect_breakdown_by_user_wait_time (Metric Dimension wait_time) which has the same event codes
pub use ConnectivityWlanMetricDimensionWaitTime as SuccessfulConnectBreakdownByUserWaitTimeMetricDimensionWaitTime;

// Enum for successful_connect_breakdown_by_is_multi_bss (Metric Dimension is_multi_bss)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum SuccessfulConnectBreakdownByIsMultiBssMetricDimensionIsMultiBss {
  Yes = 1,
  No = 2,
}

impl cobalt_client::traits::AsEventCode for SuccessfulConnectBreakdownByIsMultiBssMetricDimensionIsMultiBss {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for daily_connect_success_rate_breakdown_by_is_multi_bss (Metric Dimension is_multi_bss) which has the same event codes
pub use SuccessfulConnectBreakdownByIsMultiBssMetricDimensionIsMultiBss as DailyConnectSuccessRateBreakdownByIsMultiBssMetricDimensionIsMultiBss;

// Alias for disconnect_breakdown_by_is_multi_bss (Metric Dimension is_multi_bss) which has the same event codes
pub use SuccessfulConnectBreakdownByIsMultiBssMetricDimensionIsMultiBss as DisconnectBreakdownByIsMultiBssMetricDimensionIsMultiBss;

// Alias for device_connected_to_ap_breakdown_by_is_multi_bss (Metric Dimension is_multi_bss) which has the same event codes
pub use SuccessfulConnectBreakdownByIsMultiBssMetricDimensionIsMultiBss as DeviceConnectedToApBreakdownByIsMultiBssMetricDimensionIsMultiBss;

// Alias for roam_attempt_count (Metric Dimension was_roam_successful) which has the same event codes
pub use SuccessfulConnectBreakdownByIsMultiBssMetricDimensionIsMultiBss as RoamAttemptCountMetricDimensionWasRoamSuccessful;

// Enum for connectivity_wlan (Metric Dimension security_type)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionSecurityType {
  Unknown = 0,
  Open = 1,
  Wep = 2,
  Wpa1 = 3,
  Wpa1Wpa2Personal = 4,
  Wpa2Personal = 5,
  Wpa2Wpa3Personal = 6,
  Wpa3Personal = 7,
  Wpa2Enterprise = 8,
  Wpa3Enterprise = 9,
  Wpa1Wpa2PersonalTkipOnly = 11,
  Wpa2PersonalTkipOnly = 12,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionSecurityType {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for successful_connect_breakdown_by_security_type (Metric Dimension security_type) which has the same event codes
pub use ConnectivityWlanMetricDimensionSecurityType as SuccessfulConnectBreakdownBySecurityTypeMetricDimensionSecurityType;

// Alias for daily_connect_success_rate_breakdown_by_security_type (Metric Dimension security_type) which has the same event codes
pub use ConnectivityWlanMetricDimensionSecurityType as DailyConnectSuccessRateBreakdownBySecurityTypeMetricDimensionSecurityType;

// Alias for disconnect_breakdown_by_security_type (Metric Dimension security_type) which has the same event codes
pub use ConnectivityWlanMetricDimensionSecurityType as DisconnectBreakdownBySecurityTypeMetricDimensionSecurityType;

// Alias for connected_network_security_type (Metric Dimension security_type) which has the same event codes
pub use ConnectivityWlanMetricDimensionSecurityType as ConnectedNetworkSecurityTypeMetricDimensionSecurityType;

// Enum for connectivity_wlan (Metric Dimension channel_band)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionChannelBand {
  Band2Dot4Ghz = 1,
  Band5Ghz = 2,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionChannelBand {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for successful_connect_breakdown_by_channel_band (Metric Dimension channel_band) which has the same event codes
pub use ConnectivityWlanMetricDimensionChannelBand as SuccessfulConnectBreakdownByChannelBandMetricDimensionChannelBand;

// Alias for daily_connect_success_rate_breakdown_by_channel_band (Metric Dimension channel_band) which has the same event codes
pub use ConnectivityWlanMetricDimensionChannelBand as DailyConnectSuccessRateBreakdownByChannelBandMetricDimensionChannelBand;

// Alias for disconnect_breakdown_by_channel_band (Metric Dimension channel_band) which has the same event codes
pub use ConnectivityWlanMetricDimensionChannelBand as DisconnectBreakdownByChannelBandMetricDimensionChannelBand;

// Alias for device_connected_to_ap_breakdown_by_channel_band (Metric Dimension channel_band) which has the same event codes
pub use ConnectivityWlanMetricDimensionChannelBand as DeviceConnectedToApBreakdownByChannelBandMetricDimensionChannelBand;

// Enum for connectivity_wlan (Metric Dimension rssi_bucket)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionRssiBucket {
  From128To90 = 1,
  From89To86 = 2,
  From85To83 = 3,
  From82To80 = 4,
  From79To77 = 5,
  From76To74 = 6,
  From73To71 = 7,
  From70To66 = 8,
  From65To61 = 9,
  From60To51 = 10,
  From50To35 = 11,
  From34To28 = 12,
  From27To1 = 13,
  _0 = 14,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionRssiBucket {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for daily_connect_success_rate_breakdown_by_rssi_bucket (Metric Dimension rssi_bucket) which has the same event codes
pub use ConnectivityWlanMetricDimensionRssiBucket as DailyConnectSuccessRateBreakdownByRssiBucketMetricDimensionRssiBucket;

// Alias for average_rssi_delta_after_connection_by_initial_rssi (Metric Dimension rssi_bucket) which has the same event codes
pub use ConnectivityWlanMetricDimensionRssiBucket as AverageRssiDeltaAfterConnectionByInitialRssiMetricDimensionRssiBucket;

// Alias for average_rssi_delta_before_disconnect_by_final_rssi (Metric Dimension rssi_bucket) which has the same event codes
pub use ConnectivityWlanMetricDimensionRssiBucket as AverageRssiDeltaBeforeDisconnectByFinalRssiMetricDimensionRssiBucket;

// Enum for connectivity_wlan (Metric Dimension snr_bucket)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionSnrBucket {
  _0 = 1,
  From1To10 = 2,
  From11To15 = 3,
  From16To25 = 4,
  From26To40 = 5,
  MoreThan40 = 6,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionSnrBucket {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for daily_connect_success_rate_breakdown_by_snr_bucket (Metric Dimension snr_bucket) which has the same event codes
pub use ConnectivityWlanMetricDimensionSnrBucket as DailyConnectSuccessRateBreakdownBySnrBucketMetricDimensionSnrBucket;

// Enum for connectivity_wlan (Metric Dimension reconnect_duration)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionReconnectDuration {
  LessThan100Milliseconds = 1,
  LessThan1Second = 2,
  LessThan5Seconds = 3,
  LessThan30Seconds = 4,
  AtLeast30Seconds = 5,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionReconnectDuration {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for reconnect_breakdown_by_duration (Metric Dimension reconnect_duration) which has the same event codes
pub use ConnectivityWlanMetricDimensionReconnectDuration as ReconnectBreakdownByDurationMetricDimensionReconnectDuration;

// Enum for roam_to_insufficent_network_issue_counts (Metric Dimension has_insufficient_signal)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientSignal {
  Yes = 0,
  No = 1,
}

impl cobalt_client::traits::AsEventCode for RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientSignal {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for roam_to_insufficent_network_issue_counts (Metric Dimension has_insufficient_data_rate) which has the same event codes
pub use RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientSignal as RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientDataRate;

// Alias for roam_to_insufficent_network_issue_counts (Metric Dimension disconnect) which has the same event codes
pub use RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientSignal as RoamToInsufficentNetworkIssueCountsMetricDimensionDisconnect;

// Alias for roam_to_insufficent_network_issue_counts (Metric Dimension imminent_disconnect) which has the same event codes
pub use RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientSignal as RoamToInsufficentNetworkIssueCountsMetricDimensionImminentDisconnect;

// Enum for connectivity_wlan (Metric Dimension scan_fulfillment_time)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionScanFulfillmentTime {
  Unknown = 0,
  LessThanOneSecond = 1,
  LessThanTwoSeconds = 2,
  LessThanThreeSeconds = 3,
  LessThanFiveSeconds = 4,
  LessThanEightSeconds = 5,
  LessThanThirteenSeconds = 6,
  LessThanTwentyOneSeconds = 7,
  LessThanThirtyFourSeconds = 8,
  LessThanFiftyFiveSeconds = 9,
  MoreThanFiftyFiveSeconds = 10,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionScanFulfillmentTime {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for successful_scan_request_fulfillment_time (Metric Dimension scan_fulfillment_time) which has the same event codes
pub use ConnectivityWlanMetricDimensionScanFulfillmentTime as SuccessfulScanRequestFulfillmentTimeMetricDimensionScanFulfillmentTime;

// Enum for connectivity_wlan (Metric Dimension scan_reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionScanReason {
  Unknown = 0,
  ClientRequest = 1,
  NetworkSelection = 2,
  BssSelection = 3,
  BssSelectionAugmentation = 4,
  ProactiveRoaming = 5,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionScanReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for successful_scan_request_fulfillment_time (Metric Dimension scan_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionScanReason as SuccessfulScanRequestFulfillmentTimeMetricDimensionScanReason;

// Enum for connectivity_wlan (Metric Dimension scan_requests_fulfilled)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionScanRequestsFulfilled {
  Unknown = 0,
  Zero = 1,
  One = 2,
  Two = 3,
  Three = 4,
  Four = 5,
  FiveToNine = 6,
  TenOrMore = 7,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionScanRequestsFulfilled {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for scan_queue_statistics_after_completed_scan (Metric Dimension scan_requests_fulfilled) which has the same event codes
pub use ConnectivityWlanMetricDimensionScanRequestsFulfilled as ScanQueueStatisticsAfterCompletedScanMetricDimensionScanRequestsFulfilled;

// Enum for connectivity_wlan (Metric Dimension scan_requests_remaining)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionScanRequestsRemaining {
  Unknown = 0,
  Zero = 1,
  One = 2,
  Two = 3,
  Three = 4,
  Four = 5,
  FiveToNine = 6,
  TenToFourteen = 7,
  FifteenOrMore = 8,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionScanRequestsRemaining {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for scan_queue_statistics_after_completed_scan (Metric Dimension scan_requests_remaining) which has the same event codes
pub use ConnectivityWlanMetricDimensionScanRequestsRemaining as ScanQueueStatisticsAfterCompletedScanMetricDimensionScanRequestsRemaining;

// Enum for recovery_occurrence (Metric Dimension reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum RecoveryOccurrenceMetricDimensionReason {
  InterfaceCreationFailure = 1,
  InterfaceDestructionFailure = 2,
  ClientConnectionFailure = 3,
  ApStartFailure = 4,
  ScanFailure = 5,
  ScanCancellation = 6,
  ScanResultsEmpty = 7,
  Timeout = 8,
}

impl cobalt_client::traits::AsEventCode for RecoveryOccurrenceMetricDimensionReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Enum for connectivity_wlan (Metric Dimension result)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionResult {
  Success = 1,
  Failure = 2,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionResult {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for interface_creation_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as InterfaceCreationRecoveryOutcomeMetricDimensionResult;

// Alias for interface_destruction_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as InterfaceDestructionRecoveryOutcomeMetricDimensionResult;

// Alias for connect_failure_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as ConnectFailureRecoveryOutcomeMetricDimensionResult;

// Alias for scan_failure_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as ScanFailureRecoveryOutcomeMetricDimensionResult;

// Alias for scan_cancellation_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as ScanCancellationRecoveryOutcomeMetricDimensionResult;

// Alias for empty_scan_results_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as EmptyScanResultsRecoveryOutcomeMetricDimensionResult;

// Alias for start_access_point_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as StartAccessPointRecoveryOutcomeMetricDimensionResult;

// Alias for timeout_recovery_outcome (Metric Dimension result) which has the same event codes
pub use ConnectivityWlanMetricDimensionResult as TimeoutRecoveryOutcomeMetricDimensionResult;

// Enum for connectivity_wlan (Metric Dimension client_recovery_mechanism)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionClientRecoveryMechanism {
  Disconnect = 1,
  DestroyIface = 2,
  PhyReset = 3,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionClientRecoveryMechanism {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for connect_failure_recovery_outcome (Metric Dimension client_recovery_mechanism) which has the same event codes
pub use ConnectivityWlanMetricDimensionClientRecoveryMechanism as ConnectFailureRecoveryOutcomeMetricDimensionClientRecoveryMechanism;

// Alias for scan_failure_recovery_outcome (Metric Dimension client_recovery_mechanism) which has the same event codes
pub use ConnectivityWlanMetricDimensionClientRecoveryMechanism as ScanFailureRecoveryOutcomeMetricDimensionClientRecoveryMechanism;

// Alias for scan_cancellation_recovery_outcome (Metric Dimension client_recovery_mechanism) which has the same event codes
pub use ConnectivityWlanMetricDimensionClientRecoveryMechanism as ScanCancellationRecoveryOutcomeMetricDimensionClientRecoveryMechanism;

// Alias for empty_scan_results_recovery_outcome (Metric Dimension client_recovery_mechanism) which has the same event codes
pub use ConnectivityWlanMetricDimensionClientRecoveryMechanism as EmptyScanResultsRecoveryOutcomeMetricDimensionClientRecoveryMechanism;

// Enum for connectivity_wlan (Metric Dimension ap_recovery_mechanism)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionApRecoveryMechanism {
  StopAp = 1,
  DestroyIface = 2,
  ResetPhy = 3,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionApRecoveryMechanism {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for start_access_point_recovery_outcome (Metric Dimension ap_recovery_mechanism) which has the same event codes
pub use ConnectivityWlanMetricDimensionApRecoveryMechanism as StartAccessPointRecoveryOutcomeMetricDimensionApRecoveryMechanism;

// Enum for roam_scans_by_roam_reason (Metric Dimension reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum RoamScansByRoamReasonMetricDimensionReason {
  RssiBelowThreshold = 0,
  SnrBelowThreshold = 1,
}

impl cobalt_client::traits::AsEventCode for RoamScansByRoamReasonMetricDimensionReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for roam_attempts_by_roam_reason (Metric Dimension reason) which has the same event codes
pub use RoamScansByRoamReasonMetricDimensionReason as RoamAttemptsByRoamReasonMetricDimensionReason;

// Alias for daily_roam_success_rate_by_roam_reason (Metric Dimension reason) which has the same event codes
pub use RoamScansByRoamReasonMetricDimensionReason as DailyRoamSuccessRateByRoamReasonMetricDimensionReason;

// Alias for roam_transition_rssi_delta_by_roam_reason (Metric Dimension reason) which has the same event codes
pub use RoamScansByRoamReasonMetricDimensionReason as RoamTransitionRssiDeltaByRoamReasonMetricDimensionReason;

// Alias for average_rssi_delta_pre_roam_by_roam_reason (Metric Dimension reason) which has the same event codes
pub use RoamScansByRoamReasonMetricDimensionReason as AverageRssiDeltaPreRoamByRoamReasonMetricDimensionReason;

// Alias for average_rssi_delta_after_roam_by_roam_reason (Metric Dimension reason) which has the same event codes
pub use RoamScansByRoamReasonMetricDimensionReason as AverageRssiDeltaAfterRoamByRoamReasonMetricDimensionReason;

// Alias for roam_attempt_count (Metric Dimension reason) which has the same event codes
pub use RoamScansByRoamReasonMetricDimensionReason as RoamAttemptCountMetricDimensionReason;

// Enum for connectivity_wlan (Metric Dimension stalled_operation)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionStalledOperation {
  Scan_ = 1,
  Connect_ = 2,
  Disconnect_ = 3,
  ClientStatus_ = 4,
  WmmStatus_ = 5,
  ApStart_ = 6,
  ApStop_ = 7,
  ApStatus_ = 8,
  GetCounterStats_ = 9,
  GetHistogramStats_ = 10,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionStalledOperation {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for sme_operation_timeout (Metric Dimension stalled_operation) which has the same event codes
pub use ConnectivityWlanMetricDimensionStalledOperation as SmeOperationTimeoutMetricDimensionStalledOperation;

// Enum for connectivity_wlan (Metric Dimension timeout_recovery_mechanism)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionTimeoutRecoveryMechanism {
  DestroyIface = 1,
  PhyReset = 2,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionTimeoutRecoveryMechanism {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for timeout_recovery_outcome (Metric Dimension timeout_recovery_mechanism) which has the same event codes
pub use ConnectivityWlanMetricDimensionTimeoutRecoveryMechanism as TimeoutRecoveryOutcomeMetricDimensionTimeoutRecoveryMechanism;

// Enum for connectivity_wlan (Metric Dimension power_level)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionPowerLevel {
  Unknown = 0,
  Disconnected = 1,
  SuspendMode = 2,
  PowerSaveMode = 3,
  HighPerformanceMode = 4,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionPowerLevel {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for power_level_at_suspend (Metric Dimension power_level) which has the same event codes
pub use ConnectivityWlanMetricDimensionPowerLevel as PowerLevelAtSuspendMetricDimensionPowerLevel;

// Enum for unclear_power_level_demand (Metric Dimension reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum UnclearPowerLevelDemandMetricDimensionReason {
  Unknown = 0,
  PowerSaveRequestedWhileSuspendModeEnabled = 1,
}

impl cobalt_client::traits::AsEventCode for UnclearPowerLevelDemandMetricDimensionReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Enum for connectivity_wlan (Metric Dimension connect_reason)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionConnectReason {
  RetryAfterDisconnectDetected = 0,
  RetryAfterFailedConnectAttempt = 1,
  FidlConnectRequest = 2,
  ProactiveNetworkSwitch = 3,
  RegulatoryChangeReconnect = 4,
  IdleInterfaceAutoconnect = 5,
  NewSavedNetworkAutoconnect = 6,
  DoNotUseRemovedEventCode = 7,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionConnectReason {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for policy_fidl_connection_attempts_during_short_connection_detailed (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as PolicyFidlConnectionAttemptsDuringShortConnectionDetailedMetricDimensionConnectReason;

// Alias for bss_selection_count_detailed (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as BssSelectionCountDetailedMetricDimensionConnectReason;

// Alias for num_bss_considered_in_selection_detailed (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as NumBssConsideredInSelectionDetailedMetricDimensionConnectReason;

// Alias for num_networks_represented_in_bss_selection (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as NumNetworksRepresentedInBssSelectionMetricDimensionConnectReason;

// Alias for bss_candidate_score (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as BssCandidateScoreMetricDimensionConnectReason;

// Alias for selected_bss_score (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as SelectedBssScoreMetricDimensionConnectReason;

// Alias for best_candidates_ghz_score_delta (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as BestCandidatesGhzScoreDeltaMetricDimensionConnectReason;

// Alias for bss_candidate_rssi (Metric Dimension connect_reason) which has the same event codes
pub use ConnectivityWlanMetricDimensionConnectReason as BssCandidateRssiMetricDimensionConnectReason;

// Enum for connectivity_wlan (Metric Dimension bands)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionBands {
  Band2Dot4Ghz = 1,
  Band5Ghz = 2,
  MultiBand = 3,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionBands {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for ghz_bands_available_in_bss_selection (Metric Dimension bands) which has the same event codes
pub use ConnectivityWlanMetricDimensionBands as GhzBandsAvailableInBssSelectionMetricDimensionBands;

// Enum for connectivity_wlan (Metric Dimension duration)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionDuration {
  ShortDuration = 1,
  LongDuration = 2,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionDuration {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for connection_score_average (Metric Dimension duration) which has the same event codes
pub use ConnectivityWlanMetricDimensionDuration as ConnectionScoreAverageMetricDimensionDuration;

// Alias for connection_rssi_average (Metric Dimension duration) which has the same event codes
pub use ConnectivityWlanMetricDimensionDuration as ConnectionRssiAverageMetricDimensionDuration;

// Enum for average_score_delta_after_connection_by_initial_score (Metric Dimension initial_score)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionInitialScore {
  _0To20 = 1,
  _21To40 = 2,
  _41To60 = 3,
  _61To80 = 4,
  _81To100 = 5,
}

impl cobalt_client::traits::AsEventCode for AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionInitialScore {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for average_score_delta_before_disconnect_by_final_score (Metric Dimension final_score) which has the same event codes
pub use AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionInitialScore as AverageScoreDeltaBeforeDisconnectByFinalScoreMetricDimensionFinalScore;

// Enum for average_score_delta_after_connection_by_initial_score (Metric Dimension time_since_connect)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect {
  OneSecond = 1,
  FiveSeconds = 2,
  TenSeconds = 3,
  ThirtySeconds = 4,
}

impl cobalt_client::traits::AsEventCode for AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}

// Alias for average_score_delta_before_disconnect_by_final_score (Metric Dimension time_until_disconnect) which has the same event codes
pub use AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect as AverageScoreDeltaBeforeDisconnectByFinalScoreMetricDimensionTimeUntilDisconnect;

// Alias for average_rssi_delta_after_connection_by_initial_rssi (Metric Dimension time_since_connect) which has the same event codes
pub use AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect as AverageRssiDeltaAfterConnectionByInitialRssiMetricDimensionTimeSinceConnect;

// Alias for average_rssi_delta_before_disconnect_by_final_rssi (Metric Dimension time_until_disconnect) which has the same event codes
pub use AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect as AverageRssiDeltaBeforeDisconnectByFinalRssiMetricDimensionTimeUntilDisconnect;

// Alias for average_rssi_delta_pre_roam_by_roam_reason (Metric Dimension time_before_roam) which has the same event codes
pub use AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect as AverageRssiDeltaPreRoamByRoamReasonMetricDimensionTimeBeforeRoam;

// Alias for average_rssi_delta_after_roam_by_roam_reason (Metric Dimension time_since_roam) which has the same event codes
pub use AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect as AverageRssiDeltaAfterRoamByRoamReasonMetricDimensionTimeSinceRoam;

// Enum for connectivity_wlan (Metric Dimension ghz_band_transition)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionGhzBandTransition {
  From2gTo2g = 1,
  From2gTo5g = 2,
  From2gTo6g = 3,
  From5gTo2g = 4,
  From5gTo5g = 5,
  From5gTo6g = 6,
  From6gTo2g = 7,
  From6gTo5g = 8,
  From6gTo6g = 9,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionGhzBandTransition {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for roam_attempt_count (Metric Dimension ghz_band_transition) which has the same event codes
pub use ConnectivityWlanMetricDimensionGhzBandTransition as RoamAttemptCountMetricDimensionGhzBandTransition;

// Enum for connectivity_wlan (Metric Dimension dfs_channel_transition)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionDfsChannelTransition {
  DfsToDfs = 1,
  DfsToNonDfs = 2,
  NonDfsToDfs = 3,
  NonDfsToNonDfs = 4,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionDfsChannelTransition {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for roam_attempt_count (Metric Dimension dfs_channel_transition) which has the same event codes
pub use ConnectivityWlanMetricDimensionDfsChannelTransition as RoamAttemptCountMetricDimensionDfsChannelTransition;

// Enum for connectivity_wlan (Metric Dimension band)
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum ConnectivityWlanMetricDimensionBand {
  Band2Dot4Ghz = 1,
  Band5Ghz = 2,
}

impl cobalt_client::traits::AsEventCode for ConnectivityWlanMetricDimensionBand {
  fn as_event_code(&self) -> u32 {
    *self as u32
  }
}
// Alias for bss_candidate_rssi (Metric Dimension band) which has the same event codes
pub use ConnectivityWlanMetricDimensionBand as BssCandidateRssiMetricDimensionBand;

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct RoamToInsufficentNetworkIssueCountsEventCodes {
  pub has_insufficient_signal: RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientSignal,
  pub has_insufficient_data_rate: RoamToInsufficentNetworkIssueCountsMetricDimensionHasInsufficientDataRate,
  pub disconnect: RoamToInsufficentNetworkIssueCountsMetricDimensionDisconnect,
  pub imminent_disconnect: RoamToInsufficentNetworkIssueCountsMetricDimensionImminentDisconnect,
}

impl cobalt_client::traits::AsEventCodes for RoamToInsufficentNetworkIssueCountsEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.has_insufficient_signal.as_event_code(),
      self.has_insufficient_data_rate.as_event_code(),
      self.disconnect.as_event_code(),
      self.imminent_disconnect.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct SuccessfulScanRequestFulfillmentTimeEventCodes {
  pub scan_fulfillment_time: SuccessfulScanRequestFulfillmentTimeMetricDimensionScanFulfillmentTime,
  pub scan_reason: SuccessfulScanRequestFulfillmentTimeMetricDimensionScanReason,
}

impl cobalt_client::traits::AsEventCodes for SuccessfulScanRequestFulfillmentTimeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.scan_fulfillment_time.as_event_code(),
      self.scan_reason.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct ScanQueueStatisticsAfterCompletedScanEventCodes {
  pub scan_requests_fulfilled: ScanQueueStatisticsAfterCompletedScanMetricDimensionScanRequestsFulfilled,
  pub scan_requests_remaining: ScanQueueStatisticsAfterCompletedScanMetricDimensionScanRequestsRemaining,
}

impl cobalt_client::traits::AsEventCodes for ScanQueueStatisticsAfterCompletedScanEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.scan_requests_fulfilled.as_event_code(),
      self.scan_requests_remaining.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct ConnectFailureRecoveryOutcomeEventCodes {
  pub result: ConnectFailureRecoveryOutcomeMetricDimensionResult,
  pub client_recovery_mechanism: ConnectFailureRecoveryOutcomeMetricDimensionClientRecoveryMechanism,
}

impl cobalt_client::traits::AsEventCodes for ConnectFailureRecoveryOutcomeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.result.as_event_code(),
      self.client_recovery_mechanism.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct ScanFailureRecoveryOutcomeEventCodes {
  pub result: ScanFailureRecoveryOutcomeMetricDimensionResult,
  pub client_recovery_mechanism: ScanFailureRecoveryOutcomeMetricDimensionClientRecoveryMechanism,
}

impl cobalt_client::traits::AsEventCodes for ScanFailureRecoveryOutcomeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.result.as_event_code(),
      self.client_recovery_mechanism.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct ScanCancellationRecoveryOutcomeEventCodes {
  pub result: ScanCancellationRecoveryOutcomeMetricDimensionResult,
  pub client_recovery_mechanism: ScanCancellationRecoveryOutcomeMetricDimensionClientRecoveryMechanism,
}

impl cobalt_client::traits::AsEventCodes for ScanCancellationRecoveryOutcomeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.result.as_event_code(),
      self.client_recovery_mechanism.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct EmptyScanResultsRecoveryOutcomeEventCodes {
  pub result: EmptyScanResultsRecoveryOutcomeMetricDimensionResult,
  pub client_recovery_mechanism: EmptyScanResultsRecoveryOutcomeMetricDimensionClientRecoveryMechanism,
}

impl cobalt_client::traits::AsEventCodes for EmptyScanResultsRecoveryOutcomeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.result.as_event_code(),
      self.client_recovery_mechanism.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct StartAccessPointRecoveryOutcomeEventCodes {
  pub result: StartAccessPointRecoveryOutcomeMetricDimensionResult,
  pub ap_recovery_mechanism: StartAccessPointRecoveryOutcomeMetricDimensionApRecoveryMechanism,
}

impl cobalt_client::traits::AsEventCodes for StartAccessPointRecoveryOutcomeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.result.as_event_code(),
      self.ap_recovery_mechanism.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct TimeoutRecoveryOutcomeEventCodes {
  pub result: TimeoutRecoveryOutcomeMetricDimensionResult,
  pub timeout_recovery_mechanism: TimeoutRecoveryOutcomeMetricDimensionTimeoutRecoveryMechanism,
}

impl cobalt_client::traits::AsEventCodes for TimeoutRecoveryOutcomeEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.result.as_event_code(),
      self.timeout_recovery_mechanism.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct AverageScoreDeltaAfterConnectionByInitialScoreEventCodes {
  pub initial_score: AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionInitialScore,
  pub time_since_connect: AverageScoreDeltaAfterConnectionByInitialScoreMetricDimensionTimeSinceConnect,
}

impl cobalt_client::traits::AsEventCodes for AverageScoreDeltaAfterConnectionByInitialScoreEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.initial_score.as_event_code(),
      self.time_since_connect.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct AverageScoreDeltaBeforeDisconnectByFinalScoreEventCodes {
  pub final_score: AverageScoreDeltaBeforeDisconnectByFinalScoreMetricDimensionFinalScore,
  pub time_until_disconnect: AverageScoreDeltaBeforeDisconnectByFinalScoreMetricDimensionTimeUntilDisconnect,
}

impl cobalt_client::traits::AsEventCodes for AverageScoreDeltaBeforeDisconnectByFinalScoreEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.final_score.as_event_code(),
      self.time_until_disconnect.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct AverageRssiDeltaAfterConnectionByInitialRssiEventCodes {
  pub rssi_bucket: AverageRssiDeltaAfterConnectionByInitialRssiMetricDimensionRssiBucket,
  pub time_since_connect: AverageRssiDeltaAfterConnectionByInitialRssiMetricDimensionTimeSinceConnect,
}

impl cobalt_client::traits::AsEventCodes for AverageRssiDeltaAfterConnectionByInitialRssiEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.rssi_bucket.as_event_code(),
      self.time_since_connect.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct AverageRssiDeltaBeforeDisconnectByFinalRssiEventCodes {
  pub rssi_bucket: AverageRssiDeltaBeforeDisconnectByFinalRssiMetricDimensionRssiBucket,
  pub time_until_disconnect: AverageRssiDeltaBeforeDisconnectByFinalRssiMetricDimensionTimeUntilDisconnect,
}

impl cobalt_client::traits::AsEventCodes for AverageRssiDeltaBeforeDisconnectByFinalRssiEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.rssi_bucket.as_event_code(),
      self.time_until_disconnect.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct AverageRssiDeltaPreRoamByRoamReasonEventCodes {
  pub reason: AverageRssiDeltaPreRoamByRoamReasonMetricDimensionReason,
  pub time_before_roam: AverageRssiDeltaPreRoamByRoamReasonMetricDimensionTimeBeforeRoam,
}

impl cobalt_client::traits::AsEventCodes for AverageRssiDeltaPreRoamByRoamReasonEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.reason.as_event_code(),
      self.time_before_roam.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct AverageRssiDeltaAfterRoamByRoamReasonEventCodes {
  pub reason: AverageRssiDeltaAfterRoamByRoamReasonMetricDimensionReason,
  pub time_since_roam: AverageRssiDeltaAfterRoamByRoamReasonMetricDimensionTimeSinceRoam,
}

impl cobalt_client::traits::AsEventCodes for AverageRssiDeltaAfterRoamByRoamReasonEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.reason.as_event_code(),
      self.time_since_roam.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct RoamAttemptCountEventCodes {
  pub reason: RoamAttemptCountMetricDimensionReason,
  pub was_roam_successful: RoamAttemptCountMetricDimensionWasRoamSuccessful,
  pub ghz_band_transition: RoamAttemptCountMetricDimensionGhzBandTransition,
  pub dfs_channel_transition: RoamAttemptCountMetricDimensionDfsChannelTransition,
}

impl cobalt_client::traits::AsEventCodes for RoamAttemptCountEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.reason.as_event_code(),
      self.was_roam_successful.as_event_code(),
      self.ghz_band_transition.as_event_code(),
      self.dfs_channel_transition.as_event_code(),
    ]
  }
}

#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub struct BssCandidateRssiEventCodes {
  pub connect_reason: BssCandidateRssiMetricDimensionConnectReason,
  pub band: BssCandidateRssiMetricDimensionBand,
}

impl cobalt_client::traits::AsEventCodes for BssCandidateRssiEventCodes {
  fn as_event_codes(&self) -> Vec<u32> {
    use cobalt_client::traits::AsEventCode;
    vec![
      self.connect_reason.as_event_code(),
      self.band.as_event_code(),
    ]
  }
}