-
Notifications
You must be signed in to change notification settings - Fork 0
/
fk-app.pb.swift
3991 lines (3416 loc) · 139 KB
/
fk-app.pb.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// DO NOT EDIT.
//
// Generated by the Swift generator plugin for the protocol buffer compiler.
// Source: fk-app.proto
//
// For information on using the generated types, please see the documentation:
// https://github.com/apple/swift-protobuf/
import Foundation
import SwiftProtobuf
// If the compiler emits an error on this type, it is because this file
// was generated by a version of the `protoc` Swift plug-in that is
// incompatible with the version of SwiftProtobuf to which you are linking.
// Please ensure that your are building against the same version of the API
// that was used to generate this file.
fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck {
struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {}
typealias Version = _2
}
enum FkApp_QueryType: SwiftProtobuf.Enum {
typealias RawValue = Int
case queryNone // = 0
case queryCapabilities // = 1
case queryConfigureSensor // = 2
case queryLiveDataPoll // = 7
case querySchedules // = 8
case queryConfigueSchedules // = 9
case queryFiles // = 10
case queryDownloadFile // = 11
case queryEraseFile // = 12
case queryReset // = 13
case queryNetworkSettings // = 14
case queryConfigureNetworkSettings // = 15
case queryIdentity // = 16
case queryConfigureIdentity // = 17
case queryStatus // = 18
case queryModule // = 19
case queryMetadata // = 20
case queryFormat // = 21
case queryGetReadings // = 22
case queryTakeReadings // = 23
case queryRecordingControl // = 24
case queryConfigure // = 25
case UNRECOGNIZED(Int)
init() {
self = .queryNone
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .queryNone
case 1: self = .queryCapabilities
case 2: self = .queryConfigureSensor
case 7: self = .queryLiveDataPoll
case 8: self = .querySchedules
case 9: self = .queryConfigueSchedules
case 10: self = .queryFiles
case 11: self = .queryDownloadFile
case 12: self = .queryEraseFile
case 13: self = .queryReset
case 14: self = .queryNetworkSettings
case 15: self = .queryConfigureNetworkSettings
case 16: self = .queryIdentity
case 17: self = .queryConfigureIdentity
case 18: self = .queryStatus
case 19: self = .queryModule
case 20: self = .queryMetadata
case 21: self = .queryFormat
case 22: self = .queryGetReadings
case 23: self = .queryTakeReadings
case 24: self = .queryRecordingControl
case 25: self = .queryConfigure
default: self = .UNRECOGNIZED(rawValue)
}
}
var rawValue: Int {
switch self {
case .queryNone: return 0
case .queryCapabilities: return 1
case .queryConfigureSensor: return 2
case .queryLiveDataPoll: return 7
case .querySchedules: return 8
case .queryConfigueSchedules: return 9
case .queryFiles: return 10
case .queryDownloadFile: return 11
case .queryEraseFile: return 12
case .queryReset: return 13
case .queryNetworkSettings: return 14
case .queryConfigureNetworkSettings: return 15
case .queryIdentity: return 16
case .queryConfigureIdentity: return 17
case .queryStatus: return 18
case .queryModule: return 19
case .queryMetadata: return 20
case .queryFormat: return 21
case .queryGetReadings: return 22
case .queryTakeReadings: return 23
case .queryRecordingControl: return 24
case .queryConfigure: return 25
case .UNRECOGNIZED(let i): return i
}
}
}
#if swift(>=4.2)
extension FkApp_QueryType: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [FkApp_QueryType] = [
.queryNone,
.queryCapabilities,
.queryConfigureSensor,
.queryLiveDataPoll,
.querySchedules,
.queryConfigueSchedules,
.queryFiles,
.queryDownloadFile,
.queryEraseFile,
.queryReset,
.queryNetworkSettings,
.queryConfigureNetworkSettings,
.queryIdentity,
.queryConfigureIdentity,
.queryStatus,
.queryModule,
.queryMetadata,
.queryFormat,
.queryGetReadings,
.queryTakeReadings,
.queryRecordingControl,
.queryConfigure,
]
}
#endif // swift(>=4.2)
enum FkApp_ReplyType: SwiftProtobuf.Enum {
typealias RawValue = Int
case replyNone // = 0
case replySuccess // = 1
case replyBusy // = 2
case replyError // = 3
case replyCapabilities // = 4
case replyLiveDataPoll // = 8
case replySchedules // = 9
case replyFiles // = 10
case replyDownloadFile // = 11
case replyReset // = 12
case replyNetworkSettings // = 13
case replyIdentity // = 14
case replyStatus // = 15
case replyModule // = 16
case replyMetadata // = 17
case replyReadings // = 18
case UNRECOGNIZED(Int)
init() {
self = .replyNone
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .replyNone
case 1: self = .replySuccess
case 2: self = .replyBusy
case 3: self = .replyError
case 4: self = .replyCapabilities
case 8: self = .replyLiveDataPoll
case 9: self = .replySchedules
case 10: self = .replyFiles
case 11: self = .replyDownloadFile
case 12: self = .replyReset
case 13: self = .replyNetworkSettings
case 14: self = .replyIdentity
case 15: self = .replyStatus
case 16: self = .replyModule
case 17: self = .replyMetadata
case 18: self = .replyReadings
default: self = .UNRECOGNIZED(rawValue)
}
}
var rawValue: Int {
switch self {
case .replyNone: return 0
case .replySuccess: return 1
case .replyBusy: return 2
case .replyError: return 3
case .replyCapabilities: return 4
case .replyLiveDataPoll: return 8
case .replySchedules: return 9
case .replyFiles: return 10
case .replyDownloadFile: return 11
case .replyReset: return 12
case .replyNetworkSettings: return 13
case .replyIdentity: return 14
case .replyStatus: return 15
case .replyModule: return 16
case .replyMetadata: return 17
case .replyReadings: return 18
case .UNRECOGNIZED(let i): return i
}
}
}
#if swift(>=4.2)
extension FkApp_ReplyType: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [FkApp_ReplyType] = [
.replyNone,
.replySuccess,
.replyBusy,
.replyError,
.replyCapabilities,
.replyLiveDataPoll,
.replySchedules,
.replyFiles,
.replyDownloadFile,
.replyReset,
.replyNetworkSettings,
.replyIdentity,
.replyStatus,
.replyModule,
.replyMetadata,
.replyReadings,
]
}
#endif // swift(>=4.2)
enum FkApp_DownloadFlags: SwiftProtobuf.Enum {
typealias RawValue = Int
case downloadFlagNone // = 0
case downloadFlagMetadataPrepend // = 1
case downloadFlagMetadataOnly // = 2
case UNRECOGNIZED(Int)
init() {
self = .downloadFlagNone
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .downloadFlagNone
case 1: self = .downloadFlagMetadataPrepend
case 2: self = .downloadFlagMetadataOnly
default: self = .UNRECOGNIZED(rawValue)
}
}
var rawValue: Int {
switch self {
case .downloadFlagNone: return 0
case .downloadFlagMetadataPrepend: return 1
case .downloadFlagMetadataOnly: return 2
case .UNRECOGNIZED(let i): return i
}
}
}
#if swift(>=4.2)
extension FkApp_DownloadFlags: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [FkApp_DownloadFlags] = [
.downloadFlagNone,
.downloadFlagMetadataPrepend,
.downloadFlagMetadataOnly,
]
}
#endif // swift(>=4.2)
enum FkApp_ModuleFlags: SwiftProtobuf.Enum {
typealias RawValue = Int
case moduleFlagNone // = 0
case moduleFlagInternal // = 1
case UNRECOGNIZED(Int)
init() {
self = .moduleFlagNone
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .moduleFlagNone
case 1: self = .moduleFlagInternal
default: self = .UNRECOGNIZED(rawValue)
}
}
var rawValue: Int {
switch self {
case .moduleFlagNone: return 0
case .moduleFlagInternal: return 1
case .UNRECOGNIZED(let i): return i
}
}
}
#if swift(>=4.2)
extension FkApp_ModuleFlags: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [FkApp_ModuleFlags] = [
.moduleFlagNone,
.moduleFlagInternal,
]
}
#endif // swift(>=4.2)
enum FkApp_SensorFlags: SwiftProtobuf.Enum {
typealias RawValue = Int
case sensorFlagNone // = 0
case UNRECOGNIZED(Int)
init() {
self = .sensorFlagNone
}
init?(rawValue: Int) {
switch rawValue {
case 0: self = .sensorFlagNone
default: self = .UNRECOGNIZED(rawValue)
}
}
var rawValue: Int {
switch self {
case .sensorFlagNone: return 0
case .UNRECOGNIZED(let i): return i
}
}
}
#if swift(>=4.2)
extension FkApp_SensorFlags: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
static var allCases: [FkApp_SensorFlags] = [
.sensorFlagNone,
]
}
#endif // swift(>=4.2)
struct FkApp_QueryCapabilities {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var version: UInt32 = 0
var callerTime: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_LiveValue {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var valid: Bool = false
var value: Float = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_SensorCapabilities {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var number: UInt32 {
get {return _storage._number}
set {_uniqueStorage()._number = newValue}
}
var module: UInt32 {
get {return _storage._module}
set {_uniqueStorage()._module = newValue}
}
var name: String {
get {return _storage._name}
set {_uniqueStorage()._name = newValue}
}
var frequency: UInt32 {
get {return _storage._frequency}
set {_uniqueStorage()._frequency = newValue}
}
var unitOfMeasure: String {
get {return _storage._unitOfMeasure}
set {_uniqueStorage()._unitOfMeasure = newValue}
}
/// v2
var path: String {
get {return _storage._path}
set {_uniqueStorage()._path = newValue}
}
var flags: UInt32 {
get {return _storage._flags}
set {_uniqueStorage()._flags = newValue}
}
var value: FkApp_LiveValue {
get {return _storage._value ?? FkApp_LiveValue()}
set {_uniqueStorage()._value = newValue}
}
/// Returns true if `value` has been explicitly set.
var hasValue: Bool {return _storage._value != nil}
/// Clears the value of `value`. Subsequent reads from it will return its default value.
mutating func clearValue() {_uniqueStorage()._value = nil}
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
fileprivate var _storage = _StorageClass.defaultInstance
}
struct FkApp_ModuleCapabilities {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var position: UInt32 = 0
var name: String = String()
var sensors: [FkApp_SensorCapabilities] = []
/// v2
var path: String = String()
var flags: UInt32 = 0
var id: Data = SwiftProtobuf.Internal.emptyData
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_Capabilities {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var version: UInt32 = 0
var deviceID: Data = SwiftProtobuf.Internal.emptyData
var name: String = String()
var modules: [FkApp_ModuleCapabilities] = []
var sensors: [FkApp_SensorCapabilities] = []
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_NetworkInfo {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var ssid: String = String()
var password: String = String()
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_NetworkSettings {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var createAccessPoint: Int32 = 0
var networks: [FkApp_NetworkInfo] = []
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_Firmware {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var git: String = String()
var build: String = String()
var number: String = String()
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_Identity {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var device: String = String()
var stream: String = String()
var deviceID: Data = SwiftProtobuf.Internal.emptyData
var firmware: String = String()
var build: String = String()
var number: String = String()
/// v2
var name: String = String()
var generation: Data = SwiftProtobuf.Internal.emptyData
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_ConfigureSensorQuery {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var id: UInt32 = 0
var frequency: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_LiveDataPoll {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var interval: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_LiveDataSample {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var sensor: UInt32 = 0
var time: UInt64 = 0
var value: Float = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_LiveData {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var samples: [FkApp_LiveDataSample] = []
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_File {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var id: UInt32 = 0
var time: UInt64 = 0
var size: UInt64 = 0
var version: UInt32 = 0
var name: String = String()
var maximum: UInt64 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_Files {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var files: [FkApp_File] = []
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_DownloadFile {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var id: UInt32 = 0
var offset: UInt32 = 0
var length: UInt32 = 0
var flags: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_EraseFile {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var id: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_FileData {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var offset: UInt32 = 0
var data: Data = SwiftProtobuf.Internal.emptyData
var size: UInt32 = 0
var hash: UInt32 = 0
var version: UInt32 = 0
var id: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_DeviceStatus {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var uptime: UInt32 = 0
var batteryPercentage: Float = 0
var batteryVoltage: Float = 0
var gpsHasFix: UInt32 = 0
var gpsSatellites: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_QueryModule {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var id: UInt32 = 0
var address: UInt32 = 0
var message: Data = SwiftProtobuf.Internal.emptyData
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_ModuleReply {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var id: UInt32 = 0
var address: UInt32 = 0
var message: Data = SwiftProtobuf.Internal.emptyData
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_WireMessageQuery {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var type: FkApp_QueryType {
get {return _storage._type}
set {_uniqueStorage()._type = newValue}
}
var queryCapabilities: FkApp_QueryCapabilities {
get {return _storage._queryCapabilities ?? FkApp_QueryCapabilities()}
set {_uniqueStorage()._queryCapabilities = newValue}
}
/// Returns true if `queryCapabilities` has been explicitly set.
var hasQueryCapabilities: Bool {return _storage._queryCapabilities != nil}
/// Clears the value of `queryCapabilities`. Subsequent reads from it will return its default value.
mutating func clearQueryCapabilities() {_uniqueStorage()._queryCapabilities = nil}
var configureSensor: FkApp_ConfigureSensorQuery {
get {return _storage._configureSensor ?? FkApp_ConfigureSensorQuery()}
set {_uniqueStorage()._configureSensor = newValue}
}
/// Returns true if `configureSensor` has been explicitly set.
var hasConfigureSensor: Bool {return _storage._configureSensor != nil}
/// Clears the value of `configureSensor`. Subsequent reads from it will return its default value.
mutating func clearConfigureSensor() {_uniqueStorage()._configureSensor = nil}
var liveDataPoll: FkApp_LiveDataPoll {
get {return _storage._liveDataPoll ?? FkApp_LiveDataPoll()}
set {_uniqueStorage()._liveDataPoll = newValue}
}
/// Returns true if `liveDataPoll` has been explicitly set.
var hasLiveDataPoll: Bool {return _storage._liveDataPoll != nil}
/// Clears the value of `liveDataPoll`. Subsequent reads from it will return its default value.
mutating func clearLiveDataPoll() {_uniqueStorage()._liveDataPoll = nil}
/// Schedules newSchedules = 9;
var downloadFile: FkApp_DownloadFile {
get {return _storage._downloadFile ?? FkApp_DownloadFile()}
set {_uniqueStorage()._downloadFile = newValue}
}
/// Returns true if `downloadFile` has been explicitly set.
var hasDownloadFile: Bool {return _storage._downloadFile != nil}
/// Clears the value of `downloadFile`. Subsequent reads from it will return its default value.
mutating func clearDownloadFile() {_uniqueStorage()._downloadFile = nil}
var eraseFile: FkApp_EraseFile {
get {return _storage._eraseFile ?? FkApp_EraseFile()}
set {_uniqueStorage()._eraseFile = newValue}
}
/// Returns true if `eraseFile` has been explicitly set.
var hasEraseFile: Bool {return _storage._eraseFile != nil}
/// Clears the value of `eraseFile`. Subsequent reads from it will return its default value.
mutating func clearEraseFile() {_uniqueStorage()._eraseFile = nil}
var networkSettings: FkApp_NetworkSettings {
get {return _storage._networkSettings ?? FkApp_NetworkSettings()}
set {_uniqueStorage()._networkSettings = newValue}
}
/// Returns true if `networkSettings` has been explicitly set.
var hasNetworkSettings: Bool {return _storage._networkSettings != nil}
/// Clears the value of `networkSettings`. Subsequent reads from it will return its default value.
mutating func clearNetworkSettings() {_uniqueStorage()._networkSettings = nil}
var identity: FkApp_Identity {
get {return _storage._identity ?? FkApp_Identity()}
set {_uniqueStorage()._identity = newValue}
}
/// Returns true if `identity` has been explicitly set.
var hasIdentity: Bool {return _storage._identity != nil}
/// Clears the value of `identity`. Subsequent reads from it will return its default value.
mutating func clearIdentity() {_uniqueStorage()._identity = nil}
var module: FkApp_QueryModule {
get {return _storage._module ?? FkApp_QueryModule()}
set {_uniqueStorage()._module = newValue}
}
/// Returns true if `module` has been explicitly set.
var hasModule: Bool {return _storage._module != nil}
/// Clears the value of `module`. Subsequent reads from it will return its default value.
mutating func clearModule() {_uniqueStorage()._module = nil}
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
fileprivate var _storage = _StorageClass.defaultInstance
}
struct FkApp_Error {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var message: String = String()
var delay: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_WireMessageReply {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var type: FkApp_ReplyType {
get {return _storage._type}
set {_uniqueStorage()._type = newValue}
}
var errors: [FkApp_Error] {
get {return _storage._errors}
set {_uniqueStorage()._errors = newValue}
}
var capabilities: FkApp_Capabilities {
get {return _storage._capabilities ?? FkApp_Capabilities()}
set {_uniqueStorage()._capabilities = newValue}
}
/// Returns true if `capabilities` has been explicitly set.
var hasCapabilities: Bool {return _storage._capabilities != nil}
/// Clears the value of `capabilities`. Subsequent reads from it will return its default value.
mutating func clearCapabilities() {_uniqueStorage()._capabilities = nil}
var liveData: FkApp_LiveData {
get {return _storage._liveData ?? FkApp_LiveData()}
set {_uniqueStorage()._liveData = newValue}
}
/// Returns true if `liveData` has been explicitly set.
var hasLiveData: Bool {return _storage._liveData != nil}
/// Clears the value of `liveData`. Subsequent reads from it will return its default value.
mutating func clearLiveData() {_uniqueStorage()._liveData = nil}
/// Schedules schedules = 7;
var files: FkApp_Files {
get {return _storage._files ?? FkApp_Files()}
set {_uniqueStorage()._files = newValue}
}
/// Returns true if `files` has been explicitly set.
var hasFiles: Bool {return _storage._files != nil}
/// Clears the value of `files`. Subsequent reads from it will return its default value.
mutating func clearFiles() {_uniqueStorage()._files = nil}
var fileData: FkApp_FileData {
get {return _storage._fileData ?? FkApp_FileData()}
set {_uniqueStorage()._fileData = newValue}
}
/// Returns true if `fileData` has been explicitly set.
var hasFileData: Bool {return _storage._fileData != nil}
/// Clears the value of `fileData`. Subsequent reads from it will return its default value.
mutating func clearFileData() {_uniqueStorage()._fileData = nil}
var networkSettings: FkApp_NetworkSettings {
get {return _storage._networkSettings ?? FkApp_NetworkSettings()}
set {_uniqueStorage()._networkSettings = newValue}
}
/// Returns true if `networkSettings` has been explicitly set.
var hasNetworkSettings: Bool {return _storage._networkSettings != nil}
/// Clears the value of `networkSettings`. Subsequent reads from it will return its default value.
mutating func clearNetworkSettings() {_uniqueStorage()._networkSettings = nil}
var identity: FkApp_Identity {
get {return _storage._identity ?? FkApp_Identity()}
set {_uniqueStorage()._identity = newValue}
}
/// Returns true if `identity` has been explicitly set.
var hasIdentity: Bool {return _storage._identity != nil}
/// Clears the value of `identity`. Subsequent reads from it will return its default value.
mutating func clearIdentity() {_uniqueStorage()._identity = nil}
var status: FkApp_DeviceStatus {
get {return _storage._status ?? FkApp_DeviceStatus()}
set {_uniqueStorage()._status = newValue}
}
/// Returns true if `status` has been explicitly set.
var hasStatus: Bool {return _storage._status != nil}
/// Clears the value of `status`. Subsequent reads from it will return its default value.
mutating func clearStatus() {_uniqueStorage()._status = nil}
var module: FkApp_ModuleReply {
get {return _storage._module ?? FkApp_ModuleReply()}
set {_uniqueStorage()._module = newValue}
}
/// Returns true if `module` has been explicitly set.
var hasModule: Bool {return _storage._module != nil}
/// Clears the value of `module`. Subsequent reads from it will return its default value.
mutating func clearModule() {_uniqueStorage()._module = nil}
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
fileprivate var _storage = _StorageClass.defaultInstance
}
struct FkApp_Schedule {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var cron: Data = SwiftProtobuf.Internal.emptyData
var interval: UInt32 = 0
var unknownFields = SwiftProtobuf.UnknownStorage()
init() {}
}
struct FkApp_Schedules {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
var modifying: Bool {
get {return _storage._modifying}
set {_uniqueStorage()._modifying = newValue}
}
var readings: FkApp_Schedule {
get {return _storage._readings ?? FkApp_Schedule()}
set {_uniqueStorage()._readings = newValue}
}
/// Returns true if `readings` has been explicitly set.
var hasReadings: Bool {return _storage._readings != nil}
/// Clears the value of `readings`. Subsequent reads from it will return its default value.
mutating func clearReadings() {_uniqueStorage()._readings = nil}
var lora: FkApp_Schedule {
get {return _storage._lora ?? FkApp_Schedule()}
set {_uniqueStorage()._lora = newValue}
}
/// Returns true if `lora` has been explicitly set.
var hasLora: Bool {return _storage._lora != nil}
/// Clears the value of `lora`. Subsequent reads from it will return its default value.
mutating func clearLora() {_uniqueStorage()._lora = nil}
var network: FkApp_Schedule {
get {return _storage._network ?? FkApp_Schedule()}
set {_uniqueStorage()._network = newValue}
}
/// Returns true if `network` has been explicitly set.
var hasNetwork: Bool {return _storage._network != nil}
/// Clears the value of `network`. Subsequent reads from it will return its default value.
mutating func clearNetwork() {_uniqueStorage()._network = nil}
var gps: FkApp_Schedule {
get {return _storage._gps ?? FkApp_Schedule()}