@blueid/access-proto 1.96.0 → 2.0.0-beta.10

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: 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 {