@blueid/access-proto 12.26.0 → 12.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,11 @@
8
8
  // For information on using the generated types, please see the documentation:
9
9
  // https://github.com/apple/swift-protobuf/
10
10
 
11
+ #if canImport(FoundationEssentials)
12
+ import FoundationEssentials
13
+ #else
11
14
  import Foundation
15
+ #endif
12
16
  import SwiftProtobuf
13
17
 
14
18
  // If the compiler emits an error on this type, it is because this file
@@ -21,47 +25,35 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
21
25
  typealias Version = _2
22
26
  }
23
27
 
24
- public enum BlueNetworkType: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
25
- case none = 1
26
- case ethernet = 2
27
- case wifi = 3
28
- case gsm = 4
29
-
30
- public init() {
31
- self = .none
32
- }
33
-
34
- }
35
-
36
28
  public struct BlueBaseConfig: Sendable {
37
29
  // SwiftProtobuf.Message conformance is added in an extension below. See the
38
30
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
39
31
  // methods supported on all messages.
40
32
 
41
33
  public var isoCountry: String {
42
- get {return _isoCountry ?? String()}
34
+ get {_isoCountry ?? String()}
43
35
  set {_isoCountry = newValue}
44
36
  }
45
37
  /// Returns true if `isoCountry` has been explicitly set.
46
- public var hasIsoCountry: Bool {return self._isoCountry != nil}
38
+ public var hasIsoCountry: Bool {self._isoCountry != nil}
47
39
  /// Clears the value of `isoCountry`. Subsequent reads from it will return its default value.
48
40
  public mutating func clearIsoCountry() {self._isoCountry = nil}
49
41
 
50
42
  public var isoState: String {
51
- get {return _isoState ?? String()}
43
+ get {_isoState ?? String()}
52
44
  set {_isoState = newValue}
53
45
  }
54
46
  /// Returns true if `isoState` has been explicitly set.
55
- public var hasIsoState: Bool {return self._isoState != nil}
47
+ public var hasIsoState: Bool {self._isoState != nil}
56
48
  /// Clears the value of `isoState`. Subsequent reads from it will return its default value.
57
49
  public mutating func clearIsoState() {self._isoState = nil}
58
50
 
59
51
  public var utcOffsetMinutes: Int32 {
60
- get {return _utcOffsetMinutes ?? 0}
52
+ get {_utcOffsetMinutes ?? 0}
61
53
  set {_utcOffsetMinutes = newValue}
62
54
  }
63
55
  /// Returns true if `utcOffsetMinutes` has been explicitly set.
64
- public var hasUtcOffsetMinutes: Bool {return self._utcOffsetMinutes != nil}
56
+ public var hasUtcOffsetMinutes: Bool {self._utcOffsetMinutes != nil}
65
57
  /// Clears the value of `utcOffsetMinutes`. Subsequent reads from it will return its default value.
66
58
  public mutating func clearUtcOffsetMinutes() {self._utcOffsetMinutes = nil}
67
59
 
@@ -69,11 +61,11 @@ public struct BlueBaseConfig: Sendable {
69
61
  /// react accordingly ie like when battery is running low opening the lock
70
62
  /// and logging accordingly etc
71
63
  public var autoCheckSystemStatus: Bool {
72
- get {return _autoCheckSystemStatus ?? false}
64
+ get {_autoCheckSystemStatus ?? false}
73
65
  set {_autoCheckSystemStatus = newValue}
74
66
  }
75
67
  /// Returns true if `autoCheckSystemStatus` has been explicitly set.
76
- public var hasAutoCheckSystemStatus: Bool {return self._autoCheckSystemStatus != nil}
68
+ public var hasAutoCheckSystemStatus: Bool {self._autoCheckSystemStatus != nil}
77
69
  /// Clears the value of `autoCheckSystemStatus`. Subsequent reads from it will return its default value.
78
70
  public mutating func clearAutoCheckSystemStatus() {self._autoCheckSystemStatus = nil}
79
71
 
@@ -94,11 +86,11 @@ public struct BlueBleConfig: Sendable {
94
86
 
95
87
  /// Whether ble is enabled or not
96
88
  public var isAdvertising: Bool {
97
- get {return _isAdvertising ?? true}
89
+ get {_isAdvertising ?? true}
98
90
  set {_isAdvertising = newValue}
99
91
  }
100
92
  /// Returns true if `isAdvertising` has been explicitly set.
101
- public var hasIsAdvertising: Bool {return self._isAdvertising != nil}
93
+ public var hasIsAdvertising: Bool {self._isAdvertising != nil}
102
94
  /// Clears the value of `isAdvertising`. Subsequent reads from it will return its default value.
103
95
  public mutating func clearIsAdvertising() {self._isAdvertising = nil}
104
96
 
@@ -112,52 +104,52 @@ public struct BlueBleConfig: Sendable {
112
104
 
113
105
  /// The desired advertising interval in ms
114
106
  public var advertisingIntervalMs: UInt32 {
115
- get {return _advertisingIntervalMs ?? 500}
107
+ get {_advertisingIntervalMs ?? 500}
116
108
  set {_advertisingIntervalMs = newValue}
117
109
  }
118
110
  /// Returns true if `advertisingIntervalMs` has been explicitly set.
119
- public var hasAdvertisingIntervalMs: Bool {return self._advertisingIntervalMs != nil}
111
+ public var hasAdvertisingIntervalMs: Bool {self._advertisingIntervalMs != nil}
120
112
  /// Clears the value of `advertisingIntervalMs`. Subsequent reads from it will return its default value.
121
113
  public mutating func clearAdvertisingIntervalMs() {self._advertisingIntervalMs = nil}
122
114
 
123
115
  /// The maximal connection timeout per connection in milliseconds
124
116
  public var maxConnectionTimeoutMs: UInt32 {
125
- get {return _maxConnectionTimeoutMs ?? 3000}
117
+ get {_maxConnectionTimeoutMs ?? 3000}
126
118
  set {_maxConnectionTimeoutMs = newValue}
127
119
  }
128
120
  /// Returns true if `maxConnectionTimeoutMs` has been explicitly set.
129
- public var hasMaxConnectionTimeoutMs: Bool {return self._maxConnectionTimeoutMs != nil}
121
+ public var hasMaxConnectionTimeoutMs: Bool {self._maxConnectionTimeoutMs != nil}
130
122
  /// Clears the value of `maxConnectionTimeoutMs`. Subsequent reads from it will return its default value.
131
123
  public mutating func clearMaxConnectionTimeoutMs() {self._maxConnectionTimeoutMs = nil}
132
124
 
133
125
  /// The actual tx power level used for bluetooth from (0 - lowest) to 7
134
126
  /// (highest)
135
127
  public var txPowerLevel: UInt32 {
136
- get {return _txPowerLevel ?? 3}
128
+ get {_txPowerLevel ?? 3}
137
129
  set {_txPowerLevel = newValue}
138
130
  }
139
131
  /// Returns true if `txPowerLevel` has been explicitly set.
140
- public var hasTxPowerLevel: Bool {return self._txPowerLevel != nil}
132
+ public var hasTxPowerLevel: Bool {self._txPowerLevel != nil}
141
133
  /// Clears the value of `txPowerLevel`. Subsequent reads from it will return its default value.
142
134
  public mutating func clearTxPowerLevel() {self._txPowerLevel = nil}
143
135
 
144
136
  /// The advertised tx power level at 1 meter in decibel (-XX - +XX)
145
137
  public var advertisedTxPower1Meter: Int32 {
146
- get {return _advertisedTxPower1Meter ?? -77}
138
+ get {_advertisedTxPower1Meter ?? -77}
147
139
  set {_advertisedTxPower1Meter = newValue}
148
140
  }
149
141
  /// Returns true if `advertisedTxPower1Meter` has been explicitly set.
150
- public var hasAdvertisedTxPower1Meter: Bool {return self._advertisedTxPower1Meter != nil}
142
+ public var hasAdvertisedTxPower1Meter: Bool {self._advertisedTxPower1Meter != nil}
151
143
  /// Clears the value of `advertisedTxPower1Meter`. Subsequent reads from it will return its default value.
152
144
  public mutating func clearAdvertisedTxPower1Meter() {self._advertisedTxPower1Meter = nil}
153
145
 
154
146
  /// If set then advertises as IBeacon otherwise uses regular advertising
155
147
  public var isIbeaconAdvertisement: Bool {
156
- get {return _isIbeaconAdvertisement ?? false}
148
+ get {_isIbeaconAdvertisement ?? false}
157
149
  set {_isIbeaconAdvertisement = newValue}
158
150
  }
159
151
  /// Returns true if `isIbeaconAdvertisement` has been explicitly set.
160
- public var hasIsIbeaconAdvertisement: Bool {return self._isIbeaconAdvertisement != nil}
152
+ public var hasIsIbeaconAdvertisement: Bool {self._isIbeaconAdvertisement != nil}
161
153
  /// Clears the value of `isIbeaconAdvertisement`. Subsequent reads from it will return its default value.
162
154
  public mutating func clearIsIbeaconAdvertisement() {self._isIbeaconAdvertisement = nil}
163
155
 
@@ -185,31 +177,31 @@ public struct BlueOnlineConfig: Sendable {
185
177
 
186
178
  /// The SSID of the wifi network
187
179
  public var wifiSsid: String {
188
- get {return _wifiSsid ?? String()}
180
+ get {_wifiSsid ?? String()}
189
181
  set {_wifiSsid = newValue}
190
182
  }
191
183
  /// Returns true if `wifiSsid` has been explicitly set.
192
- public var hasWifiSsid: Bool {return self._wifiSsid != nil}
184
+ public var hasWifiSsid: Bool {self._wifiSsid != nil}
193
185
  /// Clears the value of `wifiSsid`. Subsequent reads from it will return its default value.
194
186
  public mutating func clearWifiSsid() {self._wifiSsid = nil}
195
187
 
196
188
  /// The wifi password
197
189
  public var wifiPassword: String {
198
- get {return _wifiPassword ?? String()}
190
+ get {_wifiPassword ?? String()}
199
191
  set {_wifiPassword = newValue}
200
192
  }
201
193
  /// Returns true if `wifiPassword` has been explicitly set.
202
- public var hasWifiPassword: Bool {return self._wifiPassword != nil}
194
+ public var hasWifiPassword: Bool {self._wifiPassword != nil}
203
195
  /// Clears the value of `wifiPassword`. Subsequent reads from it will return its default value.
204
196
  public mutating func clearWifiPassword() {self._wifiPassword = nil}
205
197
 
206
198
  /// Default timeout for online connections
207
199
  public var timeoutSec: UInt32 {
208
- get {return _timeoutSec ?? 30}
200
+ get {_timeoutSec ?? 30}
209
201
  set {_timeoutSec = newValue}
210
202
  }
211
203
  /// Returns true if `timeoutSec` has been explicitly set.
212
- public var hasTimeoutSec: Bool {return self._timeoutSec != nil}
204
+ public var hasTimeoutSec: Bool {self._timeoutSec != nil}
213
205
  /// Clears the value of `timeoutSec`. Subsequent reads from it will return its default value.
214
206
  public mutating func clearTimeoutSec() {self._timeoutSec = nil}
215
207
 
@@ -228,11 +220,11 @@ public struct BlueAccessConfigGroup: Sendable {
228
220
  // methods supported on all messages.
229
221
 
230
222
  public var groupID: UInt32 {
231
- get {return _groupID ?? 0}
223
+ get {_groupID ?? 0}
232
224
  set {_groupID = newValue}
233
225
  }
234
226
  /// Returns true if `groupID` has been explicitly set.
235
- public var hasGroupID: Bool {return self._groupID != nil}
227
+ public var hasGroupID: Bool {self._groupID != nil}
236
228
  /// Clears the value of `groupID`. Subsequent reads from it will return its default value.
237
229
  public mutating func clearGroupID() {self._groupID = nil}
238
230
 
@@ -252,21 +244,21 @@ public struct BlueAccessConfig: Sendable {
252
244
 
253
245
  /// The device's unique access id
254
246
  public var id: UInt32 {
255
- get {return _id ?? 1}
247
+ get {_id ?? 1}
256
248
  set {_id = newValue}
257
249
  }
258
250
  /// Returns true if `id` has been explicitly set.
259
- public var hasID: Bool {return self._id != nil}
251
+ public var hasID: Bool {self._id != nil}
260
252
  /// Clears the value of `id`. Subsequent reads from it will return its default value.
261
253
  public mutating func clearID() {self._id = nil}
262
254
 
263
255
  /// The site id bound to this device
264
256
  public var siteID: UInt32 {
265
- get {return _siteID ?? 1}
257
+ get {_siteID ?? 1}
266
258
  set {_siteID = newValue}
267
259
  }
268
260
  /// Returns true if `siteID` has been explicitly set.
269
- public var hasSiteID: Bool {return self._siteID != nil}
261
+ public var hasSiteID: Bool {self._siteID != nil}
270
262
  /// Clears the value of `siteID`. Subsequent reads from it will return its default value.
271
263
  public mutating func clearSiteID() {self._siteID = nil}
272
264
 
@@ -275,11 +267,11 @@ public struct BlueAccessConfig: Sendable {
275
267
 
276
268
  /// The device's unique access id (16-bit)
277
269
  public var extendedID: UInt32 {
278
- get {return _extendedID ?? 1}
270
+ get {_extendedID ?? 1}
279
271
  set {_extendedID = newValue}
280
272
  }
281
273
  /// Returns true if `extendedID` has been explicitly set.
282
- public var hasExtendedID: Bool {return self._extendedID != nil}
274
+ public var hasExtendedID: Bool {self._extendedID != nil}
283
275
  /// Clears the value of `extendedID`. Subsequent reads from it will return its default value.
284
276
  public mutating func clearExtendedID() {self._extendedID = nil}
285
277
 
@@ -302,22 +294,22 @@ public struct BlueOssConfig: Sendable {
302
294
  /// The mifare aes-key for reading the oss secure id application, default is
303
295
  /// the oss sid demo key
304
296
  public var sidMifareAesKey: Data {
305
- get {return _sidMifareAesKey ?? Data([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0])}
297
+ get {_sidMifareAesKey ?? Data([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0])}
306
298
  set {_sidMifareAesKey = newValue}
307
299
  }
308
300
  /// Returns true if `sidMifareAesKey` has been explicitly set.
309
- public var hasSidMifareAesKey: Bool {return self._sidMifareAesKey != nil}
301
+ public var hasSidMifareAesKey: Bool {self._sidMifareAesKey != nil}
310
302
  /// Clears the value of `sidMifareAesKey`. Subsequent reads from it will return its default value.
311
303
  public mutating func clearSidMifareAesKey() {self._sidMifareAesKey = nil}
312
304
 
313
305
  /// The mifare application id for the oss secure id application, default is the
314
306
  /// oss sid default aid. A value of 0 disables Oss Sid Mifare support.
315
307
  public var sidMifareAid: UInt32 {
316
- get {return _sidMifareAid ?? 16076801}
308
+ get {_sidMifareAid ?? 16076801}
317
309
  set {_sidMifareAid = newValue}
318
310
  }
319
311
  /// Returns true if `sidMifareAid` has been explicitly set.
320
- public var hasSidMifareAid: Bool {return self._sidMifareAid != nil}
312
+ public var hasSidMifareAid: Bool {self._sidMifareAid != nil}
321
313
  /// Clears the value of `sidMifareAid`. Subsequent reads from it will return its default value.
322
314
  public mutating func clearSidMifareAid() {self._sidMifareAid = nil}
323
315
 
@@ -325,77 +317,67 @@ public struct BlueOssConfig: Sendable {
325
317
  /// offline card if required as well as it will try to get and put the latest
326
318
  /// blacklist on the card
327
319
  public var soUpdater: Bool {
328
- get {return _soUpdater ?? false}
320
+ get {_soUpdater ?? false}
329
321
  set {_soUpdater = newValue}
330
322
  }
331
323
  /// Returns true if `soUpdater` has been explicitly set.
332
- public var hasSoUpdater: Bool {return self._soUpdater != nil}
324
+ public var hasSoUpdater: Bool {self._soUpdater != nil}
333
325
  /// Clears the value of `soUpdater`. Subsequent reads from it will return its default value.
334
326
  public mutating func clearSoUpdater() {self._soUpdater = nil}
335
327
 
336
328
  /// If set the system will try to connect online if there are any events on a
337
329
  /// presented card and transfer all events online
338
330
  public var soPushEvents: Bool {
339
- get {return _soPushEvents ?? false}
331
+ get {_soPushEvents ?? false}
340
332
  set {_soPushEvents = newValue}
341
333
  }
342
334
  /// Returns true if `soPushEvents` has been explicitly set.
343
- public var hasSoPushEvents: Bool {return self._soPushEvents != nil}
335
+ public var hasSoPushEvents: Bool {self._soPushEvents != nil}
344
336
  /// Clears the value of `soPushEvents`. Subsequent reads from it will return its default value.
345
337
  public mutating func clearSoPushEvents() {self._soPushEvents = nil}
346
338
 
347
339
  /// If set the system will transfer pending events to an offline card
348
340
  public var soWritePendingEvents: Bool {
349
- get {return _soWritePendingEvents ?? true}
341
+ get {_soWritePendingEvents ?? true}
350
342
  set {_soWritePendingEvents = newValue}
351
343
  }
352
344
  /// Returns true if `soWritePendingEvents` has been explicitly set.
353
- public var hasSoWritePendingEvents: Bool {return self._soWritePendingEvents != nil}
345
+ public var hasSoWritePendingEvents: Bool {self._soWritePendingEvents != nil}
354
346
  /// Clears the value of `soWritePendingEvents`. Subsequent reads from it will return its default value.
355
347
  public mutating func clearSoWritePendingEvents() {self._soWritePendingEvents = nil}
356
348
 
357
349
  /// If set the system will update from the blacklist of an offline card
358
350
  public var soUpdateFromBlacklist: Bool {
359
- get {return _soUpdateFromBlacklist ?? true}
351
+ get {_soUpdateFromBlacklist ?? true}
360
352
  set {_soUpdateFromBlacklist = newValue}
361
353
  }
362
354
  /// Returns true if `soUpdateFromBlacklist` has been explicitly set.
363
- public var hasSoUpdateFromBlacklist: Bool {return self._soUpdateFromBlacklist != nil}
355
+ public var hasSoUpdateFromBlacklist: Bool {self._soUpdateFromBlacklist != nil}
364
356
  /// Clears the value of `soUpdateFromBlacklist`. Subsequent reads from it will return its default value.
365
357
  public mutating func clearSoUpdateFromBlacklist() {self._soUpdateFromBlacklist = nil}
366
358
 
367
359
  /// The mifare aes-key for reading/writing the oss offline application, default
368
360
  /// is the oss so demo key
369
361
  public var soMifareAesKey: Data {
370
- get {return _soMifareAesKey ?? Data([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31])}
362
+ get {_soMifareAesKey ?? Data([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31])}
371
363
  set {_soMifareAesKey = newValue}
372
364
  }
373
365
  /// Returns true if `soMifareAesKey` has been explicitly set.
374
- public var hasSoMifareAesKey: Bool {return self._soMifareAesKey != nil}
366
+ public var hasSoMifareAesKey: Bool {self._soMifareAesKey != nil}
375
367
  /// Clears the value of `soMifareAesKey`. Subsequent reads from it will return its default value.
376
368
  public mutating func clearSoMifareAesKey() {self._soMifareAesKey = nil}
377
369
 
378
370
  /// The mifare application id for the oss offline application, default is the
379
371
  /// oss so default aid. A value of 0 disables Oss So Mifare support.
380
372
  public var soMifareAid: UInt32 {
381
- get {return _soMifareAid ?? 16076800}
373
+ get {_soMifareAid ?? 16076800}
382
374
  set {_soMifareAid = newValue}
383
375
  }
384
376
  /// Returns true if `soMifareAid` has been explicitly set.
385
- public var hasSoMifareAid: Bool {return self._soMifareAid != nil}
377
+ public var hasSoMifareAid: Bool {self._soMifareAid != nil}
386
378
  /// Clears the value of `soMifareAid`. Subsequent reads from it will return its default value.
387
379
  public mutating func clearSoMifareAid() {self._soMifareAid = nil}
388
380
 
389
- /// The card will request to refresh if the existing days passed. It can become required after stable
390
- public var minRefreshDays: UInt32 {
391
- get {return _minRefreshDays ?? 5}
392
- set {_minRefreshDays = newValue}
393
- }
394
- /// Returns true if `minRefreshDays` has been explicitly set.
395
- public var hasMinRefreshDays: Bool {return self._minRefreshDays != nil}
396
- /// Clears the value of `minRefreshDays`. Subsequent reads from it will return its default value.
397
- public mutating func clearMinRefreshDays() {self._minRefreshDays = nil}
398
-
399
381
  public var unknownFields = SwiftProtobuf.UnknownStorage()
400
382
 
401
383
  public init() {}
@@ -408,7 +390,6 @@ public struct BlueOssConfig: Sendable {
408
390
  fileprivate var _soUpdateFromBlacklist: Bool? = nil
409
391
  fileprivate var _soMifareAesKey: Data? = nil
410
392
  fileprivate var _soMifareAid: UInt32? = nil
411
- fileprivate var _minRefreshDays: UInt32? = nil
412
393
  }
413
394
 
414
395
  public struct BlueSystemAVRInfo: Sendable {
@@ -417,39 +398,39 @@ public struct BlueSystemAVRInfo: Sendable {
417
398
  // methods supported on all messages.
418
399
 
419
400
  public var vermaj: UInt32 {
420
- get {return _vermaj ?? 0}
401
+ get {_vermaj ?? 0}
421
402
  set {_vermaj = newValue}
422
403
  }
423
404
  /// Returns true if `vermaj` has been explicitly set.
424
- public var hasVermaj: Bool {return self._vermaj != nil}
405
+ public var hasVermaj: Bool {self._vermaj != nil}
425
406
  /// Clears the value of `vermaj`. Subsequent reads from it will return its default value.
426
407
  public mutating func clearVermaj() {self._vermaj = nil}
427
408
 
428
409
  public var vermin: UInt32 {
429
- get {return _vermin ?? 0}
410
+ get {_vermin ?? 0}
430
411
  set {_vermin = newValue}
431
412
  }
432
413
  /// Returns true if `vermin` has been explicitly set.
433
- public var hasVermin: Bool {return self._vermin != nil}
414
+ public var hasVermin: Bool {self._vermin != nil}
434
415
  /// Clears the value of `vermin`. Subsequent reads from it will return its default value.
435
416
  public mutating func clearVermin() {self._vermin = nil}
436
417
 
437
418
  public var buildnr: UInt32 {
438
- get {return _buildnr ?? 0}
419
+ get {_buildnr ?? 0}
439
420
  set {_buildnr = newValue}
440
421
  }
441
422
  /// Returns true if `buildnr` has been explicitly set.
442
- public var hasBuildnr: Bool {return self._buildnr != nil}
423
+ public var hasBuildnr: Bool {self._buildnr != nil}
443
424
  /// Clears the value of `buildnr`. Subsequent reads from it will return its default value.
444
425
  public mutating func clearBuildnr() {self._buildnr = nil}
445
426
 
446
427
  /// For an ongoing upgrade, this field shows the total bytes written up to this point.
447
428
  public var bytesWritten: UInt32 {
448
- get {return _bytesWritten ?? 0}
429
+ get {_bytesWritten ?? 0}
449
430
  set {_bytesWritten = newValue}
450
431
  }
451
432
  /// Returns true if `bytesWritten` has been explicitly set.
452
- public var hasBytesWritten: Bool {return self._bytesWritten != nil}
433
+ public var hasBytesWritten: Bool {self._bytesWritten != nil}
453
434
  /// Clears the value of `bytesWritten`. Subsequent reads from it will return its default value.
454
435
  public mutating func clearBytesWritten() {self._bytesWritten = nil}
455
436
 
@@ -469,67 +450,67 @@ public struct BlueSystemConfig: @unchecked Sendable {
469
450
  // methods supported on all messages.
470
451
 
471
452
  public var configID: String {
472
- get {return _storage._configID ?? String()}
453
+ get {_storage._configID ?? String()}
473
454
  set {_uniqueStorage()._configID = newValue}
474
455
  }
475
456
  /// Returns true if `configID` has been explicitly set.
476
- public var hasConfigID: Bool {return _storage._configID != nil}
457
+ public var hasConfigID: Bool {_storage._configID != nil}
477
458
  /// Clears the value of `configID`. Subsequent reads from it will return its default value.
478
459
  public mutating func clearConfigID() {_uniqueStorage()._configID = nil}
479
460
 
480
461
  /// -- Base
481
462
  public var base: BlueBaseConfig {
482
- get {return _storage._base ?? BlueBaseConfig()}
463
+ get {_storage._base ?? BlueBaseConfig()}
483
464
  set {_uniqueStorage()._base = newValue}
484
465
  }
485
466
  /// Returns true if `base` has been explicitly set.
486
- public var hasBase: Bool {return _storage._base != nil}
467
+ public var hasBase: Bool {_storage._base != nil}
487
468
  /// Clears the value of `base`. Subsequent reads from it will return its default value.
488
469
  public mutating func clearBase() {_uniqueStorage()._base = nil}
489
470
 
490
471
  public var ble: BlueBleConfig {
491
- get {return _storage._ble ?? BlueBleConfig()}
472
+ get {_storage._ble ?? BlueBleConfig()}
492
473
  set {_uniqueStorage()._ble = newValue}
493
474
  }
494
475
  /// Returns true if `ble` has been explicitly set.
495
- public var hasBle: Bool {return _storage._ble != nil}
476
+ public var hasBle: Bool {_storage._ble != nil}
496
477
  /// Clears the value of `ble`. Subsequent reads from it will return its default value.
497
478
  public mutating func clearBle() {_uniqueStorage()._ble = nil}
498
479
 
499
480
  public var online: BlueOnlineConfig {
500
- get {return _storage._online ?? BlueOnlineConfig()}
481
+ get {_storage._online ?? BlueOnlineConfig()}
501
482
  set {_uniqueStorage()._online = newValue}
502
483
  }
503
484
  /// Returns true if `online` has been explicitly set.
504
- public var hasOnline: Bool {return _storage._online != nil}
485
+ public var hasOnline: Bool {_storage._online != nil}
505
486
  /// Clears the value of `online`. Subsequent reads from it will return its default value.
506
487
  public mutating func clearOnline() {_uniqueStorage()._online = nil}
507
488
 
508
489
  public var access: BlueAccessConfig {
509
- get {return _storage._access ?? BlueAccessConfig()}
490
+ get {_storage._access ?? BlueAccessConfig()}
510
491
  set {_uniqueStorage()._access = newValue}
511
492
  }
512
493
  /// Returns true if `access` has been explicitly set.
513
- public var hasAccess: Bool {return _storage._access != nil}
494
+ public var hasAccess: Bool {_storage._access != nil}
514
495
  /// Clears the value of `access`. Subsequent reads from it will return its default value.
515
496
  public mutating func clearAccess() {_uniqueStorage()._access = nil}
516
497
 
517
498
  public var oss: BlueOssConfig {
518
- get {return _storage._oss ?? BlueOssConfig()}
499
+ get {_storage._oss ?? BlueOssConfig()}
519
500
  set {_uniqueStorage()._oss = newValue}
520
501
  }
521
502
  /// Returns true if `oss` has been explicitly set.
522
- public var hasOss: Bool {return _storage._oss != nil}
503
+ public var hasOss: Bool {_storage._oss != nil}
523
504
  /// Clears the value of `oss`. Subsequent reads from it will return its default value.
524
505
  public mutating func clearOss() {_uniqueStorage()._oss = nil}
525
506
 
526
507
  /// -- Custom
527
508
  public var lock: BlueLockConfig {
528
- get {return _storage._lock ?? BlueLockConfig()}
509
+ get {_storage._lock ?? BlueLockConfig()}
529
510
  set {_uniqueStorage()._lock = newValue}
530
511
  }
531
512
  /// Returns true if `lock` has been explicitly set.
532
- public var hasLock: Bool {return _storage._lock != nil}
513
+ public var hasLock: Bool {_storage._lock != nil}
533
514
  /// Clears the value of `lock`. Subsequent reads from it will return its default value.
534
515
  public mutating func clearLock() {_uniqueStorage()._lock = nil}
535
516
 
@@ -546,11 +527,11 @@ public struct BlueSystemTimeUnix: Sendable {
546
527
  // methods supported on all messages.
547
528
 
548
529
  public var epoch: UInt32 {
549
- get {return _epoch ?? 0}
530
+ get {_epoch ?? 0}
550
531
  set {_epoch = newValue}
551
532
  }
552
533
  /// Returns true if `epoch` has been explicitly set.
553
- public var hasEpoch: Bool {return self._epoch != nil}
534
+ public var hasEpoch: Bool {self._epoch != nil}
554
535
  /// Clears the value of `epoch`. Subsequent reads from it will return its default value.
555
536
  public mutating func clearEpoch() {self._epoch = nil}
556
537
 
@@ -567,20 +548,20 @@ public struct BlueSystemUpdate: Sendable {
567
548
  // methods supported on all messages.
568
549
 
569
550
  public var config: BlueSystemConfig {
570
- get {return _config ?? BlueSystemConfig()}
551
+ get {_config ?? BlueSystemConfig()}
571
552
  set {_config = newValue}
572
553
  }
573
554
  /// Returns true if `config` has been explicitly set.
574
- public var hasConfig: Bool {return self._config != nil}
555
+ public var hasConfig: Bool {self._config != nil}
575
556
  /// Clears the value of `config`. Subsequent reads from it will return its default value.
576
557
  public mutating func clearConfig() {self._config = nil}
577
558
 
578
559
  public var timeUnix: BlueSystemTimeUnix {
579
- get {return _timeUnix ?? BlueSystemTimeUnix()}
560
+ get {_timeUnix ?? BlueSystemTimeUnix()}
580
561
  set {_timeUnix = newValue}
581
562
  }
582
563
  /// Returns true if `timeUnix` has been explicitly set.
583
- public var hasTimeUnix: Bool {return self._timeUnix != nil}
564
+ public var hasTimeUnix: Bool {self._timeUnix != nil}
584
565
  /// Clears the value of `timeUnix`. Subsequent reads from it will return its default value.
585
566
  public mutating func clearTimeUnix() {self._timeUnix = nil}
586
567
 
@@ -598,110 +579,110 @@ public struct BlueSystemSettings: Sendable {
598
579
  // methods supported on all messages.
599
580
 
600
581
  public var blacklistMaxEntriesCount: UInt32 {
601
- get {return _blacklistMaxEntriesCount ?? 0}
582
+ get {_blacklistMaxEntriesCount ?? 0}
602
583
  set {_blacklistMaxEntriesCount = newValue}
603
584
  }
604
585
  /// Returns true if `blacklistMaxEntriesCount` has been explicitly set.
605
- public var hasBlacklistMaxEntriesCount: Bool {return self._blacklistMaxEntriesCount != nil}
586
+ public var hasBlacklistMaxEntriesCount: Bool {self._blacklistMaxEntriesCount != nil}
606
587
  /// Clears the value of `blacklistMaxEntriesCount`. Subsequent reads from it will return its default value.
607
588
  public mutating func clearBlacklistMaxEntriesCount() {self._blacklistMaxEntriesCount = nil}
608
589
 
609
590
  public var blacklistEntriesCount: UInt32 {
610
- get {return _blacklistEntriesCount ?? 0}
591
+ get {_blacklistEntriesCount ?? 0}
611
592
  set {_blacklistEntriesCount = newValue}
612
593
  }
613
594
  /// Returns true if `blacklistEntriesCount` has been explicitly set.
614
- public var hasBlacklistEntriesCount: Bool {return self._blacklistEntriesCount != nil}
595
+ public var hasBlacklistEntriesCount: Bool {self._blacklistEntriesCount != nil}
615
596
  /// Clears the value of `blacklistEntriesCount`. Subsequent reads from it will return its default value.
616
597
  public mutating func clearBlacklistEntriesCount() {self._blacklistEntriesCount = nil}
617
598
 
618
599
  public var eventLogMaxEntriesCount: UInt32 {
619
- get {return _eventLogMaxEntriesCount ?? 0}
600
+ get {_eventLogMaxEntriesCount ?? 0}
620
601
  set {_eventLogMaxEntriesCount = newValue}
621
602
  }
622
603
  /// Returns true if `eventLogMaxEntriesCount` has been explicitly set.
623
- public var hasEventLogMaxEntriesCount: Bool {return self._eventLogMaxEntriesCount != nil}
604
+ public var hasEventLogMaxEntriesCount: Bool {self._eventLogMaxEntriesCount != nil}
624
605
  /// Clears the value of `eventLogMaxEntriesCount`. Subsequent reads from it will return its default value.
625
606
  public mutating func clearEventLogMaxEntriesCount() {self._eventLogMaxEntriesCount = nil}
626
607
 
627
608
  public var eventLogEntriesCount: UInt32 {
628
- get {return _eventLogEntriesCount ?? 0}
609
+ get {_eventLogEntriesCount ?? 0}
629
610
  set {_eventLogEntriesCount = newValue}
630
611
  }
631
612
  /// Returns true if `eventLogEntriesCount` has been explicitly set.
632
- public var hasEventLogEntriesCount: Bool {return self._eventLogEntriesCount != nil}
613
+ public var hasEventLogEntriesCount: Bool {self._eventLogEntriesCount != nil}
633
614
  /// Clears the value of `eventLogEntriesCount`. Subsequent reads from it will return its default value.
634
615
  public mutating func clearEventLogEntriesCount() {self._eventLogEntriesCount = nil}
635
616
 
636
617
  public var eventLogSequenceID: UInt32 {
637
- get {return _eventLogSequenceID ?? 0}
618
+ get {_eventLogSequenceID ?? 0}
638
619
  set {_eventLogSequenceID = newValue}
639
620
  }
640
621
  /// Returns true if `eventLogSequenceID` has been explicitly set.
641
- public var hasEventLogSequenceID: Bool {return self._eventLogSequenceID != nil}
622
+ public var hasEventLogSequenceID: Bool {self._eventLogSequenceID != nil}
642
623
  /// Clears the value of `eventLogSequenceID`. Subsequent reads from it will return its default value.
643
624
  public mutating func clearEventLogSequenceID() {self._eventLogSequenceID = nil}
644
625
 
645
626
  public var eventLogIndex: UInt32 {
646
- get {return _eventLogIndex ?? 0}
627
+ get {_eventLogIndex ?? 0}
647
628
  set {_eventLogIndex = newValue}
648
629
  }
649
630
  /// Returns true if `eventLogIndex` has been explicitly set.
650
- public var hasEventLogIndex: Bool {return self._eventLogIndex != nil}
631
+ public var hasEventLogIndex: Bool {self._eventLogIndex != nil}
651
632
  /// Clears the value of `eventLogIndex`. Subsequent reads from it will return its default value.
652
633
  public mutating func clearEventLogIndex() {self._eventLogIndex = nil}
653
634
 
654
635
  public var systemLogMaxEntriesCount: UInt32 {
655
- get {return _systemLogMaxEntriesCount ?? 0}
636
+ get {_systemLogMaxEntriesCount ?? 0}
656
637
  set {_systemLogMaxEntriesCount = newValue}
657
638
  }
658
639
  /// Returns true if `systemLogMaxEntriesCount` has been explicitly set.
659
- public var hasSystemLogMaxEntriesCount: Bool {return self._systemLogMaxEntriesCount != nil}
640
+ public var hasSystemLogMaxEntriesCount: Bool {self._systemLogMaxEntriesCount != nil}
660
641
  /// Clears the value of `systemLogMaxEntriesCount`. Subsequent reads from it will return its default value.
661
642
  public mutating func clearSystemLogMaxEntriesCount() {self._systemLogMaxEntriesCount = nil}
662
643
 
663
644
  public var systemLogEntriesCount: UInt32 {
664
- get {return _systemLogEntriesCount ?? 0}
645
+ get {_systemLogEntriesCount ?? 0}
665
646
  set {_systemLogEntriesCount = newValue}
666
647
  }
667
648
  /// Returns true if `systemLogEntriesCount` has been explicitly set.
668
- public var hasSystemLogEntriesCount: Bool {return self._systemLogEntriesCount != nil}
649
+ public var hasSystemLogEntriesCount: Bool {self._systemLogEntriesCount != nil}
669
650
  /// Clears the value of `systemLogEntriesCount`. Subsequent reads from it will return its default value.
670
651
  public mutating func clearSystemLogEntriesCount() {self._systemLogEntriesCount = nil}
671
652
 
672
653
  public var systemLogSequenceID: UInt32 {
673
- get {return _systemLogSequenceID ?? 0}
654
+ get {_systemLogSequenceID ?? 0}
674
655
  set {_systemLogSequenceID = newValue}
675
656
  }
676
657
  /// Returns true if `systemLogSequenceID` has been explicitly set.
677
- public var hasSystemLogSequenceID: Bool {return self._systemLogSequenceID != nil}
658
+ public var hasSystemLogSequenceID: Bool {self._systemLogSequenceID != nil}
678
659
  /// Clears the value of `systemLogSequenceID`. Subsequent reads from it will return its default value.
679
660
  public mutating func clearSystemLogSequenceID() {self._systemLogSequenceID = nil}
680
661
 
681
662
  public var systemLogIndex: UInt32 {
682
- get {return _systemLogIndex ?? 0}
663
+ get {_systemLogIndex ?? 0}
683
664
  set {_systemLogIndex = newValue}
684
665
  }
685
666
  /// Returns true if `systemLogIndex` has been explicitly set.
686
- public var hasSystemLogIndex: Bool {return self._systemLogIndex != nil}
667
+ public var hasSystemLogIndex: Bool {self._systemLogIndex != nil}
687
668
  /// Clears the value of `systemLogIndex`. Subsequent reads from it will return its default value.
688
669
  public mutating func clearSystemLogIndex() {self._systemLogIndex = nil}
689
670
 
690
671
  public var timeWasSet: Bool {
691
- get {return _timeWasSet ?? false}
672
+ get {_timeWasSet ?? false}
692
673
  set {_timeWasSet = newValue}
693
674
  }
694
675
  /// Returns true if `timeWasSet` has been explicitly set.
695
- public var hasTimeWasSet: Bool {return self._timeWasSet != nil}
676
+ public var hasTimeWasSet: Bool {self._timeWasSet != nil}
696
677
  /// Clears the value of `timeWasSet`. Subsequent reads from it will return its default value.
697
678
  public mutating func clearTimeWasSet() {self._timeWasSet = nil}
698
679
 
699
680
  public var isBatteryLow: Bool {
700
- get {return _isBatteryLow ?? false}
681
+ get {_isBatteryLow ?? false}
701
682
  set {_isBatteryLow = newValue}
702
683
  }
703
684
  /// Returns true if `isBatteryLow` has been explicitly set.
704
- public var hasIsBatteryLow: Bool {return self._isBatteryLow != nil}
685
+ public var hasIsBatteryLow: Bool {self._isBatteryLow != nil}
705
686
  /// Clears the value of `isBatteryLow`. Subsequent reads from it will return its default value.
706
687
  public mutating func clearIsBatteryLow() {self._isBatteryLow = nil}
707
688
 
@@ -729,67 +710,57 @@ public struct BlueSystemProvisioning: Sendable {
729
710
  // methods supported on all messages.
730
711
 
731
712
  public var hardwareType: BlueHardwareType {
732
- get {return _hardwareType ?? .testHardware}
713
+ get {_hardwareType ?? .testHardware}
733
714
  set {_hardwareType = newValue}
734
715
  }
735
716
  /// Returns true if `hardwareType` has been explicitly set.
736
- public var hasHardwareType: Bool {return self._hardwareType != nil}
717
+ public var hasHardwareType: Bool {self._hardwareType != nil}
737
718
  /// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
738
719
  public mutating func clearHardwareType() {self._hardwareType = nil}
739
720
 
740
721
  /// Unique id generated by blueid which identitifies this device (default set
741
722
  /// from BlueSharedDemoKeys)
742
723
  public var deviceID: String {
743
- get {return _deviceID ?? String()}
724
+ get {_deviceID ?? String()}
744
725
  set {_deviceID = newValue}
745
726
  }
746
727
  /// Returns true if `deviceID` has been explicitly set.
747
- public var hasDeviceID: Bool {return self._deviceID != nil}
728
+ public var hasDeviceID: Bool {self._deviceID != nil}
748
729
  /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
749
730
  public mutating func clearDeviceID() {self._deviceID = nil}
750
731
 
751
732
  /// Serial-number which is vendor specific stored as hex
752
733
  public var serialNumber: String {
753
- get {return _serialNumber ?? "00000000000000000000"}
734
+ get {_serialNumber ?? "00000000000000000000"}
754
735
  set {_serialNumber = newValue}
755
736
  }
756
737
  /// Returns true if `serialNumber` has been explicitly set.
757
- public var hasSerialNumber: Bool {return self._serialNumber != nil}
738
+ public var hasSerialNumber: Bool {self._serialNumber != nil}
758
739
  /// Clears the value of `serialNumber`. Subsequent reads from it will return its default value.
759
740
  public mutating func clearSerialNumber() {self._serialNumber = nil}
760
741
 
761
742
  /// Private key used for signing to proof authenticity of this device (default
762
743
  /// set from BlueSharedDemoKeys)
763
744
  public var terminalPrivateKey: Data {
764
- get {return _terminalPrivateKey ?? Data()}
745
+ get {_terminalPrivateKey ?? Data()}
765
746
  set {_terminalPrivateKey = newValue}
766
747
  }
767
748
  /// Returns true if `terminalPrivateKey` has been explicitly set.
768
- public var hasTerminalPrivateKey: Bool {return self._terminalPrivateKey != nil}
749
+ public var hasTerminalPrivateKey: Bool {self._terminalPrivateKey != nil}
769
750
  /// Clears the value of `terminalPrivateKey`. Subsequent reads from it will return its default value.
770
751
  public mutating func clearTerminalPrivateKey() {self._terminalPrivateKey = nil}
771
752
 
772
753
  /// Public key used for verifying signatures being valid on this device
773
754
  /// (default set from BlueSharedDemoKeys)
774
755
  public var signaturePublicKey: Data {
775
- get {return _signaturePublicKey ?? Data()}
756
+ get {_signaturePublicKey ?? Data()}
776
757
  set {_signaturePublicKey = newValue}
777
758
  }
778
759
  /// Returns true if `signaturePublicKey` has been explicitly set.
779
- public var hasSignaturePublicKey: Bool {return self._signaturePublicKey != nil}
760
+ public var hasSignaturePublicKey: Bool {self._signaturePublicKey != nil}
780
761
  /// Clears the value of `signaturePublicKey`. Subsequent reads from it will return its default value.
781
762
  public mutating func clearSignaturePublicKey() {self._signaturePublicKey = nil}
782
763
 
783
- /// This will use to set server url for Nexus for UUZ this will ignore
784
- public var isDev: Bool {
785
- get {return _isDev ?? false}
786
- set {_isDev = newValue}
787
- }
788
- /// Returns true if `isDev` has been explicitly set.
789
- public var hasIsDev: Bool {return self._isDev != nil}
790
- /// Clears the value of `isDev`. Subsequent reads from it will return its default value.
791
- public mutating func clearIsDev() {self._isDev = nil}
792
-
793
764
  public var unknownFields = SwiftProtobuf.UnknownStorage()
794
765
 
795
766
  public init() {}
@@ -799,7 +770,6 @@ public struct BlueSystemProvisioning: Sendable {
799
770
  fileprivate var _serialNumber: String? = nil
800
771
  fileprivate var _terminalPrivateKey: Data? = nil
801
772
  fileprivate var _signaturePublicKey: Data? = nil
802
- fileprivate var _isDev: Bool? = nil
803
773
  }
804
774
 
805
775
  public struct BlueSystemStatus: @unchecked Sendable {
@@ -808,93 +778,93 @@ public struct BlueSystemStatus: @unchecked Sendable {
808
778
  // methods supported on all messages.
809
779
 
810
780
  public var configID: String {
811
- get {return _storage._configID ?? String()}
781
+ get {_storage._configID ?? String()}
812
782
  set {_uniqueStorage()._configID = newValue}
813
783
  }
814
784
  /// Returns true if `configID` has been explicitly set.
815
- public var hasConfigID: Bool {return _storage._configID != nil}
785
+ public var hasConfigID: Bool {_storage._configID != nil}
816
786
  /// Clears the value of `configID`. Subsequent reads from it will return its default value.
817
787
  public mutating func clearConfigID() {_uniqueStorage()._configID = nil}
818
788
 
819
789
  public var deviceID: String {
820
- get {return _storage._deviceID ?? String()}
790
+ get {_storage._deviceID ?? String()}
821
791
  set {_uniqueStorage()._deviceID = newValue}
822
792
  }
823
793
  /// Returns true if `deviceID` has been explicitly set.
824
- public var hasDeviceID: Bool {return _storage._deviceID != nil}
794
+ public var hasDeviceID: Bool {_storage._deviceID != nil}
825
795
  /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
826
796
  public mutating func clearDeviceID() {_uniqueStorage()._deviceID = nil}
827
797
 
828
798
  public var serialNumber: String {
829
- get {return _storage._serialNumber ?? String()}
799
+ get {_storage._serialNumber ?? String()}
830
800
  set {_uniqueStorage()._serialNumber = newValue}
831
801
  }
832
802
  /// Returns true if `serialNumber` has been explicitly set.
833
- public var hasSerialNumber: Bool {return _storage._serialNumber != nil}
803
+ public var hasSerialNumber: Bool {_storage._serialNumber != nil}
834
804
  /// Clears the value of `serialNumber`. Subsequent reads from it will return its default value.
835
805
  public mutating func clearSerialNumber() {_uniqueStorage()._serialNumber = nil}
836
806
 
837
807
  public var hardwareType: BlueHardwareType {
838
- get {return _storage._hardwareType ?? .unknownHardware}
808
+ get {_storage._hardwareType ?? .unknownHardware}
839
809
  set {_uniqueStorage()._hardwareType = newValue}
840
810
  }
841
811
  /// Returns true if `hardwareType` has been explicitly set.
842
- public var hasHardwareType: Bool {return _storage._hardwareType != nil}
812
+ public var hasHardwareType: Bool {_storage._hardwareType != nil}
843
813
  /// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
844
814
  public mutating func clearHardwareType() {_uniqueStorage()._hardwareType = nil}
845
815
 
846
816
  public var batteryLevel: BlueBatteryLevel {
847
- get {return _storage._batteryLevel ?? .unknownBattery}
817
+ get {_storage._batteryLevel ?? .unknownBattery}
848
818
  set {_uniqueStorage()._batteryLevel = newValue}
849
819
  }
850
820
  /// Returns true if `batteryLevel` has been explicitly set.
851
- public var hasBatteryLevel: Bool {return _storage._batteryLevel != nil}
821
+ public var hasBatteryLevel: Bool {_storage._batteryLevel != nil}
852
822
  /// Clears the value of `batteryLevel`. Subsequent reads from it will return its default value.
853
823
  public mutating func clearBatteryLevel() {_uniqueStorage()._batteryLevel = nil}
854
824
 
855
825
  public var applicationVersion: UInt32 {
856
- get {return _storage._applicationVersion ?? 0}
826
+ get {_storage._applicationVersion ?? 0}
857
827
  set {_uniqueStorage()._applicationVersion = newValue}
858
828
  }
859
829
  /// Returns true if `applicationVersion` has been explicitly set.
860
- public var hasApplicationVersion: Bool {return _storage._applicationVersion != nil}
830
+ public var hasApplicationVersion: Bool {_storage._applicationVersion != nil}
861
831
  /// Clears the value of `applicationVersion`. Subsequent reads from it will return its default value.
862
832
  public mutating func clearApplicationVersion() {_uniqueStorage()._applicationVersion = nil}
863
833
 
864
834
  public var localTime: BlueLocalTimestamp {
865
- get {return _storage._localTime ?? BlueLocalTimestamp()}
835
+ get {_storage._localTime ?? BlueLocalTimestamp()}
866
836
  set {_uniqueStorage()._localTime = newValue}
867
837
  }
868
838
  /// Returns true if `localTime` has been explicitly set.
869
- public var hasLocalTime: Bool {return _storage._localTime != nil}
839
+ public var hasLocalTime: Bool {_storage._localTime != nil}
870
840
  /// Clears the value of `localTime`. Subsequent reads from it will return its default value.
871
841
  public mutating func clearLocalTime() {_uniqueStorage()._localTime = nil}
872
842
 
873
843
  public var settings: BlueSystemSettings {
874
- get {return _storage._settings ?? BlueSystemSettings()}
844
+ get {_storage._settings ?? BlueSystemSettings()}
875
845
  set {_uniqueStorage()._settings = newValue}
876
846
  }
877
847
  /// Returns true if `settings` has been explicitly set.
878
- public var hasSettings: Bool {return _storage._settings != nil}
848
+ public var hasSettings: Bool {_storage._settings != nil}
879
849
  /// Clears the value of `settings`. Subsequent reads from it will return its default value.
880
850
  public mutating func clearSettings() {_uniqueStorage()._settings = nil}
881
851
 
882
852
  /// -- Custom
883
853
  public var lock: BlueLockStatus {
884
- get {return _storage._lock ?? BlueLockStatus()}
854
+ get {_storage._lock ?? BlueLockStatus()}
885
855
  set {_uniqueStorage()._lock = newValue}
886
856
  }
887
857
  /// Returns true if `lock` has been explicitly set.
888
- public var hasLock: Bool {return _storage._lock != nil}
858
+ public var hasLock: Bool {_storage._lock != nil}
889
859
  /// Clears the value of `lock`. Subsequent reads from it will return its default value.
890
860
  public mutating func clearLock() {_uniqueStorage()._lock = nil}
891
861
 
892
862
  public var applicationVersionTest: UInt32 {
893
- get {return _storage._applicationVersionTest ?? 0}
863
+ get {_storage._applicationVersionTest ?? 0}
894
864
  set {_uniqueStorage()._applicationVersionTest = newValue}
895
865
  }
896
866
  /// Returns true if `applicationVersionTest` has been explicitly set.
897
- public var hasApplicationVersionTest: Bool {return _storage._applicationVersionTest != nil}
867
+ public var hasApplicationVersionTest: Bool {_storage._applicationVersionTest != nil}
898
868
  /// Clears the value of `applicationVersionTest`. Subsequent reads from it will return its default value.
899
869
  public mutating func clearApplicationVersionTest() {_uniqueStorage()._applicationVersionTest = nil}
900
870
 
@@ -911,11 +881,11 @@ public struct BlueSystemLogQuery: Sendable {
911
881
  // methods supported on all messages.
912
882
 
913
883
  public var maxCount: UInt32 {
914
- get {return _maxCount ?? 0}
884
+ get {_maxCount ?? 0}
915
885
  set {_maxCount = newValue}
916
886
  }
917
887
  /// Returns true if `maxCount` has been explicitly set.
918
- public var hasMaxCount: Bool {return self._maxCount != nil}
888
+ public var hasMaxCount: Bool {self._maxCount != nil}
919
889
  /// Clears the value of `maxCount`. Subsequent reads from it will return its default value.
920
890
  public mutating func clearMaxCount() {self._maxCount = nil}
921
891
 
@@ -958,56 +928,56 @@ public struct BlueSystemLogEntry: Sendable {
958
928
  // methods supported on all messages.
959
929
 
960
930
  public var sequenceID: UInt32 {
961
- get {return _sequenceID ?? 0}
931
+ get {_sequenceID ?? 0}
962
932
  set {_sequenceID = newValue}
963
933
  }
964
934
  /// Returns true if `sequenceID` has been explicitly set.
965
- public var hasSequenceID: Bool {return self._sequenceID != nil}
935
+ public var hasSequenceID: Bool {self._sequenceID != nil}
966
936
  /// Clears the value of `sequenceID`. Subsequent reads from it will return its default value.
967
937
  public mutating func clearSequenceID() {self._sequenceID = nil}
968
938
 
969
939
  public var time: BlueLocalTimestamp {
970
- get {return _time ?? BlueLocalTimestamp()}
940
+ get {_time ?? BlueLocalTimestamp()}
971
941
  set {_time = newValue}
972
942
  }
973
943
  /// Returns true if `time` has been explicitly set.
974
- public var hasTime: Bool {return self._time != nil}
944
+ public var hasTime: Bool {self._time != nil}
975
945
  /// Clears the value of `time`. Subsequent reads from it will return its default value.
976
946
  public mutating func clearTime() {self._time = nil}
977
947
 
978
948
  public var severity: UInt32 {
979
- get {return _severity ?? 0}
949
+ get {_severity ?? 0}
980
950
  set {_severity = newValue}
981
951
  }
982
952
  /// Returns true if `severity` has been explicitly set.
983
- public var hasSeverity: Bool {return self._severity != nil}
953
+ public var hasSeverity: Bool {self._severity != nil}
984
954
  /// Clears the value of `severity`. Subsequent reads from it will return its default value.
985
955
  public mutating func clearSeverity() {self._severity = nil}
986
956
 
987
957
  public var line: UInt32 {
988
- get {return _line ?? 0}
958
+ get {_line ?? 0}
989
959
  set {_line = newValue}
990
960
  }
991
961
  /// Returns true if `line` has been explicitly set.
992
- public var hasLine: Bool {return self._line != nil}
962
+ public var hasLine: Bool {self._line != nil}
993
963
  /// Clears the value of `line`. Subsequent reads from it will return its default value.
994
964
  public mutating func clearLine() {self._line = nil}
995
965
 
996
966
  public var file: String {
997
- get {return _file ?? String()}
967
+ get {_file ?? String()}
998
968
  set {_file = newValue}
999
969
  }
1000
970
  /// Returns true if `file` has been explicitly set.
1001
- public var hasFile: Bool {return self._file != nil}
971
+ public var hasFile: Bool {self._file != nil}
1002
972
  /// Clears the value of `file`. Subsequent reads from it will return its default value.
1003
973
  public mutating func clearFile() {self._file = nil}
1004
974
 
1005
975
  public var message: String {
1006
- get {return _message ?? String()}
976
+ get {_message ?? String()}
1007
977
  set {_message = newValue}
1008
978
  }
1009
979
  /// Returns true if `message` has been explicitly set.
1010
- public var hasMessage: Bool {return self._message != nil}
980
+ public var hasMessage: Bool {self._message != nil}
1011
981
  /// Clears the value of `message`. Subsequent reads from it will return its default value.
1012
982
  public mutating func clearMessage() {self._message = nil}
1013
983
 
@@ -1041,11 +1011,11 @@ public struct BlueEventLogQuery: Sendable {
1041
1011
  // methods supported on all messages.
1042
1012
 
1043
1013
  public var maxCount: UInt32 {
1044
- get {return _maxCount ?? 0}
1014
+ get {_maxCount ?? 0}
1045
1015
  set {_maxCount = newValue}
1046
1016
  }
1047
1017
  /// Returns true if `maxCount` has been explicitly set.
1048
- public var hasMaxCount: Bool {return self._maxCount != nil}
1018
+ public var hasMaxCount: Bool {self._maxCount != nil}
1049
1019
  /// Clears the value of `maxCount`. Subsequent reads from it will return its default value.
1050
1020
  public mutating func clearMaxCount() {self._maxCount = nil}
1051
1021
 
@@ -1108,10 +1078,6 @@ public struct BlueBlacklistEntries: Sendable {
1108
1078
 
1109
1079
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
1110
1080
 
1111
- extension BlueNetworkType: SwiftProtobuf._ProtoNameProviding {
1112
- public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}None\0\u{1}Ethernet\0\u{1}Wifi\0\u{1}Gsm\0")
1113
- }
1114
-
1115
1081
  extension BlueBaseConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1116
1082
  public static let protoMessageName: String = "BlueBaseConfig"
1117
1083
  public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}isoCountry\0\u{1}isoState\0\u{1}utcOffsetMinutes\0\u{1}autoCheckSystemStatus\0")
@@ -1409,7 +1375,7 @@ extension BlueAccessConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
1409
1375
 
1410
1376
  extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1411
1377
  public static let protoMessageName: String = "BlueOssConfig"
1412
- public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}sidMifareAesKey\0\u{1}sidMifareAid\0\u{1}soUpdater\0\u{1}soPushEvents\0\u{1}soWritePendingEvents\0\u{1}soUpdateFromBlacklist\0\u{1}soMifareAesKey\0\u{1}soMifareAid\0\u{1}minRefreshDays\0")
1378
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}sidMifareAesKey\0\u{1}sidMifareAid\0\u{1}soUpdater\0\u{1}soPushEvents\0\u{1}soWritePendingEvents\0\u{1}soUpdateFromBlacklist\0\u{1}soMifareAesKey\0\u{1}soMifareAid\0")
1413
1379
 
1414
1380
  public var isInitialized: Bool {
1415
1381
  if self._sidMifareAesKey == nil {return false}
@@ -1437,7 +1403,6 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
1437
1403
  case 6: try { try decoder.decodeSingularBoolField(value: &self._soUpdateFromBlacklist) }()
1438
1404
  case 7: try { try decoder.decodeSingularBytesField(value: &self._soMifareAesKey) }()
1439
1405
  case 8: try { try decoder.decodeSingularUInt32Field(value: &self._soMifareAid) }()
1440
- case 9: try { try decoder.decodeSingularUInt32Field(value: &self._minRefreshDays) }()
1441
1406
  default: break
1442
1407
  }
1443
1408
  }
@@ -1472,9 +1437,6 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
1472
1437
  try { if let v = self._soMifareAid {
1473
1438
  try visitor.visitSingularUInt32Field(value: v, fieldNumber: 8)
1474
1439
  } }()
1475
- try { if let v = self._minRefreshDays {
1476
- try visitor.visitSingularUInt32Field(value: v, fieldNumber: 9)
1477
- } }()
1478
1440
  try unknownFields.traverse(visitor: &visitor)
1479
1441
  }
1480
1442
 
@@ -1487,7 +1449,6 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
1487
1449
  if lhs._soUpdateFromBlacklist != rhs._soUpdateFromBlacklist {return false}
1488
1450
  if lhs._soMifareAesKey != rhs._soMifareAesKey {return false}
1489
1451
  if lhs._soMifareAid != rhs._soMifareAid {return false}
1490
- if lhs._minRefreshDays != rhs._minRefreshDays {return false}
1491
1452
  if lhs.unknownFields != rhs.unknownFields {return false}
1492
1453
  return true
1493
1454
  }
@@ -1870,7 +1831,7 @@ extension BlueSystemSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
1870
1831
 
1871
1832
  extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1872
1833
  public static let protoMessageName: String = "BlueSystemProvisioning"
1873
- public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}hardwareType\0\u{1}deviceId\0\u{1}serialNumber\0\u{1}terminalPrivateKey\0\u{1}signaturePublicKey\0\u{1}isDev\0")
1834
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}hardwareType\0\u{1}deviceId\0\u{1}serialNumber\0\u{1}terminalPrivateKey\0\u{1}signaturePublicKey\0")
1874
1835
 
1875
1836
  public var isInitialized: Bool {
1876
1837
  if self._hardwareType == nil {return false}
@@ -1892,7 +1853,6 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
1892
1853
  case 3: try { try decoder.decodeSingularStringField(value: &self._serialNumber) }()
1893
1854
  case 4: try { try decoder.decodeSingularBytesField(value: &self._terminalPrivateKey) }()
1894
1855
  case 5: try { try decoder.decodeSingularBytesField(value: &self._signaturePublicKey) }()
1895
- case 6: try { try decoder.decodeSingularBoolField(value: &self._isDev) }()
1896
1856
  default: break
1897
1857
  }
1898
1858
  }
@@ -1918,9 +1878,6 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
1918
1878
  try { if let v = self._signaturePublicKey {
1919
1879
  try visitor.visitSingularBytesField(value: v, fieldNumber: 5)
1920
1880
  } }()
1921
- try { if let v = self._isDev {
1922
- try visitor.visitSingularBoolField(value: v, fieldNumber: 6)
1923
- } }()
1924
1881
  try unknownFields.traverse(visitor: &visitor)
1925
1882
  }
1926
1883
 
@@ -1930,7 +1887,6 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
1930
1887
  if lhs._serialNumber != rhs._serialNumber {return false}
1931
1888
  if lhs._terminalPrivateKey != rhs._terminalPrivateKey {return false}
1932
1889
  if lhs._signaturePublicKey != rhs._signaturePublicKey {return false}
1933
- if lhs._isDev != rhs._isDev {return false}
1934
1890
  if lhs.unknownFields != rhs.unknownFields {return false}
1935
1891
  return true
1936
1892
  }