@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.
- package/BlueCore.proto +2 -0
- package/BlueSDK.proto +104 -41
- package/cjs/BlueCore_pb.d.ts +3 -0
- package/cjs/BlueSDK_pb.d.ts +427 -117
- package/cjs/BlueSDK_pb.js +193 -49
- package/es/BlueCore_pb.d.ts +3 -0
- package/es/BlueCore_pb.js +3 -0
- package/es/BlueSDK_pb.d.ts +427 -117
- package/es/BlueSDK_pb.js +151 -47
- package/nanopb/BlueCore.pb.h +2 -0
- package/nanopb/BlueSDK.pb.c +32 -8
- package/nanopb/BlueSDK.pb.h +335 -122
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +76 -299
- package/swift/BlueLock.pb.swift +4 -18
- package/swift/BlueSDK.pb.swift +2133 -1306
- package/swift/BlueSystem.pb.swift +21 -79
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,28 +793,30 @@ public struct BlueDeviceInfo {
|
|
|
826
793
|
fileprivate var _manufacturerInfo: BlueBleManufacturerInfo? = nil
|
|
827
794
|
}
|
|
828
795
|
|
|
829
|
-
public struct
|
|
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.
|
|
833
800
|
|
|
834
|
-
public var
|
|
835
|
-
get {return _storage.
|
|
836
|
-
set {_uniqueStorage().
|
|
801
|
+
public var identityID: String {
|
|
802
|
+
get {return _storage._identityID ?? String()}
|
|
803
|
+
set {_uniqueStorage()._identityID = newValue}
|
|
837
804
|
}
|
|
838
|
-
/// Returns true if `
|
|
839
|
-
public var
|
|
840
|
-
/// Clears the value of `
|
|
841
|
-
public mutating func
|
|
805
|
+
/// Returns true if `identityID` has been explicitly set.
|
|
806
|
+
public var hasIdentityID: Bool {return _storage._identityID != nil}
|
|
807
|
+
/// Clears the value of `identityID`. Subsequent reads from it will return its default value.
|
|
808
|
+
public mutating func clearIdentityID() {_uniqueStorage()._identityID = nil}
|
|
842
809
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
810
|
+
/// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
811
|
+
/// This should be renamed to BlueIdentityRole later on.
|
|
812
|
+
public var role: BlueCredentialType {
|
|
813
|
+
get {return _storage._role ?? .regular}
|
|
814
|
+
set {_uniqueStorage()._role = newValue}
|
|
846
815
|
}
|
|
847
|
-
/// Returns true if `
|
|
848
|
-
public var
|
|
849
|
-
/// Clears the value of `
|
|
850
|
-
public mutating func
|
|
816
|
+
/// Returns true if `role` has been explicitly set.
|
|
817
|
+
public var hasRole: Bool {return _storage._role != nil}
|
|
818
|
+
/// Clears the value of `role`. Subsequent reads from it will return its default value.
|
|
819
|
+
public mutating func clearRole() {_uniqueStorage()._role = nil}
|
|
851
820
|
|
|
852
821
|
public var name: String {
|
|
853
822
|
get {return _storage._name ?? String()}
|
|
@@ -867,23 +836,14 @@ public struct BlueAccessCredential {
|
|
|
867
836
|
/// Clears the value of `description_p`. Subsequent reads from it will return its default value.
|
|
868
837
|
public mutating func clearDescription_p() {_uniqueStorage()._description_p = nil}
|
|
869
838
|
|
|
870
|
-
public var
|
|
871
|
-
get {return _storage.
|
|
872
|
-
set {_uniqueStorage().
|
|
873
|
-
}
|
|
874
|
-
/// Returns true if `siteID` has been explicitly set.
|
|
875
|
-
public var hasSiteID: Bool {return _storage._siteID != nil}
|
|
876
|
-
/// Clears the value of `siteID`. Subsequent reads from it will return its default value.
|
|
877
|
-
public mutating func clearSiteID() {_uniqueStorage()._siteID = nil}
|
|
878
|
-
|
|
879
|
-
public var siteName: String {
|
|
880
|
-
get {return _storage._siteName ?? String()}
|
|
881
|
-
set {_uniqueStorage()._siteName = newValue}
|
|
839
|
+
public var receiverName: String {
|
|
840
|
+
get {return _storage._receiverName ?? String()}
|
|
841
|
+
set {_uniqueStorage()._receiverName = newValue}
|
|
882
842
|
}
|
|
883
|
-
/// Returns true if `
|
|
884
|
-
public var
|
|
885
|
-
/// Clears the value of `
|
|
886
|
-
public mutating func
|
|
843
|
+
/// Returns true if `receiverName` has been explicitly set.
|
|
844
|
+
public var hasReceiverName: Bool {return _storage._receiverName != nil}
|
|
845
|
+
/// Clears the value of `receiverName`. Subsequent reads from it will return its default value.
|
|
846
|
+
public mutating func clearReceiverName() {_uniqueStorage()._receiverName = nil}
|
|
887
847
|
|
|
888
848
|
public var validFrom: BlueLocalTimestamp {
|
|
889
849
|
get {return _storage._validFrom ?? BlueLocalTimestamp()}
|
|
@@ -903,14 +863,41 @@ public struct BlueAccessCredential {
|
|
|
903
863
|
/// Clears the value of `validTo`. Subsequent reads from it will return its default value.
|
|
904
864
|
public mutating func clearValidTo() {_uniqueStorage()._validTo = nil}
|
|
905
865
|
|
|
906
|
-
public var
|
|
907
|
-
get {return _storage.
|
|
908
|
-
set {_uniqueStorage().
|
|
866
|
+
public var organization: String {
|
|
867
|
+
get {return _storage._organization ?? String()}
|
|
868
|
+
set {_uniqueStorage()._organization = newValue}
|
|
909
869
|
}
|
|
910
|
-
/// Returns true if `
|
|
911
|
-
public var
|
|
912
|
-
/// Clears the value of `
|
|
913
|
-
public mutating func
|
|
870
|
+
/// Returns true if `organization` has been explicitly set.
|
|
871
|
+
public var hasOrganization: Bool {return _storage._organization != nil}
|
|
872
|
+
/// Clears the value of `organization`. Subsequent reads from it will return its default value.
|
|
873
|
+
public mutating func clearOrganization() {_uniqueStorage()._organization = nil}
|
|
874
|
+
|
|
875
|
+
public var organizationName: String {
|
|
876
|
+
get {return _storage._organizationName ?? String()}
|
|
877
|
+
set {_uniqueStorage()._organizationName = newValue}
|
|
878
|
+
}
|
|
879
|
+
/// Returns true if `organizationName` has been explicitly set.
|
|
880
|
+
public var hasOrganizationName: Bool {return _storage._organizationName != nil}
|
|
881
|
+
/// Clears the value of `organizationName`. Subsequent reads from it will return its default value.
|
|
882
|
+
public mutating func clearOrganizationName() {_uniqueStorage()._organizationName = nil}
|
|
883
|
+
|
|
884
|
+
public var siteID: Int32 {
|
|
885
|
+
get {return _storage._siteID ?? 0}
|
|
886
|
+
set {_uniqueStorage()._siteID = newValue}
|
|
887
|
+
}
|
|
888
|
+
/// Returns true if `siteID` has been explicitly set.
|
|
889
|
+
public var hasSiteID: Bool {return _storage._siteID != nil}
|
|
890
|
+
/// Clears the value of `siteID`. Subsequent reads from it will return its default value.
|
|
891
|
+
public mutating func clearSiteID() {_uniqueStorage()._siteID = nil}
|
|
892
|
+
|
|
893
|
+
public var siteName: String {
|
|
894
|
+
get {return _storage._siteName ?? String()}
|
|
895
|
+
set {_uniqueStorage()._siteName = newValue}
|
|
896
|
+
}
|
|
897
|
+
/// Returns true if `siteName` has been explicitly set.
|
|
898
|
+
public var hasSiteName: Bool {return _storage._siteName != nil}
|
|
899
|
+
/// Clears the value of `siteName`. Subsequent reads from it will return its default value.
|
|
900
|
+
public mutating func clearSiteName() {_uniqueStorage()._siteName = nil}
|
|
914
901
|
|
|
915
902
|
public var privateKey: Data {
|
|
916
903
|
get {return _storage._privateKey ?? Data()}
|
|
@@ -921,33 +908,6 @@ public struct BlueAccessCredential {
|
|
|
921
908
|
/// Clears the value of `privateKey`. Subsequent reads from it will return its default value.
|
|
922
909
|
public mutating func clearPrivateKey() {_uniqueStorage()._privateKey = nil}
|
|
923
910
|
|
|
924
|
-
public var receiverName: String {
|
|
925
|
-
get {return _storage._receiverName ?? String()}
|
|
926
|
-
set {_uniqueStorage()._receiverName = newValue}
|
|
927
|
-
}
|
|
928
|
-
/// Returns true if `receiverName` has been explicitly set.
|
|
929
|
-
public var hasReceiverName: Bool {return _storage._receiverName != nil}
|
|
930
|
-
/// Clears the value of `receiverName`. Subsequent reads from it will return its default value.
|
|
931
|
-
public mutating func clearReceiverName() {_uniqueStorage()._receiverName = nil}
|
|
932
|
-
|
|
933
|
-
public var organisation: String {
|
|
934
|
-
get {return _storage._organisation ?? String()}
|
|
935
|
-
set {_uniqueStorage()._organisation = newValue}
|
|
936
|
-
}
|
|
937
|
-
/// Returns true if `organisation` has been explicitly set.
|
|
938
|
-
public var hasOrganisation: Bool {return _storage._organisation != nil}
|
|
939
|
-
/// Clears the value of `organisation`. Subsequent reads from it will return its default value.
|
|
940
|
-
public mutating func clearOrganisation() {_uniqueStorage()._organisation = nil}
|
|
941
|
-
|
|
942
|
-
public var organisationName: String {
|
|
943
|
-
get {return _storage._organisationName ?? String()}
|
|
944
|
-
set {_uniqueStorage()._organisationName = newValue}
|
|
945
|
-
}
|
|
946
|
-
/// Returns true if `organisationName` has been explicitly set.
|
|
947
|
-
public var hasOrganisationName: Bool {return _storage._organisationName != nil}
|
|
948
|
-
/// Clears the value of `organisationName`. Subsequent reads from it will return its default value.
|
|
949
|
-
public mutating func clearOrganisationName() {_uniqueStorage()._organisationName = nil}
|
|
950
|
-
|
|
951
911
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
952
912
|
|
|
953
913
|
public init() {}
|
|
@@ -955,19 +915,19 @@ public struct BlueAccessCredential {
|
|
|
955
915
|
fileprivate var _storage = _StorageClass.defaultInstance
|
|
956
916
|
}
|
|
957
917
|
|
|
958
|
-
public struct
|
|
918
|
+
public struct BlueIdentitiesList: Sendable {
|
|
959
919
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
960
920
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
961
921
|
// methods supported on all messages.
|
|
962
922
|
|
|
963
|
-
public var
|
|
923
|
+
public var identities: [BlueIdentity] = []
|
|
964
924
|
|
|
965
925
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
966
926
|
|
|
967
927
|
public init() {}
|
|
968
928
|
}
|
|
969
929
|
|
|
970
|
-
public struct BlueAccessDevice {
|
|
930
|
+
public struct BlueAccessDevice: Sendable {
|
|
971
931
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
972
932
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
973
933
|
// methods supported on all messages.
|
|
@@ -1008,7 +968,7 @@ public struct BlueAccessDevice {
|
|
|
1008
968
|
fileprivate var _objectID: Int32? = nil
|
|
1009
969
|
}
|
|
1010
970
|
|
|
1011
|
-
public struct BlueAccessDeviceList {
|
|
971
|
+
public struct BlueAccessDeviceList: Sendable {
|
|
1012
972
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1013
973
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1014
974
|
// methods supported on all messages.
|
|
@@ -1020,7 +980,7 @@ public struct BlueAccessDeviceList {
|
|
|
1020
980
|
public init() {}
|
|
1021
981
|
}
|
|
1022
982
|
|
|
1023
|
-
public struct BlueAccessObject {
|
|
983
|
+
public struct BlueAccessObject: Sendable {
|
|
1024
984
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1025
985
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1026
986
|
// methods supported on all messages.
|
|
@@ -1073,7 +1033,7 @@ public struct BlueAccessObject {
|
|
|
1073
1033
|
fileprivate var _description_p: String? = nil
|
|
1074
1034
|
}
|
|
1075
1035
|
|
|
1076
|
-
public struct BlueAccessObjectList {
|
|
1036
|
+
public struct BlueAccessObjectList: Sendable {
|
|
1077
1037
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1078
1038
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1079
1039
|
// methods supported on all messages.
|
|
@@ -1085,113 +1045,7 @@ public struct BlueAccessObjectList {
|
|
|
1085
1045
|
public init() {}
|
|
1086
1046
|
}
|
|
1087
1047
|
|
|
1088
|
-
public struct
|
|
1089
|
-
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1090
|
-
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1091
|
-
// methods supported on all messages.
|
|
1092
|
-
|
|
1093
|
-
public var credentialID: BlueCredentialId {
|
|
1094
|
-
get {return _credentialID ?? BlueCredentialId()}
|
|
1095
|
-
set {_credentialID = newValue}
|
|
1096
|
-
}
|
|
1097
|
-
/// Returns true if `credentialID` has been explicitly set.
|
|
1098
|
-
public var hasCredentialID: Bool {return self._credentialID != nil}
|
|
1099
|
-
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1100
|
-
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1101
|
-
|
|
1102
|
-
public var status: BlueRefreshOssSoCredentialStatus {
|
|
1103
|
-
get {return _status ?? .succeeded}
|
|
1104
|
-
set {_status = newValue}
|
|
1105
|
-
}
|
|
1106
|
-
/// Returns true if `status` has been explicitly set.
|
|
1107
|
-
public var hasStatus: Bool {return self._status != nil}
|
|
1108
|
-
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
1109
|
-
public mutating func clearStatus() {self._status = nil}
|
|
1110
|
-
|
|
1111
|
-
public var configuration: BlueOssSoConfiguration {
|
|
1112
|
-
get {return _configuration ?? BlueOssSoConfiguration()}
|
|
1113
|
-
set {_configuration = newValue}
|
|
1114
|
-
}
|
|
1115
|
-
/// Returns true if `configuration` has been explicitly set.
|
|
1116
|
-
public var hasConfiguration: Bool {return self._configuration != nil}
|
|
1117
|
-
/// Clears the value of `configuration`. Subsequent reads from it will return its default value.
|
|
1118
|
-
public mutating func clearConfiguration() {self._configuration = nil}
|
|
1119
|
-
|
|
1120
|
-
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1121
|
-
|
|
1122
|
-
public init() {}
|
|
1123
|
-
|
|
1124
|
-
fileprivate var _credentialID: BlueCredentialId? = nil
|
|
1125
|
-
fileprivate var _status: BlueRefreshOssSoCredentialStatus? = nil
|
|
1126
|
-
fileprivate var _configuration: BlueOssSoConfiguration? = nil
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
public struct BlueRefreshOssSoCredentials {
|
|
1130
|
-
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1131
|
-
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1132
|
-
// methods supported on all messages.
|
|
1133
|
-
|
|
1134
|
-
public var credentials: [BlueRefreshOssSoCredential] = []
|
|
1135
|
-
|
|
1136
|
-
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1137
|
-
|
|
1138
|
-
public init() {}
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
public struct BlueSynchronizeAccessCredential {
|
|
1142
|
-
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1143
|
-
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1144
|
-
// methods supported on all messages.
|
|
1145
|
-
|
|
1146
|
-
public var credentialID: BlueCredentialId {
|
|
1147
|
-
get {return _credentialID ?? BlueCredentialId()}
|
|
1148
|
-
set {_credentialID = newValue}
|
|
1149
|
-
}
|
|
1150
|
-
/// Returns true if `credentialID` has been explicitly set.
|
|
1151
|
-
public var hasCredentialID: Bool {return self._credentialID != nil}
|
|
1152
|
-
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1153
|
-
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1154
|
-
|
|
1155
|
-
public var returnCode: BlueReturnCode {
|
|
1156
|
-
get {return _returnCode ?? .ok}
|
|
1157
|
-
set {_returnCode = newValue}
|
|
1158
|
-
}
|
|
1159
|
-
/// Returns true if `returnCode` has been explicitly set.
|
|
1160
|
-
public var hasReturnCode: Bool {return self._returnCode != nil}
|
|
1161
|
-
/// Clears the value of `returnCode`. Subsequent reads from it will return its default value.
|
|
1162
|
-
public mutating func clearReturnCode() {self._returnCode = nil}
|
|
1163
|
-
|
|
1164
|
-
public var errorDescription: String {
|
|
1165
|
-
get {return _errorDescription ?? String()}
|
|
1166
|
-
set {_errorDescription = newValue}
|
|
1167
|
-
}
|
|
1168
|
-
/// Returns true if `errorDescription` has been explicitly set.
|
|
1169
|
-
public var hasErrorDescription: Bool {return self._errorDescription != nil}
|
|
1170
|
-
/// Clears the value of `errorDescription`. Subsequent reads from it will return its default value.
|
|
1171
|
-
public mutating func clearErrorDescription() {self._errorDescription = nil}
|
|
1172
|
-
|
|
1173
|
-
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1174
|
-
|
|
1175
|
-
public init() {}
|
|
1176
|
-
|
|
1177
|
-
fileprivate var _credentialID: BlueCredentialId? = nil
|
|
1178
|
-
fileprivate var _returnCode: BlueReturnCode? = nil
|
|
1179
|
-
fileprivate var _errorDescription: String? = nil
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
public struct BlueSynchronizeAccessCredentials {
|
|
1183
|
-
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1184
|
-
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1185
|
-
// methods supported on all messages.
|
|
1186
|
-
|
|
1187
|
-
public var credentials: [BlueSynchronizeAccessCredential] = []
|
|
1188
|
-
|
|
1189
|
-
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1190
|
-
|
|
1191
|
-
public init() {}
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
public struct BlueHardwareInfo {
|
|
1048
|
+
public struct BlueHardwareInfo: Sendable {
|
|
1195
1049
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1196
1050
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1197
1051
|
// methods supported on all messages.
|
|
@@ -1252,7 +1106,7 @@ public struct BlueHardwareInfo {
|
|
|
1252
1106
|
fileprivate var _type: BlueHardwareType? = nil
|
|
1253
1107
|
}
|
|
1254
1108
|
|
|
1255
|
-
public struct BlueSystemStatusExt {
|
|
1109
|
+
public struct BlueSystemStatusExt: Sendable {
|
|
1256
1110
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1257
1111
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1258
1112
|
// methods supported on all messages.
|
|
@@ -1313,299 +1167,745 @@ public struct BlueSystemStatusExt {
|
|
|
1313
1167
|
fileprivate var _hardwareInfo: BlueHardwareInfo? = nil
|
|
1314
1168
|
}
|
|
1315
1169
|
|
|
1316
|
-
|
|
1317
|
-
extension
|
|
1318
|
-
|
|
1319
|
-
|
|
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)
|
|
1170
|
+
public struct BlueRefreshOssSoIdentity: Sendable {
|
|
1171
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1172
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1173
|
+
// methods supported on all messages.
|
|
1337
1174
|
|
|
1338
|
-
|
|
1175
|
+
public var identityID: String {
|
|
1176
|
+
get {return _identityID ?? String()}
|
|
1177
|
+
set {_identityID = newValue}
|
|
1178
|
+
}
|
|
1179
|
+
/// Returns true if `identityID` has been explicitly set.
|
|
1180
|
+
public var hasIdentityID: Bool {return self._identityID != nil}
|
|
1181
|
+
/// Clears the value of `identityID`. Subsequent reads from it will return its default value.
|
|
1182
|
+
public mutating func clearIdentityID() {self._identityID = nil}
|
|
1339
1183
|
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
}
|
|
1184
|
+
/// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
1185
|
+
/// This should be renamed to BlueRefreshOssSoIdentityStatus later on.
|
|
1186
|
+
public var status: BlueRefreshOssSoCredentialStatus {
|
|
1187
|
+
get {return _status ?? .succeeded}
|
|
1188
|
+
set {_status = newValue}
|
|
1189
|
+
}
|
|
1190
|
+
/// Returns true if `status` has been explicitly set.
|
|
1191
|
+
public var hasStatus: Bool {return self._status != nil}
|
|
1192
|
+
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
1193
|
+
public mutating func clearStatus() {self._status = nil}
|
|
1346
1194
|
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1195
|
+
public var configuration: BlueOssSoConfiguration {
|
|
1196
|
+
get {return _configuration ?? BlueOssSoConfiguration()}
|
|
1197
|
+
set {_configuration = newValue}
|
|
1198
|
+
}
|
|
1199
|
+
/// Returns true if `configuration` has been explicitly set.
|
|
1200
|
+
public var hasConfiguration: Bool {return self._configuration != nil}
|
|
1201
|
+
/// Clears the value of `configuration`. Subsequent reads from it will return its default value.
|
|
1202
|
+
public mutating func clearConfiguration() {self._configuration = nil}
|
|
1203
|
+
|
|
1204
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1205
|
+
|
|
1206
|
+
public init() {}
|
|
1207
|
+
|
|
1208
|
+
fileprivate var _identityID: String? = nil
|
|
1209
|
+
fileprivate var _status: BlueRefreshOssSoCredentialStatus? = nil
|
|
1210
|
+
fileprivate var _configuration: BlueOssSoConfiguration? = nil
|
|
1354
1211
|
}
|
|
1355
1212
|
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
2: .same(proto: "nfcOssSuccessReadConfigurationMessage"),
|
|
1361
|
-
3: .same(proto: "nfcOssSuccessUpdateConfigurationMessage"),
|
|
1362
|
-
4: .same(proto: "nfcOssSuccessClearEventsMessage"),
|
|
1363
|
-
5: .same(proto: "nfcOssSuccessIsProvisionedMessage"),
|
|
1364
|
-
6: .same(proto: "nfcOssSuccessProvisionMessage"),
|
|
1365
|
-
7: .same(proto: "nfcOssSuccessUnprovisionMessage"),
|
|
1366
|
-
8: .same(proto: "nfcOssSuccessFormatMessage"),
|
|
1367
|
-
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
1368
|
-
100: .same(proto: "nfcTransponderConnected"),
|
|
1369
|
-
101: .same(proto: "nfcTransponderDisconnected"),
|
|
1370
|
-
10: .same(proto: "openViaOssTitle"),
|
|
1371
|
-
11: .same(proto: "openViaOssWaitMessage"),
|
|
1372
|
-
12: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
1373
|
-
13: .same(proto: "openViaOssAccessGrantedMessage"),
|
|
1374
|
-
14: .same(proto: "openViaOssAccessGrantedLockEngagedTitle"),
|
|
1375
|
-
15: .same(proto: "openViaOssAccessGrantedLockEngagedMessage"),
|
|
1376
|
-
16: .same(proto: "openViaOssAccessGrantedLockDisengagedTitle"),
|
|
1377
|
-
17: .same(proto: "openViaOssAccessGrantedLockDisengagedMessage"),
|
|
1378
|
-
18: .same(proto: "openViaOssAccessGrantedExtendedTimeMessage"),
|
|
1379
|
-
19: .same(proto: "openViaOssAccessDeniedTitle"),
|
|
1380
|
-
20: .same(proto: "openViaOssAccessDeniedMessage"),
|
|
1381
|
-
21: .same(proto: "openViaOssAccessDeniedScheduleMismatchMessage"),
|
|
1382
|
-
22: .same(proto: "openViaOssErrorTitle"),
|
|
1383
|
-
23: .same(proto: "cmnCancelLabel"),
|
|
1384
|
-
24: .same(proto: "cmnCloseLabel"),
|
|
1385
|
-
25: .same(proto: "syncDeviceInProgressTitle"),
|
|
1386
|
-
26: .same(proto: "syncDeviceFailedTitle"),
|
|
1387
|
-
27: .same(proto: "syncDeviceCancellingTitle"),
|
|
1388
|
-
28: .same(proto: "syncDeviceCompletedTitle"),
|
|
1389
|
-
29: .same(proto: "syncDeviceGetAuthenticationTokenTaskLabel"),
|
|
1390
|
-
30: .same(proto: "syncDeviceRetrieveDeviceConfigurationTaskLabel"),
|
|
1391
|
-
31: .same(proto: "syncDeviceUpdateDeviceConfigurationTaskLabel"),
|
|
1392
|
-
32: .same(proto: "syncDeviceUpdateDeviceTimeTaskLabel"),
|
|
1393
|
-
33: .same(proto: "syncDeviceWaitForDeviceToRestartTaskLabel"),
|
|
1394
|
-
34: .same(proto: "syncDevicePushEventLogsTaskLabel"),
|
|
1395
|
-
35: .same(proto: "syncDevicePushSystemLogsTaskLabel"),
|
|
1396
|
-
36: .same(proto: "syncDeviceRetrieveBlacklistEntriesTaskLabel"),
|
|
1397
|
-
37: .same(proto: "syncDeviceDeployBlacklistEntriesTaskLabel"),
|
|
1398
|
-
38: .same(proto: "syncDeviceRetrieveSystemStatusTaskLabel"),
|
|
1399
|
-
39: .same(proto: "syncDevicePushSystemStatusTaskLabel"),
|
|
1400
|
-
40: .same(proto: "syncDeviceCheckLatestFWLabel"),
|
|
1401
|
-
41: .same(proto: "dfuInProgressTitle"),
|
|
1402
|
-
42: .same(proto: "dfuFailedTitle"),
|
|
1403
|
-
43: .same(proto: "dfuCancellingTitle"),
|
|
1404
|
-
44: .same(proto: "dfuCompletedTitle"),
|
|
1405
|
-
45: .same(proto: "dfuGetAuthenticationTokenTaskLabel"),
|
|
1406
|
-
46: .same(proto: "dfuCheckLatestFWLabel"),
|
|
1407
|
-
47: .same(proto: "dfuDownloadLatestFWLabel"),
|
|
1408
|
-
48: .same(proto: "dfuPrepareUpdateLabel"),
|
|
1409
|
-
49: .same(proto: "dfuStartBootloaderLabel"),
|
|
1410
|
-
50: .same(proto: "dfuInitializationLabel"),
|
|
1411
|
-
51: .same(proto: "dfuUpdateFWLabel"),
|
|
1412
|
-
52: .same(proto: "dfuWaitForDeviceToRestartTaskLabel"),
|
|
1413
|
-
53: .same(proto: "accessTypeDefaultTime"),
|
|
1414
|
-
54: .same(proto: "accessTypeExtendedTime"),
|
|
1415
|
-
55: .same(proto: "accessTypeToggle"),
|
|
1416
|
-
56: .same(proto: "accessTypeClose"),
|
|
1417
|
-
57: .same(proto: "accessTypeCustomTime"),
|
|
1418
|
-
58: .same(proto: "openViaOssSoSelectAccessTypeTitle"),
|
|
1419
|
-
59: .same(proto: "openViaOssSoSelectAccessTypeMessage"),
|
|
1420
|
-
]
|
|
1213
|
+
public struct BlueRefreshOssSoIdentities: Sendable {
|
|
1214
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1215
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1216
|
+
// methods supported on all messages.
|
|
1421
1217
|
|
|
1422
|
-
|
|
1423
|
-
var _nfcWaitMessage: String? = nil
|
|
1424
|
-
var _nfcOssSuccessReadConfigurationMessage: String? = nil
|
|
1425
|
-
var _nfcOssSuccessUpdateConfigurationMessage: String? = nil
|
|
1426
|
-
var _nfcOssSuccessClearEventsMessage: String? = nil
|
|
1427
|
-
var _nfcOssSuccessIsProvisionedMessage: String? = nil
|
|
1428
|
-
var _nfcOssSuccessProvisionMessage: String? = nil
|
|
1429
|
-
var _nfcOssSuccessUnprovisionMessage: String? = nil
|
|
1430
|
-
var _nfcOssSuccessFormatMessage: String? = nil
|
|
1431
|
-
var _nfcInitializingWritingProcess: String? = nil
|
|
1432
|
-
var _nfcTransponderConnected: String? = nil
|
|
1433
|
-
var _nfcTransponderDisconnected: String? = nil
|
|
1434
|
-
var _openViaOssTitle: String? = nil
|
|
1435
|
-
var _openViaOssWaitMessage: String? = nil
|
|
1436
|
-
var _openViaOssAccessGrantedTitle: String? = nil
|
|
1437
|
-
var _openViaOssAccessGrantedMessage: String? = nil
|
|
1438
|
-
var _openViaOssAccessGrantedLockEngagedTitle: String? = nil
|
|
1439
|
-
var _openViaOssAccessGrantedLockEngagedMessage: String? = nil
|
|
1440
|
-
var _openViaOssAccessGrantedLockDisengagedTitle: String? = nil
|
|
1441
|
-
var _openViaOssAccessGrantedLockDisengagedMessage: String? = nil
|
|
1442
|
-
var _openViaOssAccessGrantedExtendedTimeMessage: String? = nil
|
|
1443
|
-
var _openViaOssAccessDeniedTitle: String? = nil
|
|
1444
|
-
var _openViaOssAccessDeniedMessage: String? = nil
|
|
1445
|
-
var _openViaOssAccessDeniedScheduleMismatchMessage: String? = nil
|
|
1446
|
-
var _openViaOssErrorTitle: String? = nil
|
|
1447
|
-
var _cmnCancelLabel: String? = nil
|
|
1448
|
-
var _cmnCloseLabel: String? = nil
|
|
1449
|
-
var _syncDeviceInProgressTitle: String? = nil
|
|
1450
|
-
var _syncDeviceFailedTitle: String? = nil
|
|
1451
|
-
var _syncDeviceCancellingTitle: String? = nil
|
|
1452
|
-
var _syncDeviceCompletedTitle: String? = nil
|
|
1453
|
-
var _syncDeviceGetAuthenticationTokenTaskLabel: String? = nil
|
|
1454
|
-
var _syncDeviceRetrieveDeviceConfigurationTaskLabel: String? = nil
|
|
1455
|
-
var _syncDeviceUpdateDeviceConfigurationTaskLabel: String? = nil
|
|
1456
|
-
var _syncDeviceUpdateDeviceTimeTaskLabel: String? = nil
|
|
1457
|
-
var _syncDeviceWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1458
|
-
var _syncDevicePushEventLogsTaskLabel: String? = nil
|
|
1459
|
-
var _syncDevicePushSystemLogsTaskLabel: String? = nil
|
|
1460
|
-
var _syncDeviceRetrieveBlacklistEntriesTaskLabel: String? = nil
|
|
1461
|
-
var _syncDeviceDeployBlacklistEntriesTaskLabel: String? = nil
|
|
1462
|
-
var _syncDeviceRetrieveSystemStatusTaskLabel: String? = nil
|
|
1463
|
-
var _syncDevicePushSystemStatusTaskLabel: String? = nil
|
|
1464
|
-
var _syncDeviceCheckLatestFwlabel: String? = nil
|
|
1465
|
-
var _dfuInProgressTitle: String? = nil
|
|
1466
|
-
var _dfuFailedTitle: String? = nil
|
|
1467
|
-
var _dfuCancellingTitle: String? = nil
|
|
1468
|
-
var _dfuCompletedTitle: String? = nil
|
|
1469
|
-
var _dfuGetAuthenticationTokenTaskLabel: String? = nil
|
|
1470
|
-
var _dfuCheckLatestFwlabel: String? = nil
|
|
1471
|
-
var _dfuDownloadLatestFwlabel: String? = nil
|
|
1472
|
-
var _dfuPrepareUpdateLabel: String? = nil
|
|
1473
|
-
var _dfuStartBootloaderLabel: String? = nil
|
|
1474
|
-
var _dfuInitializationLabel: String? = nil
|
|
1475
|
-
var _dfuUpdateFwlabel: String? = nil
|
|
1476
|
-
var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1477
|
-
var _accessTypeDefaultTime: String? = nil
|
|
1478
|
-
var _accessTypeExtendedTime: String? = nil
|
|
1479
|
-
var _accessTypeToggle: String? = nil
|
|
1480
|
-
var _accessTypeClose: String? = nil
|
|
1481
|
-
var _accessTypeCustomTime: String? = nil
|
|
1482
|
-
var _openViaOssSoSelectAccessTypeTitle: String? = nil
|
|
1483
|
-
var _openViaOssSoSelectAccessTypeMessage: String? = nil
|
|
1218
|
+
public var identities: [BlueRefreshOssSoIdentity] = []
|
|
1484
1219
|
|
|
1485
|
-
|
|
1486
|
-
// This property is used as the initial default value for new instances of the type.
|
|
1487
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
1488
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
1489
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
1490
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
1491
|
-
#else
|
|
1492
|
-
static let defaultInstance = _StorageClass()
|
|
1493
|
-
#endif
|
|
1220
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1494
1221
|
|
|
1495
|
-
|
|
1222
|
+
public init() {}
|
|
1223
|
+
}
|
|
1496
1224
|
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
_nfcOssSuccessFormatMessage = source._nfcOssSuccessFormatMessage
|
|
1506
|
-
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
1507
|
-
_nfcTransponderConnected = source._nfcTransponderConnected
|
|
1508
|
-
_nfcTransponderDisconnected = source._nfcTransponderDisconnected
|
|
1509
|
-
_openViaOssTitle = source._openViaOssTitle
|
|
1510
|
-
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
1511
|
-
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
1512
|
-
_openViaOssAccessGrantedMessage = source._openViaOssAccessGrantedMessage
|
|
1513
|
-
_openViaOssAccessGrantedLockEngagedTitle = source._openViaOssAccessGrantedLockEngagedTitle
|
|
1514
|
-
_openViaOssAccessGrantedLockEngagedMessage = source._openViaOssAccessGrantedLockEngagedMessage
|
|
1515
|
-
_openViaOssAccessGrantedLockDisengagedTitle = source._openViaOssAccessGrantedLockDisengagedTitle
|
|
1516
|
-
_openViaOssAccessGrantedLockDisengagedMessage = source._openViaOssAccessGrantedLockDisengagedMessage
|
|
1517
|
-
_openViaOssAccessGrantedExtendedTimeMessage = source._openViaOssAccessGrantedExtendedTimeMessage
|
|
1518
|
-
_openViaOssAccessDeniedTitle = source._openViaOssAccessDeniedTitle
|
|
1519
|
-
_openViaOssAccessDeniedMessage = source._openViaOssAccessDeniedMessage
|
|
1520
|
-
_openViaOssAccessDeniedScheduleMismatchMessage = source._openViaOssAccessDeniedScheduleMismatchMessage
|
|
1521
|
-
_openViaOssErrorTitle = source._openViaOssErrorTitle
|
|
1522
|
-
_cmnCancelLabel = source._cmnCancelLabel
|
|
1523
|
-
_cmnCloseLabel = source._cmnCloseLabel
|
|
1524
|
-
_syncDeviceInProgressTitle = source._syncDeviceInProgressTitle
|
|
1525
|
-
_syncDeviceFailedTitle = source._syncDeviceFailedTitle
|
|
1526
|
-
_syncDeviceCancellingTitle = source._syncDeviceCancellingTitle
|
|
1527
|
-
_syncDeviceCompletedTitle = source._syncDeviceCompletedTitle
|
|
1528
|
-
_syncDeviceGetAuthenticationTokenTaskLabel = source._syncDeviceGetAuthenticationTokenTaskLabel
|
|
1529
|
-
_syncDeviceRetrieveDeviceConfigurationTaskLabel = source._syncDeviceRetrieveDeviceConfigurationTaskLabel
|
|
1530
|
-
_syncDeviceUpdateDeviceConfigurationTaskLabel = source._syncDeviceUpdateDeviceConfigurationTaskLabel
|
|
1531
|
-
_syncDeviceUpdateDeviceTimeTaskLabel = source._syncDeviceUpdateDeviceTimeTaskLabel
|
|
1532
|
-
_syncDeviceWaitForDeviceToRestartTaskLabel = source._syncDeviceWaitForDeviceToRestartTaskLabel
|
|
1533
|
-
_syncDevicePushEventLogsTaskLabel = source._syncDevicePushEventLogsTaskLabel
|
|
1534
|
-
_syncDevicePushSystemLogsTaskLabel = source._syncDevicePushSystemLogsTaskLabel
|
|
1535
|
-
_syncDeviceRetrieveBlacklistEntriesTaskLabel = source._syncDeviceRetrieveBlacklistEntriesTaskLabel
|
|
1536
|
-
_syncDeviceDeployBlacklistEntriesTaskLabel = source._syncDeviceDeployBlacklistEntriesTaskLabel
|
|
1537
|
-
_syncDeviceRetrieveSystemStatusTaskLabel = source._syncDeviceRetrieveSystemStatusTaskLabel
|
|
1538
|
-
_syncDevicePushSystemStatusTaskLabel = source._syncDevicePushSystemStatusTaskLabel
|
|
1539
|
-
_syncDeviceCheckLatestFwlabel = source._syncDeviceCheckLatestFwlabel
|
|
1540
|
-
_dfuInProgressTitle = source._dfuInProgressTitle
|
|
1541
|
-
_dfuFailedTitle = source._dfuFailedTitle
|
|
1542
|
-
_dfuCancellingTitle = source._dfuCancellingTitle
|
|
1543
|
-
_dfuCompletedTitle = source._dfuCompletedTitle
|
|
1544
|
-
_dfuGetAuthenticationTokenTaskLabel = source._dfuGetAuthenticationTokenTaskLabel
|
|
1545
|
-
_dfuCheckLatestFwlabel = source._dfuCheckLatestFwlabel
|
|
1546
|
-
_dfuDownloadLatestFwlabel = source._dfuDownloadLatestFwlabel
|
|
1547
|
-
_dfuPrepareUpdateLabel = source._dfuPrepareUpdateLabel
|
|
1548
|
-
_dfuStartBootloaderLabel = source._dfuStartBootloaderLabel
|
|
1549
|
-
_dfuInitializationLabel = source._dfuInitializationLabel
|
|
1550
|
-
_dfuUpdateFwlabel = source._dfuUpdateFwlabel
|
|
1551
|
-
_dfuWaitForDeviceToRestartTaskLabel = source._dfuWaitForDeviceToRestartTaskLabel
|
|
1552
|
-
_accessTypeDefaultTime = source._accessTypeDefaultTime
|
|
1553
|
-
_accessTypeExtendedTime = source._accessTypeExtendedTime
|
|
1554
|
-
_accessTypeToggle = source._accessTypeToggle
|
|
1555
|
-
_accessTypeClose = source._accessTypeClose
|
|
1556
|
-
_accessTypeCustomTime = source._accessTypeCustomTime
|
|
1557
|
-
_openViaOssSoSelectAccessTypeTitle = source._openViaOssSoSelectAccessTypeTitle
|
|
1558
|
-
_openViaOssSoSelectAccessTypeMessage = source._openViaOssSoSelectAccessTypeMessage
|
|
1559
|
-
}
|
|
1225
|
+
public struct BlueSynchronizeIdentity: Sendable {
|
|
1226
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1227
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1228
|
+
// methods supported on all messages.
|
|
1229
|
+
|
|
1230
|
+
public var identityID: String {
|
|
1231
|
+
get {return _identityID ?? String()}
|
|
1232
|
+
set {_identityID = newValue}
|
|
1560
1233
|
}
|
|
1234
|
+
/// Returns true if `identityID` has been explicitly set.
|
|
1235
|
+
public var hasIdentityID: Bool {return self._identityID != nil}
|
|
1236
|
+
/// Clears the value of `identityID`. Subsequent reads from it will return its default value.
|
|
1237
|
+
public mutating func clearIdentityID() {self._identityID = nil}
|
|
1561
1238
|
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
}
|
|
1566
|
-
return _storage
|
|
1239
|
+
public var returnCode: BlueReturnCode {
|
|
1240
|
+
get {return _returnCode ?? .ok}
|
|
1241
|
+
set {_returnCode = newValue}
|
|
1567
1242
|
}
|
|
1243
|
+
/// Returns true if `returnCode` has been explicitly set.
|
|
1244
|
+
public var hasReturnCode: Bool {return self._returnCode != nil}
|
|
1245
|
+
/// Clears the value of `returnCode`. Subsequent reads from it will return its default value.
|
|
1246
|
+
public mutating func clearReturnCode() {self._returnCode = nil}
|
|
1568
1247
|
|
|
1569
|
-
public var
|
|
1570
|
-
return
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1248
|
+
public var errorDescription: String {
|
|
1249
|
+
get {return _errorDescription ?? String()}
|
|
1250
|
+
set {_errorDescription = newValue}
|
|
1251
|
+
}
|
|
1252
|
+
/// Returns true if `errorDescription` has been explicitly set.
|
|
1253
|
+
public var hasErrorDescription: Bool {return self._errorDescription != nil}
|
|
1254
|
+
/// Clears the value of `errorDescription`. Subsequent reads from it will return its default value.
|
|
1255
|
+
public mutating func clearErrorDescription() {self._errorDescription = nil}
|
|
1256
|
+
|
|
1257
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1258
|
+
|
|
1259
|
+
public init() {}
|
|
1260
|
+
|
|
1261
|
+
fileprivate var _identityID: String? = nil
|
|
1262
|
+
fileprivate var _returnCode: BlueReturnCode? = nil
|
|
1263
|
+
fileprivate var _errorDescription: String? = nil
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
public struct BlueSynchronizeIdentities: Sendable {
|
|
1267
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1268
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1269
|
+
// methods supported on all messages.
|
|
1270
|
+
|
|
1271
|
+
public var identities: [BlueSynchronizeIdentity] = []
|
|
1272
|
+
|
|
1273
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1274
|
+
|
|
1275
|
+
public init() {}
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
public struct BlueLegacyProvisioningRequest: Sendable {
|
|
1279
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1280
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1281
|
+
// methods supported on all messages.
|
|
1282
|
+
|
|
1283
|
+
public var deviceID: String {
|
|
1284
|
+
get {return _deviceID ?? String()}
|
|
1285
|
+
set {_deviceID = newValue}
|
|
1286
|
+
}
|
|
1287
|
+
/// Returns true if `deviceID` has been explicitly set.
|
|
1288
|
+
public var hasDeviceID: Bool {return self._deviceID != nil}
|
|
1289
|
+
/// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
|
|
1290
|
+
public mutating func clearDeviceID() {self._deviceID = nil}
|
|
1291
|
+
|
|
1292
|
+
public var soid: String {
|
|
1293
|
+
get {return _soid ?? String()}
|
|
1294
|
+
set {_soid = newValue}
|
|
1295
|
+
}
|
|
1296
|
+
/// Returns true if `soid` has been explicitly set.
|
|
1297
|
+
public var hasSoid: Bool {return self._soid != nil}
|
|
1298
|
+
/// Clears the value of `soid`. Subsequent reads from it will return its default value.
|
|
1299
|
+
public mutating func clearSoid() {self._soid = nil}
|
|
1300
|
+
|
|
1301
|
+
public var vendor: String {
|
|
1302
|
+
get {return _vendor ?? String()}
|
|
1303
|
+
set {_vendor = newValue}
|
|
1304
|
+
}
|
|
1305
|
+
/// Returns true if `vendor` has been explicitly set.
|
|
1306
|
+
public var hasVendor: Bool {return self._vendor != nil}
|
|
1307
|
+
/// Clears the value of `vendor`. Subsequent reads from it will return its default value.
|
|
1308
|
+
public mutating func clearVendor() {self._vendor = nil}
|
|
1309
|
+
|
|
1310
|
+
public var hardwareType: BlueHardwareType {
|
|
1311
|
+
get {return _hardwareType ?? .unknownHardware}
|
|
1312
|
+
set {_hardwareType = newValue}
|
|
1313
|
+
}
|
|
1314
|
+
/// Returns true if `hardwareType` has been explicitly set.
|
|
1315
|
+
public var hasHardwareType: Bool {return self._hardwareType != nil}
|
|
1316
|
+
/// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
|
|
1317
|
+
public mutating func clearHardwareType() {self._hardwareType = nil}
|
|
1318
|
+
|
|
1319
|
+
public var hardwareVersion: UInt32 {
|
|
1320
|
+
get {return _hardwareVersion ?? 0}
|
|
1321
|
+
set {_hardwareVersion = newValue}
|
|
1322
|
+
}
|
|
1323
|
+
/// Returns true if `hardwareVersion` has been explicitly set.
|
|
1324
|
+
public var hasHardwareVersion: Bool {return self._hardwareVersion != nil}
|
|
1325
|
+
/// Clears the value of `hardwareVersion`. Subsequent reads from it will return its default value.
|
|
1326
|
+
public mutating func clearHardwareVersion() {self._hardwareVersion = nil}
|
|
1327
|
+
|
|
1328
|
+
public var hardwareSerialNumber: String {
|
|
1329
|
+
get {return _hardwareSerialNumber ?? String()}
|
|
1330
|
+
set {_hardwareSerialNumber = newValue}
|
|
1331
|
+
}
|
|
1332
|
+
/// Returns true if `hardwareSerialNumber` has been explicitly set.
|
|
1333
|
+
public var hasHardwareSerialNumber: Bool {return self._hardwareSerialNumber != nil}
|
|
1334
|
+
/// Clears the value of `hardwareSerialNumber`. Subsequent reads from it will return its default value.
|
|
1335
|
+
public mutating func clearHardwareSerialNumber() {self._hardwareSerialNumber = nil}
|
|
1336
|
+
|
|
1337
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1338
|
+
|
|
1339
|
+
public init() {}
|
|
1340
|
+
|
|
1341
|
+
fileprivate var _deviceID: String? = nil
|
|
1342
|
+
fileprivate var _soid: String? = nil
|
|
1343
|
+
fileprivate var _vendor: String? = nil
|
|
1344
|
+
fileprivate var _hardwareType: BlueHardwareType? = nil
|
|
1345
|
+
fileprivate var _hardwareVersion: UInt32? = nil
|
|
1346
|
+
fileprivate var _hardwareSerialNumber: String? = nil
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
public struct BlueLegacyProvisioningResponse: Sendable {
|
|
1350
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1351
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1352
|
+
// methods supported on all messages.
|
|
1353
|
+
|
|
1354
|
+
public var deviceID: String {
|
|
1355
|
+
get {return _deviceID ?? String()}
|
|
1356
|
+
set {_deviceID = newValue}
|
|
1357
|
+
}
|
|
1358
|
+
/// Returns true if `deviceID` has been explicitly set.
|
|
1359
|
+
public var hasDeviceID: Bool {return self._deviceID != nil}
|
|
1360
|
+
/// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
|
|
1361
|
+
public mutating func clearDeviceID() {self._deviceID = nil}
|
|
1362
|
+
|
|
1363
|
+
public var objectID: String {
|
|
1364
|
+
get {return _objectID ?? String()}
|
|
1365
|
+
set {_objectID = newValue}
|
|
1366
|
+
}
|
|
1367
|
+
/// Returns true if `objectID` has been explicitly set.
|
|
1368
|
+
public var hasObjectID: Bool {return self._objectID != nil}
|
|
1369
|
+
/// Clears the value of `objectID`. Subsequent reads from it will return its default value.
|
|
1370
|
+
public mutating func clearObjectID() {self._objectID = nil}
|
|
1371
|
+
|
|
1372
|
+
public var provisioning: BlueSystemProvisioning {
|
|
1373
|
+
get {return _provisioning ?? BlueSystemProvisioning()}
|
|
1374
|
+
set {_provisioning = newValue}
|
|
1375
|
+
}
|
|
1376
|
+
/// Returns true if `provisioning` has been explicitly set.
|
|
1377
|
+
public var hasProvisioning: Bool {return self._provisioning != nil}
|
|
1378
|
+
/// Clears the value of `provisioning`. Subsequent reads from it will return its default value.
|
|
1379
|
+
public mutating func clearProvisioning() {self._provisioning = nil}
|
|
1380
|
+
|
|
1381
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1382
|
+
|
|
1383
|
+
public init() {}
|
|
1384
|
+
|
|
1385
|
+
fileprivate var _deviceID: String? = nil
|
|
1386
|
+
fileprivate var _objectID: String? = nil
|
|
1387
|
+
fileprivate var _provisioning: BlueSystemProvisioning? = nil
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
1391
|
+
public struct BlueAccessCredential: @unchecked Sendable {
|
|
1392
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1393
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1394
|
+
// methods supported on all messages.
|
|
1395
|
+
|
|
1396
|
+
public var credentialID: BlueCredentialId {
|
|
1397
|
+
get {return _storage._credentialID ?? BlueCredentialId()}
|
|
1398
|
+
set {_uniqueStorage()._credentialID = newValue}
|
|
1399
|
+
}
|
|
1400
|
+
/// Returns true if `credentialID` has been explicitly set.
|
|
1401
|
+
public var hasCredentialID: Bool {return _storage._credentialID != nil}
|
|
1402
|
+
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1403
|
+
public mutating func clearCredentialID() {_uniqueStorage()._credentialID = nil}
|
|
1404
|
+
|
|
1405
|
+
public var credentialType: BlueCredentialType {
|
|
1406
|
+
get {return _storage._credentialType ?? .regular}
|
|
1407
|
+
set {_uniqueStorage()._credentialType = newValue}
|
|
1408
|
+
}
|
|
1409
|
+
/// Returns true if `credentialType` has been explicitly set.
|
|
1410
|
+
public var hasCredentialType: Bool {return _storage._credentialType != nil}
|
|
1411
|
+
/// Clears the value of `credentialType`. Subsequent reads from it will return its default value.
|
|
1412
|
+
public mutating func clearCredentialType() {_uniqueStorage()._credentialType = nil}
|
|
1413
|
+
|
|
1414
|
+
public var name: String {
|
|
1415
|
+
get {return _storage._name ?? String()}
|
|
1416
|
+
set {_uniqueStorage()._name = newValue}
|
|
1417
|
+
}
|
|
1418
|
+
/// Returns true if `name` has been explicitly set.
|
|
1419
|
+
public var hasName: Bool {return _storage._name != nil}
|
|
1420
|
+
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
1421
|
+
public mutating func clearName() {_uniqueStorage()._name = nil}
|
|
1422
|
+
|
|
1423
|
+
public var description_p: String {
|
|
1424
|
+
get {return _storage._description_p ?? String()}
|
|
1425
|
+
set {_uniqueStorage()._description_p = newValue}
|
|
1426
|
+
}
|
|
1427
|
+
/// Returns true if `description_p` has been explicitly set.
|
|
1428
|
+
public var hasDescription_p: Bool {return _storage._description_p != nil}
|
|
1429
|
+
/// Clears the value of `description_p`. Subsequent reads from it will return its default value.
|
|
1430
|
+
public mutating func clearDescription_p() {_uniqueStorage()._description_p = nil}
|
|
1431
|
+
|
|
1432
|
+
public var siteID: Int32 {
|
|
1433
|
+
get {return _storage._siteID ?? 0}
|
|
1434
|
+
set {_uniqueStorage()._siteID = newValue}
|
|
1435
|
+
}
|
|
1436
|
+
/// Returns true if `siteID` has been explicitly set.
|
|
1437
|
+
public var hasSiteID: Bool {return _storage._siteID != nil}
|
|
1438
|
+
/// Clears the value of `siteID`. Subsequent reads from it will return its default value.
|
|
1439
|
+
public mutating func clearSiteID() {_uniqueStorage()._siteID = nil}
|
|
1440
|
+
|
|
1441
|
+
public var siteName: String {
|
|
1442
|
+
get {return _storage._siteName ?? String()}
|
|
1443
|
+
set {_uniqueStorage()._siteName = newValue}
|
|
1444
|
+
}
|
|
1445
|
+
/// Returns true if `siteName` has been explicitly set.
|
|
1446
|
+
public var hasSiteName: Bool {return _storage._siteName != nil}
|
|
1447
|
+
/// Clears the value of `siteName`. Subsequent reads from it will return its default value.
|
|
1448
|
+
public mutating func clearSiteName() {_uniqueStorage()._siteName = nil}
|
|
1449
|
+
|
|
1450
|
+
public var validFrom: BlueLocalTimestamp {
|
|
1451
|
+
get {return _storage._validFrom ?? BlueLocalTimestamp()}
|
|
1452
|
+
set {_uniqueStorage()._validFrom = newValue}
|
|
1453
|
+
}
|
|
1454
|
+
/// Returns true if `validFrom` has been explicitly set.
|
|
1455
|
+
public var hasValidFrom: Bool {return _storage._validFrom != nil}
|
|
1456
|
+
/// Clears the value of `validFrom`. Subsequent reads from it will return its default value.
|
|
1457
|
+
public mutating func clearValidFrom() {_uniqueStorage()._validFrom = nil}
|
|
1458
|
+
|
|
1459
|
+
public var validTo: BlueLocalTimestamp {
|
|
1460
|
+
get {return _storage._validTo ?? BlueLocalTimestamp()}
|
|
1461
|
+
set {_uniqueStorage()._validTo = newValue}
|
|
1462
|
+
}
|
|
1463
|
+
/// Returns true if `validTo` has been explicitly set.
|
|
1464
|
+
public var hasValidTo: Bool {return _storage._validTo != nil}
|
|
1465
|
+
/// Clears the value of `validTo`. Subsequent reads from it will return its default value.
|
|
1466
|
+
public mutating func clearValidTo() {_uniqueStorage()._validTo = nil}
|
|
1467
|
+
|
|
1468
|
+
public var validity: BlueLocalTimestamp {
|
|
1469
|
+
get {return _storage._validity ?? BlueLocalTimestamp()}
|
|
1470
|
+
set {_uniqueStorage()._validity = newValue}
|
|
1471
|
+
}
|
|
1472
|
+
/// Returns true if `validity` has been explicitly set.
|
|
1473
|
+
public var hasValidity: Bool {return _storage._validity != nil}
|
|
1474
|
+
/// Clears the value of `validity`. Subsequent reads from it will return its default value.
|
|
1475
|
+
public mutating func clearValidity() {_uniqueStorage()._validity = nil}
|
|
1476
|
+
|
|
1477
|
+
public var privateKey: Data {
|
|
1478
|
+
get {return _storage._privateKey ?? Data()}
|
|
1479
|
+
set {_uniqueStorage()._privateKey = newValue}
|
|
1480
|
+
}
|
|
1481
|
+
/// Returns true if `privateKey` has been explicitly set.
|
|
1482
|
+
public var hasPrivateKey: Bool {return _storage._privateKey != nil}
|
|
1483
|
+
/// Clears the value of `privateKey`. Subsequent reads from it will return its default value.
|
|
1484
|
+
public mutating func clearPrivateKey() {_uniqueStorage()._privateKey = nil}
|
|
1485
|
+
|
|
1486
|
+
public var receiverName: String {
|
|
1487
|
+
get {return _storage._receiverName ?? String()}
|
|
1488
|
+
set {_uniqueStorage()._receiverName = newValue}
|
|
1489
|
+
}
|
|
1490
|
+
/// Returns true if `receiverName` has been explicitly set.
|
|
1491
|
+
public var hasReceiverName: Bool {return _storage._receiverName != nil}
|
|
1492
|
+
/// Clears the value of `receiverName`. Subsequent reads from it will return its default value.
|
|
1493
|
+
public mutating func clearReceiverName() {_uniqueStorage()._receiverName = nil}
|
|
1494
|
+
|
|
1495
|
+
public var organisation: String {
|
|
1496
|
+
get {return _storage._organisation ?? String()}
|
|
1497
|
+
set {_uniqueStorage()._organisation = newValue}
|
|
1498
|
+
}
|
|
1499
|
+
/// Returns true if `organisation` has been explicitly set.
|
|
1500
|
+
public var hasOrganisation: Bool {return _storage._organisation != nil}
|
|
1501
|
+
/// Clears the value of `organisation`. Subsequent reads from it will return its default value.
|
|
1502
|
+
public mutating func clearOrganisation() {_uniqueStorage()._organisation = nil}
|
|
1503
|
+
|
|
1504
|
+
public var organisationName: String {
|
|
1505
|
+
get {return _storage._organisationName ?? String()}
|
|
1506
|
+
set {_uniqueStorage()._organisationName = newValue}
|
|
1507
|
+
}
|
|
1508
|
+
/// Returns true if `organisationName` has been explicitly set.
|
|
1509
|
+
public var hasOrganisationName: Bool {return _storage._organisationName != nil}
|
|
1510
|
+
/// Clears the value of `organisationName`. Subsequent reads from it will return its default value.
|
|
1511
|
+
public mutating func clearOrganisationName() {_uniqueStorage()._organisationName = nil}
|
|
1512
|
+
|
|
1513
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1514
|
+
|
|
1515
|
+
public init() {}
|
|
1516
|
+
|
|
1517
|
+
fileprivate var _storage = _StorageClass.defaultInstance
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
public struct BlueAccessCredentialList: Sendable {
|
|
1521
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1522
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1523
|
+
// methods supported on all messages.
|
|
1524
|
+
|
|
1525
|
+
public var credentials: [BlueAccessCredential] = []
|
|
1526
|
+
|
|
1527
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1528
|
+
|
|
1529
|
+
public init() {}
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
public struct BlueRefreshOssSoCredential: Sendable {
|
|
1533
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1534
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1535
|
+
// methods supported on all messages.
|
|
1536
|
+
|
|
1537
|
+
public var credentialID: BlueCredentialId {
|
|
1538
|
+
get {return _credentialID ?? BlueCredentialId()}
|
|
1539
|
+
set {_credentialID = newValue}
|
|
1540
|
+
}
|
|
1541
|
+
/// Returns true if `credentialID` has been explicitly set.
|
|
1542
|
+
public var hasCredentialID: Bool {return self._credentialID != nil}
|
|
1543
|
+
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1544
|
+
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1545
|
+
|
|
1546
|
+
public var status: BlueRefreshOssSoCredentialStatus {
|
|
1547
|
+
get {return _status ?? .succeeded}
|
|
1548
|
+
set {_status = newValue}
|
|
1549
|
+
}
|
|
1550
|
+
/// Returns true if `status` has been explicitly set.
|
|
1551
|
+
public var hasStatus: Bool {return self._status != nil}
|
|
1552
|
+
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
1553
|
+
public mutating func clearStatus() {self._status = nil}
|
|
1554
|
+
|
|
1555
|
+
public var configuration: BlueOssSoConfiguration {
|
|
1556
|
+
get {return _configuration ?? BlueOssSoConfiguration()}
|
|
1557
|
+
set {_configuration = newValue}
|
|
1558
|
+
}
|
|
1559
|
+
/// Returns true if `configuration` has been explicitly set.
|
|
1560
|
+
public var hasConfiguration: Bool {return self._configuration != nil}
|
|
1561
|
+
/// Clears the value of `configuration`. Subsequent reads from it will return its default value.
|
|
1562
|
+
public mutating func clearConfiguration() {self._configuration = nil}
|
|
1563
|
+
|
|
1564
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1565
|
+
|
|
1566
|
+
public init() {}
|
|
1567
|
+
|
|
1568
|
+
fileprivate var _credentialID: BlueCredentialId? = nil
|
|
1569
|
+
fileprivate var _status: BlueRefreshOssSoCredentialStatus? = nil
|
|
1570
|
+
fileprivate var _configuration: BlueOssSoConfiguration? = nil
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
public struct BlueRefreshOssSoCredentials: Sendable {
|
|
1574
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1575
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1576
|
+
// methods supported on all messages.
|
|
1577
|
+
|
|
1578
|
+
public var credentials: [BlueRefreshOssSoCredential] = []
|
|
1579
|
+
|
|
1580
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1581
|
+
|
|
1582
|
+
public init() {}
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
public struct BlueSynchronizeAccessCredential: Sendable {
|
|
1586
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1587
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1588
|
+
// methods supported on all messages.
|
|
1589
|
+
|
|
1590
|
+
public var credentialID: BlueCredentialId {
|
|
1591
|
+
get {return _credentialID ?? BlueCredentialId()}
|
|
1592
|
+
set {_credentialID = newValue}
|
|
1593
|
+
}
|
|
1594
|
+
/// Returns true if `credentialID` has been explicitly set.
|
|
1595
|
+
public var hasCredentialID: Bool {return self._credentialID != nil}
|
|
1596
|
+
/// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
|
|
1597
|
+
public mutating func clearCredentialID() {self._credentialID = nil}
|
|
1598
|
+
|
|
1599
|
+
public var returnCode: BlueReturnCode {
|
|
1600
|
+
get {return _returnCode ?? .ok}
|
|
1601
|
+
set {_returnCode = newValue}
|
|
1602
|
+
}
|
|
1603
|
+
/// Returns true if `returnCode` has been explicitly set.
|
|
1604
|
+
public var hasReturnCode: Bool {return self._returnCode != nil}
|
|
1605
|
+
/// Clears the value of `returnCode`. Subsequent reads from it will return its default value.
|
|
1606
|
+
public mutating func clearReturnCode() {self._returnCode = nil}
|
|
1607
|
+
|
|
1608
|
+
public var errorDescription: String {
|
|
1609
|
+
get {return _errorDescription ?? String()}
|
|
1610
|
+
set {_errorDescription = newValue}
|
|
1611
|
+
}
|
|
1612
|
+
/// Returns true if `errorDescription` has been explicitly set.
|
|
1613
|
+
public var hasErrorDescription: Bool {return self._errorDescription != nil}
|
|
1614
|
+
/// Clears the value of `errorDescription`. Subsequent reads from it will return its default value.
|
|
1615
|
+
public mutating func clearErrorDescription() {self._errorDescription = nil}
|
|
1616
|
+
|
|
1617
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1618
|
+
|
|
1619
|
+
public init() {}
|
|
1620
|
+
|
|
1621
|
+
fileprivate var _credentialID: BlueCredentialId? = nil
|
|
1622
|
+
fileprivate var _returnCode: BlueReturnCode? = nil
|
|
1623
|
+
fileprivate var _errorDescription: String? = nil
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
public struct BlueSynchronizeAccessCredentials: Sendable {
|
|
1627
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1628
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1629
|
+
// methods supported on all messages.
|
|
1630
|
+
|
|
1631
|
+
public var credentials: [BlueSynchronizeAccessCredential] = []
|
|
1632
|
+
|
|
1633
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1634
|
+
|
|
1635
|
+
public init() {}
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
1639
|
+
|
|
1640
|
+
extension BlueDeviceType: SwiftProtobuf._ProtoNameProviding {
|
|
1641
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1642
|
+
1: .same(proto: "BluetoothDevice"),
|
|
1643
|
+
2: .same(proto: "UWBDevice"),
|
|
1644
|
+
]
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
extension BlueRefreshOssSoCredentialStatus: SwiftProtobuf._ProtoNameProviding {
|
|
1648
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1649
|
+
1: .same(proto: "Succeeded"),
|
|
1650
|
+
2: .same(proto: "Failed"),
|
|
1651
|
+
3: .same(proto: "NotNeeded"),
|
|
1652
|
+
4: .same(proto: "Unsupported"),
|
|
1653
|
+
]
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1657
|
+
public static let protoMessageName: String = "BlueI18n"
|
|
1658
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1659
|
+
1: .same(proto: "nfcWaitMessage"),
|
|
1660
|
+
2: .same(proto: "nfcOssSuccessReadConfigurationMessage"),
|
|
1661
|
+
3: .same(proto: "nfcOssSuccessUpdateConfigurationMessage"),
|
|
1662
|
+
4: .same(proto: "nfcOssSuccessClearEventsMessage"),
|
|
1663
|
+
5: .same(proto: "nfcOssSuccessIsProvisionedMessage"),
|
|
1664
|
+
6: .same(proto: "nfcOssSuccessProvisionMessage"),
|
|
1665
|
+
7: .same(proto: "nfcOssSuccessUnprovisionMessage"),
|
|
1666
|
+
8: .same(proto: "nfcOssSuccessFormatMessage"),
|
|
1667
|
+
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
1668
|
+
100: .same(proto: "nfcTransponderConnected"),
|
|
1669
|
+
101: .same(proto: "nfcTransponderDisconnected"),
|
|
1670
|
+
10: .same(proto: "openViaOssTitle"),
|
|
1671
|
+
11: .same(proto: "openViaOssWaitMessage"),
|
|
1672
|
+
12: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
1673
|
+
13: .same(proto: "openViaOssAccessGrantedMessage"),
|
|
1674
|
+
14: .same(proto: "openViaOssAccessGrantedLockEngagedTitle"),
|
|
1675
|
+
15: .same(proto: "openViaOssAccessGrantedLockEngagedMessage"),
|
|
1676
|
+
16: .same(proto: "openViaOssAccessGrantedLockDisengagedTitle"),
|
|
1677
|
+
17: .same(proto: "openViaOssAccessGrantedLockDisengagedMessage"),
|
|
1678
|
+
18: .same(proto: "openViaOssAccessGrantedExtendedTimeMessage"),
|
|
1679
|
+
19: .same(proto: "openViaOssAccessDeniedTitle"),
|
|
1680
|
+
20: .same(proto: "openViaOssAccessDeniedMessage"),
|
|
1681
|
+
21: .same(proto: "openViaOssAccessDeniedScheduleMismatchMessage"),
|
|
1682
|
+
22: .same(proto: "openViaOssErrorTitle"),
|
|
1683
|
+
23: .same(proto: "cmnCancelLabel"),
|
|
1684
|
+
24: .same(proto: "cmnCloseLabel"),
|
|
1685
|
+
25: .same(proto: "syncDeviceInProgressTitle"),
|
|
1686
|
+
26: .same(proto: "syncDeviceFailedTitle"),
|
|
1687
|
+
27: .same(proto: "syncDeviceCancellingTitle"),
|
|
1688
|
+
28: .same(proto: "syncDeviceCompletedTitle"),
|
|
1689
|
+
29: .same(proto: "syncDeviceGetAuthenticationTokenTaskLabel"),
|
|
1690
|
+
30: .same(proto: "syncDeviceRetrieveDeviceConfigurationTaskLabel"),
|
|
1691
|
+
31: .same(proto: "syncDeviceUpdateDeviceConfigurationTaskLabel"),
|
|
1692
|
+
32: .same(proto: "syncDeviceUpdateDeviceTimeTaskLabel"),
|
|
1693
|
+
33: .same(proto: "syncDeviceWaitForDeviceToRestartTaskLabel"),
|
|
1694
|
+
34: .same(proto: "syncDevicePushEventLogsTaskLabel"),
|
|
1695
|
+
35: .same(proto: "syncDevicePushSystemLogsTaskLabel"),
|
|
1696
|
+
36: .same(proto: "syncDeviceRetrieveBlacklistEntriesTaskLabel"),
|
|
1697
|
+
37: .same(proto: "syncDeviceDeployBlacklistEntriesTaskLabel"),
|
|
1698
|
+
38: .same(proto: "syncDeviceRetrieveSystemStatusTaskLabel"),
|
|
1699
|
+
39: .same(proto: "syncDevicePushSystemStatusTaskLabel"),
|
|
1700
|
+
40: .same(proto: "syncDeviceCheckLatestFWLabel"),
|
|
1701
|
+
41: .same(proto: "dfuInProgressTitle"),
|
|
1702
|
+
42: .same(proto: "dfuFailedTitle"),
|
|
1703
|
+
43: .same(proto: "dfuCancellingTitle"),
|
|
1704
|
+
44: .same(proto: "dfuCompletedTitle"),
|
|
1705
|
+
45: .same(proto: "dfuGetAuthenticationTokenTaskLabel"),
|
|
1706
|
+
46: .same(proto: "dfuCheckLatestFWLabel"),
|
|
1707
|
+
47: .same(proto: "dfuDownloadLatestFWLabel"),
|
|
1708
|
+
48: .same(proto: "dfuPrepareUpdateLabel"),
|
|
1709
|
+
49: .same(proto: "dfuStartBootloaderLabel"),
|
|
1710
|
+
50: .same(proto: "dfuInitializationLabel"),
|
|
1711
|
+
51: .same(proto: "dfuUpdateFWLabel"),
|
|
1712
|
+
52: .same(proto: "dfuWaitForDeviceToRestartTaskLabel"),
|
|
1713
|
+
53: .same(proto: "accessTypeDefaultTime"),
|
|
1714
|
+
54: .same(proto: "accessTypeExtendedTime"),
|
|
1715
|
+
55: .same(proto: "accessTypeToggle"),
|
|
1716
|
+
56: .same(proto: "accessTypeClose"),
|
|
1717
|
+
57: .same(proto: "accessTypeCustomTime"),
|
|
1718
|
+
58: .same(proto: "openViaOssSoSelectAccessTypeTitle"),
|
|
1719
|
+
59: .same(proto: "openViaOssSoSelectAccessTypeMessage"),
|
|
1720
|
+
]
|
|
1721
|
+
|
|
1722
|
+
fileprivate class _StorageClass {
|
|
1723
|
+
var _nfcWaitMessage: String? = nil
|
|
1724
|
+
var _nfcOssSuccessReadConfigurationMessage: String? = nil
|
|
1725
|
+
var _nfcOssSuccessUpdateConfigurationMessage: String? = nil
|
|
1726
|
+
var _nfcOssSuccessClearEventsMessage: String? = nil
|
|
1727
|
+
var _nfcOssSuccessIsProvisionedMessage: String? = nil
|
|
1728
|
+
var _nfcOssSuccessProvisionMessage: String? = nil
|
|
1729
|
+
var _nfcOssSuccessUnprovisionMessage: String? = nil
|
|
1730
|
+
var _nfcOssSuccessFormatMessage: String? = nil
|
|
1731
|
+
var _nfcInitializingWritingProcess: String? = nil
|
|
1732
|
+
var _nfcTransponderConnected: String? = nil
|
|
1733
|
+
var _nfcTransponderDisconnected: String? = nil
|
|
1734
|
+
var _openViaOssTitle: String? = nil
|
|
1735
|
+
var _openViaOssWaitMessage: String? = nil
|
|
1736
|
+
var _openViaOssAccessGrantedTitle: String? = nil
|
|
1737
|
+
var _openViaOssAccessGrantedMessage: String? = nil
|
|
1738
|
+
var _openViaOssAccessGrantedLockEngagedTitle: String? = nil
|
|
1739
|
+
var _openViaOssAccessGrantedLockEngagedMessage: String? = nil
|
|
1740
|
+
var _openViaOssAccessGrantedLockDisengagedTitle: String? = nil
|
|
1741
|
+
var _openViaOssAccessGrantedLockDisengagedMessage: String? = nil
|
|
1742
|
+
var _openViaOssAccessGrantedExtendedTimeMessage: String? = nil
|
|
1743
|
+
var _openViaOssAccessDeniedTitle: String? = nil
|
|
1744
|
+
var _openViaOssAccessDeniedMessage: String? = nil
|
|
1745
|
+
var _openViaOssAccessDeniedScheduleMismatchMessage: String? = nil
|
|
1746
|
+
var _openViaOssErrorTitle: String? = nil
|
|
1747
|
+
var _cmnCancelLabel: String? = nil
|
|
1748
|
+
var _cmnCloseLabel: String? = nil
|
|
1749
|
+
var _syncDeviceInProgressTitle: String? = nil
|
|
1750
|
+
var _syncDeviceFailedTitle: String? = nil
|
|
1751
|
+
var _syncDeviceCancellingTitle: String? = nil
|
|
1752
|
+
var _syncDeviceCompletedTitle: String? = nil
|
|
1753
|
+
var _syncDeviceGetAuthenticationTokenTaskLabel: String? = nil
|
|
1754
|
+
var _syncDeviceRetrieveDeviceConfigurationTaskLabel: String? = nil
|
|
1755
|
+
var _syncDeviceUpdateDeviceConfigurationTaskLabel: String? = nil
|
|
1756
|
+
var _syncDeviceUpdateDeviceTimeTaskLabel: String? = nil
|
|
1757
|
+
var _syncDeviceWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1758
|
+
var _syncDevicePushEventLogsTaskLabel: String? = nil
|
|
1759
|
+
var _syncDevicePushSystemLogsTaskLabel: String? = nil
|
|
1760
|
+
var _syncDeviceRetrieveBlacklistEntriesTaskLabel: String? = nil
|
|
1761
|
+
var _syncDeviceDeployBlacklistEntriesTaskLabel: String? = nil
|
|
1762
|
+
var _syncDeviceRetrieveSystemStatusTaskLabel: String? = nil
|
|
1763
|
+
var _syncDevicePushSystemStatusTaskLabel: String? = nil
|
|
1764
|
+
var _syncDeviceCheckLatestFwlabel: String? = nil
|
|
1765
|
+
var _dfuInProgressTitle: String? = nil
|
|
1766
|
+
var _dfuFailedTitle: String? = nil
|
|
1767
|
+
var _dfuCancellingTitle: String? = nil
|
|
1768
|
+
var _dfuCompletedTitle: String? = nil
|
|
1769
|
+
var _dfuGetAuthenticationTokenTaskLabel: String? = nil
|
|
1770
|
+
var _dfuCheckLatestFwlabel: String? = nil
|
|
1771
|
+
var _dfuDownloadLatestFwlabel: String? = nil
|
|
1772
|
+
var _dfuPrepareUpdateLabel: String? = nil
|
|
1773
|
+
var _dfuStartBootloaderLabel: String? = nil
|
|
1774
|
+
var _dfuInitializationLabel: String? = nil
|
|
1775
|
+
var _dfuUpdateFwlabel: String? = nil
|
|
1776
|
+
var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1777
|
+
var _accessTypeDefaultTime: String? = nil
|
|
1778
|
+
var _accessTypeExtendedTime: String? = nil
|
|
1779
|
+
var _accessTypeToggle: String? = nil
|
|
1780
|
+
var _accessTypeClose: String? = nil
|
|
1781
|
+
var _accessTypeCustomTime: String? = nil
|
|
1782
|
+
var _openViaOssSoSelectAccessTypeTitle: String? = nil
|
|
1783
|
+
var _openViaOssSoSelectAccessTypeMessage: String? = nil
|
|
1784
|
+
|
|
1785
|
+
#if swift(>=5.10)
|
|
1786
|
+
// This property is used as the initial default value for new instances of the type.
|
|
1787
|
+
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
1788
|
+
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
1789
|
+
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
1790
|
+
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
1791
|
+
#else
|
|
1792
|
+
static let defaultInstance = _StorageClass()
|
|
1793
|
+
#endif
|
|
1794
|
+
|
|
1795
|
+
private init() {}
|
|
1796
|
+
|
|
1797
|
+
init(copying source: _StorageClass) {
|
|
1798
|
+
_nfcWaitMessage = source._nfcWaitMessage
|
|
1799
|
+
_nfcOssSuccessReadConfigurationMessage = source._nfcOssSuccessReadConfigurationMessage
|
|
1800
|
+
_nfcOssSuccessUpdateConfigurationMessage = source._nfcOssSuccessUpdateConfigurationMessage
|
|
1801
|
+
_nfcOssSuccessClearEventsMessage = source._nfcOssSuccessClearEventsMessage
|
|
1802
|
+
_nfcOssSuccessIsProvisionedMessage = source._nfcOssSuccessIsProvisionedMessage
|
|
1803
|
+
_nfcOssSuccessProvisionMessage = source._nfcOssSuccessProvisionMessage
|
|
1804
|
+
_nfcOssSuccessUnprovisionMessage = source._nfcOssSuccessUnprovisionMessage
|
|
1805
|
+
_nfcOssSuccessFormatMessage = source._nfcOssSuccessFormatMessage
|
|
1806
|
+
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
1807
|
+
_nfcTransponderConnected = source._nfcTransponderConnected
|
|
1808
|
+
_nfcTransponderDisconnected = source._nfcTransponderDisconnected
|
|
1809
|
+
_openViaOssTitle = source._openViaOssTitle
|
|
1810
|
+
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
1811
|
+
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
1812
|
+
_openViaOssAccessGrantedMessage = source._openViaOssAccessGrantedMessage
|
|
1813
|
+
_openViaOssAccessGrantedLockEngagedTitle = source._openViaOssAccessGrantedLockEngagedTitle
|
|
1814
|
+
_openViaOssAccessGrantedLockEngagedMessage = source._openViaOssAccessGrantedLockEngagedMessage
|
|
1815
|
+
_openViaOssAccessGrantedLockDisengagedTitle = source._openViaOssAccessGrantedLockDisengagedTitle
|
|
1816
|
+
_openViaOssAccessGrantedLockDisengagedMessage = source._openViaOssAccessGrantedLockDisengagedMessage
|
|
1817
|
+
_openViaOssAccessGrantedExtendedTimeMessage = source._openViaOssAccessGrantedExtendedTimeMessage
|
|
1818
|
+
_openViaOssAccessDeniedTitle = source._openViaOssAccessDeniedTitle
|
|
1819
|
+
_openViaOssAccessDeniedMessage = source._openViaOssAccessDeniedMessage
|
|
1820
|
+
_openViaOssAccessDeniedScheduleMismatchMessage = source._openViaOssAccessDeniedScheduleMismatchMessage
|
|
1821
|
+
_openViaOssErrorTitle = source._openViaOssErrorTitle
|
|
1822
|
+
_cmnCancelLabel = source._cmnCancelLabel
|
|
1823
|
+
_cmnCloseLabel = source._cmnCloseLabel
|
|
1824
|
+
_syncDeviceInProgressTitle = source._syncDeviceInProgressTitle
|
|
1825
|
+
_syncDeviceFailedTitle = source._syncDeviceFailedTitle
|
|
1826
|
+
_syncDeviceCancellingTitle = source._syncDeviceCancellingTitle
|
|
1827
|
+
_syncDeviceCompletedTitle = source._syncDeviceCompletedTitle
|
|
1828
|
+
_syncDeviceGetAuthenticationTokenTaskLabel = source._syncDeviceGetAuthenticationTokenTaskLabel
|
|
1829
|
+
_syncDeviceRetrieveDeviceConfigurationTaskLabel = source._syncDeviceRetrieveDeviceConfigurationTaskLabel
|
|
1830
|
+
_syncDeviceUpdateDeviceConfigurationTaskLabel = source._syncDeviceUpdateDeviceConfigurationTaskLabel
|
|
1831
|
+
_syncDeviceUpdateDeviceTimeTaskLabel = source._syncDeviceUpdateDeviceTimeTaskLabel
|
|
1832
|
+
_syncDeviceWaitForDeviceToRestartTaskLabel = source._syncDeviceWaitForDeviceToRestartTaskLabel
|
|
1833
|
+
_syncDevicePushEventLogsTaskLabel = source._syncDevicePushEventLogsTaskLabel
|
|
1834
|
+
_syncDevicePushSystemLogsTaskLabel = source._syncDevicePushSystemLogsTaskLabel
|
|
1835
|
+
_syncDeviceRetrieveBlacklistEntriesTaskLabel = source._syncDeviceRetrieveBlacklistEntriesTaskLabel
|
|
1836
|
+
_syncDeviceDeployBlacklistEntriesTaskLabel = source._syncDeviceDeployBlacklistEntriesTaskLabel
|
|
1837
|
+
_syncDeviceRetrieveSystemStatusTaskLabel = source._syncDeviceRetrieveSystemStatusTaskLabel
|
|
1838
|
+
_syncDevicePushSystemStatusTaskLabel = source._syncDevicePushSystemStatusTaskLabel
|
|
1839
|
+
_syncDeviceCheckLatestFwlabel = source._syncDeviceCheckLatestFwlabel
|
|
1840
|
+
_dfuInProgressTitle = source._dfuInProgressTitle
|
|
1841
|
+
_dfuFailedTitle = source._dfuFailedTitle
|
|
1842
|
+
_dfuCancellingTitle = source._dfuCancellingTitle
|
|
1843
|
+
_dfuCompletedTitle = source._dfuCompletedTitle
|
|
1844
|
+
_dfuGetAuthenticationTokenTaskLabel = source._dfuGetAuthenticationTokenTaskLabel
|
|
1845
|
+
_dfuCheckLatestFwlabel = source._dfuCheckLatestFwlabel
|
|
1846
|
+
_dfuDownloadLatestFwlabel = source._dfuDownloadLatestFwlabel
|
|
1847
|
+
_dfuPrepareUpdateLabel = source._dfuPrepareUpdateLabel
|
|
1848
|
+
_dfuStartBootloaderLabel = source._dfuStartBootloaderLabel
|
|
1849
|
+
_dfuInitializationLabel = source._dfuInitializationLabel
|
|
1850
|
+
_dfuUpdateFwlabel = source._dfuUpdateFwlabel
|
|
1851
|
+
_dfuWaitForDeviceToRestartTaskLabel = source._dfuWaitForDeviceToRestartTaskLabel
|
|
1852
|
+
_accessTypeDefaultTime = source._accessTypeDefaultTime
|
|
1853
|
+
_accessTypeExtendedTime = source._accessTypeExtendedTime
|
|
1854
|
+
_accessTypeToggle = source._accessTypeToggle
|
|
1855
|
+
_accessTypeClose = source._accessTypeClose
|
|
1856
|
+
_accessTypeCustomTime = source._accessTypeCustomTime
|
|
1857
|
+
_openViaOssSoSelectAccessTypeTitle = source._openViaOssSoSelectAccessTypeTitle
|
|
1858
|
+
_openViaOssSoSelectAccessTypeMessage = source._openViaOssSoSelectAccessTypeMessage
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
fileprivate mutating func _uniqueStorage() -> _StorageClass {
|
|
1863
|
+
if !isKnownUniquelyReferenced(&_storage) {
|
|
1864
|
+
_storage = _StorageClass(copying: _storage)
|
|
1865
|
+
}
|
|
1866
|
+
return _storage
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
public var isInitialized: Bool {
|
|
1870
|
+
return withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
1871
|
+
if _storage._nfcWaitMessage == nil {return false}
|
|
1872
|
+
if _storage._nfcOssSuccessReadConfigurationMessage == nil {return false}
|
|
1873
|
+
if _storage._nfcOssSuccessUpdateConfigurationMessage == nil {return false}
|
|
1874
|
+
if _storage._nfcOssSuccessClearEventsMessage == nil {return false}
|
|
1875
|
+
if _storage._nfcOssSuccessIsProvisionedMessage == nil {return false}
|
|
1876
|
+
if _storage._nfcOssSuccessProvisionMessage == nil {return false}
|
|
1877
|
+
if _storage._nfcOssSuccessUnprovisionMessage == nil {return false}
|
|
1878
|
+
if _storage._nfcOssSuccessFormatMessage == nil {return false}
|
|
1879
|
+
if _storage._nfcInitializingWritingProcess == nil {return false}
|
|
1880
|
+
if _storage._nfcTransponderConnected == nil {return false}
|
|
1881
|
+
if _storage._nfcTransponderDisconnected == nil {return false}
|
|
1882
|
+
if _storage._openViaOssTitle == nil {return false}
|
|
1883
|
+
if _storage._openViaOssWaitMessage == nil {return false}
|
|
1884
|
+
if _storage._openViaOssAccessGrantedTitle == nil {return false}
|
|
1885
|
+
if _storage._openViaOssAccessGrantedMessage == nil {return false}
|
|
1886
|
+
if _storage._openViaOssAccessGrantedLockEngagedTitle == nil {return false}
|
|
1887
|
+
if _storage._openViaOssAccessGrantedLockEngagedMessage == nil {return false}
|
|
1888
|
+
if _storage._openViaOssAccessGrantedLockDisengagedTitle == nil {return false}
|
|
1889
|
+
if _storage._openViaOssAccessGrantedLockDisengagedMessage == nil {return false}
|
|
1890
|
+
if _storage._openViaOssAccessGrantedExtendedTimeMessage == nil {return false}
|
|
1891
|
+
if _storage._openViaOssAccessDeniedTitle == nil {return false}
|
|
1892
|
+
if _storage._openViaOssAccessDeniedMessage == nil {return false}
|
|
1893
|
+
if _storage._openViaOssAccessDeniedScheduleMismatchMessage == nil {return false}
|
|
1894
|
+
if _storage._openViaOssErrorTitle == nil {return false}
|
|
1895
|
+
if _storage._cmnCancelLabel == nil {return false}
|
|
1896
|
+
if _storage._cmnCloseLabel == nil {return false}
|
|
1897
|
+
if _storage._syncDeviceInProgressTitle == nil {return false}
|
|
1898
|
+
if _storage._syncDeviceFailedTitle == nil {return false}
|
|
1899
|
+
if _storage._syncDeviceCancellingTitle == nil {return false}
|
|
1900
|
+
if _storage._syncDeviceCompletedTitle == nil {return false}
|
|
1901
|
+
if _storage._syncDeviceGetAuthenticationTokenTaskLabel == nil {return false}
|
|
1902
|
+
if _storage._syncDeviceRetrieveDeviceConfigurationTaskLabel == nil {return false}
|
|
1903
|
+
if _storage._syncDeviceUpdateDeviceConfigurationTaskLabel == nil {return false}
|
|
1904
|
+
if _storage._syncDeviceUpdateDeviceTimeTaskLabel == nil {return false}
|
|
1905
|
+
if _storage._syncDeviceWaitForDeviceToRestartTaskLabel == nil {return false}
|
|
1906
|
+
if _storage._syncDevicePushEventLogsTaskLabel == nil {return false}
|
|
1907
|
+
if _storage._syncDevicePushSystemLogsTaskLabel == nil {return false}
|
|
1908
|
+
if _storage._syncDeviceRetrieveBlacklistEntriesTaskLabel == nil {return false}
|
|
1609
1909
|
if _storage._syncDeviceDeployBlacklistEntriesTaskLabel == nil {return false}
|
|
1610
1910
|
if _storage._syncDeviceRetrieveSystemStatusTaskLabel == nil {return false}
|
|
1611
1911
|
if _storage._syncDevicePushSystemStatusTaskLabel == nil {return false}
|
|
@@ -1634,360 +1934,1037 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1634
1934
|
}
|
|
1635
1935
|
|
|
1636
1936
|
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
1637
|
-
_ = _uniqueStorage()
|
|
1638
|
-
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
1639
|
-
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1640
|
-
// The use of inline closures is to circumvent an issue where the compiler
|
|
1641
|
-
// allocates stack space for every case branch when no optimizations are
|
|
1642
|
-
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1643
|
-
switch fieldNumber {
|
|
1644
|
-
case 1: try { try decoder.decodeSingularStringField(value: &_storage._nfcWaitMessage) }()
|
|
1645
|
-
case 2: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessReadConfigurationMessage) }()
|
|
1646
|
-
case 3: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessUpdateConfigurationMessage) }()
|
|
1647
|
-
case 4: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessClearEventsMessage) }()
|
|
1648
|
-
case 5: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessIsProvisionedMessage) }()
|
|
1649
|
-
case 6: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessProvisionMessage) }()
|
|
1650
|
-
case 7: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessUnprovisionMessage) }()
|
|
1651
|
-
case 8: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessFormatMessage) }()
|
|
1652
|
-
case 9: try { try decoder.decodeSingularStringField(value: &_storage._nfcInitializingWritingProcess) }()
|
|
1653
|
-
case 10: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssTitle) }()
|
|
1654
|
-
case 11: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssWaitMessage) }()
|
|
1655
|
-
case 12: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedTitle) }()
|
|
1656
|
-
case 13: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedMessage) }()
|
|
1657
|
-
case 14: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockEngagedTitle) }()
|
|
1658
|
-
case 15: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockEngagedMessage) }()
|
|
1659
|
-
case 16: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockDisengagedTitle) }()
|
|
1660
|
-
case 17: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockDisengagedMessage) }()
|
|
1661
|
-
case 18: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedExtendedTimeMessage) }()
|
|
1662
|
-
case 19: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedTitle) }()
|
|
1663
|
-
case 20: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedMessage) }()
|
|
1664
|
-
case 21: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedScheduleMismatchMessage) }()
|
|
1665
|
-
case 22: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssErrorTitle) }()
|
|
1666
|
-
case 23: try { try decoder.decodeSingularStringField(value: &_storage._cmnCancelLabel) }()
|
|
1667
|
-
case 24: try { try decoder.decodeSingularStringField(value: &_storage._cmnCloseLabel) }()
|
|
1668
|
-
case 25: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceInProgressTitle) }()
|
|
1669
|
-
case 26: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceFailedTitle) }()
|
|
1670
|
-
case 27: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCancellingTitle) }()
|
|
1671
|
-
case 28: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCompletedTitle) }()
|
|
1672
|
-
case 29: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceGetAuthenticationTokenTaskLabel) }()
|
|
1673
|
-
case 30: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveDeviceConfigurationTaskLabel) }()
|
|
1674
|
-
case 31: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceUpdateDeviceConfigurationTaskLabel) }()
|
|
1675
|
-
case 32: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceUpdateDeviceTimeTaskLabel) }()
|
|
1676
|
-
case 33: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceWaitForDeviceToRestartTaskLabel) }()
|
|
1677
|
-
case 34: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushEventLogsTaskLabel) }()
|
|
1678
|
-
case 35: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemLogsTaskLabel) }()
|
|
1679
|
-
case 36: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveBlacklistEntriesTaskLabel) }()
|
|
1680
|
-
case 37: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceDeployBlacklistEntriesTaskLabel) }()
|
|
1681
|
-
case 38: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveSystemStatusTaskLabel) }()
|
|
1682
|
-
case 39: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemStatusTaskLabel) }()
|
|
1683
|
-
case 40: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCheckLatestFwlabel) }()
|
|
1684
|
-
case 41: try { try decoder.decodeSingularStringField(value: &_storage._dfuInProgressTitle) }()
|
|
1685
|
-
case 42: try { try decoder.decodeSingularStringField(value: &_storage._dfuFailedTitle) }()
|
|
1686
|
-
case 43: try { try decoder.decodeSingularStringField(value: &_storage._dfuCancellingTitle) }()
|
|
1687
|
-
case 44: try { try decoder.decodeSingularStringField(value: &_storage._dfuCompletedTitle) }()
|
|
1688
|
-
case 45: try { try decoder.decodeSingularStringField(value: &_storage._dfuGetAuthenticationTokenTaskLabel) }()
|
|
1689
|
-
case 46: try { try decoder.decodeSingularStringField(value: &_storage._dfuCheckLatestFwlabel) }()
|
|
1690
|
-
case 47: try { try decoder.decodeSingularStringField(value: &_storage._dfuDownloadLatestFwlabel) }()
|
|
1691
|
-
case 48: try { try decoder.decodeSingularStringField(value: &_storage._dfuPrepareUpdateLabel) }()
|
|
1692
|
-
case 49: try { try decoder.decodeSingularStringField(value: &_storage._dfuStartBootloaderLabel) }()
|
|
1693
|
-
case 50: try { try decoder.decodeSingularStringField(value: &_storage._dfuInitializationLabel) }()
|
|
1694
|
-
case 51: try { try decoder.decodeSingularStringField(value: &_storage._dfuUpdateFwlabel) }()
|
|
1695
|
-
case 52: try { try decoder.decodeSingularStringField(value: &_storage._dfuWaitForDeviceToRestartTaskLabel) }()
|
|
1696
|
-
case 53: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeDefaultTime) }()
|
|
1697
|
-
case 54: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeExtendedTime) }()
|
|
1698
|
-
case 55: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeToggle) }()
|
|
1699
|
-
case 56: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeClose) }()
|
|
1700
|
-
case 57: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeCustomTime) }()
|
|
1701
|
-
case 58: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeTitle) }()
|
|
1702
|
-
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
1703
|
-
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
1704
|
-
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
1705
|
-
default: break
|
|
1706
|
-
}
|
|
1937
|
+
_ = _uniqueStorage()
|
|
1938
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
1939
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1940
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1941
|
+
// allocates stack space for every case branch when no optimizations are
|
|
1942
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1943
|
+
switch fieldNumber {
|
|
1944
|
+
case 1: try { try decoder.decodeSingularStringField(value: &_storage._nfcWaitMessage) }()
|
|
1945
|
+
case 2: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessReadConfigurationMessage) }()
|
|
1946
|
+
case 3: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessUpdateConfigurationMessage) }()
|
|
1947
|
+
case 4: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessClearEventsMessage) }()
|
|
1948
|
+
case 5: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessIsProvisionedMessage) }()
|
|
1949
|
+
case 6: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessProvisionMessage) }()
|
|
1950
|
+
case 7: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessUnprovisionMessage) }()
|
|
1951
|
+
case 8: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessFormatMessage) }()
|
|
1952
|
+
case 9: try { try decoder.decodeSingularStringField(value: &_storage._nfcInitializingWritingProcess) }()
|
|
1953
|
+
case 10: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssTitle) }()
|
|
1954
|
+
case 11: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssWaitMessage) }()
|
|
1955
|
+
case 12: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedTitle) }()
|
|
1956
|
+
case 13: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedMessage) }()
|
|
1957
|
+
case 14: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockEngagedTitle) }()
|
|
1958
|
+
case 15: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockEngagedMessage) }()
|
|
1959
|
+
case 16: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockDisengagedTitle) }()
|
|
1960
|
+
case 17: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedLockDisengagedMessage) }()
|
|
1961
|
+
case 18: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedExtendedTimeMessage) }()
|
|
1962
|
+
case 19: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedTitle) }()
|
|
1963
|
+
case 20: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedMessage) }()
|
|
1964
|
+
case 21: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedScheduleMismatchMessage) }()
|
|
1965
|
+
case 22: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssErrorTitle) }()
|
|
1966
|
+
case 23: try { try decoder.decodeSingularStringField(value: &_storage._cmnCancelLabel) }()
|
|
1967
|
+
case 24: try { try decoder.decodeSingularStringField(value: &_storage._cmnCloseLabel) }()
|
|
1968
|
+
case 25: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceInProgressTitle) }()
|
|
1969
|
+
case 26: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceFailedTitle) }()
|
|
1970
|
+
case 27: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCancellingTitle) }()
|
|
1971
|
+
case 28: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCompletedTitle) }()
|
|
1972
|
+
case 29: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceGetAuthenticationTokenTaskLabel) }()
|
|
1973
|
+
case 30: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveDeviceConfigurationTaskLabel) }()
|
|
1974
|
+
case 31: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceUpdateDeviceConfigurationTaskLabel) }()
|
|
1975
|
+
case 32: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceUpdateDeviceTimeTaskLabel) }()
|
|
1976
|
+
case 33: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceWaitForDeviceToRestartTaskLabel) }()
|
|
1977
|
+
case 34: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushEventLogsTaskLabel) }()
|
|
1978
|
+
case 35: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemLogsTaskLabel) }()
|
|
1979
|
+
case 36: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveBlacklistEntriesTaskLabel) }()
|
|
1980
|
+
case 37: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceDeployBlacklistEntriesTaskLabel) }()
|
|
1981
|
+
case 38: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveSystemStatusTaskLabel) }()
|
|
1982
|
+
case 39: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemStatusTaskLabel) }()
|
|
1983
|
+
case 40: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCheckLatestFwlabel) }()
|
|
1984
|
+
case 41: try { try decoder.decodeSingularStringField(value: &_storage._dfuInProgressTitle) }()
|
|
1985
|
+
case 42: try { try decoder.decodeSingularStringField(value: &_storage._dfuFailedTitle) }()
|
|
1986
|
+
case 43: try { try decoder.decodeSingularStringField(value: &_storage._dfuCancellingTitle) }()
|
|
1987
|
+
case 44: try { try decoder.decodeSingularStringField(value: &_storage._dfuCompletedTitle) }()
|
|
1988
|
+
case 45: try { try decoder.decodeSingularStringField(value: &_storage._dfuGetAuthenticationTokenTaskLabel) }()
|
|
1989
|
+
case 46: try { try decoder.decodeSingularStringField(value: &_storage._dfuCheckLatestFwlabel) }()
|
|
1990
|
+
case 47: try { try decoder.decodeSingularStringField(value: &_storage._dfuDownloadLatestFwlabel) }()
|
|
1991
|
+
case 48: try { try decoder.decodeSingularStringField(value: &_storage._dfuPrepareUpdateLabel) }()
|
|
1992
|
+
case 49: try { try decoder.decodeSingularStringField(value: &_storage._dfuStartBootloaderLabel) }()
|
|
1993
|
+
case 50: try { try decoder.decodeSingularStringField(value: &_storage._dfuInitializationLabel) }()
|
|
1994
|
+
case 51: try { try decoder.decodeSingularStringField(value: &_storage._dfuUpdateFwlabel) }()
|
|
1995
|
+
case 52: try { try decoder.decodeSingularStringField(value: &_storage._dfuWaitForDeviceToRestartTaskLabel) }()
|
|
1996
|
+
case 53: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeDefaultTime) }()
|
|
1997
|
+
case 54: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeExtendedTime) }()
|
|
1998
|
+
case 55: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeToggle) }()
|
|
1999
|
+
case 56: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeClose) }()
|
|
2000
|
+
case 57: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeCustomTime) }()
|
|
2001
|
+
case 58: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeTitle) }()
|
|
2002
|
+
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
2003
|
+
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
2004
|
+
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
2005
|
+
default: break
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2012
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
2013
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2014
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2015
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2016
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2017
|
+
try { if let v = _storage._nfcWaitMessage {
|
|
2018
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2019
|
+
} }()
|
|
2020
|
+
try { if let v = _storage._nfcOssSuccessReadConfigurationMessage {
|
|
2021
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2022
|
+
} }()
|
|
2023
|
+
try { if let v = _storage._nfcOssSuccessUpdateConfigurationMessage {
|
|
2024
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
2025
|
+
} }()
|
|
2026
|
+
try { if let v = _storage._nfcOssSuccessClearEventsMessage {
|
|
2027
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
2028
|
+
} }()
|
|
2029
|
+
try { if let v = _storage._nfcOssSuccessIsProvisionedMessage {
|
|
2030
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 5)
|
|
2031
|
+
} }()
|
|
2032
|
+
try { if let v = _storage._nfcOssSuccessProvisionMessage {
|
|
2033
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 6)
|
|
2034
|
+
} }()
|
|
2035
|
+
try { if let v = _storage._nfcOssSuccessUnprovisionMessage {
|
|
2036
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 7)
|
|
2037
|
+
} }()
|
|
2038
|
+
try { if let v = _storage._nfcOssSuccessFormatMessage {
|
|
2039
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 8)
|
|
2040
|
+
} }()
|
|
2041
|
+
try { if let v = _storage._nfcInitializingWritingProcess {
|
|
2042
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 9)
|
|
2043
|
+
} }()
|
|
2044
|
+
try { if let v = _storage._openViaOssTitle {
|
|
2045
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 10)
|
|
2046
|
+
} }()
|
|
2047
|
+
try { if let v = _storage._openViaOssWaitMessage {
|
|
2048
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 11)
|
|
2049
|
+
} }()
|
|
2050
|
+
try { if let v = _storage._openViaOssAccessGrantedTitle {
|
|
2051
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 12)
|
|
2052
|
+
} }()
|
|
2053
|
+
try { if let v = _storage._openViaOssAccessGrantedMessage {
|
|
2054
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 13)
|
|
2055
|
+
} }()
|
|
2056
|
+
try { if let v = _storage._openViaOssAccessGrantedLockEngagedTitle {
|
|
2057
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 14)
|
|
2058
|
+
} }()
|
|
2059
|
+
try { if let v = _storage._openViaOssAccessGrantedLockEngagedMessage {
|
|
2060
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 15)
|
|
2061
|
+
} }()
|
|
2062
|
+
try { if let v = _storage._openViaOssAccessGrantedLockDisengagedTitle {
|
|
2063
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 16)
|
|
2064
|
+
} }()
|
|
2065
|
+
try { if let v = _storage._openViaOssAccessGrantedLockDisengagedMessage {
|
|
2066
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 17)
|
|
2067
|
+
} }()
|
|
2068
|
+
try { if let v = _storage._openViaOssAccessGrantedExtendedTimeMessage {
|
|
2069
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 18)
|
|
2070
|
+
} }()
|
|
2071
|
+
try { if let v = _storage._openViaOssAccessDeniedTitle {
|
|
2072
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 19)
|
|
2073
|
+
} }()
|
|
2074
|
+
try { if let v = _storage._openViaOssAccessDeniedMessage {
|
|
2075
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 20)
|
|
2076
|
+
} }()
|
|
2077
|
+
try { if let v = _storage._openViaOssAccessDeniedScheduleMismatchMessage {
|
|
2078
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 21)
|
|
2079
|
+
} }()
|
|
2080
|
+
try { if let v = _storage._openViaOssErrorTitle {
|
|
2081
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 22)
|
|
2082
|
+
} }()
|
|
2083
|
+
try { if let v = _storage._cmnCancelLabel {
|
|
2084
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 23)
|
|
2085
|
+
} }()
|
|
2086
|
+
try { if let v = _storage._cmnCloseLabel {
|
|
2087
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 24)
|
|
2088
|
+
} }()
|
|
2089
|
+
try { if let v = _storage._syncDeviceInProgressTitle {
|
|
2090
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 25)
|
|
2091
|
+
} }()
|
|
2092
|
+
try { if let v = _storage._syncDeviceFailedTitle {
|
|
2093
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 26)
|
|
2094
|
+
} }()
|
|
2095
|
+
try { if let v = _storage._syncDeviceCancellingTitle {
|
|
2096
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 27)
|
|
2097
|
+
} }()
|
|
2098
|
+
try { if let v = _storage._syncDeviceCompletedTitle {
|
|
2099
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 28)
|
|
2100
|
+
} }()
|
|
2101
|
+
try { if let v = _storage._syncDeviceGetAuthenticationTokenTaskLabel {
|
|
2102
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 29)
|
|
2103
|
+
} }()
|
|
2104
|
+
try { if let v = _storage._syncDeviceRetrieveDeviceConfigurationTaskLabel {
|
|
2105
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 30)
|
|
2106
|
+
} }()
|
|
2107
|
+
try { if let v = _storage._syncDeviceUpdateDeviceConfigurationTaskLabel {
|
|
2108
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 31)
|
|
2109
|
+
} }()
|
|
2110
|
+
try { if let v = _storage._syncDeviceUpdateDeviceTimeTaskLabel {
|
|
2111
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 32)
|
|
2112
|
+
} }()
|
|
2113
|
+
try { if let v = _storage._syncDeviceWaitForDeviceToRestartTaskLabel {
|
|
2114
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 33)
|
|
2115
|
+
} }()
|
|
2116
|
+
try { if let v = _storage._syncDevicePushEventLogsTaskLabel {
|
|
2117
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 34)
|
|
2118
|
+
} }()
|
|
2119
|
+
try { if let v = _storage._syncDevicePushSystemLogsTaskLabel {
|
|
2120
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 35)
|
|
2121
|
+
} }()
|
|
2122
|
+
try { if let v = _storage._syncDeviceRetrieveBlacklistEntriesTaskLabel {
|
|
2123
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 36)
|
|
2124
|
+
} }()
|
|
2125
|
+
try { if let v = _storage._syncDeviceDeployBlacklistEntriesTaskLabel {
|
|
2126
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 37)
|
|
2127
|
+
} }()
|
|
2128
|
+
try { if let v = _storage._syncDeviceRetrieveSystemStatusTaskLabel {
|
|
2129
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 38)
|
|
2130
|
+
} }()
|
|
2131
|
+
try { if let v = _storage._syncDevicePushSystemStatusTaskLabel {
|
|
2132
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 39)
|
|
2133
|
+
} }()
|
|
2134
|
+
try { if let v = _storage._syncDeviceCheckLatestFwlabel {
|
|
2135
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 40)
|
|
2136
|
+
} }()
|
|
2137
|
+
try { if let v = _storage._dfuInProgressTitle {
|
|
2138
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 41)
|
|
2139
|
+
} }()
|
|
2140
|
+
try { if let v = _storage._dfuFailedTitle {
|
|
2141
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 42)
|
|
2142
|
+
} }()
|
|
2143
|
+
try { if let v = _storage._dfuCancellingTitle {
|
|
2144
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 43)
|
|
2145
|
+
} }()
|
|
2146
|
+
try { if let v = _storage._dfuCompletedTitle {
|
|
2147
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 44)
|
|
2148
|
+
} }()
|
|
2149
|
+
try { if let v = _storage._dfuGetAuthenticationTokenTaskLabel {
|
|
2150
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 45)
|
|
2151
|
+
} }()
|
|
2152
|
+
try { if let v = _storage._dfuCheckLatestFwlabel {
|
|
2153
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 46)
|
|
2154
|
+
} }()
|
|
2155
|
+
try { if let v = _storage._dfuDownloadLatestFwlabel {
|
|
2156
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 47)
|
|
2157
|
+
} }()
|
|
2158
|
+
try { if let v = _storage._dfuPrepareUpdateLabel {
|
|
2159
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 48)
|
|
2160
|
+
} }()
|
|
2161
|
+
try { if let v = _storage._dfuStartBootloaderLabel {
|
|
2162
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 49)
|
|
2163
|
+
} }()
|
|
2164
|
+
try { if let v = _storage._dfuInitializationLabel {
|
|
2165
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 50)
|
|
2166
|
+
} }()
|
|
2167
|
+
try { if let v = _storage._dfuUpdateFwlabel {
|
|
2168
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 51)
|
|
2169
|
+
} }()
|
|
2170
|
+
try { if let v = _storage._dfuWaitForDeviceToRestartTaskLabel {
|
|
2171
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 52)
|
|
2172
|
+
} }()
|
|
2173
|
+
try { if let v = _storage._accessTypeDefaultTime {
|
|
2174
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 53)
|
|
2175
|
+
} }()
|
|
2176
|
+
try { if let v = _storage._accessTypeExtendedTime {
|
|
2177
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 54)
|
|
2178
|
+
} }()
|
|
2179
|
+
try { if let v = _storage._accessTypeToggle {
|
|
2180
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 55)
|
|
2181
|
+
} }()
|
|
2182
|
+
try { if let v = _storage._accessTypeClose {
|
|
2183
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 56)
|
|
2184
|
+
} }()
|
|
2185
|
+
try { if let v = _storage._accessTypeCustomTime {
|
|
2186
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 57)
|
|
2187
|
+
} }()
|
|
2188
|
+
try { if let v = _storage._openViaOssSoSelectAccessTypeTitle {
|
|
2189
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 58)
|
|
2190
|
+
} }()
|
|
2191
|
+
try { if let v = _storage._openViaOssSoSelectAccessTypeMessage {
|
|
2192
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 59)
|
|
2193
|
+
} }()
|
|
2194
|
+
try { if let v = _storage._nfcTransponderConnected {
|
|
2195
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 100)
|
|
2196
|
+
} }()
|
|
2197
|
+
try { if let v = _storage._nfcTransponderDisconnected {
|
|
2198
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 101)
|
|
2199
|
+
} }()
|
|
2200
|
+
}
|
|
2201
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
public static func ==(lhs: BlueI18n, rhs: BlueI18n) -> Bool {
|
|
2205
|
+
if lhs._storage !== rhs._storage {
|
|
2206
|
+
let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in
|
|
2207
|
+
let _storage = _args.0
|
|
2208
|
+
let rhs_storage = _args.1
|
|
2209
|
+
if _storage._nfcWaitMessage != rhs_storage._nfcWaitMessage {return false}
|
|
2210
|
+
if _storage._nfcOssSuccessReadConfigurationMessage != rhs_storage._nfcOssSuccessReadConfigurationMessage {return false}
|
|
2211
|
+
if _storage._nfcOssSuccessUpdateConfigurationMessage != rhs_storage._nfcOssSuccessUpdateConfigurationMessage {return false}
|
|
2212
|
+
if _storage._nfcOssSuccessClearEventsMessage != rhs_storage._nfcOssSuccessClearEventsMessage {return false}
|
|
2213
|
+
if _storage._nfcOssSuccessIsProvisionedMessage != rhs_storage._nfcOssSuccessIsProvisionedMessage {return false}
|
|
2214
|
+
if _storage._nfcOssSuccessProvisionMessage != rhs_storage._nfcOssSuccessProvisionMessage {return false}
|
|
2215
|
+
if _storage._nfcOssSuccessUnprovisionMessage != rhs_storage._nfcOssSuccessUnprovisionMessage {return false}
|
|
2216
|
+
if _storage._nfcOssSuccessFormatMessage != rhs_storage._nfcOssSuccessFormatMessage {return false}
|
|
2217
|
+
if _storage._nfcInitializingWritingProcess != rhs_storage._nfcInitializingWritingProcess {return false}
|
|
2218
|
+
if _storage._nfcTransponderConnected != rhs_storage._nfcTransponderConnected {return false}
|
|
2219
|
+
if _storage._nfcTransponderDisconnected != rhs_storage._nfcTransponderDisconnected {return false}
|
|
2220
|
+
if _storage._openViaOssTitle != rhs_storage._openViaOssTitle {return false}
|
|
2221
|
+
if _storage._openViaOssWaitMessage != rhs_storage._openViaOssWaitMessage {return false}
|
|
2222
|
+
if _storage._openViaOssAccessGrantedTitle != rhs_storage._openViaOssAccessGrantedTitle {return false}
|
|
2223
|
+
if _storage._openViaOssAccessGrantedMessage != rhs_storage._openViaOssAccessGrantedMessage {return false}
|
|
2224
|
+
if _storage._openViaOssAccessGrantedLockEngagedTitle != rhs_storage._openViaOssAccessGrantedLockEngagedTitle {return false}
|
|
2225
|
+
if _storage._openViaOssAccessGrantedLockEngagedMessage != rhs_storage._openViaOssAccessGrantedLockEngagedMessage {return false}
|
|
2226
|
+
if _storage._openViaOssAccessGrantedLockDisengagedTitle != rhs_storage._openViaOssAccessGrantedLockDisengagedTitle {return false}
|
|
2227
|
+
if _storage._openViaOssAccessGrantedLockDisengagedMessage != rhs_storage._openViaOssAccessGrantedLockDisengagedMessage {return false}
|
|
2228
|
+
if _storage._openViaOssAccessGrantedExtendedTimeMessage != rhs_storage._openViaOssAccessGrantedExtendedTimeMessage {return false}
|
|
2229
|
+
if _storage._openViaOssAccessDeniedTitle != rhs_storage._openViaOssAccessDeniedTitle {return false}
|
|
2230
|
+
if _storage._openViaOssAccessDeniedMessage != rhs_storage._openViaOssAccessDeniedMessage {return false}
|
|
2231
|
+
if _storage._openViaOssAccessDeniedScheduleMismatchMessage != rhs_storage._openViaOssAccessDeniedScheduleMismatchMessage {return false}
|
|
2232
|
+
if _storage._openViaOssErrorTitle != rhs_storage._openViaOssErrorTitle {return false}
|
|
2233
|
+
if _storage._cmnCancelLabel != rhs_storage._cmnCancelLabel {return false}
|
|
2234
|
+
if _storage._cmnCloseLabel != rhs_storage._cmnCloseLabel {return false}
|
|
2235
|
+
if _storage._syncDeviceInProgressTitle != rhs_storage._syncDeviceInProgressTitle {return false}
|
|
2236
|
+
if _storage._syncDeviceFailedTitle != rhs_storage._syncDeviceFailedTitle {return false}
|
|
2237
|
+
if _storage._syncDeviceCancellingTitle != rhs_storage._syncDeviceCancellingTitle {return false}
|
|
2238
|
+
if _storage._syncDeviceCompletedTitle != rhs_storage._syncDeviceCompletedTitle {return false}
|
|
2239
|
+
if _storage._syncDeviceGetAuthenticationTokenTaskLabel != rhs_storage._syncDeviceGetAuthenticationTokenTaskLabel {return false}
|
|
2240
|
+
if _storage._syncDeviceRetrieveDeviceConfigurationTaskLabel != rhs_storage._syncDeviceRetrieveDeviceConfigurationTaskLabel {return false}
|
|
2241
|
+
if _storage._syncDeviceUpdateDeviceConfigurationTaskLabel != rhs_storage._syncDeviceUpdateDeviceConfigurationTaskLabel {return false}
|
|
2242
|
+
if _storage._syncDeviceUpdateDeviceTimeTaskLabel != rhs_storage._syncDeviceUpdateDeviceTimeTaskLabel {return false}
|
|
2243
|
+
if _storage._syncDeviceWaitForDeviceToRestartTaskLabel != rhs_storage._syncDeviceWaitForDeviceToRestartTaskLabel {return false}
|
|
2244
|
+
if _storage._syncDevicePushEventLogsTaskLabel != rhs_storage._syncDevicePushEventLogsTaskLabel {return false}
|
|
2245
|
+
if _storage._syncDevicePushSystemLogsTaskLabel != rhs_storage._syncDevicePushSystemLogsTaskLabel {return false}
|
|
2246
|
+
if _storage._syncDeviceRetrieveBlacklistEntriesTaskLabel != rhs_storage._syncDeviceRetrieveBlacklistEntriesTaskLabel {return false}
|
|
2247
|
+
if _storage._syncDeviceDeployBlacklistEntriesTaskLabel != rhs_storage._syncDeviceDeployBlacklistEntriesTaskLabel {return false}
|
|
2248
|
+
if _storage._syncDeviceRetrieveSystemStatusTaskLabel != rhs_storage._syncDeviceRetrieveSystemStatusTaskLabel {return false}
|
|
2249
|
+
if _storage._syncDevicePushSystemStatusTaskLabel != rhs_storage._syncDevicePushSystemStatusTaskLabel {return false}
|
|
2250
|
+
if _storage._syncDeviceCheckLatestFwlabel != rhs_storage._syncDeviceCheckLatestFwlabel {return false}
|
|
2251
|
+
if _storage._dfuInProgressTitle != rhs_storage._dfuInProgressTitle {return false}
|
|
2252
|
+
if _storage._dfuFailedTitle != rhs_storage._dfuFailedTitle {return false}
|
|
2253
|
+
if _storage._dfuCancellingTitle != rhs_storage._dfuCancellingTitle {return false}
|
|
2254
|
+
if _storage._dfuCompletedTitle != rhs_storage._dfuCompletedTitle {return false}
|
|
2255
|
+
if _storage._dfuGetAuthenticationTokenTaskLabel != rhs_storage._dfuGetAuthenticationTokenTaskLabel {return false}
|
|
2256
|
+
if _storage._dfuCheckLatestFwlabel != rhs_storage._dfuCheckLatestFwlabel {return false}
|
|
2257
|
+
if _storage._dfuDownloadLatestFwlabel != rhs_storage._dfuDownloadLatestFwlabel {return false}
|
|
2258
|
+
if _storage._dfuPrepareUpdateLabel != rhs_storage._dfuPrepareUpdateLabel {return false}
|
|
2259
|
+
if _storage._dfuStartBootloaderLabel != rhs_storage._dfuStartBootloaderLabel {return false}
|
|
2260
|
+
if _storage._dfuInitializationLabel != rhs_storage._dfuInitializationLabel {return false}
|
|
2261
|
+
if _storage._dfuUpdateFwlabel != rhs_storage._dfuUpdateFwlabel {return false}
|
|
2262
|
+
if _storage._dfuWaitForDeviceToRestartTaskLabel != rhs_storage._dfuWaitForDeviceToRestartTaskLabel {return false}
|
|
2263
|
+
if _storage._accessTypeDefaultTime != rhs_storage._accessTypeDefaultTime {return false}
|
|
2264
|
+
if _storage._accessTypeExtendedTime != rhs_storage._accessTypeExtendedTime {return false}
|
|
2265
|
+
if _storage._accessTypeToggle != rhs_storage._accessTypeToggle {return false}
|
|
2266
|
+
if _storage._accessTypeClose != rhs_storage._accessTypeClose {return false}
|
|
2267
|
+
if _storage._accessTypeCustomTime != rhs_storage._accessTypeCustomTime {return false}
|
|
2268
|
+
if _storage._openViaOssSoSelectAccessTypeTitle != rhs_storage._openViaOssSoSelectAccessTypeTitle {return false}
|
|
2269
|
+
if _storage._openViaOssSoSelectAccessTypeMessage != rhs_storage._openViaOssSoSelectAccessTypeMessage {return false}
|
|
2270
|
+
return true
|
|
2271
|
+
}
|
|
2272
|
+
if !storagesAreEqual {return false}
|
|
2273
|
+
}
|
|
2274
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2275
|
+
return true
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
extension BlueDeviceDetailsBluetooth: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2280
|
+
public static let protoMessageName: String = "BlueDeviceDetailsBluetooth"
|
|
2281
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2282
|
+
1: .same(proto: "rssi"),
|
|
2283
|
+
2: .same(proto: "txPower"),
|
|
2284
|
+
3: .same(proto: "isIBeacon"),
|
|
2285
|
+
]
|
|
2286
|
+
|
|
2287
|
+
public var isInitialized: Bool {
|
|
2288
|
+
if self._rssi == nil {return false}
|
|
2289
|
+
if self._txPower == nil {return false}
|
|
2290
|
+
if self._isIbeacon == nil {return false}
|
|
2291
|
+
return true
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2295
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2296
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2297
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2298
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2299
|
+
switch fieldNumber {
|
|
2300
|
+
case 1: try { try decoder.decodeSingularInt32Field(value: &self._rssi) }()
|
|
2301
|
+
case 2: try { try decoder.decodeSingularInt32Field(value: &self._txPower) }()
|
|
2302
|
+
case 3: try { try decoder.decodeSingularBoolField(value: &self._isIbeacon) }()
|
|
2303
|
+
default: break
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2309
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2310
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2311
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2312
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2313
|
+
try { if let v = self._rssi {
|
|
2314
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 1)
|
|
2315
|
+
} }()
|
|
2316
|
+
try { if let v = self._txPower {
|
|
2317
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 2)
|
|
2318
|
+
} }()
|
|
2319
|
+
try { if let v = self._isIbeacon {
|
|
2320
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 3)
|
|
2321
|
+
} }()
|
|
2322
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
public static func ==(lhs: BlueDeviceDetailsBluetooth, rhs: BlueDeviceDetailsBluetooth) -> Bool {
|
|
2326
|
+
if lhs._rssi != rhs._rssi {return false}
|
|
2327
|
+
if lhs._txPower != rhs._txPower {return false}
|
|
2328
|
+
if lhs._isIbeacon != rhs._isIbeacon {return false}
|
|
2329
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2330
|
+
return true
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
extension BlueDeviceDetailsUWB: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2335
|
+
public static let protoMessageName: String = "BlueDeviceDetailsUWB"
|
|
2336
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2337
|
+
1: .same(proto: "notUsed"),
|
|
2338
|
+
]
|
|
2339
|
+
|
|
2340
|
+
public var isInitialized: Bool {
|
|
2341
|
+
if self._notUsed == nil {return false}
|
|
2342
|
+
return true
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2346
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2347
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2348
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2349
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2350
|
+
switch fieldNumber {
|
|
2351
|
+
case 1: try { try decoder.decodeSingularBoolField(value: &self._notUsed) }()
|
|
2352
|
+
default: break
|
|
1707
2353
|
}
|
|
1708
2354
|
}
|
|
1709
2355
|
}
|
|
1710
2356
|
|
|
1711
2357
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
1712
|
-
|
|
2358
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2359
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2360
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2361
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2362
|
+
try { if let v = self._notUsed {
|
|
2363
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 1)
|
|
2364
|
+
} }()
|
|
2365
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
public static func ==(lhs: BlueDeviceDetailsUWB, rhs: BlueDeviceDetailsUWB) -> Bool {
|
|
2369
|
+
if lhs._notUsed != rhs._notUsed {return false}
|
|
2370
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2371
|
+
return true
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
extension BlueDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2376
|
+
public static let protoMessageName: String = "BlueDeviceInfo"
|
|
2377
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2378
|
+
1: .same(proto: "deviceType"),
|
|
2379
|
+
2: .same(proto: "deviceId"),
|
|
2380
|
+
3: .same(proto: "distanceMeters"),
|
|
2381
|
+
4: .same(proto: "manufacturerInfo"),
|
|
2382
|
+
5: .same(proto: "bluetooth"),
|
|
2383
|
+
6: .same(proto: "uwb"),
|
|
2384
|
+
]
|
|
2385
|
+
|
|
2386
|
+
public var isInitialized: Bool {
|
|
2387
|
+
if self._deviceType == nil {return false}
|
|
2388
|
+
if self._deviceID == nil {return false}
|
|
2389
|
+
if self._distanceMeters == nil {return false}
|
|
2390
|
+
if let v = self._manufacturerInfo, !v.isInitialized {return false}
|
|
2391
|
+
if let v = self.details, !v.isInitialized {return false}
|
|
2392
|
+
return true
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2396
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1713
2397
|
// The use of inline closures is to circumvent an issue where the compiler
|
|
1714
|
-
// allocates stack space for every
|
|
1715
|
-
//
|
|
1716
|
-
|
|
1717
|
-
try {
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
try {
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
2398
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2399
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2400
|
+
switch fieldNumber {
|
|
2401
|
+
case 1: try { try decoder.decodeSingularEnumField(value: &self._deviceType) }()
|
|
2402
|
+
case 2: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
2403
|
+
case 3: try { try decoder.decodeSingularFloatField(value: &self._distanceMeters) }()
|
|
2404
|
+
case 4: try { try decoder.decodeSingularMessageField(value: &self._manufacturerInfo) }()
|
|
2405
|
+
case 5: try {
|
|
2406
|
+
var v: BlueDeviceDetailsBluetooth?
|
|
2407
|
+
var hadOneofValue = false
|
|
2408
|
+
if let current = self.details {
|
|
2409
|
+
hadOneofValue = true
|
|
2410
|
+
if case .bluetooth(let m) = current {v = m}
|
|
2411
|
+
}
|
|
2412
|
+
try decoder.decodeSingularMessageField(value: &v)
|
|
2413
|
+
if let v = v {
|
|
2414
|
+
if hadOneofValue {try decoder.handleConflictingOneOf()}
|
|
2415
|
+
self.details = .bluetooth(v)
|
|
2416
|
+
}
|
|
2417
|
+
}()
|
|
2418
|
+
case 6: try {
|
|
2419
|
+
var v: BlueDeviceDetailsUWB?
|
|
2420
|
+
var hadOneofValue = false
|
|
2421
|
+
if let current = self.details {
|
|
2422
|
+
hadOneofValue = true
|
|
2423
|
+
if case .uwb(let m) = current {v = m}
|
|
2424
|
+
}
|
|
2425
|
+
try decoder.decodeSingularMessageField(value: &v)
|
|
2426
|
+
if let v = v {
|
|
2427
|
+
if hadOneofValue {try decoder.handleConflictingOneOf()}
|
|
2428
|
+
self.details = .uwb(v)
|
|
2429
|
+
}
|
|
2430
|
+
}()
|
|
2431
|
+
default: break
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2437
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2438
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2439
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2440
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2441
|
+
try { if let v = self._deviceType {
|
|
2442
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 1)
|
|
2443
|
+
} }()
|
|
2444
|
+
try { if let v = self._deviceID {
|
|
2445
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2446
|
+
} }()
|
|
2447
|
+
try { if let v = self._distanceMeters {
|
|
2448
|
+
try visitor.visitSingularFloatField(value: v, fieldNumber: 3)
|
|
2449
|
+
} }()
|
|
2450
|
+
try { if let v = self._manufacturerInfo {
|
|
2451
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
|
|
2452
|
+
} }()
|
|
2453
|
+
switch self.details {
|
|
2454
|
+
case .bluetooth?: try {
|
|
2455
|
+
guard case .bluetooth(let v)? = self.details else { preconditionFailure() }
|
|
2456
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
|
|
2457
|
+
}()
|
|
2458
|
+
case .uwb?: try {
|
|
2459
|
+
guard case .uwb(let v)? = self.details else { preconditionFailure() }
|
|
2460
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
|
|
2461
|
+
}()
|
|
2462
|
+
case nil: break
|
|
2463
|
+
}
|
|
2464
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
public static func ==(lhs: BlueDeviceInfo, rhs: BlueDeviceInfo) -> Bool {
|
|
2468
|
+
if lhs._deviceType != rhs._deviceType {return false}
|
|
2469
|
+
if lhs._deviceID != rhs._deviceID {return false}
|
|
2470
|
+
if lhs._distanceMeters != rhs._distanceMeters {return false}
|
|
2471
|
+
if lhs._manufacturerInfo != rhs._manufacturerInfo {return false}
|
|
2472
|
+
if lhs.details != rhs.details {return false}
|
|
2473
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2474
|
+
return true
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2479
|
+
public static let protoMessageName: String = "BlueIdentity"
|
|
2480
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2481
|
+
1: .same(proto: "identityId"),
|
|
2482
|
+
2: .same(proto: "role"),
|
|
2483
|
+
3: .same(proto: "name"),
|
|
2484
|
+
4: .same(proto: "description"),
|
|
2485
|
+
5: .same(proto: "receiverName"),
|
|
2486
|
+
6: .same(proto: "validFrom"),
|
|
2487
|
+
7: .same(proto: "validTo"),
|
|
2488
|
+
8: .same(proto: "organization"),
|
|
2489
|
+
9: .same(proto: "organizationName"),
|
|
2490
|
+
10: .same(proto: "siteId"),
|
|
2491
|
+
11: .same(proto: "siteName"),
|
|
2492
|
+
12: .same(proto: "privateKey"),
|
|
2493
|
+
]
|
|
2494
|
+
|
|
2495
|
+
fileprivate class _StorageClass {
|
|
2496
|
+
var _identityID: String? = nil
|
|
2497
|
+
var _role: BlueCredentialType? = nil
|
|
2498
|
+
var _name: String? = nil
|
|
2499
|
+
var _description_p: String? = nil
|
|
2500
|
+
var _receiverName: String? = nil
|
|
2501
|
+
var _validFrom: BlueLocalTimestamp? = nil
|
|
2502
|
+
var _validTo: BlueLocalTimestamp? = nil
|
|
2503
|
+
var _organization: String? = nil
|
|
2504
|
+
var _organizationName: String? = nil
|
|
2505
|
+
var _siteID: Int32? = nil
|
|
2506
|
+
var _siteName: String? = nil
|
|
2507
|
+
var _privateKey: Data? = nil
|
|
2508
|
+
|
|
2509
|
+
#if swift(>=5.10)
|
|
2510
|
+
// This property is used as the initial default value for new instances of the type.
|
|
2511
|
+
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
2512
|
+
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
2513
|
+
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
2514
|
+
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
2515
|
+
#else
|
|
2516
|
+
static let defaultInstance = _StorageClass()
|
|
2517
|
+
#endif
|
|
2518
|
+
|
|
2519
|
+
private init() {}
|
|
2520
|
+
|
|
2521
|
+
init(copying source: _StorageClass) {
|
|
2522
|
+
_identityID = source._identityID
|
|
2523
|
+
_role = source._role
|
|
2524
|
+
_name = source._name
|
|
2525
|
+
_description_p = source._description_p
|
|
2526
|
+
_receiverName = source._receiverName
|
|
2527
|
+
_validFrom = source._validFrom
|
|
2528
|
+
_validTo = source._validTo
|
|
2529
|
+
_organization = source._organization
|
|
2530
|
+
_organizationName = source._organizationName
|
|
2531
|
+
_siteID = source._siteID
|
|
2532
|
+
_siteName = source._siteName
|
|
2533
|
+
_privateKey = source._privateKey
|
|
2534
|
+
}
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
fileprivate mutating func _uniqueStorage() -> _StorageClass {
|
|
2538
|
+
if !isKnownUniquelyReferenced(&_storage) {
|
|
2539
|
+
_storage = _StorageClass(copying: _storage)
|
|
2540
|
+
}
|
|
2541
|
+
return _storage
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
public var isInitialized: Bool {
|
|
2545
|
+
return withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
2546
|
+
if _storage._identityID == nil {return false}
|
|
2547
|
+
if _storage._role == nil {return false}
|
|
2548
|
+
if _storage._organization == nil {return false}
|
|
2549
|
+
if _storage._siteID == nil {return false}
|
|
2550
|
+
if let v = _storage._validFrom, !v.isInitialized {return false}
|
|
2551
|
+
if let v = _storage._validTo, !v.isInitialized {return false}
|
|
2552
|
+
return true
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2557
|
+
_ = _uniqueStorage()
|
|
2558
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
2559
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2560
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2561
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2562
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2563
|
+
switch fieldNumber {
|
|
2564
|
+
case 1: try { try decoder.decodeSingularStringField(value: &_storage._identityID) }()
|
|
2565
|
+
case 2: try { try decoder.decodeSingularEnumField(value: &_storage._role) }()
|
|
2566
|
+
case 3: try { try decoder.decodeSingularStringField(value: &_storage._name) }()
|
|
2567
|
+
case 4: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }()
|
|
2568
|
+
case 5: try { try decoder.decodeSingularStringField(value: &_storage._receiverName) }()
|
|
2569
|
+
case 6: try { try decoder.decodeSingularMessageField(value: &_storage._validFrom) }()
|
|
2570
|
+
case 7: try { try decoder.decodeSingularMessageField(value: &_storage._validTo) }()
|
|
2571
|
+
case 8: try { try decoder.decodeSingularStringField(value: &_storage._organization) }()
|
|
2572
|
+
case 9: try { try decoder.decodeSingularStringField(value: &_storage._organizationName) }()
|
|
2573
|
+
case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._siteID) }()
|
|
2574
|
+
case 11: try { try decoder.decodeSingularStringField(value: &_storage._siteName) }()
|
|
2575
|
+
case 12: try { try decoder.decodeSingularBytesField(value: &_storage._privateKey) }()
|
|
2576
|
+
default: break
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2583
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
2584
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2585
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2586
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2587
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2588
|
+
try { if let v = _storage._identityID {
|
|
2589
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
1866
2590
|
} }()
|
|
1867
|
-
try { if let v = _storage.
|
|
1868
|
-
try visitor.
|
|
2591
|
+
try { if let v = _storage._role {
|
|
2592
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 2)
|
|
1869
2593
|
} }()
|
|
1870
|
-
try { if let v = _storage.
|
|
1871
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
2594
|
+
try { if let v = _storage._name {
|
|
2595
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
1872
2596
|
} }()
|
|
1873
|
-
try { if let v = _storage.
|
|
1874
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
2597
|
+
try { if let v = _storage._description_p {
|
|
2598
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
1875
2599
|
} }()
|
|
1876
|
-
try { if let v = _storage.
|
|
1877
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
2600
|
+
try { if let v = _storage._receiverName {
|
|
2601
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 5)
|
|
1878
2602
|
} }()
|
|
1879
|
-
try { if let v = _storage.
|
|
1880
|
-
try visitor.
|
|
2603
|
+
try { if let v = _storage._validFrom {
|
|
2604
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
|
|
1881
2605
|
} }()
|
|
1882
|
-
try { if let v = _storage.
|
|
1883
|
-
try visitor.
|
|
2606
|
+
try { if let v = _storage._validTo {
|
|
2607
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
|
|
1884
2608
|
} }()
|
|
1885
|
-
try { if let v = _storage.
|
|
1886
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
2609
|
+
try { if let v = _storage._organization {
|
|
2610
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 8)
|
|
1887
2611
|
} }()
|
|
1888
|
-
try { if let v = _storage.
|
|
1889
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
2612
|
+
try { if let v = _storage._organizationName {
|
|
2613
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 9)
|
|
1890
2614
|
} }()
|
|
1891
|
-
try { if let v = _storage.
|
|
1892
|
-
try visitor.
|
|
2615
|
+
try { if let v = _storage._siteID {
|
|
2616
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 10)
|
|
1893
2617
|
} }()
|
|
1894
|
-
try { if let v = _storage.
|
|
1895
|
-
try visitor.visitSingularStringField(value: v, fieldNumber:
|
|
2618
|
+
try { if let v = _storage._siteName {
|
|
2619
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 11)
|
|
1896
2620
|
} }()
|
|
1897
|
-
try { if let v = _storage.
|
|
1898
|
-
try visitor.
|
|
2621
|
+
try { if let v = _storage._privateKey {
|
|
2622
|
+
try visitor.visitSingularBytesField(value: v, fieldNumber: 12)
|
|
1899
2623
|
} }()
|
|
1900
2624
|
}
|
|
1901
2625
|
try unknownFields.traverse(visitor: &visitor)
|
|
1902
2626
|
}
|
|
1903
2627
|
|
|
1904
|
-
public static func ==(lhs:
|
|
1905
|
-
if lhs._storage !== rhs._storage {
|
|
1906
|
-
let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in
|
|
1907
|
-
let _storage = _args.0
|
|
1908
|
-
let rhs_storage = _args.1
|
|
1909
|
-
if _storage.
|
|
1910
|
-
if _storage.
|
|
1911
|
-
if _storage.
|
|
1912
|
-
if _storage.
|
|
1913
|
-
if _storage.
|
|
1914
|
-
if _storage.
|
|
1915
|
-
if _storage.
|
|
1916
|
-
if _storage.
|
|
1917
|
-
if _storage.
|
|
1918
|
-
if _storage.
|
|
1919
|
-
if _storage.
|
|
1920
|
-
if _storage.
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2628
|
+
public static func ==(lhs: BlueIdentity, rhs: BlueIdentity) -> Bool {
|
|
2629
|
+
if lhs._storage !== rhs._storage {
|
|
2630
|
+
let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in
|
|
2631
|
+
let _storage = _args.0
|
|
2632
|
+
let rhs_storage = _args.1
|
|
2633
|
+
if _storage._identityID != rhs_storage._identityID {return false}
|
|
2634
|
+
if _storage._role != rhs_storage._role {return false}
|
|
2635
|
+
if _storage._name != rhs_storage._name {return false}
|
|
2636
|
+
if _storage._description_p != rhs_storage._description_p {return false}
|
|
2637
|
+
if _storage._receiverName != rhs_storage._receiverName {return false}
|
|
2638
|
+
if _storage._validFrom != rhs_storage._validFrom {return false}
|
|
2639
|
+
if _storage._validTo != rhs_storage._validTo {return false}
|
|
2640
|
+
if _storage._organization != rhs_storage._organization {return false}
|
|
2641
|
+
if _storage._organizationName != rhs_storage._organizationName {return false}
|
|
2642
|
+
if _storage._siteID != rhs_storage._siteID {return false}
|
|
2643
|
+
if _storage._siteName != rhs_storage._siteName {return false}
|
|
2644
|
+
if _storage._privateKey != rhs_storage._privateKey {return false}
|
|
2645
|
+
return true
|
|
2646
|
+
}
|
|
2647
|
+
if !storagesAreEqual {return false}
|
|
2648
|
+
}
|
|
2649
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2650
|
+
return true
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
extension BlueIdentitiesList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2655
|
+
public static let protoMessageName: String = "BlueIdentitiesList"
|
|
2656
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2657
|
+
1: .same(proto: "identities"),
|
|
2658
|
+
]
|
|
2659
|
+
|
|
2660
|
+
public var isInitialized: Bool {
|
|
2661
|
+
if !SwiftProtobuf.Internal.areAllInitialized(self.identities) {return false}
|
|
2662
|
+
return true
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2666
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2667
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2668
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2669
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2670
|
+
switch fieldNumber {
|
|
2671
|
+
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.identities) }()
|
|
2672
|
+
default: break
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2678
|
+
if !self.identities.isEmpty {
|
|
2679
|
+
try visitor.visitRepeatedMessageField(value: self.identities, fieldNumber: 1)
|
|
2680
|
+
}
|
|
2681
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
public static func ==(lhs: BlueIdentitiesList, rhs: BlueIdentitiesList) -> Bool {
|
|
2685
|
+
if lhs.identities != rhs.identities {return false}
|
|
2686
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2687
|
+
return true
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2692
|
+
public static let protoMessageName: String = "BlueAccessDevice"
|
|
2693
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2694
|
+
1: .same(proto: "deviceId"),
|
|
2695
|
+
2: .same(proto: "objectName"),
|
|
2696
|
+
3: .same(proto: "objectId"),
|
|
2697
|
+
]
|
|
2698
|
+
|
|
2699
|
+
public var isInitialized: Bool {
|
|
2700
|
+
if self._deviceID == nil {return false}
|
|
2701
|
+
return true
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2705
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2706
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2707
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2708
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2709
|
+
switch fieldNumber {
|
|
2710
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
2711
|
+
case 2: try { try decoder.decodeSingularStringField(value: &self._objectName) }()
|
|
2712
|
+
case 3: try { try decoder.decodeSingularInt32Field(value: &self._objectID) }()
|
|
2713
|
+
default: break
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2719
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2720
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2721
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2722
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2723
|
+
try { if let v = self._deviceID {
|
|
2724
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2725
|
+
} }()
|
|
2726
|
+
try { if let v = self._objectName {
|
|
2727
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2728
|
+
} }()
|
|
2729
|
+
try { if let v = self._objectID {
|
|
2730
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 3)
|
|
2731
|
+
} }()
|
|
2732
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
public static func ==(lhs: BlueAccessDevice, rhs: BlueAccessDevice) -> Bool {
|
|
2736
|
+
if lhs._deviceID != rhs._deviceID {return false}
|
|
2737
|
+
if lhs._objectName != rhs._objectName {return false}
|
|
2738
|
+
if lhs._objectID != rhs._objectID {return false}
|
|
2739
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2740
|
+
return true
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
extension BlueAccessDeviceList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2745
|
+
public static let protoMessageName: String = "BlueAccessDeviceList"
|
|
2746
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2747
|
+
1: .same(proto: "devices"),
|
|
2748
|
+
]
|
|
2749
|
+
|
|
2750
|
+
public var isInitialized: Bool {
|
|
2751
|
+
if !SwiftProtobuf.Internal.areAllInitialized(self.devices) {return false}
|
|
2752
|
+
return true
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2755
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2756
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2757
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2758
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2759
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2760
|
+
switch fieldNumber {
|
|
2761
|
+
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.devices) }()
|
|
2762
|
+
default: break
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2768
|
+
if !self.devices.isEmpty {
|
|
2769
|
+
try visitor.visitRepeatedMessageField(value: self.devices, fieldNumber: 1)
|
|
2770
|
+
}
|
|
2771
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
public static func ==(lhs: BlueAccessDeviceList, rhs: BlueAccessDeviceList) -> Bool {
|
|
2775
|
+
if lhs.devices != rhs.devices {return false}
|
|
2776
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2777
|
+
return true
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
extension BlueAccessObject: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2782
|
+
public static let protoMessageName: String = "BlueAccessObject"
|
|
2783
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2784
|
+
1: .standard(proto: "_id"),
|
|
2785
|
+
2: .same(proto: "objectId"),
|
|
2786
|
+
3: .same(proto: "name"),
|
|
2787
|
+
4: .same(proto: "description"),
|
|
2788
|
+
5: .same(proto: "deviceIds"),
|
|
2789
|
+
]
|
|
2790
|
+
|
|
2791
|
+
public var isInitialized: Bool {
|
|
2792
|
+
if self._id == nil {return false}
|
|
2793
|
+
if self._objectID == nil {return false}
|
|
2794
|
+
if self._name == nil {return false}
|
|
2795
|
+
return true
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2799
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2800
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2801
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2802
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2803
|
+
switch fieldNumber {
|
|
2804
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._id) }()
|
|
2805
|
+
case 2: try { try decoder.decodeSingularInt32Field(value: &self._objectID) }()
|
|
2806
|
+
case 3: try { try decoder.decodeSingularStringField(value: &self._name) }()
|
|
2807
|
+
case 4: try { try decoder.decodeSingularStringField(value: &self._description_p) }()
|
|
2808
|
+
case 5: try { try decoder.decodeRepeatedStringField(value: &self.deviceIds) }()
|
|
2809
|
+
default: break
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2815
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2816
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2817
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2818
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2819
|
+
try { if let v = self._id {
|
|
2820
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2821
|
+
} }()
|
|
2822
|
+
try { if let v = self._objectID {
|
|
2823
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 2)
|
|
2824
|
+
} }()
|
|
2825
|
+
try { if let v = self._name {
|
|
2826
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
2827
|
+
} }()
|
|
2828
|
+
try { if let v = self._description_p {
|
|
2829
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
2830
|
+
} }()
|
|
2831
|
+
if !self.deviceIds.isEmpty {
|
|
2832
|
+
try visitor.visitRepeatedStringField(value: self.deviceIds, fieldNumber: 5)
|
|
2833
|
+
}
|
|
2834
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
public static func ==(lhs: BlueAccessObject, rhs: BlueAccessObject) -> Bool {
|
|
2838
|
+
if lhs._id != rhs._id {return false}
|
|
2839
|
+
if lhs._objectID != rhs._objectID {return false}
|
|
2840
|
+
if lhs._name != rhs._name {return false}
|
|
2841
|
+
if lhs._description_p != rhs._description_p {return false}
|
|
2842
|
+
if lhs.deviceIds != rhs.deviceIds {return false}
|
|
2843
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2844
|
+
return true
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
extension BlueAccessObjectList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2849
|
+
public static let protoMessageName: String = "BlueAccessObjectList"
|
|
2850
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2851
|
+
1: .same(proto: "objects"),
|
|
2852
|
+
]
|
|
2853
|
+
|
|
2854
|
+
public var isInitialized: Bool {
|
|
2855
|
+
if !SwiftProtobuf.Internal.areAllInitialized(self.objects) {return false}
|
|
2856
|
+
return true
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2860
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2861
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2862
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2863
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2864
|
+
switch fieldNumber {
|
|
2865
|
+
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.objects) }()
|
|
2866
|
+
default: break
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2872
|
+
if !self.objects.isEmpty {
|
|
2873
|
+
try visitor.visitRepeatedMessageField(value: self.objects, fieldNumber: 1)
|
|
2874
|
+
}
|
|
2875
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
public static func ==(lhs: BlueAccessObjectList, rhs: BlueAccessObjectList) -> Bool {
|
|
2879
|
+
if lhs.objects != rhs.objects {return false}
|
|
2880
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2881
|
+
return true
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
extension BlueHardwareInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2886
|
+
public static let protoMessageName: String = "BlueHardwareInfo"
|
|
2887
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2888
|
+
1: .same(proto: "name"),
|
|
2889
|
+
2: .same(proto: "vendor"),
|
|
2890
|
+
3: .same(proto: "vendorName"),
|
|
2891
|
+
4: .same(proto: "version"),
|
|
2892
|
+
5: .same(proto: "type"),
|
|
2893
|
+
]
|
|
2894
|
+
|
|
2895
|
+
public var isInitialized: Bool {
|
|
2896
|
+
if self._name == nil {return false}
|
|
2897
|
+
if self._vendor == nil {return false}
|
|
2898
|
+
if self._vendorName == nil {return false}
|
|
2899
|
+
if self._version == nil {return false}
|
|
2900
|
+
if self._type == nil {return false}
|
|
2901
|
+
return true
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2905
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2906
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2907
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2908
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2909
|
+
switch fieldNumber {
|
|
2910
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._name) }()
|
|
2911
|
+
case 2: try { try decoder.decodeSingularStringField(value: &self._vendor) }()
|
|
2912
|
+
case 3: try { try decoder.decodeSingularStringField(value: &self._vendorName) }()
|
|
2913
|
+
case 4: try { try decoder.decodeSingularUInt32Field(value: &self._version) }()
|
|
2914
|
+
case 5: try { try decoder.decodeSingularEnumField(value: &self._type) }()
|
|
2915
|
+
default: break
|
|
1971
2916
|
}
|
|
1972
|
-
if !storagesAreEqual {return false}
|
|
1973
2917
|
}
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2921
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2922
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2923
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2924
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2925
|
+
try { if let v = self._name {
|
|
2926
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2927
|
+
} }()
|
|
2928
|
+
try { if let v = self._vendor {
|
|
2929
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2930
|
+
} }()
|
|
2931
|
+
try { if let v = self._vendorName {
|
|
2932
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
2933
|
+
} }()
|
|
2934
|
+
try { if let v = self._version {
|
|
2935
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 4)
|
|
2936
|
+
} }()
|
|
2937
|
+
try { if let v = self._type {
|
|
2938
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 5)
|
|
2939
|
+
} }()
|
|
2940
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
public static func ==(lhs: BlueHardwareInfo, rhs: BlueHardwareInfo) -> Bool {
|
|
2944
|
+
if lhs._name != rhs._name {return false}
|
|
2945
|
+
if lhs._vendor != rhs._vendor {return false}
|
|
2946
|
+
if lhs._vendorName != rhs._vendorName {return false}
|
|
2947
|
+
if lhs._version != rhs._version {return false}
|
|
2948
|
+
if lhs._type != rhs._type {return false}
|
|
1974
2949
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1975
2950
|
return true
|
|
1976
2951
|
}
|
|
1977
2952
|
}
|
|
1978
2953
|
|
|
1979
|
-
extension
|
|
1980
|
-
public static let protoMessageName: String = "
|
|
2954
|
+
extension BlueSystemStatusExt: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2955
|
+
public static let protoMessageName: String = "BlueSystemStatusExt"
|
|
1981
2956
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1982
|
-
1: .same(proto: "
|
|
1983
|
-
2: .same(proto: "
|
|
1984
|
-
3: .same(proto: "
|
|
2957
|
+
1: .same(proto: "status"),
|
|
2958
|
+
2: .same(proto: "newFirmwareVersionAvailable"),
|
|
2959
|
+
3: .same(proto: "newTestFirmwareVersionAvailable"),
|
|
2960
|
+
4: .same(proto: "newConfigurationAvailable"),
|
|
2961
|
+
5: .same(proto: "hardwareInfo"),
|
|
1985
2962
|
]
|
|
1986
2963
|
|
|
1987
2964
|
public var isInitialized: Bool {
|
|
1988
|
-
if self.
|
|
1989
|
-
if self.
|
|
1990
|
-
if self.
|
|
2965
|
+
if self._status == nil {return false}
|
|
2966
|
+
if let v = self._status, !v.isInitialized {return false}
|
|
2967
|
+
if let v = self._hardwareInfo, !v.isInitialized {return false}
|
|
1991
2968
|
return true
|
|
1992
2969
|
}
|
|
1993
2970
|
|
|
@@ -1997,9 +2974,11 @@ extension BlueDeviceDetailsBluetooth: SwiftProtobuf.Message, SwiftProtobuf._Mess
|
|
|
1997
2974
|
// allocates stack space for every case branch when no optimizations are
|
|
1998
2975
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1999
2976
|
switch fieldNumber {
|
|
2000
|
-
case 1: try { try decoder.
|
|
2001
|
-
case 2: try { try decoder.
|
|
2002
|
-
case 3: try { try decoder.decodeSingularBoolField(value: &self.
|
|
2977
|
+
case 1: try { try decoder.decodeSingularMessageField(value: &self._status) }()
|
|
2978
|
+
case 2: try { try decoder.decodeSingularBoolField(value: &self._newFirmwareVersionAvailable) }()
|
|
2979
|
+
case 3: try { try decoder.decodeSingularBoolField(value: &self._newTestFirmwareVersionAvailable) }()
|
|
2980
|
+
case 4: try { try decoder.decodeSingularBoolField(value: &self._newConfigurationAvailable) }()
|
|
2981
|
+
case 5: try { try decoder.decodeSingularMessageField(value: &self._hardwareInfo) }()
|
|
2003
2982
|
default: break
|
|
2004
2983
|
}
|
|
2005
2984
|
}
|
|
@@ -2010,35 +2989,47 @@ extension BlueDeviceDetailsBluetooth: SwiftProtobuf.Message, SwiftProtobuf._Mess
|
|
|
2010
2989
|
// allocates stack space for every if/case branch local when no optimizations
|
|
2011
2990
|
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2012
2991
|
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2013
|
-
try { if let v = self.
|
|
2014
|
-
try visitor.
|
|
2992
|
+
try { if let v = self._status {
|
|
2993
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
|
2015
2994
|
} }()
|
|
2016
|
-
try { if let v = self.
|
|
2017
|
-
try visitor.
|
|
2995
|
+
try { if let v = self._newFirmwareVersionAvailable {
|
|
2996
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 2)
|
|
2018
2997
|
} }()
|
|
2019
|
-
try { if let v = self.
|
|
2998
|
+
try { if let v = self._newTestFirmwareVersionAvailable {
|
|
2020
2999
|
try visitor.visitSingularBoolField(value: v, fieldNumber: 3)
|
|
2021
3000
|
} }()
|
|
3001
|
+
try { if let v = self._newConfigurationAvailable {
|
|
3002
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 4)
|
|
3003
|
+
} }()
|
|
3004
|
+
try { if let v = self._hardwareInfo {
|
|
3005
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
|
|
3006
|
+
} }()
|
|
2022
3007
|
try unknownFields.traverse(visitor: &visitor)
|
|
2023
3008
|
}
|
|
2024
3009
|
|
|
2025
|
-
public static func ==(lhs:
|
|
2026
|
-
if lhs.
|
|
2027
|
-
if lhs.
|
|
2028
|
-
if lhs.
|
|
3010
|
+
public static func ==(lhs: BlueSystemStatusExt, rhs: BlueSystemStatusExt) -> Bool {
|
|
3011
|
+
if lhs._status != rhs._status {return false}
|
|
3012
|
+
if lhs._newFirmwareVersionAvailable != rhs._newFirmwareVersionAvailable {return false}
|
|
3013
|
+
if lhs._newTestFirmwareVersionAvailable != rhs._newTestFirmwareVersionAvailable {return false}
|
|
3014
|
+
if lhs._newConfigurationAvailable != rhs._newConfigurationAvailable {return false}
|
|
3015
|
+
if lhs._hardwareInfo != rhs._hardwareInfo {return false}
|
|
2029
3016
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2030
3017
|
return true
|
|
2031
3018
|
}
|
|
2032
3019
|
}
|
|
2033
3020
|
|
|
2034
|
-
extension
|
|
2035
|
-
public static let protoMessageName: String = "
|
|
3021
|
+
extension BlueRefreshOssSoIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3022
|
+
public static let protoMessageName: String = "BlueRefreshOssSoIdentity"
|
|
2036
3023
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2037
|
-
1: .same(proto: "
|
|
3024
|
+
1: .same(proto: "identityId"),
|
|
3025
|
+
2: .same(proto: "status"),
|
|
3026
|
+
3: .same(proto: "configuration"),
|
|
2038
3027
|
]
|
|
2039
3028
|
|
|
2040
3029
|
public var isInitialized: Bool {
|
|
2041
|
-
if self.
|
|
3030
|
+
if self._identityID == nil {return false}
|
|
3031
|
+
if self._status == nil {return false}
|
|
3032
|
+
if let v = self._configuration, !v.isInitialized {return false}
|
|
2042
3033
|
return true
|
|
2043
3034
|
}
|
|
2044
3035
|
|
|
@@ -2048,7 +3039,9 @@ extension BlueDeviceDetailsUWB: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
2048
3039
|
// allocates stack space for every case branch when no optimizations are
|
|
2049
3040
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2050
3041
|
switch fieldNumber {
|
|
2051
|
-
case 1: try { try decoder.
|
|
3042
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._identityID) }()
|
|
3043
|
+
case 2: try { try decoder.decodeSingularEnumField(value: &self._status) }()
|
|
3044
|
+
case 3: try { try decoder.decodeSingularMessageField(value: &self._configuration) }()
|
|
2052
3045
|
default: break
|
|
2053
3046
|
}
|
|
2054
3047
|
}
|
|
@@ -2059,36 +3052,35 @@ extension BlueDeviceDetailsUWB: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
2059
3052
|
// allocates stack space for every if/case branch local when no optimizations
|
|
2060
3053
|
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2061
3054
|
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2062
|
-
try { if let v = self.
|
|
2063
|
-
try visitor.
|
|
3055
|
+
try { if let v = self._identityID {
|
|
3056
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
3057
|
+
} }()
|
|
3058
|
+
try { if let v = self._status {
|
|
3059
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 2)
|
|
3060
|
+
} }()
|
|
3061
|
+
try { if let v = self._configuration {
|
|
3062
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
|
2064
3063
|
} }()
|
|
2065
3064
|
try unknownFields.traverse(visitor: &visitor)
|
|
2066
3065
|
}
|
|
2067
3066
|
|
|
2068
|
-
public static func ==(lhs:
|
|
2069
|
-
if lhs.
|
|
3067
|
+
public static func ==(lhs: BlueRefreshOssSoIdentity, rhs: BlueRefreshOssSoIdentity) -> Bool {
|
|
3068
|
+
if lhs._identityID != rhs._identityID {return false}
|
|
3069
|
+
if lhs._status != rhs._status {return false}
|
|
3070
|
+
if lhs._configuration != rhs._configuration {return false}
|
|
2070
3071
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2071
3072
|
return true
|
|
2072
3073
|
}
|
|
2073
3074
|
}
|
|
2074
3075
|
|
|
2075
|
-
extension
|
|
2076
|
-
public static let protoMessageName: String = "
|
|
3076
|
+
extension BlueRefreshOssSoIdentities: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3077
|
+
public static let protoMessageName: String = "BlueRefreshOssSoIdentities"
|
|
2077
3078
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2078
|
-
1: .same(proto: "
|
|
2079
|
-
2: .same(proto: "deviceId"),
|
|
2080
|
-
3: .same(proto: "distanceMeters"),
|
|
2081
|
-
4: .same(proto: "manufacturerInfo"),
|
|
2082
|
-
5: .same(proto: "bluetooth"),
|
|
2083
|
-
6: .same(proto: "uwb"),
|
|
3079
|
+
1: .same(proto: "identities"),
|
|
2084
3080
|
]
|
|
2085
3081
|
|
|
2086
3082
|
public var isInitialized: Bool {
|
|
2087
|
-
if self.
|
|
2088
|
-
if self._deviceID == nil {return false}
|
|
2089
|
-
if self._distanceMeters == nil {return false}
|
|
2090
|
-
if let v = self._manufacturerInfo, !v.isInitialized {return false}
|
|
2091
|
-
if let v = self.details, !v.isInitialized {return false}
|
|
3083
|
+
if !SwiftProtobuf.Internal.areAllInitialized(self.identities) {return false}
|
|
2092
3084
|
return true
|
|
2093
3085
|
}
|
|
2094
3086
|
|
|
@@ -2098,277 +3090,88 @@ extension BlueDeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplement
|
|
|
2098
3090
|
// allocates stack space for every case branch when no optimizations are
|
|
2099
3091
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2100
3092
|
switch fieldNumber {
|
|
2101
|
-
case 1: try { try decoder.
|
|
2102
|
-
case 2: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
2103
|
-
case 3: try { try decoder.decodeSingularFloatField(value: &self._distanceMeters) }()
|
|
2104
|
-
case 4: try { try decoder.decodeSingularMessageField(value: &self._manufacturerInfo) }()
|
|
2105
|
-
case 5: try {
|
|
2106
|
-
var v: BlueDeviceDetailsBluetooth?
|
|
2107
|
-
var hadOneofValue = false
|
|
2108
|
-
if let current = self.details {
|
|
2109
|
-
hadOneofValue = true
|
|
2110
|
-
if case .bluetooth(let m) = current {v = m}
|
|
2111
|
-
}
|
|
2112
|
-
try decoder.decodeSingularMessageField(value: &v)
|
|
2113
|
-
if let v = v {
|
|
2114
|
-
if hadOneofValue {try decoder.handleConflictingOneOf()}
|
|
2115
|
-
self.details = .bluetooth(v)
|
|
2116
|
-
}
|
|
2117
|
-
}()
|
|
2118
|
-
case 6: try {
|
|
2119
|
-
var v: BlueDeviceDetailsUWB?
|
|
2120
|
-
var hadOneofValue = false
|
|
2121
|
-
if let current = self.details {
|
|
2122
|
-
hadOneofValue = true
|
|
2123
|
-
if case .uwb(let m) = current {v = m}
|
|
2124
|
-
}
|
|
2125
|
-
try decoder.decodeSingularMessageField(value: &v)
|
|
2126
|
-
if let v = v {
|
|
2127
|
-
if hadOneofValue {try decoder.handleConflictingOneOf()}
|
|
2128
|
-
self.details = .uwb(v)
|
|
2129
|
-
}
|
|
2130
|
-
}()
|
|
3093
|
+
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.identities) }()
|
|
2131
3094
|
default: break
|
|
2132
3095
|
}
|
|
2133
3096
|
}
|
|
2134
3097
|
}
|
|
2135
3098
|
|
|
2136
3099
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2140
|
-
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2141
|
-
try { if let v = self._deviceType {
|
|
2142
|
-
try visitor.visitSingularEnumField(value: v, fieldNumber: 1)
|
|
2143
|
-
} }()
|
|
2144
|
-
try { if let v = self._deviceID {
|
|
2145
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2146
|
-
} }()
|
|
2147
|
-
try { if let v = self._distanceMeters {
|
|
2148
|
-
try visitor.visitSingularFloatField(value: v, fieldNumber: 3)
|
|
2149
|
-
} }()
|
|
2150
|
-
try { if let v = self._manufacturerInfo {
|
|
2151
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
|
|
2152
|
-
} }()
|
|
2153
|
-
switch self.details {
|
|
2154
|
-
case .bluetooth?: try {
|
|
2155
|
-
guard case .bluetooth(let v)? = self.details else { preconditionFailure() }
|
|
2156
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
|
|
2157
|
-
}()
|
|
2158
|
-
case .uwb?: try {
|
|
2159
|
-
guard case .uwb(let v)? = self.details else { preconditionFailure() }
|
|
2160
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 6)
|
|
2161
|
-
}()
|
|
2162
|
-
case nil: break
|
|
3100
|
+
if !self.identities.isEmpty {
|
|
3101
|
+
try visitor.visitRepeatedMessageField(value: self.identities, fieldNumber: 1)
|
|
2163
3102
|
}
|
|
2164
3103
|
try unknownFields.traverse(visitor: &visitor)
|
|
2165
3104
|
}
|
|
2166
3105
|
|
|
2167
|
-
public static func ==(lhs:
|
|
2168
|
-
if lhs.
|
|
2169
|
-
if lhs._deviceID != rhs._deviceID {return false}
|
|
2170
|
-
if lhs._distanceMeters != rhs._distanceMeters {return false}
|
|
2171
|
-
if lhs._manufacturerInfo != rhs._manufacturerInfo {return false}
|
|
2172
|
-
if lhs.details != rhs.details {return false}
|
|
3106
|
+
public static func ==(lhs: BlueRefreshOssSoIdentities, rhs: BlueRefreshOssSoIdentities) -> Bool {
|
|
3107
|
+
if lhs.identities != rhs.identities {return false}
|
|
2173
3108
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2174
3109
|
return true
|
|
2175
3110
|
}
|
|
2176
3111
|
}
|
|
2177
3112
|
|
|
2178
|
-
extension
|
|
2179
|
-
public static let protoMessageName: String = "
|
|
3113
|
+
extension BlueSynchronizeIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3114
|
+
public static let protoMessageName: String = "BlueSynchronizeIdentity"
|
|
2180
3115
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2181
|
-
1: .same(proto: "
|
|
2182
|
-
2: .same(proto: "
|
|
2183
|
-
3: .same(proto: "
|
|
2184
|
-
4: .same(proto: "description"),
|
|
2185
|
-
5: .same(proto: "siteId"),
|
|
2186
|
-
6: .same(proto: "siteName"),
|
|
2187
|
-
7: .same(proto: "validFrom"),
|
|
2188
|
-
8: .same(proto: "validTo"),
|
|
2189
|
-
9: .same(proto: "validity"),
|
|
2190
|
-
10: .same(proto: "privateKey"),
|
|
2191
|
-
11: .same(proto: "receiverName"),
|
|
2192
|
-
12: .same(proto: "organisation"),
|
|
2193
|
-
13: .same(proto: "organisationName"),
|
|
3116
|
+
1: .same(proto: "identityId"),
|
|
3117
|
+
2: .same(proto: "returnCode"),
|
|
3118
|
+
3: .same(proto: "errorDescription"),
|
|
2194
3119
|
]
|
|
2195
3120
|
|
|
2196
|
-
fileprivate class _StorageClass {
|
|
2197
|
-
var _credentialID: BlueCredentialId? = nil
|
|
2198
|
-
var _credentialType: BlueCredentialType? = nil
|
|
2199
|
-
var _name: String? = nil
|
|
2200
|
-
var _description_p: String? = nil
|
|
2201
|
-
var _siteID: Int32? = nil
|
|
2202
|
-
var _siteName: String? = nil
|
|
2203
|
-
var _validFrom: BlueLocalTimestamp? = nil
|
|
2204
|
-
var _validTo: BlueLocalTimestamp? = nil
|
|
2205
|
-
var _validity: BlueLocalTimestamp? = nil
|
|
2206
|
-
var _privateKey: Data? = nil
|
|
2207
|
-
var _receiverName: String? = nil
|
|
2208
|
-
var _organisation: String? = nil
|
|
2209
|
-
var _organisationName: String? = nil
|
|
2210
|
-
|
|
2211
|
-
#if swift(>=5.10)
|
|
2212
|
-
// This property is used as the initial default value for new instances of the type.
|
|
2213
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
2214
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
2215
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
2216
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
2217
|
-
#else
|
|
2218
|
-
static let defaultInstance = _StorageClass()
|
|
2219
|
-
#endif
|
|
2220
|
-
|
|
2221
|
-
private init() {}
|
|
2222
|
-
|
|
2223
|
-
init(copying source: _StorageClass) {
|
|
2224
|
-
_credentialID = source._credentialID
|
|
2225
|
-
_credentialType = source._credentialType
|
|
2226
|
-
_name = source._name
|
|
2227
|
-
_description_p = source._description_p
|
|
2228
|
-
_siteID = source._siteID
|
|
2229
|
-
_siteName = source._siteName
|
|
2230
|
-
_validFrom = source._validFrom
|
|
2231
|
-
_validTo = source._validTo
|
|
2232
|
-
_validity = source._validity
|
|
2233
|
-
_privateKey = source._privateKey
|
|
2234
|
-
_receiverName = source._receiverName
|
|
2235
|
-
_organisation = source._organisation
|
|
2236
|
-
_organisationName = source._organisationName
|
|
2237
|
-
}
|
|
2238
|
-
}
|
|
2239
|
-
|
|
2240
|
-
fileprivate mutating func _uniqueStorage() -> _StorageClass {
|
|
2241
|
-
if !isKnownUniquelyReferenced(&_storage) {
|
|
2242
|
-
_storage = _StorageClass(copying: _storage)
|
|
2243
|
-
}
|
|
2244
|
-
return _storage
|
|
2245
|
-
}
|
|
2246
|
-
|
|
2247
3121
|
public var isInitialized: Bool {
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
2264
|
-
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2265
|
-
// The use of inline closures is to circumvent an issue where the compiler
|
|
2266
|
-
// allocates stack space for every case branch when no optimizations are
|
|
2267
|
-
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2268
|
-
switch fieldNumber {
|
|
2269
|
-
case 1: try { try decoder.decodeSingularMessageField(value: &_storage._credentialID) }()
|
|
2270
|
-
case 2: try { try decoder.decodeSingularEnumField(value: &_storage._credentialType) }()
|
|
2271
|
-
case 3: try { try decoder.decodeSingularStringField(value: &_storage._name) }()
|
|
2272
|
-
case 4: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }()
|
|
2273
|
-
case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._siteID) }()
|
|
2274
|
-
case 6: try { try decoder.decodeSingularStringField(value: &_storage._siteName) }()
|
|
2275
|
-
case 7: try { try decoder.decodeSingularMessageField(value: &_storage._validFrom) }()
|
|
2276
|
-
case 8: try { try decoder.decodeSingularMessageField(value: &_storage._validTo) }()
|
|
2277
|
-
case 9: try { try decoder.decodeSingularMessageField(value: &_storage._validity) }()
|
|
2278
|
-
case 10: try { try decoder.decodeSingularBytesField(value: &_storage._privateKey) }()
|
|
2279
|
-
case 11: try { try decoder.decodeSingularStringField(value: &_storage._receiverName) }()
|
|
2280
|
-
case 12: try { try decoder.decodeSingularStringField(value: &_storage._organisation) }()
|
|
2281
|
-
case 13: try { try decoder.decodeSingularStringField(value: &_storage._organisationName) }()
|
|
2282
|
-
default: break
|
|
2283
|
-
}
|
|
3122
|
+
if self._identityID == nil {return false}
|
|
3123
|
+
if self._returnCode == nil {return false}
|
|
3124
|
+
return true
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
3128
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
3129
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
3130
|
+
// allocates stack space for every case branch when no optimizations are
|
|
3131
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
3132
|
+
switch fieldNumber {
|
|
3133
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._identityID) }()
|
|
3134
|
+
case 2: try { try decoder.decodeSingularEnumField(value: &self._returnCode) }()
|
|
3135
|
+
case 3: try { try decoder.decodeSingularStringField(value: &self._errorDescription) }()
|
|
3136
|
+
default: break
|
|
2284
3137
|
}
|
|
2285
3138
|
}
|
|
2286
3139
|
}
|
|
2287
3140
|
|
|
2288
3141
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
try
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
try
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
try
|
|
2301
|
-
|
|
2302
|
-
} }()
|
|
2303
|
-
try { if let v = _storage._description_p {
|
|
2304
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
2305
|
-
} }()
|
|
2306
|
-
try { if let v = _storage._siteID {
|
|
2307
|
-
try visitor.visitSingularInt32Field(value: v, fieldNumber: 5)
|
|
2308
|
-
} }()
|
|
2309
|
-
try { if let v = _storage._siteName {
|
|
2310
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 6)
|
|
2311
|
-
} }()
|
|
2312
|
-
try { if let v = _storage._validFrom {
|
|
2313
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
|
|
2314
|
-
} }()
|
|
2315
|
-
try { if let v = _storage._validTo {
|
|
2316
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
|
|
2317
|
-
} }()
|
|
2318
|
-
try { if let v = _storage._validity {
|
|
2319
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
|
|
2320
|
-
} }()
|
|
2321
|
-
try { if let v = _storage._privateKey {
|
|
2322
|
-
try visitor.visitSingularBytesField(value: v, fieldNumber: 10)
|
|
2323
|
-
} }()
|
|
2324
|
-
try { if let v = _storage._receiverName {
|
|
2325
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 11)
|
|
2326
|
-
} }()
|
|
2327
|
-
try { if let v = _storage._organisation {
|
|
2328
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 12)
|
|
2329
|
-
} }()
|
|
2330
|
-
try { if let v = _storage._organisationName {
|
|
2331
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 13)
|
|
2332
|
-
} }()
|
|
2333
|
-
}
|
|
3142
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
3143
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
3144
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
3145
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
3146
|
+
try { if let v = self._identityID {
|
|
3147
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
3148
|
+
} }()
|
|
3149
|
+
try { if let v = self._returnCode {
|
|
3150
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 2)
|
|
3151
|
+
} }()
|
|
3152
|
+
try { if let v = self._errorDescription {
|
|
3153
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
3154
|
+
} }()
|
|
2334
3155
|
try unknownFields.traverse(visitor: &visitor)
|
|
2335
3156
|
}
|
|
2336
3157
|
|
|
2337
|
-
public static func ==(lhs:
|
|
2338
|
-
if lhs.
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
let rhs_storage = _args.1
|
|
2342
|
-
if _storage._credentialID != rhs_storage._credentialID {return false}
|
|
2343
|
-
if _storage._credentialType != rhs_storage._credentialType {return false}
|
|
2344
|
-
if _storage._name != rhs_storage._name {return false}
|
|
2345
|
-
if _storage._description_p != rhs_storage._description_p {return false}
|
|
2346
|
-
if _storage._siteID != rhs_storage._siteID {return false}
|
|
2347
|
-
if _storage._siteName != rhs_storage._siteName {return false}
|
|
2348
|
-
if _storage._validFrom != rhs_storage._validFrom {return false}
|
|
2349
|
-
if _storage._validTo != rhs_storage._validTo {return false}
|
|
2350
|
-
if _storage._validity != rhs_storage._validity {return false}
|
|
2351
|
-
if _storage._privateKey != rhs_storage._privateKey {return false}
|
|
2352
|
-
if _storage._receiverName != rhs_storage._receiverName {return false}
|
|
2353
|
-
if _storage._organisation != rhs_storage._organisation {return false}
|
|
2354
|
-
if _storage._organisationName != rhs_storage._organisationName {return false}
|
|
2355
|
-
return true
|
|
2356
|
-
}
|
|
2357
|
-
if !storagesAreEqual {return false}
|
|
2358
|
-
}
|
|
3158
|
+
public static func ==(lhs: BlueSynchronizeIdentity, rhs: BlueSynchronizeIdentity) -> Bool {
|
|
3159
|
+
if lhs._identityID != rhs._identityID {return false}
|
|
3160
|
+
if lhs._returnCode != rhs._returnCode {return false}
|
|
3161
|
+
if lhs._errorDescription != rhs._errorDescription {return false}
|
|
2359
3162
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2360
3163
|
return true
|
|
2361
3164
|
}
|
|
2362
3165
|
}
|
|
2363
3166
|
|
|
2364
|
-
extension
|
|
2365
|
-
public static let protoMessageName: String = "
|
|
3167
|
+
extension BlueSynchronizeIdentities: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3168
|
+
public static let protoMessageName: String = "BlueSynchronizeIdentities"
|
|
2366
3169
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2367
|
-
1: .same(proto: "
|
|
3170
|
+
1: .same(proto: "identities"),
|
|
2368
3171
|
]
|
|
2369
3172
|
|
|
2370
3173
|
public var isInitialized: Bool {
|
|
2371
|
-
if !SwiftProtobuf.Internal.areAllInitialized(self.
|
|
3174
|
+
if !SwiftProtobuf.Internal.areAllInitialized(self.identities) {return false}
|
|
2372
3175
|
return true
|
|
2373
3176
|
}
|
|
2374
3177
|
|
|
@@ -2378,36 +3181,43 @@ extension BlueAccessCredentialList: SwiftProtobuf.Message, SwiftProtobuf._Messag
|
|
|
2378
3181
|
// allocates stack space for every case branch when no optimizations are
|
|
2379
3182
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2380
3183
|
switch fieldNumber {
|
|
2381
|
-
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.
|
|
3184
|
+
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.identities) }()
|
|
2382
3185
|
default: break
|
|
2383
3186
|
}
|
|
2384
3187
|
}
|
|
2385
3188
|
}
|
|
2386
3189
|
|
|
2387
3190
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2388
|
-
if !self.
|
|
2389
|
-
try visitor.visitRepeatedMessageField(value: self.
|
|
3191
|
+
if !self.identities.isEmpty {
|
|
3192
|
+
try visitor.visitRepeatedMessageField(value: self.identities, fieldNumber: 1)
|
|
2390
3193
|
}
|
|
2391
3194
|
try unknownFields.traverse(visitor: &visitor)
|
|
2392
3195
|
}
|
|
2393
3196
|
|
|
2394
|
-
public static func ==(lhs:
|
|
2395
|
-
if lhs.
|
|
3197
|
+
public static func ==(lhs: BlueSynchronizeIdentities, rhs: BlueSynchronizeIdentities) -> Bool {
|
|
3198
|
+
if lhs.identities != rhs.identities {return false}
|
|
2396
3199
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2397
3200
|
return true
|
|
2398
3201
|
}
|
|
2399
3202
|
}
|
|
2400
3203
|
|
|
2401
|
-
extension
|
|
2402
|
-
public static let protoMessageName: String = "
|
|
3204
|
+
extension BlueLegacyProvisioningRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3205
|
+
public static let protoMessageName: String = "BlueLegacyProvisioningRequest"
|
|
2403
3206
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2404
3207
|
1: .same(proto: "deviceId"),
|
|
2405
|
-
2: .same(proto: "
|
|
2406
|
-
3: .same(proto: "
|
|
3208
|
+
2: .same(proto: "soid"),
|
|
3209
|
+
3: .same(proto: "vendor"),
|
|
3210
|
+
4: .same(proto: "hardwareType"),
|
|
3211
|
+
5: .same(proto: "hardwareVersion"),
|
|
3212
|
+
6: .same(proto: "hardwareSerialNumber"),
|
|
2407
3213
|
]
|
|
2408
3214
|
|
|
2409
3215
|
public var isInitialized: Bool {
|
|
2410
3216
|
if self._deviceID == nil {return false}
|
|
3217
|
+
if self._soid == nil {return false}
|
|
3218
|
+
if self._vendor == nil {return false}
|
|
3219
|
+
if self._hardwareType == nil {return false}
|
|
3220
|
+
if self._hardwareVersion == nil {return false}
|
|
2411
3221
|
return true
|
|
2412
3222
|
}
|
|
2413
3223
|
|
|
@@ -2418,8 +3228,11 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2418
3228
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2419
3229
|
switch fieldNumber {
|
|
2420
3230
|
case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
2421
|
-
case 2: try { try decoder.decodeSingularStringField(value: &self.
|
|
2422
|
-
case 3: try { try decoder.
|
|
3231
|
+
case 2: try { try decoder.decodeSingularStringField(value: &self._soid) }()
|
|
3232
|
+
case 3: try { try decoder.decodeSingularStringField(value: &self._vendor) }()
|
|
3233
|
+
case 4: try { try decoder.decodeSingularEnumField(value: &self._hardwareType) }()
|
|
3234
|
+
case 5: try { try decoder.decodeSingularUInt32Field(value: &self._hardwareVersion) }()
|
|
3235
|
+
case 6: try { try decoder.decodeSingularStringField(value: &self._hardwareSerialNumber) }()
|
|
2423
3236
|
default: break
|
|
2424
3237
|
}
|
|
2425
3238
|
}
|
|
@@ -2433,32 +3246,49 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2433
3246
|
try { if let v = self._deviceID {
|
|
2434
3247
|
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2435
3248
|
} }()
|
|
2436
|
-
try { if let v = self.
|
|
3249
|
+
try { if let v = self._soid {
|
|
2437
3250
|
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2438
3251
|
} }()
|
|
2439
|
-
try { if let v = self.
|
|
2440
|
-
try visitor.
|
|
3252
|
+
try { if let v = self._vendor {
|
|
3253
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
3254
|
+
} }()
|
|
3255
|
+
try { if let v = self._hardwareType {
|
|
3256
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 4)
|
|
3257
|
+
} }()
|
|
3258
|
+
try { if let v = self._hardwareVersion {
|
|
3259
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 5)
|
|
3260
|
+
} }()
|
|
3261
|
+
try { if let v = self._hardwareSerialNumber {
|
|
3262
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 6)
|
|
2441
3263
|
} }()
|
|
2442
3264
|
try unknownFields.traverse(visitor: &visitor)
|
|
2443
3265
|
}
|
|
2444
3266
|
|
|
2445
|
-
public static func ==(lhs:
|
|
3267
|
+
public static func ==(lhs: BlueLegacyProvisioningRequest, rhs: BlueLegacyProvisioningRequest) -> Bool {
|
|
2446
3268
|
if lhs._deviceID != rhs._deviceID {return false}
|
|
2447
|
-
if lhs.
|
|
2448
|
-
if lhs.
|
|
3269
|
+
if lhs._soid != rhs._soid {return false}
|
|
3270
|
+
if lhs._vendor != rhs._vendor {return false}
|
|
3271
|
+
if lhs._hardwareType != rhs._hardwareType {return false}
|
|
3272
|
+
if lhs._hardwareVersion != rhs._hardwareVersion {return false}
|
|
3273
|
+
if lhs._hardwareSerialNumber != rhs._hardwareSerialNumber {return false}
|
|
2449
3274
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2450
3275
|
return true
|
|
2451
3276
|
}
|
|
2452
3277
|
}
|
|
2453
3278
|
|
|
2454
|
-
extension
|
|
2455
|
-
public static let protoMessageName: String = "
|
|
3279
|
+
extension BlueLegacyProvisioningResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3280
|
+
public static let protoMessageName: String = "BlueLegacyProvisioningResponse"
|
|
2456
3281
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2457
|
-
1: .same(proto: "
|
|
3282
|
+
1: .same(proto: "deviceId"),
|
|
3283
|
+
2: .same(proto: "objectId"),
|
|
3284
|
+
3: .same(proto: "provisioning"),
|
|
2458
3285
|
]
|
|
2459
3286
|
|
|
2460
3287
|
public var isInitialized: Bool {
|
|
2461
|
-
if
|
|
3288
|
+
if self._deviceID == nil {return false}
|
|
3289
|
+
if self._objectID == nil {return false}
|
|
3290
|
+
if self._provisioning == nil {return false}
|
|
3291
|
+
if let v = self._provisioning, !v.isInitialized {return false}
|
|
2462
3292
|
return true
|
|
2463
3293
|
}
|
|
2464
3294
|
|
|
@@ -2468,101 +3298,234 @@ extension BlueAccessDeviceList: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
2468
3298
|
// allocates stack space for every case branch when no optimizations are
|
|
2469
3299
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2470
3300
|
switch fieldNumber {
|
|
2471
|
-
case 1: try { try decoder.
|
|
3301
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
3302
|
+
case 2: try { try decoder.decodeSingularStringField(value: &self._objectID) }()
|
|
3303
|
+
case 3: try { try decoder.decodeSingularMessageField(value: &self._provisioning) }()
|
|
2472
3304
|
default: break
|
|
2473
3305
|
}
|
|
2474
3306
|
}
|
|
2475
3307
|
}
|
|
2476
3308
|
|
|
2477
3309
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
3310
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
3311
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
3312
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
3313
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
3314
|
+
try { if let v = self._deviceID {
|
|
3315
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
3316
|
+
} }()
|
|
3317
|
+
try { if let v = self._objectID {
|
|
3318
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
3319
|
+
} }()
|
|
3320
|
+
try { if let v = self._provisioning {
|
|
3321
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
|
|
3322
|
+
} }()
|
|
2481
3323
|
try unknownFields.traverse(visitor: &visitor)
|
|
2482
3324
|
}
|
|
2483
3325
|
|
|
2484
|
-
public static func ==(lhs:
|
|
2485
|
-
if lhs.
|
|
3326
|
+
public static func ==(lhs: BlueLegacyProvisioningResponse, rhs: BlueLegacyProvisioningResponse) -> Bool {
|
|
3327
|
+
if lhs._deviceID != rhs._deviceID {return false}
|
|
3328
|
+
if lhs._objectID != rhs._objectID {return false}
|
|
3329
|
+
if lhs._provisioning != rhs._provisioning {return false}
|
|
2486
3330
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2487
3331
|
return true
|
|
2488
3332
|
}
|
|
2489
3333
|
}
|
|
2490
3334
|
|
|
2491
|
-
extension
|
|
2492
|
-
public static let protoMessageName: String = "
|
|
3335
|
+
extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3336
|
+
public static let protoMessageName: String = "BlueAccessCredential"
|
|
2493
3337
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2494
|
-
1: .
|
|
2495
|
-
2: .same(proto: "
|
|
3338
|
+
1: .same(proto: "credentialId"),
|
|
3339
|
+
2: .same(proto: "credentialType"),
|
|
2496
3340
|
3: .same(proto: "name"),
|
|
2497
3341
|
4: .same(proto: "description"),
|
|
2498
|
-
5: .same(proto: "
|
|
3342
|
+
5: .same(proto: "siteId"),
|
|
3343
|
+
6: .same(proto: "siteName"),
|
|
3344
|
+
7: .same(proto: "validFrom"),
|
|
3345
|
+
8: .same(proto: "validTo"),
|
|
3346
|
+
9: .same(proto: "validity"),
|
|
3347
|
+
10: .same(proto: "privateKey"),
|
|
3348
|
+
11: .same(proto: "receiverName"),
|
|
3349
|
+
12: .same(proto: "organisation"),
|
|
3350
|
+
13: .same(proto: "organisationName"),
|
|
2499
3351
|
]
|
|
2500
3352
|
|
|
3353
|
+
fileprivate class _StorageClass {
|
|
3354
|
+
var _credentialID: BlueCredentialId? = nil
|
|
3355
|
+
var _credentialType: BlueCredentialType? = nil
|
|
3356
|
+
var _name: String? = nil
|
|
3357
|
+
var _description_p: String? = nil
|
|
3358
|
+
var _siteID: Int32? = nil
|
|
3359
|
+
var _siteName: String? = nil
|
|
3360
|
+
var _validFrom: BlueLocalTimestamp? = nil
|
|
3361
|
+
var _validTo: BlueLocalTimestamp? = nil
|
|
3362
|
+
var _validity: BlueLocalTimestamp? = nil
|
|
3363
|
+
var _privateKey: Data? = nil
|
|
3364
|
+
var _receiverName: String? = nil
|
|
3365
|
+
var _organisation: String? = nil
|
|
3366
|
+
var _organisationName: String? = nil
|
|
3367
|
+
|
|
3368
|
+
#if swift(>=5.10)
|
|
3369
|
+
// This property is used as the initial default value for new instances of the type.
|
|
3370
|
+
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
3371
|
+
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
3372
|
+
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
3373
|
+
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
3374
|
+
#else
|
|
3375
|
+
static let defaultInstance = _StorageClass()
|
|
3376
|
+
#endif
|
|
3377
|
+
|
|
3378
|
+
private init() {}
|
|
3379
|
+
|
|
3380
|
+
init(copying source: _StorageClass) {
|
|
3381
|
+
_credentialID = source._credentialID
|
|
3382
|
+
_credentialType = source._credentialType
|
|
3383
|
+
_name = source._name
|
|
3384
|
+
_description_p = source._description_p
|
|
3385
|
+
_siteID = source._siteID
|
|
3386
|
+
_siteName = source._siteName
|
|
3387
|
+
_validFrom = source._validFrom
|
|
3388
|
+
_validTo = source._validTo
|
|
3389
|
+
_validity = source._validity
|
|
3390
|
+
_privateKey = source._privateKey
|
|
3391
|
+
_receiverName = source._receiverName
|
|
3392
|
+
_organisation = source._organisation
|
|
3393
|
+
_organisationName = source._organisationName
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
fileprivate mutating func _uniqueStorage() -> _StorageClass {
|
|
3398
|
+
if !isKnownUniquelyReferenced(&_storage) {
|
|
3399
|
+
_storage = _StorageClass(copying: _storage)
|
|
3400
|
+
}
|
|
3401
|
+
return _storage
|
|
3402
|
+
}
|
|
3403
|
+
|
|
2501
3404
|
public var isInitialized: Bool {
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
3405
|
+
return withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
3406
|
+
if _storage._credentialID == nil {return false}
|
|
3407
|
+
if _storage._credentialType == nil {return false}
|
|
3408
|
+
if _storage._siteID == nil {return false}
|
|
3409
|
+
if _storage._organisation == nil {return false}
|
|
3410
|
+
if let v = _storage._credentialID, !v.isInitialized {return false}
|
|
3411
|
+
if let v = _storage._validFrom, !v.isInitialized {return false}
|
|
3412
|
+
if let v = _storage._validTo, !v.isInitialized {return false}
|
|
3413
|
+
if let v = _storage._validity, !v.isInitialized {return false}
|
|
3414
|
+
return true
|
|
3415
|
+
}
|
|
2506
3416
|
}
|
|
2507
3417
|
|
|
2508
3418
|
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
3419
|
+
_ = _uniqueStorage()
|
|
3420
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
3421
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
3422
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
3423
|
+
// allocates stack space for every case branch when no optimizations are
|
|
3424
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
3425
|
+
switch fieldNumber {
|
|
3426
|
+
case 1: try { try decoder.decodeSingularMessageField(value: &_storage._credentialID) }()
|
|
3427
|
+
case 2: try { try decoder.decodeSingularEnumField(value: &_storage._credentialType) }()
|
|
3428
|
+
case 3: try { try decoder.decodeSingularStringField(value: &_storage._name) }()
|
|
3429
|
+
case 4: try { try decoder.decodeSingularStringField(value: &_storage._description_p) }()
|
|
3430
|
+
case 5: try { try decoder.decodeSingularInt32Field(value: &_storage._siteID) }()
|
|
3431
|
+
case 6: try { try decoder.decodeSingularStringField(value: &_storage._siteName) }()
|
|
3432
|
+
case 7: try { try decoder.decodeSingularMessageField(value: &_storage._validFrom) }()
|
|
3433
|
+
case 8: try { try decoder.decodeSingularMessageField(value: &_storage._validTo) }()
|
|
3434
|
+
case 9: try { try decoder.decodeSingularMessageField(value: &_storage._validity) }()
|
|
3435
|
+
case 10: try { try decoder.decodeSingularBytesField(value: &_storage._privateKey) }()
|
|
3436
|
+
case 11: try { try decoder.decodeSingularStringField(value: &_storage._receiverName) }()
|
|
3437
|
+
case 12: try { try decoder.decodeSingularStringField(value: &_storage._organisation) }()
|
|
3438
|
+
case 13: try { try decoder.decodeSingularStringField(value: &_storage._organisationName) }()
|
|
3439
|
+
default: break
|
|
3440
|
+
}
|
|
2520
3441
|
}
|
|
2521
3442
|
}
|
|
2522
3443
|
}
|
|
2523
3444
|
|
|
2524
3445
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
try
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
try
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
try
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
try
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
try
|
|
3446
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
3447
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
3448
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
3449
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
3450
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
3451
|
+
try { if let v = _storage._credentialID {
|
|
3452
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
|
3453
|
+
} }()
|
|
3454
|
+
try { if let v = _storage._credentialType {
|
|
3455
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 2)
|
|
3456
|
+
} }()
|
|
3457
|
+
try { if let v = _storage._name {
|
|
3458
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
3459
|
+
} }()
|
|
3460
|
+
try { if let v = _storage._description_p {
|
|
3461
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
3462
|
+
} }()
|
|
3463
|
+
try { if let v = _storage._siteID {
|
|
3464
|
+
try visitor.visitSingularInt32Field(value: v, fieldNumber: 5)
|
|
3465
|
+
} }()
|
|
3466
|
+
try { if let v = _storage._siteName {
|
|
3467
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 6)
|
|
3468
|
+
} }()
|
|
3469
|
+
try { if let v = _storage._validFrom {
|
|
3470
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 7)
|
|
3471
|
+
} }()
|
|
3472
|
+
try { if let v = _storage._validTo {
|
|
3473
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 8)
|
|
3474
|
+
} }()
|
|
3475
|
+
try { if let v = _storage._validity {
|
|
3476
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
|
|
3477
|
+
} }()
|
|
3478
|
+
try { if let v = _storage._privateKey {
|
|
3479
|
+
try visitor.visitSingularBytesField(value: v, fieldNumber: 10)
|
|
3480
|
+
} }()
|
|
3481
|
+
try { if let v = _storage._receiverName {
|
|
3482
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 11)
|
|
3483
|
+
} }()
|
|
3484
|
+
try { if let v = _storage._organisation {
|
|
3485
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 12)
|
|
3486
|
+
} }()
|
|
3487
|
+
try { if let v = _storage._organisationName {
|
|
3488
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 13)
|
|
3489
|
+
} }()
|
|
2543
3490
|
}
|
|
2544
3491
|
try unknownFields.traverse(visitor: &visitor)
|
|
2545
3492
|
}
|
|
2546
3493
|
|
|
2547
|
-
public static func ==(lhs:
|
|
2548
|
-
if lhs.
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
3494
|
+
public static func ==(lhs: BlueAccessCredential, rhs: BlueAccessCredential) -> Bool {
|
|
3495
|
+
if lhs._storage !== rhs._storage {
|
|
3496
|
+
let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in
|
|
3497
|
+
let _storage = _args.0
|
|
3498
|
+
let rhs_storage = _args.1
|
|
3499
|
+
if _storage._credentialID != rhs_storage._credentialID {return false}
|
|
3500
|
+
if _storage._credentialType != rhs_storage._credentialType {return false}
|
|
3501
|
+
if _storage._name != rhs_storage._name {return false}
|
|
3502
|
+
if _storage._description_p != rhs_storage._description_p {return false}
|
|
3503
|
+
if _storage._siteID != rhs_storage._siteID {return false}
|
|
3504
|
+
if _storage._siteName != rhs_storage._siteName {return false}
|
|
3505
|
+
if _storage._validFrom != rhs_storage._validFrom {return false}
|
|
3506
|
+
if _storage._validTo != rhs_storage._validTo {return false}
|
|
3507
|
+
if _storage._validity != rhs_storage._validity {return false}
|
|
3508
|
+
if _storage._privateKey != rhs_storage._privateKey {return false}
|
|
3509
|
+
if _storage._receiverName != rhs_storage._receiverName {return false}
|
|
3510
|
+
if _storage._organisation != rhs_storage._organisation {return false}
|
|
3511
|
+
if _storage._organisationName != rhs_storage._organisationName {return false}
|
|
3512
|
+
return true
|
|
3513
|
+
}
|
|
3514
|
+
if !storagesAreEqual {return false}
|
|
3515
|
+
}
|
|
2553
3516
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2554
3517
|
return true
|
|
2555
3518
|
}
|
|
2556
3519
|
}
|
|
2557
3520
|
|
|
2558
|
-
extension
|
|
2559
|
-
public static let protoMessageName: String = "
|
|
3521
|
+
extension BlueAccessCredentialList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3522
|
+
public static let protoMessageName: String = "BlueAccessCredentialList"
|
|
2560
3523
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2561
|
-
1: .same(proto: "
|
|
3524
|
+
1: .same(proto: "credentials"),
|
|
2562
3525
|
]
|
|
2563
3526
|
|
|
2564
3527
|
public var isInitialized: Bool {
|
|
2565
|
-
if !SwiftProtobuf.Internal.areAllInitialized(self.
|
|
3528
|
+
if !SwiftProtobuf.Internal.areAllInitialized(self.credentials) {return false}
|
|
2566
3529
|
return true
|
|
2567
3530
|
}
|
|
2568
3531
|
|
|
@@ -2572,21 +3535,21 @@ extension BlueAccessObjectList: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
2572
3535
|
// allocates stack space for every case branch when no optimizations are
|
|
2573
3536
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2574
3537
|
switch fieldNumber {
|
|
2575
|
-
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.
|
|
3538
|
+
case 1: try { try decoder.decodeRepeatedMessageField(value: &self.credentials) }()
|
|
2576
3539
|
default: break
|
|
2577
3540
|
}
|
|
2578
3541
|
}
|
|
2579
3542
|
}
|
|
2580
3543
|
|
|
2581
3544
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2582
|
-
if !self.
|
|
2583
|
-
try visitor.visitRepeatedMessageField(value: self.
|
|
3545
|
+
if !self.credentials.isEmpty {
|
|
3546
|
+
try visitor.visitRepeatedMessageField(value: self.credentials, fieldNumber: 1)
|
|
2584
3547
|
}
|
|
2585
3548
|
try unknownFields.traverse(visitor: &visitor)
|
|
2586
3549
|
}
|
|
2587
3550
|
|
|
2588
|
-
public static func ==(lhs:
|
|
2589
|
-
if lhs.
|
|
3551
|
+
public static func ==(lhs: BlueAccessCredentialList, rhs: BlueAccessCredentialList) -> Bool {
|
|
3552
|
+
if lhs.credentials != rhs.credentials {return false}
|
|
2590
3553
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2591
3554
|
return true
|
|
2592
3555
|
}
|
|
@@ -2776,139 +3739,3 @@ extension BlueSynchronizeAccessCredentials: SwiftProtobuf.Message, SwiftProtobuf
|
|
|
2776
3739
|
return true
|
|
2777
3740
|
}
|
|
2778
3741
|
}
|
|
2779
|
-
|
|
2780
|
-
extension BlueHardwareInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2781
|
-
public static let protoMessageName: String = "BlueHardwareInfo"
|
|
2782
|
-
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2783
|
-
1: .same(proto: "name"),
|
|
2784
|
-
2: .same(proto: "vendor"),
|
|
2785
|
-
3: .same(proto: "vendorName"),
|
|
2786
|
-
4: .same(proto: "version"),
|
|
2787
|
-
5: .same(proto: "type"),
|
|
2788
|
-
]
|
|
2789
|
-
|
|
2790
|
-
public var isInitialized: Bool {
|
|
2791
|
-
if self._name == nil {return false}
|
|
2792
|
-
if self._vendor == nil {return false}
|
|
2793
|
-
if self._vendorName == nil {return false}
|
|
2794
|
-
if self._version == nil {return false}
|
|
2795
|
-
if self._type == nil {return false}
|
|
2796
|
-
return true
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2800
|
-
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2801
|
-
// The use of inline closures is to circumvent an issue where the compiler
|
|
2802
|
-
// allocates stack space for every case branch when no optimizations are
|
|
2803
|
-
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2804
|
-
switch fieldNumber {
|
|
2805
|
-
case 1: try { try decoder.decodeSingularStringField(value: &self._name) }()
|
|
2806
|
-
case 2: try { try decoder.decodeSingularStringField(value: &self._vendor) }()
|
|
2807
|
-
case 3: try { try decoder.decodeSingularStringField(value: &self._vendorName) }()
|
|
2808
|
-
case 4: try { try decoder.decodeSingularUInt32Field(value: &self._version) }()
|
|
2809
|
-
case 5: try { try decoder.decodeSingularEnumField(value: &self._type) }()
|
|
2810
|
-
default: break
|
|
2811
|
-
}
|
|
2812
|
-
}
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2815
|
-
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2816
|
-
// The use of inline closures is to circumvent an issue where the compiler
|
|
2817
|
-
// allocates stack space for every if/case branch local when no optimizations
|
|
2818
|
-
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2819
|
-
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2820
|
-
try { if let v = self._name {
|
|
2821
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2822
|
-
} }()
|
|
2823
|
-
try { if let v = self._vendor {
|
|
2824
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2825
|
-
} }()
|
|
2826
|
-
try { if let v = self._vendorName {
|
|
2827
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
2828
|
-
} }()
|
|
2829
|
-
try { if let v = self._version {
|
|
2830
|
-
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 4)
|
|
2831
|
-
} }()
|
|
2832
|
-
try { if let v = self._type {
|
|
2833
|
-
try visitor.visitSingularEnumField(value: v, fieldNumber: 5)
|
|
2834
|
-
} }()
|
|
2835
|
-
try unknownFields.traverse(visitor: &visitor)
|
|
2836
|
-
}
|
|
2837
|
-
|
|
2838
|
-
public static func ==(lhs: BlueHardwareInfo, rhs: BlueHardwareInfo) -> Bool {
|
|
2839
|
-
if lhs._name != rhs._name {return false}
|
|
2840
|
-
if lhs._vendor != rhs._vendor {return false}
|
|
2841
|
-
if lhs._vendorName != rhs._vendorName {return false}
|
|
2842
|
-
if lhs._version != rhs._version {return false}
|
|
2843
|
-
if lhs._type != rhs._type {return false}
|
|
2844
|
-
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2845
|
-
return true
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
|
|
2849
|
-
extension BlueSystemStatusExt: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2850
|
-
public static let protoMessageName: String = "BlueSystemStatusExt"
|
|
2851
|
-
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
2852
|
-
1: .same(proto: "status"),
|
|
2853
|
-
2: .same(proto: "newFirmwareVersionAvailable"),
|
|
2854
|
-
3: .same(proto: "newTestFirmwareVersionAvailable"),
|
|
2855
|
-
4: .same(proto: "newConfigurationAvailable"),
|
|
2856
|
-
5: .same(proto: "hardwareInfo"),
|
|
2857
|
-
]
|
|
2858
|
-
|
|
2859
|
-
public var isInitialized: Bool {
|
|
2860
|
-
if self._status == nil {return false}
|
|
2861
|
-
if let v = self._status, !v.isInitialized {return false}
|
|
2862
|
-
if let v = self._hardwareInfo, !v.isInitialized {return false}
|
|
2863
|
-
return true
|
|
2864
|
-
}
|
|
2865
|
-
|
|
2866
|
-
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2867
|
-
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2868
|
-
// The use of inline closures is to circumvent an issue where the compiler
|
|
2869
|
-
// allocates stack space for every case branch when no optimizations are
|
|
2870
|
-
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2871
|
-
switch fieldNumber {
|
|
2872
|
-
case 1: try { try decoder.decodeSingularMessageField(value: &self._status) }()
|
|
2873
|
-
case 2: try { try decoder.decodeSingularBoolField(value: &self._newFirmwareVersionAvailable) }()
|
|
2874
|
-
case 3: try { try decoder.decodeSingularBoolField(value: &self._newTestFirmwareVersionAvailable) }()
|
|
2875
|
-
case 4: try { try decoder.decodeSingularBoolField(value: &self._newConfigurationAvailable) }()
|
|
2876
|
-
case 5: try { try decoder.decodeSingularMessageField(value: &self._hardwareInfo) }()
|
|
2877
|
-
default: break
|
|
2878
|
-
}
|
|
2879
|
-
}
|
|
2880
|
-
}
|
|
2881
|
-
|
|
2882
|
-
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2883
|
-
// The use of inline closures is to circumvent an issue where the compiler
|
|
2884
|
-
// allocates stack space for every if/case branch local when no optimizations
|
|
2885
|
-
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2886
|
-
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2887
|
-
try { if let v = self._status {
|
|
2888
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
|
|
2889
|
-
} }()
|
|
2890
|
-
try { if let v = self._newFirmwareVersionAvailable {
|
|
2891
|
-
try visitor.visitSingularBoolField(value: v, fieldNumber: 2)
|
|
2892
|
-
} }()
|
|
2893
|
-
try { if let v = self._newTestFirmwareVersionAvailable {
|
|
2894
|
-
try visitor.visitSingularBoolField(value: v, fieldNumber: 3)
|
|
2895
|
-
} }()
|
|
2896
|
-
try { if let v = self._newConfigurationAvailable {
|
|
2897
|
-
try visitor.visitSingularBoolField(value: v, fieldNumber: 4)
|
|
2898
|
-
} }()
|
|
2899
|
-
try { if let v = self._hardwareInfo {
|
|
2900
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
|
|
2901
|
-
} }()
|
|
2902
|
-
try unknownFields.traverse(visitor: &visitor)
|
|
2903
|
-
}
|
|
2904
|
-
|
|
2905
|
-
public static func ==(lhs: BlueSystemStatusExt, rhs: BlueSystemStatusExt) -> Bool {
|
|
2906
|
-
if lhs._status != rhs._status {return false}
|
|
2907
|
-
if lhs._newFirmwareVersionAvailable != rhs._newFirmwareVersionAvailable {return false}
|
|
2908
|
-
if lhs._newTestFirmwareVersionAvailable != rhs._newTestFirmwareVersionAvailable {return false}
|
|
2909
|
-
if lhs._newConfigurationAvailable != rhs._newConfigurationAvailable {return false}
|
|
2910
|
-
if lhs._hardwareInfo != rhs._hardwareInfo {return false}
|
|
2911
|
-
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2912
|
-
return true
|
|
2913
|
-
}
|
|
2914
|
-
}
|