@blueid/access-proto 2.0.0-beta.21 → 2.0.0-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
+ // swiftlint:disable all
3
4
  //
4
5
  // Generated by the Swift generator plugin for the protocol buffer compiler.
5
6
  // Source: BlueLock.proto
@@ -7,7 +8,6 @@
7
8
  // For information on using the generated types, please see the documentation:
8
9
  // https://github.com/apple/swift-protobuf/
9
10
 
10
- import Foundation
11
11
  import SwiftProtobuf
12
12
 
13
13
  // If the compiler emits an error on this type, it is because this file
@@ -20,7 +20,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
20
20
  typealias Version = _2
21
21
  }
22
22
 
23
- public enum BlueLockState: SwiftProtobuf.Enum {
23
+ public enum BlueLockState: SwiftProtobuf.Enum, Swift.CaseIterable {
24
24
  public typealias RawValue = Int
25
25
  case unknownLockState // = 1
26
26
  case locked // = 2
@@ -52,15 +52,7 @@ public enum BlueLockState: SwiftProtobuf.Enum {
52
52
 
53
53
  }
54
54
 
55
- #if swift(>=4.2)
56
-
57
- extension BlueLockState: CaseIterable {
58
- // Support synthesized by the compiler.
59
- }
60
-
61
- #endif // swift(>=4.2)
62
-
63
- public struct BlueLockConfig {
55
+ public struct BlueLockConfig: Sendable {
64
56
  // SwiftProtobuf.Message conformance is added in an extension below. See the
65
57
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
66
58
  // methods supported on all messages.
@@ -119,7 +111,7 @@ public struct BlueLockConfig {
119
111
  fileprivate var _extendedOpenTimeSec: UInt32? = nil
120
112
  }
121
113
 
122
- public struct BlueLockStatus {
114
+ public struct BlueLockStatus: Sendable {
123
115
  // SwiftProtobuf.Message conformance is added in an extension below. See the
124
116
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
125
117
  // methods supported on all messages.
@@ -150,12 +142,6 @@ public struct BlueLockStatus {
150
142
  fileprivate var _openings: UInt32? = nil
151
143
  }
152
144
 
153
- #if swift(>=5.5) && canImport(_Concurrency)
154
- extension BlueLockState: @unchecked Sendable {}
155
- extension BlueLockConfig: @unchecked Sendable {}
156
- extension BlueLockStatus: @unchecked Sendable {}
157
- #endif // swift(>=5.5) && canImport(_Concurrency)
158
-
159
145
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
160
146
 
161
147
  extension BlueLockState: SwiftProtobuf._ProtoNameProviding {
@@ -1,5 +1,6 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
+ // swiftlint:disable all
3
4
  //
4
5
  // Generated by the Swift generator plugin for the protocol buffer compiler.
5
6
  // Source: BlueSDK.proto
@@ -20,7 +21,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
20
21
  typealias Version = _2
21
22
  }
22
23
 
23
- public enum BlueDeviceType: SwiftProtobuf.Enum {
24
+ public enum BlueDeviceType: SwiftProtobuf.Enum, Swift.CaseIterable {
24
25
  public typealias RawValue = Int
25
26
  case bluetoothDevice // = 1
26
27
  case uwbdevice // = 2
@@ -46,15 +47,7 @@ public enum BlueDeviceType: SwiftProtobuf.Enum {
46
47
 
47
48
  }
48
49
 
49
- #if swift(>=4.2)
50
-
51
- extension BlueDeviceType: CaseIterable {
52
- // Support synthesized by the compiler.
53
- }
54
-
55
- #endif // swift(>=4.2)
56
-
57
- public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum {
50
+ public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum, Swift.CaseIterable {
58
51
  public typealias RawValue = Int
59
52
  case succeeded // = 1
60
53
  case failed // = 2
@@ -86,15 +79,7 @@ public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum {
86
79
 
87
80
  }
88
81
 
89
- #if swift(>=4.2)
90
-
91
- extension BlueRefreshOssSoCredentialStatus: CaseIterable {
92
- // Support synthesized by the compiler.
93
- }
94
-
95
- #endif // swift(>=4.2)
96
-
97
- public struct BlueI18n {
82
+ public struct BlueI18n: @unchecked Sendable {
98
83
  // SwiftProtobuf.Message conformance is added in an extension below. See the
99
84
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
100
85
  // methods supported on all messages.
@@ -655,7 +640,7 @@ public struct BlueI18n {
655
640
  fileprivate var _storage = _StorageClass.defaultInstance
656
641
  }
657
642
 
658
- public struct BlueDeviceDetailsBluetooth {
643
+ public struct BlueDeviceDetailsBluetooth: Sendable {
659
644
  // SwiftProtobuf.Message conformance is added in an extension below. See the
660
645
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
661
646
  // methods supported on all messages.
@@ -696,7 +681,7 @@ public struct BlueDeviceDetailsBluetooth {
696
681
  fileprivate var _isIbeacon: Bool? = nil
697
682
  }
698
683
 
699
- public struct BlueDeviceDetailsUWB {
684
+ public struct BlueDeviceDetailsUWB: Sendable {
700
685
  // SwiftProtobuf.Message conformance is added in an extension below. See the
701
686
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
702
687
  // methods supported on all messages.
@@ -717,7 +702,7 @@ public struct BlueDeviceDetailsUWB {
717
702
  fileprivate var _notUsed: Bool? = nil
718
703
  }
719
704
 
720
- public struct BlueDeviceInfo {
705
+ public struct BlueDeviceInfo: Sendable {
721
706
  // SwiftProtobuf.Message conformance is added in an extension below. See the
722
707
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
723
708
  // methods supported on all messages.
@@ -778,7 +763,7 @@ public struct BlueDeviceInfo {
778
763
 
779
764
  public var unknownFields = SwiftProtobuf.UnknownStorage()
780
765
 
781
- public enum OneOf_Details: Equatable {
766
+ public enum OneOf_Details: Equatable, Sendable {
782
767
  case bluetooth(BlueDeviceDetailsBluetooth)
783
768
  case uwb(BlueDeviceDetailsUWB)
784
769
 
@@ -798,24 +783,6 @@ public struct BlueDeviceInfo {
798
783
  }
799
784
  }
800
785
 
801
- #if !swift(>=4.1)
802
- public static func ==(lhs: BlueDeviceInfo.OneOf_Details, rhs: BlueDeviceInfo.OneOf_Details) -> Bool {
803
- // The use of inline closures is to circumvent an issue where the compiler
804
- // allocates stack space for every case branch when no optimizations are
805
- // enabled. https://github.com/apple/swift-protobuf/issues/1034
806
- switch (lhs, rhs) {
807
- case (.bluetooth, .bluetooth): return {
808
- guard case .bluetooth(let l) = lhs, case .bluetooth(let r) = rhs else { preconditionFailure() }
809
- return l == r
810
- }()
811
- case (.uwb, .uwb): return {
812
- guard case .uwb(let l) = lhs, case .uwb(let r) = rhs else { preconditionFailure() }
813
- return l == r
814
- }()
815
- default: return false
816
- }
817
- }
818
- #endif
819
786
  }
820
787
 
821
788
  public init() {}
@@ -826,7 +793,7 @@ public struct BlueDeviceInfo {
826
793
  fileprivate var _manufacturerInfo: BlueBleManufacturerInfo? = nil
827
794
  }
828
795
 
829
- public struct BlueIdentity {
796
+ public struct BlueIdentity: @unchecked Sendable {
830
797
  // SwiftProtobuf.Message conformance is added in an extension below. See the
831
798
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
832
799
  // methods supported on all messages.
@@ -948,7 +915,7 @@ public struct BlueIdentity {
948
915
  fileprivate var _storage = _StorageClass.defaultInstance
949
916
  }
950
917
 
951
- public struct BlueIdentitiesList {
918
+ public struct BlueIdentitiesList: Sendable {
952
919
  // SwiftProtobuf.Message conformance is added in an extension below. See the
953
920
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
954
921
  // methods supported on all messages.
@@ -960,7 +927,7 @@ public struct BlueIdentitiesList {
960
927
  public init() {}
961
928
  }
962
929
 
963
- public struct BlueAccessDevice {
930
+ public struct BlueAccessDevice: Sendable {
964
931
  // SwiftProtobuf.Message conformance is added in an extension below. See the
965
932
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
966
933
  // methods supported on all messages.
@@ -1001,7 +968,7 @@ public struct BlueAccessDevice {
1001
968
  fileprivate var _objectID: Int32? = nil
1002
969
  }
1003
970
 
1004
- public struct BlueAccessDeviceList {
971
+ public struct BlueAccessDeviceList: Sendable {
1005
972
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1006
973
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1007
974
  // methods supported on all messages.
@@ -1013,7 +980,7 @@ public struct BlueAccessDeviceList {
1013
980
  public init() {}
1014
981
  }
1015
982
 
1016
- public struct BlueAccessObject {
983
+ public struct BlueAccessObject: Sendable {
1017
984
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1018
985
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1019
986
  // methods supported on all messages.
@@ -1066,7 +1033,7 @@ public struct BlueAccessObject {
1066
1033
  fileprivate var _description_p: String? = nil
1067
1034
  }
1068
1035
 
1069
- public struct BlueAccessObjectList {
1036
+ public struct BlueAccessObjectList: Sendable {
1070
1037
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1071
1038
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1072
1039
  // methods supported on all messages.
@@ -1078,7 +1045,7 @@ public struct BlueAccessObjectList {
1078
1045
  public init() {}
1079
1046
  }
1080
1047
 
1081
- public struct BlueHardwareInfo {
1048
+ public struct BlueHardwareInfo: Sendable {
1082
1049
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1083
1050
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1084
1051
  // methods supported on all messages.
@@ -1139,7 +1106,7 @@ public struct BlueHardwareInfo {
1139
1106
  fileprivate var _type: BlueHardwareType? = nil
1140
1107
  }
1141
1108
 
1142
- public struct BlueSystemStatusExt {
1109
+ public struct BlueSystemStatusExt: Sendable {
1143
1110
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1144
1111
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1145
1112
  // methods supported on all messages.
@@ -1200,7 +1167,7 @@ public struct BlueSystemStatusExt {
1200
1167
  fileprivate var _hardwareInfo: BlueHardwareInfo? = nil
1201
1168
  }
1202
1169
 
1203
- public struct BlueRefreshOssSoIdentity {
1170
+ public struct BlueRefreshOssSoIdentity: Sendable {
1204
1171
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1205
1172
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1206
1173
  // methods supported on all messages.
@@ -1243,7 +1210,7 @@ public struct BlueRefreshOssSoIdentity {
1243
1210
  fileprivate var _configuration: BlueOssSoConfiguration? = nil
1244
1211
  }
1245
1212
 
1246
- public struct BlueRefreshOssSoIdentities {
1213
+ public struct BlueRefreshOssSoIdentities: Sendable {
1247
1214
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1248
1215
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1249
1216
  // methods supported on all messages.
@@ -1255,7 +1222,7 @@ public struct BlueRefreshOssSoIdentities {
1255
1222
  public init() {}
1256
1223
  }
1257
1224
 
1258
- public struct BlueSynchronizeIdentity {
1225
+ public struct BlueSynchronizeIdentity: Sendable {
1259
1226
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1260
1227
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1261
1228
  // methods supported on all messages.
@@ -1296,7 +1263,7 @@ public struct BlueSynchronizeIdentity {
1296
1263
  fileprivate var _errorDescription: String? = nil
1297
1264
  }
1298
1265
 
1299
- public struct BlueSynchronizeIdentities {
1266
+ public struct BlueSynchronizeIdentities: Sendable {
1300
1267
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1301
1268
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1302
1269
  // methods supported on all messages.
@@ -1308,7 +1275,7 @@ public struct BlueSynchronizeIdentities {
1308
1275
  public init() {}
1309
1276
  }
1310
1277
 
1311
- public struct BlueLegacyProvisioningRequest {
1278
+ public struct BlueLegacyProvisioningRequest: Sendable {
1312
1279
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1313
1280
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1314
1281
  // methods supported on all messages.
@@ -1379,7 +1346,7 @@ public struct BlueLegacyProvisioningRequest {
1379
1346
  fileprivate var _hardwareSerialNumber: String? = nil
1380
1347
  }
1381
1348
 
1382
- public struct BlueLegacyProvisioningResponse {
1349
+ public struct BlueLegacyProvisioningResponse: Sendable {
1383
1350
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1384
1351
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1385
1352
  // methods supported on all messages.
@@ -1431,7 +1398,7 @@ public struct BlueLegacyProvisioningResponse {
1431
1398
  }
1432
1399
 
1433
1400
  /// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
1434
- public struct BlueAccessCredential {
1401
+ public struct BlueAccessCredential: @unchecked Sendable {
1435
1402
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1436
1403
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1437
1404
  // methods supported on all messages.
@@ -1560,7 +1527,7 @@ public struct BlueAccessCredential {
1560
1527
  fileprivate var _storage = _StorageClass.defaultInstance
1561
1528
  }
1562
1529
 
1563
- public struct BlueAccessCredentialList {
1530
+ public struct BlueAccessCredentialList: Sendable {
1564
1531
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1565
1532
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1566
1533
  // methods supported on all messages.
@@ -1572,7 +1539,7 @@ public struct BlueAccessCredentialList {
1572
1539
  public init() {}
1573
1540
  }
1574
1541
 
1575
- public struct BlueRefreshOssSoCredential {
1542
+ public struct BlueRefreshOssSoCredential: Sendable {
1576
1543
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1577
1544
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1578
1545
  // methods supported on all messages.
@@ -1613,7 +1580,7 @@ public struct BlueRefreshOssSoCredential {
1613
1580
  fileprivate var _configuration: BlueOssSoConfiguration? = nil
1614
1581
  }
1615
1582
 
1616
- public struct BlueRefreshOssSoCredentials {
1583
+ public struct BlueRefreshOssSoCredentials: Sendable {
1617
1584
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1618
1585
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1619
1586
  // methods supported on all messages.
@@ -1625,7 +1592,7 @@ public struct BlueRefreshOssSoCredentials {
1625
1592
  public init() {}
1626
1593
  }
1627
1594
 
1628
- public struct BlueSynchronizeAccessCredential {
1595
+ public struct BlueSynchronizeAccessCredential: Sendable {
1629
1596
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1630
1597
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1631
1598
  // methods supported on all messages.
@@ -1666,7 +1633,7 @@ public struct BlueSynchronizeAccessCredential {
1666
1633
  fileprivate var _errorDescription: String? = nil
1667
1634
  }
1668
1635
 
1669
- public struct BlueSynchronizeAccessCredentials {
1636
+ public struct BlueSynchronizeAccessCredentials: Sendable {
1670
1637
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1671
1638
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1672
1639
  // methods supported on all messages.
@@ -1678,36 +1645,6 @@ public struct BlueSynchronizeAccessCredentials {
1678
1645
  public init() {}
1679
1646
  }
1680
1647
 
1681
- #if swift(>=5.5) && canImport(_Concurrency)
1682
- extension BlueDeviceType: @unchecked Sendable {}
1683
- extension BlueRefreshOssSoCredentialStatus: @unchecked Sendable {}
1684
- extension BlueI18n: @unchecked Sendable {}
1685
- extension BlueDeviceDetailsBluetooth: @unchecked Sendable {}
1686
- extension BlueDeviceDetailsUWB: @unchecked Sendable {}
1687
- extension BlueDeviceInfo: @unchecked Sendable {}
1688
- extension BlueDeviceInfo.OneOf_Details: @unchecked Sendable {}
1689
- extension BlueIdentity: @unchecked Sendable {}
1690
- extension BlueIdentitiesList: @unchecked Sendable {}
1691
- extension BlueAccessDevice: @unchecked Sendable {}
1692
- extension BlueAccessDeviceList: @unchecked Sendable {}
1693
- extension BlueAccessObject: @unchecked Sendable {}
1694
- extension BlueAccessObjectList: @unchecked Sendable {}
1695
- extension BlueHardwareInfo: @unchecked Sendable {}
1696
- extension BlueSystemStatusExt: @unchecked Sendable {}
1697
- extension BlueRefreshOssSoIdentity: @unchecked Sendable {}
1698
- extension BlueRefreshOssSoIdentities: @unchecked Sendable {}
1699
- extension BlueSynchronizeIdentity: @unchecked Sendable {}
1700
- extension BlueSynchronizeIdentities: @unchecked Sendable {}
1701
- extension BlueLegacyProvisioningRequest: @unchecked Sendable {}
1702
- extension BlueLegacyProvisioningResponse: @unchecked Sendable {}
1703
- extension BlueAccessCredential: @unchecked Sendable {}
1704
- extension BlueAccessCredentialList: @unchecked Sendable {}
1705
- extension BlueRefreshOssSoCredential: @unchecked Sendable {}
1706
- extension BlueRefreshOssSoCredentials: @unchecked Sendable {}
1707
- extension BlueSynchronizeAccessCredential: @unchecked Sendable {}
1708
- extension BlueSynchronizeAccessCredentials: @unchecked Sendable {}
1709
- #endif // swift(>=5.5) && canImport(_Concurrency)
1710
-
1711
1648
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
1712
1649
 
1713
1650
  extension BlueDeviceType: SwiftProtobuf._ProtoNameProviding {
@@ -1,5 +1,6 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
+ // swiftlint:disable all
3
4
  //
4
5
  // Generated by the Swift generator plugin for the protocol buffer compiler.
5
6
  // Source: BlueSystem.proto
@@ -20,7 +21,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
20
21
  typealias Version = _2
21
22
  }
22
23
 
23
- public struct BlueBaseConfig {
24
+ public struct BlueBaseConfig: Sendable {
24
25
  // SwiftProtobuf.Message conformance is added in an extension below. See the
25
26
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
26
27
  // methods supported on all messages.
@@ -74,7 +75,7 @@ public struct BlueBaseConfig {
74
75
  fileprivate var _autoCheckSystemStatus: Bool? = nil
75
76
  }
76
77
 
77
- public struct BlueBleConfig {
78
+ public struct BlueBleConfig: Sendable {
78
79
  // SwiftProtobuf.Message conformance is added in an extension below. See the
79
80
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
80
81
  // methods supported on all messages.
@@ -160,7 +161,7 @@ public struct BlueBleConfig {
160
161
  fileprivate var _isIbeaconAdvertisement: Bool? = nil
161
162
  }
162
163
 
163
- public struct BlueOnlineConfig {
164
+ public struct BlueOnlineConfig: Sendable {
164
165
  // SwiftProtobuf.Message conformance is added in an extension below. See the
165
166
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
166
167
  // methods supported on all messages.
@@ -209,7 +210,7 @@ public struct BlueOnlineConfig {
209
210
  fileprivate var _timeoutSec: UInt32? = nil
210
211
  }
211
212
 
212
- public struct BlueAccessConfigGroup {
213
+ public struct BlueAccessConfigGroup: Sendable {
213
214
  // SwiftProtobuf.Message conformance is added in an extension below. See the
214
215
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
215
216
  // methods supported on all messages.
@@ -232,7 +233,7 @@ public struct BlueAccessConfigGroup {
232
233
  fileprivate var _groupID: UInt32? = nil
233
234
  }
234
235
 
235
- public struct BlueAccessConfig {
236
+ public struct BlueAccessConfig: Sendable {
236
237
  // SwiftProtobuf.Message conformance is added in an extension below. See the
237
238
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
238
239
  // methods supported on all messages.
@@ -270,7 +271,7 @@ public struct BlueAccessConfig {
270
271
 
271
272
  ///
272
273
  /// -- Oss SecureId --
273
- public struct BlueOssConfig {
274
+ public struct BlueOssConfig: @unchecked Sendable {
274
275
  // SwiftProtobuf.Message conformance is added in an extension below. See the
275
276
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
276
277
  // methods supported on all messages.
@@ -376,7 +377,7 @@ public struct BlueOssConfig {
376
377
  fileprivate var _soMifareAid: UInt32? = nil
377
378
  }
378
379
 
379
- public struct BlueSystemConfig {
380
+ public struct BlueSystemConfig: @unchecked Sendable {
380
381
  // SwiftProtobuf.Message conformance is added in an extension below. See the
381
382
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
382
383
  // methods supported on all messages.
@@ -453,7 +454,7 @@ public struct BlueSystemConfig {
453
454
  fileprivate var _storage = _StorageClass.defaultInstance
454
455
  }
455
456
 
456
- public struct BlueSystemTimeUnix {
457
+ public struct BlueSystemTimeUnix: Sendable {
457
458
  // SwiftProtobuf.Message conformance is added in an extension below. See the
458
459
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
459
460
  // methods supported on all messages.
@@ -474,7 +475,7 @@ public struct BlueSystemTimeUnix {
474
475
  fileprivate var _epoch: UInt32? = nil
475
476
  }
476
477
 
477
- public struct BlueSystemUpdate {
478
+ public struct BlueSystemUpdate: Sendable {
478
479
  // SwiftProtobuf.Message conformance is added in an extension below. See the
479
480
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
480
481
  // methods supported on all messages.
@@ -505,7 +506,7 @@ public struct BlueSystemUpdate {
505
506
  fileprivate var _timeUnix: BlueSystemTimeUnix? = nil
506
507
  }
507
508
 
508
- public struct BlueSystemSettings {
509
+ public struct BlueSystemSettings: Sendable {
509
510
  // SwiftProtobuf.Message conformance is added in an extension below. See the
510
511
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
511
512
  // methods supported on all messages.
@@ -636,7 +637,7 @@ public struct BlueSystemSettings {
636
637
  fileprivate var _isBatteryLow: Bool? = nil
637
638
  }
638
639
 
639
- public struct BlueSystemProvisioning {
640
+ public struct BlueSystemProvisioning: @unchecked Sendable {
640
641
  // SwiftProtobuf.Message conformance is added in an extension below. See the
641
642
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
642
643
  // methods supported on all messages.
@@ -704,7 +705,7 @@ public struct BlueSystemProvisioning {
704
705
  fileprivate var _signaturePublicKey: Data? = nil
705
706
  }
706
707
 
707
- public struct BlueSystemStatus {
708
+ public struct BlueSystemStatus: @unchecked Sendable {
708
709
  // SwiftProtobuf.Message conformance is added in an extension below. See the
709
710
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
710
711
  // methods supported on all messages.
@@ -807,7 +808,7 @@ public struct BlueSystemStatus {
807
808
  fileprivate var _storage = _StorageClass.defaultInstance
808
809
  }
809
810
 
810
- public struct BlueSystemLogQuery {
811
+ public struct BlueSystemLogQuery: Sendable {
811
812
  // SwiftProtobuf.Message conformance is added in an extension below. See the
812
813
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
813
814
  // methods supported on all messages.
@@ -842,29 +843,11 @@ public struct BlueSystemLogQuery {
842
843
 
843
844
  public var unknownFields = SwiftProtobuf.UnknownStorage()
844
845
 
845
- public enum OneOf_Start: Equatable {
846
+ public enum OneOf_Start: Equatable, Sendable {
846
847
  case sequenceID(UInt32)
847
848
  /// false = starts from tail
848
849
  case fromHead(Bool)
849
850
 
850
- #if !swift(>=4.1)
851
- public static func ==(lhs: BlueSystemLogQuery.OneOf_Start, rhs: BlueSystemLogQuery.OneOf_Start) -> Bool {
852
- // The use of inline closures is to circumvent an issue where the compiler
853
- // allocates stack space for every case branch when no optimizations are
854
- // enabled. https://github.com/apple/swift-protobuf/issues/1034
855
- switch (lhs, rhs) {
856
- case (.sequenceID, .sequenceID): return {
857
- guard case .sequenceID(let l) = lhs, case .sequenceID(let r) = rhs else { preconditionFailure() }
858
- return l == r
859
- }()
860
- case (.fromHead, .fromHead): return {
861
- guard case .fromHead(let l) = lhs, case .fromHead(let r) = rhs else { preconditionFailure() }
862
- return l == r
863
- }()
864
- default: return false
865
- }
866
- }
867
- #endif
868
851
  }
869
852
 
870
853
  public init() {}
@@ -872,7 +855,7 @@ public struct BlueSystemLogQuery {
872
855
  fileprivate var _maxCount: UInt32? = nil
873
856
  }
874
857
 
875
- public struct BlueSystemLogEntry {
858
+ public struct BlueSystemLogEntry: Sendable {
876
859
  // SwiftProtobuf.Message conformance is added in an extension below. See the
877
860
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
878
861
  // methods supported on all messages.
@@ -943,7 +926,7 @@ public struct BlueSystemLogEntry {
943
926
  fileprivate var _message: String? = nil
944
927
  }
945
928
 
946
- public struct BlueSystemLogResult {
929
+ public struct BlueSystemLogResult: Sendable {
947
930
  // SwiftProtobuf.Message conformance is added in an extension below. See the
948
931
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
949
932
  // methods supported on all messages.
@@ -955,7 +938,7 @@ public struct BlueSystemLogResult {
955
938
  public init() {}
956
939
  }
957
940
 
958
- public struct BlueEventLogQuery {
941
+ public struct BlueEventLogQuery: Sendable {
959
942
  // SwiftProtobuf.Message conformance is added in an extension below. See the
960
943
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
961
944
  // methods supported on all messages.
@@ -990,29 +973,11 @@ public struct BlueEventLogQuery {
990
973
 
991
974
  public var unknownFields = SwiftProtobuf.UnknownStorage()
992
975
 
993
- public enum OneOf_Start: Equatable {
976
+ public enum OneOf_Start: Equatable, Sendable {
994
977
  case sequenceID(UInt32)
995
978
  /// false = starts from tail
996
979
  case fromHead(Bool)
997
980
 
998
- #if !swift(>=4.1)
999
- public static func ==(lhs: BlueEventLogQuery.OneOf_Start, rhs: BlueEventLogQuery.OneOf_Start) -> Bool {
1000
- // The use of inline closures is to circumvent an issue where the compiler
1001
- // allocates stack space for every case branch when no optimizations are
1002
- // enabled. https://github.com/apple/swift-protobuf/issues/1034
1003
- switch (lhs, rhs) {
1004
- case (.sequenceID, .sequenceID): return {
1005
- guard case .sequenceID(let l) = lhs, case .sequenceID(let r) = rhs else { preconditionFailure() }
1006
- return l == r
1007
- }()
1008
- case (.fromHead, .fromHead): return {
1009
- guard case .fromHead(let l) = lhs, case .fromHead(let r) = rhs else { preconditionFailure() }
1010
- return l == r
1011
- }()
1012
- default: return false
1013
- }
1014
- }
1015
- #endif
1016
981
  }
1017
982
 
1018
983
  public init() {}
@@ -1020,7 +985,7 @@ public struct BlueEventLogQuery {
1020
985
  fileprivate var _maxCount: UInt32? = nil
1021
986
  }
1022
987
 
1023
- public struct BlueEventLogResult {
988
+ public struct BlueEventLogResult: Sendable {
1024
989
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1025
990
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1026
991
  // methods supported on all messages.
@@ -1032,7 +997,7 @@ public struct BlueEventLogResult {
1032
997
  public init() {}
1033
998
  }
1034
999
 
1035
- public struct BlueBlacklistEntries {
1000
+ public struct BlueBlacklistEntries: Sendable {
1036
1001
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1037
1002
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1038
1003
  // methods supported on all messages.
@@ -1044,29 +1009,6 @@ public struct BlueBlacklistEntries {
1044
1009
  public init() {}
1045
1010
  }
1046
1011
 
1047
- #if swift(>=5.5) && canImport(_Concurrency)
1048
- extension BlueBaseConfig: @unchecked Sendable {}
1049
- extension BlueBleConfig: @unchecked Sendable {}
1050
- extension BlueOnlineConfig: @unchecked Sendable {}
1051
- extension BlueAccessConfigGroup: @unchecked Sendable {}
1052
- extension BlueAccessConfig: @unchecked Sendable {}
1053
- extension BlueOssConfig: @unchecked Sendable {}
1054
- extension BlueSystemConfig: @unchecked Sendable {}
1055
- extension BlueSystemTimeUnix: @unchecked Sendable {}
1056
- extension BlueSystemUpdate: @unchecked Sendable {}
1057
- extension BlueSystemSettings: @unchecked Sendable {}
1058
- extension BlueSystemProvisioning: @unchecked Sendable {}
1059
- extension BlueSystemStatus: @unchecked Sendable {}
1060
- extension BlueSystemLogQuery: @unchecked Sendable {}
1061
- extension BlueSystemLogQuery.OneOf_Start: @unchecked Sendable {}
1062
- extension BlueSystemLogEntry: @unchecked Sendable {}
1063
- extension BlueSystemLogResult: @unchecked Sendable {}
1064
- extension BlueEventLogQuery: @unchecked Sendable {}
1065
- extension BlueEventLogQuery.OneOf_Start: @unchecked Sendable {}
1066
- extension BlueEventLogResult: @unchecked Sendable {}
1067
- extension BlueBlacklistEntries: @unchecked Sendable {}
1068
- #endif // swift(>=5.5) && canImport(_Concurrency)
1069
-
1070
1012
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
1071
1013
 
1072
1014
  extension BlueBaseConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {