@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
@@ -437,48 +441,48 @@ public struct BlueSharedDemoData: Sendable {
437
441
  // methods supported on all messages.
438
442
 
439
443
  public var deviceID: String {
440
- get {return _deviceID ?? "wa0y1YwS"}
444
+ get {_deviceID ?? "wa0y1YwS"}
441
445
  set {_deviceID = newValue}
442
446
  }
443
447
  /// Returns true if `deviceID` has been explicitly set.
444
- public var hasDeviceID: Bool {return self._deviceID != nil}
448
+ public var hasDeviceID: Bool {self._deviceID != nil}
445
449
  /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
446
450
  public mutating func clearDeviceID() {self._deviceID = nil}
447
451
 
448
452
  public var terminalPrivateKey: Data {
449
- get {return _terminalPrivateKey ?? Data([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 165, 171, 109, 20, 17, 48, 71, 167, 173, 108, 16, 228, 77, 230, 60, 5, 185, 107, 132, 181, 31, 227, 20, 214, 135, 92, 70, 158, 185, 205, 105, 43, 161, 68, 3, 66, 0, 4, 58, 102, 134, 117, 201, 41, 41, 7, 195, 99, 24, 151, 77, 217, 68, 28, 113, 249, 228, 69, 232, 116, 26, 63, 175, 107, 197, 140, 156, 105, 19, 190, 68, 20, 11, 96, 69, 79, 118, 47, 194, 241, 152, 65, 152, 236, 110, 57, 27, 83, 54, 139, 144, 115, 234, 29, 231, 32, 207, 161, 190, 45, 212, 241])}
453
+ get {_terminalPrivateKey ?? Data([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 165, 171, 109, 20, 17, 48, 71, 167, 173, 108, 16, 228, 77, 230, 60, 5, 185, 107, 132, 181, 31, 227, 20, 214, 135, 92, 70, 158, 185, 205, 105, 43, 161, 68, 3, 66, 0, 4, 58, 102, 134, 117, 201, 41, 41, 7, 195, 99, 24, 151, 77, 217, 68, 28, 113, 249, 228, 69, 232, 116, 26, 63, 175, 107, 197, 140, 156, 105, 19, 190, 68, 20, 11, 96, 69, 79, 118, 47, 194, 241, 152, 65, 152, 236, 110, 57, 27, 83, 54, 139, 144, 115, 234, 29, 231, 32, 207, 161, 190, 45, 212, 241])}
450
454
  set {_terminalPrivateKey = newValue}
451
455
  }
452
456
  /// Returns true if `terminalPrivateKey` has been explicitly set.
453
- public var hasTerminalPrivateKey: Bool {return self._terminalPrivateKey != nil}
457
+ public var hasTerminalPrivateKey: Bool {self._terminalPrivateKey != nil}
454
458
  /// Clears the value of `terminalPrivateKey`. Subsequent reads from it will return its default value.
455
459
  public mutating func clearTerminalPrivateKey() {self._terminalPrivateKey = nil}
456
460
 
457
461
  public var terminalPublicKey: Data {
458
- get {return _terminalPublicKey ?? Data([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 58, 102, 134, 117, 201, 41, 41, 7, 195, 99, 24, 151, 77, 217, 68, 28, 113, 249, 228, 69, 232, 116, 26, 63, 175, 107, 197, 140, 156, 105, 19, 190, 68, 20, 11, 96, 69, 79, 118, 47, 194, 241, 152, 65, 152, 236, 110, 57, 27, 83, 54, 139, 144, 115, 234, 29, 231, 32, 207, 161, 190, 45, 212, 241])}
462
+ get {_terminalPublicKey ?? Data([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 58, 102, 134, 117, 201, 41, 41, 7, 195, 99, 24, 151, 77, 217, 68, 28, 113, 249, 228, 69, 232, 116, 26, 63, 175, 107, 197, 140, 156, 105, 19, 190, 68, 20, 11, 96, 69, 79, 118, 47, 194, 241, 152, 65, 152, 236, 110, 57, 27, 83, 54, 139, 144, 115, 234, 29, 231, 32, 207, 161, 190, 45, 212, 241])}
459
463
  set {_terminalPublicKey = newValue}
460
464
  }
461
465
  /// Returns true if `terminalPublicKey` has been explicitly set.
462
- public var hasTerminalPublicKey: Bool {return self._terminalPublicKey != nil}
466
+ public var hasTerminalPublicKey: Bool {self._terminalPublicKey != nil}
463
467
  /// Clears the value of `terminalPublicKey`. Subsequent reads from it will return its default value.
464
468
  public mutating func clearTerminalPublicKey() {self._terminalPublicKey = nil}
465
469
 
466
470
  /// --
467
471
  public var signaturePrivateKey: Data {
468
- get {return _signaturePrivateKey ?? Data([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 239, 54, 85, 201, 77, 128, 30, 244, 146, 86, 117, 14, 112, 225, 81, 14, 204, 232, 180, 108, 84, 94, 85, 29, 222, 187, 252, 111, 34, 168, 73, 80, 161, 68, 3, 66, 0, 4, 90, 13, 110, 103, 69, 204, 213, 193, 140, 235, 216, 175, 246, 234, 134, 216, 195, 175, 67, 63, 183, 162, 210, 95, 33, 52, 66, 212, 205, 150, 131, 180, 230, 125, 45, 220, 37, 235, 83, 249, 18, 118, 30, 64, 230, 201, 153, 131, 221, 144, 144, 254, 240, 180, 37, 153, 205, 22, 174, 57, 47, 207, 150, 67])}
472
+ get {_signaturePrivateKey ?? Data([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 239, 54, 85, 201, 77, 128, 30, 244, 146, 86, 117, 14, 112, 225, 81, 14, 204, 232, 180, 108, 84, 94, 85, 29, 222, 187, 252, 111, 34, 168, 73, 80, 161, 68, 3, 66, 0, 4, 90, 13, 110, 103, 69, 204, 213, 193, 140, 235, 216, 175, 246, 234, 134, 216, 195, 175, 67, 63, 183, 162, 210, 95, 33, 52, 66, 212, 205, 150, 131, 180, 230, 125, 45, 220, 37, 235, 83, 249, 18, 118, 30, 64, 230, 201, 153, 131, 221, 144, 144, 254, 240, 180, 37, 153, 205, 22, 174, 57, 47, 207, 150, 67])}
469
473
  set {_signaturePrivateKey = newValue}
470
474
  }
471
475
  /// Returns true if `signaturePrivateKey` has been explicitly set.
472
- public var hasSignaturePrivateKey: Bool {return self._signaturePrivateKey != nil}
476
+ public var hasSignaturePrivateKey: Bool {self._signaturePrivateKey != nil}
473
477
  /// Clears the value of `signaturePrivateKey`. Subsequent reads from it will return its default value.
474
478
  public mutating func clearSignaturePrivateKey() {self._signaturePrivateKey = nil}
475
479
 
476
480
  public var signaturePublicKey: Data {
477
- get {return _signaturePublicKey ?? Data([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 90, 13, 110, 103, 69, 204, 213, 193, 140, 235, 216, 175, 246, 234, 134, 216, 195, 175, 67, 63, 183, 162, 210, 95, 33, 52, 66, 212, 205, 150, 131, 180, 230, 125, 45, 220, 37, 235, 83, 249, 18, 118, 30, 64, 230, 201, 153, 131, 221, 144, 144, 254, 240, 180, 37, 153, 205, 22, 174, 57, 47, 207, 150, 67])}
481
+ get {_signaturePublicKey ?? Data([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 90, 13, 110, 103, 69, 204, 213, 193, 140, 235, 216, 175, 246, 234, 134, 216, 195, 175, 67, 63, 183, 162, 210, 95, 33, 52, 66, 212, 205, 150, 131, 180, 230, 125, 45, 220, 37, 235, 83, 249, 18, 118, 30, 64, 230, 201, 153, 131, 221, 144, 144, 254, 240, 180, 37, 153, 205, 22, 174, 57, 47, 207, 150, 67])}
478
482
  set {_signaturePublicKey = newValue}
479
483
  }
480
484
  /// Returns true if `signaturePublicKey` has been explicitly set.
481
- public var hasSignaturePublicKey: Bool {return self._signaturePublicKey != nil}
485
+ public var hasSignaturePublicKey: Bool {self._signaturePublicKey != nil}
482
486
  /// Clears the value of `signaturePublicKey`. Subsequent reads from it will return its default value.
483
487
  public mutating func clearSignaturePublicKey() {self._signaturePublicKey = nil}
484
488
 
@@ -499,29 +503,29 @@ public struct BlueVersionInfo: Sendable {
499
503
  // methods supported on all messages.
500
504
 
501
505
  public var buildTime: UInt32 {
502
- get {return _buildTime ?? 0}
506
+ get {_buildTime ?? 0}
503
507
  set {_buildTime = newValue}
504
508
  }
505
509
  /// Returns true if `buildTime` has been explicitly set.
506
- public var hasBuildTime: Bool {return self._buildTime != nil}
510
+ public var hasBuildTime: Bool {self._buildTime != nil}
507
511
  /// Clears the value of `buildTime`. Subsequent reads from it will return its default value.
508
512
  public mutating func clearBuildTime() {self._buildTime = nil}
509
513
 
510
514
  public var version: UInt32 {
511
- get {return _version ?? 0}
515
+ get {_version ?? 0}
512
516
  set {_version = newValue}
513
517
  }
514
518
  /// Returns true if `version` has been explicitly set.
515
- public var hasVersion: Bool {return self._version != nil}
519
+ public var hasVersion: Bool {self._version != nil}
516
520
  /// Clears the value of `version`. Subsequent reads from it will return its default value.
517
521
  public mutating func clearVersion() {self._version = nil}
518
522
 
519
523
  public var testVersion: UInt32 {
520
- get {return _testVersion ?? 0}
524
+ get {_testVersion ?? 0}
521
525
  set {_testVersion = newValue}
522
526
  }
523
527
  /// Returns true if `testVersion` has been explicitly set.
524
- public var hasTestVersion: Bool {return self._testVersion != nil}
528
+ public var hasTestVersion: Bool {self._testVersion != nil}
525
529
  /// Clears the value of `testVersion`. Subsequent reads from it will return its default value.
526
530
  public mutating func clearTestVersion() {self._testVersion = nil}
527
531
 
@@ -540,56 +544,56 @@ public struct BlueLocalTimestamp: Sendable {
540
544
  // methods supported on all messages.
541
545
 
542
546
  public var year: UInt32 {
543
- get {return _year ?? 0}
547
+ get {_year ?? 0}
544
548
  set {_year = newValue}
545
549
  }
546
550
  /// Returns true if `year` has been explicitly set.
547
- public var hasYear: Bool {return self._year != nil}
551
+ public var hasYear: Bool {self._year != nil}
548
552
  /// Clears the value of `year`. Subsequent reads from it will return its default value.
549
553
  public mutating func clearYear() {self._year = nil}
550
554
 
551
555
  public var month: UInt32 {
552
- get {return _month ?? 0}
556
+ get {_month ?? 0}
553
557
  set {_month = newValue}
554
558
  }
555
559
  /// Returns true if `month` has been explicitly set.
556
- public var hasMonth: Bool {return self._month != nil}
560
+ public var hasMonth: Bool {self._month != nil}
557
561
  /// Clears the value of `month`. Subsequent reads from it will return its default value.
558
562
  public mutating func clearMonth() {self._month = nil}
559
563
 
560
564
  public var date: UInt32 {
561
- get {return _date ?? 0}
565
+ get {_date ?? 0}
562
566
  set {_date = newValue}
563
567
  }
564
568
  /// Returns true if `date` has been explicitly set.
565
- public var hasDate: Bool {return self._date != nil}
569
+ public var hasDate: Bool {self._date != nil}
566
570
  /// Clears the value of `date`. Subsequent reads from it will return its default value.
567
571
  public mutating func clearDate() {self._date = nil}
568
572
 
569
573
  public var hours: UInt32 {
570
- get {return _hours ?? 0}
574
+ get {_hours ?? 0}
571
575
  set {_hours = newValue}
572
576
  }
573
577
  /// Returns true if `hours` has been explicitly set.
574
- public var hasHours: Bool {return self._hours != nil}
578
+ public var hasHours: Bool {self._hours != nil}
575
579
  /// Clears the value of `hours`. Subsequent reads from it will return its default value.
576
580
  public mutating func clearHours() {self._hours = nil}
577
581
 
578
582
  public var minutes: UInt32 {
579
- get {return _minutes ?? 0}
583
+ get {_minutes ?? 0}
580
584
  set {_minutes = newValue}
581
585
  }
582
586
  /// Returns true if `minutes` has been explicitly set.
583
- public var hasMinutes: Bool {return self._minutes != nil}
587
+ public var hasMinutes: Bool {self._minutes != nil}
584
588
  /// Clears the value of `minutes`. Subsequent reads from it will return its default value.
585
589
  public mutating func clearMinutes() {self._minutes = nil}
586
590
 
587
591
  public var seconds: UInt32 {
588
- get {return _seconds ?? 0}
592
+ get {_seconds ?? 0}
589
593
  set {_seconds = newValue}
590
594
  }
591
595
  /// Returns true if `seconds` has been explicitly set.
592
- public var hasSeconds: Bool {return self._seconds != nil}
596
+ public var hasSeconds: Bool {self._seconds != nil}
593
597
  /// Clears the value of `seconds`. Subsequent reads from it will return its default value.
594
598
  public mutating func clearSeconds() {self._seconds = nil}
595
599
 
@@ -611,38 +615,38 @@ public struct BlueLocalTimeperiod: Sendable {
611
615
  // methods supported on all messages.
612
616
 
613
617
  public var hoursFrom: UInt32 {
614
- get {return _hoursFrom ?? 0}
618
+ get {_hoursFrom ?? 0}
615
619
  set {_hoursFrom = newValue}
616
620
  }
617
621
  /// Returns true if `hoursFrom` has been explicitly set.
618
- public var hasHoursFrom: Bool {return self._hoursFrom != nil}
622
+ public var hasHoursFrom: Bool {self._hoursFrom != nil}
619
623
  /// Clears the value of `hoursFrom`. Subsequent reads from it will return its default value.
620
624
  public mutating func clearHoursFrom() {self._hoursFrom = nil}
621
625
 
622
626
  public var minutesFrom: UInt32 {
623
- get {return _minutesFrom ?? 0}
627
+ get {_minutesFrom ?? 0}
624
628
  set {_minutesFrom = newValue}
625
629
  }
626
630
  /// Returns true if `minutesFrom` has been explicitly set.
627
- public var hasMinutesFrom: Bool {return self._minutesFrom != nil}
631
+ public var hasMinutesFrom: Bool {self._minutesFrom != nil}
628
632
  /// Clears the value of `minutesFrom`. Subsequent reads from it will return its default value.
629
633
  public mutating func clearMinutesFrom() {self._minutesFrom = nil}
630
634
 
631
635
  public var hoursTo: UInt32 {
632
- get {return _hoursTo ?? 0}
636
+ get {_hoursTo ?? 0}
633
637
  set {_hoursTo = newValue}
634
638
  }
635
639
  /// Returns true if `hoursTo` has been explicitly set.
636
- public var hasHoursTo: Bool {return self._hoursTo != nil}
640
+ public var hasHoursTo: Bool {self._hoursTo != nil}
637
641
  /// Clears the value of `hoursTo`. Subsequent reads from it will return its default value.
638
642
  public mutating func clearHoursTo() {self._hoursTo = nil}
639
643
 
640
644
  public var minutesTo: UInt32 {
641
- get {return _minutesTo ?? 0}
645
+ get {_minutesTo ?? 0}
642
646
  set {_minutesTo = newValue}
643
647
  }
644
648
  /// Returns true if `minutesTo` has been explicitly set.
645
- public var hasMinutesTo: Bool {return self._minutesTo != nil}
649
+ public var hasMinutesTo: Bool {self._minutesTo != nil}
646
650
  /// Clears the value of `minutesTo`. Subsequent reads from it will return its default value.
647
651
  public mutating func clearMinutesTo() {self._minutesTo = nil}
648
652
 
@@ -663,20 +667,20 @@ public struct BlueLocalTimeSchedule: Sendable {
663
667
 
664
668
  /// Day of year is always 1-366, to spawn whole year make 1->366
665
669
  public var dayOfYearStart: UInt32 {
666
- get {return _dayOfYearStart ?? 0}
670
+ get {_dayOfYearStart ?? 0}
667
671
  set {_dayOfYearStart = newValue}
668
672
  }
669
673
  /// Returns true if `dayOfYearStart` has been explicitly set.
670
- public var hasDayOfYearStart: Bool {return self._dayOfYearStart != nil}
674
+ public var hasDayOfYearStart: Bool {self._dayOfYearStart != nil}
671
675
  /// Clears the value of `dayOfYearStart`. Subsequent reads from it will return its default value.
672
676
  public mutating func clearDayOfYearStart() {self._dayOfYearStart = nil}
673
677
 
674
678
  public var dayOfYearEnd: UInt32 {
675
- get {return _dayOfYearEnd ?? 0}
679
+ get {_dayOfYearEnd ?? 0}
676
680
  set {_dayOfYearEnd = newValue}
677
681
  }
678
682
  /// Returns true if `dayOfYearEnd` has been explicitly set.
679
- public var hasDayOfYearEnd: Bool {return self._dayOfYearEnd != nil}
683
+ public var hasDayOfYearEnd: Bool {self._dayOfYearEnd != nil}
680
684
  /// Clears the value of `dayOfYearEnd`. Subsequent reads from it will return its default value.
681
685
  public mutating func clearDayOfYearEnd() {self._dayOfYearEnd = nil}
682
686
 
@@ -684,11 +688,11 @@ public struct BlueLocalTimeSchedule: Sendable {
684
688
  public var weekdays: [Bool] = []
685
689
 
686
690
  public var timePeriod: BlueLocalTimeperiod {
687
- get {return _timePeriod ?? BlueLocalTimeperiod()}
691
+ get {_timePeriod ?? BlueLocalTimeperiod()}
688
692
  set {_timePeriod = newValue}
689
693
  }
690
694
  /// Returns true if `timePeriod` has been explicitly set.
691
- public var hasTimePeriod: Bool {return self._timePeriod != nil}
695
+ public var hasTimePeriod: Bool {self._timePeriod != nil}
692
696
  /// Clears the value of `timePeriod`. Subsequent reads from it will return its default value.
693
697
  public mutating func clearTimePeriod() {self._timePeriod = nil}
694
698
 
@@ -707,11 +711,11 @@ public struct BlueCredentialId: Sendable {
707
711
  // methods supported on all messages.
708
712
 
709
713
  public var id: String {
710
- get {return _id ?? String()}
714
+ get {_id ?? String()}
711
715
  set {_id = newValue}
712
716
  }
713
717
  /// Returns true if `id` has been explicitly set.
714
- public var hasID: Bool {return self._id != nil}
718
+ public var hasID: Bool {self._id != nil}
715
719
  /// Clears the value of `id`. Subsequent reads from it will return its default value.
716
720
  public mutating func clearID() {self._id = nil}
717
721
 
@@ -728,20 +732,20 @@ public struct BlueBlacklistEntry: Sendable {
728
732
  // methods supported on all messages.
729
733
 
730
734
  public var credentialID: BlueCredentialId {
731
- get {return _credentialID ?? BlueCredentialId()}
735
+ get {_credentialID ?? BlueCredentialId()}
732
736
  set {_credentialID = newValue}
733
737
  }
734
738
  /// Returns true if `credentialID` has been explicitly set.
735
- public var hasCredentialID: Bool {return self._credentialID != nil}
739
+ public var hasCredentialID: Bool {self._credentialID != nil}
736
740
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
737
741
  public mutating func clearCredentialID() {self._credentialID = nil}
738
742
 
739
743
  public var expiresAt: BlueLocalTimestamp {
740
- get {return _expiresAt ?? BlueLocalTimestamp()}
744
+ get {_expiresAt ?? BlueLocalTimestamp()}
741
745
  set {_expiresAt = newValue}
742
746
  }
743
747
  /// Returns true if `expiresAt` has been explicitly set.
744
- public var hasExpiresAt: Bool {return self._expiresAt != nil}
748
+ public var hasExpiresAt: Bool {self._expiresAt != nil}
745
749
  /// Clears the value of `expiresAt`. Subsequent reads from it will return its default value.
746
750
  public mutating func clearExpiresAt() {self._expiresAt = nil}
747
751
 
@@ -759,58 +763,58 @@ public struct BlueBleManufacturerInfo: Sendable {
759
763
  // methods supported on all messages.
760
764
 
761
765
  public var hardwareType: BlueHardwareType {
762
- get {return _hardwareType ?? .unknownHardware}
766
+ get {_hardwareType ?? .unknownHardware}
763
767
  set {_hardwareType = newValue}
764
768
  }
765
769
  /// Returns true if `hardwareType` has been explicitly set.
766
- public var hasHardwareType: Bool {return self._hardwareType != nil}
770
+ public var hasHardwareType: Bool {self._hardwareType != nil}
767
771
  /// Clears the value of `hardwareType`. Subsequent reads from it will return its default value.
768
772
  public mutating func clearHardwareType() {self._hardwareType = nil}
769
773
 
770
774
  public var batteryLevel: BlueBatteryLevel {
771
- get {return _batteryLevel ?? .unknownBattery}
775
+ get {_batteryLevel ?? .unknownBattery}
772
776
  set {_batteryLevel = newValue}
773
777
  }
774
778
  /// Returns true if `batteryLevel` has been explicitly set.
775
- public var hasBatteryLevel: Bool {return self._batteryLevel != nil}
779
+ public var hasBatteryLevel: Bool {self._batteryLevel != nil}
776
780
  /// Clears the value of `batteryLevel`. Subsequent reads from it will return its default value.
777
781
  public mutating func clearBatteryLevel() {self._batteryLevel = nil}
778
782
 
779
783
  public var applicationVersion: UInt32 {
780
- get {return _applicationVersion ?? 0}
784
+ get {_applicationVersion ?? 0}
781
785
  set {_applicationVersion = newValue}
782
786
  }
783
787
  /// Returns true if `applicationVersion` has been explicitly set.
784
- public var hasApplicationVersion: Bool {return self._applicationVersion != nil}
788
+ public var hasApplicationVersion: Bool {self._applicationVersion != nil}
785
789
  /// Clears the value of `applicationVersion`. Subsequent reads from it will return its default value.
786
790
  public mutating func clearApplicationVersion() {self._applicationVersion = nil}
787
791
 
788
792
  public var localMidnightTimeEpoch: UInt32 {
789
- get {return _localMidnightTimeEpoch ?? 0}
793
+ get {_localMidnightTimeEpoch ?? 0}
790
794
  set {_localMidnightTimeEpoch = newValue}
791
795
  }
792
796
  /// Returns true if `localMidnightTimeEpoch` has been explicitly set.
793
- public var hasLocalMidnightTimeEpoch: Bool {return self._localMidnightTimeEpoch != nil}
797
+ public var hasLocalMidnightTimeEpoch: Bool {self._localMidnightTimeEpoch != nil}
794
798
  /// Clears the value of `localMidnightTimeEpoch`. Subsequent reads from it will return its default value.
795
799
  public mutating func clearLocalMidnightTimeEpoch() {self._localMidnightTimeEpoch = nil}
796
800
 
797
801
  public var isFactory: Bool {
798
- get {return _isFactory ?? false}
802
+ get {_isFactory ?? false}
799
803
  set {_isFactory = newValue}
800
804
  }
801
805
  /// Returns true if `isFactory` has been explicitly set.
802
- public var hasIsFactory: Bool {return self._isFactory != nil}
806
+ public var hasIsFactory: Bool {self._isFactory != nil}
803
807
  /// Clears the value of `isFactory`. Subsequent reads from it will return its default value.
804
808
  public mutating func clearIsFactory() {self._isFactory = nil}
805
809
 
806
810
  /// Additional hardware state depends on device.
807
811
  /// For locks for example this would contain the BlueLockState.
808
812
  public var hardwareState: UInt32 {
809
- get {return _hardwareState ?? 0}
813
+ get {_hardwareState ?? 0}
810
814
  set {_hardwareState = newValue}
811
815
  }
812
816
  /// Returns true if `hardwareState` has been explicitly set.
813
- public var hasHardwareState: Bool {return self._hardwareState != nil}
817
+ public var hasHardwareState: Bool {self._hardwareState != nil}
814
818
  /// Clears the value of `hardwareState`. Subsequent reads from it will return its default value.
815
819
  public mutating func clearHardwareState() {self._hardwareState = nil}
816
820
 
@@ -833,41 +837,41 @@ public struct BlueBleAdvertisementInfo: Sendable {
833
837
 
834
838
  /// Unique device id becomes the local name
835
839
  public var deviceID: String {
836
- get {return _deviceID ?? String()}
840
+ get {_deviceID ?? String()}
837
841
  set {_deviceID = newValue}
838
842
  }
839
843
  /// Returns true if `deviceID` has been explicitly set.
840
- public var hasDeviceID: Bool {return self._deviceID != nil}
844
+ public var hasDeviceID: Bool {self._deviceID != nil}
841
845
  /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
842
846
  public mutating func clearDeviceID() {self._deviceID = nil}
843
847
 
844
848
  /// The advertised tx power level at 1 meter in decibel (-XX - +XX)
845
849
  public var txPower1Meter: Int32 {
846
- get {return _txPower1Meter ?? 0}
850
+ get {_txPower1Meter ?? 0}
847
851
  set {_txPower1Meter = newValue}
848
852
  }
849
853
  /// Returns true if `txPower1Meter` has been explicitly set.
850
- public var hasTxPower1Meter: Bool {return self._txPower1Meter != nil}
854
+ public var hasTxPower1Meter: Bool {self._txPower1Meter != nil}
851
855
  /// Clears the value of `txPower1Meter`. Subsequent reads from it will return its default value.
852
856
  public mutating func clearTxPower1Meter() {self._txPower1Meter = nil}
853
857
 
854
858
  /// If set generates iBeacon format otherwise generates regular ble adv data
855
859
  public var isIbeacon: Bool {
856
- get {return _isIbeacon ?? false}
860
+ get {_isIbeacon ?? false}
857
861
  set {_isIbeacon = newValue}
858
862
  }
859
863
  /// Returns true if `isIbeacon` has been explicitly set.
860
- public var hasIsIbeacon: Bool {return self._isIbeacon != nil}
864
+ public var hasIsIbeacon: Bool {self._isIbeacon != nil}
861
865
  /// Clears the value of `isIbeacon`. Subsequent reads from it will return its default value.
862
866
  public mutating func clearIsIbeacon() {self._isIbeacon = nil}
863
867
 
864
868
  /// The manufacturer information
865
869
  public var mfInfo: BlueBleManufacturerInfo {
866
- get {return _mfInfo ?? BlueBleManufacturerInfo()}
870
+ get {_mfInfo ?? BlueBleManufacturerInfo()}
867
871
  set {_mfInfo = newValue}
868
872
  }
869
873
  /// Returns true if `mfInfo` has been explicitly set.
870
- public var hasMfInfo: Bool {return self._mfInfo != nil}
874
+ public var hasMfInfo: Bool {self._mfInfo != nil}
871
875
  /// Clears the value of `mfInfo`. Subsequent reads from it will return its default value.
872
876
  public mutating func clearMfInfo() {self._mfInfo = nil}
873
877
 
@@ -887,58 +891,58 @@ public struct BlueEvent: Sendable {
887
891
  // methods supported on all messages.
888
892
 
889
893
  public var sequenceID: UInt32 {
890
- get {return _sequenceID ?? 0}
894
+ get {_sequenceID ?? 0}
891
895
  set {_sequenceID = newValue}
892
896
  }
893
897
  /// Returns true if `sequenceID` has been explicitly set.
894
- public var hasSequenceID: Bool {return self._sequenceID != nil}
898
+ public var hasSequenceID: Bool {self._sequenceID != nil}
895
899
  /// Clears the value of `sequenceID`. Subsequent reads from it will return its default value.
896
900
  public mutating func clearSequenceID() {self._sequenceID = nil}
897
901
 
898
902
  public var eventTime: BlueLocalTimestamp {
899
- get {return _eventTime ?? BlueLocalTimestamp()}
903
+ get {_eventTime ?? BlueLocalTimestamp()}
900
904
  set {_eventTime = newValue}
901
905
  }
902
906
  /// Returns true if `eventTime` has been explicitly set.
903
- public var hasEventTime: Bool {return self._eventTime != nil}
907
+ public var hasEventTime: Bool {self._eventTime != nil}
904
908
  /// Clears the value of `eventTime`. Subsequent reads from it will return its default value.
905
909
  public mutating func clearEventTime() {self._eventTime = nil}
906
910
 
907
911
  public var eventID: BlueEventId {
908
- get {return _eventID ?? .batteryLow}
912
+ get {_eventID ?? .batteryLow}
909
913
  set {_eventID = newValue}
910
914
  }
911
915
  /// Returns true if `eventID` has been explicitly set.
912
- public var hasEventID: Bool {return self._eventID != nil}
916
+ public var hasEventID: Bool {self._eventID != nil}
913
917
  /// Clears the value of `eventID`. Subsequent reads from it will return its default value.
914
918
  public mutating func clearEventID() {self._eventID = nil}
915
919
 
916
920
  public var eventInfo: Int32 {
917
- get {return _eventInfo ?? 0}
921
+ get {_eventInfo ?? 0}
918
922
  set {_eventInfo = newValue}
919
923
  }
920
924
  /// Returns true if `eventInfo` has been explicitly set.
921
- public var hasEventInfo: Bool {return self._eventInfo != nil}
925
+ public var hasEventInfo: Bool {self._eventInfo != nil}
922
926
  /// Clears the value of `eventInfo`. Subsequent reads from it will return its default value.
923
927
  public mutating func clearEventInfo() {self._eventInfo = nil}
924
928
 
925
929
  /// Set if credential related
926
930
  public var credentialID: BlueCredentialId {
927
- get {return _credentialID ?? BlueCredentialId()}
931
+ get {_credentialID ?? BlueCredentialId()}
928
932
  set {_credentialID = newValue}
929
933
  }
930
934
  /// Returns true if `credentialID` has been explicitly set.
931
- public var hasCredentialID: Bool {return self._credentialID != nil}
935
+ public var hasCredentialID: Bool {self._credentialID != nil}
932
936
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
933
937
  public mutating func clearCredentialID() {self._credentialID = nil}
934
938
 
935
939
  /// Set if eventId =
936
940
  public var command: String {
937
- get {return _command ?? String()}
941
+ get {_command ?? String()}
938
942
  set {_command = newValue}
939
943
  }
940
944
  /// Returns true if `command` has been explicitly set.
941
- public var hasCommand: Bool {return self._command != nil}
945
+ public var hasCommand: Bool {self._command != nil}
942
946
  /// Clears the value of `command`. Subsequent reads from it will return its default value.
943
947
  public mutating func clearCommand() {self._command = nil}
944
948
 
@@ -960,11 +964,11 @@ public struct BlueSPHandshake: Sendable {
960
964
  // methods supported on all messages.
961
965
 
962
966
  public var transponderSalt: Data {
963
- get {return _transponderSalt ?? Data()}
967
+ get {_transponderSalt ?? Data()}
964
968
  set {_transponderSalt = newValue}
965
969
  }
966
970
  /// Returns true if `transponderSalt` has been explicitly set.
967
- public var hasTransponderSalt: Bool {return self._transponderSalt != nil}
971
+ public var hasTransponderSalt: Bool {self._transponderSalt != nil}
968
972
  /// Clears the value of `transponderSalt`. Subsequent reads from it will return its default value.
969
973
  public mutating func clearTransponderSalt() {self._transponderSalt = nil}
970
974
 
@@ -981,20 +985,20 @@ public struct BlueSPHandshakeReply: Sendable {
981
985
  // methods supported on all messages.
982
986
 
983
987
  public var terminalSalt: Data {
984
- get {return _terminalSalt ?? Data()}
988
+ get {_terminalSalt ?? Data()}
985
989
  set {_terminalSalt = newValue}
986
990
  }
987
991
  /// Returns true if `terminalSalt` has been explicitly set.
988
- public var hasTerminalSalt: Bool {return self._terminalSalt != nil}
992
+ public var hasTerminalSalt: Bool {self._terminalSalt != nil}
989
993
  /// Clears the value of `terminalSalt`. Subsequent reads from it will return its default value.
990
994
  public mutating func clearTerminalSalt() {self._terminalSalt = nil}
991
995
 
992
996
  public var terminalSignature: Data {
993
- get {return _terminalSignature ?? Data()}
997
+ get {_terminalSignature ?? Data()}
994
998
  set {_terminalSignature = newValue}
995
999
  }
996
1000
  /// Returns true if `terminalSignature` has been explicitly set.
997
- public var hasTerminalSignature: Bool {return self._terminalSignature != nil}
1001
+ public var hasTerminalSignature: Bool {self._terminalSignature != nil}
998
1002
  /// Clears the value of `terminalSignature`. Subsequent reads from it will return its default value.
999
1003
  public mutating func clearTerminalSignature() {self._terminalSignature = nil}
1000
1004
 
@@ -1012,48 +1016,48 @@ public struct BlueSPTokenCommand: Sendable {
1012
1016
  // methods supported on all messages.
1013
1017
 
1014
1018
  public var credentialID: BlueCredentialId {
1015
- get {return _credentialID ?? BlueCredentialId()}
1019
+ get {_credentialID ?? BlueCredentialId()}
1016
1020
  set {_credentialID = newValue}
1017
1021
  }
1018
1022
  /// Returns true if `credentialID` has been explicitly set.
1019
- public var hasCredentialID: Bool {return self._credentialID != nil}
1023
+ public var hasCredentialID: Bool {self._credentialID != nil}
1020
1024
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
1021
1025
  public mutating func clearCredentialID() {self._credentialID = nil}
1022
1026
 
1023
1027
  public var validityStart: BlueLocalTimestamp {
1024
- get {return _validityStart ?? BlueLocalTimestamp()}
1028
+ get {_validityStart ?? BlueLocalTimestamp()}
1025
1029
  set {_validityStart = newValue}
1026
1030
  }
1027
1031
  /// Returns true if `validityStart` has been explicitly set.
1028
- public var hasValidityStart: Bool {return self._validityStart != nil}
1032
+ public var hasValidityStart: Bool {self._validityStart != nil}
1029
1033
  /// Clears the value of `validityStart`. Subsequent reads from it will return its default value.
1030
1034
  public mutating func clearValidityStart() {self._validityStart = nil}
1031
1035
 
1032
1036
  public var validityEnd: BlueLocalTimestamp {
1033
- get {return _validityEnd ?? BlueLocalTimestamp()}
1037
+ get {_validityEnd ?? BlueLocalTimestamp()}
1034
1038
  set {_validityEnd = newValue}
1035
1039
  }
1036
1040
  /// Returns true if `validityEnd` has been explicitly set.
1037
- public var hasValidityEnd: Bool {return self._validityEnd != nil}
1041
+ public var hasValidityEnd: Bool {self._validityEnd != nil}
1038
1042
  /// Clears the value of `validityEnd`. Subsequent reads from it will return its default value.
1039
1043
  public mutating func clearValidityEnd() {self._validityEnd = nil}
1040
1044
 
1041
1045
  public var command: String {
1042
- get {return _command ?? String()}
1046
+ get {_command ?? String()}
1043
1047
  set {_command = newValue}
1044
1048
  }
1045
1049
  /// Returns true if `command` has been explicitly set.
1046
- public var hasCommand: Bool {return self._command != nil}
1050
+ public var hasCommand: Bool {self._command != nil}
1047
1051
  /// Clears the value of `command`. Subsequent reads from it will return its default value.
1048
1052
  public mutating func clearCommand() {self._command = nil}
1049
1053
 
1050
- /// we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
1054
+ /// we'll add 256b for add. data
1051
1055
  public var data: Data {
1052
- get {return _data ?? Data()}
1056
+ get {_data ?? Data()}
1053
1057
  set {_data = newValue}
1054
1058
  }
1055
1059
  /// Returns true if `data` has been explicitly set.
1056
- public var hasData: Bool {return self._data != nil}
1060
+ public var hasData: Bool {self._data != nil}
1057
1061
  /// Clears the value of `data`. Subsequent reads from it will return its default value.
1058
1062
  public mutating func clearData() {self._data = nil}
1059
1063
 
@@ -1074,11 +1078,11 @@ public struct BlueSPToken: Sendable {
1074
1078
  // methods supported on all messages.
1075
1079
 
1076
1080
  public var signature: Data {
1077
- get {return _signature ?? Data()}
1081
+ get {_signature ?? Data()}
1078
1082
  set {_signature = newValue}
1079
1083
  }
1080
1084
  /// Returns true if `signature` has been explicitly set.
1081
- public var hasSignature: Bool {return self._signature != nil}
1085
+ public var hasSignature: Bool {self._signature != nil}
1082
1086
  /// Clears the value of `signature`. Subsequent reads from it will return its default value.
1083
1087
  public mutating func clearSignature() {self._signature = nil}
1084
1088
 
@@ -1149,11 +1153,11 @@ public struct BlueSPResult: Sendable {
1149
1153
 
1150
1154
  /// we'll add 256b for add. data
1151
1155
  public var data: Data {
1152
- get {return _data ?? Data()}
1156
+ get {_data ?? Data()}
1153
1157
  set {_data = newValue}
1154
1158
  }
1155
1159
  /// Returns true if `data` has been explicitly set.
1156
- public var hasData: Bool {return self._data != nil}
1160
+ public var hasData: Bool {self._data != nil}
1157
1161
  /// Clears the value of `data`. Subsequent reads from it will return its default value.
1158
1162
  public mutating func clearData() {self._data = nil}
1159
1163
 
@@ -1164,6 +1168,198 @@ public struct BlueSPResult: Sendable {
1164
1168
  fileprivate var _data: Data? = nil
1165
1169
  }
1166
1170
 
1171
+ public struct BlueWebSPHandshake: Sendable {
1172
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1173
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1174
+ // methods supported on all messages.
1175
+
1176
+ public var salt: Data {
1177
+ get {_salt ?? Data()}
1178
+ set {_salt = newValue}
1179
+ }
1180
+ /// Returns true if `salt` has been explicitly set.
1181
+ public var hasSalt: Bool {self._salt != nil}
1182
+ /// Clears the value of `salt`. Subsequent reads from it will return its default value.
1183
+ public mutating func clearSalt() {self._salt = nil}
1184
+
1185
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1186
+
1187
+ public init() {}
1188
+
1189
+ fileprivate var _salt: Data? = nil
1190
+ }
1191
+
1192
+ public struct BlueWebSPHandshakeReply: Sendable {
1193
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1194
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1195
+ // methods supported on all messages.
1196
+
1197
+ public var deviceID: String {
1198
+ get {_deviceID ?? String()}
1199
+ set {_deviceID = newValue}
1200
+ }
1201
+ /// Returns true if `deviceID` has been explicitly set.
1202
+ public var hasDeviceID: Bool {self._deviceID != nil}
1203
+ /// Clears the value of `deviceID`. Subsequent reads from it will return its default value.
1204
+ public mutating func clearDeviceID() {self._deviceID = nil}
1205
+
1206
+ public var signature: Data {
1207
+ get {_signature ?? Data()}
1208
+ set {_signature = newValue}
1209
+ }
1210
+ /// Returns true if `signature` has been explicitly set.
1211
+ public var hasSignature: Bool {self._signature != nil}
1212
+ /// Clears the value of `signature`. Subsequent reads from it will return its default value.
1213
+ public mutating func clearSignature() {self._signature = nil}
1214
+
1215
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1216
+
1217
+ public init() {}
1218
+
1219
+ fileprivate var _deviceID: String? = nil
1220
+ fileprivate var _signature: Data? = nil
1221
+ }
1222
+
1223
+ public struct BlueWebSPMessage: Sendable {
1224
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1225
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1226
+ // methods supported on all messages.
1227
+
1228
+ public var transactionID: UInt32 {
1229
+ get {_transactionID ?? 0}
1230
+ set {_transactionID = newValue}
1231
+ }
1232
+ /// Returns true if `transactionID` has been explicitly set.
1233
+ public var hasTransactionID: Bool {self._transactionID != nil}
1234
+ /// Clears the value of `transactionID`. Subsequent reads from it will return its default value.
1235
+ public mutating func clearTransactionID() {self._transactionID = nil}
1236
+
1237
+ public var payload: BlueSPResult {
1238
+ get {_payload ?? BlueSPResult()}
1239
+ set {_payload = newValue}
1240
+ }
1241
+ /// Returns true if `payload` has been explicitly set.
1242
+ public var hasPayload: Bool {self._payload != nil}
1243
+ /// Clears the value of `payload`. Subsequent reads from it will return its default value.
1244
+ public mutating func clearPayload() {self._payload = nil}
1245
+
1246
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1247
+
1248
+ public init() {}
1249
+
1250
+ fileprivate var _transactionID: UInt32? = nil
1251
+ fileprivate var _payload: BlueSPResult? = nil
1252
+ }
1253
+
1254
+ /// Message sent by the server to the device
1255
+ public struct BlueWebSPServerMessage: Sendable {
1256
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1257
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1258
+ // methods supported on all messages.
1259
+
1260
+ public var payload: BlueWebSPServerMessage.OneOf_Payload? = nil
1261
+
1262
+ public var handshake: BlueWebSPHandshake {
1263
+ get {
1264
+ if case .handshake(let v)? = payload {return v}
1265
+ return BlueWebSPHandshake()
1266
+ }
1267
+ set {payload = .handshake(newValue)}
1268
+ }
1269
+
1270
+ public var command: BlueSPTokenCommand {
1271
+ get {
1272
+ if case .command(let v)? = payload {return v}
1273
+ return BlueSPTokenCommand()
1274
+ }
1275
+ set {payload = .command(newValue)}
1276
+ }
1277
+
1278
+ public var ossSo: BlueOssSoMobile {
1279
+ get {
1280
+ if case .ossSo(let v)? = payload {return v}
1281
+ return BlueOssSoMobile()
1282
+ }
1283
+ set {payload = .ossSo(newValue)}
1284
+ }
1285
+
1286
+ public var ossSid: BlueOssSidMobile {
1287
+ get {
1288
+ if case .ossSid(let v)? = payload {return v}
1289
+ return BlueOssSidMobile()
1290
+ }
1291
+ set {payload = .ossSid(newValue)}
1292
+ }
1293
+
1294
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1295
+
1296
+ public enum OneOf_Payload: Equatable, Sendable {
1297
+ case handshake(BlueWebSPHandshake)
1298
+ case command(BlueSPTokenCommand)
1299
+ case ossSo(BlueOssSoMobile)
1300
+ case ossSid(BlueOssSidMobile)
1301
+
1302
+ fileprivate var isInitialized: Bool {
1303
+ // The use of inline closures is to circumvent an issue where the compiler
1304
+ // allocates stack space for every case branch when no optimizations are
1305
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
1306
+ switch self {
1307
+ case .handshake: return {
1308
+ guard case .handshake(let v) = self else { preconditionFailure() }
1309
+ return v.isInitialized
1310
+ }()
1311
+ case .command: return {
1312
+ guard case .command(let v) = self else { preconditionFailure() }
1313
+ return v.isInitialized
1314
+ }()
1315
+ case .ossSo: return {
1316
+ guard case .ossSo(let v) = self else { preconditionFailure() }
1317
+ return v.isInitialized
1318
+ }()
1319
+ case .ossSid: return {
1320
+ guard case .ossSid(let v) = self else { preconditionFailure() }
1321
+ return v.isInitialized
1322
+ }()
1323
+ }
1324
+ }
1325
+
1326
+ }
1327
+
1328
+ public init() {}
1329
+ }
1330
+
1331
+ /// TODO: payload
1332
+ public struct BlueWebSPClientMessage: Sendable {
1333
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1334
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1335
+ // methods supported on all messages.
1336
+
1337
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1338
+
1339
+ public init() {}
1340
+ }
1341
+
1342
+ public struct BlueWebSPStatusMessage: Sendable {
1343
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
1344
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
1345
+ // methods supported on all messages.
1346
+
1347
+ public var status: BlueReturnCode {
1348
+ get {_status ?? .ok}
1349
+ set {_status = newValue}
1350
+ }
1351
+ /// Returns true if `status` has been explicitly set.
1352
+ public var hasStatus: Bool {self._status != nil}
1353
+ /// Clears the value of `status`. Subsequent reads from it will return its default value.
1354
+ public mutating func clearStatus() {self._status = nil}
1355
+
1356
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
1357
+
1358
+ public init() {}
1359
+
1360
+ fileprivate var _status: BlueReturnCode? = nil
1361
+ }
1362
+
1167
1363
  public struct BlueOssAccessResult: Sendable {
1168
1364
  // SwiftProtobuf.Message conformance is added in an extension below. See the
1169
1365
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
@@ -1171,62 +1367,62 @@ public struct BlueOssAccessResult: Sendable {
1171
1367
 
1172
1368
  /// If access is granted or not
1173
1369
  public var accessGranted: Bool {
1174
- get {return _accessGranted ?? false}
1370
+ get {_accessGranted ?? false}
1175
1371
  set {_accessGranted = newValue}
1176
1372
  }
1177
1373
  /// Returns true if `accessGranted` has been explicitly set.
1178
- public var hasAccessGranted: Bool {return self._accessGranted != nil}
1374
+ public var hasAccessGranted: Bool {self._accessGranted != nil}
1179
1375
  /// Clears the value of `accessGranted`. Subsequent reads from it will return its default value.
1180
1376
  public mutating func clearAccessGranted() {self._accessGranted = nil}
1181
1377
 
1182
1378
  /// The final access type that was used if access was granted
1183
1379
  public var accessType: BlueAccessType {
1184
- get {return _accessType ?? .defaultTime}
1380
+ get {_accessType ?? .defaultTime}
1185
1381
  set {_accessType = newValue}
1186
1382
  }
1187
1383
  /// Returns true if `accessType` has been explicitly set.
1188
- public var hasAccessType: Bool {return self._accessType != nil}
1384
+ public var hasAccessType: Bool {self._accessType != nil}
1189
1385
  /// Clears the value of `accessType`. Subsequent reads from it will return its default value.
1190
1386
  public mutating func clearAccessType() {self._accessType = nil}
1191
1387
 
1192
1388
  /// Additional access info if was granted, depends on device
1193
1389
  /// For locks for example this would contain the BlueLockState
1194
1390
  public var accessInfo: UInt32 {
1195
- get {return _accessInfo ?? 0}
1391
+ get {_accessInfo ?? 0}
1196
1392
  set {_accessInfo = newValue}
1197
1393
  }
1198
1394
  /// Returns true if `accessInfo` has been explicitly set.
1199
- public var hasAccessInfo: Bool {return self._accessInfo != nil}
1395
+ public var hasAccessInfo: Bool {self._accessInfo != nil}
1200
1396
  /// Clears the value of `accessInfo`. Subsequent reads from it will return its default value.
1201
1397
  public mutating func clearAccessInfo() {self._accessInfo = nil}
1202
1398
 
1203
1399
  /// Defines when the used schedule actually ends if any if access was granted
1204
1400
  public var scheduleEndTime: BlueLocalTimestamp {
1205
- get {return _scheduleEndTime ?? BlueLocalTimestamp()}
1401
+ get {_scheduleEndTime ?? BlueLocalTimestamp()}
1206
1402
  set {_scheduleEndTime = newValue}
1207
1403
  }
1208
1404
  /// Returns true if `scheduleEndTime` has been explicitly set.
1209
- public var hasScheduleEndTime: Bool {return self._scheduleEndTime != nil}
1405
+ public var hasScheduleEndTime: Bool {self._scheduleEndTime != nil}
1210
1406
  /// Clears the value of `scheduleEndTime`. Subsequent reads from it will return its default value.
1211
1407
  public mutating func clearScheduleEndTime() {self._scheduleEndTime = nil}
1212
1408
 
1213
1409
  /// If access denied this marks if it was denied due a schedule missmatch
1214
1410
  public var scheduleMissmatch: Bool {
1215
- get {return _scheduleMissmatch ?? false}
1411
+ get {_scheduleMissmatch ?? false}
1216
1412
  set {_scheduleMissmatch = newValue}
1217
1413
  }
1218
1414
  /// Returns true if `scheduleMissmatch` has been explicitly set.
1219
- public var hasScheduleMissmatch: Bool {return self._scheduleMissmatch != nil}
1415
+ public var hasScheduleMissmatch: Bool {self._scheduleMissmatch != nil}
1220
1416
  /// Clears the value of `scheduleMissmatch`. Subsequent reads from it will return its default value.
1221
1417
  public mutating func clearScheduleMissmatch() {self._scheduleMissmatch = nil}
1222
1418
 
1223
1419
  /// Additional info about how long the device will remain open (in seconds) if access was granted
1224
1420
  public var accessOpenTime: UInt32 {
1225
- get {return _accessOpenTime ?? 0}
1421
+ get {_accessOpenTime ?? 0}
1226
1422
  set {_accessOpenTime = newValue}
1227
1423
  }
1228
1424
  /// Returns true if `accessOpenTime` has been explicitly set.
1229
- public var hasAccessOpenTime: Bool {return self._accessOpenTime != nil}
1425
+ public var hasAccessOpenTime: Bool {self._accessOpenTime != nil}
1230
1426
  /// Clears the value of `accessOpenTime`. Subsequent reads from it will return its default value.
1231
1427
  public mutating func clearAccessOpenTime() {self._accessOpenTime = nil}
1232
1428
 
@@ -1248,11 +1444,11 @@ public struct BlueOssAccessEventsResult: Sendable {
1248
1444
  // methods supported on all messages.
1249
1445
 
1250
1446
  public var accessResult: BlueOssAccessResult {
1251
- get {return _accessResult ?? BlueOssAccessResult()}
1447
+ get {_accessResult ?? BlueOssAccessResult()}
1252
1448
  set {_accessResult = newValue}
1253
1449
  }
1254
1450
  /// Returns true if `accessResult` has been explicitly set.
1255
- public var hasAccessResult: Bool {return self._accessResult != nil}
1451
+ public var hasAccessResult: Bool {self._accessResult != nil}
1256
1452
  /// Clears the value of `accessResult`. Subsequent reads from it will return its default value.
1257
1453
  public mutating func clearAccessResult() {self._accessResult = nil}
1258
1454
 
@@ -1271,20 +1467,20 @@ public struct BlueOssSidVersion: Sendable {
1271
1467
  // methods supported on all messages.
1272
1468
 
1273
1469
  public var versionMajor: UInt32 {
1274
- get {return _versionMajor ?? 1}
1470
+ get {_versionMajor ?? 1}
1275
1471
  set {_versionMajor = newValue}
1276
1472
  }
1277
1473
  /// Returns true if `versionMajor` has been explicitly set.
1278
- public var hasVersionMajor: Bool {return self._versionMajor != nil}
1474
+ public var hasVersionMajor: Bool {self._versionMajor != nil}
1279
1475
  /// Clears the value of `versionMajor`. Subsequent reads from it will return its default value.
1280
1476
  public mutating func clearVersionMajor() {self._versionMajor = nil}
1281
1477
 
1282
1478
  public var versionMinor: UInt32 {
1283
- get {return _versionMinor ?? 0}
1479
+ get {_versionMinor ?? 0}
1284
1480
  set {_versionMinor = newValue}
1285
1481
  }
1286
1482
  /// Returns true if `versionMinor` has been explicitly set.
1287
- public var hasVersionMinor: Bool {return self._versionMinor != nil}
1483
+ public var hasVersionMinor: Bool {self._versionMinor != nil}
1288
1484
  /// Clears the value of `versionMinor`. Subsequent reads from it will return its default value.
1289
1485
  public mutating func clearVersionMinor() {self._versionMinor = nil}
1290
1486
 
@@ -1302,11 +1498,11 @@ public struct BlueOssSidCredentialTypeOss: Sendable {
1302
1498
  // methods supported on all messages.
1303
1499
 
1304
1500
  public var notUsed: Bool {
1305
- get {return _notUsed ?? false}
1501
+ get {_notUsed ?? false}
1306
1502
  set {_notUsed = newValue}
1307
1503
  }
1308
1504
  /// Returns true if `notUsed` has been explicitly set.
1309
- public var hasNotUsed: Bool {return self._notUsed != nil}
1505
+ public var hasNotUsed: Bool {self._notUsed != nil}
1310
1506
  /// Clears the value of `notUsed`. Subsequent reads from it will return its default value.
1311
1507
  public mutating func clearNotUsed() {self._notUsed = nil}
1312
1508
 
@@ -1323,11 +1519,11 @@ public struct BlueOssSidCredentialTypeProprietary: Sendable {
1323
1519
  // methods supported on all messages.
1324
1520
 
1325
1521
  public var mfgCode: Data {
1326
- get {return _mfgCode ?? Data()}
1522
+ get {_mfgCode ?? Data()}
1327
1523
  set {_mfgCode = newValue}
1328
1524
  }
1329
1525
  /// Returns true if `mfgCode` has been explicitly set.
1330
- public var hasMfgCode: Bool {return self._mfgCode != nil}
1526
+ public var hasMfgCode: Bool {self._mfgCode != nil}
1331
1527
  /// Clears the value of `mfgCode`. Subsequent reads from it will return its default value.
1332
1528
  public mutating func clearMfgCode() {self._mfgCode = nil}
1333
1529
 
@@ -1344,29 +1540,29 @@ public struct BlueOssSidCredentialType: Sendable {
1344
1540
  // methods supported on all messages.
1345
1541
 
1346
1542
  public var typeSource: BlueOssCredentialTypeSource {
1347
- get {return _typeSource ?? .oss}
1543
+ get {_typeSource ?? .oss}
1348
1544
  set {_typeSource = newValue}
1349
1545
  }
1350
1546
  /// Returns true if `typeSource` has been explicitly set.
1351
- public var hasTypeSource: Bool {return self._typeSource != nil}
1547
+ public var hasTypeSource: Bool {self._typeSource != nil}
1352
1548
  /// Clears the value of `typeSource`. Subsequent reads from it will return its default value.
1353
1549
  public mutating func clearTypeSource() {self._typeSource = nil}
1354
1550
 
1355
1551
  public var oss: BlueOssSidCredentialTypeOss {
1356
- get {return _oss ?? BlueOssSidCredentialTypeOss()}
1552
+ get {_oss ?? BlueOssSidCredentialTypeOss()}
1357
1553
  set {_oss = newValue}
1358
1554
  }
1359
1555
  /// Returns true if `oss` has been explicitly set.
1360
- public var hasOss: Bool {return self._oss != nil}
1556
+ public var hasOss: Bool {self._oss != nil}
1361
1557
  /// Clears the value of `oss`. Subsequent reads from it will return its default value.
1362
1558
  public mutating func clearOss() {self._oss = nil}
1363
1559
 
1364
1560
  public var proprietary: BlueOssSidCredentialTypeProprietary {
1365
- get {return _proprietary ?? BlueOssSidCredentialTypeProprietary()}
1561
+ get {_proprietary ?? BlueOssSidCredentialTypeProprietary()}
1366
1562
  set {_proprietary = newValue}
1367
1563
  }
1368
1564
  /// Returns true if `proprietary` has been explicitly set.
1369
- public var hasProprietary: Bool {return self._proprietary != nil}
1565
+ public var hasProprietary: Bool {self._proprietary != nil}
1370
1566
  /// Clears the value of `proprietary`. Subsequent reads from it will return its default value.
1371
1567
  public mutating func clearProprietary() {self._proprietary = nil}
1372
1568
 
@@ -1385,38 +1581,38 @@ public struct BlueOssSidFileInfo: Sendable {
1385
1581
  // methods supported on all messages.
1386
1582
 
1387
1583
  public var versionMajor: UInt32 {
1388
- get {return _versionMajor ?? 0}
1584
+ get {_versionMajor ?? 0}
1389
1585
  set {_versionMajor = newValue}
1390
1586
  }
1391
1587
  /// Returns true if `versionMajor` has been explicitly set.
1392
- public var hasVersionMajor: Bool {return self._versionMajor != nil}
1588
+ public var hasVersionMajor: Bool {self._versionMajor != nil}
1393
1589
  /// Clears the value of `versionMajor`. Subsequent reads from it will return its default value.
1394
1590
  public mutating func clearVersionMajor() {self._versionMajor = nil}
1395
1591
 
1396
1592
  public var versionMinor: UInt32 {
1397
- get {return _versionMinor ?? 0}
1593
+ get {_versionMinor ?? 0}
1398
1594
  set {_versionMinor = newValue}
1399
1595
  }
1400
1596
  /// Returns true if `versionMinor` has been explicitly set.
1401
- public var hasVersionMinor: Bool {return self._versionMinor != nil}
1597
+ public var hasVersionMinor: Bool {self._versionMinor != nil}
1402
1598
  /// Clears the value of `versionMinor`. Subsequent reads from it will return its default value.
1403
1599
  public mutating func clearVersionMinor() {self._versionMinor = nil}
1404
1600
 
1405
1601
  public var credentialType: BlueOssSidCredentialType {
1406
- get {return _credentialType ?? BlueOssSidCredentialType()}
1602
+ get {_credentialType ?? BlueOssSidCredentialType()}
1407
1603
  set {_credentialType = newValue}
1408
1604
  }
1409
1605
  /// Returns true if `credentialType` has been explicitly set.
1410
- public var hasCredentialType: Bool {return self._credentialType != nil}
1606
+ public var hasCredentialType: Bool {self._credentialType != nil}
1411
1607
  /// Clears the value of `credentialType`. Subsequent reads from it will return its default value.
1412
1608
  public mutating func clearCredentialType() {self._credentialType = nil}
1413
1609
 
1414
1610
  public var credentialID: BlueCredentialId {
1415
- get {return _credentialID ?? BlueCredentialId()}
1611
+ get {_credentialID ?? BlueCredentialId()}
1416
1612
  set {_credentialID = newValue}
1417
1613
  }
1418
1614
  /// Returns true if `credentialID` has been explicitly set.
1419
- public var hasCredentialID: Bool {return self._credentialID != nil}
1615
+ public var hasCredentialID: Bool {self._credentialID != nil}
1420
1616
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
1421
1617
  public mutating func clearCredentialID() {self._credentialID = nil}
1422
1618
 
@@ -1436,11 +1632,11 @@ public struct BlueOssSidConfiguration: Sendable {
1436
1632
  // methods supported on all messages.
1437
1633
 
1438
1634
  public var info: BlueOssSidFileInfo {
1439
- get {return _info ?? BlueOssSidFileInfo()}
1635
+ get {_info ?? BlueOssSidFileInfo()}
1440
1636
  set {_info = newValue}
1441
1637
  }
1442
1638
  /// Returns true if `info` has been explicitly set.
1443
- public var hasInfo: Bool {return self._info != nil}
1639
+ public var hasInfo: Bool {self._info != nil}
1444
1640
  /// Clears the value of `info`. Subsequent reads from it will return its default value.
1445
1641
  public mutating func clearInfo() {self._info = nil}
1446
1642
 
@@ -1457,38 +1653,38 @@ public struct BlueOssSidStorageProfile: Sendable {
1457
1653
  // methods supported on all messages.
1458
1654
 
1459
1655
  public var dataLength: UInt32 {
1460
- get {return _dataLength ?? 0}
1656
+ get {_dataLength ?? 0}
1461
1657
  set {_dataLength = newValue}
1462
1658
  }
1463
1659
  /// Returns true if `dataLength` has been explicitly set.
1464
- public var hasDataLength: Bool {return self._dataLength != nil}
1660
+ public var hasDataLength: Bool {self._dataLength != nil}
1465
1661
  /// Clears the value of `dataLength`. Subsequent reads from it will return its default value.
1466
1662
  public mutating func clearDataLength() {self._dataLength = nil}
1467
1663
 
1468
1664
  public var fileSize: UInt32 {
1469
- get {return _fileSize ?? 0}
1665
+ get {_fileSize ?? 0}
1470
1666
  set {_fileSize = newValue}
1471
1667
  }
1472
1668
  /// Returns true if `fileSize` has been explicitly set.
1473
- public var hasFileSize: Bool {return self._fileSize != nil}
1669
+ public var hasFileSize: Bool {self._fileSize != nil}
1474
1670
  /// Clears the value of `fileSize`. Subsequent reads from it will return its default value.
1475
1671
  public mutating func clearFileSize() {self._fileSize = nil}
1476
1672
 
1477
1673
  public var infoDataLength: UInt32 {
1478
- get {return _infoDataLength ?? 0}
1674
+ get {_infoDataLength ?? 0}
1479
1675
  set {_infoDataLength = newValue}
1480
1676
  }
1481
1677
  /// Returns true if `infoDataLength` has been explicitly set.
1482
- public var hasInfoDataLength: Bool {return self._infoDataLength != nil}
1678
+ public var hasInfoDataLength: Bool {self._infoDataLength != nil}
1483
1679
  /// Clears the value of `infoDataLength`. Subsequent reads from it will return its default value.
1484
1680
  public mutating func clearInfoDataLength() {self._infoDataLength = nil}
1485
1681
 
1486
1682
  public var infoFileSize: UInt32 {
1487
- get {return _infoFileSize ?? 0}
1683
+ get {_infoFileSize ?? 0}
1488
1684
  set {_infoFileSize = newValue}
1489
1685
  }
1490
1686
  /// Returns true if `infoFileSize` has been explicitly set.
1491
- public var hasInfoFileSize: Bool {return self._infoFileSize != nil}
1687
+ public var hasInfoFileSize: Bool {self._infoFileSize != nil}
1492
1688
  /// Clears the value of `infoFileSize`. Subsequent reads from it will return its default value.
1493
1689
  public mutating func clearInfoFileSize() {self._infoFileSize = nil}
1494
1690
 
@@ -1508,11 +1704,11 @@ public struct BlueOssSidProvisioningConfiguration: Sendable {
1508
1704
  // methods supported on all messages.
1509
1705
 
1510
1706
  public var notUsed: Bool {
1511
- get {return _notUsed ?? false}
1707
+ get {_notUsed ?? false}
1512
1708
  set {_notUsed = newValue}
1513
1709
  }
1514
1710
  /// Returns true if `notUsed` has been explicitly set.
1515
- public var hasNotUsed: Bool {return self._notUsed != nil}
1711
+ public var hasNotUsed: Bool {self._notUsed != nil}
1516
1712
  /// Clears the value of `notUsed`. Subsequent reads from it will return its default value.
1517
1713
  public mutating func clearNotUsed() {self._notUsed = nil}
1518
1714
 
@@ -1530,29 +1726,29 @@ public struct BlueOssSidProvisioningData: Sendable {
1530
1726
 
1531
1727
  /// If not set, uses default from storage
1532
1728
  public var configuration: BlueOssSidProvisioningConfiguration {
1533
- get {return _configuration ?? BlueOssSidProvisioningConfiguration()}
1729
+ get {_configuration ?? BlueOssSidProvisioningConfiguration()}
1534
1730
  set {_configuration = newValue}
1535
1731
  }
1536
1732
  /// Returns true if `configuration` has been explicitly set.
1537
- public var hasConfiguration: Bool {return self._configuration != nil}
1733
+ public var hasConfiguration: Bool {self._configuration != nil}
1538
1734
  /// Clears the value of `configuration`. Subsequent reads from it will return its default value.
1539
1735
  public mutating func clearConfiguration() {self._configuration = nil}
1540
1736
 
1541
1737
  public var credentialType: BlueOssSidCredentialType {
1542
- get {return _credentialType ?? BlueOssSidCredentialType()}
1738
+ get {_credentialType ?? BlueOssSidCredentialType()}
1543
1739
  set {_credentialType = newValue}
1544
1740
  }
1545
1741
  /// Returns true if `credentialType` has been explicitly set.
1546
- public var hasCredentialType: Bool {return self._credentialType != nil}
1742
+ public var hasCredentialType: Bool {self._credentialType != nil}
1547
1743
  /// Clears the value of `credentialType`. Subsequent reads from it will return its default value.
1548
1744
  public mutating func clearCredentialType() {self._credentialType = nil}
1549
1745
 
1550
1746
  public var credentialID: BlueCredentialId {
1551
- get {return _credentialID ?? BlueCredentialId()}
1747
+ get {_credentialID ?? BlueCredentialId()}
1552
1748
  set {_credentialID = newValue}
1553
1749
  }
1554
1750
  /// Returns true if `credentialID` has been explicitly set.
1555
- public var hasCredentialID: Bool {return self._credentialID != nil}
1751
+ public var hasCredentialID: Bool {self._credentialID != nil}
1556
1752
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
1557
1753
  public mutating func clearCredentialID() {self._credentialID = nil}
1558
1754
 
@@ -1571,11 +1767,11 @@ public struct BlueOssSidMobile: Sendable {
1571
1767
  // methods supported on all messages.
1572
1768
 
1573
1769
  public var infoFile: Data {
1574
- get {return _infoFile ?? Data()}
1770
+ get {_infoFile ?? Data()}
1575
1771
  set {_infoFile = newValue}
1576
1772
  }
1577
1773
  /// Returns true if `infoFile` has been explicitly set.
1578
- public var hasInfoFile: Bool {return self._infoFile != nil}
1774
+ public var hasInfoFile: Bool {self._infoFile != nil}
1579
1775
  /// Clears the value of `infoFile`. Subsequent reads from it will return its default value.
1580
1776
  public mutating func clearInfoFile() {self._infoFile = nil}
1581
1777
 
@@ -1592,11 +1788,11 @@ public struct BlueOssSidMobileProvisioningConfiguration: Sendable {
1592
1788
  // methods supported on all messages.
1593
1789
 
1594
1790
  public var notUsed: Bool {
1595
- get {return _notUsed ?? false}
1791
+ get {_notUsed ?? false}
1596
1792
  set {_notUsed = newValue}
1597
1793
  }
1598
1794
  /// Returns true if `notUsed` has been explicitly set.
1599
- public var hasNotUsed: Bool {return self._notUsed != nil}
1795
+ public var hasNotUsed: Bool {self._notUsed != nil}
1600
1796
  /// Clears the value of `notUsed`. Subsequent reads from it will return its default value.
1601
1797
  public mutating func clearNotUsed() {self._notUsed = nil}
1602
1798
 
@@ -1614,11 +1810,11 @@ public struct BlueOssSidMifareDesfireProvisioningConfiguration: Sendable {
1614
1810
  // methods supported on all messages.
1615
1811
 
1616
1812
  public var notUsed: Bool {
1617
- get {return _notUsed ?? false}
1813
+ get {_notUsed ?? false}
1618
1814
  set {_notUsed = newValue}
1619
1815
  }
1620
1816
  /// Returns true if `notUsed` has been explicitly set.
1621
- public var hasNotUsed: Bool {return self._notUsed != nil}
1817
+ public var hasNotUsed: Bool {self._notUsed != nil}
1622
1818
  /// Clears the value of `notUsed`. Subsequent reads from it will return its default value.
1623
1819
  public mutating func clearNotUsed() {self._notUsed = nil}
1624
1820
 
@@ -1637,41 +1833,41 @@ public struct BlueOssSidMifareDesfireConfiguration: Sendable {
1637
1833
 
1638
1834
  /// The PICC master key, default is oss sid demo key
1639
1835
  public var piccMasterKey: Data {
1640
- get {return _piccMasterKey ?? Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 170])}
1836
+ get {_piccMasterKey ?? Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 170])}
1641
1837
  set {_piccMasterKey = newValue}
1642
1838
  }
1643
1839
  /// Returns true if `piccMasterKey` has been explicitly set.
1644
- public var hasPiccMasterKey: Bool {return self._piccMasterKey != nil}
1840
+ public var hasPiccMasterKey: Bool {self._piccMasterKey != nil}
1645
1841
  /// Clears the value of `piccMasterKey`. Subsequent reads from it will return its default value.
1646
1842
  public mutating func clearPiccMasterKey() {self._piccMasterKey = nil}
1647
1843
 
1648
1844
  /// The oss application master key, default is oss sid demo key
1649
1845
  public var appMasterKey: Data {
1650
- get {return _appMasterKey ?? Data([0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255])}
1846
+ get {_appMasterKey ?? Data([0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255])}
1651
1847
  set {_appMasterKey = newValue}
1652
1848
  }
1653
1849
  /// Returns true if `appMasterKey` has been explicitly set.
1654
- public var hasAppMasterKey: Bool {return self._appMasterKey != nil}
1850
+ public var hasAppMasterKey: Bool {self._appMasterKey != nil}
1655
1851
  /// Clears the value of `appMasterKey`. Subsequent reads from it will return its default value.
1656
1852
  public mutating func clearAppMasterKey() {self._appMasterKey = nil}
1657
1853
 
1658
1854
  /// The oss project read key, default is oss sid demo key
1659
1855
  public var projectKey: Data {
1660
- get {return _projectKey ?? Data([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0])}
1856
+ get {_projectKey ?? Data([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0])}
1661
1857
  set {_projectKey = newValue}
1662
1858
  }
1663
1859
  /// Returns true if `projectKey` has been explicitly set.
1664
- public var hasProjectKey: Bool {return self._projectKey != nil}
1860
+ public var hasProjectKey: Bool {self._projectKey != nil}
1665
1861
  /// Clears the value of `projectKey`. Subsequent reads from it will return its default value.
1666
1862
  public mutating func clearProjectKey() {self._projectKey = nil}
1667
1863
 
1668
1864
  /// The oss application id, default is the oss sid default aid
1669
1865
  public var aid: UInt32 {
1670
- get {return _aid ?? 16076801}
1866
+ get {_aid ?? 16076801}
1671
1867
  set {_aid = newValue}
1672
1868
  }
1673
1869
  /// Returns true if `aid` has been explicitly set.
1674
- public var hasAid: Bool {return self._aid != nil}
1870
+ public var hasAid: Bool {self._aid != nil}
1675
1871
  /// Clears the value of `aid`. Subsequent reads from it will return its default value.
1676
1872
  public mutating func clearAid() {self._aid = nil}
1677
1873
 
@@ -1691,11 +1887,11 @@ public struct BlueOssSidSettings: Sendable {
1691
1887
  // methods supported on all messages.
1692
1888
 
1693
1889
  public var mifareDesfireConfig: BlueOssSidMifareDesfireConfiguration {
1694
- get {return _mifareDesfireConfig ?? BlueOssSidMifareDesfireConfiguration()}
1890
+ get {_mifareDesfireConfig ?? BlueOssSidMifareDesfireConfiguration()}
1695
1891
  set {_mifareDesfireConfig = newValue}
1696
1892
  }
1697
1893
  /// Returns true if `mifareDesfireConfig` has been explicitly set.
1698
- public var hasMifareDesfireConfig: Bool {return self._mifareDesfireConfig != nil}
1894
+ public var hasMifareDesfireConfig: Bool {self._mifareDesfireConfig != nil}
1699
1895
  /// Clears the value of `mifareDesfireConfig`. Subsequent reads from it will return its default value.
1700
1896
  public mutating func clearMifareDesfireConfig() {self._mifareDesfireConfig = nil}
1701
1897
 
@@ -1712,20 +1908,20 @@ public struct BlueOssSoVersion: Sendable {
1712
1908
  // methods supported on all messages.
1713
1909
 
1714
1910
  public var versionMajor: UInt32 {
1715
- get {return _versionMajor ?? 1}
1911
+ get {_versionMajor ?? 1}
1716
1912
  set {_versionMajor = newValue}
1717
1913
  }
1718
1914
  /// Returns true if `versionMajor` has been explicitly set.
1719
- public var hasVersionMajor: Bool {return self._versionMajor != nil}
1915
+ public var hasVersionMajor: Bool {self._versionMajor != nil}
1720
1916
  /// Clears the value of `versionMajor`. Subsequent reads from it will return its default value.
1721
1917
  public mutating func clearVersionMajor() {self._versionMajor = nil}
1722
1918
 
1723
1919
  public var versionMinor: UInt32 {
1724
- get {return _versionMinor ?? 1}
1920
+ get {_versionMinor ?? 1}
1725
1921
  set {_versionMinor = newValue}
1726
1922
  }
1727
1923
  /// Returns true if `versionMinor` has been explicitly set.
1728
- public var hasVersionMinor: Bool {return self._versionMinor != nil}
1924
+ public var hasVersionMinor: Bool {self._versionMinor != nil}
1729
1925
  /// Clears the value of `versionMinor`. Subsequent reads from it will return its default value.
1730
1926
  public mutating func clearVersionMinor() {self._versionMinor = nil}
1731
1927
 
@@ -1743,11 +1939,11 @@ public struct BlueOssSoCredentialTypeOss: Sendable {
1743
1939
  // methods supported on all messages.
1744
1940
 
1745
1941
  public var credential: BlueOssSoCredentialTypeOssCredential {
1746
- get {return _credential ?? .standard}
1942
+ get {_credential ?? .standard}
1747
1943
  set {_credential = newValue}
1748
1944
  }
1749
1945
  /// Returns true if `credential` has been explicitly set.
1750
- public var hasCredential: Bool {return self._credential != nil}
1946
+ public var hasCredential: Bool {self._credential != nil}
1751
1947
  /// Clears the value of `credential`. Subsequent reads from it will return its default value.
1752
1948
  public mutating func clearCredential() {self._credential = nil}
1753
1949
 
@@ -1764,11 +1960,11 @@ public struct BlueOssSoCredentialTypeProprietary: Sendable {
1764
1960
  // methods supported on all messages.
1765
1961
 
1766
1962
  public var mfgCode: Data {
1767
- get {return _mfgCode ?? Data()}
1963
+ get {_mfgCode ?? Data()}
1768
1964
  set {_mfgCode = newValue}
1769
1965
  }
1770
1966
  /// Returns true if `mfgCode` has been explicitly set.
1771
- public var hasMfgCode: Bool {return self._mfgCode != nil}
1967
+ public var hasMfgCode: Bool {self._mfgCode != nil}
1772
1968
  /// Clears the value of `mfgCode`. Subsequent reads from it will return its default value.
1773
1969
  public mutating func clearMfgCode() {self._mfgCode = nil}
1774
1970
 
@@ -1785,29 +1981,29 @@ public struct BlueOssSoCredentialType: Sendable {
1785
1981
  // methods supported on all messages.
1786
1982
 
1787
1983
  public var typeSource: BlueOssCredentialTypeSource {
1788
- get {return _typeSource ?? .oss}
1984
+ get {_typeSource ?? .oss}
1789
1985
  set {_typeSource = newValue}
1790
1986
  }
1791
1987
  /// Returns true if `typeSource` has been explicitly set.
1792
- public var hasTypeSource: Bool {return self._typeSource != nil}
1988
+ public var hasTypeSource: Bool {self._typeSource != nil}
1793
1989
  /// Clears the value of `typeSource`. Subsequent reads from it will return its default value.
1794
1990
  public mutating func clearTypeSource() {self._typeSource = nil}
1795
1991
 
1796
1992
  public var oss: BlueOssSoCredentialTypeOss {
1797
- get {return _oss ?? BlueOssSoCredentialTypeOss()}
1993
+ get {_oss ?? BlueOssSoCredentialTypeOss()}
1798
1994
  set {_oss = newValue}
1799
1995
  }
1800
1996
  /// Returns true if `oss` has been explicitly set.
1801
- public var hasOss: Bool {return self._oss != nil}
1997
+ public var hasOss: Bool {self._oss != nil}
1802
1998
  /// Clears the value of `oss`. Subsequent reads from it will return its default value.
1803
1999
  public mutating func clearOss() {self._oss = nil}
1804
2000
 
1805
2001
  public var proprietary: BlueOssSoCredentialTypeProprietary {
1806
- get {return _proprietary ?? BlueOssSoCredentialTypeProprietary()}
2002
+ get {_proprietary ?? BlueOssSoCredentialTypeProprietary()}
1807
2003
  set {_proprietary = newValue}
1808
2004
  }
1809
2005
  /// Returns true if `proprietary` has been explicitly set.
1810
- public var hasProprietary: Bool {return self._proprietary != nil}
2006
+ public var hasProprietary: Bool {self._proprietary != nil}
1811
2007
  /// Clears the value of `proprietary`. Subsequent reads from it will return its default value.
1812
2008
  public mutating func clearProprietary() {self._proprietary = nil}
1813
2009
 
@@ -1853,38 +2049,38 @@ public struct BlueOssSoDoorInfo: Sendable {
1853
2049
  // methods supported on all messages.
1854
2050
 
1855
2051
  public var id: UInt32 {
1856
- get {return _id ?? 0}
2052
+ get {_id ?? 0}
1857
2053
  set {_id = newValue}
1858
2054
  }
1859
2055
  /// Returns true if `id` has been explicitly set.
1860
- public var hasID: Bool {return self._id != nil}
2056
+ public var hasID: Bool {self._id != nil}
1861
2057
  /// Clears the value of `id`. Subsequent reads from it will return its default value.
1862
2058
  public mutating func clearID() {self._id = nil}
1863
2059
 
1864
2060
  public var accessBy: BlueOssSoDoorInfoAccessBy {
1865
- get {return _accessBy ?? .doorGroupID}
2061
+ get {_accessBy ?? .doorGroupID}
1866
2062
  set {_accessBy = newValue}
1867
2063
  }
1868
2064
  /// Returns true if `accessBy` has been explicitly set.
1869
- public var hasAccessBy: Bool {return self._accessBy != nil}
2065
+ public var hasAccessBy: Bool {self._accessBy != nil}
1870
2066
  /// Clears the value of `accessBy`. Subsequent reads from it will return its default value.
1871
2067
  public mutating func clearAccessBy() {self._accessBy = nil}
1872
2068
 
1873
2069
  public var dtScheduleNumber: UInt32 {
1874
- get {return _dtScheduleNumber ?? 0}
2070
+ get {_dtScheduleNumber ?? 0}
1875
2071
  set {_dtScheduleNumber = newValue}
1876
2072
  }
1877
2073
  /// Returns true if `dtScheduleNumber` has been explicitly set.
1878
- public var hasDtScheduleNumber: Bool {return self._dtScheduleNumber != nil}
2074
+ public var hasDtScheduleNumber: Bool {self._dtScheduleNumber != nil}
1879
2075
  /// Clears the value of `dtScheduleNumber`. Subsequent reads from it will return its default value.
1880
2076
  public mutating func clearDtScheduleNumber() {self._dtScheduleNumber = nil}
1881
2077
 
1882
2078
  public var accessType: BlueAccessType {
1883
- get {return _accessType ?? .defaultTime}
2079
+ get {_accessType ?? .defaultTime}
1884
2080
  set {_accessType = newValue}
1885
2081
  }
1886
2082
  /// Returns true if `accessType` has been explicitly set.
1887
- public var hasAccessType: Bool {return self._accessType != nil}
2083
+ public var hasAccessType: Bool {self._accessType != nil}
1888
2084
  /// Clears the value of `accessType`. Subsequent reads from it will return its default value.
1889
2085
  public mutating func clearAccessType() {self._accessType = nil}
1890
2086
 
@@ -1904,29 +2100,29 @@ public struct BlueOssSoEvent: Sendable {
1904
2100
  // methods supported on all messages.
1905
2101
 
1906
2102
  public var eventTime: BlueLocalTimestamp {
1907
- get {return _eventTime ?? BlueLocalTimestamp()}
2103
+ get {_eventTime ?? BlueLocalTimestamp()}
1908
2104
  set {_eventTime = newValue}
1909
2105
  }
1910
2106
  /// Returns true if `eventTime` has been explicitly set.
1911
- public var hasEventTime: Bool {return self._eventTime != nil}
2107
+ public var hasEventTime: Bool {self._eventTime != nil}
1912
2108
  /// Clears the value of `eventTime`. Subsequent reads from it will return its default value.
1913
2109
  public mutating func clearEventTime() {self._eventTime = nil}
1914
2110
 
1915
2111
  public var doorID: UInt32 {
1916
- get {return _doorID ?? 0}
2112
+ get {_doorID ?? 0}
1917
2113
  set {_doorID = newValue}
1918
2114
  }
1919
2115
  /// Returns true if `doorID` has been explicitly set.
1920
- public var hasDoorID: Bool {return self._doorID != nil}
2116
+ public var hasDoorID: Bool {self._doorID != nil}
1921
2117
  /// Clears the value of `doorID`. Subsequent reads from it will return its default value.
1922
2118
  public mutating func clearDoorID() {self._doorID = nil}
1923
2119
 
1924
2120
  public var eventID: BlueEventId {
1925
- get {return _eventID ?? .batteryLow}
2121
+ get {_eventID ?? .batteryLow}
1926
2122
  set {_eventID = newValue}
1927
2123
  }
1928
2124
  /// Returns true if `eventID` has been explicitly set.
1929
- public var hasEventID: Bool {return self._eventID != nil}
2125
+ public var hasEventID: Bool {self._eventID != nil}
1930
2126
  /// Clears the value of `eventID`. Subsequent reads from it will return its default value.
1931
2127
  public mutating func clearEventID() {self._eventID = nil}
1932
2128
 
@@ -1934,11 +2130,11 @@ public struct BlueOssSoEvent: Sendable {
1934
2130
  /// If eventId = SystemEvent -> BlueEventInfoSystem
1935
2131
  /// Otherwise unused
1936
2132
  public var eventInfo: UInt32 {
1937
- get {return _eventInfo ?? 0}
2133
+ get {_eventInfo ?? 0}
1938
2134
  set {_eventInfo = newValue}
1939
2135
  }
1940
2136
  /// Returns true if `eventInfo` has been explicitly set.
1941
- public var hasEventInfo: Bool {return self._eventInfo != nil}
2137
+ public var hasEventInfo: Bool {self._eventInfo != nil}
1942
2138
  /// Clears the value of `eventInfo`. Subsequent reads from it will return its default value.
1943
2139
  public mutating func clearEventInfo() {self._eventInfo = nil}
1944
2140
 
@@ -1958,20 +2154,20 @@ public struct BlueOssSoExtFeature: Sendable {
1958
2154
  // methods supported on all messages.
1959
2155
 
1960
2156
  public var tag: UInt32 {
1961
- get {return _tag ?? 0}
2157
+ get {_tag ?? 0}
1962
2158
  set {_tag = newValue}
1963
2159
  }
1964
2160
  /// Returns true if `tag` has been explicitly set.
1965
- public var hasTag: Bool {return self._tag != nil}
2161
+ public var hasTag: Bool {self._tag != nil}
1966
2162
  /// Clears the value of `tag`. Subsequent reads from it will return its default value.
1967
2163
  public mutating func clearTag() {self._tag = nil}
1968
2164
 
1969
2165
  public var value: Data {
1970
- get {return _value ?? Data()}
2166
+ get {_value ?? Data()}
1971
2167
  set {_value = newValue}
1972
2168
  }
1973
2169
  /// Returns true if `value` has been explicitly set.
1974
- public var hasValue: Bool {return self._value != nil}
2170
+ public var hasValue: Bool {self._value != nil}
1975
2171
  /// Clears the value of `value`. Subsequent reads from it will return its default value.
1976
2172
  public mutating func clearValue() {self._value = nil}
1977
2173
 
@@ -1989,20 +2185,20 @@ public struct BlueOssSoExtFeature_ValidityStart: Sendable {
1989
2185
  // methods supported on all messages.
1990
2186
 
1991
2187
  public var isValid: Bool {
1992
- get {return _isValid ?? false}
2188
+ get {_isValid ?? false}
1993
2189
  set {_isValid = newValue}
1994
2190
  }
1995
2191
  /// Returns true if `isValid` has been explicitly set.
1996
- public var hasIsValid: Bool {return self._isValid != nil}
2192
+ public var hasIsValid: Bool {self._isValid != nil}
1997
2193
  /// Clears the value of `isValid`. Subsequent reads from it will return its default value.
1998
2194
  public mutating func clearIsValid() {self._isValid = nil}
1999
2195
 
2000
2196
  public var validityStartTime: BlueLocalTimestamp {
2001
- get {return _validityStartTime ?? BlueLocalTimestamp()}
2197
+ get {_validityStartTime ?? BlueLocalTimestamp()}
2002
2198
  set {_validityStartTime = newValue}
2003
2199
  }
2004
2200
  /// Returns true if `validityStartTime` has been explicitly set.
2005
- public var hasValidityStartTime: Bool {return self._validityStartTime != nil}
2201
+ public var hasValidityStartTime: Bool {self._validityStartTime != nil}
2006
2202
  /// Clears the value of `validityStartTime`. Subsequent reads from it will return its default value.
2007
2203
  public mutating func clearValidityStartTime() {self._validityStartTime = nil}
2008
2204
 
@@ -2020,56 +2216,56 @@ public struct BlueOssSoFileInfo: Sendable {
2020
2216
  // methods supported on all messages.
2021
2217
 
2022
2218
  public var versionMajor: UInt32 {
2023
- get {return _versionMajor ?? 0}
2219
+ get {_versionMajor ?? 0}
2024
2220
  set {_versionMajor = newValue}
2025
2221
  }
2026
2222
  /// Returns true if `versionMajor` has been explicitly set.
2027
- public var hasVersionMajor: Bool {return self._versionMajor != nil}
2223
+ public var hasVersionMajor: Bool {self._versionMajor != nil}
2028
2224
  /// Clears the value of `versionMajor`. Subsequent reads from it will return its default value.
2029
2225
  public mutating func clearVersionMajor() {self._versionMajor = nil}
2030
2226
 
2031
2227
  public var versionMinor: UInt32 {
2032
- get {return _versionMinor ?? 0}
2228
+ get {_versionMinor ?? 0}
2033
2229
  set {_versionMinor = newValue}
2034
2230
  }
2035
2231
  /// Returns true if `versionMinor` has been explicitly set.
2036
- public var hasVersionMinor: Bool {return self._versionMinor != nil}
2232
+ public var hasVersionMinor: Bool {self._versionMinor != nil}
2037
2233
  /// Clears the value of `versionMinor`. Subsequent reads from it will return its default value.
2038
2234
  public mutating func clearVersionMinor() {self._versionMinor = nil}
2039
2235
 
2040
2236
  public var credentialType: BlueOssSoCredentialType {
2041
- get {return _credentialType ?? BlueOssSoCredentialType()}
2237
+ get {_credentialType ?? BlueOssSoCredentialType()}
2042
2238
  set {_credentialType = newValue}
2043
2239
  }
2044
2240
  /// Returns true if `credentialType` has been explicitly set.
2045
- public var hasCredentialType: Bool {return self._credentialType != nil}
2241
+ public var hasCredentialType: Bool {self._credentialType != nil}
2046
2242
  /// Clears the value of `credentialType`. Subsequent reads from it will return its default value.
2047
2243
  public mutating func clearCredentialType() {self._credentialType = nil}
2048
2244
 
2049
2245
  public var credentialID: BlueCredentialId {
2050
- get {return _credentialID ?? BlueCredentialId()}
2246
+ get {_credentialID ?? BlueCredentialId()}
2051
2247
  set {_credentialID = newValue}
2052
2248
  }
2053
2249
  /// Returns true if `credentialID` has been explicitly set.
2054
- public var hasCredentialID: Bool {return self._credentialID != nil}
2250
+ public var hasCredentialID: Bool {self._credentialID != nil}
2055
2251
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
2056
2252
  public mutating func clearCredentialID() {self._credentialID = nil}
2057
2253
 
2058
2254
  public var maxEventEntries: UInt32 {
2059
- get {return _maxEventEntries ?? 0}
2255
+ get {_maxEventEntries ?? 0}
2060
2256
  set {_maxEventEntries = newValue}
2061
2257
  }
2062
2258
  /// Returns true if `maxEventEntries` has been explicitly set.
2063
- public var hasMaxEventEntries: Bool {return self._maxEventEntries != nil}
2259
+ public var hasMaxEventEntries: Bool {self._maxEventEntries != nil}
2064
2260
  /// Clears the value of `maxEventEntries`. Subsequent reads from it will return its default value.
2065
2261
  public mutating func clearMaxEventEntries() {self._maxEventEntries = nil}
2066
2262
 
2067
2263
  public var maxBlacklistEntries: UInt32 {
2068
- get {return _maxBlacklistEntries ?? 0}
2264
+ get {_maxBlacklistEntries ?? 0}
2069
2265
  set {_maxBlacklistEntries = newValue}
2070
2266
  }
2071
2267
  /// Returns true if `maxBlacklistEntries` has been explicitly set.
2072
- public var hasMaxBlacklistEntries: Bool {return self._maxBlacklistEntries != nil}
2268
+ public var hasMaxBlacklistEntries: Bool {self._maxBlacklistEntries != nil}
2073
2269
  /// Clears the value of `maxBlacklistEntries`. Subsequent reads from it will return its default value.
2074
2270
  public mutating func clearMaxBlacklistEntries() {self._maxBlacklistEntries = nil}
2075
2271
 
@@ -2091,47 +2287,47 @@ public struct BlueOssSoFileData: Sendable {
2091
2287
  // methods supported on all messages.
2092
2288
 
2093
2289
  public var validity: BlueLocalTimestamp {
2094
- get {return _validity ?? BlueLocalTimestamp()}
2290
+ get {_validity ?? BlueLocalTimestamp()}
2095
2291
  set {_validity = newValue}
2096
2292
  }
2097
2293
  /// Returns true if `validity` has been explicitly set.
2098
- public var hasValidity: Bool {return self._validity != nil}
2294
+ public var hasValidity: Bool {self._validity != nil}
2099
2295
  /// Clears the value of `validity`. Subsequent reads from it will return its default value.
2100
2296
  public mutating func clearValidity() {self._validity = nil}
2101
2297
 
2102
2298
  public var siteID: UInt32 {
2103
- get {return _siteID ?? 0}
2299
+ get {_siteID ?? 0}
2104
2300
  set {_siteID = newValue}
2105
2301
  }
2106
2302
  /// Returns true if `siteID` has been explicitly set.
2107
- public var hasSiteID: Bool {return self._siteID != nil}
2303
+ public var hasSiteID: Bool {self._siteID != nil}
2108
2304
  /// Clears the value of `siteID`. Subsequent reads from it will return its default value.
2109
2305
  public mutating func clearSiteID() {self._siteID = nil}
2110
2306
 
2111
2307
  public var numberOfDayIdsPerDtschedule: UInt32 {
2112
- get {return _numberOfDayIdsPerDtschedule ?? 0}
2308
+ get {_numberOfDayIdsPerDtschedule ?? 0}
2113
2309
  set {_numberOfDayIdsPerDtschedule = newValue}
2114
2310
  }
2115
2311
  /// Returns true if `numberOfDayIdsPerDtschedule` has been explicitly set.
2116
- public var hasNumberOfDayIdsPerDtschedule: Bool {return self._numberOfDayIdsPerDtschedule != nil}
2312
+ public var hasNumberOfDayIdsPerDtschedule: Bool {self._numberOfDayIdsPerDtschedule != nil}
2117
2313
  /// Clears the value of `numberOfDayIdsPerDtschedule`. Subsequent reads from it will return its default value.
2118
2314
  public mutating func clearNumberOfDayIdsPerDtschedule() {self._numberOfDayIdsPerDtschedule = nil}
2119
2315
 
2120
2316
  public var numberOfTimePeriodsPerDayID: UInt32 {
2121
- get {return _numberOfTimePeriodsPerDayID ?? 0}
2317
+ get {_numberOfTimePeriodsPerDayID ?? 0}
2122
2318
  set {_numberOfTimePeriodsPerDayID = newValue}
2123
2319
  }
2124
2320
  /// Returns true if `numberOfTimePeriodsPerDayID` has been explicitly set.
2125
- public var hasNumberOfTimePeriodsPerDayID: Bool {return self._numberOfTimePeriodsPerDayID != nil}
2321
+ public var hasNumberOfTimePeriodsPerDayID: Bool {self._numberOfTimePeriodsPerDayID != nil}
2126
2322
  /// Clears the value of `numberOfTimePeriodsPerDayID`. Subsequent reads from it will return its default value.
2127
2323
  public mutating func clearNumberOfTimePeriodsPerDayID() {self._numberOfTimePeriodsPerDayID = nil}
2128
2324
 
2129
2325
  public var hasExtensions_p: Bool {
2130
- get {return _hasExtensions_p ?? false}
2326
+ get {_hasExtensions_p ?? false}
2131
2327
  set {_hasExtensions_p = newValue}
2132
2328
  }
2133
2329
  /// Returns true if `hasExtensions_p` has been explicitly set.
2134
- public var hasHasExtensions_p: Bool {return self._hasExtensions_p != nil}
2330
+ public var hasHasExtensions_p: Bool {self._hasExtensions_p != nil}
2135
2331
  /// Clears the value of `hasExtensions_p`. Subsequent reads from it will return its default value.
2136
2332
  public mutating func clearHasExtensions_p() {self._hasExtensions_p = nil}
2137
2333
 
@@ -2157,11 +2353,11 @@ public struct BlueOssSoFileEvent: Sendable {
2157
2353
 
2158
2354
  /// TODO : max_count must always equal MaxOssSoEventId - 1
2159
2355
  public var supportedEventIds: Data {
2160
- get {return _supportedEventIds ?? Data()}
2356
+ get {_supportedEventIds ?? Data()}
2161
2357
  set {_supportedEventIds = newValue}
2162
2358
  }
2163
2359
  /// Returns true if `supportedEventIds` has been explicitly set.
2164
- public var hasSupportedEventIds: Bool {return self._supportedEventIds != nil}
2360
+ public var hasSupportedEventIds: Bool {self._supportedEventIds != nil}
2165
2361
  /// Clears the value of `supportedEventIds`. Subsequent reads from it will return its default value.
2166
2362
  public mutating func clearSupportedEventIds() {self._supportedEventIds = nil}
2167
2363
 
@@ -2196,11 +2392,11 @@ public struct BlueOssSoFileCustomerExtensions: Sendable {
2196
2392
  ///
2197
2393
  /// -- Known features --
2198
2394
  public var validityStart: BlueOssSoExtFeature_ValidityStart {
2199
- get {return _validityStart ?? BlueOssSoExtFeature_ValidityStart()}
2395
+ get {_validityStart ?? BlueOssSoExtFeature_ValidityStart()}
2200
2396
  set {_validityStart = newValue}
2201
2397
  }
2202
2398
  /// Returns true if `validityStart` has been explicitly set.
2203
- public var hasValidityStart: Bool {return self._validityStart != nil}
2399
+ public var hasValidityStart: Bool {self._validityStart != nil}
2204
2400
  /// Clears the value of `validityStart`. Subsequent reads from it will return its default value.
2205
2401
  public mutating func clearValidityStart() {self._validityStart = nil}
2206
2402
 
@@ -2217,47 +2413,47 @@ public struct BlueOssSoConfiguration: @unchecked Sendable {
2217
2413
  // methods supported on all messages.
2218
2414
 
2219
2415
  public var info: BlueOssSoFileInfo {
2220
- get {return _storage._info ?? BlueOssSoFileInfo()}
2416
+ get {_storage._info ?? BlueOssSoFileInfo()}
2221
2417
  set {_uniqueStorage()._info = newValue}
2222
2418
  }
2223
2419
  /// Returns true if `info` has been explicitly set.
2224
- public var hasInfo: Bool {return _storage._info != nil}
2420
+ public var hasInfo: Bool {_storage._info != nil}
2225
2421
  /// Clears the value of `info`. Subsequent reads from it will return its default value.
2226
2422
  public mutating func clearInfo() {_uniqueStorage()._info = nil}
2227
2423
 
2228
2424
  public var data: BlueOssSoFileData {
2229
- get {return _storage._data ?? BlueOssSoFileData()}
2425
+ get {_storage._data ?? BlueOssSoFileData()}
2230
2426
  set {_uniqueStorage()._data = newValue}
2231
2427
  }
2232
2428
  /// Returns true if `data` has been explicitly set.
2233
- public var hasData: Bool {return _storage._data != nil}
2429
+ public var hasData: Bool {_storage._data != nil}
2234
2430
  /// Clears the value of `data`. Subsequent reads from it will return its default value.
2235
2431
  public mutating func clearData() {_uniqueStorage()._data = nil}
2236
2432
 
2237
2433
  public var event: BlueOssSoFileEvent {
2238
- get {return _storage._event ?? BlueOssSoFileEvent()}
2434
+ get {_storage._event ?? BlueOssSoFileEvent()}
2239
2435
  set {_uniqueStorage()._event = newValue}
2240
2436
  }
2241
2437
  /// Returns true if `event` has been explicitly set.
2242
- public var hasEvent: Bool {return _storage._event != nil}
2438
+ public var hasEvent: Bool {_storage._event != nil}
2243
2439
  /// Clears the value of `event`. Subsequent reads from it will return its default value.
2244
2440
  public mutating func clearEvent() {_uniqueStorage()._event = nil}
2245
2441
 
2246
2442
  public var blacklist: BlueOssSoFileBlacklist {
2247
- get {return _storage._blacklist ?? BlueOssSoFileBlacklist()}
2443
+ get {_storage._blacklist ?? BlueOssSoFileBlacklist()}
2248
2444
  set {_uniqueStorage()._blacklist = newValue}
2249
2445
  }
2250
2446
  /// Returns true if `blacklist` has been explicitly set.
2251
- public var hasBlacklist: Bool {return _storage._blacklist != nil}
2447
+ public var hasBlacklist: Bool {_storage._blacklist != nil}
2252
2448
  /// Clears the value of `blacklist`. Subsequent reads from it will return its default value.
2253
2449
  public mutating func clearBlacklist() {_uniqueStorage()._blacklist = nil}
2254
2450
 
2255
2451
  public var customerExtensions: BlueOssSoFileCustomerExtensions {
2256
- get {return _storage._customerExtensions ?? BlueOssSoFileCustomerExtensions()}
2452
+ get {_storage._customerExtensions ?? BlueOssSoFileCustomerExtensions()}
2257
2453
  set {_uniqueStorage()._customerExtensions = newValue}
2258
2454
  }
2259
2455
  /// Returns true if `customerExtensions` has been explicitly set.
2260
- public var hasCustomerExtensions: Bool {return _storage._customerExtensions != nil}
2456
+ public var hasCustomerExtensions: Bool {_storage._customerExtensions != nil}
2261
2457
  /// Clears the value of `customerExtensions`. Subsequent reads from it will return its default value.
2262
2458
  public mutating func clearCustomerExtensions() {_uniqueStorage()._customerExtensions = nil}
2263
2459
 
@@ -2274,110 +2470,110 @@ public struct BlueOssSoStorageProfile: Sendable {
2274
2470
  // methods supported on all messages.
2275
2471
 
2276
2472
  public var dataLength: UInt32 {
2277
- get {return _dataLength ?? 0}
2473
+ get {_dataLength ?? 0}
2278
2474
  set {_dataLength = newValue}
2279
2475
  }
2280
2476
  /// Returns true if `dataLength` has been explicitly set.
2281
- public var hasDataLength: Bool {return self._dataLength != nil}
2477
+ public var hasDataLength: Bool {self._dataLength != nil}
2282
2478
  /// Clears the value of `dataLength`. Subsequent reads from it will return its default value.
2283
2479
  public mutating func clearDataLength() {self._dataLength = nil}
2284
2480
 
2285
2481
  public var fileSize: UInt32 {
2286
- get {return _fileSize ?? 0}
2482
+ get {_fileSize ?? 0}
2287
2483
  set {_fileSize = newValue}
2288
2484
  }
2289
2485
  /// Returns true if `fileSize` has been explicitly set.
2290
- public var hasFileSize: Bool {return self._fileSize != nil}
2486
+ public var hasFileSize: Bool {self._fileSize != nil}
2291
2487
  /// Clears the value of `fileSize`. Subsequent reads from it will return its default value.
2292
2488
  public mutating func clearFileSize() {self._fileSize = nil}
2293
2489
 
2294
2490
  public var infoDataLength: UInt32 {
2295
- get {return _infoDataLength ?? 0}
2491
+ get {_infoDataLength ?? 0}
2296
2492
  set {_infoDataLength = newValue}
2297
2493
  }
2298
2494
  /// Returns true if `infoDataLength` has been explicitly set.
2299
- public var hasInfoDataLength: Bool {return self._infoDataLength != nil}
2495
+ public var hasInfoDataLength: Bool {self._infoDataLength != nil}
2300
2496
  /// Clears the value of `infoDataLength`. Subsequent reads from it will return its default value.
2301
2497
  public mutating func clearInfoDataLength() {self._infoDataLength = nil}
2302
2498
 
2303
2499
  public var infoFileSize: UInt32 {
2304
- get {return _infoFileSize ?? 0}
2500
+ get {_infoFileSize ?? 0}
2305
2501
  set {_infoFileSize = newValue}
2306
2502
  }
2307
2503
  /// Returns true if `infoFileSize` has been explicitly set.
2308
- public var hasInfoFileSize: Bool {return self._infoFileSize != nil}
2504
+ public var hasInfoFileSize: Bool {self._infoFileSize != nil}
2309
2505
  /// Clears the value of `infoFileSize`. Subsequent reads from it will return its default value.
2310
2506
  public mutating func clearInfoFileSize() {self._infoFileSize = nil}
2311
2507
 
2312
2508
  public var dataDataLength: UInt32 {
2313
- get {return _dataDataLength ?? 0}
2509
+ get {_dataDataLength ?? 0}
2314
2510
  set {_dataDataLength = newValue}
2315
2511
  }
2316
2512
  /// Returns true if `dataDataLength` has been explicitly set.
2317
- public var hasDataDataLength: Bool {return self._dataDataLength != nil}
2513
+ public var hasDataDataLength: Bool {self._dataDataLength != nil}
2318
2514
  /// Clears the value of `dataDataLength`. Subsequent reads from it will return its default value.
2319
2515
  public mutating func clearDataDataLength() {self._dataDataLength = nil}
2320
2516
 
2321
2517
  public var dataFileSize: UInt32 {
2322
- get {return _dataFileSize ?? 0}
2518
+ get {_dataFileSize ?? 0}
2323
2519
  set {_dataFileSize = newValue}
2324
2520
  }
2325
2521
  /// Returns true if `dataFileSize` has been explicitly set.
2326
- public var hasDataFileSize: Bool {return self._dataFileSize != nil}
2522
+ public var hasDataFileSize: Bool {self._dataFileSize != nil}
2327
2523
  /// Clears the value of `dataFileSize`. Subsequent reads from it will return its default value.
2328
2524
  public mutating func clearDataFileSize() {self._dataFileSize = nil}
2329
2525
 
2330
2526
  public var eventDataLength: UInt32 {
2331
- get {return _eventDataLength ?? 0}
2527
+ get {_eventDataLength ?? 0}
2332
2528
  set {_eventDataLength = newValue}
2333
2529
  }
2334
2530
  /// Returns true if `eventDataLength` has been explicitly set.
2335
- public var hasEventDataLength: Bool {return self._eventDataLength != nil}
2531
+ public var hasEventDataLength: Bool {self._eventDataLength != nil}
2336
2532
  /// Clears the value of `eventDataLength`. Subsequent reads from it will return its default value.
2337
2533
  public mutating func clearEventDataLength() {self._eventDataLength = nil}
2338
2534
 
2339
2535
  public var eventFileSize: UInt32 {
2340
- get {return _eventFileSize ?? 0}
2536
+ get {_eventFileSize ?? 0}
2341
2537
  set {_eventFileSize = newValue}
2342
2538
  }
2343
2539
  /// Returns true if `eventFileSize` has been explicitly set.
2344
- public var hasEventFileSize: Bool {return self._eventFileSize != nil}
2540
+ public var hasEventFileSize: Bool {self._eventFileSize != nil}
2345
2541
  /// Clears the value of `eventFileSize`. Subsequent reads from it will return its default value.
2346
2542
  public mutating func clearEventFileSize() {self._eventFileSize = nil}
2347
2543
 
2348
2544
  public var blacklistDataLength: UInt32 {
2349
- get {return _blacklistDataLength ?? 0}
2545
+ get {_blacklistDataLength ?? 0}
2350
2546
  set {_blacklistDataLength = newValue}
2351
2547
  }
2352
2548
  /// Returns true if `blacklistDataLength` has been explicitly set.
2353
- public var hasBlacklistDataLength: Bool {return self._blacklistDataLength != nil}
2549
+ public var hasBlacklistDataLength: Bool {self._blacklistDataLength != nil}
2354
2550
  /// Clears the value of `blacklistDataLength`. Subsequent reads from it will return its default value.
2355
2551
  public mutating func clearBlacklistDataLength() {self._blacklistDataLength = nil}
2356
2552
 
2357
2553
  public var blacklistFileSize: UInt32 {
2358
- get {return _blacklistFileSize ?? 0}
2554
+ get {_blacklistFileSize ?? 0}
2359
2555
  set {_blacklistFileSize = newValue}
2360
2556
  }
2361
2557
  /// Returns true if `blacklistFileSize` has been explicitly set.
2362
- public var hasBlacklistFileSize: Bool {return self._blacklistFileSize != nil}
2558
+ public var hasBlacklistFileSize: Bool {self._blacklistFileSize != nil}
2363
2559
  /// Clears the value of `blacklistFileSize`. Subsequent reads from it will return its default value.
2364
2560
  public mutating func clearBlacklistFileSize() {self._blacklistFileSize = nil}
2365
2561
 
2366
2562
  public var customerExtensionsDataLength: UInt32 {
2367
- get {return _customerExtensionsDataLength ?? 0}
2563
+ get {_customerExtensionsDataLength ?? 0}
2368
2564
  set {_customerExtensionsDataLength = newValue}
2369
2565
  }
2370
2566
  /// Returns true if `customerExtensionsDataLength` has been explicitly set.
2371
- public var hasCustomerExtensionsDataLength: Bool {return self._customerExtensionsDataLength != nil}
2567
+ public var hasCustomerExtensionsDataLength: Bool {self._customerExtensionsDataLength != nil}
2372
2568
  /// Clears the value of `customerExtensionsDataLength`. Subsequent reads from it will return its default value.
2373
2569
  public mutating func clearCustomerExtensionsDataLength() {self._customerExtensionsDataLength = nil}
2374
2570
 
2375
2571
  public var customerExtensionsFileSize: UInt32 {
2376
- get {return _customerExtensionsFileSize ?? 0}
2572
+ get {_customerExtensionsFileSize ?? 0}
2377
2573
  set {_customerExtensionsFileSize = newValue}
2378
2574
  }
2379
2575
  /// Returns true if `customerExtensionsFileSize` has been explicitly set.
2380
- public var hasCustomerExtensionsFileSize: Bool {return self._customerExtensionsFileSize != nil}
2576
+ public var hasCustomerExtensionsFileSize: Bool {self._customerExtensionsFileSize != nil}
2381
2577
  /// Clears the value of `customerExtensionsFileSize`. Subsequent reads from it will return its default value.
2382
2578
  public mutating func clearCustomerExtensionsFileSize() {self._customerExtensionsFileSize = nil}
2383
2579
 
@@ -2405,85 +2601,85 @@ public struct BlueOssSoProvisioningConfiguration: Sendable {
2405
2601
  // methods supported on all messages.
2406
2602
 
2407
2603
  public var numberOfDoors: UInt32 {
2408
- get {return _numberOfDoors ?? 0}
2604
+ get {_numberOfDoors ?? 0}
2409
2605
  set {_numberOfDoors = newValue}
2410
2606
  }
2411
2607
  /// Returns true if `numberOfDoors` has been explicitly set.
2412
- public var hasNumberOfDoors: Bool {return self._numberOfDoors != nil}
2608
+ public var hasNumberOfDoors: Bool {self._numberOfDoors != nil}
2413
2609
  /// Clears the value of `numberOfDoors`. Subsequent reads from it will return its default value.
2414
2610
  public mutating func clearNumberOfDoors() {self._numberOfDoors = nil}
2415
2611
 
2416
2612
  public var numberOfDtschedules: UInt32 {
2417
- get {return _numberOfDtschedules ?? 0}
2613
+ get {_numberOfDtschedules ?? 0}
2418
2614
  set {_numberOfDtschedules = newValue}
2419
2615
  }
2420
2616
  /// Returns true if `numberOfDtschedules` has been explicitly set.
2421
- public var hasNumberOfDtschedules: Bool {return self._numberOfDtschedules != nil}
2617
+ public var hasNumberOfDtschedules: Bool {self._numberOfDtschedules != nil}
2422
2618
  /// Clears the value of `numberOfDtschedules`. Subsequent reads from it will return its default value.
2423
2619
  public mutating func clearNumberOfDtschedules() {self._numberOfDtschedules = nil}
2424
2620
 
2425
2621
  public var numberOfDayIdsPerDtschedule: UInt32 {
2426
- get {return _numberOfDayIdsPerDtschedule ?? 0}
2622
+ get {_numberOfDayIdsPerDtschedule ?? 0}
2427
2623
  set {_numberOfDayIdsPerDtschedule = newValue}
2428
2624
  }
2429
2625
  /// Returns true if `numberOfDayIdsPerDtschedule` has been explicitly set.
2430
- public var hasNumberOfDayIdsPerDtschedule: Bool {return self._numberOfDayIdsPerDtschedule != nil}
2626
+ public var hasNumberOfDayIdsPerDtschedule: Bool {self._numberOfDayIdsPerDtschedule != nil}
2431
2627
  /// Clears the value of `numberOfDayIdsPerDtschedule`. Subsequent reads from it will return its default value.
2432
2628
  public mutating func clearNumberOfDayIdsPerDtschedule() {self._numberOfDayIdsPerDtschedule = nil}
2433
2629
 
2434
2630
  public var numberOfTimePeriodsPerDayID: UInt32 {
2435
- get {return _numberOfTimePeriodsPerDayID ?? 0}
2631
+ get {_numberOfTimePeriodsPerDayID ?? 0}
2436
2632
  set {_numberOfTimePeriodsPerDayID = newValue}
2437
2633
  }
2438
2634
  /// Returns true if `numberOfTimePeriodsPerDayID` has been explicitly set.
2439
- public var hasNumberOfTimePeriodsPerDayID: Bool {return self._numberOfTimePeriodsPerDayID != nil}
2635
+ public var hasNumberOfTimePeriodsPerDayID: Bool {self._numberOfTimePeriodsPerDayID != nil}
2440
2636
  /// Clears the value of `numberOfTimePeriodsPerDayID`. Subsequent reads from it will return its default value.
2441
2637
  public mutating func clearNumberOfTimePeriodsPerDayID() {self._numberOfTimePeriodsPerDayID = nil}
2442
2638
 
2443
2639
  public var numberOfEvents: UInt32 {
2444
- get {return _numberOfEvents ?? 0}
2640
+ get {_numberOfEvents ?? 0}
2445
2641
  set {_numberOfEvents = newValue}
2446
2642
  }
2447
2643
  /// Returns true if `numberOfEvents` has been explicitly set.
2448
- public var hasNumberOfEvents: Bool {return self._numberOfEvents != nil}
2644
+ public var hasNumberOfEvents: Bool {self._numberOfEvents != nil}
2449
2645
  /// Clears the value of `numberOfEvents`. Subsequent reads from it will return its default value.
2450
2646
  public mutating func clearNumberOfEvents() {self._numberOfEvents = nil}
2451
2647
 
2452
2648
  /// TODO : max_count must always equal MaxOssSoEventId - 1
2453
2649
  public var supportedEventIds: Data {
2454
- get {return _supportedEventIds ?? Data()}
2650
+ get {_supportedEventIds ?? Data()}
2455
2651
  set {_supportedEventIds = newValue}
2456
2652
  }
2457
2653
  /// Returns true if `supportedEventIds` has been explicitly set.
2458
- public var hasSupportedEventIds: Bool {return self._supportedEventIds != nil}
2654
+ public var hasSupportedEventIds: Bool {self._supportedEventIds != nil}
2459
2655
  /// Clears the value of `supportedEventIds`. Subsequent reads from it will return its default value.
2460
2656
  public mutating func clearSupportedEventIds() {self._supportedEventIds = nil}
2461
2657
 
2462
2658
  public var numberOfBlacklistEntries: UInt32 {
2463
- get {return _numberOfBlacklistEntries ?? 0}
2659
+ get {_numberOfBlacklistEntries ?? 0}
2464
2660
  set {_numberOfBlacklistEntries = newValue}
2465
2661
  }
2466
2662
  /// Returns true if `numberOfBlacklistEntries` has been explicitly set.
2467
- public var hasNumberOfBlacklistEntries: Bool {return self._numberOfBlacklistEntries != nil}
2663
+ public var hasNumberOfBlacklistEntries: Bool {self._numberOfBlacklistEntries != nil}
2468
2664
  /// Clears the value of `numberOfBlacklistEntries`. Subsequent reads from it will return its default value.
2469
2665
  public mutating func clearNumberOfBlacklistEntries() {self._numberOfBlacklistEntries = nil}
2470
2666
 
2471
2667
  public var customerExtensionsSize: UInt32 {
2472
- get {return _customerExtensionsSize ?? 0}
2668
+ get {_customerExtensionsSize ?? 0}
2473
2669
  set {_customerExtensionsSize = newValue}
2474
2670
  }
2475
2671
  /// Returns true if `customerExtensionsSize` has been explicitly set.
2476
- public var hasCustomerExtensionsSize: Bool {return self._customerExtensionsSize != nil}
2672
+ public var hasCustomerExtensionsSize: Bool {self._customerExtensionsSize != nil}
2477
2673
  /// Clears the value of `customerExtensionsSize`. Subsequent reads from it will return its default value.
2478
2674
  public mutating func clearCustomerExtensionsSize() {self._customerExtensionsSize = nil}
2479
2675
 
2480
2676
  /// if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
2481
2677
  public var hasData_p: Bool {
2482
- get {return _hasData_p ?? true}
2678
+ get {_hasData_p ?? true}
2483
2679
  set {_hasData_p = newValue}
2484
2680
  }
2485
2681
  /// Returns true if `hasData_p` has been explicitly set.
2486
- public var hasHasData_p: Bool {return self._hasData_p != nil}
2682
+ public var hasHasData_p: Bool {self._hasData_p != nil}
2487
2683
  /// Clears the value of `hasData_p`. Subsequent reads from it will return its default value.
2488
2684
  public mutating func clearHasData_p() {self._hasData_p = nil}
2489
2685
 
@@ -2509,38 +2705,38 @@ public struct BlueOssSoProvisioningData: Sendable {
2509
2705
 
2510
2706
  /// If not set, uses default from storage
2511
2707
  public var configuration: BlueOssSoProvisioningConfiguration {
2512
- get {return _configuration ?? BlueOssSoProvisioningConfiguration()}
2708
+ get {_configuration ?? BlueOssSoProvisioningConfiguration()}
2513
2709
  set {_configuration = newValue}
2514
2710
  }
2515
2711
  /// Returns true if `configuration` has been explicitly set.
2516
- public var hasConfiguration: Bool {return self._configuration != nil}
2712
+ public var hasConfiguration: Bool {self._configuration != nil}
2517
2713
  /// Clears the value of `configuration`. Subsequent reads from it will return its default value.
2518
2714
  public mutating func clearConfiguration() {self._configuration = nil}
2519
2715
 
2520
2716
  public var credentialType: BlueOssSoCredentialType {
2521
- get {return _credentialType ?? BlueOssSoCredentialType()}
2717
+ get {_credentialType ?? BlueOssSoCredentialType()}
2522
2718
  set {_credentialType = newValue}
2523
2719
  }
2524
2720
  /// Returns true if `credentialType` has been explicitly set.
2525
- public var hasCredentialType: Bool {return self._credentialType != nil}
2721
+ public var hasCredentialType: Bool {self._credentialType != nil}
2526
2722
  /// Clears the value of `credentialType`. Subsequent reads from it will return its default value.
2527
2723
  public mutating func clearCredentialType() {self._credentialType = nil}
2528
2724
 
2529
2725
  public var credentialID: BlueCredentialId {
2530
- get {return _credentialID ?? BlueCredentialId()}
2726
+ get {_credentialID ?? BlueCredentialId()}
2531
2727
  set {_credentialID = newValue}
2532
2728
  }
2533
2729
  /// Returns true if `credentialID` has been explicitly set.
2534
- public var hasCredentialID: Bool {return self._credentialID != nil}
2730
+ public var hasCredentialID: Bool {self._credentialID != nil}
2535
2731
  /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
2536
2732
  public mutating func clearCredentialID() {self._credentialID = nil}
2537
2733
 
2538
2734
  public var siteID: UInt32 {
2539
- get {return _siteID ?? 0}
2735
+ get {_siteID ?? 0}
2540
2736
  set {_siteID = newValue}
2541
2737
  }
2542
2738
  /// Returns true if `siteID` has been explicitly set.
2543
- public var hasSiteID: Bool {return self._siteID != nil}
2739
+ public var hasSiteID: Bool {self._siteID != nil}
2544
2740
  /// Clears the value of `siteID`. Subsequent reads from it will return its default value.
2545
2741
  public mutating func clearSiteID() {self._siteID = nil}
2546
2742
 
@@ -2560,58 +2756,58 @@ public struct BlueOssSoMobile: Sendable {
2560
2756
  // methods supported on all messages.
2561
2757
 
2562
2758
  public var infoFile: Data {
2563
- get {return _infoFile ?? Data()}
2759
+ get {_infoFile ?? Data()}
2564
2760
  set {_infoFile = newValue}
2565
2761
  }
2566
2762
  /// Returns true if `infoFile` has been explicitly set.
2567
- public var hasInfoFile: Bool {return self._infoFile != nil}
2763
+ public var hasInfoFile: Bool {self._infoFile != nil}
2568
2764
  /// Clears the value of `infoFile`. Subsequent reads from it will return its default value.
2569
2765
  public mutating func clearInfoFile() {self._infoFile = nil}
2570
2766
 
2571
2767
  /// 1 door
2572
2768
  public var dataFile: Data {
2573
- get {return _dataFile ?? Data()}
2769
+ get {_dataFile ?? Data()}
2574
2770
  set {_dataFile = newValue}
2575
2771
  }
2576
2772
  /// Returns true if `dataFile` has been explicitly set.
2577
- public var hasDataFile: Bool {return self._dataFile != nil}
2773
+ public var hasDataFile: Bool {self._dataFile != nil}
2578
2774
  /// Clears the value of `dataFile`. Subsequent reads from it will return its default value.
2579
2775
  public mutating func clearDataFile() {self._dataFile = nil}
2580
2776
 
2581
2777
  /// 16 items max
2582
2778
  public var blacklistFile: Data {
2583
- get {return _blacklistFile ?? Data()}
2779
+ get {_blacklistFile ?? Data()}
2584
2780
  set {_blacklistFile = newValue}
2585
2781
  }
2586
2782
  /// Returns true if `blacklistFile` has been explicitly set.
2587
- public var hasBlacklistFile: Bool {return self._blacklistFile != nil}
2783
+ public var hasBlacklistFile: Bool {self._blacklistFile != nil}
2588
2784
  /// Clears the value of `blacklistFile`. Subsequent reads from it will return its default value.
2589
2785
  public mutating func clearBlacklistFile() {self._blacklistFile = nil}
2590
2786
 
2591
2787
  public var customerExtensionsFile: Data {
2592
- get {return _customerExtensionsFile ?? Data()}
2788
+ get {_customerExtensionsFile ?? Data()}
2593
2789
  set {_customerExtensionsFile = newValue}
2594
2790
  }
2595
2791
  /// Returns true if `customerExtensionsFile` has been explicitly set.
2596
- public var hasCustomerExtensionsFile: Bool {return self._customerExtensionsFile != nil}
2792
+ public var hasCustomerExtensionsFile: Bool {self._customerExtensionsFile != nil}
2597
2793
  /// Clears the value of `customerExtensionsFile`. Subsequent reads from it will return its default value.
2598
2794
  public mutating func clearCustomerExtensionsFile() {self._customerExtensionsFile = nil}
2599
2795
 
2600
2796
  public var requestedEventCount: UInt32 {
2601
- get {return _requestedEventCount ?? 0}
2797
+ get {_requestedEventCount ?? 0}
2602
2798
  set {_requestedEventCount = newValue}
2603
2799
  }
2604
2800
  /// Returns true if `requestedEventCount` has been explicitly set.
2605
- public var hasRequestedEventCount: Bool {return self._requestedEventCount != nil}
2801
+ public var hasRequestedEventCount: Bool {self._requestedEventCount != nil}
2606
2802
  /// Clears the value of `requestedEventCount`. Subsequent reads from it will return its default value.
2607
2803
  public mutating func clearRequestedEventCount() {self._requestedEventCount = nil}
2608
2804
 
2609
2805
  public var supportedEventIds: Data {
2610
- get {return _supportedEventIds ?? Data()}
2806
+ get {_supportedEventIds ?? Data()}
2611
2807
  set {_supportedEventIds = newValue}
2612
2808
  }
2613
2809
  /// Returns true if `supportedEventIds` has been explicitly set.
2614
- public var hasSupportedEventIds: Bool {return self._supportedEventIds != nil}
2810
+ public var hasSupportedEventIds: Bool {self._supportedEventIds != nil}
2615
2811
  /// Clears the value of `supportedEventIds`. Subsequent reads from it will return its default value.
2616
2812
  public mutating func clearSupportedEventIds() {self._supportedEventIds = nil}
2617
2813
 
@@ -2633,84 +2829,84 @@ public struct BlueOssSoMobileProvisioningConfiguration: Sendable {
2633
2829
  // methods supported on all messages.
2634
2830
 
2635
2831
  public var numberOfDoors: UInt32 {
2636
- get {return _numberOfDoors ?? 1}
2832
+ get {_numberOfDoors ?? 1}
2637
2833
  set {_numberOfDoors = newValue}
2638
2834
  }
2639
2835
  /// Returns true if `numberOfDoors` has been explicitly set.
2640
- public var hasNumberOfDoors: Bool {return self._numberOfDoors != nil}
2836
+ public var hasNumberOfDoors: Bool {self._numberOfDoors != nil}
2641
2837
  /// Clears the value of `numberOfDoors`. Subsequent reads from it will return its default value.
2642
2838
  public mutating func clearNumberOfDoors() {self._numberOfDoors = nil}
2643
2839
 
2644
2840
  public var numberOfDtschedules: UInt32 {
2645
- get {return _numberOfDtschedules ?? 1}
2841
+ get {_numberOfDtschedules ?? 1}
2646
2842
  set {_numberOfDtschedules = newValue}
2647
2843
  }
2648
2844
  /// Returns true if `numberOfDtschedules` has been explicitly set.
2649
- public var hasNumberOfDtschedules: Bool {return self._numberOfDtschedules != nil}
2845
+ public var hasNumberOfDtschedules: Bool {self._numberOfDtschedules != nil}
2650
2846
  /// Clears the value of `numberOfDtschedules`. Subsequent reads from it will return its default value.
2651
2847
  public mutating func clearNumberOfDtschedules() {self._numberOfDtschedules = nil}
2652
2848
 
2653
2849
  public var numberOfDayIdsPerDtschedule: UInt32 {
2654
- get {return _numberOfDayIdsPerDtschedule ?? 4}
2850
+ get {_numberOfDayIdsPerDtschedule ?? 4}
2655
2851
  set {_numberOfDayIdsPerDtschedule = newValue}
2656
2852
  }
2657
2853
  /// Returns true if `numberOfDayIdsPerDtschedule` has been explicitly set.
2658
- public var hasNumberOfDayIdsPerDtschedule: Bool {return self._numberOfDayIdsPerDtschedule != nil}
2854
+ public var hasNumberOfDayIdsPerDtschedule: Bool {self._numberOfDayIdsPerDtschedule != nil}
2659
2855
  /// Clears the value of `numberOfDayIdsPerDtschedule`. Subsequent reads from it will return its default value.
2660
2856
  public mutating func clearNumberOfDayIdsPerDtschedule() {self._numberOfDayIdsPerDtschedule = nil}
2661
2857
 
2662
2858
  public var numberOfTimePeriodsPerDayID: UInt32 {
2663
- get {return _numberOfTimePeriodsPerDayID ?? 4}
2859
+ get {_numberOfTimePeriodsPerDayID ?? 4}
2664
2860
  set {_numberOfTimePeriodsPerDayID = newValue}
2665
2861
  }
2666
2862
  /// Returns true if `numberOfTimePeriodsPerDayID` has been explicitly set.
2667
- public var hasNumberOfTimePeriodsPerDayID: Bool {return self._numberOfTimePeriodsPerDayID != nil}
2863
+ public var hasNumberOfTimePeriodsPerDayID: Bool {self._numberOfTimePeriodsPerDayID != nil}
2668
2864
  /// Clears the value of `numberOfTimePeriodsPerDayID`. Subsequent reads from it will return its default value.
2669
2865
  public mutating func clearNumberOfTimePeriodsPerDayID() {self._numberOfTimePeriodsPerDayID = nil}
2670
2866
 
2671
2867
  public var numberOfEvents: UInt32 {
2672
- get {return _numberOfEvents ?? 0}
2868
+ get {_numberOfEvents ?? 0}
2673
2869
  set {_numberOfEvents = newValue}
2674
2870
  }
2675
2871
  /// Returns true if `numberOfEvents` has been explicitly set.
2676
- public var hasNumberOfEvents: Bool {return self._numberOfEvents != nil}
2872
+ public var hasNumberOfEvents: Bool {self._numberOfEvents != nil}
2677
2873
  /// Clears the value of `numberOfEvents`. Subsequent reads from it will return its default value.
2678
2874
  public mutating func clearNumberOfEvents() {self._numberOfEvents = nil}
2679
2875
 
2680
2876
  /// TODO : max_count must always equal MaxOssSoEventId - 1
2681
2877
  public var supportedEventIds: Data {
2682
- get {return _supportedEventIds ?? Data()}
2878
+ get {_supportedEventIds ?? Data()}
2683
2879
  set {_supportedEventIds = newValue}
2684
2880
  }
2685
2881
  /// Returns true if `supportedEventIds` has been explicitly set.
2686
- public var hasSupportedEventIds: Bool {return self._supportedEventIds != nil}
2882
+ public var hasSupportedEventIds: Bool {self._supportedEventIds != nil}
2687
2883
  /// Clears the value of `supportedEventIds`. Subsequent reads from it will return its default value.
2688
2884
  public mutating func clearSupportedEventIds() {self._supportedEventIds = nil}
2689
2885
 
2690
2886
  public var numberOfBlacklistEntries: UInt32 {
2691
- get {return _numberOfBlacklistEntries ?? 16}
2887
+ get {_numberOfBlacklistEntries ?? 16}
2692
2888
  set {_numberOfBlacklistEntries = newValue}
2693
2889
  }
2694
2890
  /// Returns true if `numberOfBlacklistEntries` has been explicitly set.
2695
- public var hasNumberOfBlacklistEntries: Bool {return self._numberOfBlacklistEntries != nil}
2891
+ public var hasNumberOfBlacklistEntries: Bool {self._numberOfBlacklistEntries != nil}
2696
2892
  /// Clears the value of `numberOfBlacklistEntries`. Subsequent reads from it will return its default value.
2697
2893
  public mutating func clearNumberOfBlacklistEntries() {self._numberOfBlacklistEntries = nil}
2698
2894
 
2699
2895
  public var customerExtensionsSize: UInt32 {
2700
- get {return _customerExtensionsSize ?? 32}
2896
+ get {_customerExtensionsSize ?? 32}
2701
2897
  set {_customerExtensionsSize = newValue}
2702
2898
  }
2703
2899
  /// Returns true if `customerExtensionsSize` has been explicitly set.
2704
- public var hasCustomerExtensionsSize: Bool {return self._customerExtensionsSize != nil}
2900
+ public var hasCustomerExtensionsSize: Bool {self._customerExtensionsSize != nil}
2705
2901
  /// Clears the value of `customerExtensionsSize`. Subsequent reads from it will return its default value.
2706
2902
  public mutating func clearCustomerExtensionsSize() {self._customerExtensionsSize = nil}
2707
2903
 
2708
2904
  public var hasData_p: Bool {
2709
- get {return _hasData_p ?? true}
2905
+ get {_hasData_p ?? true}
2710
2906
  set {_hasData_p = newValue}
2711
2907
  }
2712
2908
  /// Returns true if `hasData_p` has been explicitly set.
2713
- public var hasHasData_p: Bool {return self._hasData_p != nil}
2909
+ public var hasHasData_p: Bool {self._hasData_p != nil}
2714
2910
  /// Clears the value of `hasData_p`. Subsequent reads from it will return its default value.
2715
2911
  public mutating func clearHasData_p() {self._hasData_p = nil}
2716
2912
 
@@ -2736,85 +2932,85 @@ public struct BlueOssSoMifareDesfireProvisioningConfiguration: Sendable {
2736
2932
  // methods supported on all messages.
2737
2933
 
2738
2934
  public var numberOfDoors: UInt32 {
2739
- get {return _numberOfDoors ?? 70}
2935
+ get {_numberOfDoors ?? 70}
2740
2936
  set {_numberOfDoors = newValue}
2741
2937
  }
2742
2938
  /// Returns true if `numberOfDoors` has been explicitly set.
2743
- public var hasNumberOfDoors: Bool {return self._numberOfDoors != nil}
2939
+ public var hasNumberOfDoors: Bool {self._numberOfDoors != nil}
2744
2940
  /// Clears the value of `numberOfDoors`. Subsequent reads from it will return its default value.
2745
2941
  public mutating func clearNumberOfDoors() {self._numberOfDoors = nil}
2746
2942
 
2747
2943
  public var numberOfDtschedules: UInt32 {
2748
- get {return _numberOfDtschedules ?? 1}
2944
+ get {_numberOfDtschedules ?? 1}
2749
2945
  set {_numberOfDtschedules = newValue}
2750
2946
  }
2751
2947
  /// Returns true if `numberOfDtschedules` has been explicitly set.
2752
- public var hasNumberOfDtschedules: Bool {return self._numberOfDtschedules != nil}
2948
+ public var hasNumberOfDtschedules: Bool {self._numberOfDtschedules != nil}
2753
2949
  /// Clears the value of `numberOfDtschedules`. Subsequent reads from it will return its default value.
2754
2950
  public mutating func clearNumberOfDtschedules() {self._numberOfDtschedules = nil}
2755
2951
 
2756
2952
  public var numberOfDayIdsPerDtschedule: UInt32 {
2757
- get {return _numberOfDayIdsPerDtschedule ?? 4}
2953
+ get {_numberOfDayIdsPerDtschedule ?? 4}
2758
2954
  set {_numberOfDayIdsPerDtschedule = newValue}
2759
2955
  }
2760
2956
  /// Returns true if `numberOfDayIdsPerDtschedule` has been explicitly set.
2761
- public var hasNumberOfDayIdsPerDtschedule: Bool {return self._numberOfDayIdsPerDtschedule != nil}
2957
+ public var hasNumberOfDayIdsPerDtschedule: Bool {self._numberOfDayIdsPerDtschedule != nil}
2762
2958
  /// Clears the value of `numberOfDayIdsPerDtschedule`. Subsequent reads from it will return its default value.
2763
2959
  public mutating func clearNumberOfDayIdsPerDtschedule() {self._numberOfDayIdsPerDtschedule = nil}
2764
2960
 
2765
2961
  public var numberOfTimePeriodsPerDayID: UInt32 {
2766
- get {return _numberOfTimePeriodsPerDayID ?? 2}
2962
+ get {_numberOfTimePeriodsPerDayID ?? 2}
2767
2963
  set {_numberOfTimePeriodsPerDayID = newValue}
2768
2964
  }
2769
2965
  /// Returns true if `numberOfTimePeriodsPerDayID` has been explicitly set.
2770
- public var hasNumberOfTimePeriodsPerDayID: Bool {return self._numberOfTimePeriodsPerDayID != nil}
2966
+ public var hasNumberOfTimePeriodsPerDayID: Bool {self._numberOfTimePeriodsPerDayID != nil}
2771
2967
  /// Clears the value of `numberOfTimePeriodsPerDayID`. Subsequent reads from it will return its default value.
2772
2968
  public mutating func clearNumberOfTimePeriodsPerDayID() {self._numberOfTimePeriodsPerDayID = nil}
2773
2969
 
2774
2970
  public var numberOfEvents: UInt32 {
2775
- get {return _numberOfEvents ?? 16}
2971
+ get {_numberOfEvents ?? 16}
2776
2972
  set {_numberOfEvents = newValue}
2777
2973
  }
2778
2974
  /// Returns true if `numberOfEvents` has been explicitly set.
2779
- public var hasNumberOfEvents: Bool {return self._numberOfEvents != nil}
2975
+ public var hasNumberOfEvents: Bool {self._numberOfEvents != nil}
2780
2976
  /// Clears the value of `numberOfEvents`. Subsequent reads from it will return its default value.
2781
2977
  public mutating func clearNumberOfEvents() {self._numberOfEvents = nil}
2782
2978
 
2783
2979
  /// TODO : max_count must always equal MaxOssSoEventId - 1
2784
2980
  public var supportedEventIds: Data {
2785
- get {return _supportedEventIds ?? Data([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1])}
2981
+ get {_supportedEventIds ?? Data([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1])}
2786
2982
  set {_supportedEventIds = newValue}
2787
2983
  }
2788
2984
  /// Returns true if `supportedEventIds` has been explicitly set.
2789
- public var hasSupportedEventIds: Bool {return self._supportedEventIds != nil}
2985
+ public var hasSupportedEventIds: Bool {self._supportedEventIds != nil}
2790
2986
  /// Clears the value of `supportedEventIds`. Subsequent reads from it will return its default value.
2791
2987
  public mutating func clearSupportedEventIds() {self._supportedEventIds = nil}
2792
2988
 
2793
2989
  public var numberOfBlacklistEntries: UInt32 {
2794
- get {return _numberOfBlacklistEntries ?? 3}
2990
+ get {_numberOfBlacklistEntries ?? 3}
2795
2991
  set {_numberOfBlacklistEntries = newValue}
2796
2992
  }
2797
2993
  /// Returns true if `numberOfBlacklistEntries` has been explicitly set.
2798
- public var hasNumberOfBlacklistEntries: Bool {return self._numberOfBlacklistEntries != nil}
2994
+ public var hasNumberOfBlacklistEntries: Bool {self._numberOfBlacklistEntries != nil}
2799
2995
  /// Clears the value of `numberOfBlacklistEntries`. Subsequent reads from it will return its default value.
2800
2996
  public mutating func clearNumberOfBlacklistEntries() {self._numberOfBlacklistEntries = nil}
2801
2997
 
2802
2998
  public var customerExtensionsSize: UInt32 {
2803
- get {return _customerExtensionsSize ?? 16}
2999
+ get {_customerExtensionsSize ?? 16}
2804
3000
  set {_customerExtensionsSize = newValue}
2805
3001
  }
2806
3002
  /// Returns true if `customerExtensionsSize` has been explicitly set.
2807
- public var hasCustomerExtensionsSize: Bool {return self._customerExtensionsSize != nil}
3003
+ public var hasCustomerExtensionsSize: Bool {self._customerExtensionsSize != nil}
2808
3004
  /// Clears the value of `customerExtensionsSize`. Subsequent reads from it will return its default value.
2809
3005
  public mutating func clearCustomerExtensionsSize() {self._customerExtensionsSize = nil}
2810
3006
 
2811
3007
  /// if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
2812
3008
  public var hasData_p: Bool {
2813
- get {return _hasData_p ?? true}
3009
+ get {_hasData_p ?? true}
2814
3010
  set {_hasData_p = newValue}
2815
3011
  }
2816
3012
  /// Returns true if `hasData_p` has been explicitly set.
2817
- public var hasHasData_p: Bool {return self._hasData_p != nil}
3013
+ public var hasHasData_p: Bool {self._hasData_p != nil}
2818
3014
  /// Clears the value of `hasData_p`. Subsequent reads from it will return its default value.
2819
3015
  public mutating func clearHasData_p() {self._hasData_p = nil}
2820
3016
 
@@ -2841,41 +3037,41 @@ public struct BlueOssSoMifareDesfireConfiguration: Sendable {
2841
3037
 
2842
3038
  /// The PICC master key, default is oss so demo key
2843
3039
  public var piccMasterKey: Data {
2844
- get {return _piccMasterKey ?? Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 170])}
3040
+ get {_piccMasterKey ?? Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 170])}
2845
3041
  set {_piccMasterKey = newValue}
2846
3042
  }
2847
3043
  /// Returns true if `piccMasterKey` has been explicitly set.
2848
- public var hasPiccMasterKey: Bool {return self._piccMasterKey != nil}
3044
+ public var hasPiccMasterKey: Bool {self._piccMasterKey != nil}
2849
3045
  /// Clears the value of `piccMasterKey`. Subsequent reads from it will return its default value.
2850
3046
  public mutating func clearPiccMasterKey() {self._piccMasterKey = nil}
2851
3047
 
2852
3048
  /// The oss application master key, default is oss so demo key
2853
3049
  public var appMasterKey: Data {
2854
- get {return _appMasterKey ?? Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15])}
3050
+ get {_appMasterKey ?? Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15])}
2855
3051
  set {_appMasterKey = newValue}
2856
3052
  }
2857
3053
  /// Returns true if `appMasterKey` has been explicitly set.
2858
- public var hasAppMasterKey: Bool {return self._appMasterKey != nil}
3054
+ public var hasAppMasterKey: Bool {self._appMasterKey != nil}
2859
3055
  /// Clears the value of `appMasterKey`. Subsequent reads from it will return its default value.
2860
3056
  public mutating func clearAppMasterKey() {self._appMasterKey = nil}
2861
3057
 
2862
3058
  /// The oss project read/write key, default is oss so demo key
2863
3059
  public var projectKey: Data {
2864
- get {return _projectKey ?? Data([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31])}
3060
+ get {_projectKey ?? Data([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31])}
2865
3061
  set {_projectKey = newValue}
2866
3062
  }
2867
3063
  /// Returns true if `projectKey` has been explicitly set.
2868
- public var hasProjectKey: Bool {return self._projectKey != nil}
3064
+ public var hasProjectKey: Bool {self._projectKey != nil}
2869
3065
  /// Clears the value of `projectKey`. Subsequent reads from it will return its default value.
2870
3066
  public mutating func clearProjectKey() {self._projectKey = nil}
2871
3067
 
2872
3068
  /// The oss application id, default is the oss so default aid
2873
3069
  public var aid: UInt32 {
2874
- get {return _aid ?? 16076800}
3070
+ get {_aid ?? 16076800}
2875
3071
  set {_aid = newValue}
2876
3072
  }
2877
3073
  /// Returns true if `aid` has been explicitly set.
2878
- public var hasAid: Bool {return self._aid != nil}
3074
+ public var hasAid: Bool {self._aid != nil}
2879
3075
  /// Clears the value of `aid`. Subsequent reads from it will return its default value.
2880
3076
  public mutating func clearAid() {self._aid = nil}
2881
3077
 
@@ -2895,11 +3091,11 @@ public struct BlueOssSoSettings: Sendable {
2895
3091
  // methods supported on all messages.
2896
3092
 
2897
3093
  public var mifareDesfireConfig: BlueOssSoMifareDesfireConfiguration {
2898
- get {return _mifareDesfireConfig ?? BlueOssSoMifareDesfireConfiguration()}
3094
+ get {_mifareDesfireConfig ?? BlueOssSoMifareDesfireConfiguration()}
2899
3095
  set {_mifareDesfireConfig = newValue}
2900
3096
  }
2901
3097
  /// Returns true if `mifareDesfireConfig` has been explicitly set.
2902
- public var hasMifareDesfireConfig: Bool {return self._mifareDesfireConfig != nil}
3098
+ public var hasMifareDesfireConfig: Bool {self._mifareDesfireConfig != nil}
2903
3099
  /// Clears the value of `mifareDesfireConfig`. Subsequent reads from it will return its default value.
2904
3100
  public mutating func clearMifareDesfireConfig() {self._mifareDesfireConfig = nil}
2905
3101
 
@@ -2916,38 +3112,38 @@ public struct _BlueTestEncodeDecode: Sendable {
2916
3112
  // methods supported on all messages.
2917
3113
 
2918
3114
  public var vendor: String {
2919
- get {return _vendor ?? String()}
3115
+ get {_vendor ?? String()}
2920
3116
  set {_vendor = newValue}
2921
3117
  }
2922
3118
  /// Returns true if `vendor` has been explicitly set.
2923
- public var hasVendor: Bool {return self._vendor != nil}
3119
+ public var hasVendor: Bool {self._vendor != nil}
2924
3120
  /// Clears the value of `vendor`. Subsequent reads from it will return its default value.
2925
3121
  public mutating func clearVendor() {self._vendor = nil}
2926
3122
 
2927
3123
  public var hardwareName: String {
2928
- get {return _hardwareName ?? String()}
3124
+ get {_hardwareName ?? String()}
2929
3125
  set {_hardwareName = newValue}
2930
3126
  }
2931
3127
  /// Returns true if `hardwareName` has been explicitly set.
2932
- public var hasHardwareName: Bool {return self._hardwareName != nil}
3128
+ public var hasHardwareName: Bool {self._hardwareName != nil}
2933
3129
  /// Clears the value of `hardwareName`. Subsequent reads from it will return its default value.
2934
3130
  public mutating func clearHardwareName() {self._hardwareName = nil}
2935
3131
 
2936
3132
  public var hardwareVersion: Int32 {
2937
- get {return _hardwareVersion ?? 0}
3133
+ get {_hardwareVersion ?? 0}
2938
3134
  set {_hardwareVersion = newValue}
2939
3135
  }
2940
3136
  /// Returns true if `hardwareVersion` has been explicitly set.
2941
- public var hasHardwareVersion: Bool {return self._hardwareVersion != nil}
3137
+ public var hasHardwareVersion: Bool {self._hardwareVersion != nil}
2942
3138
  /// Clears the value of `hardwareVersion`. Subsequent reads from it will return its default value.
2943
3139
  public mutating func clearHardwareVersion() {self._hardwareVersion = nil}
2944
3140
 
2945
3141
  public var applicationVersion: Int32 {
2946
- get {return _applicationVersion ?? 0}
3142
+ get {_applicationVersion ?? 0}
2947
3143
  set {_applicationVersion = newValue}
2948
3144
  }
2949
3145
  /// Returns true if `applicationVersion` has been explicitly set.
2950
- public var hasApplicationVersion: Bool {return self._applicationVersion != nil}
3146
+ public var hasApplicationVersion: Bool {self._applicationVersion != nil}
2951
3147
  /// Clears the value of `applicationVersion`. Subsequent reads from it will return its default value.
2952
3148
  public mutating func clearApplicationVersion() {self._applicationVersion = nil}
2953
3149
 
@@ -3894,6 +4090,300 @@ extension BlueSPResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
3894
4090
  }
3895
4091
  }
3896
4092
 
4093
+ extension BlueWebSPHandshake: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4094
+ public static let protoMessageName: String = "BlueWebSPHandshake"
4095
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}salt\0")
4096
+
4097
+ public var isInitialized: Bool {
4098
+ if self._salt == nil {return false}
4099
+ return true
4100
+ }
4101
+
4102
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4103
+ while let fieldNumber = try decoder.nextFieldNumber() {
4104
+ // The use of inline closures is to circumvent an issue where the compiler
4105
+ // allocates stack space for every case branch when no optimizations are
4106
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4107
+ switch fieldNumber {
4108
+ case 1: try { try decoder.decodeSingularBytesField(value: &self._salt) }()
4109
+ default: break
4110
+ }
4111
+ }
4112
+ }
4113
+
4114
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4115
+ // The use of inline closures is to circumvent an issue where the compiler
4116
+ // allocates stack space for every if/case branch local when no optimizations
4117
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4118
+ // https://github.com/apple/swift-protobuf/issues/1182
4119
+ try { if let v = self._salt {
4120
+ try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
4121
+ } }()
4122
+ try unknownFields.traverse(visitor: &visitor)
4123
+ }
4124
+
4125
+ public static func ==(lhs: BlueWebSPHandshake, rhs: BlueWebSPHandshake) -> Bool {
4126
+ if lhs._salt != rhs._salt {return false}
4127
+ if lhs.unknownFields != rhs.unknownFields {return false}
4128
+ return true
4129
+ }
4130
+ }
4131
+
4132
+ extension BlueWebSPHandshakeReply: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4133
+ public static let protoMessageName: String = "BlueWebSPHandshakeReply"
4134
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceId\0\u{1}signature\0")
4135
+
4136
+ public var isInitialized: Bool {
4137
+ if self._deviceID == nil {return false}
4138
+ if self._signature == nil {return false}
4139
+ return true
4140
+ }
4141
+
4142
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4143
+ while let fieldNumber = try decoder.nextFieldNumber() {
4144
+ // The use of inline closures is to circumvent an issue where the compiler
4145
+ // allocates stack space for every case branch when no optimizations are
4146
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4147
+ switch fieldNumber {
4148
+ case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
4149
+ case 2: try { try decoder.decodeSingularBytesField(value: &self._signature) }()
4150
+ default: break
4151
+ }
4152
+ }
4153
+ }
4154
+
4155
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4156
+ // The use of inline closures is to circumvent an issue where the compiler
4157
+ // allocates stack space for every if/case branch local when no optimizations
4158
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4159
+ // https://github.com/apple/swift-protobuf/issues/1182
4160
+ try { if let v = self._deviceID {
4161
+ try visitor.visitSingularStringField(value: v, fieldNumber: 1)
4162
+ } }()
4163
+ try { if let v = self._signature {
4164
+ try visitor.visitSingularBytesField(value: v, fieldNumber: 2)
4165
+ } }()
4166
+ try unknownFields.traverse(visitor: &visitor)
4167
+ }
4168
+
4169
+ public static func ==(lhs: BlueWebSPHandshakeReply, rhs: BlueWebSPHandshakeReply) -> Bool {
4170
+ if lhs._deviceID != rhs._deviceID {return false}
4171
+ if lhs._signature != rhs._signature {return false}
4172
+ if lhs.unknownFields != rhs.unknownFields {return false}
4173
+ return true
4174
+ }
4175
+ }
4176
+
4177
+ extension BlueWebSPMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4178
+ public static let protoMessageName: String = "BlueWebSPMessage"
4179
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}transactionId\0\u{1}payload\0")
4180
+
4181
+ public var isInitialized: Bool {
4182
+ if self._transactionID == nil {return false}
4183
+ if self._payload == nil {return false}
4184
+ if let v = self._payload, !v.isInitialized {return false}
4185
+ return true
4186
+ }
4187
+
4188
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4189
+ while let fieldNumber = try decoder.nextFieldNumber() {
4190
+ // The use of inline closures is to circumvent an issue where the compiler
4191
+ // allocates stack space for every case branch when no optimizations are
4192
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4193
+ switch fieldNumber {
4194
+ case 1: try { try decoder.decodeSingularUInt32Field(value: &self._transactionID) }()
4195
+ case 2: try { try decoder.decodeSingularMessageField(value: &self._payload) }()
4196
+ default: break
4197
+ }
4198
+ }
4199
+ }
4200
+
4201
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4202
+ // The use of inline closures is to circumvent an issue where the compiler
4203
+ // allocates stack space for every if/case branch local when no optimizations
4204
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4205
+ // https://github.com/apple/swift-protobuf/issues/1182
4206
+ try { if let v = self._transactionID {
4207
+ try visitor.visitSingularUInt32Field(value: v, fieldNumber: 1)
4208
+ } }()
4209
+ try { if let v = self._payload {
4210
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4211
+ } }()
4212
+ try unknownFields.traverse(visitor: &visitor)
4213
+ }
4214
+
4215
+ public static func ==(lhs: BlueWebSPMessage, rhs: BlueWebSPMessage) -> Bool {
4216
+ if lhs._transactionID != rhs._transactionID {return false}
4217
+ if lhs._payload != rhs._payload {return false}
4218
+ if lhs.unknownFields != rhs.unknownFields {return false}
4219
+ return true
4220
+ }
4221
+ }
4222
+
4223
+ extension BlueWebSPServerMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4224
+ public static let protoMessageName: String = "BlueWebSPServerMessage"
4225
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}handshake\0\u{1}command\0\u{1}ossSo\0\u{1}ossSid\0")
4226
+
4227
+ public var isInitialized: Bool {
4228
+ if let v = self.payload, !v.isInitialized {return false}
4229
+ return true
4230
+ }
4231
+
4232
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4233
+ while let fieldNumber = try decoder.nextFieldNumber() {
4234
+ // The use of inline closures is to circumvent an issue where the compiler
4235
+ // allocates stack space for every case branch when no optimizations are
4236
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4237
+ switch fieldNumber {
4238
+ case 2: try {
4239
+ var v: BlueWebSPHandshake?
4240
+ var hadOneofValue = false
4241
+ if let current = self.payload {
4242
+ hadOneofValue = true
4243
+ if case .handshake(let m) = current {v = m}
4244
+ }
4245
+ try decoder.decodeSingularMessageField(value: &v)
4246
+ if let v = v {
4247
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4248
+ self.payload = .handshake(v)
4249
+ }
4250
+ }()
4251
+ case 3: try {
4252
+ var v: BlueSPTokenCommand?
4253
+ var hadOneofValue = false
4254
+ if let current = self.payload {
4255
+ hadOneofValue = true
4256
+ if case .command(let m) = current {v = m}
4257
+ }
4258
+ try decoder.decodeSingularMessageField(value: &v)
4259
+ if let v = v {
4260
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4261
+ self.payload = .command(v)
4262
+ }
4263
+ }()
4264
+ case 4: try {
4265
+ var v: BlueOssSoMobile?
4266
+ var hadOneofValue = false
4267
+ if let current = self.payload {
4268
+ hadOneofValue = true
4269
+ if case .ossSo(let m) = current {v = m}
4270
+ }
4271
+ try decoder.decodeSingularMessageField(value: &v)
4272
+ if let v = v {
4273
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4274
+ self.payload = .ossSo(v)
4275
+ }
4276
+ }()
4277
+ case 5: try {
4278
+ var v: BlueOssSidMobile?
4279
+ var hadOneofValue = false
4280
+ if let current = self.payload {
4281
+ hadOneofValue = true
4282
+ if case .ossSid(let m) = current {v = m}
4283
+ }
4284
+ try decoder.decodeSingularMessageField(value: &v)
4285
+ if let v = v {
4286
+ if hadOneofValue {try decoder.handleConflictingOneOf()}
4287
+ self.payload = .ossSid(v)
4288
+ }
4289
+ }()
4290
+ default: break
4291
+ }
4292
+ }
4293
+ }
4294
+
4295
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4296
+ // The use of inline closures is to circumvent an issue where the compiler
4297
+ // allocates stack space for every if/case branch local when no optimizations
4298
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4299
+ // https://github.com/apple/swift-protobuf/issues/1182
4300
+ switch self.payload {
4301
+ case .handshake?: try {
4302
+ guard case .handshake(let v)? = self.payload else { preconditionFailure() }
4303
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 2)
4304
+ }()
4305
+ case .command?: try {
4306
+ guard case .command(let v)? = self.payload else { preconditionFailure() }
4307
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 3)
4308
+ }()
4309
+ case .ossSo?: try {
4310
+ guard case .ossSo(let v)? = self.payload else { preconditionFailure() }
4311
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
4312
+ }()
4313
+ case .ossSid?: try {
4314
+ guard case .ossSid(let v)? = self.payload else { preconditionFailure() }
4315
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 5)
4316
+ }()
4317
+ case nil: break
4318
+ }
4319
+ try unknownFields.traverse(visitor: &visitor)
4320
+ }
4321
+
4322
+ public static func ==(lhs: BlueWebSPServerMessage, rhs: BlueWebSPServerMessage) -> Bool {
4323
+ if lhs.payload != rhs.payload {return false}
4324
+ if lhs.unknownFields != rhs.unknownFields {return false}
4325
+ return true
4326
+ }
4327
+ }
4328
+
4329
+ extension BlueWebSPClientMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4330
+ public static let protoMessageName: String = "BlueWebSPClientMessage"
4331
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap()
4332
+
4333
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4334
+ // Load everything into unknown fields
4335
+ while try decoder.nextFieldNumber() != nil {}
4336
+ }
4337
+
4338
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4339
+ try unknownFields.traverse(visitor: &visitor)
4340
+ }
4341
+
4342
+ public static func ==(lhs: BlueWebSPClientMessage, rhs: BlueWebSPClientMessage) -> Bool {
4343
+ if lhs.unknownFields != rhs.unknownFields {return false}
4344
+ return true
4345
+ }
4346
+ }
4347
+
4348
+ extension BlueWebSPStatusMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
4349
+ public static let protoMessageName: String = "BlueWebSPStatusMessage"
4350
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}status\0")
4351
+
4352
+ public var isInitialized: Bool {
4353
+ if self._status == nil {return false}
4354
+ return true
4355
+ }
4356
+
4357
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
4358
+ while let fieldNumber = try decoder.nextFieldNumber() {
4359
+ // The use of inline closures is to circumvent an issue where the compiler
4360
+ // allocates stack space for every case branch when no optimizations are
4361
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
4362
+ switch fieldNumber {
4363
+ case 1: try { try decoder.decodeSingularEnumField(value: &self._status) }()
4364
+ default: break
4365
+ }
4366
+ }
4367
+ }
4368
+
4369
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
4370
+ // The use of inline closures is to circumvent an issue where the compiler
4371
+ // allocates stack space for every if/case branch local when no optimizations
4372
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
4373
+ // https://github.com/apple/swift-protobuf/issues/1182
4374
+ try { if let v = self._status {
4375
+ try visitor.visitSingularEnumField(value: v, fieldNumber: 1)
4376
+ } }()
4377
+ try unknownFields.traverse(visitor: &visitor)
4378
+ }
4379
+
4380
+ public static func ==(lhs: BlueWebSPStatusMessage, rhs: BlueWebSPStatusMessage) -> Bool {
4381
+ if lhs._status != rhs._status {return false}
4382
+ if lhs.unknownFields != rhs.unknownFields {return false}
4383
+ return true
4384
+ }
4385
+ }
4386
+
3897
4387
  extension BlueOssAccessResult: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
3898
4388
  public static let protoMessageName: String = "BlueOssAccessResult"
3899
4389
  public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}accessGranted\0\u{1}accessType\0\u{1}accessInfo\0\u{1}scheduleEndTime\0\u{1}scheduleMissmatch\0\u{1}accessOpenTime\0")