@science-corporation/synapse 2.2.3 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1662 +1,1662 @@
1
1
  {
2
- "nested": {
3
- "synapse": {
4
- "nested": {
5
- "FunctionProfile": {
6
- "fields": {
7
- "name": {
8
- "type": "string",
9
- "id": 1
10
- },
11
- "callCount": {
12
- "type": "uint64",
13
- "id": 2
14
- },
15
- "minDurationNs": {
16
- "type": "uint64",
17
- "id": 3
18
- },
19
- "maxDurationNs": {
20
- "type": "uint64",
21
- "id": 4
22
- },
23
- "averageDurationNs": {
24
- "type": "uint64",
25
- "id": 5
26
- },
27
- "medianDurationNs": {
28
- "type": "uint64",
29
- "id": 6
30
- },
31
- "p99DurationNs": {
32
- "type": "uint64",
33
- "id": 7
34
- },
35
- "latestDurationNs": {
36
- "type": "uint64",
37
- "id": 8
38
- }
39
- }
40
- },
41
- "NodeType": {
42
- "values": {
43
- "kNodeTypeUnknown": 0,
44
- "kBroadbandSource": 3,
45
- "kElectricalStimulation": 4,
46
- "kOpticalStimulation": 5,
47
- "kSpikeDetector": 6,
48
- "kSpikeSource": 7,
49
- "kSpectralFilter": 8,
50
- "kDiskWriter": 9,
51
- "kSpikeBinner": 10,
52
- "kApplication": 11
53
- },
54
- "reserved": [
55
- [
56
- 1,
57
- 1
58
- ],
59
- [
60
- 2,
61
- 2
62
- ]
63
- ]
64
- },
65
- "NodeConfig": {
66
- "oneofs": {
67
- "config": {
68
- "oneof": [
69
- "broadbandSource",
70
- "electricalStimulation",
71
- "opticalStimulation",
72
- "spikeDetector",
73
- "spectralFilter",
74
- "diskWriter",
75
- "spikeSource",
76
- "spikeBinner",
77
- "application"
78
- ]
79
- }
80
- },
81
- "fields": {
82
- "type": {
83
- "type": "NodeType",
84
- "id": 1
85
- },
86
- "id": {
87
- "type": "uint32",
88
- "id": 2
89
- },
90
- "broadbandSource": {
91
- "type": "BroadbandSourceConfig",
92
- "id": 5
93
- },
94
- "electricalStimulation": {
95
- "type": "ElectricalStimulationConfig",
96
- "id": 6
97
- },
98
- "opticalStimulation": {
99
- "type": "OpticalStimulationConfig",
100
- "id": 8
101
- },
102
- "spikeDetector": {
103
- "type": "SpikeDetectorConfig",
104
- "id": 9
105
- },
106
- "spectralFilter": {
107
- "type": "SpectralFilterConfig",
108
- "id": 10
109
- },
110
- "diskWriter": {
111
- "type": "DiskWriterConfig",
112
- "id": 11
113
- },
114
- "spikeSource": {
115
- "type": "SpikeSourceConfig",
116
- "id": 12
117
- },
118
- "spikeBinner": {
119
- "type": "SpikeBinnerConfig",
120
- "id": 13
121
- },
122
- "application": {
123
- "type": "ApplicationNodeConfig",
124
- "id": 14
125
- }
126
- },
127
- "reserved": [
128
- [
129
- 3,
130
- 3
131
- ],
132
- [
133
- 4,
134
- 4
135
- ]
136
- ]
137
- },
138
- "NodeStatus": {
139
- "oneofs": {
140
- "status": {
141
- "oneof": [
142
- "broadbandSource",
143
- "electricalStimulation",
144
- "application",
145
- "opticalStimulation",
146
- "diskWriter"
147
- ]
148
- }
149
- },
150
- "fields": {
151
- "type": {
152
- "type": "NodeType",
153
- "id": 1
154
- },
155
- "id": {
156
- "type": "uint32",
157
- "id": 2
158
- },
159
- "broadbandSource": {
160
- "type": "BroadbandSourceStatus",
161
- "id": 4
162
- },
163
- "electricalStimulation": {
164
- "type": "ElectricalStimulationStatus",
165
- "id": 6
166
- },
167
- "application": {
168
- "type": "ApplicationNodeStatus",
169
- "id": 7
170
- },
171
- "opticalStimulation": {
172
- "type": "OpticalStimulationStatus",
173
- "id": 8
174
- },
175
- "diskWriter": {
176
- "type": "DiskWriterStatus",
177
- "id": 10
178
- }
179
- },
180
- "reserved": [
181
- [
182
- 3,
183
- 3
184
- ],
185
- [
186
- 5,
187
- 5
188
- ]
189
- ]
190
- },
191
- "NodeConnection": {
192
- "fields": {
193
- "srcNodeId": {
194
- "type": "uint32",
195
- "id": 1
196
- },
197
- "dstNodeId": {
198
- "type": "uint32",
199
- "id": 2
200
- }
201
- }
202
- },
203
- "BroadbandSourceConfig": {
204
- "fields": {
205
- "peripheralId": {
206
- "type": "uint32",
207
- "id": 1
208
- },
209
- "bitWidth": {
210
- "type": "uint32",
211
- "id": 2
212
- },
213
- "sampleRateHz": {
214
- "type": "uint32",
215
- "id": 3
216
- },
217
- "gain": {
218
- "type": "float",
219
- "id": 4
220
- },
221
- "signal": {
222
- "type": "SignalConfig",
223
- "id": 5
224
- }
225
- }
226
- },
227
- "BroadbandSourceStatus": {
228
- "fields": {
229
- "status": {
230
- "type": "SignalStatus",
231
- "id": 1
232
- }
233
- }
234
- },
235
- "ElectrodeConfig": {
236
- "fields": {
237
- "channels": {
238
- "rule": "repeated",
239
- "type": "Channel",
240
- "id": 1
241
- },
242
- "lowCutoffHz": {
243
- "type": "float",
244
- "id": 2
245
- },
246
- "highCutoffHz": {
247
- "type": "float",
248
- "id": 3
249
- }
250
- }
251
- },
252
- "PixelConfig": {
253
- "fields": {
254
- "pixelMask": {
255
- "rule": "repeated",
256
- "type": "uint32",
257
- "id": 1
258
- }
259
- }
260
- },
261
- "SignalConfig": {
262
- "oneofs": {
263
- "signalType": {
264
- "oneof": [
265
- "electrode",
266
- "pixel"
267
- ]
268
- }
269
- },
270
- "fields": {
271
- "electrode": {
272
- "type": "ElectrodeConfig",
273
- "id": 1
274
- },
275
- "pixel": {
276
- "type": "PixelConfig",
277
- "id": 2
278
- }
279
- }
280
- },
281
- "ChannelType": {
282
- "values": {
283
- "ELECTRODE": 0,
284
- "GPIO": 1
285
- }
286
- },
287
- "Channel": {
288
- "fields": {
289
- "id": {
290
- "type": "uint32",
291
- "id": 1
292
- },
293
- "electrodeId": {
294
- "type": "uint32",
295
- "id": 2
296
- },
297
- "referenceId": {
298
- "type": "uint32",
299
- "id": 3
300
- },
301
- "type": {
302
- "type": "ChannelType",
303
- "id": 4
304
- }
305
- }
306
- },
307
- "ChannelRange": {
308
- "fields": {
309
- "type": {
310
- "type": "ChannelType",
311
- "id": 1
312
- },
313
- "count": {
314
- "type": "uint32",
315
- "id": 2
316
- },
317
- "channelIds": {
318
- "rule": "repeated",
319
- "type": "uint32",
320
- "id": 3
321
- }
322
- }
323
- },
324
- "ElectrodeStatus": {
325
- "fields": {
326
- "lsbUV": {
327
- "type": "float",
328
- "id": 1
329
- }
330
- }
331
- },
332
- "PixelStatus": {
333
- "fields": {}
334
- },
335
- "SignalStatus": {
336
- "oneofs": {
337
- "signalType": {
338
- "oneof": [
339
- "electrode",
340
- "pixel"
341
- ]
342
- }
343
- },
344
- "fields": {
345
- "electrode": {
346
- "type": "ElectrodeStatus",
347
- "id": 1
348
- },
349
- "pixel": {
350
- "type": "PixelStatus",
351
- "id": 2
352
- }
353
- }
354
- },
355
- "ElectricalStimulationConfig": {
356
- "fields": {
357
- "peripheralId": {
358
- "type": "uint32",
359
- "id": 1
360
- },
361
- "channels": {
362
- "rule": "repeated",
363
- "type": "Channel",
364
- "id": 2
365
- },
366
- "bitWidth": {
367
- "type": "uint32",
368
- "id": 3
369
- },
370
- "sampleRate": {
371
- "type": "uint32",
372
- "id": 4
373
- },
374
- "lsb": {
375
- "type": "uint32",
376
- "id": 5
377
- }
378
- }
379
- },
380
- "ElectricalStimulationStatus": {
381
- "fields": {
382
- "lsbUV": {
383
- "type": "float",
384
- "id": 1
385
- }
386
- }
387
- },
388
- "OpticalStimulationConfig": {
389
- "fields": {
390
- "peripheralId": {
391
- "type": "uint32",
392
- "id": 1
393
- },
394
- "pixelMask": {
395
- "rule": "repeated",
396
- "type": "uint32",
397
- "id": 2
398
- },
399
- "bitWidth": {
400
- "type": "uint32",
401
- "id": 3
402
- },
403
- "frameRate": {
404
- "type": "uint32",
405
- "id": 4
406
- },
407
- "gain": {
408
- "type": "float",
409
- "id": 5
410
- },
411
- "sendReceipts": {
412
- "type": "bool",
413
- "id": 6
414
- }
415
- }
416
- },
417
- "OpticalStimFrame": {
418
- "fields": {
419
- "frameId": {
420
- "type": "uint64",
421
- "id": 1
422
- },
423
- "sequenceNumber": {
424
- "type": "uint64",
425
- "id": 2
426
- },
427
- "timestampNs": {
428
- "type": "uint64",
429
- "id": 3
430
- },
431
- "rows": {
432
- "type": "uint32",
433
- "id": 4
434
- },
435
- "columns": {
436
- "type": "uint32",
437
- "id": 5
438
- },
439
- "intensity": {
440
- "rule": "repeated",
441
- "type": "float",
442
- "id": 6
443
- },
444
- "durationUs": {
445
- "type": "uint64",
446
- "id": 7
447
- }
448
- }
449
- },
450
- "OpticalStimulationStatus": {
451
- "fields": {
452
- "framesWritten": {
453
- "type": "uint64",
454
- "id": 1
455
- }
456
- }
457
- },
458
- "TemplateMatcher": {
459
- "fields": {
460
- "templateUV": {
461
- "rule": "repeated",
462
- "type": "uint32",
463
- "id": 1
464
- }
465
- }
466
- },
467
- "Thresholder": {
468
- "fields": {
469
- "thresholdUV": {
470
- "type": "uint32",
471
- "id": 1
472
- }
473
- }
474
- },
475
- "SpikeDetectorConfig": {
476
- "oneofs": {
477
- "config": {
478
- "oneof": [
479
- "thresholder",
480
- "templateMatcher"
481
- ]
482
- }
483
- },
484
- "fields": {
485
- "thresholder": {
486
- "type": "Thresholder",
487
- "id": 1
488
- },
489
- "templateMatcher": {
490
- "type": "TemplateMatcher",
491
- "id": 2
492
- },
493
- "samplesPerSpike": {
494
- "type": "uint32",
495
- "id": 3
496
- }
497
- }
498
- },
499
- "SpectralFilterMethod": {
500
- "values": {
501
- "kSpectralFilterUnknown": 0,
502
- "kLowPass": 1,
503
- "kHighPass": 2,
504
- "kBandPass": 3,
505
- "kBandStop": 4
506
- }
507
- },
508
- "SpectralFilterConfig": {
509
- "fields": {
510
- "method": {
511
- "type": "SpectralFilterMethod",
512
- "id": 1
513
- },
514
- "lowCutoffHz": {
515
- "type": "float",
516
- "id": 2
517
- },
518
- "highCutoffHz": {
519
- "type": "float",
520
- "id": 3
521
- }
522
- }
523
- },
524
- "DiskWriterConfig": {
525
- "fields": {
526
- "filename": {
527
- "type": "string",
528
- "id": 1
529
- }
530
- }
531
- },
532
- "DiskWriterStatus": {
533
- "fields": {
534
- "outputPath": {
535
- "type": "string",
536
- "id": 1
537
- },
538
- "bytesWritten": {
539
- "type": "uint64",
540
- "id": 2
541
- },
542
- "isWriting": {
543
- "type": "bool",
544
- "id": 3
545
- },
546
- "availableDiskSpaceBytes": {
547
- "type": "uint64",
548
- "id": 4
549
- },
550
- "currentBitrateMbps": {
551
- "type": "float",
552
- "id": 5
553
- }
554
- }
555
- },
556
- "SpikeSourceConfig": {
557
- "fields": {
558
- "peripheralId": {
559
- "type": "uint32",
560
- "id": 1
561
- },
562
- "sampleRateHz": {
563
- "type": "uint32",
564
- "id": 2
565
- },
566
- "spikeWindowMs": {
567
- "type": "float",
568
- "id": 3
569
- },
570
- "gain": {
571
- "type": "float",
572
- "id": 4
573
- },
574
- "thresholdUV": {
575
- "type": "float",
576
- "id": 5
577
- },
578
- "electrodes": {
579
- "type": "ElectrodeConfig",
580
- "id": 6
581
- }
582
- }
583
- },
584
- "SpikeBinnerConfig": {
585
- "fields": {
586
- "binSizeMs": {
587
- "type": "uint32",
588
- "id": 1
589
- }
590
- }
591
- },
592
- "ApplicationNodeConfig": {
593
- "fields": {
594
- "name": {
595
- "type": "string",
596
- "id": 1
597
- },
598
- "parameters": {
599
- "keyType": "string",
600
- "type": "google.protobuf.Value",
601
- "id": 2
602
- }
603
- }
604
- },
605
- "ApplicationNodeStatus": {
606
- "fields": {
607
- "name": {
608
- "type": "string",
609
- "id": 1
610
- },
611
- "running": {
612
- "type": "bool",
613
- "id": 2
614
- },
615
- "errorLogs": {
616
- "type": "string",
617
- "id": 3
618
- }
619
- }
620
- },
621
- "TimeSyncPacket": {
622
- "fields": {
623
- "clientId": {
624
- "type": "fixed32",
625
- "id": 1
626
- },
627
- "sequence": {
628
- "type": "fixed32",
629
- "id": 2
630
- },
631
- "clientSendTimeNs": {
632
- "type": "fixed64",
633
- "id": 3
634
- },
635
- "serverReceiveTimeNs": {
636
- "type": "fixed64",
637
- "id": 4
638
- },
639
- "serverSendTimeNs": {
640
- "type": "fixed64",
641
- "id": 5
642
- },
643
- "clientReceiveTimeNs": {
644
- "type": "fixed64",
645
- "id": 6
646
- }
647
- }
648
- },
649
- "TimeSource": {
650
- "values": {
651
- "TIME_SOURCE_UNKNOWN": 0,
652
- "TIME_SOURCE_STEADY_CLOCK": 1,
653
- "TIME_SOURCE_SAMPLE_COUNTER": 2
654
- }
655
- },
656
- "DataType": {
657
- "values": {
658
- "kDataTypeUnknown": 0,
659
- "kAny": 1,
660
- "kBroadband": 2,
661
- "kSpiketrain": 3,
662
- "kTimestamps": 4,
663
- "kImage": 5,
664
- "kWaveforms": 6
665
- }
666
- },
667
- "Tensor": {
668
- "fields": {
669
- "timestampNs": {
670
- "type": "uint64",
671
- "id": 1
672
- },
673
- "shape": {
674
- "rule": "repeated",
675
- "type": "int32",
676
- "id": 2
677
- },
678
- "dtype": {
679
- "type": "DType",
680
- "id": 3
681
- },
682
- "endianness": {
683
- "type": "Endianness",
684
- "id": 4
685
- },
686
- "data": {
687
- "type": "bytes",
688
- "id": 5
689
- }
690
- },
691
- "nested": {
692
- "DType": {
693
- "values": {
694
- "DT_INVALID": 0,
695
- "DT_FLOAT": 1,
696
- "DT_DOUBLE": 2,
697
- "DT_UINT8": 3,
698
- "DT_UINT16": 4,
699
- "DT_UINT32": 5,
700
- "DT_UINT64": 6,
701
- "DT_INT8": 7,
702
- "DT_INT16": 8,
703
- "DT_INT32": 9,
704
- "DT_INT64": 10,
705
- "DT_BOOL": 11
706
- }
707
- },
708
- "Endianness": {
709
- "values": {
710
- "TENSOR_LITTLE_ENDIAN": 0,
711
- "TENSOR_BIG_ENDIAN": 1
712
- }
713
- }
714
- }
715
- },
716
- "BroadbandFrame": {
717
- "fields": {
718
- "timestampNs": {
719
- "type": "uint64",
720
- "id": 1
721
- },
722
- "sequenceNumber": {
723
- "type": "uint64",
724
- "id": 2
725
- },
726
- "frameData": {
727
- "rule": "repeated",
728
- "type": "sint32",
729
- "id": 3
730
- },
731
- "sampleRateHz": {
732
- "type": "uint32",
733
- "id": 4
734
- },
735
- "channelRanges": {
736
- "rule": "repeated",
737
- "type": "ChannelRange",
738
- "id": 5
739
- },
740
- "unixTimestampNs": {
741
- "type": "uint64",
742
- "id": 6
743
- }
744
- }
745
- },
746
- "Timeseries": {
747
- "fields": {
748
- "id": {
749
- "type": "uint32",
750
- "id": 1
751
- },
752
- "datapoints": {
753
- "rule": "repeated",
754
- "type": "Datapoint",
755
- "id": 2
756
- }
757
- },
758
- "nested": {
759
- "Datapoint": {
760
- "fields": {
761
- "timestampNs": {
762
- "type": "uint64",
763
- "id": 1
764
- },
765
- "sample": {
766
- "type": "sint32",
767
- "id": 2
768
- }
769
- }
770
- }
771
- }
772
- },
773
- "AnnotatedTensor": {
774
- "fields": {
775
- "tensor": {
776
- "type": "Tensor",
777
- "id": 1
778
- },
779
- "metadata": {
780
- "keyType": "string",
781
- "type": "google.protobuf.Value",
782
- "id": 2
783
- }
784
- }
785
- },
786
- "SampleQuery": {
787
- "fields": {
788
- "channels": {
789
- "rule": "repeated",
790
- "type": "Channel",
791
- "id": 1
792
- },
793
- "sampleCount": {
794
- "type": "uint32",
795
- "id": 2
796
- }
797
- }
798
- },
799
- "ImpedanceQuery": {
800
- "fields": {
801
- "electrodeIds": {
802
- "rule": "repeated",
803
- "type": "uint32",
804
- "id": 1
805
- }
806
- }
807
- },
808
- "SelfTestQuery": {
809
- "fields": {
810
- "peripheralId": {
811
- "type": "uint32",
812
- "id": 1
813
- }
814
- }
815
- },
816
- "ImpedanceMeasurement": {
817
- "fields": {
818
- "electrodeId": {
819
- "type": "uint32",
820
- "id": 1
821
- },
822
- "magnitude": {
823
- "type": "float",
824
- "id": 2
825
- },
826
- "phase": {
827
- "type": "float",
828
- "id": 3
829
- }
830
- }
831
- },
832
- "ImpedanceResponse": {
833
- "fields": {
834
- "measurements": {
835
- "rule": "repeated",
836
- "type": "ImpedanceMeasurement",
837
- "id": 1
838
- }
839
- }
840
- },
841
- "SelfTestItem": {
842
- "fields": {
843
- "testName": {
844
- "type": "string",
845
- "id": 1
846
- },
847
- "passed": {
848
- "type": "bool",
849
- "id": 2
850
- },
851
- "testData": {
852
- "rule": "repeated",
853
- "type": "uint32",
854
- "id": 3
855
- },
856
- "testReport": {
857
- "type": "string",
858
- "id": 4
859
- }
860
- }
861
- },
862
- "SelfTestResponse": {
863
- "fields": {
864
- "allPassed": {
865
- "type": "bool",
866
- "id": 1
867
- },
868
- "tests": {
869
- "rule": "repeated",
870
- "type": "SelfTestItem",
871
- "id": 2
872
- }
873
- }
874
- },
875
- "QueryRequest": {
876
- "oneofs": {
877
- "query": {
878
- "oneof": [
879
- "impedanceQuery",
880
- "sampleQuery",
881
- "selfTestQuery",
882
- "listTapsQuery",
883
- "getSettingsQuery"
884
- ]
885
- }
886
- },
887
- "fields": {
888
- "queryType": {
889
- "type": "QueryType",
890
- "id": 1
891
- },
892
- "impedanceQuery": {
893
- "type": "ImpedanceQuery",
894
- "id": 2
895
- },
896
- "sampleQuery": {
897
- "type": "SampleQuery",
898
- "id": 3
899
- },
900
- "selfTestQuery": {
901
- "type": "SelfTestQuery",
902
- "id": 4
903
- },
904
- "listTapsQuery": {
905
- "type": "ListTapsQuery",
906
- "id": 5
907
- },
908
- "getSettingsQuery": {
909
- "type": "GetSettingsQuery",
910
- "id": 6
911
- }
912
- },
913
- "nested": {
914
- "QueryType": {
915
- "values": {
916
- "kNone": 0,
917
- "kImpedance": 1,
918
- "kSample": 2,
919
- "kSelfTest": 3,
920
- "kListTaps": 4,
921
- "kGetSettings": 5
922
- }
923
- }
924
- }
925
- },
926
- "StreamQueryRequest": {
927
- "fields": {
928
- "request": {
929
- "type": "QueryRequest",
930
- "id": 1
931
- }
932
- }
933
- },
934
- "QueryResponse": {
935
- "oneofs": {
936
- "response": {
937
- "oneof": [
938
- "impedanceResponse",
939
- "selfTestResponse",
940
- "listTapsResponse",
941
- "getSettingsResponse"
942
- ]
943
- }
944
- },
945
- "fields": {
946
- "status": {
947
- "type": "Status",
948
- "id": 1
949
- },
950
- "data": {
951
- "rule": "repeated",
952
- "type": "uint32",
953
- "id": 2
954
- },
955
- "impedanceResponse": {
956
- "type": "ImpedanceResponse",
957
- "id": 3
958
- },
959
- "selfTestResponse": {
960
- "type": "SelfTestResponse",
961
- "id": 4
962
- },
963
- "listTapsResponse": {
964
- "type": "ListTapsResponse",
965
- "id": 5
966
- },
967
- "getSettingsResponse": {
968
- "type": "GetSettingsResponse",
969
- "id": 6
970
- }
971
- }
972
- },
973
- "StreamQueryResponse": {
974
- "oneofs": {
975
- "response": {
976
- "oneof": [
977
- "impedance",
978
- "selfTest"
979
- ]
980
- }
981
- },
982
- "fields": {
983
- "code": {
984
- "type": "StatusCode",
985
- "id": 1
986
- },
987
- "message": {
988
- "type": "string",
989
- "id": 2
990
- },
991
- "timestampNs": {
992
- "type": "uint64",
993
- "id": 3
994
- },
995
- "impedance": {
996
- "type": "ImpedanceResponse",
997
- "id": 4
998
- },
999
- "selfTest": {
1000
- "type": "SelfTestResponse",
1001
- "id": 5
1002
- }
1003
- }
1004
- },
1005
- "StatusCode": {
1006
- "values": {
1007
- "kOk": 0,
1008
- "kUndefinedError": 1,
1009
- "kInvalidConfiguration": 2,
1010
- "kFailedPrecondition": 3,
1011
- "kUnimplemented": 4,
1012
- "kInternalError": 5,
1013
- "kPermissionDenied": 6,
1014
- "kQueryFailed": 7
1015
- }
1016
- },
1017
- "DeviceState": {
1018
- "values": {
1019
- "kUnknown": 0,
1020
- "kInitializing": 1,
1021
- "kStopped": 2,
1022
- "kRunning": 3,
1023
- "kError": 4
1024
- }
1025
- },
1026
- "DeviceStorage": {
1027
- "fields": {
1028
- "totalGb": {
1029
- "type": "float",
1030
- "id": 1
1031
- },
1032
- "usedGb": {
1033
- "type": "float",
1034
- "id": 2
1035
- }
1036
- }
1037
- },
1038
- "DevicePower": {
1039
- "fields": {
1040
- "batteryLevelPercent": {
1041
- "type": "float",
1042
- "id": 1
1043
- },
1044
- "isCharging": {
1045
- "type": "bool",
1046
- "id": 2
1047
- }
1048
- }
1049
- },
1050
- "SignalChainStatus": {
1051
- "fields": {
1052
- "nodes": {
1053
- "rule": "repeated",
1054
- "type": "NodeStatus",
1055
- "id": 1
1056
- }
1057
- }
1058
- },
1059
- "Status": {
1060
- "fields": {
1061
- "message": {
1062
- "type": "string",
1063
- "id": 1
1064
- },
1065
- "code": {
1066
- "type": "StatusCode",
1067
- "id": 2
1068
- },
1069
- "state": {
1070
- "type": "DeviceState",
1071
- "id": 3
1072
- },
1073
- "power": {
1074
- "type": "DevicePower",
1075
- "id": 5
1076
- },
1077
- "storage": {
1078
- "type": "DeviceStorage",
1079
- "id": 6
1080
- },
1081
- "signalChain": {
1082
- "type": "SignalChainStatus",
1083
- "id": 7
1084
- },
1085
- "timeSyncPort": {
1086
- "type": "uint32",
1087
- "id": 8
1088
- }
1089
- },
1090
- "reserved": [
1091
- [
1092
- 4,
1093
- 4
1094
- ]
1095
- ]
1096
- },
1097
- "TapType": {
1098
- "values": {
1099
- "TAP_TYPE_UNSPECIFIED": 0,
1100
- "TAP_TYPE_PRODUCER": 1,
1101
- "TAP_TYPE_CONSUMER": 2
1102
- }
1103
- },
1104
- "TapConnection": {
1105
- "fields": {
1106
- "name": {
1107
- "type": "string",
1108
- "id": 1
1109
- },
1110
- "endpoint": {
1111
- "type": "string",
1112
- "id": 2
1113
- },
1114
- "messageType": {
1115
- "type": "string",
1116
- "id": 3
1117
- },
1118
- "tapType": {
1119
- "type": "TapType",
1120
- "id": 4
1121
- }
1122
- }
1123
- },
1124
- "ListTapsQuery": {
1125
- "fields": {}
1126
- },
1127
- "ListTapsResponse": {
1128
- "fields": {
1129
- "taps": {
1130
- "rule": "repeated",
1131
- "type": "TapConnection",
1132
- "id": 1
1133
- }
1134
- }
1135
- },
1136
- "Peripheral": {
1137
- "fields": {
1138
- "name": {
1139
- "type": "string",
1140
- "id": 1
1141
- },
1142
- "vendor": {
1143
- "type": "string",
1144
- "id": 2
1145
- },
1146
- "peripheralId": {
1147
- "type": "uint32",
1148
- "id": 3
1149
- },
1150
- "type": {
1151
- "type": "Type",
1152
- "id": 4
1153
- },
1154
- "address": {
1155
- "type": "string",
1156
- "id": 5
1157
- }
1158
- },
1159
- "nested": {
1160
- "Type": {
1161
- "values": {
1162
- "kUnknown": 0,
1163
- "kBroadbandSource": 1,
1164
- "kElectricalStimulation": 2,
1165
- "kOpticalStimulation": 3,
1166
- "kSpikeSource": 4
1167
- }
1168
- }
1169
- }
1170
- },
1171
- "DeviceInfo": {
1172
- "fields": {
1173
- "name": {
1174
- "type": "string",
1175
- "id": 1
1176
- },
1177
- "serial": {
1178
- "type": "string",
1179
- "id": 2
1180
- },
1181
- "synapseVersion": {
1182
- "type": "uint32",
1183
- "id": 3
1184
- },
1185
- "firmwareVersion": {
1186
- "type": "uint32",
1187
- "id": 4
1188
- },
1189
- "status": {
1190
- "type": "Status",
1191
- "id": 5
1192
- },
1193
- "peripherals": {
1194
- "rule": "repeated",
1195
- "type": "Peripheral",
1196
- "id": 6
1197
- },
1198
- "configuration": {
1199
- "type": "DeviceConfiguration",
1200
- "id": 7
1201
- }
1202
- }
1203
- },
1204
- "DeviceConfiguration": {
1205
- "fields": {
1206
- "nodes": {
1207
- "rule": "repeated",
1208
- "type": "NodeConfig",
1209
- "id": 1
1210
- },
1211
- "connections": {
1212
- "rule": "repeated",
1213
- "type": "NodeConnection",
1214
- "id": 2
1215
- }
1216
- }
1217
- },
1218
- "DeviceSettings": {
1219
- "fields": {
1220
- "name": {
1221
- "type": "string",
1222
- "id": 1
1223
- },
1224
- "timeSource": {
1225
- "type": "TimeSource",
1226
- "id": 2
1227
- },
1228
- "fpgaClockFreqHz": {
1229
- "type": "uint32",
1230
- "id": 3
1231
- }
1232
- }
1233
- },
1234
- "GetSettingsQuery": {
1235
- "fields": {}
1236
- },
1237
- "GetSettingsResponse": {
1238
- "fields": {
1239
- "settings": {
1240
- "type": "DeviceSettings",
1241
- "id": 1
1242
- }
1243
- }
1244
- },
1245
- "UpdateDeviceSettingsRequest": {
1246
- "fields": {
1247
- "settings": {
1248
- "type": "DeviceSettings",
1249
- "id": 1
1250
- }
1251
- }
1252
- },
1253
- "UpdateDeviceSettingsResponse": {
1254
- "fields": {
1255
- "status": {
1256
- "type": "Status",
1257
- "id": 1
1258
- },
1259
- "updatedSettings": {
1260
- "type": "DeviceSettings",
1261
- "id": 2
1262
- }
1263
- }
1264
- },
1265
- "SynapseDevice": {
1266
- "methods": {
1267
- "Info": {
1268
- "requestType": "google.protobuf.Empty",
1269
- "responseType": "DeviceInfo"
1270
- },
1271
- "Configure": {
1272
- "requestType": "DeviceConfiguration",
1273
- "responseType": "Status"
1274
- },
1275
- "Start": {
1276
- "requestType": "google.protobuf.Empty",
1277
- "responseType": "Status"
1278
- },
1279
- "Stop": {
1280
- "requestType": "google.protobuf.Empty",
1281
- "responseType": "Status"
1282
- },
1283
- "Query": {
1284
- "requestType": "QueryRequest",
1285
- "responseType": "QueryResponse"
1286
- },
1287
- "StreamQuery": {
1288
- "requestType": "StreamQueryRequest",
1289
- "responseType": "StreamQueryResponse",
1290
- "responseStream": true
1291
- },
1292
- "DeployApp": {
1293
- "requestType": "AppPackageChunk",
1294
- "requestStream": true,
1295
- "responseType": "AppDeployResponse",
1296
- "responseStream": true
1297
- },
1298
- "ListFiles": {
1299
- "requestType": "google.protobuf.Empty",
1300
- "responseType": "ListFilesResponse"
1301
- },
1302
- "WriteFile": {
1303
- "requestType": "WriteFileRequest",
1304
- "responseType": "WriteFileResponse"
1305
- },
1306
- "ReadFile": {
1307
- "requestType": "ReadFileRequest",
1308
- "responseType": "ReadFileResponse",
1309
- "responseStream": true
1310
- },
1311
- "DeleteFile": {
1312
- "requestType": "DeleteFileRequest",
1313
- "responseType": "DeleteFileResponse"
1314
- },
1315
- "GetLogs": {
1316
- "requestType": "LogQueryRequest",
1317
- "responseType": "LogQueryResponse"
1318
- },
1319
- "TailLogs": {
1320
- "requestType": "TailLogsRequest",
1321
- "responseType": "LogEntry",
1322
- "responseStream": true
1323
- },
1324
- "UpdateDeviceSettings": {
1325
- "requestType": "UpdateDeviceSettingsRequest",
1326
- "responseType": "UpdateDeviceSettingsResponse"
1327
- }
1328
- }
1329
- },
1330
- "ListFilesResponse": {
1331
- "fields": {
1332
- "files": {
1333
- "rule": "repeated",
1334
- "type": "File",
1335
- "id": 1
1336
- }
1337
- },
1338
- "nested": {
1339
- "File": {
1340
- "fields": {
1341
- "name": {
1342
- "type": "string",
1343
- "id": 1
1344
- },
1345
- "size": {
1346
- "type": "uint32",
1347
- "id": 2
1348
- },
1349
- "created": {
1350
- "type": "uint32",
1351
- "id": 3
1352
- },
1353
- "modified": {
1354
- "type": "uint32",
1355
- "id": 4
1356
- },
1357
- "type": {
1358
- "type": "string",
1359
- "id": 5
1360
- }
1361
- }
1362
- }
1363
- }
1364
- },
1365
- "WriteFileRequest": {
1366
- "fields": {
1367
- "name": {
1368
- "type": "string",
1369
- "id": 1
1370
- },
1371
- "data": {
1372
- "type": "bytes",
1373
- "id": 2
1374
- }
1375
- }
1376
- },
1377
- "WriteFileResponse": {
1378
- "fields": {
1379
- "name": {
1380
- "type": "string",
1381
- "id": 1
1382
- },
1383
- "bytesWritten": {
1384
- "type": "uint64",
1385
- "id": 2
1386
- }
1387
- }
1388
- },
1389
- "ReadFileRequest": {
1390
- "fields": {
1391
- "name": {
1392
- "type": "string",
1393
- "id": 1
1394
- }
1395
- }
1396
- },
1397
- "ReadFileResponse": {
1398
- "fields": {
1399
- "name": {
1400
- "type": "string",
1401
- "id": 1
1402
- },
1403
- "data": {
1404
- "type": "bytes",
1405
- "id": 2
1406
- },
1407
- "startOffset": {
1408
- "type": "uint32",
1409
- "id": 3
1410
- },
1411
- "fileTotalLength": {
1412
- "type": "uint32",
1413
- "id": 4
1414
- }
1415
- }
1416
- },
1417
- "DeleteFileRequest": {
1418
- "fields": {
1419
- "name": {
1420
- "type": "string",
1421
- "id": 1
1422
- }
1423
- }
1424
- },
1425
- "DeleteFileResponse": {
1426
- "fields": {
1427
- "name": {
1428
- "type": "string",
1429
- "id": 1
1430
- },
1431
- "statusCode": {
1432
- "type": "StatusCode",
1433
- "id": 2
1434
- }
1435
- }
1436
- },
1437
- "LogLevel": {
1438
- "values": {
1439
- "LOG_LEVEL_UNKNOWN": 0,
1440
- "LOG_LEVEL_DEBUG": 1,
1441
- "LOG_LEVEL_INFO": 2,
1442
- "LOG_LEVEL_WARNING": 3,
1443
- "LOG_LEVEL_ERROR": 4,
1444
- "LOG_LEVEL_CRITICAL": 5
1445
- }
1446
- },
1447
- "LogEntry": {
1448
- "fields": {
1449
- "timestampNs": {
1450
- "type": "uint64",
1451
- "id": 1
1452
- },
1453
- "level": {
1454
- "type": "LogLevel",
1455
- "id": 2
1456
- },
1457
- "source": {
1458
- "type": "string",
1459
- "id": 3
1460
- },
1461
- "message": {
1462
- "type": "string",
1463
- "id": 4
1464
- }
1465
- }
1466
- },
1467
- "LogQueryRequest": {
1468
- "fields": {
1469
- "startTimeNs": {
1470
- "type": "uint64",
1471
- "id": 1
1472
- },
1473
- "endTimeNs": {
1474
- "type": "uint64",
1475
- "id": 2
1476
- },
1477
- "sinceMs": {
1478
- "type": "uint64",
1479
- "id": 3
1480
- },
1481
- "minLevel": {
1482
- "type": "LogLevel",
1483
- "id": 4
1484
- }
1485
- }
1486
- },
1487
- "LogQueryResponse": {
1488
- "fields": {
1489
- "entries": {
1490
- "rule": "repeated",
1491
- "type": "LogEntry",
1492
- "id": 1
1493
- }
1494
- }
1495
- },
1496
- "TailLogsRequest": {
1497
- "fields": {
1498
- "minLevel": {
1499
- "type": "LogLevel",
1500
- "id": 1
1501
- }
1502
- }
1503
- },
1504
- "AppManifest": {
1505
- "fields": {
1506
- "name": {
1507
- "type": "string",
1508
- "id": 1
1509
- },
1510
- "configSchema": {
1511
- "type": "google.protobuf.Struct",
1512
- "id": 2
1513
- },
1514
- "deviceConfig": {
1515
- "type": "DeviceConfiguration",
1516
- "id": 3
1517
- }
1518
- }
1519
- },
1520
- "PackageMetadata": {
1521
- "fields": {
1522
- "name": {
1523
- "type": "string",
1524
- "id": 1
1525
- },
1526
- "version": {
1527
- "type": "string",
1528
- "id": 2
1529
- },
1530
- "size": {
1531
- "type": "uint64",
1532
- "id": 3
1533
- },
1534
- "sha256Sum": {
1535
- "type": "string",
1536
- "id": 4
1537
- }
1538
- }
1539
- },
1540
- "AppPackageChunk": {
1541
- "oneofs": {
1542
- "data": {
1543
- "oneof": [
1544
- "metadata",
1545
- "fileChunk"
1546
- ]
1547
- }
1548
- },
1549
- "fields": {
1550
- "metadata": {
1551
- "type": "PackageMetadata",
1552
- "id": 1
1553
- },
1554
- "fileChunk": {
1555
- "type": "bytes",
1556
- "id": 2
1557
- }
1558
- }
1559
- },
1560
- "AppDeployResponse": {
1561
- "fields": {
1562
- "status": {
1563
- "type": "StatusCode",
1564
- "id": 1
1565
- },
1566
- "message": {
1567
- "type": "string",
1568
- "id": 2
1569
- }
1570
- }
1571
- },
1572
- "AppPerformanceSummary": {
1573
- "fields": {
1574
- "timestampNs": {
1575
- "type": "uint64",
1576
- "id": 1
1577
- },
1578
- "functionProfiles": {
1579
- "rule": "repeated",
1580
- "type": "FunctionProfile",
1581
- "id": 2
1582
- }
1583
- }
2
+ "nested": {
3
+ "synapse": {
4
+ "nested": {
5
+ "ElectrodeConfig": {
6
+ "fields": {
7
+ "channels": {
8
+ "rule": "repeated",
9
+ "type": "Channel",
10
+ "id": 1
11
+ },
12
+ "lowCutoffHz": {
13
+ "type": "float",
14
+ "id": 2
15
+ },
16
+ "highCutoffHz": {
17
+ "type": "float",
18
+ "id": 3
19
+ }
20
+ }
21
+ },
22
+ "PixelConfig": {
23
+ "fields": {
24
+ "pixelMask": {
25
+ "rule": "repeated",
26
+ "type": "uint32",
27
+ "id": 1
28
+ }
29
+ }
30
+ },
31
+ "SignalConfig": {
32
+ "oneofs": {
33
+ "signalType": {
34
+ "oneof": [
35
+ "electrode",
36
+ "pixel"
37
+ ]
38
+ }
39
+ },
40
+ "fields": {
41
+ "electrode": {
42
+ "type": "ElectrodeConfig",
43
+ "id": 1
44
+ },
45
+ "pixel": {
46
+ "type": "PixelConfig",
47
+ "id": 2
48
+ }
49
+ }
50
+ },
51
+ "ChannelType": {
52
+ "values": {
53
+ "ELECTRODE": 0,
54
+ "GPIO": 1
55
+ }
56
+ },
57
+ "Channel": {
58
+ "fields": {
59
+ "id": {
60
+ "type": "uint32",
61
+ "id": 1
62
+ },
63
+ "electrodeId": {
64
+ "type": "uint32",
65
+ "id": 2
66
+ },
67
+ "referenceId": {
68
+ "type": "uint32",
69
+ "id": 3
70
+ },
71
+ "type": {
72
+ "type": "ChannelType",
73
+ "id": 4
74
+ }
75
+ }
76
+ },
77
+ "ChannelRange": {
78
+ "fields": {
79
+ "type": {
80
+ "type": "ChannelType",
81
+ "id": 1
82
+ },
83
+ "count": {
84
+ "type": "uint32",
85
+ "id": 2
86
+ },
87
+ "channelIds": {
88
+ "rule": "repeated",
89
+ "type": "uint32",
90
+ "id": 3
91
+ }
92
+ }
93
+ },
94
+ "SpectralFilterMethod": {
95
+ "values": {
96
+ "kSpectralFilterUnknown": 0,
97
+ "kLowPass": 1,
98
+ "kHighPass": 2,
99
+ "kBandPass": 3,
100
+ "kBandStop": 4
101
+ }
102
+ },
103
+ "SpectralFilterConfig": {
104
+ "fields": {
105
+ "method": {
106
+ "type": "SpectralFilterMethod",
107
+ "id": 1
108
+ },
109
+ "lowCutoffHz": {
110
+ "type": "float",
111
+ "id": 2
112
+ },
113
+ "highCutoffHz": {
114
+ "type": "float",
115
+ "id": 3
116
+ }
117
+ }
118
+ },
119
+ "SpikeSourceConfig": {
120
+ "fields": {
121
+ "peripheralId": {
122
+ "type": "uint32",
123
+ "id": 1
124
+ },
125
+ "sampleRateHz": {
126
+ "type": "uint32",
127
+ "id": 2
128
+ },
129
+ "spikeWindowMs": {
130
+ "type": "float",
131
+ "id": 3
132
+ },
133
+ "gain": {
134
+ "type": "float",
135
+ "id": 4
136
+ },
137
+ "thresholdUV": {
138
+ "type": "float",
139
+ "id": 5
140
+ },
141
+ "electrodes": {
142
+ "type": "ElectrodeConfig",
143
+ "id": 6
144
+ }
145
+ }
146
+ },
147
+ "ElectricalStimulationConfig": {
148
+ "fields": {
149
+ "peripheralId": {
150
+ "type": "uint32",
151
+ "id": 1
152
+ },
153
+ "channels": {
154
+ "rule": "repeated",
155
+ "type": "Channel",
156
+ "id": 2
157
+ },
158
+ "bitWidth": {
159
+ "type": "uint32",
160
+ "id": 3
161
+ },
162
+ "sampleRate": {
163
+ "type": "uint32",
164
+ "id": 4
165
+ },
166
+ "lsb": {
167
+ "type": "uint32",
168
+ "id": 5
169
+ }
170
+ }
171
+ },
172
+ "ElectricalStimulationStatus": {
173
+ "fields": {
174
+ "lsbUV": {
175
+ "type": "float",
176
+ "id": 1
177
+ }
178
+ }
179
+ },
180
+ "SpikeBinnerConfig": {
181
+ "fields": {
182
+ "binSizeMs": {
183
+ "type": "uint32",
184
+ "id": 1
185
+ }
186
+ }
187
+ },
188
+ "ApplicationNodeConfig": {
189
+ "fields": {
190
+ "name": {
191
+ "type": "string",
192
+ "id": 1
193
+ },
194
+ "parameters": {
195
+ "keyType": "string",
196
+ "type": "google.protobuf.Value",
197
+ "id": 2
198
+ }
199
+ }
200
+ },
201
+ "ApplicationNodeStatus": {
202
+ "fields": {
203
+ "name": {
204
+ "type": "string",
205
+ "id": 1
206
+ },
207
+ "running": {
208
+ "type": "bool",
209
+ "id": 2
210
+ },
211
+ "errorLogs": {
212
+ "type": "string",
213
+ "id": 3
214
+ }
215
+ }
216
+ },
217
+ "TemplateMatcher": {
218
+ "fields": {
219
+ "templateUV": {
220
+ "rule": "repeated",
221
+ "type": "uint32",
222
+ "id": 1
223
+ }
224
+ }
225
+ },
226
+ "Thresholder": {
227
+ "fields": {
228
+ "thresholdUV": {
229
+ "type": "uint32",
230
+ "id": 1
231
+ }
232
+ }
233
+ },
234
+ "SpikeDetectorConfig": {
235
+ "oneofs": {
236
+ "config": {
237
+ "oneof": [
238
+ "thresholder",
239
+ "templateMatcher"
240
+ ]
241
+ }
242
+ },
243
+ "fields": {
244
+ "thresholder": {
245
+ "type": "Thresholder",
246
+ "id": 1
247
+ },
248
+ "templateMatcher": {
249
+ "type": "TemplateMatcher",
250
+ "id": 2
251
+ },
252
+ "samplesPerSpike": {
253
+ "type": "uint32",
254
+ "id": 3
255
+ }
256
+ }
257
+ },
258
+ "DiskWriterConfig": {
259
+ "fields": {
260
+ "filename": {
261
+ "type": "string",
262
+ "id": 1
263
+ }
264
+ }
265
+ },
266
+ "DiskWriterStatus": {
267
+ "fields": {
268
+ "outputPath": {
269
+ "type": "string",
270
+ "id": 1
271
+ },
272
+ "bytesWritten": {
273
+ "type": "uint64",
274
+ "id": 2
275
+ },
276
+ "isWriting": {
277
+ "type": "bool",
278
+ "id": 3
279
+ },
280
+ "availableDiskSpaceBytes": {
281
+ "type": "uint64",
282
+ "id": 4
283
+ },
284
+ "currentBitrateMbps": {
285
+ "type": "float",
286
+ "id": 5
287
+ }
288
+ }
289
+ },
290
+ "ElectrodeStatus": {
291
+ "fields": {
292
+ "lsbUV": {
293
+ "type": "float",
294
+ "id": 1
295
+ }
296
+ }
297
+ },
298
+ "PixelStatus": {
299
+ "fields": {}
300
+ },
301
+ "SignalStatus": {
302
+ "oneofs": {
303
+ "signalType": {
304
+ "oneof": [
305
+ "electrode",
306
+ "pixel"
307
+ ]
308
+ }
309
+ },
310
+ "fields": {
311
+ "electrode": {
312
+ "type": "ElectrodeStatus",
313
+ "id": 1
314
+ },
315
+ "pixel": {
316
+ "type": "PixelStatus",
317
+ "id": 2
318
+ }
319
+ }
320
+ },
321
+ "BroadbandSourceConfig": {
322
+ "fields": {
323
+ "peripheralId": {
324
+ "type": "uint32",
325
+ "id": 1
326
+ },
327
+ "bitWidth": {
328
+ "type": "uint32",
329
+ "id": 2
330
+ },
331
+ "sampleRateHz": {
332
+ "type": "uint32",
333
+ "id": 3
334
+ },
335
+ "gain": {
336
+ "type": "float",
337
+ "id": 4
338
+ },
339
+ "signal": {
340
+ "type": "SignalConfig",
341
+ "id": 5
342
+ }
343
+ }
344
+ },
345
+ "BroadbandSourceStatus": {
346
+ "fields": {
347
+ "status": {
348
+ "type": "SignalStatus",
349
+ "id": 1
350
+ }
351
+ }
352
+ },
353
+ "OpticalStimulationConfig": {
354
+ "fields": {
355
+ "peripheralId": {
356
+ "type": "uint32",
357
+ "id": 1
358
+ },
359
+ "pixelMask": {
360
+ "rule": "repeated",
361
+ "type": "uint32",
362
+ "id": 2
363
+ },
364
+ "bitWidth": {
365
+ "type": "uint32",
366
+ "id": 3
367
+ },
368
+ "frameRate": {
369
+ "type": "uint32",
370
+ "id": 4
371
+ },
372
+ "gain": {
373
+ "type": "float",
374
+ "id": 5
375
+ },
376
+ "sendReceipts": {
377
+ "type": "bool",
378
+ "id": 6
379
+ }
380
+ }
381
+ },
382
+ "OpticalStimFrame": {
383
+ "fields": {
384
+ "frameId": {
385
+ "type": "uint64",
386
+ "id": 1
387
+ },
388
+ "sequenceNumber": {
389
+ "type": "uint64",
390
+ "id": 2
391
+ },
392
+ "timestampNs": {
393
+ "type": "uint64",
394
+ "id": 3
395
+ },
396
+ "rows": {
397
+ "type": "uint32",
398
+ "id": 4
399
+ },
400
+ "columns": {
401
+ "type": "uint32",
402
+ "id": 5
403
+ },
404
+ "intensity": {
405
+ "rule": "repeated",
406
+ "type": "float",
407
+ "id": 6
408
+ },
409
+ "durationUs": {
410
+ "type": "uint64",
411
+ "id": 7
412
+ }
413
+ }
414
+ },
415
+ "OpticalStimulationStatus": {
416
+ "fields": {
417
+ "framesWritten": {
418
+ "type": "uint64",
419
+ "id": 1
420
+ }
421
+ }
422
+ },
423
+ "SynapseDevice": {
424
+ "methods": {
425
+ "Info": {
426
+ "requestType": "google.protobuf.Empty",
427
+ "responseType": "DeviceInfo"
428
+ },
429
+ "Configure": {
430
+ "requestType": "DeviceConfiguration",
431
+ "responseType": "Status"
432
+ },
433
+ "Start": {
434
+ "requestType": "google.protobuf.Empty",
435
+ "responseType": "Status"
436
+ },
437
+ "Stop": {
438
+ "requestType": "google.protobuf.Empty",
439
+ "responseType": "Status"
440
+ },
441
+ "Query": {
442
+ "requestType": "QueryRequest",
443
+ "responseType": "QueryResponse"
444
+ },
445
+ "StreamQuery": {
446
+ "requestType": "StreamQueryRequest",
447
+ "responseType": "StreamQueryResponse",
448
+ "responseStream": true
449
+ },
450
+ "DeployApp": {
451
+ "requestType": "AppPackageChunk",
452
+ "requestStream": true,
453
+ "responseType": "AppDeployResponse",
454
+ "responseStream": true
455
+ },
456
+ "ListFiles": {
457
+ "requestType": "google.protobuf.Empty",
458
+ "responseType": "ListFilesResponse"
459
+ },
460
+ "WriteFile": {
461
+ "requestType": "WriteFileRequest",
462
+ "responseType": "WriteFileResponse"
463
+ },
464
+ "ReadFile": {
465
+ "requestType": "ReadFileRequest",
466
+ "responseType": "ReadFileResponse",
467
+ "responseStream": true
468
+ },
469
+ "DeleteFile": {
470
+ "requestType": "DeleteFileRequest",
471
+ "responseType": "DeleteFileResponse"
472
+ },
473
+ "GetLogs": {
474
+ "requestType": "LogQueryRequest",
475
+ "responseType": "LogQueryResponse"
476
+ },
477
+ "TailLogs": {
478
+ "requestType": "TailLogsRequest",
479
+ "responseType": "LogEntry",
480
+ "responseStream": true
481
+ },
482
+ "UpdateDeviceSettings": {
483
+ "requestType": "UpdateDeviceSettingsRequest",
484
+ "responseType": "UpdateDeviceSettingsResponse"
485
+ }
486
+ }
487
+ },
488
+ "SampleQuery": {
489
+ "fields": {
490
+ "channels": {
491
+ "rule": "repeated",
492
+ "type": "Channel",
493
+ "id": 1
494
+ },
495
+ "sampleCount": {
496
+ "type": "uint32",
497
+ "id": 2
498
+ }
499
+ }
500
+ },
501
+ "ImpedanceQuery": {
502
+ "fields": {
503
+ "electrodeIds": {
504
+ "rule": "repeated",
505
+ "type": "uint32",
506
+ "id": 1
507
+ }
508
+ }
509
+ },
510
+ "SelfTestQuery": {
511
+ "fields": {
512
+ "peripheralId": {
513
+ "type": "uint32",
514
+ "id": 1
515
+ }
516
+ }
517
+ },
518
+ "ImpedanceMeasurement": {
519
+ "fields": {
520
+ "electrodeId": {
521
+ "type": "uint32",
522
+ "id": 1
523
+ },
524
+ "magnitude": {
525
+ "type": "float",
526
+ "id": 2
527
+ },
528
+ "phase": {
529
+ "type": "float",
530
+ "id": 3
531
+ }
532
+ }
533
+ },
534
+ "ImpedanceResponse": {
535
+ "fields": {
536
+ "measurements": {
537
+ "rule": "repeated",
538
+ "type": "ImpedanceMeasurement",
539
+ "id": 1
540
+ }
541
+ }
542
+ },
543
+ "SelfTestItem": {
544
+ "fields": {
545
+ "testName": {
546
+ "type": "string",
547
+ "id": 1
548
+ },
549
+ "passed": {
550
+ "type": "bool",
551
+ "id": 2
552
+ },
553
+ "testData": {
554
+ "rule": "repeated",
555
+ "type": "uint32",
556
+ "id": 3
557
+ },
558
+ "testReport": {
559
+ "type": "string",
560
+ "id": 4
561
+ }
562
+ }
563
+ },
564
+ "SelfTestResponse": {
565
+ "fields": {
566
+ "allPassed": {
567
+ "type": "bool",
568
+ "id": 1
569
+ },
570
+ "tests": {
571
+ "rule": "repeated",
572
+ "type": "SelfTestItem",
573
+ "id": 2
574
+ }
575
+ }
576
+ },
577
+ "QueryRequest": {
578
+ "oneofs": {
579
+ "query": {
580
+ "oneof": [
581
+ "impedanceQuery",
582
+ "sampleQuery",
583
+ "selfTestQuery",
584
+ "listTapsQuery",
585
+ "getSettingsQuery"
586
+ ]
587
+ }
588
+ },
589
+ "fields": {
590
+ "queryType": {
591
+ "type": "QueryType",
592
+ "id": 1
593
+ },
594
+ "impedanceQuery": {
595
+ "type": "ImpedanceQuery",
596
+ "id": 2
597
+ },
598
+ "sampleQuery": {
599
+ "type": "SampleQuery",
600
+ "id": 3
601
+ },
602
+ "selfTestQuery": {
603
+ "type": "SelfTestQuery",
604
+ "id": 4
605
+ },
606
+ "listTapsQuery": {
607
+ "type": "ListTapsQuery",
608
+ "id": 5
609
+ },
610
+ "getSettingsQuery": {
611
+ "type": "GetSettingsQuery",
612
+ "id": 6
613
+ }
614
+ },
615
+ "nested": {
616
+ "QueryType": {
617
+ "values": {
618
+ "kNone": 0,
619
+ "kImpedance": 1,
620
+ "kSample": 2,
621
+ "kSelfTest": 3,
622
+ "kListTaps": 4,
623
+ "kGetSettings": 5
624
+ }
625
+ }
626
+ }
627
+ },
628
+ "StreamQueryRequest": {
629
+ "fields": {
630
+ "request": {
631
+ "type": "QueryRequest",
632
+ "id": 1
633
+ }
634
+ }
635
+ },
636
+ "QueryResponse": {
637
+ "oneofs": {
638
+ "response": {
639
+ "oneof": [
640
+ "impedanceResponse",
641
+ "selfTestResponse",
642
+ "listTapsResponse",
643
+ "getSettingsResponse"
644
+ ]
645
+ }
646
+ },
647
+ "fields": {
648
+ "status": {
649
+ "type": "Status",
650
+ "id": 1
651
+ },
652
+ "data": {
653
+ "rule": "repeated",
654
+ "type": "uint32",
655
+ "id": 2
656
+ },
657
+ "impedanceResponse": {
658
+ "type": "ImpedanceResponse",
659
+ "id": 3
660
+ },
661
+ "selfTestResponse": {
662
+ "type": "SelfTestResponse",
663
+ "id": 4
664
+ },
665
+ "listTapsResponse": {
666
+ "type": "ListTapsResponse",
667
+ "id": 5
668
+ },
669
+ "getSettingsResponse": {
670
+ "type": "GetSettingsResponse",
671
+ "id": 6
672
+ }
673
+ }
674
+ },
675
+ "StreamQueryResponse": {
676
+ "oneofs": {
677
+ "response": {
678
+ "oneof": [
679
+ "impedance",
680
+ "selfTest"
681
+ ]
682
+ }
683
+ },
684
+ "fields": {
685
+ "code": {
686
+ "type": "StatusCode",
687
+ "id": 1
688
+ },
689
+ "message": {
690
+ "type": "string",
691
+ "id": 2
692
+ },
693
+ "timestampNs": {
694
+ "type": "uint64",
695
+ "id": 3
696
+ },
697
+ "impedance": {
698
+ "type": "ImpedanceResponse",
699
+ "id": 4
700
+ },
701
+ "selfTest": {
702
+ "type": "SelfTestResponse",
703
+ "id": 5
704
+ }
705
+ }
706
+ },
707
+ "StatusCode": {
708
+ "values": {
709
+ "kOk": 0,
710
+ "kUndefinedError": 1,
711
+ "kInvalidConfiguration": 2,
712
+ "kFailedPrecondition": 3,
713
+ "kUnimplemented": 4,
714
+ "kInternalError": 5,
715
+ "kPermissionDenied": 6,
716
+ "kQueryFailed": 7
717
+ }
718
+ },
719
+ "DeviceState": {
720
+ "values": {
721
+ "kUnknown": 0,
722
+ "kInitializing": 1,
723
+ "kStopped": 2,
724
+ "kRunning": 3,
725
+ "kError": 4
726
+ }
727
+ },
728
+ "DeviceStorage": {
729
+ "fields": {
730
+ "totalGb": {
731
+ "type": "float",
732
+ "id": 1
733
+ },
734
+ "usedGb": {
735
+ "type": "float",
736
+ "id": 2
737
+ }
738
+ }
739
+ },
740
+ "DevicePower": {
741
+ "fields": {
742
+ "batteryLevelPercent": {
743
+ "type": "float",
744
+ "id": 1
745
+ },
746
+ "isCharging": {
747
+ "type": "bool",
748
+ "id": 2
749
+ }
750
+ }
751
+ },
752
+ "SignalChainStatus": {
753
+ "fields": {
754
+ "nodes": {
755
+ "rule": "repeated",
756
+ "type": "NodeStatus",
757
+ "id": 1
758
+ }
759
+ }
760
+ },
761
+ "Status": {
762
+ "fields": {
763
+ "message": {
764
+ "type": "string",
765
+ "id": 1
766
+ },
767
+ "code": {
768
+ "type": "StatusCode",
769
+ "id": 2
770
+ },
771
+ "state": {
772
+ "type": "DeviceState",
773
+ "id": 3
774
+ },
775
+ "power": {
776
+ "type": "DevicePower",
777
+ "id": 5
778
+ },
779
+ "storage": {
780
+ "type": "DeviceStorage",
781
+ "id": 6
782
+ },
783
+ "signalChain": {
784
+ "type": "SignalChainStatus",
785
+ "id": 7
786
+ },
787
+ "timeSyncPort": {
788
+ "type": "uint32",
789
+ "id": 8
790
+ }
791
+ },
792
+ "reserved": [
793
+ [
794
+ 4,
795
+ 4
796
+ ]
797
+ ]
798
+ },
799
+ "NodeType": {
800
+ "values": {
801
+ "kNodeTypeUnknown": 0,
802
+ "kBroadbandSource": 3,
803
+ "kElectricalStimulation": 4,
804
+ "kOpticalStimulation": 5,
805
+ "kSpikeDetector": 6,
806
+ "kSpikeSource": 7,
807
+ "kSpectralFilter": 8,
808
+ "kDiskWriter": 9,
809
+ "kSpikeBinner": 10,
810
+ "kApplication": 11
811
+ },
812
+ "reserved": [
813
+ [
814
+ 1,
815
+ 1
816
+ ],
817
+ [
818
+ 2,
819
+ 2
820
+ ]
821
+ ]
822
+ },
823
+ "NodeConfig": {
824
+ "oneofs": {
825
+ "config": {
826
+ "oneof": [
827
+ "broadbandSource",
828
+ "electricalStimulation",
829
+ "opticalStimulation",
830
+ "spikeDetector",
831
+ "spectralFilter",
832
+ "diskWriter",
833
+ "spikeSource",
834
+ "spikeBinner",
835
+ "application"
836
+ ]
837
+ }
838
+ },
839
+ "fields": {
840
+ "type": {
841
+ "type": "NodeType",
842
+ "id": 1
843
+ },
844
+ "id": {
845
+ "type": "uint32",
846
+ "id": 2
847
+ },
848
+ "broadbandSource": {
849
+ "type": "BroadbandSourceConfig",
850
+ "id": 5
851
+ },
852
+ "electricalStimulation": {
853
+ "type": "ElectricalStimulationConfig",
854
+ "id": 6
855
+ },
856
+ "opticalStimulation": {
857
+ "type": "OpticalStimulationConfig",
858
+ "id": 8
859
+ },
860
+ "spikeDetector": {
861
+ "type": "SpikeDetectorConfig",
862
+ "id": 9
863
+ },
864
+ "spectralFilter": {
865
+ "type": "SpectralFilterConfig",
866
+ "id": 10
867
+ },
868
+ "diskWriter": {
869
+ "type": "DiskWriterConfig",
870
+ "id": 11
871
+ },
872
+ "spikeSource": {
873
+ "type": "SpikeSourceConfig",
874
+ "id": 12
875
+ },
876
+ "spikeBinner": {
877
+ "type": "SpikeBinnerConfig",
878
+ "id": 13
879
+ },
880
+ "application": {
881
+ "type": "ApplicationNodeConfig",
882
+ "id": 14
883
+ }
884
+ },
885
+ "reserved": [
886
+ [
887
+ 3,
888
+ 3
889
+ ],
890
+ [
891
+ 4,
892
+ 4
893
+ ]
894
+ ]
895
+ },
896
+ "NodeStatus": {
897
+ "oneofs": {
898
+ "status": {
899
+ "oneof": [
900
+ "broadbandSource",
901
+ "electricalStimulation",
902
+ "application",
903
+ "opticalStimulation",
904
+ "diskWriter"
905
+ ]
906
+ }
907
+ },
908
+ "fields": {
909
+ "type": {
910
+ "type": "NodeType",
911
+ "id": 1
912
+ },
913
+ "id": {
914
+ "type": "uint32",
915
+ "id": 2
916
+ },
917
+ "broadbandSource": {
918
+ "type": "BroadbandSourceStatus",
919
+ "id": 4
920
+ },
921
+ "electricalStimulation": {
922
+ "type": "ElectricalStimulationStatus",
923
+ "id": 6
924
+ },
925
+ "application": {
926
+ "type": "ApplicationNodeStatus",
927
+ "id": 7
928
+ },
929
+ "opticalStimulation": {
930
+ "type": "OpticalStimulationStatus",
931
+ "id": 8
932
+ },
933
+ "diskWriter": {
934
+ "type": "DiskWriterStatus",
935
+ "id": 10
936
+ }
937
+ },
938
+ "reserved": [
939
+ [
940
+ 3,
941
+ 3
942
+ ],
943
+ [
944
+ 5,
945
+ 5
946
+ ]
947
+ ]
948
+ },
949
+ "NodeConnection": {
950
+ "fields": {
951
+ "srcNodeId": {
952
+ "type": "uint32",
953
+ "id": 1
954
+ },
955
+ "dstNodeId": {
956
+ "type": "uint32",
957
+ "id": 2
958
+ }
959
+ }
960
+ },
961
+ "TapType": {
962
+ "values": {
963
+ "TAP_TYPE_UNSPECIFIED": 0,
964
+ "TAP_TYPE_PRODUCER": 1,
965
+ "TAP_TYPE_CONSUMER": 2
966
+ }
967
+ },
968
+ "TapConnection": {
969
+ "fields": {
970
+ "name": {
971
+ "type": "string",
972
+ "id": 1
973
+ },
974
+ "endpoint": {
975
+ "type": "string",
976
+ "id": 2
977
+ },
978
+ "messageType": {
979
+ "type": "string",
980
+ "id": 3
981
+ },
982
+ "tapType": {
983
+ "type": "TapType",
984
+ "id": 4
985
+ }
986
+ }
987
+ },
988
+ "ListTapsQuery": {
989
+ "fields": {}
990
+ },
991
+ "ListTapsResponse": {
992
+ "fields": {
993
+ "taps": {
994
+ "rule": "repeated",
995
+ "type": "TapConnection",
996
+ "id": 1
997
+ }
998
+ }
999
+ },
1000
+ "Peripheral": {
1001
+ "fields": {
1002
+ "name": {
1003
+ "type": "string",
1004
+ "id": 1
1005
+ },
1006
+ "vendor": {
1007
+ "type": "string",
1008
+ "id": 2
1009
+ },
1010
+ "peripheralId": {
1011
+ "type": "uint32",
1012
+ "id": 3
1013
+ },
1014
+ "type": {
1015
+ "type": "Type",
1016
+ "id": 4
1017
+ },
1018
+ "address": {
1019
+ "type": "string",
1020
+ "id": 5
1021
+ }
1022
+ },
1023
+ "nested": {
1024
+ "Type": {
1025
+ "values": {
1026
+ "kUnknown": 0,
1027
+ "kBroadbandSource": 1,
1028
+ "kElectricalStimulation": 2,
1029
+ "kOpticalStimulation": 3,
1030
+ "kSpikeSource": 4
1031
+ }
1032
+ }
1033
+ }
1034
+ },
1035
+ "DeviceInfo": {
1036
+ "fields": {
1037
+ "name": {
1038
+ "type": "string",
1039
+ "id": 1
1040
+ },
1041
+ "serial": {
1042
+ "type": "string",
1043
+ "id": 2
1044
+ },
1045
+ "synapseVersion": {
1046
+ "type": "uint32",
1047
+ "id": 3
1048
+ },
1049
+ "firmwareVersion": {
1050
+ "type": "uint32",
1051
+ "id": 4
1052
+ },
1053
+ "status": {
1054
+ "type": "Status",
1055
+ "id": 5
1056
+ },
1057
+ "peripherals": {
1058
+ "rule": "repeated",
1059
+ "type": "Peripheral",
1060
+ "id": 6
1061
+ },
1062
+ "configuration": {
1063
+ "type": "DeviceConfiguration",
1064
+ "id": 7
1065
+ }
1066
+ }
1067
+ },
1068
+ "DeviceConfiguration": {
1069
+ "fields": {
1070
+ "nodes": {
1071
+ "rule": "repeated",
1072
+ "type": "NodeConfig",
1073
+ "id": 1
1074
+ },
1075
+ "connections": {
1076
+ "rule": "repeated",
1077
+ "type": "NodeConnection",
1078
+ "id": 2
1079
+ }
1080
+ }
1081
+ },
1082
+ "DeviceSettings": {
1083
+ "fields": {
1084
+ "name": {
1085
+ "type": "string",
1086
+ "id": 1
1087
+ },
1088
+ "timeSource": {
1089
+ "type": "TimeSource",
1090
+ "id": 2
1091
+ },
1092
+ "fpgaClockFreqHz": {
1093
+ "type": "uint32",
1094
+ "id": 3
1095
+ }
1096
+ }
1097
+ },
1098
+ "GetSettingsQuery": {
1099
+ "fields": {}
1100
+ },
1101
+ "GetSettingsResponse": {
1102
+ "fields": {
1103
+ "settings": {
1104
+ "type": "DeviceSettings",
1105
+ "id": 1
1106
+ }
1107
+ }
1108
+ },
1109
+ "UpdateDeviceSettingsRequest": {
1110
+ "fields": {
1111
+ "settings": {
1112
+ "type": "DeviceSettings",
1113
+ "id": 1
1114
+ }
1115
+ }
1116
+ },
1117
+ "UpdateDeviceSettingsResponse": {
1118
+ "fields": {
1119
+ "status": {
1120
+ "type": "Status",
1121
+ "id": 1
1122
+ },
1123
+ "updatedSettings": {
1124
+ "type": "DeviceSettings",
1125
+ "id": 2
1126
+ }
1127
+ }
1128
+ },
1129
+ "TimeSyncPacket": {
1130
+ "fields": {
1131
+ "clientId": {
1132
+ "type": "fixed32",
1133
+ "id": 1
1134
+ },
1135
+ "sequence": {
1136
+ "type": "fixed32",
1137
+ "id": 2
1138
+ },
1139
+ "clientSendTimeNs": {
1140
+ "type": "fixed64",
1141
+ "id": 3
1142
+ },
1143
+ "serverReceiveTimeNs": {
1144
+ "type": "fixed64",
1145
+ "id": 4
1146
+ },
1147
+ "serverSendTimeNs": {
1148
+ "type": "fixed64",
1149
+ "id": 5
1150
+ },
1151
+ "clientReceiveTimeNs": {
1152
+ "type": "fixed64",
1153
+ "id": 6
1154
+ }
1155
+ }
1156
+ },
1157
+ "TimeSource": {
1158
+ "values": {
1159
+ "TIME_SOURCE_UNKNOWN": 0,
1160
+ "TIME_SOURCE_STEADY_CLOCK": 1,
1161
+ "TIME_SOURCE_SAMPLE_COUNTER": 2
1162
+ }
1163
+ },
1164
+ "ListFilesResponse": {
1165
+ "fields": {
1166
+ "files": {
1167
+ "rule": "repeated",
1168
+ "type": "File",
1169
+ "id": 1
1170
+ }
1171
+ },
1172
+ "nested": {
1173
+ "File": {
1174
+ "fields": {
1175
+ "name": {
1176
+ "type": "string",
1177
+ "id": 1
1178
+ },
1179
+ "size": {
1180
+ "type": "uint32",
1181
+ "id": 2
1182
+ },
1183
+ "created": {
1184
+ "type": "uint32",
1185
+ "id": 3
1186
+ },
1187
+ "modified": {
1188
+ "type": "uint32",
1189
+ "id": 4
1190
+ },
1191
+ "type": {
1192
+ "type": "string",
1193
+ "id": 5
1584
1194
  }
1195
+ }
1196
+ }
1197
+ }
1198
+ },
1199
+ "WriteFileRequest": {
1200
+ "fields": {
1201
+ "name": {
1202
+ "type": "string",
1203
+ "id": 1
1204
+ },
1205
+ "data": {
1206
+ "type": "bytes",
1207
+ "id": 2
1208
+ }
1209
+ }
1210
+ },
1211
+ "WriteFileResponse": {
1212
+ "fields": {
1213
+ "name": {
1214
+ "type": "string",
1215
+ "id": 1
1216
+ },
1217
+ "bytesWritten": {
1218
+ "type": "uint64",
1219
+ "id": 2
1220
+ }
1221
+ }
1222
+ },
1223
+ "ReadFileRequest": {
1224
+ "fields": {
1225
+ "name": {
1226
+ "type": "string",
1227
+ "id": 1
1228
+ }
1229
+ }
1230
+ },
1231
+ "ReadFileResponse": {
1232
+ "fields": {
1233
+ "name": {
1234
+ "type": "string",
1235
+ "id": 1
1236
+ },
1237
+ "data": {
1238
+ "type": "bytes",
1239
+ "id": 2
1240
+ },
1241
+ "startOffset": {
1242
+ "type": "uint32",
1243
+ "id": 3
1244
+ },
1245
+ "fileTotalLength": {
1246
+ "type": "uint32",
1247
+ "id": 4
1248
+ }
1249
+ }
1250
+ },
1251
+ "DeleteFileRequest": {
1252
+ "fields": {
1253
+ "name": {
1254
+ "type": "string",
1255
+ "id": 1
1256
+ }
1257
+ }
1258
+ },
1259
+ "DeleteFileResponse": {
1260
+ "fields": {
1261
+ "name": {
1262
+ "type": "string",
1263
+ "id": 1
1264
+ },
1265
+ "statusCode": {
1266
+ "type": "StatusCode",
1267
+ "id": 2
1268
+ }
1269
+ }
1270
+ },
1271
+ "LogLevel": {
1272
+ "values": {
1273
+ "LOG_LEVEL_UNKNOWN": 0,
1274
+ "LOG_LEVEL_DEBUG": 1,
1275
+ "LOG_LEVEL_INFO": 2,
1276
+ "LOG_LEVEL_WARNING": 3,
1277
+ "LOG_LEVEL_ERROR": 4,
1278
+ "LOG_LEVEL_CRITICAL": 5
1279
+ }
1280
+ },
1281
+ "LogEntry": {
1282
+ "fields": {
1283
+ "timestampNs": {
1284
+ "type": "uint64",
1285
+ "id": 1
1286
+ },
1287
+ "level": {
1288
+ "type": "LogLevel",
1289
+ "id": 2
1290
+ },
1291
+ "source": {
1292
+ "type": "string",
1293
+ "id": 3
1294
+ },
1295
+ "message": {
1296
+ "type": "string",
1297
+ "id": 4
1298
+ }
1299
+ }
1300
+ },
1301
+ "LogQueryRequest": {
1302
+ "fields": {
1303
+ "startTimeNs": {
1304
+ "type": "uint64",
1305
+ "id": 1
1306
+ },
1307
+ "endTimeNs": {
1308
+ "type": "uint64",
1309
+ "id": 2
1310
+ },
1311
+ "sinceMs": {
1312
+ "type": "uint64",
1313
+ "id": 3
1314
+ },
1315
+ "minLevel": {
1316
+ "type": "LogLevel",
1317
+ "id": 4
1585
1318
  }
1319
+ }
1586
1320
  },
1587
- "google": {
1588
- "nested": {
1589
- "protobuf": {
1590
- "nested": {
1591
- "Struct": {
1592
- "fields": {
1593
- "fields": {
1594
- "keyType": "string",
1595
- "type": "Value",
1596
- "id": 1
1597
- }
1598
- }
1599
- },
1600
- "Value": {
1601
- "oneofs": {
1602
- "kind": {
1603
- "oneof": [
1604
- "nullValue",
1605
- "numberValue",
1606
- "stringValue",
1607
- "boolValue",
1608
- "structValue",
1609
- "listValue"
1610
- ]
1611
- }
1612
- },
1613
- "fields": {
1614
- "nullValue": {
1615
- "type": "NullValue",
1616
- "id": 1
1617
- },
1618
- "numberValue": {
1619
- "type": "double",
1620
- "id": 2
1621
- },
1622
- "stringValue": {
1623
- "type": "string",
1624
- "id": 3
1625
- },
1626
- "boolValue": {
1627
- "type": "bool",
1628
- "id": 4
1629
- },
1630
- "structValue": {
1631
- "type": "Struct",
1632
- "id": 5
1633
- },
1634
- "listValue": {
1635
- "type": "ListValue",
1636
- "id": 6
1637
- }
1638
- }
1639
- },
1640
- "NullValue": {
1641
- "values": {
1642
- "NULL_VALUE": 0
1643
- }
1644
- },
1645
- "ListValue": {
1646
- "fields": {
1647
- "values": {
1648
- "rule": "repeated",
1649
- "type": "Value",
1650
- "id": 1
1651
- }
1652
- }
1653
- },
1654
- "Empty": {
1655
- "fields": {}
1656
- }
1657
- }
1321
+ "LogQueryResponse": {
1322
+ "fields": {
1323
+ "entries": {
1324
+ "rule": "repeated",
1325
+ "type": "LogEntry",
1326
+ "id": 1
1327
+ }
1328
+ }
1329
+ },
1330
+ "TailLogsRequest": {
1331
+ "fields": {
1332
+ "minLevel": {
1333
+ "type": "LogLevel",
1334
+ "id": 1
1335
+ }
1336
+ }
1337
+ },
1338
+ "AppManifest": {
1339
+ "fields": {
1340
+ "name": {
1341
+ "type": "string",
1342
+ "id": 1
1343
+ },
1344
+ "configSchema": {
1345
+ "type": "google.protobuf.Struct",
1346
+ "id": 2
1347
+ },
1348
+ "deviceConfig": {
1349
+ "type": "DeviceConfiguration",
1350
+ "id": 3
1351
+ }
1352
+ }
1353
+ },
1354
+ "PackageMetadata": {
1355
+ "fields": {
1356
+ "name": {
1357
+ "type": "string",
1358
+ "id": 1
1359
+ },
1360
+ "version": {
1361
+ "type": "string",
1362
+ "id": 2
1363
+ },
1364
+ "size": {
1365
+ "type": "uint64",
1366
+ "id": 3
1367
+ },
1368
+ "sha256Sum": {
1369
+ "type": "string",
1370
+ "id": 4
1371
+ }
1372
+ }
1373
+ },
1374
+ "AppPackageChunk": {
1375
+ "oneofs": {
1376
+ "data": {
1377
+ "oneof": [
1378
+ "metadata",
1379
+ "fileChunk"
1380
+ ]
1381
+ }
1382
+ },
1383
+ "fields": {
1384
+ "metadata": {
1385
+ "type": "PackageMetadata",
1386
+ "id": 1
1387
+ },
1388
+ "fileChunk": {
1389
+ "type": "bytes",
1390
+ "id": 2
1391
+ }
1392
+ }
1393
+ },
1394
+ "AppDeployResponse": {
1395
+ "fields": {
1396
+ "status": {
1397
+ "type": "StatusCode",
1398
+ "id": 1
1399
+ },
1400
+ "message": {
1401
+ "type": "string",
1402
+ "id": 2
1403
+ }
1404
+ }
1405
+ },
1406
+ "AppPerformanceSummary": {
1407
+ "fields": {
1408
+ "timestampNs": {
1409
+ "type": "uint64",
1410
+ "id": 1
1411
+ },
1412
+ "functionProfiles": {
1413
+ "rule": "repeated",
1414
+ "type": "FunctionProfile",
1415
+ "id": 2
1416
+ }
1417
+ }
1418
+ },
1419
+ "FunctionProfile": {
1420
+ "fields": {
1421
+ "name": {
1422
+ "type": "string",
1423
+ "id": 1
1424
+ },
1425
+ "callCount": {
1426
+ "type": "uint64",
1427
+ "id": 2
1428
+ },
1429
+ "minDurationNs": {
1430
+ "type": "uint64",
1431
+ "id": 3
1432
+ },
1433
+ "maxDurationNs": {
1434
+ "type": "uint64",
1435
+ "id": 4
1436
+ },
1437
+ "averageDurationNs": {
1438
+ "type": "uint64",
1439
+ "id": 5
1440
+ },
1441
+ "medianDurationNs": {
1442
+ "type": "uint64",
1443
+ "id": 6
1444
+ },
1445
+ "p99DurationNs": {
1446
+ "type": "uint64",
1447
+ "id": 7
1448
+ },
1449
+ "latestDurationNs": {
1450
+ "type": "uint64",
1451
+ "id": 8
1452
+ }
1453
+ }
1454
+ },
1455
+ "DataType": {
1456
+ "values": {
1457
+ "kDataTypeUnknown": 0,
1458
+ "kAny": 1,
1459
+ "kBroadband": 2,
1460
+ "kSpiketrain": 3,
1461
+ "kTimestamps": 4,
1462
+ "kImage": 5,
1463
+ "kWaveforms": 6
1464
+ }
1465
+ },
1466
+ "Tensor": {
1467
+ "fields": {
1468
+ "timestampNs": {
1469
+ "type": "uint64",
1470
+ "id": 1
1471
+ },
1472
+ "shape": {
1473
+ "rule": "repeated",
1474
+ "type": "int32",
1475
+ "id": 2
1476
+ },
1477
+ "dtype": {
1478
+ "type": "DType",
1479
+ "id": 3
1480
+ },
1481
+ "endianness": {
1482
+ "type": "Endianness",
1483
+ "id": 4
1484
+ },
1485
+ "data": {
1486
+ "type": "bytes",
1487
+ "id": 5
1488
+ }
1489
+ },
1490
+ "nested": {
1491
+ "DType": {
1492
+ "values": {
1493
+ "DT_INVALID": 0,
1494
+ "DT_FLOAT": 1,
1495
+ "DT_DOUBLE": 2,
1496
+ "DT_UINT8": 3,
1497
+ "DT_UINT16": 4,
1498
+ "DT_UINT32": 5,
1499
+ "DT_UINT64": 6,
1500
+ "DT_INT8": 7,
1501
+ "DT_INT16": 8,
1502
+ "DT_INT32": 9,
1503
+ "DT_INT64": 10,
1504
+ "DT_BOOL": 11
1505
+ }
1506
+ },
1507
+ "Endianness": {
1508
+ "values": {
1509
+ "TENSOR_LITTLE_ENDIAN": 0,
1510
+ "TENSOR_BIG_ENDIAN": 1
1511
+ }
1512
+ }
1513
+ }
1514
+ },
1515
+ "BroadbandFrame": {
1516
+ "fields": {
1517
+ "timestampNs": {
1518
+ "type": "uint64",
1519
+ "id": 1
1520
+ },
1521
+ "sequenceNumber": {
1522
+ "type": "uint64",
1523
+ "id": 2
1524
+ },
1525
+ "frameData": {
1526
+ "rule": "repeated",
1527
+ "type": "sint32",
1528
+ "id": 3
1529
+ },
1530
+ "sampleRateHz": {
1531
+ "type": "uint32",
1532
+ "id": 4
1533
+ },
1534
+ "channelRanges": {
1535
+ "rule": "repeated",
1536
+ "type": "ChannelRange",
1537
+ "id": 5
1538
+ },
1539
+ "unixTimestampNs": {
1540
+ "type": "uint64",
1541
+ "id": 6
1542
+ }
1543
+ }
1544
+ },
1545
+ "Timeseries": {
1546
+ "fields": {
1547
+ "id": {
1548
+ "type": "uint32",
1549
+ "id": 1
1550
+ },
1551
+ "datapoints": {
1552
+ "rule": "repeated",
1553
+ "type": "Datapoint",
1554
+ "id": 2
1555
+ }
1556
+ },
1557
+ "nested": {
1558
+ "Datapoint": {
1559
+ "fields": {
1560
+ "timestampNs": {
1561
+ "type": "uint64",
1562
+ "id": 1
1563
+ },
1564
+ "sample": {
1565
+ "type": "sint32",
1566
+ "id": 2
1567
+ }
1568
+ }
1569
+ }
1570
+ }
1571
+ },
1572
+ "AnnotatedTensor": {
1573
+ "fields": {
1574
+ "tensor": {
1575
+ "type": "Tensor",
1576
+ "id": 1
1577
+ },
1578
+ "metadata": {
1579
+ "keyType": "string",
1580
+ "type": "google.protobuf.Value",
1581
+ "id": 2
1582
+ }
1583
+ }
1584
+ }
1585
+ }
1586
+ },
1587
+ "google": {
1588
+ "nested": {
1589
+ "protobuf": {
1590
+ "nested": {
1591
+ "Struct": {
1592
+ "fields": {
1593
+ "fields": {
1594
+ "keyType": "string",
1595
+ "type": "Value",
1596
+ "id": 1
1597
+ }
1598
+ }
1599
+ },
1600
+ "Value": {
1601
+ "oneofs": {
1602
+ "kind": {
1603
+ "oneof": [
1604
+ "nullValue",
1605
+ "numberValue",
1606
+ "stringValue",
1607
+ "boolValue",
1608
+ "structValue",
1609
+ "listValue"
1610
+ ]
1611
+ }
1612
+ },
1613
+ "fields": {
1614
+ "nullValue": {
1615
+ "type": "NullValue",
1616
+ "id": 1
1617
+ },
1618
+ "numberValue": {
1619
+ "type": "double",
1620
+ "id": 2
1621
+ },
1622
+ "stringValue": {
1623
+ "type": "string",
1624
+ "id": 3
1625
+ },
1626
+ "boolValue": {
1627
+ "type": "bool",
1628
+ "id": 4
1629
+ },
1630
+ "structValue": {
1631
+ "type": "Struct",
1632
+ "id": 5
1633
+ },
1634
+ "listValue": {
1635
+ "type": "ListValue",
1636
+ "id": 6
1637
+ }
1638
+ }
1639
+ },
1640
+ "NullValue": {
1641
+ "values": {
1642
+ "NULL_VALUE": 0
1643
+ }
1644
+ },
1645
+ "ListValue": {
1646
+ "fields": {
1647
+ "values": {
1648
+ "rule": "repeated",
1649
+ "type": "Value",
1650
+ "id": 1
1658
1651
  }
1652
+ }
1653
+ },
1654
+ "Empty": {
1655
+ "fields": {}
1659
1656
  }
1657
+ }
1660
1658
  }
1659
+ }
1661
1660
  }
1662
- }
1661
+ }
1662
+ }