@blueid/access-proto 1.78.0 → 1.82.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.
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +74 -299
- package/swift/BlueLock.pb.swift +4 -18
- package/swift/BlueSDK.pb.swift +20 -75
- package/swift/BlueSystem.pb.swift +21 -79
package/swift/BlueLock.pb.swift
CHANGED
|
@@ -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
|
-
|
|
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 {
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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 BlueAccessCredential {
|
|
796
|
+
public struct BlueAccessCredential: @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.
|
|
@@ -955,7 +922,7 @@ public struct BlueAccessCredential {
|
|
|
955
922
|
fileprivate var _storage = _StorageClass.defaultInstance
|
|
956
923
|
}
|
|
957
924
|
|
|
958
|
-
public struct BlueAccessCredentialList {
|
|
925
|
+
public struct BlueAccessCredentialList: Sendable {
|
|
959
926
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
960
927
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
961
928
|
// methods supported on all messages.
|
|
@@ -967,7 +934,7 @@ public struct BlueAccessCredentialList {
|
|
|
967
934
|
public init() {}
|
|
968
935
|
}
|
|
969
936
|
|
|
970
|
-
public struct BlueAccessDevice {
|
|
937
|
+
public struct BlueAccessDevice: Sendable {
|
|
971
938
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
972
939
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
973
940
|
// methods supported on all messages.
|
|
@@ -1008,7 +975,7 @@ public struct BlueAccessDevice {
|
|
|
1008
975
|
fileprivate var _objectID: Int32? = nil
|
|
1009
976
|
}
|
|
1010
977
|
|
|
1011
|
-
public struct BlueAccessDeviceList {
|
|
978
|
+
public struct BlueAccessDeviceList: Sendable {
|
|
1012
979
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1013
980
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1014
981
|
// methods supported on all messages.
|
|
@@ -1020,7 +987,7 @@ public struct BlueAccessDeviceList {
|
|
|
1020
987
|
public init() {}
|
|
1021
988
|
}
|
|
1022
989
|
|
|
1023
|
-
public struct BlueAccessObject {
|
|
990
|
+
public struct BlueAccessObject: Sendable {
|
|
1024
991
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1025
992
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1026
993
|
// methods supported on all messages.
|
|
@@ -1073,7 +1040,7 @@ public struct BlueAccessObject {
|
|
|
1073
1040
|
fileprivate var _description_p: String? = nil
|
|
1074
1041
|
}
|
|
1075
1042
|
|
|
1076
|
-
public struct BlueAccessObjectList {
|
|
1043
|
+
public struct BlueAccessObjectList: Sendable {
|
|
1077
1044
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1078
1045
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1079
1046
|
// methods supported on all messages.
|
|
@@ -1085,7 +1052,7 @@ public struct BlueAccessObjectList {
|
|
|
1085
1052
|
public init() {}
|
|
1086
1053
|
}
|
|
1087
1054
|
|
|
1088
|
-
public struct BlueRefreshOssSoCredential {
|
|
1055
|
+
public struct BlueRefreshOssSoCredential: Sendable {
|
|
1089
1056
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1090
1057
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1091
1058
|
// methods supported on all messages.
|
|
@@ -1126,7 +1093,7 @@ public struct BlueRefreshOssSoCredential {
|
|
|
1126
1093
|
fileprivate var _configuration: BlueOssSoConfiguration? = nil
|
|
1127
1094
|
}
|
|
1128
1095
|
|
|
1129
|
-
public struct BlueRefreshOssSoCredentials {
|
|
1096
|
+
public struct BlueRefreshOssSoCredentials: Sendable {
|
|
1130
1097
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1131
1098
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1132
1099
|
// methods supported on all messages.
|
|
@@ -1138,7 +1105,7 @@ public struct BlueRefreshOssSoCredentials {
|
|
|
1138
1105
|
public init() {}
|
|
1139
1106
|
}
|
|
1140
1107
|
|
|
1141
|
-
public struct BlueSynchronizeAccessCredential {
|
|
1108
|
+
public struct BlueSynchronizeAccessCredential: Sendable {
|
|
1142
1109
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1143
1110
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1144
1111
|
// methods supported on all messages.
|
|
@@ -1179,7 +1146,7 @@ public struct BlueSynchronizeAccessCredential {
|
|
|
1179
1146
|
fileprivate var _errorDescription: String? = nil
|
|
1180
1147
|
}
|
|
1181
1148
|
|
|
1182
|
-
public struct BlueSynchronizeAccessCredentials {
|
|
1149
|
+
public struct BlueSynchronizeAccessCredentials: Sendable {
|
|
1183
1150
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1184
1151
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1185
1152
|
// methods supported on all messages.
|
|
@@ -1191,7 +1158,7 @@ public struct BlueSynchronizeAccessCredentials {
|
|
|
1191
1158
|
public init() {}
|
|
1192
1159
|
}
|
|
1193
1160
|
|
|
1194
|
-
public struct BlueHardwareInfo {
|
|
1161
|
+
public struct BlueHardwareInfo: Sendable {
|
|
1195
1162
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1196
1163
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1197
1164
|
// methods supported on all messages.
|
|
@@ -1252,7 +1219,7 @@ public struct BlueHardwareInfo {
|
|
|
1252
1219
|
fileprivate var _type: BlueHardwareType? = nil
|
|
1253
1220
|
}
|
|
1254
1221
|
|
|
1255
|
-
public struct BlueSystemStatusExt {
|
|
1222
|
+
public struct BlueSystemStatusExt: Sendable {
|
|
1256
1223
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1257
1224
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1258
1225
|
// methods supported on all messages.
|
|
@@ -1313,28 +1280,6 @@ public struct BlueSystemStatusExt {
|
|
|
1313
1280
|
fileprivate var _hardwareInfo: BlueHardwareInfo? = nil
|
|
1314
1281
|
}
|
|
1315
1282
|
|
|
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
|
-
|
|
1338
1283
|
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
1339
1284
|
|
|
1340
1285
|
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 {
|