@blueid/access-proto 1.83.0 → 1.87.0

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,6 +1,5 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
- // swiftlint:disable all
4
3
  //
5
4
  // Generated by the Swift generator plugin for the protocol buffer compiler.
6
5
  // Source: BlueLock.proto
@@ -8,6 +7,7 @@
8
7
  // For information on using the generated types, please see the documentation:
9
8
  // https://github.com/apple/swift-protobuf/
10
9
 
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, Swift.CaseIterable {
23
+ public enum BlueLockState: SwiftProtobuf.Enum {
24
24
  public typealias RawValue = Int
25
25
  case unknownLockState // = 1
26
26
  case locked // = 2
@@ -52,7 +52,15 @@ public enum BlueLockState: SwiftProtobuf.Enum, Swift.CaseIterable {
52
52
 
53
53
  }
54
54
 
55
- public struct BlueLockConfig: Sendable {
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 {
56
64
  // SwiftProtobuf.Message conformance is added in an extension below. See the
57
65
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
58
66
  // methods supported on all messages.
@@ -111,7 +119,7 @@ public struct BlueLockConfig: Sendable {
111
119
  fileprivate var _extendedOpenTimeSec: UInt32? = nil
112
120
  }
113
121
 
114
- public struct BlueLockStatus: Sendable {
122
+ public struct BlueLockStatus {
115
123
  // SwiftProtobuf.Message conformance is added in an extension below. See the
116
124
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
117
125
  // methods supported on all messages.
@@ -142,6 +150,12 @@ public struct BlueLockStatus: Sendable {
142
150
  fileprivate var _openings: UInt32? = nil
143
151
  }
144
152
 
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
+
145
159
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
146
160
 
147
161
  extension BlueLockState: SwiftProtobuf._ProtoNameProviding {
@@ -1,6 +1,5 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
- // swiftlint:disable all
4
3
  //
5
4
  // Generated by the Swift generator plugin for the protocol buffer compiler.
6
5
  // Source: BlueSDK.proto
@@ -21,7 +20,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
21
20
  typealias Version = _2
22
21
  }
23
22
 
24
- public enum BlueDeviceType: SwiftProtobuf.Enum, Swift.CaseIterable {
23
+ public enum BlueDeviceType: SwiftProtobuf.Enum {
25
24
  public typealias RawValue = Int
26
25
  case bluetoothDevice // = 1
27
26
  case uwbdevice // = 2
@@ -47,7 +46,15 @@ public enum BlueDeviceType: SwiftProtobuf.Enum, Swift.CaseIterable {
47
46
 
48
47
  }
49
48
 
50
- public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum, Swift.CaseIterable {
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 {
51
58
  public typealias RawValue = Int
52
59
  case succeeded // = 1
53
60
  case failed // = 2
@@ -79,7 +86,15 @@ public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum, Swift.CaseIter
79
86
 
80
87
  }
81
88
 
82
- public struct BlueI18n: @unchecked Sendable {
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 {
83
98
  // SwiftProtobuf.Message conformance is added in an extension below. See the
84
99
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
85
100
  // methods supported on all messages.
@@ -640,7 +655,7 @@ public struct BlueI18n: @unchecked Sendable {
640
655
  fileprivate var _storage = _StorageClass.defaultInstance
641
656
  }
642
657
 
643
- public struct BlueDeviceDetailsBluetooth: Sendable {
658
+ public struct BlueDeviceDetailsBluetooth {
644
659
  // SwiftProtobuf.Message conformance is added in an extension below. See the
645
660
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
646
661
  // methods supported on all messages.
@@ -681,7 +696,7 @@ public struct BlueDeviceDetailsBluetooth: Sendable {
681
696
  fileprivate var _isIbeacon: Bool? = nil
682
697
  }
683
698
 
684
- public struct BlueDeviceDetailsUWB: Sendable {
699
+ public struct BlueDeviceDetailsUWB {
685
700
  // SwiftProtobuf.Message conformance is added in an extension below. See the
686
701
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
687
702
  // methods supported on all messages.
@@ -702,7 +717,7 @@ public struct BlueDeviceDetailsUWB: Sendable {
702
717
  fileprivate var _notUsed: Bool? = nil
703
718
  }
704
719
 
705
- public struct BlueDeviceInfo: Sendable {
720
+ public struct BlueDeviceInfo {
706
721
  // SwiftProtobuf.Message conformance is added in an extension below. See the
707
722
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
708
723
  // methods supported on all messages.
@@ -763,7 +778,7 @@ public struct BlueDeviceInfo: Sendable {
763
778
 
764
779
  public var unknownFields = SwiftProtobuf.UnknownStorage()
765
780
 
766
- public enum OneOf_Details: Equatable, Sendable {
781
+ public enum OneOf_Details: Equatable {
767
782
  case bluetooth(BlueDeviceDetailsBluetooth)
768
783
  case uwb(BlueDeviceDetailsUWB)
769
784
 
@@ -783,6 +798,24 @@ public struct BlueDeviceInfo: Sendable {
783
798
  }
784
799
  }
785
800
 
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
786
819
  }
787
820
 
788
821
  public init() {}
@@ -793,7 +826,7 @@ public struct BlueDeviceInfo: Sendable {
793
826
  fileprivate var _manufacturerInfo: BlueBleManufacturerInfo? = nil
794
827
  }
795
828
 
796
- public struct BlueAccessCredential: @unchecked Sendable {
829
+ public struct BlueAccessCredential {
797
830
  // SwiftProtobuf.Message conformance is added in an extension below. See the
798
831
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
799
832
  // methods supported on all messages.
@@ -922,7 +955,7 @@ public struct BlueAccessCredential: @unchecked Sendable {
922
955
  fileprivate var _storage = _StorageClass.defaultInstance
923
956
  }
924
957
 
925
- public struct BlueAccessCredentialList: Sendable {
958
+ public struct BlueAccessCredentialList {
926
959
  // SwiftProtobuf.Message conformance is added in an extension below. See the
927
960
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
928
961
  // methods supported on all messages.
@@ -934,7 +967,7 @@ public struct BlueAccessCredentialList: Sendable {
934
967
  public init() {}
935
968
  }
936
969
 
937
- public struct BlueAccessDevice: Sendable {
970
+ public struct BlueAccessDevice {
938
971
  // SwiftProtobuf.Message conformance is added in an extension below. See the
939
972
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
940
973
  // methods supported on all messages.
@@ -975,7 +1008,7 @@ public struct BlueAccessDevice: Sendable {
975
1008
  fileprivate var _objectID: Int32? = nil
976
1009
  }
977
1010
 
978
- public struct BlueAccessDeviceList: Sendable {
1011
+ public struct BlueAccessDeviceList {
979
1012
  // SwiftProtobuf.Message conformance is added in an extension below. See the
980
1013
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
981
1014
  // methods supported on all messages.
@@ -987,7 +1020,7 @@ public struct BlueAccessDeviceList: Sendable {
987
1020
  public init() {}
988
1021
  }
989
1022
 
990
- public struct BlueAccessObject: Sendable {
1023
+ public struct BlueAccessObject {
991
1024
  // SwiftProtobuf.Message conformance is added in an extension below. See the
992
1025
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
993
1026
  // methods supported on all messages.
@@ -1040,7 +1073,7 @@ public struct BlueAccessObject: Sendable {
1040
1073
  fileprivate var _description_p: String? = nil
1041
1074
  }
1042
1075
 
1043
- public struct BlueAccessObjectList: Sendable {
1076
+ public struct BlueAccessObjectList {
1044
1077
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1045
1078
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1046
1079
  // methods supported on all messages.
@@ -1052,7 +1085,7 @@ public struct BlueAccessObjectList: Sendable {
1052
1085
  public init() {}
1053
1086
  }
1054
1087
 
1055
- public struct BlueRefreshOssSoCredential: Sendable {
1088
+ public struct BlueRefreshOssSoCredential {
1056
1089
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1057
1090
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1058
1091
  // methods supported on all messages.
@@ -1093,7 +1126,7 @@ public struct BlueRefreshOssSoCredential: Sendable {
1093
1126
  fileprivate var _configuration: BlueOssSoConfiguration? = nil
1094
1127
  }
1095
1128
 
1096
- public struct BlueRefreshOssSoCredentials: Sendable {
1129
+ public struct BlueRefreshOssSoCredentials {
1097
1130
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1098
1131
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1099
1132
  // methods supported on all messages.
@@ -1105,7 +1138,7 @@ public struct BlueRefreshOssSoCredentials: Sendable {
1105
1138
  public init() {}
1106
1139
  }
1107
1140
 
1108
- public struct BlueSynchronizeAccessCredential: Sendable {
1141
+ public struct BlueSynchronizeAccessCredential {
1109
1142
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1110
1143
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1111
1144
  // methods supported on all messages.
@@ -1146,7 +1179,7 @@ public struct BlueSynchronizeAccessCredential: Sendable {
1146
1179
  fileprivate var _errorDescription: String? = nil
1147
1180
  }
1148
1181
 
1149
- public struct BlueSynchronizeAccessCredentials: Sendable {
1182
+ public struct BlueSynchronizeAccessCredentials {
1150
1183
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1151
1184
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1152
1185
  // methods supported on all messages.
@@ -1158,7 +1191,7 @@ public struct BlueSynchronizeAccessCredentials: Sendable {
1158
1191
  public init() {}
1159
1192
  }
1160
1193
 
1161
- public struct BlueHardwareInfo: Sendable {
1194
+ public struct BlueHardwareInfo {
1162
1195
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1163
1196
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1164
1197
  // methods supported on all messages.
@@ -1219,7 +1252,7 @@ public struct BlueHardwareInfo: Sendable {
1219
1252
  fileprivate var _type: BlueHardwareType? = nil
1220
1253
  }
1221
1254
 
1222
- public struct BlueSystemStatusExt: Sendable {
1255
+ public struct BlueSystemStatusExt {
1223
1256
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1224
1257
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1225
1258
  // methods supported on all messages.
@@ -1280,6 +1313,28 @@ public struct BlueSystemStatusExt: Sendable {
1280
1313
  fileprivate var _hardwareInfo: BlueHardwareInfo? = nil
1281
1314
  }
1282
1315
 
1316
+ #if swift(>=5.5) && canImport(_Concurrency)
1317
+ extension BlueDeviceType: @unchecked Sendable {}
1318
+ extension BlueRefreshOssSoCredentialStatus: @unchecked Sendable {}
1319
+ extension BlueI18n: @unchecked Sendable {}
1320
+ extension BlueDeviceDetailsBluetooth: @unchecked Sendable {}
1321
+ extension BlueDeviceDetailsUWB: @unchecked Sendable {}
1322
+ extension BlueDeviceInfo: @unchecked Sendable {}
1323
+ extension BlueDeviceInfo.OneOf_Details: @unchecked Sendable {}
1324
+ extension BlueAccessCredential: @unchecked Sendable {}
1325
+ extension BlueAccessCredentialList: @unchecked Sendable {}
1326
+ extension BlueAccessDevice: @unchecked Sendable {}
1327
+ extension BlueAccessDeviceList: @unchecked Sendable {}
1328
+ extension BlueAccessObject: @unchecked Sendable {}
1329
+ extension BlueAccessObjectList: @unchecked Sendable {}
1330
+ extension BlueRefreshOssSoCredential: @unchecked Sendable {}
1331
+ extension BlueRefreshOssSoCredentials: @unchecked Sendable {}
1332
+ extension BlueSynchronizeAccessCredential: @unchecked Sendable {}
1333
+ extension BlueSynchronizeAccessCredentials: @unchecked Sendable {}
1334
+ extension BlueHardwareInfo: @unchecked Sendable {}
1335
+ extension BlueSystemStatusExt: @unchecked Sendable {}
1336
+ #endif // swift(>=5.5) && canImport(_Concurrency)
1337
+
1283
1338
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
1284
1339
 
1285
1340
  extension BlueDeviceType: SwiftProtobuf._ProtoNameProviding {
@@ -1,6 +1,5 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
- // swiftlint:disable all
4
3
  //
5
4
  // Generated by the Swift generator plugin for the protocol buffer compiler.
6
5
  // Source: BlueSystem.proto
@@ -21,7 +20,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
21
20
  typealias Version = _2
22
21
  }
23
22
 
24
- public struct BlueBaseConfig: Sendable {
23
+ public struct BlueBaseConfig {
25
24
  // SwiftProtobuf.Message conformance is added in an extension below. See the
26
25
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
27
26
  // methods supported on all messages.
@@ -75,7 +74,7 @@ public struct BlueBaseConfig: Sendable {
75
74
  fileprivate var _autoCheckSystemStatus: Bool? = nil
76
75
  }
77
76
 
78
- public struct BlueBleConfig: Sendable {
77
+ public struct BlueBleConfig {
79
78
  // SwiftProtobuf.Message conformance is added in an extension below. See the
80
79
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
81
80
  // methods supported on all messages.
@@ -161,7 +160,7 @@ public struct BlueBleConfig: Sendable {
161
160
  fileprivate var _isIbeaconAdvertisement: Bool? = nil
162
161
  }
163
162
 
164
- public struct BlueOnlineConfig: Sendable {
163
+ public struct BlueOnlineConfig {
165
164
  // SwiftProtobuf.Message conformance is added in an extension below. See the
166
165
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
167
166
  // methods supported on all messages.
@@ -210,7 +209,7 @@ public struct BlueOnlineConfig: Sendable {
210
209
  fileprivate var _timeoutSec: UInt32? = nil
211
210
  }
212
211
 
213
- public struct BlueAccessConfigGroup: Sendable {
212
+ public struct BlueAccessConfigGroup {
214
213
  // SwiftProtobuf.Message conformance is added in an extension below. See the
215
214
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
216
215
  // methods supported on all messages.
@@ -233,7 +232,7 @@ public struct BlueAccessConfigGroup: Sendable {
233
232
  fileprivate var _groupID: UInt32? = nil
234
233
  }
235
234
 
236
- public struct BlueAccessConfig: Sendable {
235
+ public struct BlueAccessConfig {
237
236
  // SwiftProtobuf.Message conformance is added in an extension below. See the
238
237
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
239
238
  // methods supported on all messages.
@@ -271,7 +270,7 @@ public struct BlueAccessConfig: Sendable {
271
270
 
272
271
  ///
273
272
  /// -- Oss SecureId --
274
- public struct BlueOssConfig: @unchecked Sendable {
273
+ public struct BlueOssConfig {
275
274
  // SwiftProtobuf.Message conformance is added in an extension below. See the
276
275
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
277
276
  // methods supported on all messages.
@@ -377,7 +376,7 @@ public struct BlueOssConfig: @unchecked Sendable {
377
376
  fileprivate var _soMifareAid: UInt32? = nil
378
377
  }
379
378
 
380
- public struct BlueSystemConfig: @unchecked Sendable {
379
+ public struct BlueSystemConfig {
381
380
  // SwiftProtobuf.Message conformance is added in an extension below. See the
382
381
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
383
382
  // methods supported on all messages.
@@ -454,7 +453,7 @@ public struct BlueSystemConfig: @unchecked Sendable {
454
453
  fileprivate var _storage = _StorageClass.defaultInstance
455
454
  }
456
455
 
457
- public struct BlueSystemTimeUnix: Sendable {
456
+ public struct BlueSystemTimeUnix {
458
457
  // SwiftProtobuf.Message conformance is added in an extension below. See the
459
458
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
460
459
  // methods supported on all messages.
@@ -475,7 +474,7 @@ public struct BlueSystemTimeUnix: Sendable {
475
474
  fileprivate var _epoch: UInt32? = nil
476
475
  }
477
476
 
478
- public struct BlueSystemUpdate: Sendable {
477
+ public struct BlueSystemUpdate {
479
478
  // SwiftProtobuf.Message conformance is added in an extension below. See the
480
479
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
481
480
  // methods supported on all messages.
@@ -506,7 +505,7 @@ public struct BlueSystemUpdate: Sendable {
506
505
  fileprivate var _timeUnix: BlueSystemTimeUnix? = nil
507
506
  }
508
507
 
509
- public struct BlueSystemSettings: Sendable {
508
+ public struct BlueSystemSettings {
510
509
  // SwiftProtobuf.Message conformance is added in an extension below. See the
511
510
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
512
511
  // methods supported on all messages.
@@ -637,7 +636,7 @@ public struct BlueSystemSettings: Sendable {
637
636
  fileprivate var _isBatteryLow: Bool? = nil
638
637
  }
639
638
 
640
- public struct BlueSystemProvisioning: @unchecked Sendable {
639
+ public struct BlueSystemProvisioning {
641
640
  // SwiftProtobuf.Message conformance is added in an extension below. See the
642
641
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
643
642
  // methods supported on all messages.
@@ -705,7 +704,7 @@ public struct BlueSystemProvisioning: @unchecked Sendable {
705
704
  fileprivate var _signaturePublicKey: Data? = nil
706
705
  }
707
706
 
708
- public struct BlueSystemStatus: @unchecked Sendable {
707
+ public struct BlueSystemStatus {
709
708
  // SwiftProtobuf.Message conformance is added in an extension below. See the
710
709
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
711
710
  // methods supported on all messages.
@@ -808,7 +807,7 @@ public struct BlueSystemStatus: @unchecked Sendable {
808
807
  fileprivate var _storage = _StorageClass.defaultInstance
809
808
  }
810
809
 
811
- public struct BlueSystemLogQuery: Sendable {
810
+ public struct BlueSystemLogQuery {
812
811
  // SwiftProtobuf.Message conformance is added in an extension below. See the
813
812
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
814
813
  // methods supported on all messages.
@@ -843,11 +842,29 @@ public struct BlueSystemLogQuery: Sendable {
843
842
 
844
843
  public var unknownFields = SwiftProtobuf.UnknownStorage()
845
844
 
846
- public enum OneOf_Start: Equatable, Sendable {
845
+ public enum OneOf_Start: Equatable {
847
846
  case sequenceID(UInt32)
848
847
  /// false = starts from tail
849
848
  case fromHead(Bool)
850
849
 
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
851
868
  }
852
869
 
853
870
  public init() {}
@@ -855,7 +872,7 @@ public struct BlueSystemLogQuery: Sendable {
855
872
  fileprivate var _maxCount: UInt32? = nil
856
873
  }
857
874
 
858
- public struct BlueSystemLogEntry: Sendable {
875
+ public struct BlueSystemLogEntry {
859
876
  // SwiftProtobuf.Message conformance is added in an extension below. See the
860
877
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
861
878
  // methods supported on all messages.
@@ -926,7 +943,7 @@ public struct BlueSystemLogEntry: Sendable {
926
943
  fileprivate var _message: String? = nil
927
944
  }
928
945
 
929
- public struct BlueSystemLogResult: Sendable {
946
+ public struct BlueSystemLogResult {
930
947
  // SwiftProtobuf.Message conformance is added in an extension below. See the
931
948
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
932
949
  // methods supported on all messages.
@@ -938,7 +955,7 @@ public struct BlueSystemLogResult: Sendable {
938
955
  public init() {}
939
956
  }
940
957
 
941
- public struct BlueEventLogQuery: Sendable {
958
+ public struct BlueEventLogQuery {
942
959
  // SwiftProtobuf.Message conformance is added in an extension below. See the
943
960
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
944
961
  // methods supported on all messages.
@@ -973,11 +990,29 @@ public struct BlueEventLogQuery: Sendable {
973
990
 
974
991
  public var unknownFields = SwiftProtobuf.UnknownStorage()
975
992
 
976
- public enum OneOf_Start: Equatable, Sendable {
993
+ public enum OneOf_Start: Equatable {
977
994
  case sequenceID(UInt32)
978
995
  /// false = starts from tail
979
996
  case fromHead(Bool)
980
997
 
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
981
1016
  }
982
1017
 
983
1018
  public init() {}
@@ -985,7 +1020,7 @@ public struct BlueEventLogQuery: Sendable {
985
1020
  fileprivate var _maxCount: UInt32? = nil
986
1021
  }
987
1022
 
988
- public struct BlueEventLogResult: Sendable {
1023
+ public struct BlueEventLogResult {
989
1024
  // SwiftProtobuf.Message conformance is added in an extension below. See the
990
1025
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
991
1026
  // methods supported on all messages.
@@ -997,7 +1032,7 @@ public struct BlueEventLogResult: Sendable {
997
1032
  public init() {}
998
1033
  }
999
1034
 
1000
- public struct BlueBlacklistEntries: Sendable {
1035
+ public struct BlueBlacklistEntries {
1001
1036
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1002
1037
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1003
1038
  // methods supported on all messages.
@@ -1009,6 +1044,29 @@ public struct BlueBlacklistEntries: Sendable {
1009
1044
  public init() {}
1010
1045
  }
1011
1046
 
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
+
1012
1070
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
1013
1071
 
1014
1072
  extension BlueBaseConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {