@science-corporation/synapse 0.9.0 → 0.10.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.
- package/dist/api/api.d.ts +747 -3
- package/dist/api/api.js +3262 -1519
- package/dist/api/api.js.map +1 -1
- package/dist/api/proto.json +114 -3
- package/dist/device.d.ts +7 -4
- package/dist/device.d.ts.map +1 -1
- package/dist/device.js +15 -10
- package/dist/device.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/nodes/stream_in.d.ts +0 -4
- package/dist/nodes/stream_in.d.ts.map +1 -1
- package/dist/nodes/stream_in.js.map +1 -1
- package/package.json +5 -5
- package/src/api/api.d.ts +747 -3
- package/src/api/api.js +3516 -1657
- package/src/api/proto.json +114 -3
- package/src/device.ts +17 -10
- package/src/index.ts +1 -1
- package/src/nodes/stream_in.ts +0 -5
- package/synapse-api/COPYRIGHT +1 -0
- package/synapse-api/api/node.proto +14 -0
- package/synapse-api/api/nodes/disk_writer.proto +7 -0
- package/synapse-api/api/nodes/electrical_broadband.proto +4 -0
- package/synapse-api/api/nodes/electrical_stimulation.proto +4 -0
- package/synapse-api/api/nodes/spectral_filter.proto +1 -0
- package/synapse-api/api/nodes/stream_in.proto +5 -0
- package/synapse-api/api/nodes/stream_out.proto +4 -0
- package/synapse-api/api/status.proto +6 -0
- package/synapse-api/api/synapse.proto +1 -0
package/dist/api/api.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export namespace synapse {
|
|
|
23
23
|
|
|
24
24
|
/** SpectralFilterConfig highCutoffHz */
|
|
25
25
|
highCutoffHz?: (number|null);
|
|
26
|
+
|
|
27
|
+
/** SpectralFilterConfig sampleRateHz */
|
|
28
|
+
sampleRateHz?: (number|null);
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
/** Represents a SpectralFilterConfig. */
|
|
@@ -43,6 +46,9 @@ export namespace synapse {
|
|
|
43
46
|
/** SpectralFilterConfig highCutoffHz. */
|
|
44
47
|
public highCutoffHz: number;
|
|
45
48
|
|
|
49
|
+
/** SpectralFilterConfig sampleRateHz. */
|
|
50
|
+
public sampleRateHz: number;
|
|
51
|
+
|
|
46
52
|
/**
|
|
47
53
|
* Creates a new SpectralFilterConfig instance using the specified properties.
|
|
48
54
|
* @param [properties] Properties to set
|
|
@@ -242,6 +248,103 @@ export namespace synapse {
|
|
|
242
248
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
243
249
|
}
|
|
244
250
|
|
|
251
|
+
/** Properties of an ElectricalStimulationStatus. */
|
|
252
|
+
interface IElectricalStimulationStatus {
|
|
253
|
+
|
|
254
|
+
/** ElectricalStimulationStatus lsbUV */
|
|
255
|
+
lsbUV?: (number|null);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/** Represents an ElectricalStimulationStatus. */
|
|
259
|
+
class ElectricalStimulationStatus implements IElectricalStimulationStatus {
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Constructs a new ElectricalStimulationStatus.
|
|
263
|
+
* @param [properties] Properties to set
|
|
264
|
+
*/
|
|
265
|
+
constructor(properties?: synapse.IElectricalStimulationStatus);
|
|
266
|
+
|
|
267
|
+
/** ElectricalStimulationStatus lsbUV. */
|
|
268
|
+
public lsbUV: number;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Creates a new ElectricalStimulationStatus instance using the specified properties.
|
|
272
|
+
* @param [properties] Properties to set
|
|
273
|
+
* @returns ElectricalStimulationStatus instance
|
|
274
|
+
*/
|
|
275
|
+
public static create(properties?: synapse.IElectricalStimulationStatus): synapse.ElectricalStimulationStatus;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Encodes the specified ElectricalStimulationStatus message. Does not implicitly {@link synapse.ElectricalStimulationStatus.verify|verify} messages.
|
|
279
|
+
* @param message ElectricalStimulationStatus message or plain object to encode
|
|
280
|
+
* @param [writer] Writer to encode to
|
|
281
|
+
* @returns Writer
|
|
282
|
+
*/
|
|
283
|
+
public static encode(message: synapse.IElectricalStimulationStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Encodes the specified ElectricalStimulationStatus message, length delimited. Does not implicitly {@link synapse.ElectricalStimulationStatus.verify|verify} messages.
|
|
287
|
+
* @param message ElectricalStimulationStatus message or plain object to encode
|
|
288
|
+
* @param [writer] Writer to encode to
|
|
289
|
+
* @returns Writer
|
|
290
|
+
*/
|
|
291
|
+
public static encodeDelimited(message: synapse.IElectricalStimulationStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Decodes an ElectricalStimulationStatus message from the specified reader or buffer.
|
|
295
|
+
* @param reader Reader or buffer to decode from
|
|
296
|
+
* @param [length] Message length if known beforehand
|
|
297
|
+
* @returns ElectricalStimulationStatus
|
|
298
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
299
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
300
|
+
*/
|
|
301
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.ElectricalStimulationStatus;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Decodes an ElectricalStimulationStatus message from the specified reader or buffer, length delimited.
|
|
305
|
+
* @param reader Reader or buffer to decode from
|
|
306
|
+
* @returns ElectricalStimulationStatus
|
|
307
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
308
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
309
|
+
*/
|
|
310
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.ElectricalStimulationStatus;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Verifies an ElectricalStimulationStatus message.
|
|
314
|
+
* @param message Plain object to verify
|
|
315
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
316
|
+
*/
|
|
317
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Creates an ElectricalStimulationStatus message from a plain object. Also converts values to their respective internal types.
|
|
321
|
+
* @param object Plain object
|
|
322
|
+
* @returns ElectricalStimulationStatus
|
|
323
|
+
*/
|
|
324
|
+
public static fromObject(object: { [k: string]: any }): synapse.ElectricalStimulationStatus;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Creates a plain object from an ElectricalStimulationStatus message. Also converts values to other types if specified.
|
|
328
|
+
* @param message ElectricalStimulationStatus
|
|
329
|
+
* @param [options] Conversion options
|
|
330
|
+
* @returns Plain object
|
|
331
|
+
*/
|
|
332
|
+
public static toObject(message: synapse.ElectricalStimulationStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Converts this ElectricalStimulationStatus to JSON.
|
|
336
|
+
* @returns JSON object
|
|
337
|
+
*/
|
|
338
|
+
public toJSON(): { [k: string]: any };
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Gets the default type url for ElectricalStimulationStatus
|
|
342
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
343
|
+
* @returns The default type url
|
|
344
|
+
*/
|
|
345
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
346
|
+
}
|
|
347
|
+
|
|
245
348
|
/** Properties of a Channel. */
|
|
246
349
|
interface IChannel {
|
|
247
350
|
|
|
@@ -484,6 +587,103 @@ export namespace synapse {
|
|
|
484
587
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
485
588
|
}
|
|
486
589
|
|
|
590
|
+
/** Properties of an ElectricalBroadbandStatus. */
|
|
591
|
+
interface IElectricalBroadbandStatus {
|
|
592
|
+
|
|
593
|
+
/** ElectricalBroadbandStatus lsbUV */
|
|
594
|
+
lsbUV?: (number|null);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/** Represents an ElectricalBroadbandStatus. */
|
|
598
|
+
class ElectricalBroadbandStatus implements IElectricalBroadbandStatus {
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Constructs a new ElectricalBroadbandStatus.
|
|
602
|
+
* @param [properties] Properties to set
|
|
603
|
+
*/
|
|
604
|
+
constructor(properties?: synapse.IElectricalBroadbandStatus);
|
|
605
|
+
|
|
606
|
+
/** ElectricalBroadbandStatus lsbUV. */
|
|
607
|
+
public lsbUV: number;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Creates a new ElectricalBroadbandStatus instance using the specified properties.
|
|
611
|
+
* @param [properties] Properties to set
|
|
612
|
+
* @returns ElectricalBroadbandStatus instance
|
|
613
|
+
*/
|
|
614
|
+
public static create(properties?: synapse.IElectricalBroadbandStatus): synapse.ElectricalBroadbandStatus;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Encodes the specified ElectricalBroadbandStatus message. Does not implicitly {@link synapse.ElectricalBroadbandStatus.verify|verify} messages.
|
|
618
|
+
* @param message ElectricalBroadbandStatus message or plain object to encode
|
|
619
|
+
* @param [writer] Writer to encode to
|
|
620
|
+
* @returns Writer
|
|
621
|
+
*/
|
|
622
|
+
public static encode(message: synapse.IElectricalBroadbandStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Encodes the specified ElectricalBroadbandStatus message, length delimited. Does not implicitly {@link synapse.ElectricalBroadbandStatus.verify|verify} messages.
|
|
626
|
+
* @param message ElectricalBroadbandStatus message or plain object to encode
|
|
627
|
+
* @param [writer] Writer to encode to
|
|
628
|
+
* @returns Writer
|
|
629
|
+
*/
|
|
630
|
+
public static encodeDelimited(message: synapse.IElectricalBroadbandStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Decodes an ElectricalBroadbandStatus message from the specified reader or buffer.
|
|
634
|
+
* @param reader Reader or buffer to decode from
|
|
635
|
+
* @param [length] Message length if known beforehand
|
|
636
|
+
* @returns ElectricalBroadbandStatus
|
|
637
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
638
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
639
|
+
*/
|
|
640
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.ElectricalBroadbandStatus;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Decodes an ElectricalBroadbandStatus message from the specified reader or buffer, length delimited.
|
|
644
|
+
* @param reader Reader or buffer to decode from
|
|
645
|
+
* @returns ElectricalBroadbandStatus
|
|
646
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
647
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
648
|
+
*/
|
|
649
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.ElectricalBroadbandStatus;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Verifies an ElectricalBroadbandStatus message.
|
|
653
|
+
* @param message Plain object to verify
|
|
654
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
655
|
+
*/
|
|
656
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Creates an ElectricalBroadbandStatus message from a plain object. Also converts values to their respective internal types.
|
|
660
|
+
* @param object Plain object
|
|
661
|
+
* @returns ElectricalBroadbandStatus
|
|
662
|
+
*/
|
|
663
|
+
public static fromObject(object: { [k: string]: any }): synapse.ElectricalBroadbandStatus;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Creates a plain object from an ElectricalBroadbandStatus message. Also converts values to other types if specified.
|
|
667
|
+
* @param message ElectricalBroadbandStatus
|
|
668
|
+
* @param [options] Conversion options
|
|
669
|
+
* @returns Plain object
|
|
670
|
+
*/
|
|
671
|
+
public static toObject(message: synapse.ElectricalBroadbandStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Converts this ElectricalBroadbandStatus to JSON.
|
|
675
|
+
* @returns JSON object
|
|
676
|
+
*/
|
|
677
|
+
public toJSON(): { [k: string]: any };
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Gets the default type url for ElectricalBroadbandStatus
|
|
681
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
682
|
+
* @returns The default type url
|
|
683
|
+
*/
|
|
684
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
685
|
+
}
|
|
686
|
+
|
|
487
687
|
/** Properties of a SpikeDetectConfig. */
|
|
488
688
|
interface ISpikeDetectConfig {
|
|
489
689
|
|
|
@@ -620,6 +820,9 @@ export namespace synapse {
|
|
|
620
820
|
|
|
621
821
|
/** StreamInConfig dataType */
|
|
622
822
|
dataType?: (synapse.DataType|null);
|
|
823
|
+
|
|
824
|
+
/** StreamInConfig shape */
|
|
825
|
+
shape?: (number[]|null);
|
|
623
826
|
}
|
|
624
827
|
|
|
625
828
|
/** Represents a StreamInConfig. */
|
|
@@ -634,6 +837,9 @@ export namespace synapse {
|
|
|
634
837
|
/** StreamInConfig dataType. */
|
|
635
838
|
public dataType: synapse.DataType;
|
|
636
839
|
|
|
840
|
+
/** StreamInConfig shape. */
|
|
841
|
+
public shape: number[];
|
|
842
|
+
|
|
637
843
|
/**
|
|
638
844
|
* Creates a new StreamInConfig instance using the specified properties.
|
|
639
845
|
* @param [properties] Properties to set
|
|
@@ -712,6 +918,103 @@ export namespace synapse {
|
|
|
712
918
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
713
919
|
}
|
|
714
920
|
|
|
921
|
+
/** Properties of a StreamInStatus. */
|
|
922
|
+
interface IStreamInStatus {
|
|
923
|
+
|
|
924
|
+
/** StreamInStatus throughputMbps */
|
|
925
|
+
throughputMbps?: (number|null);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/** Represents a StreamInStatus. */
|
|
929
|
+
class StreamInStatus implements IStreamInStatus {
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Constructs a new StreamInStatus.
|
|
933
|
+
* @param [properties] Properties to set
|
|
934
|
+
*/
|
|
935
|
+
constructor(properties?: synapse.IStreamInStatus);
|
|
936
|
+
|
|
937
|
+
/** StreamInStatus throughputMbps. */
|
|
938
|
+
public throughputMbps: number;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Creates a new StreamInStatus instance using the specified properties.
|
|
942
|
+
* @param [properties] Properties to set
|
|
943
|
+
* @returns StreamInStatus instance
|
|
944
|
+
*/
|
|
945
|
+
public static create(properties?: synapse.IStreamInStatus): synapse.StreamInStatus;
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Encodes the specified StreamInStatus message. Does not implicitly {@link synapse.StreamInStatus.verify|verify} messages.
|
|
949
|
+
* @param message StreamInStatus message or plain object to encode
|
|
950
|
+
* @param [writer] Writer to encode to
|
|
951
|
+
* @returns Writer
|
|
952
|
+
*/
|
|
953
|
+
public static encode(message: synapse.IStreamInStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Encodes the specified StreamInStatus message, length delimited. Does not implicitly {@link synapse.StreamInStatus.verify|verify} messages.
|
|
957
|
+
* @param message StreamInStatus message or plain object to encode
|
|
958
|
+
* @param [writer] Writer to encode to
|
|
959
|
+
* @returns Writer
|
|
960
|
+
*/
|
|
961
|
+
public static encodeDelimited(message: synapse.IStreamInStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Decodes a StreamInStatus message from the specified reader or buffer.
|
|
965
|
+
* @param reader Reader or buffer to decode from
|
|
966
|
+
* @param [length] Message length if known beforehand
|
|
967
|
+
* @returns StreamInStatus
|
|
968
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
969
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
970
|
+
*/
|
|
971
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.StreamInStatus;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Decodes a StreamInStatus message from the specified reader or buffer, length delimited.
|
|
975
|
+
* @param reader Reader or buffer to decode from
|
|
976
|
+
* @returns StreamInStatus
|
|
977
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
978
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
979
|
+
*/
|
|
980
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.StreamInStatus;
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Verifies a StreamInStatus message.
|
|
984
|
+
* @param message Plain object to verify
|
|
985
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
986
|
+
*/
|
|
987
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Creates a StreamInStatus message from a plain object. Also converts values to their respective internal types.
|
|
991
|
+
* @param object Plain object
|
|
992
|
+
* @returns StreamInStatus
|
|
993
|
+
*/
|
|
994
|
+
public static fromObject(object: { [k: string]: any }): synapse.StreamInStatus;
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Creates a plain object from a StreamInStatus message. Also converts values to other types if specified.
|
|
998
|
+
* @param message StreamInStatus
|
|
999
|
+
* @param [options] Conversion options
|
|
1000
|
+
* @returns Plain object
|
|
1001
|
+
*/
|
|
1002
|
+
public static toObject(message: synapse.StreamInStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Converts this StreamInStatus to JSON.
|
|
1006
|
+
* @returns JSON object
|
|
1007
|
+
*/
|
|
1008
|
+
public toJSON(): { [k: string]: any };
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Gets the default type url for StreamInStatus
|
|
1012
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1013
|
+
* @returns The default type url
|
|
1014
|
+
*/
|
|
1015
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
715
1018
|
/** DataType enum. */
|
|
716
1019
|
enum DataType {
|
|
717
1020
|
kDataTypeUnknown = 0,
|
|
@@ -722,6 +1025,103 @@ export namespace synapse {
|
|
|
722
1025
|
kImage = 5
|
|
723
1026
|
}
|
|
724
1027
|
|
|
1028
|
+
/** Properties of a DiskWriterConfig. */
|
|
1029
|
+
interface IDiskWriterConfig {
|
|
1030
|
+
|
|
1031
|
+
/** DiskWriterConfig filename */
|
|
1032
|
+
filename?: (string|null);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
/** Represents a DiskWriterConfig. */
|
|
1036
|
+
class DiskWriterConfig implements IDiskWriterConfig {
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Constructs a new DiskWriterConfig.
|
|
1040
|
+
* @param [properties] Properties to set
|
|
1041
|
+
*/
|
|
1042
|
+
constructor(properties?: synapse.IDiskWriterConfig);
|
|
1043
|
+
|
|
1044
|
+
/** DiskWriterConfig filename. */
|
|
1045
|
+
public filename: string;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Creates a new DiskWriterConfig instance using the specified properties.
|
|
1049
|
+
* @param [properties] Properties to set
|
|
1050
|
+
* @returns DiskWriterConfig instance
|
|
1051
|
+
*/
|
|
1052
|
+
public static create(properties?: synapse.IDiskWriterConfig): synapse.DiskWriterConfig;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Encodes the specified DiskWriterConfig message. Does not implicitly {@link synapse.DiskWriterConfig.verify|verify} messages.
|
|
1056
|
+
* @param message DiskWriterConfig message or plain object to encode
|
|
1057
|
+
* @param [writer] Writer to encode to
|
|
1058
|
+
* @returns Writer
|
|
1059
|
+
*/
|
|
1060
|
+
public static encode(message: synapse.IDiskWriterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Encodes the specified DiskWriterConfig message, length delimited. Does not implicitly {@link synapse.DiskWriterConfig.verify|verify} messages.
|
|
1064
|
+
* @param message DiskWriterConfig message or plain object to encode
|
|
1065
|
+
* @param [writer] Writer to encode to
|
|
1066
|
+
* @returns Writer
|
|
1067
|
+
*/
|
|
1068
|
+
public static encodeDelimited(message: synapse.IDiskWriterConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Decodes a DiskWriterConfig message from the specified reader or buffer.
|
|
1072
|
+
* @param reader Reader or buffer to decode from
|
|
1073
|
+
* @param [length] Message length if known beforehand
|
|
1074
|
+
* @returns DiskWriterConfig
|
|
1075
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1076
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1077
|
+
*/
|
|
1078
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.DiskWriterConfig;
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Decodes a DiskWriterConfig message from the specified reader or buffer, length delimited.
|
|
1082
|
+
* @param reader Reader or buffer to decode from
|
|
1083
|
+
* @returns DiskWriterConfig
|
|
1084
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1085
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1086
|
+
*/
|
|
1087
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.DiskWriterConfig;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Verifies a DiskWriterConfig message.
|
|
1091
|
+
* @param message Plain object to verify
|
|
1092
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1093
|
+
*/
|
|
1094
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Creates a DiskWriterConfig message from a plain object. Also converts values to their respective internal types.
|
|
1098
|
+
* @param object Plain object
|
|
1099
|
+
* @returns DiskWriterConfig
|
|
1100
|
+
*/
|
|
1101
|
+
public static fromObject(object: { [k: string]: any }): synapse.DiskWriterConfig;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Creates a plain object from a DiskWriterConfig message. Also converts values to other types if specified.
|
|
1105
|
+
* @param message DiskWriterConfig
|
|
1106
|
+
* @param [options] Conversion options
|
|
1107
|
+
* @returns Plain object
|
|
1108
|
+
*/
|
|
1109
|
+
public static toObject(message: synapse.DiskWriterConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Converts this DiskWriterConfig to JSON.
|
|
1113
|
+
* @returns JSON object
|
|
1114
|
+
*/
|
|
1115
|
+
public toJSON(): { [k: string]: any };
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Gets the default type url for DiskWriterConfig
|
|
1119
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1120
|
+
* @returns The default type url
|
|
1121
|
+
*/
|
|
1122
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
725
1125
|
/** Properties of a StreamOutConfig. */
|
|
726
1126
|
interface IStreamOutConfig {
|
|
727
1127
|
|
|
@@ -825,6 +1225,103 @@ export namespace synapse {
|
|
|
825
1225
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
826
1226
|
}
|
|
827
1227
|
|
|
1228
|
+
/** Properties of a StreamOutStatus. */
|
|
1229
|
+
interface IStreamOutStatus {
|
|
1230
|
+
|
|
1231
|
+
/** StreamOutStatus throughputMbps */
|
|
1232
|
+
throughputMbps?: (number|null);
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/** Represents a StreamOutStatus. */
|
|
1236
|
+
class StreamOutStatus implements IStreamOutStatus {
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* Constructs a new StreamOutStatus.
|
|
1240
|
+
* @param [properties] Properties to set
|
|
1241
|
+
*/
|
|
1242
|
+
constructor(properties?: synapse.IStreamOutStatus);
|
|
1243
|
+
|
|
1244
|
+
/** StreamOutStatus throughputMbps. */
|
|
1245
|
+
public throughputMbps: number;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Creates a new StreamOutStatus instance using the specified properties.
|
|
1249
|
+
* @param [properties] Properties to set
|
|
1250
|
+
* @returns StreamOutStatus instance
|
|
1251
|
+
*/
|
|
1252
|
+
public static create(properties?: synapse.IStreamOutStatus): synapse.StreamOutStatus;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* Encodes the specified StreamOutStatus message. Does not implicitly {@link synapse.StreamOutStatus.verify|verify} messages.
|
|
1256
|
+
* @param message StreamOutStatus message or plain object to encode
|
|
1257
|
+
* @param [writer] Writer to encode to
|
|
1258
|
+
* @returns Writer
|
|
1259
|
+
*/
|
|
1260
|
+
public static encode(message: synapse.IStreamOutStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* Encodes the specified StreamOutStatus message, length delimited. Does not implicitly {@link synapse.StreamOutStatus.verify|verify} messages.
|
|
1264
|
+
* @param message StreamOutStatus message or plain object to encode
|
|
1265
|
+
* @param [writer] Writer to encode to
|
|
1266
|
+
* @returns Writer
|
|
1267
|
+
*/
|
|
1268
|
+
public static encodeDelimited(message: synapse.IStreamOutStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Decodes a StreamOutStatus message from the specified reader or buffer.
|
|
1272
|
+
* @param reader Reader or buffer to decode from
|
|
1273
|
+
* @param [length] Message length if known beforehand
|
|
1274
|
+
* @returns StreamOutStatus
|
|
1275
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1276
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1277
|
+
*/
|
|
1278
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.StreamOutStatus;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* Decodes a StreamOutStatus message from the specified reader or buffer, length delimited.
|
|
1282
|
+
* @param reader Reader or buffer to decode from
|
|
1283
|
+
* @returns StreamOutStatus
|
|
1284
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1285
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1286
|
+
*/
|
|
1287
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.StreamOutStatus;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Verifies a StreamOutStatus message.
|
|
1291
|
+
* @param message Plain object to verify
|
|
1292
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1293
|
+
*/
|
|
1294
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Creates a StreamOutStatus message from a plain object. Also converts values to their respective internal types.
|
|
1298
|
+
* @param object Plain object
|
|
1299
|
+
* @returns StreamOutStatus
|
|
1300
|
+
*/
|
|
1301
|
+
public static fromObject(object: { [k: string]: any }): synapse.StreamOutStatus;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Creates a plain object from a StreamOutStatus message. Also converts values to other types if specified.
|
|
1305
|
+
* @param message StreamOutStatus
|
|
1306
|
+
* @param [options] Conversion options
|
|
1307
|
+
* @returns Plain object
|
|
1308
|
+
*/
|
|
1309
|
+
public static toObject(message: synapse.StreamOutStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Converts this StreamOutStatus to JSON.
|
|
1313
|
+
* @returns JSON object
|
|
1314
|
+
*/
|
|
1315
|
+
public toJSON(): { [k: string]: any };
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Gets the default type url for StreamOutStatus
|
|
1319
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1320
|
+
* @returns The default type url
|
|
1321
|
+
*/
|
|
1322
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
828
1325
|
/** Properties of an OpticalBroadbandConfig. */
|
|
829
1326
|
interface IOpticalBroadbandConfig {
|
|
830
1327
|
|
|
@@ -1081,6 +1578,9 @@ export namespace synapse {
|
|
|
1081
1578
|
|
|
1082
1579
|
/** Peripheral type */
|
|
1083
1580
|
type?: (synapse.Peripheral.Type|null);
|
|
1581
|
+
|
|
1582
|
+
/** Peripheral address */
|
|
1583
|
+
address?: (string|null);
|
|
1084
1584
|
}
|
|
1085
1585
|
|
|
1086
1586
|
/** Represents a Peripheral. */
|
|
@@ -1104,6 +1604,9 @@ export namespace synapse {
|
|
|
1104
1604
|
/** Peripheral type. */
|
|
1105
1605
|
public type: synapse.Peripheral.Type;
|
|
1106
1606
|
|
|
1607
|
+
/** Peripheral address. */
|
|
1608
|
+
public address: string;
|
|
1609
|
+
|
|
1107
1610
|
/**
|
|
1108
1611
|
* Creates a new Peripheral instance using the specified properties.
|
|
1109
1612
|
* @param [properties] Properties to set
|
|
@@ -1653,7 +2156,8 @@ export namespace synapse {
|
|
|
1653
2156
|
kOpticalBroadband = 5,
|
|
1654
2157
|
kOpticalStimulation = 6,
|
|
1655
2158
|
kSpikeDetect = 7,
|
|
1656
|
-
kSpectralFilter = 8
|
|
2159
|
+
kSpectralFilter = 8,
|
|
2160
|
+
kDiskWriter = 9
|
|
1657
2161
|
}
|
|
1658
2162
|
|
|
1659
2163
|
/** Properties of a NodeConfig. */
|
|
@@ -1688,6 +2192,9 @@ export namespace synapse {
|
|
|
1688
2192
|
|
|
1689
2193
|
/** NodeConfig spectralFilter */
|
|
1690
2194
|
spectralFilter?: (synapse.ISpectralFilterConfig|null);
|
|
2195
|
+
|
|
2196
|
+
/** NodeConfig diskWriter */
|
|
2197
|
+
diskWriter?: (synapse.IDiskWriterConfig|null);
|
|
1691
2198
|
}
|
|
1692
2199
|
|
|
1693
2200
|
/** Represents a NodeConfig. */
|
|
@@ -1729,8 +2236,11 @@ export namespace synapse {
|
|
|
1729
2236
|
/** NodeConfig spectralFilter. */
|
|
1730
2237
|
public spectralFilter?: (synapse.ISpectralFilterConfig|null);
|
|
1731
2238
|
|
|
2239
|
+
/** NodeConfig diskWriter. */
|
|
2240
|
+
public diskWriter?: (synapse.IDiskWriterConfig|null);
|
|
2241
|
+
|
|
1732
2242
|
/** NodeConfig config. */
|
|
1733
|
-
public config?: ("streamOut"|"streamIn"|"electricalBroadband"|"electricalStimulation"|"opticalBroadband"|"opticalStimulation"|"spikeDetect"|"spectralFilter");
|
|
2243
|
+
public config?: ("streamOut"|"streamIn"|"electricalBroadband"|"electricalStimulation"|"opticalBroadband"|"opticalStimulation"|"spikeDetect"|"spectralFilter"|"diskWriter");
|
|
1734
2244
|
|
|
1735
2245
|
/**
|
|
1736
2246
|
* Creates a new NodeConfig instance using the specified properties.
|
|
@@ -1810,6 +2320,136 @@ export namespace synapse {
|
|
|
1810
2320
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1811
2321
|
}
|
|
1812
2322
|
|
|
2323
|
+
/** Properties of a NodeStatus. */
|
|
2324
|
+
interface INodeStatus {
|
|
2325
|
+
|
|
2326
|
+
/** NodeStatus type */
|
|
2327
|
+
type?: (synapse.NodeType|null);
|
|
2328
|
+
|
|
2329
|
+
/** NodeStatus id */
|
|
2330
|
+
id?: (number|null);
|
|
2331
|
+
|
|
2332
|
+
/** NodeStatus streamOut */
|
|
2333
|
+
streamOut?: (synapse.IStreamOutStatus|null);
|
|
2334
|
+
|
|
2335
|
+
/** NodeStatus electricalBroadband */
|
|
2336
|
+
electricalBroadband?: (synapse.IElectricalBroadbandStatus|null);
|
|
2337
|
+
|
|
2338
|
+
/** NodeStatus streamIn */
|
|
2339
|
+
streamIn?: (synapse.IStreamInStatus|null);
|
|
2340
|
+
|
|
2341
|
+
/** NodeStatus electricalStimulation */
|
|
2342
|
+
electricalStimulation?: (synapse.IElectricalStimulationStatus|null);
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
/** Represents a NodeStatus. */
|
|
2346
|
+
class NodeStatus implements INodeStatus {
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* Constructs a new NodeStatus.
|
|
2350
|
+
* @param [properties] Properties to set
|
|
2351
|
+
*/
|
|
2352
|
+
constructor(properties?: synapse.INodeStatus);
|
|
2353
|
+
|
|
2354
|
+
/** NodeStatus type. */
|
|
2355
|
+
public type: synapse.NodeType;
|
|
2356
|
+
|
|
2357
|
+
/** NodeStatus id. */
|
|
2358
|
+
public id: number;
|
|
2359
|
+
|
|
2360
|
+
/** NodeStatus streamOut. */
|
|
2361
|
+
public streamOut?: (synapse.IStreamOutStatus|null);
|
|
2362
|
+
|
|
2363
|
+
/** NodeStatus electricalBroadband. */
|
|
2364
|
+
public electricalBroadband?: (synapse.IElectricalBroadbandStatus|null);
|
|
2365
|
+
|
|
2366
|
+
/** NodeStatus streamIn. */
|
|
2367
|
+
public streamIn?: (synapse.IStreamInStatus|null);
|
|
2368
|
+
|
|
2369
|
+
/** NodeStatus electricalStimulation. */
|
|
2370
|
+
public electricalStimulation?: (synapse.IElectricalStimulationStatus|null);
|
|
2371
|
+
|
|
2372
|
+
/** NodeStatus status. */
|
|
2373
|
+
public status?: ("streamOut"|"electricalBroadband"|"streamIn"|"electricalStimulation");
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* Creates a new NodeStatus instance using the specified properties.
|
|
2377
|
+
* @param [properties] Properties to set
|
|
2378
|
+
* @returns NodeStatus instance
|
|
2379
|
+
*/
|
|
2380
|
+
public static create(properties?: synapse.INodeStatus): synapse.NodeStatus;
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Encodes the specified NodeStatus message. Does not implicitly {@link synapse.NodeStatus.verify|verify} messages.
|
|
2384
|
+
* @param message NodeStatus message or plain object to encode
|
|
2385
|
+
* @param [writer] Writer to encode to
|
|
2386
|
+
* @returns Writer
|
|
2387
|
+
*/
|
|
2388
|
+
public static encode(message: synapse.INodeStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* Encodes the specified NodeStatus message, length delimited. Does not implicitly {@link synapse.NodeStatus.verify|verify} messages.
|
|
2392
|
+
* @param message NodeStatus message or plain object to encode
|
|
2393
|
+
* @param [writer] Writer to encode to
|
|
2394
|
+
* @returns Writer
|
|
2395
|
+
*/
|
|
2396
|
+
public static encodeDelimited(message: synapse.INodeStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Decodes a NodeStatus message from the specified reader or buffer.
|
|
2400
|
+
* @param reader Reader or buffer to decode from
|
|
2401
|
+
* @param [length] Message length if known beforehand
|
|
2402
|
+
* @returns NodeStatus
|
|
2403
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2404
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2405
|
+
*/
|
|
2406
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.NodeStatus;
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
* Decodes a NodeStatus message from the specified reader or buffer, length delimited.
|
|
2410
|
+
* @param reader Reader or buffer to decode from
|
|
2411
|
+
* @returns NodeStatus
|
|
2412
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2413
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2414
|
+
*/
|
|
2415
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.NodeStatus;
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* Verifies a NodeStatus message.
|
|
2419
|
+
* @param message Plain object to verify
|
|
2420
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2421
|
+
*/
|
|
2422
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2423
|
+
|
|
2424
|
+
/**
|
|
2425
|
+
* Creates a NodeStatus message from a plain object. Also converts values to their respective internal types.
|
|
2426
|
+
* @param object Plain object
|
|
2427
|
+
* @returns NodeStatus
|
|
2428
|
+
*/
|
|
2429
|
+
public static fromObject(object: { [k: string]: any }): synapse.NodeStatus;
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* Creates a plain object from a NodeStatus message. Also converts values to other types if specified.
|
|
2433
|
+
* @param message NodeStatus
|
|
2434
|
+
* @param [options] Conversion options
|
|
2435
|
+
* @returns Plain object
|
|
2436
|
+
*/
|
|
2437
|
+
public static toObject(message: synapse.NodeStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Converts this NodeStatus to JSON.
|
|
2441
|
+
* @returns JSON object
|
|
2442
|
+
*/
|
|
2443
|
+
public toJSON(): { [k: string]: any };
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* Gets the default type url for NodeStatus
|
|
2447
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2448
|
+
* @returns The default type url
|
|
2449
|
+
*/
|
|
2450
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
1813
2453
|
/** Properties of a NodeConnection. */
|
|
1814
2454
|
interface INodeConnection {
|
|
1815
2455
|
|
|
@@ -2688,7 +3328,8 @@ export namespace synapse {
|
|
|
2688
3328
|
kFailedPrecondition = 3,
|
|
2689
3329
|
kUnimplemented = 4,
|
|
2690
3330
|
kInternalError = 5,
|
|
2691
|
-
kPermissionDenied = 6
|
|
3331
|
+
kPermissionDenied = 6,
|
|
3332
|
+
kQueryFailed = 7
|
|
2692
3333
|
}
|
|
2693
3334
|
|
|
2694
3335
|
/** DeviceState enum. */
|
|
@@ -2906,6 +3547,103 @@ export namespace synapse {
|
|
|
2906
3547
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2907
3548
|
}
|
|
2908
3549
|
|
|
3550
|
+
/** Properties of a SignalChainStatus. */
|
|
3551
|
+
interface ISignalChainStatus {
|
|
3552
|
+
|
|
3553
|
+
/** SignalChainStatus nodes */
|
|
3554
|
+
nodes?: (synapse.INodeStatus[]|null);
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
/** Represents a SignalChainStatus. */
|
|
3558
|
+
class SignalChainStatus implements ISignalChainStatus {
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* Constructs a new SignalChainStatus.
|
|
3562
|
+
* @param [properties] Properties to set
|
|
3563
|
+
*/
|
|
3564
|
+
constructor(properties?: synapse.ISignalChainStatus);
|
|
3565
|
+
|
|
3566
|
+
/** SignalChainStatus nodes. */
|
|
3567
|
+
public nodes: synapse.INodeStatus[];
|
|
3568
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* Creates a new SignalChainStatus instance using the specified properties.
|
|
3571
|
+
* @param [properties] Properties to set
|
|
3572
|
+
* @returns SignalChainStatus instance
|
|
3573
|
+
*/
|
|
3574
|
+
public static create(properties?: synapse.ISignalChainStatus): synapse.SignalChainStatus;
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* Encodes the specified SignalChainStatus message. Does not implicitly {@link synapse.SignalChainStatus.verify|verify} messages.
|
|
3578
|
+
* @param message SignalChainStatus message or plain object to encode
|
|
3579
|
+
* @param [writer] Writer to encode to
|
|
3580
|
+
* @returns Writer
|
|
3581
|
+
*/
|
|
3582
|
+
public static encode(message: synapse.ISignalChainStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3583
|
+
|
|
3584
|
+
/**
|
|
3585
|
+
* Encodes the specified SignalChainStatus message, length delimited. Does not implicitly {@link synapse.SignalChainStatus.verify|verify} messages.
|
|
3586
|
+
* @param message SignalChainStatus message or plain object to encode
|
|
3587
|
+
* @param [writer] Writer to encode to
|
|
3588
|
+
* @returns Writer
|
|
3589
|
+
*/
|
|
3590
|
+
public static encodeDelimited(message: synapse.ISignalChainStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3591
|
+
|
|
3592
|
+
/**
|
|
3593
|
+
* Decodes a SignalChainStatus message from the specified reader or buffer.
|
|
3594
|
+
* @param reader Reader or buffer to decode from
|
|
3595
|
+
* @param [length] Message length if known beforehand
|
|
3596
|
+
* @returns SignalChainStatus
|
|
3597
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3598
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3599
|
+
*/
|
|
3600
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.SignalChainStatus;
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* Decodes a SignalChainStatus message from the specified reader or buffer, length delimited.
|
|
3604
|
+
* @param reader Reader or buffer to decode from
|
|
3605
|
+
* @returns SignalChainStatus
|
|
3606
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3607
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3608
|
+
*/
|
|
3609
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.SignalChainStatus;
|
|
3610
|
+
|
|
3611
|
+
/**
|
|
3612
|
+
* Verifies a SignalChainStatus message.
|
|
3613
|
+
* @param message Plain object to verify
|
|
3614
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3615
|
+
*/
|
|
3616
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* Creates a SignalChainStatus message from a plain object. Also converts values to their respective internal types.
|
|
3620
|
+
* @param object Plain object
|
|
3621
|
+
* @returns SignalChainStatus
|
|
3622
|
+
*/
|
|
3623
|
+
public static fromObject(object: { [k: string]: any }): synapse.SignalChainStatus;
|
|
3624
|
+
|
|
3625
|
+
/**
|
|
3626
|
+
* Creates a plain object from a SignalChainStatus message. Also converts values to other types if specified.
|
|
3627
|
+
* @param message SignalChainStatus
|
|
3628
|
+
* @param [options] Conversion options
|
|
3629
|
+
* @returns Plain object
|
|
3630
|
+
*/
|
|
3631
|
+
public static toObject(message: synapse.SignalChainStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3632
|
+
|
|
3633
|
+
/**
|
|
3634
|
+
* Converts this SignalChainStatus to JSON.
|
|
3635
|
+
* @returns JSON object
|
|
3636
|
+
*/
|
|
3637
|
+
public toJSON(): { [k: string]: any };
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* Gets the default type url for SignalChainStatus
|
|
3641
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3642
|
+
* @returns The default type url
|
|
3643
|
+
*/
|
|
3644
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3645
|
+
}
|
|
3646
|
+
|
|
2909
3647
|
/** Properties of a Status. */
|
|
2910
3648
|
interface IStatus {
|
|
2911
3649
|
|
|
@@ -2926,6 +3664,9 @@ export namespace synapse {
|
|
|
2926
3664
|
|
|
2927
3665
|
/** Status storage */
|
|
2928
3666
|
storage?: (synapse.IDeviceStorage|null);
|
|
3667
|
+
|
|
3668
|
+
/** Status signalChain */
|
|
3669
|
+
signalChain?: (synapse.ISignalChainStatus|null);
|
|
2929
3670
|
}
|
|
2930
3671
|
|
|
2931
3672
|
/** Represents a Status. */
|
|
@@ -2955,6 +3696,9 @@ export namespace synapse {
|
|
|
2955
3696
|
/** Status storage. */
|
|
2956
3697
|
public storage?: (synapse.IDeviceStorage|null);
|
|
2957
3698
|
|
|
3699
|
+
/** Status signalChain. */
|
|
3700
|
+
public signalChain?: (synapse.ISignalChainStatus|null);
|
|
3701
|
+
|
|
2958
3702
|
/**
|
|
2959
3703
|
* Creates a new Status instance using the specified properties.
|
|
2960
3704
|
* @param [properties] Properties to set
|