@science-corporation/synapse 1.1.0 → 2.0.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 +587 -65
- package/dist/api/api.js +5414 -4238
- package/dist/api/api.js.map +1 -1
- package/dist/api/proto.json +97 -30
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -2
- package/dist/config.js.map +1 -1
- package/dist/device.d.ts +6 -0
- package/dist/device.d.ts.map +1 -1
- package/dist/device.js +25 -0
- package/dist/device.js.map +1 -1
- package/dist/nodes/index.d.ts +2 -1
- package/dist/nodes/index.d.ts.map +1 -1
- package/dist/nodes/index.js +5 -3
- package/dist/nodes/index.js.map +1 -1
- package/dist/nodes/spike_binner.d.ts +11 -0
- package/dist/nodes/{spike_detect.d.ts.map → spike_binner.d.ts.map} +1 -1
- package/dist/nodes/spike_binner.js +28 -0
- package/dist/nodes/{spike_detect.js.map → spike_binner.js.map} +1 -1
- package/dist/nodes/spike_detector.d.ts +11 -0
- package/dist/nodes/spike_detector.d.ts.map +1 -0
- package/dist/nodes/{spike_detect.js → spike_detector.js} +9 -9
- package/dist/nodes/spike_detector.js.map +1 -0
- package/package.json +1 -1
- package/src/api/api.d.ts +587 -65
- package/src/api/api.js +5555 -4296
- package/src/api/proto.json +97 -30
- package/src/config.ts +4 -2
- package/src/device.ts +34 -1
- package/src/nodes/index.ts +2 -1
- package/src/nodes/spike_binner.ts +30 -0
- package/src/nodes/spike_detector.ts +30 -0
- package/synapse-api/.github/pull_request_template.md +10 -0
- package/synapse-api/api/datatype.proto +1 -0
- package/synapse-api/api/node.proto +6 -3
- package/synapse-api/api/nodes/spike_binner.proto +7 -0
- package/synapse-api/api/nodes/spike_detector.proto +19 -0
- package/synapse-api/api/query.proto +19 -1
- package/synapse-api/api/synapse.proto +1 -0
- package/dist/nodes/spike_detect.d.ts +0 -11
- package/src/nodes/spike_detect.ts +0 -30
- package/synapse-api/api/nodes/spike_detect.proto +0 -16
package/dist/api/api.d.ts
CHANGED
|
@@ -887,135 +887,407 @@ export namespace synapse {
|
|
|
887
887
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
-
/** Properties of a
|
|
891
|
-
interface
|
|
890
|
+
/** Properties of a SpikeBinnerConfig. */
|
|
891
|
+
interface ISpikeBinnerConfig {
|
|
892
892
|
|
|
893
|
-
/**
|
|
894
|
-
|
|
893
|
+
/** SpikeBinnerConfig binSizeMs */
|
|
894
|
+
binSizeMs?: (number|null);
|
|
895
|
+
}
|
|
895
896
|
|
|
896
|
-
|
|
897
|
-
|
|
897
|
+
/** Represents a SpikeBinnerConfig. */
|
|
898
|
+
class SpikeBinnerConfig implements ISpikeBinnerConfig {
|
|
898
899
|
|
|
899
|
-
/**
|
|
900
|
-
|
|
900
|
+
/**
|
|
901
|
+
* Constructs a new SpikeBinnerConfig.
|
|
902
|
+
* @param [properties] Properties to set
|
|
903
|
+
*/
|
|
904
|
+
constructor(properties?: synapse.ISpikeBinnerConfig);
|
|
901
905
|
|
|
902
|
-
/**
|
|
903
|
-
|
|
906
|
+
/** SpikeBinnerConfig binSizeMs. */
|
|
907
|
+
public binSizeMs: number;
|
|
904
908
|
|
|
905
|
-
/**
|
|
906
|
-
|
|
909
|
+
/**
|
|
910
|
+
* Creates a new SpikeBinnerConfig instance using the specified properties.
|
|
911
|
+
* @param [properties] Properties to set
|
|
912
|
+
* @returns SpikeBinnerConfig instance
|
|
913
|
+
*/
|
|
914
|
+
public static create(properties?: synapse.ISpikeBinnerConfig): synapse.SpikeBinnerConfig;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Encodes the specified SpikeBinnerConfig message. Does not implicitly {@link synapse.SpikeBinnerConfig.verify|verify} messages.
|
|
918
|
+
* @param message SpikeBinnerConfig message or plain object to encode
|
|
919
|
+
* @param [writer] Writer to encode to
|
|
920
|
+
* @returns Writer
|
|
921
|
+
*/
|
|
922
|
+
public static encode(message: synapse.ISpikeBinnerConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Encodes the specified SpikeBinnerConfig message, length delimited. Does not implicitly {@link synapse.SpikeBinnerConfig.verify|verify} messages.
|
|
926
|
+
* @param message SpikeBinnerConfig message or plain object to encode
|
|
927
|
+
* @param [writer] Writer to encode to
|
|
928
|
+
* @returns Writer
|
|
929
|
+
*/
|
|
930
|
+
public static encodeDelimited(message: synapse.ISpikeBinnerConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Decodes a SpikeBinnerConfig message from the specified reader or buffer.
|
|
934
|
+
* @param reader Reader or buffer to decode from
|
|
935
|
+
* @param [length] Message length if known beforehand
|
|
936
|
+
* @returns SpikeBinnerConfig
|
|
937
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
938
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
939
|
+
*/
|
|
940
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.SpikeBinnerConfig;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Decodes a SpikeBinnerConfig message from the specified reader or buffer, length delimited.
|
|
944
|
+
* @param reader Reader or buffer to decode from
|
|
945
|
+
* @returns SpikeBinnerConfig
|
|
946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
948
|
+
*/
|
|
949
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.SpikeBinnerConfig;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Verifies a SpikeBinnerConfig message.
|
|
953
|
+
* @param message Plain object to verify
|
|
954
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
955
|
+
*/
|
|
956
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Creates a SpikeBinnerConfig message from a plain object. Also converts values to their respective internal types.
|
|
960
|
+
* @param object Plain object
|
|
961
|
+
* @returns SpikeBinnerConfig
|
|
962
|
+
*/
|
|
963
|
+
public static fromObject(object: { [k: string]: any }): synapse.SpikeBinnerConfig;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Creates a plain object from a SpikeBinnerConfig message. Also converts values to other types if specified.
|
|
967
|
+
* @param message SpikeBinnerConfig
|
|
968
|
+
* @param [options] Conversion options
|
|
969
|
+
* @returns Plain object
|
|
970
|
+
*/
|
|
971
|
+
public static toObject(message: synapse.SpikeBinnerConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Converts this SpikeBinnerConfig to JSON.
|
|
975
|
+
* @returns JSON object
|
|
976
|
+
*/
|
|
977
|
+
public toJSON(): { [k: string]: any };
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Gets the default type url for SpikeBinnerConfig
|
|
981
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
982
|
+
* @returns The default type url
|
|
983
|
+
*/
|
|
984
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
907
985
|
}
|
|
908
986
|
|
|
909
|
-
/**
|
|
910
|
-
|
|
987
|
+
/** Properties of a TemplateMatcher. */
|
|
988
|
+
interface ITemplateMatcher {
|
|
989
|
+
|
|
990
|
+
/** TemplateMatcher templateUV */
|
|
991
|
+
templateUV?: (number[]|null);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
/** Represents a TemplateMatcher. */
|
|
995
|
+
class TemplateMatcher implements ITemplateMatcher {
|
|
911
996
|
|
|
912
997
|
/**
|
|
913
|
-
* Constructs a new
|
|
998
|
+
* Constructs a new TemplateMatcher.
|
|
914
999
|
* @param [properties] Properties to set
|
|
915
1000
|
*/
|
|
916
|
-
constructor(properties?: synapse.
|
|
1001
|
+
constructor(properties?: synapse.ITemplateMatcher);
|
|
917
1002
|
|
|
918
|
-
/**
|
|
919
|
-
public
|
|
1003
|
+
/** TemplateMatcher templateUV. */
|
|
1004
|
+
public templateUV: number[];
|
|
920
1005
|
|
|
921
|
-
/**
|
|
922
|
-
|
|
1006
|
+
/**
|
|
1007
|
+
* Creates a new TemplateMatcher instance using the specified properties.
|
|
1008
|
+
* @param [properties] Properties to set
|
|
1009
|
+
* @returns TemplateMatcher instance
|
|
1010
|
+
*/
|
|
1011
|
+
public static create(properties?: synapse.ITemplateMatcher): synapse.TemplateMatcher;
|
|
923
1012
|
|
|
924
|
-
/**
|
|
925
|
-
|
|
1013
|
+
/**
|
|
1014
|
+
* Encodes the specified TemplateMatcher message. Does not implicitly {@link synapse.TemplateMatcher.verify|verify} messages.
|
|
1015
|
+
* @param message TemplateMatcher message or plain object to encode
|
|
1016
|
+
* @param [writer] Writer to encode to
|
|
1017
|
+
* @returns Writer
|
|
1018
|
+
*/
|
|
1019
|
+
public static encode(message: synapse.ITemplateMatcher, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
926
1020
|
|
|
927
|
-
/**
|
|
928
|
-
|
|
1021
|
+
/**
|
|
1022
|
+
* Encodes the specified TemplateMatcher message, length delimited. Does not implicitly {@link synapse.TemplateMatcher.verify|verify} messages.
|
|
1023
|
+
* @param message TemplateMatcher message or plain object to encode
|
|
1024
|
+
* @param [writer] Writer to encode to
|
|
1025
|
+
* @returns Writer
|
|
1026
|
+
*/
|
|
1027
|
+
public static encodeDelimited(message: synapse.ITemplateMatcher, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
929
1028
|
|
|
930
|
-
/**
|
|
931
|
-
|
|
1029
|
+
/**
|
|
1030
|
+
* Decodes a TemplateMatcher message from the specified reader or buffer.
|
|
1031
|
+
* @param reader Reader or buffer to decode from
|
|
1032
|
+
* @param [length] Message length if known beforehand
|
|
1033
|
+
* @returns TemplateMatcher
|
|
1034
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1035
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1036
|
+
*/
|
|
1037
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.TemplateMatcher;
|
|
932
1038
|
|
|
933
1039
|
/**
|
|
934
|
-
*
|
|
1040
|
+
* Decodes a TemplateMatcher message from the specified reader or buffer, length delimited.
|
|
1041
|
+
* @param reader Reader or buffer to decode from
|
|
1042
|
+
* @returns TemplateMatcher
|
|
1043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1045
|
+
*/
|
|
1046
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.TemplateMatcher;
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Verifies a TemplateMatcher message.
|
|
1050
|
+
* @param message Plain object to verify
|
|
1051
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1052
|
+
*/
|
|
1053
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Creates a TemplateMatcher message from a plain object. Also converts values to their respective internal types.
|
|
1057
|
+
* @param object Plain object
|
|
1058
|
+
* @returns TemplateMatcher
|
|
1059
|
+
*/
|
|
1060
|
+
public static fromObject(object: { [k: string]: any }): synapse.TemplateMatcher;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Creates a plain object from a TemplateMatcher message. Also converts values to other types if specified.
|
|
1064
|
+
* @param message TemplateMatcher
|
|
1065
|
+
* @param [options] Conversion options
|
|
1066
|
+
* @returns Plain object
|
|
1067
|
+
*/
|
|
1068
|
+
public static toObject(message: synapse.TemplateMatcher, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Converts this TemplateMatcher to JSON.
|
|
1072
|
+
* @returns JSON object
|
|
1073
|
+
*/
|
|
1074
|
+
public toJSON(): { [k: string]: any };
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Gets the default type url for TemplateMatcher
|
|
1078
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1079
|
+
* @returns The default type url
|
|
1080
|
+
*/
|
|
1081
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/** Properties of a Thresholder. */
|
|
1085
|
+
interface IThresholder {
|
|
1086
|
+
|
|
1087
|
+
/** Thresholder thresholdUV */
|
|
1088
|
+
thresholdUV?: (number|null);
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/** Represents a Thresholder. */
|
|
1092
|
+
class Thresholder implements IThresholder {
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Constructs a new Thresholder.
|
|
935
1096
|
* @param [properties] Properties to set
|
|
936
|
-
* @returns SpikeDetectConfig instance
|
|
937
1097
|
*/
|
|
938
|
-
|
|
1098
|
+
constructor(properties?: synapse.IThresholder);
|
|
1099
|
+
|
|
1100
|
+
/** Thresholder thresholdUV. */
|
|
1101
|
+
public thresholdUV: number;
|
|
939
1102
|
|
|
940
1103
|
/**
|
|
941
|
-
*
|
|
942
|
-
* @param
|
|
1104
|
+
* Creates a new Thresholder instance using the specified properties.
|
|
1105
|
+
* @param [properties] Properties to set
|
|
1106
|
+
* @returns Thresholder instance
|
|
1107
|
+
*/
|
|
1108
|
+
public static create(properties?: synapse.IThresholder): synapse.Thresholder;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Encodes the specified Thresholder message. Does not implicitly {@link synapse.Thresholder.verify|verify} messages.
|
|
1112
|
+
* @param message Thresholder message or plain object to encode
|
|
943
1113
|
* @param [writer] Writer to encode to
|
|
944
1114
|
* @returns Writer
|
|
945
1115
|
*/
|
|
946
|
-
public static encode(message: synapse.
|
|
1116
|
+
public static encode(message: synapse.IThresholder, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
947
1117
|
|
|
948
1118
|
/**
|
|
949
|
-
* Encodes the specified
|
|
950
|
-
* @param message
|
|
1119
|
+
* Encodes the specified Thresholder message, length delimited. Does not implicitly {@link synapse.Thresholder.verify|verify} messages.
|
|
1120
|
+
* @param message Thresholder message or plain object to encode
|
|
951
1121
|
* @param [writer] Writer to encode to
|
|
952
1122
|
* @returns Writer
|
|
953
1123
|
*/
|
|
954
|
-
public static encodeDelimited(message: synapse.
|
|
1124
|
+
public static encodeDelimited(message: synapse.IThresholder, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
955
1125
|
|
|
956
1126
|
/**
|
|
957
|
-
* Decodes a
|
|
1127
|
+
* Decodes a Thresholder message from the specified reader or buffer.
|
|
958
1128
|
* @param reader Reader or buffer to decode from
|
|
959
1129
|
* @param [length] Message length if known beforehand
|
|
960
|
-
* @returns
|
|
1130
|
+
* @returns Thresholder
|
|
961
1131
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
962
1132
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
963
1133
|
*/
|
|
964
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.
|
|
1134
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.Thresholder;
|
|
965
1135
|
|
|
966
1136
|
/**
|
|
967
|
-
* Decodes a
|
|
1137
|
+
* Decodes a Thresholder message from the specified reader or buffer, length delimited.
|
|
968
1138
|
* @param reader Reader or buffer to decode from
|
|
969
|
-
* @returns
|
|
1139
|
+
* @returns Thresholder
|
|
970
1140
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
971
1141
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
972
1142
|
*/
|
|
973
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.
|
|
1143
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.Thresholder;
|
|
974
1144
|
|
|
975
1145
|
/**
|
|
976
|
-
* Verifies a
|
|
1146
|
+
* Verifies a Thresholder message.
|
|
977
1147
|
* @param message Plain object to verify
|
|
978
1148
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
979
1149
|
*/
|
|
980
1150
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
981
1151
|
|
|
982
1152
|
/**
|
|
983
|
-
* Creates a
|
|
1153
|
+
* Creates a Thresholder message from a plain object. Also converts values to their respective internal types.
|
|
984
1154
|
* @param object Plain object
|
|
985
|
-
* @returns
|
|
1155
|
+
* @returns Thresholder
|
|
986
1156
|
*/
|
|
987
|
-
public static fromObject(object: { [k: string]: any }): synapse.
|
|
1157
|
+
public static fromObject(object: { [k: string]: any }): synapse.Thresholder;
|
|
988
1158
|
|
|
989
1159
|
/**
|
|
990
|
-
* Creates a plain object from a
|
|
991
|
-
* @param message
|
|
1160
|
+
* Creates a plain object from a Thresholder message. Also converts values to other types if specified.
|
|
1161
|
+
* @param message Thresholder
|
|
992
1162
|
* @param [options] Conversion options
|
|
993
1163
|
* @returns Plain object
|
|
994
1164
|
*/
|
|
995
|
-
public static toObject(message: synapse.
|
|
1165
|
+
public static toObject(message: synapse.Thresholder, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
996
1166
|
|
|
997
1167
|
/**
|
|
998
|
-
* Converts this
|
|
1168
|
+
* Converts this Thresholder to JSON.
|
|
999
1169
|
* @returns JSON object
|
|
1000
1170
|
*/
|
|
1001
1171
|
public toJSON(): { [k: string]: any };
|
|
1002
1172
|
|
|
1003
1173
|
/**
|
|
1004
|
-
* Gets the default type url for
|
|
1174
|
+
* Gets the default type url for Thresholder
|
|
1005
1175
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1006
1176
|
* @returns The default type url
|
|
1007
1177
|
*/
|
|
1008
1178
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1009
1179
|
}
|
|
1010
1180
|
|
|
1011
|
-
|
|
1181
|
+
/** Properties of a SpikeDetectorConfig. */
|
|
1182
|
+
interface ISpikeDetectorConfig {
|
|
1012
1183
|
|
|
1013
|
-
/**
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1184
|
+
/** SpikeDetectorConfig thresholder */
|
|
1185
|
+
thresholder?: (synapse.IThresholder|null);
|
|
1186
|
+
|
|
1187
|
+
/** SpikeDetectorConfig templateMatcher */
|
|
1188
|
+
templateMatcher?: (synapse.ITemplateMatcher|null);
|
|
1189
|
+
|
|
1190
|
+
/** SpikeDetectorConfig samplesPerSpike */
|
|
1191
|
+
samplesPerSpike?: (number|null);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/** Represents a SpikeDetectorConfig. */
|
|
1195
|
+
class SpikeDetectorConfig implements ISpikeDetectorConfig {
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Constructs a new SpikeDetectorConfig.
|
|
1199
|
+
* @param [properties] Properties to set
|
|
1200
|
+
*/
|
|
1201
|
+
constructor(properties?: synapse.ISpikeDetectorConfig);
|
|
1202
|
+
|
|
1203
|
+
/** SpikeDetectorConfig thresholder. */
|
|
1204
|
+
public thresholder?: (synapse.IThresholder|null);
|
|
1205
|
+
|
|
1206
|
+
/** SpikeDetectorConfig templateMatcher. */
|
|
1207
|
+
public templateMatcher?: (synapse.ITemplateMatcher|null);
|
|
1208
|
+
|
|
1209
|
+
/** SpikeDetectorConfig samplesPerSpike. */
|
|
1210
|
+
public samplesPerSpike: number;
|
|
1211
|
+
|
|
1212
|
+
/** SpikeDetectorConfig config. */
|
|
1213
|
+
public config?: ("thresholder"|"templateMatcher");
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Creates a new SpikeDetectorConfig instance using the specified properties.
|
|
1217
|
+
* @param [properties] Properties to set
|
|
1218
|
+
* @returns SpikeDetectorConfig instance
|
|
1219
|
+
*/
|
|
1220
|
+
public static create(properties?: synapse.ISpikeDetectorConfig): synapse.SpikeDetectorConfig;
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* Encodes the specified SpikeDetectorConfig message. Does not implicitly {@link synapse.SpikeDetectorConfig.verify|verify} messages.
|
|
1224
|
+
* @param message SpikeDetectorConfig message or plain object to encode
|
|
1225
|
+
* @param [writer] Writer to encode to
|
|
1226
|
+
* @returns Writer
|
|
1227
|
+
*/
|
|
1228
|
+
public static encode(message: synapse.ISpikeDetectorConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Encodes the specified SpikeDetectorConfig message, length delimited. Does not implicitly {@link synapse.SpikeDetectorConfig.verify|verify} messages.
|
|
1232
|
+
* @param message SpikeDetectorConfig message or plain object to encode
|
|
1233
|
+
* @param [writer] Writer to encode to
|
|
1234
|
+
* @returns Writer
|
|
1235
|
+
*/
|
|
1236
|
+
public static encodeDelimited(message: synapse.ISpikeDetectorConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* Decodes a SpikeDetectorConfig message from the specified reader or buffer.
|
|
1240
|
+
* @param reader Reader or buffer to decode from
|
|
1241
|
+
* @param [length] Message length if known beforehand
|
|
1242
|
+
* @returns SpikeDetectorConfig
|
|
1243
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1244
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1245
|
+
*/
|
|
1246
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.SpikeDetectorConfig;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Decodes a SpikeDetectorConfig message from the specified reader or buffer, length delimited.
|
|
1250
|
+
* @param reader Reader or buffer to decode from
|
|
1251
|
+
* @returns SpikeDetectorConfig
|
|
1252
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1253
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1254
|
+
*/
|
|
1255
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.SpikeDetectorConfig;
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* Verifies a SpikeDetectorConfig message.
|
|
1259
|
+
* @param message Plain object to verify
|
|
1260
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1261
|
+
*/
|
|
1262
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Creates a SpikeDetectorConfig message from a plain object. Also converts values to their respective internal types.
|
|
1266
|
+
* @param object Plain object
|
|
1267
|
+
* @returns SpikeDetectorConfig
|
|
1268
|
+
*/
|
|
1269
|
+
public static fromObject(object: { [k: string]: any }): synapse.SpikeDetectorConfig;
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* Creates a plain object from a SpikeDetectorConfig message. Also converts values to other types if specified.
|
|
1273
|
+
* @param message SpikeDetectorConfig
|
|
1274
|
+
* @param [options] Conversion options
|
|
1275
|
+
* @returns Plain object
|
|
1276
|
+
*/
|
|
1277
|
+
public static toObject(message: synapse.SpikeDetectorConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Converts this SpikeDetectorConfig to JSON.
|
|
1281
|
+
* @returns JSON object
|
|
1282
|
+
*/
|
|
1283
|
+
public toJSON(): { [k: string]: any };
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Gets the default type url for SpikeDetectorConfig
|
|
1287
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1288
|
+
* @returns The default type url
|
|
1289
|
+
*/
|
|
1290
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1019
1291
|
}
|
|
1020
1292
|
|
|
1021
1293
|
/** Properties of a StreamInConfig. */
|
|
@@ -1225,7 +1497,8 @@ export namespace synapse {
|
|
|
1225
1497
|
kBroadband = 2,
|
|
1226
1498
|
kSpiketrain = 3,
|
|
1227
1499
|
kTimestamps = 4,
|
|
1228
|
-
kImage = 5
|
|
1500
|
+
kImage = 5,
|
|
1501
|
+
kWaveforms = 6
|
|
1229
1502
|
}
|
|
1230
1503
|
|
|
1231
1504
|
/** Properties of a DiskWriterConfig. */
|
|
@@ -2735,6 +3008,20 @@ export namespace synapse {
|
|
|
2735
3008
|
*/
|
|
2736
3009
|
public query(request: synapse.IQueryRequest): Promise<synapse.QueryResponse>;
|
|
2737
3010
|
|
|
3011
|
+
/**
|
|
3012
|
+
* Calls StreamQuery.
|
|
3013
|
+
* @param request StreamQueryRequest message or plain object
|
|
3014
|
+
* @param callback Node-style callback called with the error, if any, and StreamQueryResponse
|
|
3015
|
+
*/
|
|
3016
|
+
public streamQuery(request: synapse.IStreamQueryRequest, callback: synapse.SynapseDevice.StreamQueryCallback): void;
|
|
3017
|
+
|
|
3018
|
+
/**
|
|
3019
|
+
* Calls StreamQuery.
|
|
3020
|
+
* @param request StreamQueryRequest message or plain object
|
|
3021
|
+
* @returns Promise
|
|
3022
|
+
*/
|
|
3023
|
+
public streamQuery(request: synapse.IStreamQueryRequest): Promise<synapse.StreamQueryResponse>;
|
|
3024
|
+
|
|
2738
3025
|
/**
|
|
2739
3026
|
* Calls ListFiles.
|
|
2740
3027
|
* @param request Empty message or plain object
|
|
@@ -2857,6 +3144,13 @@ export namespace synapse {
|
|
|
2857
3144
|
*/
|
|
2858
3145
|
type QueryCallback = (error: (Error|null), response?: synapse.QueryResponse) => void;
|
|
2859
3146
|
|
|
3147
|
+
/**
|
|
3148
|
+
* Callback as used by {@link synapse.SynapseDevice#streamQuery}.
|
|
3149
|
+
* @param error Error, if any
|
|
3150
|
+
* @param [response] StreamQueryResponse
|
|
3151
|
+
*/
|
|
3152
|
+
type StreamQueryCallback = (error: (Error|null), response?: synapse.StreamQueryResponse) => void;
|
|
3153
|
+
|
|
2860
3154
|
/**
|
|
2861
3155
|
* Callback as used by {@link synapse.SynapseDevice#listFiles}.
|
|
2862
3156
|
* @param error Error, if any
|
|
@@ -2908,10 +3202,11 @@ export namespace synapse {
|
|
|
2908
3202
|
kBroadbandSource = 3,
|
|
2909
3203
|
kElectricalStimulation = 4,
|
|
2910
3204
|
kOpticalStimulation = 5,
|
|
2911
|
-
|
|
3205
|
+
kSpikeDetector = 6,
|
|
2912
3206
|
kSpikeSource = 7,
|
|
2913
3207
|
kSpectralFilter = 8,
|
|
2914
|
-
kDiskWriter = 9
|
|
3208
|
+
kDiskWriter = 9,
|
|
3209
|
+
kSpikeBinner = 10
|
|
2915
3210
|
}
|
|
2916
3211
|
|
|
2917
3212
|
/** Properties of a NodeConfig. */
|
|
@@ -2938,8 +3233,8 @@ export namespace synapse {
|
|
|
2938
3233
|
/** NodeConfig opticalStimulation */
|
|
2939
3234
|
opticalStimulation?: (synapse.IOpticalStimulationConfig|null);
|
|
2940
3235
|
|
|
2941
|
-
/** NodeConfig
|
|
2942
|
-
|
|
3236
|
+
/** NodeConfig spikeDetector */
|
|
3237
|
+
spikeDetector?: (synapse.ISpikeDetectorConfig|null);
|
|
2943
3238
|
|
|
2944
3239
|
/** NodeConfig spectralFilter */
|
|
2945
3240
|
spectralFilter?: (synapse.ISpectralFilterConfig|null);
|
|
@@ -2949,6 +3244,9 @@ export namespace synapse {
|
|
|
2949
3244
|
|
|
2950
3245
|
/** NodeConfig spikeSource */
|
|
2951
3246
|
spikeSource?: (synapse.ISpikeSourceConfig|null);
|
|
3247
|
+
|
|
3248
|
+
/** NodeConfig spikeBinner */
|
|
3249
|
+
spikeBinner?: (synapse.ISpikeBinnerConfig|null);
|
|
2952
3250
|
}
|
|
2953
3251
|
|
|
2954
3252
|
/** Represents a NodeConfig. */
|
|
@@ -2981,8 +3279,8 @@ export namespace synapse {
|
|
|
2981
3279
|
/** NodeConfig opticalStimulation. */
|
|
2982
3280
|
public opticalStimulation?: (synapse.IOpticalStimulationConfig|null);
|
|
2983
3281
|
|
|
2984
|
-
/** NodeConfig
|
|
2985
|
-
public
|
|
3282
|
+
/** NodeConfig spikeDetector. */
|
|
3283
|
+
public spikeDetector?: (synapse.ISpikeDetectorConfig|null);
|
|
2986
3284
|
|
|
2987
3285
|
/** NodeConfig spectralFilter. */
|
|
2988
3286
|
public spectralFilter?: (synapse.ISpectralFilterConfig|null);
|
|
@@ -2993,8 +3291,11 @@ export namespace synapse {
|
|
|
2993
3291
|
/** NodeConfig spikeSource. */
|
|
2994
3292
|
public spikeSource?: (synapse.ISpikeSourceConfig|null);
|
|
2995
3293
|
|
|
3294
|
+
/** NodeConfig spikeBinner. */
|
|
3295
|
+
public spikeBinner?: (synapse.ISpikeBinnerConfig|null);
|
|
3296
|
+
|
|
2996
3297
|
/** NodeConfig config. */
|
|
2997
|
-
public config?: ("streamOut"|"streamIn"|"broadbandSource"|"electricalStimulation"|"opticalStimulation"|"
|
|
3298
|
+
public config?: ("streamOut"|"streamIn"|"broadbandSource"|"electricalStimulation"|"opticalStimulation"|"spikeDetector"|"spectralFilter"|"diskWriter"|"spikeSource"|"spikeBinner");
|
|
2998
3299
|
|
|
2999
3300
|
/**
|
|
3000
3301
|
* Creates a new NodeConfig instance using the specified properties.
|
|
@@ -4284,6 +4585,103 @@ export namespace synapse {
|
|
|
4284
4585
|
}
|
|
4285
4586
|
}
|
|
4286
4587
|
|
|
4588
|
+
/** Properties of a StreamQueryRequest. */
|
|
4589
|
+
interface IStreamQueryRequest {
|
|
4590
|
+
|
|
4591
|
+
/** StreamQueryRequest request */
|
|
4592
|
+
request?: (synapse.IQueryRequest|null);
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
/** Represents a StreamQueryRequest. */
|
|
4596
|
+
class StreamQueryRequest implements IStreamQueryRequest {
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* Constructs a new StreamQueryRequest.
|
|
4600
|
+
* @param [properties] Properties to set
|
|
4601
|
+
*/
|
|
4602
|
+
constructor(properties?: synapse.IStreamQueryRequest);
|
|
4603
|
+
|
|
4604
|
+
/** StreamQueryRequest request. */
|
|
4605
|
+
public request?: (synapse.IQueryRequest|null);
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* Creates a new StreamQueryRequest instance using the specified properties.
|
|
4609
|
+
* @param [properties] Properties to set
|
|
4610
|
+
* @returns StreamQueryRequest instance
|
|
4611
|
+
*/
|
|
4612
|
+
public static create(properties?: synapse.IStreamQueryRequest): synapse.StreamQueryRequest;
|
|
4613
|
+
|
|
4614
|
+
/**
|
|
4615
|
+
* Encodes the specified StreamQueryRequest message. Does not implicitly {@link synapse.StreamQueryRequest.verify|verify} messages.
|
|
4616
|
+
* @param message StreamQueryRequest message or plain object to encode
|
|
4617
|
+
* @param [writer] Writer to encode to
|
|
4618
|
+
* @returns Writer
|
|
4619
|
+
*/
|
|
4620
|
+
public static encode(message: synapse.IStreamQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* Encodes the specified StreamQueryRequest message, length delimited. Does not implicitly {@link synapse.StreamQueryRequest.verify|verify} messages.
|
|
4624
|
+
* @param message StreamQueryRequest message or plain object to encode
|
|
4625
|
+
* @param [writer] Writer to encode to
|
|
4626
|
+
* @returns Writer
|
|
4627
|
+
*/
|
|
4628
|
+
public static encodeDelimited(message: synapse.IStreamQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4629
|
+
|
|
4630
|
+
/**
|
|
4631
|
+
* Decodes a StreamQueryRequest message from the specified reader or buffer.
|
|
4632
|
+
* @param reader Reader or buffer to decode from
|
|
4633
|
+
* @param [length] Message length if known beforehand
|
|
4634
|
+
* @returns StreamQueryRequest
|
|
4635
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4636
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4637
|
+
*/
|
|
4638
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.StreamQueryRequest;
|
|
4639
|
+
|
|
4640
|
+
/**
|
|
4641
|
+
* Decodes a StreamQueryRequest message from the specified reader or buffer, length delimited.
|
|
4642
|
+
* @param reader Reader or buffer to decode from
|
|
4643
|
+
* @returns StreamQueryRequest
|
|
4644
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4645
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4646
|
+
*/
|
|
4647
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.StreamQueryRequest;
|
|
4648
|
+
|
|
4649
|
+
/**
|
|
4650
|
+
* Verifies a StreamQueryRequest message.
|
|
4651
|
+
* @param message Plain object to verify
|
|
4652
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4653
|
+
*/
|
|
4654
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4655
|
+
|
|
4656
|
+
/**
|
|
4657
|
+
* Creates a StreamQueryRequest message from a plain object. Also converts values to their respective internal types.
|
|
4658
|
+
* @param object Plain object
|
|
4659
|
+
* @returns StreamQueryRequest
|
|
4660
|
+
*/
|
|
4661
|
+
public static fromObject(object: { [k: string]: any }): synapse.StreamQueryRequest;
|
|
4662
|
+
|
|
4663
|
+
/**
|
|
4664
|
+
* Creates a plain object from a StreamQueryRequest message. Also converts values to other types if specified.
|
|
4665
|
+
* @param message StreamQueryRequest
|
|
4666
|
+
* @param [options] Conversion options
|
|
4667
|
+
* @returns Plain object
|
|
4668
|
+
*/
|
|
4669
|
+
public static toObject(message: synapse.StreamQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4670
|
+
|
|
4671
|
+
/**
|
|
4672
|
+
* Converts this StreamQueryRequest to JSON.
|
|
4673
|
+
* @returns JSON object
|
|
4674
|
+
*/
|
|
4675
|
+
public toJSON(): { [k: string]: any };
|
|
4676
|
+
|
|
4677
|
+
/**
|
|
4678
|
+
* Gets the default type url for StreamQueryRequest
|
|
4679
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4680
|
+
* @returns The default type url
|
|
4681
|
+
*/
|
|
4682
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4287
4685
|
/** Properties of a QueryResponse. */
|
|
4288
4686
|
interface IQueryResponse {
|
|
4289
4687
|
|
|
@@ -4402,6 +4800,130 @@ export namespace synapse {
|
|
|
4402
4800
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4403
4801
|
}
|
|
4404
4802
|
|
|
4803
|
+
/** Properties of a StreamQueryResponse. */
|
|
4804
|
+
interface IStreamQueryResponse {
|
|
4805
|
+
|
|
4806
|
+
/** StreamQueryResponse code */
|
|
4807
|
+
code?: (synapse.StatusCode|null);
|
|
4808
|
+
|
|
4809
|
+
/** StreamQueryResponse message */
|
|
4810
|
+
message?: (string|null);
|
|
4811
|
+
|
|
4812
|
+
/** StreamQueryResponse timestampNs */
|
|
4813
|
+
timestampNs?: (Long|null);
|
|
4814
|
+
|
|
4815
|
+
/** StreamQueryResponse impedance */
|
|
4816
|
+
impedance?: (synapse.IImpedanceResponse|null);
|
|
4817
|
+
|
|
4818
|
+
/** StreamQueryResponse selfTest */
|
|
4819
|
+
selfTest?: (synapse.ISelfTestResponse|null);
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
/** Represents a StreamQueryResponse. */
|
|
4823
|
+
class StreamQueryResponse implements IStreamQueryResponse {
|
|
4824
|
+
|
|
4825
|
+
/**
|
|
4826
|
+
* Constructs a new StreamQueryResponse.
|
|
4827
|
+
* @param [properties] Properties to set
|
|
4828
|
+
*/
|
|
4829
|
+
constructor(properties?: synapse.IStreamQueryResponse);
|
|
4830
|
+
|
|
4831
|
+
/** StreamQueryResponse code. */
|
|
4832
|
+
public code: synapse.StatusCode;
|
|
4833
|
+
|
|
4834
|
+
/** StreamQueryResponse message. */
|
|
4835
|
+
public message: string;
|
|
4836
|
+
|
|
4837
|
+
/** StreamQueryResponse timestampNs. */
|
|
4838
|
+
public timestampNs: Long;
|
|
4839
|
+
|
|
4840
|
+
/** StreamQueryResponse impedance. */
|
|
4841
|
+
public impedance?: (synapse.IImpedanceResponse|null);
|
|
4842
|
+
|
|
4843
|
+
/** StreamQueryResponse selfTest. */
|
|
4844
|
+
public selfTest?: (synapse.ISelfTestResponse|null);
|
|
4845
|
+
|
|
4846
|
+
/** StreamQueryResponse response. */
|
|
4847
|
+
public response?: ("impedance"|"selfTest");
|
|
4848
|
+
|
|
4849
|
+
/**
|
|
4850
|
+
* Creates a new StreamQueryResponse instance using the specified properties.
|
|
4851
|
+
* @param [properties] Properties to set
|
|
4852
|
+
* @returns StreamQueryResponse instance
|
|
4853
|
+
*/
|
|
4854
|
+
public static create(properties?: synapse.IStreamQueryResponse): synapse.StreamQueryResponse;
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
* Encodes the specified StreamQueryResponse message. Does not implicitly {@link synapse.StreamQueryResponse.verify|verify} messages.
|
|
4858
|
+
* @param message StreamQueryResponse message or plain object to encode
|
|
4859
|
+
* @param [writer] Writer to encode to
|
|
4860
|
+
* @returns Writer
|
|
4861
|
+
*/
|
|
4862
|
+
public static encode(message: synapse.IStreamQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4863
|
+
|
|
4864
|
+
/**
|
|
4865
|
+
* Encodes the specified StreamQueryResponse message, length delimited. Does not implicitly {@link synapse.StreamQueryResponse.verify|verify} messages.
|
|
4866
|
+
* @param message StreamQueryResponse message or plain object to encode
|
|
4867
|
+
* @param [writer] Writer to encode to
|
|
4868
|
+
* @returns Writer
|
|
4869
|
+
*/
|
|
4870
|
+
public static encodeDelimited(message: synapse.IStreamQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* Decodes a StreamQueryResponse message from the specified reader or buffer.
|
|
4874
|
+
* @param reader Reader or buffer to decode from
|
|
4875
|
+
* @param [length] Message length if known beforehand
|
|
4876
|
+
* @returns StreamQueryResponse
|
|
4877
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4878
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4879
|
+
*/
|
|
4880
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): synapse.StreamQueryResponse;
|
|
4881
|
+
|
|
4882
|
+
/**
|
|
4883
|
+
* Decodes a StreamQueryResponse message from the specified reader or buffer, length delimited.
|
|
4884
|
+
* @param reader Reader or buffer to decode from
|
|
4885
|
+
* @returns StreamQueryResponse
|
|
4886
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4887
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4888
|
+
*/
|
|
4889
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): synapse.StreamQueryResponse;
|
|
4890
|
+
|
|
4891
|
+
/**
|
|
4892
|
+
* Verifies a StreamQueryResponse message.
|
|
4893
|
+
* @param message Plain object to verify
|
|
4894
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4895
|
+
*/
|
|
4896
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4897
|
+
|
|
4898
|
+
/**
|
|
4899
|
+
* Creates a StreamQueryResponse message from a plain object. Also converts values to their respective internal types.
|
|
4900
|
+
* @param object Plain object
|
|
4901
|
+
* @returns StreamQueryResponse
|
|
4902
|
+
*/
|
|
4903
|
+
public static fromObject(object: { [k: string]: any }): synapse.StreamQueryResponse;
|
|
4904
|
+
|
|
4905
|
+
/**
|
|
4906
|
+
* Creates a plain object from a StreamQueryResponse message. Also converts values to other types if specified.
|
|
4907
|
+
* @param message StreamQueryResponse
|
|
4908
|
+
* @param [options] Conversion options
|
|
4909
|
+
* @returns Plain object
|
|
4910
|
+
*/
|
|
4911
|
+
public static toObject(message: synapse.StreamQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4912
|
+
|
|
4913
|
+
/**
|
|
4914
|
+
* Converts this StreamQueryResponse to JSON.
|
|
4915
|
+
* @returns JSON object
|
|
4916
|
+
*/
|
|
4917
|
+
public toJSON(): { [k: string]: any };
|
|
4918
|
+
|
|
4919
|
+
/**
|
|
4920
|
+
* Gets the default type url for StreamQueryResponse
|
|
4921
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4922
|
+
* @returns The default type url
|
|
4923
|
+
*/
|
|
4924
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4925
|
+
}
|
|
4926
|
+
|
|
4405
4927
|
/** StatusCode enum. */
|
|
4406
4928
|
enum StatusCode {
|
|
4407
4929
|
kOk = 0,
|