@ondewo/csi-client-angular 3.2.1 → 5.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/api/google/api/http.pb.d.ts +3 -3
- package/api/google/rpc/status.pb.d.ts +1 -1
- package/api/google/type/latlng.pb.d.ts +1 -1
- package/api/ondewo/csi/conversation.pb.d.ts +45 -41
- package/api/ondewo/nlu/agent.pb.d.ts +326 -86
- package/api/ondewo/nlu/agent.pbsc.d.ts +60 -60
- package/api/ondewo/nlu/aiservices.pb.d.ts +589 -48
- package/api/ondewo/nlu/aiservices.pbsc.d.ts +48 -0
- package/api/ondewo/nlu/ccai-project.pb.d.ts +1455 -0
- package/api/ondewo/nlu/ccai-project.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/ccai-project.pbsc.d.ts +118 -0
- package/api/ondewo/nlu/common.pb.d.ts +958 -1
- package/api/ondewo/nlu/context.pb.d.ts +51 -10
- package/api/ondewo/nlu/entity-type.pb.d.ts +83 -42
- package/api/ondewo/nlu/entity-type.pbsc.d.ts +5 -5
- package/api/ondewo/nlu/intent.pb.d.ts +207 -87
- package/api/ondewo/nlu/intent.pbsc.d.ts +4 -4
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +23 -2
- package/api/ondewo/nlu/operations.pb.d.ts +7 -7
- package/api/ondewo/nlu/project-role.pb.d.ts +33 -12
- package/api/ondewo/nlu/project-role.pbsc.d.ts +5 -5
- package/api/ondewo/nlu/project-statistics.pb.d.ts +4 -4
- package/api/ondewo/nlu/server-statistics.pb.d.ts +1 -1
- package/api/ondewo/nlu/server-statistics.pbsc.d.ts +14 -14
- package/api/ondewo/nlu/session.pb.d.ts +2311 -217
- package/api/ondewo/nlu/session.pbsc.d.ts +204 -11
- package/api/ondewo/nlu/user.pb.d.ts +782 -39
- package/api/ondewo/nlu/user.pbsc.d.ts +126 -13
- package/api/ondewo/nlu/utility.pb.d.ts +22 -22
- package/api/ondewo/nlu/webhook.pb.d.ts +550 -15
- package/api/ondewo/nlu/webhook.pbsc.d.ts +49 -0
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +1622 -1049
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +1195 -52
- package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +0 -5
- package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +47 -64
- package/esm2022/api/google/api/http.pb.mjs +1 -1
- package/esm2022/api/google/rpc/status.pb.mjs +1 -1
- package/esm2022/api/google/type/latlng.pb.mjs +1 -1
- package/esm2022/api/ondewo/csi/conversation.pb.mjs +29 -25
- package/esm2022/api/ondewo/csi/conversation.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/nlu/agent.pb.mjs +925 -41
- package/esm2022/api/ondewo/nlu/agent.pbsc.mjs +52 -52
- package/esm2022/api/ondewo/nlu/aiservices.pb.mjs +945 -19
- package/esm2022/api/ondewo/nlu/aiservices.pbsc.mjs +96 -6
- package/esm2022/api/ondewo/nlu/ccai-project.pb.mjs +2691 -0
- package/esm2022/api/ondewo/nlu/ccai-project.pbconf.mjs +13 -0
- package/esm2022/api/ondewo/nlu/ccai-project.pbsc.mjs +224 -0
- package/esm2022/api/ondewo/nlu/common.pb.mjs +1856 -1
- package/esm2022/api/ondewo/nlu/context.pb.mjs +152 -5
- package/esm2022/api/ondewo/nlu/context.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/nlu/entity-type.pb.mjs +166 -19
- package/esm2022/api/ondewo/nlu/entity-type.pbsc.mjs +10 -10
- package/esm2022/api/ondewo/nlu/intent.pb.mjs +464 -22
- package/esm2022/api/ondewo/nlu/intent.pbsc.mjs +9 -9
- package/esm2022/api/ondewo/nlu/operation-metadata.pb.mjs +76 -3
- package/esm2022/api/ondewo/nlu/operations.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/operations.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/nlu/project-role.pb.mjs +81 -8
- package/esm2022/api/ondewo/nlu/project-role.pbsc.mjs +10 -10
- package/esm2022/api/ondewo/nlu/project-statistics.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/project-statistics.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/nlu/server-statistics.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/server-statistics.pbsc.mjs +19 -19
- package/esm2022/api/ondewo/nlu/session.pb.mjs +6997 -2924
- package/esm2022/api/ondewo/nlu/session.pbsc.mjs +381 -20
- package/esm2022/api/ondewo/nlu/user.pb.mjs +1349 -20
- package/esm2022/api/ondewo/nlu/user.pbsc.mjs +228 -17
- package/esm2022/api/ondewo/nlu/utility.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/utility.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/nlu/webhook.pb.mjs +915 -24
- package/esm2022/api/ondewo/nlu/webhook.pbsc.mjs +97 -6
- package/esm2022/api/ondewo/s2t/speech-to-text.pb.mjs +3065 -1874
- package/esm2022/api/ondewo/s2t/speech-to-text.pbsc.mjs +6 -6
- package/esm2022/api/ondewo/t2s/text-to-speech.pb.mjs +3158 -963
- package/esm2022/api/ondewo/t2s/text-to-speech.pbconf.mjs +1 -6
- package/esm2022/api/ondewo/t2s/text-to-speech.pbsc.mjs +103 -133
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/ondewo-csi-client-angular.mjs +40452 -22608
- package/fesm2022/ondewo-csi-client-angular.mjs.map +1 -1
- package/package.json +9 -9
- package/public-api.d.ts +3 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as googleProtobuf001 from '@ngx-grpc/well-known-types';
|
|
3
4
|
export declare enum Decoding {
|
|
4
5
|
DEFAULT = 0,
|
|
5
6
|
GREEDY = 1,
|
|
@@ -44,8 +45,11 @@ export declare class TranscribeRequestConfig implements GrpcMessage {
|
|
|
44
45
|
private _postProcessing?;
|
|
45
46
|
private _utteranceDetection?;
|
|
46
47
|
private _pyannote?;
|
|
47
|
-
private _matchbox?;
|
|
48
48
|
private _returnOptions?;
|
|
49
|
+
private _language;
|
|
50
|
+
private _task;
|
|
51
|
+
private _s2tServiceConfig?;
|
|
52
|
+
private _s2tCloudProviderConfig?;
|
|
49
53
|
private _oneofLanguageModelName;
|
|
50
54
|
private _oneofPostProcessing;
|
|
51
55
|
private _oneofUtteranceDetection;
|
|
@@ -68,10 +72,16 @@ export declare class TranscribeRequestConfig implements GrpcMessage {
|
|
|
68
72
|
set utteranceDetection(value: UtteranceDetectionOptions | undefined);
|
|
69
73
|
get pyannote(): Pyannote | undefined;
|
|
70
74
|
set pyannote(value: Pyannote | undefined);
|
|
71
|
-
get matchbox(): Matchbox | undefined;
|
|
72
|
-
set matchbox(value: Matchbox | undefined);
|
|
73
75
|
get returnOptions(): TranscriptionReturnOptions | undefined;
|
|
74
76
|
set returnOptions(value: TranscriptionReturnOptions | undefined);
|
|
77
|
+
get language(): string;
|
|
78
|
+
set language(value: string);
|
|
79
|
+
get task(): string;
|
|
80
|
+
set task(value: string);
|
|
81
|
+
get s2tServiceConfig(): googleProtobuf001.Struct | undefined;
|
|
82
|
+
set s2tServiceConfig(value: googleProtobuf001.Struct | undefined);
|
|
83
|
+
get s2tCloudProviderConfig(): S2tCloudProviderConfig | undefined;
|
|
84
|
+
set s2tCloudProviderConfig(value: S2tCloudProviderConfig | undefined);
|
|
75
85
|
get oneofLanguageModelName(): TranscribeRequestConfig.OneofLanguageModelNameCase;
|
|
76
86
|
get oneofPostProcessing(): TranscribeRequestConfig.OneofPostProcessingCase;
|
|
77
87
|
get oneofUtteranceDetection(): TranscribeRequestConfig.OneofUtteranceDetectionCase;
|
|
@@ -97,7 +107,7 @@ export declare class TranscribeRequestConfig implements GrpcMessage {
|
|
|
97
107
|
*/
|
|
98
108
|
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeRequestConfig.AsProtobufJSON;
|
|
99
109
|
}
|
|
100
|
-
export declare
|
|
110
|
+
export declare namespace TranscribeRequestConfig {
|
|
101
111
|
/**
|
|
102
112
|
* Standard JavaScript object representation for TranscribeRequestConfig
|
|
103
113
|
*/
|
|
@@ -108,8 +118,11 @@ export declare module TranscribeRequestConfig {
|
|
|
108
118
|
postProcessing?: PostProcessingOptions.AsObject;
|
|
109
119
|
utteranceDetection?: UtteranceDetectionOptions.AsObject;
|
|
110
120
|
pyannote?: Pyannote.AsObject;
|
|
111
|
-
matchbox?: Matchbox.AsObject;
|
|
112
121
|
returnOptions?: TranscriptionReturnOptions.AsObject;
|
|
122
|
+
language: string;
|
|
123
|
+
task: string;
|
|
124
|
+
s2tServiceConfig?: googleProtobuf001.Struct.AsObject;
|
|
125
|
+
s2tCloudProviderConfig?: S2tCloudProviderConfig.AsObject;
|
|
113
126
|
}
|
|
114
127
|
/**
|
|
115
128
|
* Protobuf JSON representation for TranscribeRequestConfig
|
|
@@ -121,8 +134,11 @@ export declare module TranscribeRequestConfig {
|
|
|
121
134
|
postProcessing: PostProcessingOptions.AsProtobufJSON | null;
|
|
122
135
|
utteranceDetection: UtteranceDetectionOptions.AsProtobufJSON | null;
|
|
123
136
|
pyannote: Pyannote.AsProtobufJSON | null;
|
|
124
|
-
matchbox: Matchbox.AsProtobufJSON | null;
|
|
125
137
|
returnOptions: TranscriptionReturnOptions.AsProtobufJSON | null;
|
|
138
|
+
language: string;
|
|
139
|
+
task: string;
|
|
140
|
+
s2tServiceConfig: googleProtobuf001.Struct.AsProtobufJSON | null;
|
|
141
|
+
s2tCloudProviderConfig: S2tCloudProviderConfig.AsProtobufJSON | null;
|
|
126
142
|
}
|
|
127
143
|
enum OneofLanguageModelNameCase {
|
|
128
144
|
none = 0,
|
|
@@ -138,8 +154,7 @@ export declare module TranscribeRequestConfig {
|
|
|
138
154
|
}
|
|
139
155
|
enum VoiceActivityDetectionCase {
|
|
140
156
|
none = 0,
|
|
141
|
-
pyannote = 1
|
|
142
|
-
matchbox = 2
|
|
157
|
+
pyannote = 1
|
|
143
158
|
}
|
|
144
159
|
enum OneofReturnOptionsCase {
|
|
145
160
|
none = 0,
|
|
@@ -147,61 +162,49 @@ export declare module TranscribeRequestConfig {
|
|
|
147
162
|
}
|
|
148
163
|
}
|
|
149
164
|
/**
|
|
150
|
-
* Message implementation for ondewo.s2t.
|
|
165
|
+
* Message implementation for ondewo.s2t.S2tCloudProviderConfig
|
|
151
166
|
*/
|
|
152
|
-
export declare class
|
|
167
|
+
export declare class S2tCloudProviderConfig implements GrpcMessage {
|
|
153
168
|
static id: string;
|
|
154
169
|
/**
|
|
155
170
|
* Deserialize binary data to message
|
|
156
171
|
* @param instance message instance
|
|
157
172
|
*/
|
|
158
|
-
static deserializeBinary(bytes: ByteSource):
|
|
173
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudProviderConfig;
|
|
159
174
|
/**
|
|
160
175
|
* Check all the properties and set default protobuf values if necessary
|
|
161
176
|
* @param _instance message instance
|
|
162
177
|
*/
|
|
163
|
-
static refineValues(_instance:
|
|
178
|
+
static refineValues(_instance: S2tCloudProviderConfig): void;
|
|
164
179
|
/**
|
|
165
180
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
166
181
|
* @param _instance message instance
|
|
167
182
|
* @param _reader binary reader instance
|
|
168
183
|
*/
|
|
169
|
-
static deserializeBinaryFromReader(_instance:
|
|
184
|
+
static deserializeBinaryFromReader(_instance: S2tCloudProviderConfig, _reader: BinaryReader): void;
|
|
170
185
|
/**
|
|
171
186
|
* Serializes a message to binary format using provided binary reader
|
|
172
187
|
* @param _instance message instance
|
|
173
188
|
* @param _writer binary writer instance
|
|
174
189
|
*/
|
|
175
|
-
static serializeBinaryToWriter(_instance:
|
|
176
|
-
private
|
|
177
|
-
private
|
|
178
|
-
private
|
|
179
|
-
private
|
|
180
|
-
private _returnAlternativeTranscriptionsNr;
|
|
181
|
-
private _returnAlternativeWords;
|
|
182
|
-
private _returnAlternativeWordsNr;
|
|
183
|
-
private _returnWordTiming;
|
|
190
|
+
static serializeBinaryToWriter(_instance: S2tCloudProviderConfig, _writer: BinaryWriter): void;
|
|
191
|
+
private _s2tCloudProviderConfigAmazon?;
|
|
192
|
+
private _s2tCloudProviderConfigDeepgram?;
|
|
193
|
+
private _s2tCloudProviderConfigGoogle?;
|
|
194
|
+
private _s2tCloudProviderConfigMicrosoft?;
|
|
184
195
|
/**
|
|
185
196
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
186
|
-
* @param _value initial values object or instance of
|
|
187
|
-
*/
|
|
188
|
-
constructor(_value?: RecursivePartial<
|
|
189
|
-
get
|
|
190
|
-
set
|
|
191
|
-
get
|
|
192
|
-
set
|
|
193
|
-
get
|
|
194
|
-
set
|
|
195
|
-
get
|
|
196
|
-
set
|
|
197
|
-
get returnAlternativeTranscriptionsNr(): number;
|
|
198
|
-
set returnAlternativeTranscriptionsNr(value: number);
|
|
199
|
-
get returnAlternativeWords(): boolean;
|
|
200
|
-
set returnAlternativeWords(value: boolean);
|
|
201
|
-
get returnAlternativeWordsNr(): number;
|
|
202
|
-
set returnAlternativeWordsNr(value: number);
|
|
203
|
-
get returnWordTiming(): boolean;
|
|
204
|
-
set returnWordTiming(value: boolean);
|
|
197
|
+
* @param _value initial values object or instance of S2tCloudProviderConfig to deeply clone from
|
|
198
|
+
*/
|
|
199
|
+
constructor(_value?: RecursivePartial<S2tCloudProviderConfig.AsObject>);
|
|
200
|
+
get s2tCloudProviderConfigAmazon(): S2tCloudProviderConfigAmazon | undefined;
|
|
201
|
+
set s2tCloudProviderConfigAmazon(value: S2tCloudProviderConfigAmazon | undefined);
|
|
202
|
+
get s2tCloudProviderConfigDeepgram(): S2tCloudProviderConfigDeepgram | undefined;
|
|
203
|
+
set s2tCloudProviderConfigDeepgram(value: S2tCloudProviderConfigDeepgram | undefined);
|
|
204
|
+
get s2tCloudProviderConfigGoogle(): S2tCloudProviderConfigGoogle | undefined;
|
|
205
|
+
set s2tCloudProviderConfigGoogle(value: S2tCloudProviderConfigGoogle | undefined);
|
|
206
|
+
get s2tCloudProviderConfigMicrosoft(): S2tCloudProviderConfigMicrosoft | undefined;
|
|
207
|
+
set s2tCloudProviderConfigMicrosoft(value: S2tCloudProviderConfigMicrosoft | undefined);
|
|
205
208
|
/**
|
|
206
209
|
* Serialize message to binary data
|
|
207
210
|
* @param instance message instance
|
|
@@ -210,92 +213,82 @@ export declare class TranscriptionReturnOptions implements GrpcMessage {
|
|
|
210
213
|
/**
|
|
211
214
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
212
215
|
*/
|
|
213
|
-
toObject():
|
|
216
|
+
toObject(): S2tCloudProviderConfig.AsObject;
|
|
214
217
|
/**
|
|
215
218
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
216
219
|
*/
|
|
217
|
-
toJSON():
|
|
220
|
+
toJSON(): S2tCloudProviderConfig.AsObject;
|
|
218
221
|
/**
|
|
219
222
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
220
223
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
221
224
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
222
225
|
*/
|
|
223
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
226
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudProviderConfig.AsProtobufJSON;
|
|
224
227
|
}
|
|
225
|
-
export declare
|
|
228
|
+
export declare namespace S2tCloudProviderConfig {
|
|
226
229
|
/**
|
|
227
|
-
* Standard JavaScript object representation for
|
|
230
|
+
* Standard JavaScript object representation for S2tCloudProviderConfig
|
|
228
231
|
*/
|
|
229
232
|
interface AsObject {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
returnAlternativeTranscriptionsNr: number;
|
|
235
|
-
returnAlternativeWords: boolean;
|
|
236
|
-
returnAlternativeWordsNr: number;
|
|
237
|
-
returnWordTiming: boolean;
|
|
233
|
+
s2tCloudProviderConfigAmazon?: S2tCloudProviderConfigAmazon.AsObject;
|
|
234
|
+
s2tCloudProviderConfigDeepgram?: S2tCloudProviderConfigDeepgram.AsObject;
|
|
235
|
+
s2tCloudProviderConfigGoogle?: S2tCloudProviderConfigGoogle.AsObject;
|
|
236
|
+
s2tCloudProviderConfigMicrosoft?: S2tCloudProviderConfigMicrosoft.AsObject;
|
|
238
237
|
}
|
|
239
238
|
/**
|
|
240
|
-
* Protobuf JSON representation for
|
|
239
|
+
* Protobuf JSON representation for S2tCloudProviderConfig
|
|
241
240
|
*/
|
|
242
241
|
interface AsProtobufJSON {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
returnAlternativeTranscriptionsNr: number;
|
|
248
|
-
returnAlternativeWords: boolean;
|
|
249
|
-
returnAlternativeWordsNr: number;
|
|
250
|
-
returnWordTiming: boolean;
|
|
242
|
+
s2tCloudProviderConfigAmazon: S2tCloudProviderConfigAmazon.AsProtobufJSON | null;
|
|
243
|
+
s2tCloudProviderConfigDeepgram: S2tCloudProviderConfigDeepgram.AsProtobufJSON | null;
|
|
244
|
+
s2tCloudProviderConfigGoogle: S2tCloudProviderConfigGoogle.AsProtobufJSON | null;
|
|
245
|
+
s2tCloudProviderConfigMicrosoft: S2tCloudProviderConfigMicrosoft.AsProtobufJSON | null;
|
|
251
246
|
}
|
|
252
247
|
}
|
|
253
248
|
/**
|
|
254
|
-
* Message implementation for ondewo.s2t.
|
|
249
|
+
* Message implementation for ondewo.s2t.S2tCloudProviderConfigAmazon
|
|
255
250
|
*/
|
|
256
|
-
export declare class
|
|
251
|
+
export declare class S2tCloudProviderConfigAmazon implements GrpcMessage {
|
|
257
252
|
static id: string;
|
|
258
253
|
/**
|
|
259
254
|
* Deserialize binary data to message
|
|
260
255
|
* @param instance message instance
|
|
261
256
|
*/
|
|
262
|
-
static deserializeBinary(bytes: ByteSource):
|
|
257
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudProviderConfigAmazon;
|
|
263
258
|
/**
|
|
264
259
|
* Check all the properties and set default protobuf values if necessary
|
|
265
260
|
* @param _instance message instance
|
|
266
261
|
*/
|
|
267
|
-
static refineValues(_instance:
|
|
262
|
+
static refineValues(_instance: S2tCloudProviderConfigAmazon): void;
|
|
268
263
|
/**
|
|
269
264
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
270
265
|
* @param _instance message instance
|
|
271
266
|
* @param _reader binary reader instance
|
|
272
267
|
*/
|
|
273
|
-
static deserializeBinaryFromReader(_instance:
|
|
268
|
+
static deserializeBinaryFromReader(_instance: S2tCloudProviderConfigAmazon, _reader: BinaryReader): void;
|
|
274
269
|
/**
|
|
275
270
|
* Serializes a message to binary format using provided binary reader
|
|
276
271
|
* @param _instance message instance
|
|
277
272
|
* @param _writer binary writer instance
|
|
278
273
|
*/
|
|
279
|
-
static serializeBinaryToWriter(_instance:
|
|
280
|
-
private
|
|
281
|
-
private
|
|
282
|
-
private
|
|
283
|
-
private
|
|
284
|
-
private _oneofTranscribeNotFinal;
|
|
274
|
+
static serializeBinaryToWriter(_instance: S2tCloudProviderConfigAmazon, _writer: BinaryWriter): void;
|
|
275
|
+
private _enablePartialResultsStabilization;
|
|
276
|
+
private _partialResultsStability;
|
|
277
|
+
private _languageModelName;
|
|
278
|
+
private _vocabularyName;
|
|
285
279
|
/**
|
|
286
280
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
287
|
-
* @param _value initial values object or instance of
|
|
281
|
+
* @param _value initial values object or instance of S2tCloudProviderConfigAmazon to deeply clone from
|
|
288
282
|
*/
|
|
289
|
-
constructor(_value?: RecursivePartial<
|
|
290
|
-
get
|
|
291
|
-
set
|
|
292
|
-
get
|
|
293
|
-
set
|
|
294
|
-
get
|
|
295
|
-
set
|
|
296
|
-
get
|
|
297
|
-
set
|
|
298
|
-
get oneofTranscribeNotFinal(): UtteranceDetectionOptions.OneofTranscribeNotFinalCase;
|
|
283
|
+
constructor(_value?: RecursivePartial<S2tCloudProviderConfigAmazon.AsObject>);
|
|
284
|
+
get enablePartialResultsStabilization(): boolean;
|
|
285
|
+
set enablePartialResultsStabilization(value: boolean);
|
|
286
|
+
get partialResultsStability(): string;
|
|
287
|
+
set partialResultsStability(value: string);
|
|
288
|
+
get languageModelName(): string;
|
|
289
|
+
set languageModelName(value: string);
|
|
290
|
+
get vocabularyName(): string;
|
|
291
|
+
set vocabularyName(value: string);
|
|
299
292
|
/**
|
|
300
293
|
* Serialize message to binary data
|
|
301
294
|
* @param instance message instance
|
|
@@ -304,83 +297,85 @@ export declare class UtteranceDetectionOptions implements GrpcMessage {
|
|
|
304
297
|
/**
|
|
305
298
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
306
299
|
*/
|
|
307
|
-
toObject():
|
|
300
|
+
toObject(): S2tCloudProviderConfigAmazon.AsObject;
|
|
308
301
|
/**
|
|
309
302
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
310
303
|
*/
|
|
311
|
-
toJSON():
|
|
304
|
+
toJSON(): S2tCloudProviderConfigAmazon.AsObject;
|
|
312
305
|
/**
|
|
313
306
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
314
307
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
315
308
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
316
309
|
*/
|
|
317
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
310
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudProviderConfigAmazon.AsProtobufJSON;
|
|
318
311
|
}
|
|
319
|
-
export declare
|
|
312
|
+
export declare namespace S2tCloudProviderConfigAmazon {
|
|
320
313
|
/**
|
|
321
|
-
* Standard JavaScript object representation for
|
|
314
|
+
* Standard JavaScript object representation for S2tCloudProviderConfigAmazon
|
|
322
315
|
*/
|
|
323
316
|
interface AsObject {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
317
|
+
enablePartialResultsStabilization: boolean;
|
|
318
|
+
partialResultsStability: string;
|
|
319
|
+
languageModelName: string;
|
|
320
|
+
vocabularyName: string;
|
|
328
321
|
}
|
|
329
322
|
/**
|
|
330
|
-
* Protobuf JSON representation for
|
|
323
|
+
* Protobuf JSON representation for S2tCloudProviderConfigAmazon
|
|
331
324
|
*/
|
|
332
325
|
interface AsProtobufJSON {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
enum OneofTranscribeNotFinalCase {
|
|
339
|
-
none = 0,
|
|
340
|
-
transcribeNotFinal = 1
|
|
326
|
+
enablePartialResultsStabilization: boolean;
|
|
327
|
+
partialResultsStability: string;
|
|
328
|
+
languageModelName: string;
|
|
329
|
+
vocabularyName: string;
|
|
341
330
|
}
|
|
342
331
|
}
|
|
343
332
|
/**
|
|
344
|
-
* Message implementation for ondewo.s2t.
|
|
333
|
+
* Message implementation for ondewo.s2t.S2tCloudProviderConfigDeepgram
|
|
345
334
|
*/
|
|
346
|
-
export declare class
|
|
335
|
+
export declare class S2tCloudProviderConfigDeepgram implements GrpcMessage {
|
|
347
336
|
static id: string;
|
|
348
337
|
/**
|
|
349
338
|
* Deserialize binary data to message
|
|
350
339
|
* @param instance message instance
|
|
351
340
|
*/
|
|
352
|
-
static deserializeBinary(bytes: ByteSource):
|
|
341
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudProviderConfigDeepgram;
|
|
353
342
|
/**
|
|
354
343
|
* Check all the properties and set default protobuf values if necessary
|
|
355
344
|
* @param _instance message instance
|
|
356
345
|
*/
|
|
357
|
-
static refineValues(_instance:
|
|
346
|
+
static refineValues(_instance: S2tCloudProviderConfigDeepgram): void;
|
|
358
347
|
/**
|
|
359
348
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
360
349
|
* @param _instance message instance
|
|
361
350
|
* @param _reader binary reader instance
|
|
362
351
|
*/
|
|
363
|
-
static deserializeBinaryFromReader(_instance:
|
|
352
|
+
static deserializeBinaryFromReader(_instance: S2tCloudProviderConfigDeepgram, _reader: BinaryReader): void;
|
|
364
353
|
/**
|
|
365
354
|
* Serializes a message to binary format using provided binary reader
|
|
366
355
|
* @param _instance message instance
|
|
367
356
|
* @param _writer binary writer instance
|
|
368
357
|
*/
|
|
369
|
-
static serializeBinaryToWriter(_instance:
|
|
370
|
-
private
|
|
371
|
-
private
|
|
372
|
-
private
|
|
358
|
+
static serializeBinaryToWriter(_instance: S2tCloudProviderConfigDeepgram, _writer: BinaryWriter): void;
|
|
359
|
+
private _punctuate;
|
|
360
|
+
private _smartFormat;
|
|
361
|
+
private _numerals;
|
|
362
|
+
private _measurements;
|
|
363
|
+
private _dictation;
|
|
373
364
|
/**
|
|
374
365
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
375
|
-
* @param _value initial values object or instance of
|
|
376
|
-
*/
|
|
377
|
-
constructor(_value?: RecursivePartial<
|
|
378
|
-
get
|
|
379
|
-
set
|
|
380
|
-
get
|
|
381
|
-
set
|
|
382
|
-
get
|
|
383
|
-
set
|
|
366
|
+
* @param _value initial values object or instance of S2tCloudProviderConfigDeepgram to deeply clone from
|
|
367
|
+
*/
|
|
368
|
+
constructor(_value?: RecursivePartial<S2tCloudProviderConfigDeepgram.AsObject>);
|
|
369
|
+
get punctuate(): boolean;
|
|
370
|
+
set punctuate(value: boolean);
|
|
371
|
+
get smartFormat(): boolean;
|
|
372
|
+
set smartFormat(value: boolean);
|
|
373
|
+
get numerals(): boolean;
|
|
374
|
+
set numerals(value: boolean);
|
|
375
|
+
get measurements(): boolean;
|
|
376
|
+
set measurements(value: boolean);
|
|
377
|
+
get dictation(): boolean;
|
|
378
|
+
set dictation(value: boolean);
|
|
384
379
|
/**
|
|
385
380
|
* Serialize message to binary data
|
|
386
381
|
* @param instance message instance
|
|
@@ -389,80 +384,87 @@ export declare class PostProcessingOptions implements GrpcMessage {
|
|
|
389
384
|
/**
|
|
390
385
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
391
386
|
*/
|
|
392
|
-
toObject():
|
|
387
|
+
toObject(): S2tCloudProviderConfigDeepgram.AsObject;
|
|
393
388
|
/**
|
|
394
389
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
395
390
|
*/
|
|
396
|
-
toJSON():
|
|
391
|
+
toJSON(): S2tCloudProviderConfigDeepgram.AsObject;
|
|
397
392
|
/**
|
|
398
393
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
399
394
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
400
395
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
401
396
|
*/
|
|
402
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
397
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudProviderConfigDeepgram.AsProtobufJSON;
|
|
403
398
|
}
|
|
404
|
-
export declare
|
|
399
|
+
export declare namespace S2tCloudProviderConfigDeepgram {
|
|
405
400
|
/**
|
|
406
|
-
* Standard JavaScript object representation for
|
|
401
|
+
* Standard JavaScript object representation for S2tCloudProviderConfigDeepgram
|
|
407
402
|
*/
|
|
408
403
|
interface AsObject {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
404
|
+
punctuate: boolean;
|
|
405
|
+
smartFormat: boolean;
|
|
406
|
+
numerals: boolean;
|
|
407
|
+
measurements: boolean;
|
|
408
|
+
dictation: boolean;
|
|
412
409
|
}
|
|
413
410
|
/**
|
|
414
|
-
* Protobuf JSON representation for
|
|
411
|
+
* Protobuf JSON representation for S2tCloudProviderConfigDeepgram
|
|
415
412
|
*/
|
|
416
413
|
interface AsProtobufJSON {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
414
|
+
punctuate: boolean;
|
|
415
|
+
smartFormat: boolean;
|
|
416
|
+
numerals: boolean;
|
|
417
|
+
measurements: boolean;
|
|
418
|
+
dictation: boolean;
|
|
420
419
|
}
|
|
421
420
|
}
|
|
422
421
|
/**
|
|
423
|
-
* Message implementation for ondewo.s2t.
|
|
422
|
+
* Message implementation for ondewo.s2t.S2tCloudProviderConfigGoogle
|
|
424
423
|
*/
|
|
425
|
-
export declare class
|
|
424
|
+
export declare class S2tCloudProviderConfigGoogle implements GrpcMessage {
|
|
426
425
|
static id: string;
|
|
427
426
|
/**
|
|
428
427
|
* Deserialize binary data to message
|
|
429
428
|
* @param instance message instance
|
|
430
429
|
*/
|
|
431
|
-
static deserializeBinary(bytes: ByteSource):
|
|
430
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudProviderConfigGoogle;
|
|
432
431
|
/**
|
|
433
432
|
* Check all the properties and set default protobuf values if necessary
|
|
434
433
|
* @param _instance message instance
|
|
435
434
|
*/
|
|
436
|
-
static refineValues(_instance:
|
|
435
|
+
static refineValues(_instance: S2tCloudProviderConfigGoogle): void;
|
|
437
436
|
/**
|
|
438
437
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
439
438
|
* @param _instance message instance
|
|
440
439
|
* @param _reader binary reader instance
|
|
441
440
|
*/
|
|
442
|
-
static deserializeBinaryFromReader(_instance:
|
|
441
|
+
static deserializeBinaryFromReader(_instance: S2tCloudProviderConfigGoogle, _reader: BinaryReader): void;
|
|
443
442
|
/**
|
|
444
443
|
* Serializes a message to binary format using provided binary reader
|
|
445
444
|
* @param _instance message instance
|
|
446
445
|
* @param _writer binary writer instance
|
|
447
446
|
*/
|
|
448
|
-
static serializeBinaryToWriter(_instance:
|
|
449
|
-
private
|
|
450
|
-
private
|
|
451
|
-
private
|
|
452
|
-
private
|
|
447
|
+
static serializeBinaryToWriter(_instance: S2tCloudProviderConfigGoogle, _writer: BinaryWriter): void;
|
|
448
|
+
private _enableAutomaticPunctuation;
|
|
449
|
+
private _enableWordTimeOffsets;
|
|
450
|
+
private _enableWordConfidence;
|
|
451
|
+
private _transcriptNormalization;
|
|
452
|
+
private _maxAlternatives;
|
|
453
453
|
/**
|
|
454
454
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
455
|
-
* @param _value initial values object or instance of
|
|
456
|
-
*/
|
|
457
|
-
constructor(_value?: RecursivePartial<
|
|
458
|
-
get
|
|
459
|
-
set
|
|
460
|
-
get
|
|
461
|
-
set
|
|
462
|
-
get
|
|
463
|
-
set
|
|
464
|
-
get
|
|
465
|
-
set
|
|
455
|
+
* @param _value initial values object or instance of S2tCloudProviderConfigGoogle to deeply clone from
|
|
456
|
+
*/
|
|
457
|
+
constructor(_value?: RecursivePartial<S2tCloudProviderConfigGoogle.AsObject>);
|
|
458
|
+
get enableAutomaticPunctuation(): boolean;
|
|
459
|
+
set enableAutomaticPunctuation(value: boolean);
|
|
460
|
+
get enableWordTimeOffsets(): boolean;
|
|
461
|
+
set enableWordTimeOffsets(value: boolean);
|
|
462
|
+
get enableWordConfidence(): boolean;
|
|
463
|
+
set enableWordConfidence(value: boolean);
|
|
464
|
+
get transcriptNormalization(): boolean;
|
|
465
|
+
set transcriptNormalization(value: boolean);
|
|
466
|
+
get maxAlternatives(): number;
|
|
467
|
+
set maxAlternatives(value: number);
|
|
466
468
|
/**
|
|
467
469
|
* Serialize message to binary data
|
|
468
470
|
* @param instance message instance
|
|
@@ -471,79 +473,78 @@ export declare class Transcription implements GrpcMessage {
|
|
|
471
473
|
/**
|
|
472
474
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
473
475
|
*/
|
|
474
|
-
toObject():
|
|
476
|
+
toObject(): S2tCloudProviderConfigGoogle.AsObject;
|
|
475
477
|
/**
|
|
476
478
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
477
479
|
*/
|
|
478
|
-
toJSON():
|
|
480
|
+
toJSON(): S2tCloudProviderConfigGoogle.AsObject;
|
|
479
481
|
/**
|
|
480
482
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
481
483
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
482
484
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
483
485
|
*/
|
|
484
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
486
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudProviderConfigGoogle.AsProtobufJSON;
|
|
485
487
|
}
|
|
486
|
-
export declare
|
|
488
|
+
export declare namespace S2tCloudProviderConfigGoogle {
|
|
487
489
|
/**
|
|
488
|
-
* Standard JavaScript object representation for
|
|
490
|
+
* Standard JavaScript object representation for S2tCloudProviderConfigGoogle
|
|
489
491
|
*/
|
|
490
492
|
interface AsObject {
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
enableAutomaticPunctuation: boolean;
|
|
494
|
+
enableWordTimeOffsets: boolean;
|
|
495
|
+
enableWordConfidence: boolean;
|
|
496
|
+
transcriptNormalization: boolean;
|
|
497
|
+
maxAlternatives: number;
|
|
495
498
|
}
|
|
496
499
|
/**
|
|
497
|
-
* Protobuf JSON representation for
|
|
500
|
+
* Protobuf JSON representation for S2tCloudProviderConfigGoogle
|
|
498
501
|
*/
|
|
499
502
|
interface AsProtobufJSON {
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
503
|
+
enableAutomaticPunctuation: boolean;
|
|
504
|
+
enableWordTimeOffsets: boolean;
|
|
505
|
+
enableWordConfidence: boolean;
|
|
506
|
+
transcriptNormalization: boolean;
|
|
507
|
+
maxAlternatives: number;
|
|
504
508
|
}
|
|
505
509
|
}
|
|
506
510
|
/**
|
|
507
|
-
* Message implementation for ondewo.s2t.
|
|
511
|
+
* Message implementation for ondewo.s2t.S2tCloudProviderConfigMicrosoft
|
|
508
512
|
*/
|
|
509
|
-
export declare class
|
|
513
|
+
export declare class S2tCloudProviderConfigMicrosoft implements GrpcMessage {
|
|
510
514
|
static id: string;
|
|
511
515
|
/**
|
|
512
516
|
* Deserialize binary data to message
|
|
513
517
|
* @param instance message instance
|
|
514
518
|
*/
|
|
515
|
-
static deserializeBinary(bytes: ByteSource):
|
|
519
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudProviderConfigMicrosoft;
|
|
516
520
|
/**
|
|
517
521
|
* Check all the properties and set default protobuf values if necessary
|
|
518
522
|
* @param _instance message instance
|
|
519
523
|
*/
|
|
520
|
-
static refineValues(_instance:
|
|
524
|
+
static refineValues(_instance: S2tCloudProviderConfigMicrosoft): void;
|
|
521
525
|
/**
|
|
522
526
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
523
527
|
* @param _instance message instance
|
|
524
528
|
* @param _reader binary reader instance
|
|
525
529
|
*/
|
|
526
|
-
static deserializeBinaryFromReader(_instance:
|
|
530
|
+
static deserializeBinaryFromReader(_instance: S2tCloudProviderConfigMicrosoft, _reader: BinaryReader): void;
|
|
527
531
|
/**
|
|
528
532
|
* Serializes a message to binary format using provided binary reader
|
|
529
533
|
* @param _instance message instance
|
|
530
534
|
* @param _writer binary writer instance
|
|
531
535
|
*/
|
|
532
|
-
static serializeBinaryToWriter(_instance:
|
|
533
|
-
private
|
|
534
|
-
private
|
|
535
|
-
private _words?;
|
|
536
|
+
static serializeBinaryToWriter(_instance: S2tCloudProviderConfigMicrosoft, _writer: BinaryWriter): void;
|
|
537
|
+
private _useFastTranscriptionApi;
|
|
538
|
+
private _useDetailedOutputFormat;
|
|
536
539
|
/**
|
|
537
540
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
538
|
-
* @param _value initial values object or instance of
|
|
541
|
+
* @param _value initial values object or instance of S2tCloudProviderConfigMicrosoft to deeply clone from
|
|
539
542
|
*/
|
|
540
|
-
constructor(_value?: RecursivePartial<
|
|
541
|
-
get
|
|
542
|
-
set
|
|
543
|
-
get
|
|
544
|
-
set
|
|
545
|
-
get words(): WordDetail[] | undefined;
|
|
546
|
-
set words(value: WordDetail[] | undefined);
|
|
543
|
+
constructor(_value?: RecursivePartial<S2tCloudProviderConfigMicrosoft.AsObject>);
|
|
544
|
+
get useFastTranscriptionApi(): boolean;
|
|
545
|
+
set useFastTranscriptionApi(value: boolean);
|
|
546
|
+
get useDetailedOutputFormat(): boolean;
|
|
547
|
+
set useDetailedOutputFormat(value: boolean);
|
|
547
548
|
/**
|
|
548
549
|
* Serialize message to binary data
|
|
549
550
|
* @param instance message instance
|
|
@@ -552,83 +553,90 @@ export declare class TranscriptionAlternative implements GrpcMessage {
|
|
|
552
553
|
/**
|
|
553
554
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
554
555
|
*/
|
|
555
|
-
toObject():
|
|
556
|
+
toObject(): S2tCloudProviderConfigMicrosoft.AsObject;
|
|
556
557
|
/**
|
|
557
558
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
558
559
|
*/
|
|
559
|
-
toJSON():
|
|
560
|
+
toJSON(): S2tCloudProviderConfigMicrosoft.AsObject;
|
|
560
561
|
/**
|
|
561
562
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
562
563
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
563
564
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
564
565
|
*/
|
|
565
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
566
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudProviderConfigMicrosoft.AsProtobufJSON;
|
|
566
567
|
}
|
|
567
|
-
export declare
|
|
568
|
+
export declare namespace S2tCloudProviderConfigMicrosoft {
|
|
568
569
|
/**
|
|
569
|
-
* Standard JavaScript object representation for
|
|
570
|
+
* Standard JavaScript object representation for S2tCloudProviderConfigMicrosoft
|
|
570
571
|
*/
|
|
571
572
|
interface AsObject {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
words?: WordDetail.AsObject[];
|
|
573
|
+
useFastTranscriptionApi: boolean;
|
|
574
|
+
useDetailedOutputFormat: boolean;
|
|
575
575
|
}
|
|
576
576
|
/**
|
|
577
|
-
* Protobuf JSON representation for
|
|
577
|
+
* Protobuf JSON representation for S2tCloudProviderConfigMicrosoft
|
|
578
578
|
*/
|
|
579
579
|
interface AsProtobufJSON {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
words: WordDetail.AsProtobufJSON[] | null;
|
|
580
|
+
useFastTranscriptionApi: boolean;
|
|
581
|
+
useDetailedOutputFormat: boolean;
|
|
583
582
|
}
|
|
584
583
|
}
|
|
585
584
|
/**
|
|
586
|
-
* Message implementation for ondewo.s2t.
|
|
585
|
+
* Message implementation for ondewo.s2t.TranscriptionReturnOptions
|
|
587
586
|
*/
|
|
588
|
-
export declare class
|
|
587
|
+
export declare class TranscriptionReturnOptions implements GrpcMessage {
|
|
589
588
|
static id: string;
|
|
590
589
|
/**
|
|
591
590
|
* Deserialize binary data to message
|
|
592
591
|
* @param instance message instance
|
|
593
592
|
*/
|
|
594
|
-
static deserializeBinary(bytes: ByteSource):
|
|
593
|
+
static deserializeBinary(bytes: ByteSource): TranscriptionReturnOptions;
|
|
595
594
|
/**
|
|
596
595
|
* Check all the properties and set default protobuf values if necessary
|
|
597
596
|
* @param _instance message instance
|
|
598
597
|
*/
|
|
599
|
-
static refineValues(_instance:
|
|
598
|
+
static refineValues(_instance: TranscriptionReturnOptions): void;
|
|
600
599
|
/**
|
|
601
600
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
602
601
|
* @param _instance message instance
|
|
603
602
|
* @param _reader binary reader instance
|
|
604
603
|
*/
|
|
605
|
-
static deserializeBinaryFromReader(_instance:
|
|
604
|
+
static deserializeBinaryFromReader(_instance: TranscriptionReturnOptions, _reader: BinaryReader): void;
|
|
606
605
|
/**
|
|
607
606
|
* Serializes a message to binary format using provided binary reader
|
|
608
607
|
* @param _instance message instance
|
|
609
608
|
* @param _writer binary writer instance
|
|
610
609
|
*/
|
|
611
|
-
static serializeBinaryToWriter(_instance:
|
|
612
|
-
private
|
|
613
|
-
private
|
|
614
|
-
private
|
|
615
|
-
private
|
|
616
|
-
private
|
|
610
|
+
static serializeBinaryToWriter(_instance: TranscriptionReturnOptions, _writer: BinaryWriter): void;
|
|
611
|
+
private _returnStartOfSpeech;
|
|
612
|
+
private _returnAudio;
|
|
613
|
+
private _returnConfidenceScore;
|
|
614
|
+
private _returnAlternativeTranscriptions;
|
|
615
|
+
private _returnAlternativeTranscriptionsNr;
|
|
616
|
+
private _returnAlternativeWords;
|
|
617
|
+
private _returnAlternativeWordsNr;
|
|
618
|
+
private _returnWordTiming;
|
|
617
619
|
/**
|
|
618
620
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
619
|
-
* @param _value initial values object or instance of
|
|
621
|
+
* @param _value initial values object or instance of TranscriptionReturnOptions to deeply clone from
|
|
620
622
|
*/
|
|
621
|
-
constructor(_value?: RecursivePartial<
|
|
622
|
-
get
|
|
623
|
-
set
|
|
624
|
-
get
|
|
625
|
-
set
|
|
626
|
-
get
|
|
627
|
-
set
|
|
628
|
-
get
|
|
629
|
-
set
|
|
630
|
-
get
|
|
631
|
-
set
|
|
623
|
+
constructor(_value?: RecursivePartial<TranscriptionReturnOptions.AsObject>);
|
|
624
|
+
get returnStartOfSpeech(): boolean;
|
|
625
|
+
set returnStartOfSpeech(value: boolean);
|
|
626
|
+
get returnAudio(): boolean;
|
|
627
|
+
set returnAudio(value: boolean);
|
|
628
|
+
get returnConfidenceScore(): boolean;
|
|
629
|
+
set returnConfidenceScore(value: boolean);
|
|
630
|
+
get returnAlternativeTranscriptions(): boolean;
|
|
631
|
+
set returnAlternativeTranscriptions(value: boolean);
|
|
632
|
+
get returnAlternativeTranscriptionsNr(): number;
|
|
633
|
+
set returnAlternativeTranscriptionsNr(value: number);
|
|
634
|
+
get returnAlternativeWords(): boolean;
|
|
635
|
+
set returnAlternativeWords(value: boolean);
|
|
636
|
+
get returnAlternativeWordsNr(): number;
|
|
637
|
+
set returnAlternativeWordsNr(value: number);
|
|
638
|
+
get returnWordTiming(): boolean;
|
|
639
|
+
set returnWordTiming(value: boolean);
|
|
632
640
|
/**
|
|
633
641
|
* Serialize message to binary data
|
|
634
642
|
* @param instance message instance
|
|
@@ -637,78 +645,840 @@ export declare class WordDetail implements GrpcMessage {
|
|
|
637
645
|
/**
|
|
638
646
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
639
647
|
*/
|
|
640
|
-
toObject():
|
|
648
|
+
toObject(): TranscriptionReturnOptions.AsObject;
|
|
641
649
|
/**
|
|
642
650
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
643
651
|
*/
|
|
644
|
-
toJSON():
|
|
652
|
+
toJSON(): TranscriptionReturnOptions.AsObject;
|
|
645
653
|
/**
|
|
646
654
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
647
655
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
648
656
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
649
657
|
*/
|
|
650
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
658
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscriptionReturnOptions.AsProtobufJSON;
|
|
651
659
|
}
|
|
652
|
-
export declare
|
|
660
|
+
export declare namespace TranscriptionReturnOptions {
|
|
653
661
|
/**
|
|
654
|
-
* Standard JavaScript object representation for
|
|
662
|
+
* Standard JavaScript object representation for TranscriptionReturnOptions
|
|
655
663
|
*/
|
|
656
664
|
interface AsObject {
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
665
|
+
returnStartOfSpeech: boolean;
|
|
666
|
+
returnAudio: boolean;
|
|
667
|
+
returnConfidenceScore: boolean;
|
|
668
|
+
returnAlternativeTranscriptions: boolean;
|
|
669
|
+
returnAlternativeTranscriptionsNr: number;
|
|
670
|
+
returnAlternativeWords: boolean;
|
|
671
|
+
returnAlternativeWordsNr: number;
|
|
672
|
+
returnWordTiming: boolean;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* Protobuf JSON representation for TranscriptionReturnOptions
|
|
676
|
+
*/
|
|
677
|
+
interface AsProtobufJSON {
|
|
678
|
+
returnStartOfSpeech: boolean;
|
|
679
|
+
returnAudio: boolean;
|
|
680
|
+
returnConfidenceScore: boolean;
|
|
681
|
+
returnAlternativeTranscriptions: boolean;
|
|
682
|
+
returnAlternativeTranscriptionsNr: number;
|
|
683
|
+
returnAlternativeWords: boolean;
|
|
684
|
+
returnAlternativeWordsNr: number;
|
|
685
|
+
returnWordTiming: boolean;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Message implementation for ondewo.s2t.UtteranceDetectionOptions
|
|
690
|
+
*/
|
|
691
|
+
export declare class UtteranceDetectionOptions implements GrpcMessage {
|
|
692
|
+
static id: string;
|
|
693
|
+
/**
|
|
694
|
+
* Deserialize binary data to message
|
|
695
|
+
* @param instance message instance
|
|
696
|
+
*/
|
|
697
|
+
static deserializeBinary(bytes: ByteSource): UtteranceDetectionOptions;
|
|
698
|
+
/**
|
|
699
|
+
* Check all the properties and set default protobuf values if necessary
|
|
700
|
+
* @param _instance message instance
|
|
701
|
+
*/
|
|
702
|
+
static refineValues(_instance: UtteranceDetectionOptions): void;
|
|
703
|
+
/**
|
|
704
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
705
|
+
* @param _instance message instance
|
|
706
|
+
* @param _reader binary reader instance
|
|
707
|
+
*/
|
|
708
|
+
static deserializeBinaryFromReader(_instance: UtteranceDetectionOptions, _reader: BinaryReader): void;
|
|
709
|
+
/**
|
|
710
|
+
* Serializes a message to binary format using provided binary reader
|
|
711
|
+
* @param _instance message instance
|
|
712
|
+
* @param _writer binary writer instance
|
|
713
|
+
*/
|
|
714
|
+
static serializeBinaryToWriter(_instance: UtteranceDetectionOptions, _writer: BinaryWriter): void;
|
|
715
|
+
private _transcribeNotFinal;
|
|
716
|
+
private _nextChunkTimeout;
|
|
717
|
+
private _oneofTranscribeNotFinal;
|
|
718
|
+
/**
|
|
719
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
720
|
+
* @param _value initial values object or instance of UtteranceDetectionOptions to deeply clone from
|
|
721
|
+
*/
|
|
722
|
+
constructor(_value?: RecursivePartial<UtteranceDetectionOptions.AsObject>);
|
|
723
|
+
get transcribeNotFinal(): boolean;
|
|
724
|
+
set transcribeNotFinal(value: boolean);
|
|
725
|
+
get nextChunkTimeout(): number;
|
|
726
|
+
set nextChunkTimeout(value: number);
|
|
727
|
+
get oneofTranscribeNotFinal(): UtteranceDetectionOptions.OneofTranscribeNotFinalCase;
|
|
728
|
+
/**
|
|
729
|
+
* Serialize message to binary data
|
|
730
|
+
* @param instance message instance
|
|
731
|
+
*/
|
|
732
|
+
serializeBinary(): any;
|
|
733
|
+
/**
|
|
734
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
735
|
+
*/
|
|
736
|
+
toObject(): UtteranceDetectionOptions.AsObject;
|
|
737
|
+
/**
|
|
738
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
739
|
+
*/
|
|
740
|
+
toJSON(): UtteranceDetectionOptions.AsObject;
|
|
741
|
+
/**
|
|
742
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
743
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
744
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
745
|
+
*/
|
|
746
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UtteranceDetectionOptions.AsProtobufJSON;
|
|
747
|
+
}
|
|
748
|
+
export declare namespace UtteranceDetectionOptions {
|
|
749
|
+
/**
|
|
750
|
+
* Standard JavaScript object representation for UtteranceDetectionOptions
|
|
751
|
+
*/
|
|
752
|
+
interface AsObject {
|
|
753
|
+
transcribeNotFinal: boolean;
|
|
754
|
+
nextChunkTimeout: number;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Protobuf JSON representation for UtteranceDetectionOptions
|
|
758
|
+
*/
|
|
759
|
+
interface AsProtobufJSON {
|
|
760
|
+
transcribeNotFinal: boolean;
|
|
761
|
+
nextChunkTimeout: number;
|
|
762
|
+
}
|
|
763
|
+
enum OneofTranscribeNotFinalCase {
|
|
764
|
+
none = 0,
|
|
765
|
+
transcribeNotFinal = 1
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Message implementation for ondewo.s2t.PostProcessingOptions
|
|
770
|
+
*/
|
|
771
|
+
export declare class PostProcessingOptions implements GrpcMessage {
|
|
772
|
+
static id: string;
|
|
773
|
+
/**
|
|
774
|
+
* Deserialize binary data to message
|
|
775
|
+
* @param instance message instance
|
|
776
|
+
*/
|
|
777
|
+
static deserializeBinary(bytes: ByteSource): PostProcessingOptions;
|
|
778
|
+
/**
|
|
779
|
+
* Check all the properties and set default protobuf values if necessary
|
|
780
|
+
* @param _instance message instance
|
|
781
|
+
*/
|
|
782
|
+
static refineValues(_instance: PostProcessingOptions): void;
|
|
783
|
+
/**
|
|
784
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
785
|
+
* @param _instance message instance
|
|
786
|
+
* @param _reader binary reader instance
|
|
787
|
+
*/
|
|
788
|
+
static deserializeBinaryFromReader(_instance: PostProcessingOptions, _reader: BinaryReader): void;
|
|
789
|
+
/**
|
|
790
|
+
* Serializes a message to binary format using provided binary reader
|
|
791
|
+
* @param _instance message instance
|
|
792
|
+
* @param _writer binary writer instance
|
|
793
|
+
*/
|
|
794
|
+
static serializeBinaryToWriter(_instance: PostProcessingOptions, _writer: BinaryWriter): void;
|
|
795
|
+
private _spellingCorrection;
|
|
796
|
+
private _normalize;
|
|
797
|
+
private _config?;
|
|
798
|
+
/**
|
|
799
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
800
|
+
* @param _value initial values object or instance of PostProcessingOptions to deeply clone from
|
|
801
|
+
*/
|
|
802
|
+
constructor(_value?: RecursivePartial<PostProcessingOptions.AsObject>);
|
|
803
|
+
get spellingCorrection(): boolean;
|
|
804
|
+
set spellingCorrection(value: boolean);
|
|
805
|
+
get normalize(): boolean;
|
|
806
|
+
set normalize(value: boolean);
|
|
807
|
+
get config(): PostProcessing | undefined;
|
|
808
|
+
set config(value: PostProcessing | undefined);
|
|
809
|
+
/**
|
|
810
|
+
* Serialize message to binary data
|
|
811
|
+
* @param instance message instance
|
|
812
|
+
*/
|
|
813
|
+
serializeBinary(): any;
|
|
814
|
+
/**
|
|
815
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
816
|
+
*/
|
|
817
|
+
toObject(): PostProcessingOptions.AsObject;
|
|
818
|
+
/**
|
|
819
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
820
|
+
*/
|
|
821
|
+
toJSON(): PostProcessingOptions.AsObject;
|
|
822
|
+
/**
|
|
823
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
824
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
825
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
826
|
+
*/
|
|
827
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PostProcessingOptions.AsProtobufJSON;
|
|
828
|
+
}
|
|
829
|
+
export declare namespace PostProcessingOptions {
|
|
830
|
+
/**
|
|
831
|
+
* Standard JavaScript object representation for PostProcessingOptions
|
|
832
|
+
*/
|
|
833
|
+
interface AsObject {
|
|
834
|
+
spellingCorrection: boolean;
|
|
835
|
+
normalize: boolean;
|
|
836
|
+
config?: PostProcessing.AsObject;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Protobuf JSON representation for PostProcessingOptions
|
|
840
|
+
*/
|
|
841
|
+
interface AsProtobufJSON {
|
|
842
|
+
spellingCorrection: boolean;
|
|
843
|
+
normalize: boolean;
|
|
844
|
+
config: PostProcessing.AsProtobufJSON | null;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Message implementation for ondewo.s2t.Transcription
|
|
849
|
+
*/
|
|
850
|
+
export declare class Transcription implements GrpcMessage {
|
|
851
|
+
static id: string;
|
|
852
|
+
/**
|
|
853
|
+
* Deserialize binary data to message
|
|
854
|
+
* @param instance message instance
|
|
855
|
+
*/
|
|
856
|
+
static deserializeBinary(bytes: ByteSource): Transcription;
|
|
857
|
+
/**
|
|
858
|
+
* Check all the properties and set default protobuf values if necessary
|
|
859
|
+
* @param _instance message instance
|
|
860
|
+
*/
|
|
861
|
+
static refineValues(_instance: Transcription): void;
|
|
862
|
+
/**
|
|
863
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
864
|
+
* @param _instance message instance
|
|
865
|
+
* @param _reader binary reader instance
|
|
866
|
+
*/
|
|
867
|
+
static deserializeBinaryFromReader(_instance: Transcription, _reader: BinaryReader): void;
|
|
868
|
+
/**
|
|
869
|
+
* Serializes a message to binary format using provided binary reader
|
|
870
|
+
* @param _instance message instance
|
|
871
|
+
* @param _writer binary writer instance
|
|
872
|
+
*/
|
|
873
|
+
static serializeBinaryToWriter(_instance: Transcription, _writer: BinaryWriter): void;
|
|
874
|
+
private _transcription;
|
|
875
|
+
private _confidenceScore;
|
|
876
|
+
private _words?;
|
|
877
|
+
private _alternatives?;
|
|
878
|
+
/**
|
|
879
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
880
|
+
* @param _value initial values object or instance of Transcription to deeply clone from
|
|
881
|
+
*/
|
|
882
|
+
constructor(_value?: RecursivePartial<Transcription.AsObject>);
|
|
883
|
+
get transcription(): string;
|
|
884
|
+
set transcription(value: string);
|
|
885
|
+
get confidenceScore(): number;
|
|
886
|
+
set confidenceScore(value: number);
|
|
887
|
+
get words(): WordDetail[] | undefined;
|
|
888
|
+
set words(value: WordDetail[] | undefined);
|
|
889
|
+
get alternatives(): TranscriptionAlternative[] | undefined;
|
|
890
|
+
set alternatives(value: TranscriptionAlternative[] | undefined);
|
|
891
|
+
/**
|
|
892
|
+
* Serialize message to binary data
|
|
893
|
+
* @param instance message instance
|
|
894
|
+
*/
|
|
895
|
+
serializeBinary(): any;
|
|
896
|
+
/**
|
|
897
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
898
|
+
*/
|
|
899
|
+
toObject(): Transcription.AsObject;
|
|
900
|
+
/**
|
|
901
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
902
|
+
*/
|
|
903
|
+
toJSON(): Transcription.AsObject;
|
|
904
|
+
/**
|
|
905
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
906
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
907
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
908
|
+
*/
|
|
909
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Transcription.AsProtobufJSON;
|
|
910
|
+
}
|
|
911
|
+
export declare namespace Transcription {
|
|
912
|
+
/**
|
|
913
|
+
* Standard JavaScript object representation for Transcription
|
|
914
|
+
*/
|
|
915
|
+
interface AsObject {
|
|
916
|
+
transcription: string;
|
|
917
|
+
confidenceScore: number;
|
|
918
|
+
words?: WordDetail.AsObject[];
|
|
919
|
+
alternatives?: TranscriptionAlternative.AsObject[];
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* Protobuf JSON representation for Transcription
|
|
923
|
+
*/
|
|
924
|
+
interface AsProtobufJSON {
|
|
925
|
+
transcription: string;
|
|
926
|
+
confidenceScore: number;
|
|
927
|
+
words: WordDetail.AsProtobufJSON[] | null;
|
|
928
|
+
alternatives: TranscriptionAlternative.AsProtobufJSON[] | null;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* Message implementation for ondewo.s2t.TranscriptionAlternative
|
|
933
|
+
*/
|
|
934
|
+
export declare class TranscriptionAlternative implements GrpcMessage {
|
|
935
|
+
static id: string;
|
|
936
|
+
/**
|
|
937
|
+
* Deserialize binary data to message
|
|
938
|
+
* @param instance message instance
|
|
939
|
+
*/
|
|
940
|
+
static deserializeBinary(bytes: ByteSource): TranscriptionAlternative;
|
|
941
|
+
/**
|
|
942
|
+
* Check all the properties and set default protobuf values if necessary
|
|
943
|
+
* @param _instance message instance
|
|
944
|
+
*/
|
|
945
|
+
static refineValues(_instance: TranscriptionAlternative): void;
|
|
946
|
+
/**
|
|
947
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
948
|
+
* @param _instance message instance
|
|
949
|
+
* @param _reader binary reader instance
|
|
950
|
+
*/
|
|
951
|
+
static deserializeBinaryFromReader(_instance: TranscriptionAlternative, _reader: BinaryReader): void;
|
|
952
|
+
/**
|
|
953
|
+
* Serializes a message to binary format using provided binary reader
|
|
954
|
+
* @param _instance message instance
|
|
955
|
+
* @param _writer binary writer instance
|
|
956
|
+
*/
|
|
957
|
+
static serializeBinaryToWriter(_instance: TranscriptionAlternative, _writer: BinaryWriter): void;
|
|
958
|
+
private _transcript;
|
|
959
|
+
private _confidence;
|
|
960
|
+
private _words?;
|
|
961
|
+
/**
|
|
962
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
963
|
+
* @param _value initial values object or instance of TranscriptionAlternative to deeply clone from
|
|
964
|
+
*/
|
|
965
|
+
constructor(_value?: RecursivePartial<TranscriptionAlternative.AsObject>);
|
|
966
|
+
get transcript(): string;
|
|
967
|
+
set transcript(value: string);
|
|
968
|
+
get confidence(): number;
|
|
969
|
+
set confidence(value: number);
|
|
970
|
+
get words(): WordDetail[] | undefined;
|
|
971
|
+
set words(value: WordDetail[] | undefined);
|
|
972
|
+
/**
|
|
973
|
+
* Serialize message to binary data
|
|
974
|
+
* @param instance message instance
|
|
975
|
+
*/
|
|
976
|
+
serializeBinary(): any;
|
|
977
|
+
/**
|
|
978
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
979
|
+
*/
|
|
980
|
+
toObject(): TranscriptionAlternative.AsObject;
|
|
981
|
+
/**
|
|
982
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
983
|
+
*/
|
|
984
|
+
toJSON(): TranscriptionAlternative.AsObject;
|
|
985
|
+
/**
|
|
986
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
987
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
988
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
989
|
+
*/
|
|
990
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscriptionAlternative.AsProtobufJSON;
|
|
991
|
+
}
|
|
992
|
+
export declare namespace TranscriptionAlternative {
|
|
993
|
+
/**
|
|
994
|
+
* Standard JavaScript object representation for TranscriptionAlternative
|
|
995
|
+
*/
|
|
996
|
+
interface AsObject {
|
|
997
|
+
transcript: string;
|
|
998
|
+
confidence: number;
|
|
999
|
+
words?: WordDetail.AsObject[];
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* Protobuf JSON representation for TranscriptionAlternative
|
|
1003
|
+
*/
|
|
1004
|
+
interface AsProtobufJSON {
|
|
1005
|
+
transcript: string;
|
|
1006
|
+
confidence: number;
|
|
1007
|
+
words: WordDetail.AsProtobufJSON[] | null;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* Message implementation for ondewo.s2t.WordDetail
|
|
1012
|
+
*/
|
|
1013
|
+
export declare class WordDetail implements GrpcMessage {
|
|
1014
|
+
static id: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Deserialize binary data to message
|
|
1017
|
+
* @param instance message instance
|
|
1018
|
+
*/
|
|
1019
|
+
static deserializeBinary(bytes: ByteSource): WordDetail;
|
|
1020
|
+
/**
|
|
1021
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1022
|
+
* @param _instance message instance
|
|
1023
|
+
*/
|
|
1024
|
+
static refineValues(_instance: WordDetail): void;
|
|
1025
|
+
/**
|
|
1026
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1027
|
+
* @param _instance message instance
|
|
1028
|
+
* @param _reader binary reader instance
|
|
1029
|
+
*/
|
|
1030
|
+
static deserializeBinaryFromReader(_instance: WordDetail, _reader: BinaryReader): void;
|
|
1031
|
+
/**
|
|
1032
|
+
* Serializes a message to binary format using provided binary reader
|
|
1033
|
+
* @param _instance message instance
|
|
1034
|
+
* @param _writer binary writer instance
|
|
1035
|
+
*/
|
|
1036
|
+
static serializeBinaryToWriter(_instance: WordDetail, _writer: BinaryWriter): void;
|
|
1037
|
+
private _startTime;
|
|
1038
|
+
private _endTime;
|
|
1039
|
+
private _word;
|
|
1040
|
+
private _confidence;
|
|
1041
|
+
private _wordAlternatives?;
|
|
1042
|
+
/**
|
|
1043
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1044
|
+
* @param _value initial values object or instance of WordDetail to deeply clone from
|
|
1045
|
+
*/
|
|
1046
|
+
constructor(_value?: RecursivePartial<WordDetail.AsObject>);
|
|
1047
|
+
get startTime(): number;
|
|
1048
|
+
set startTime(value: number);
|
|
1049
|
+
get endTime(): number;
|
|
1050
|
+
set endTime(value: number);
|
|
1051
|
+
get word(): string;
|
|
1052
|
+
set word(value: string);
|
|
1053
|
+
get confidence(): number;
|
|
1054
|
+
set confidence(value: number);
|
|
1055
|
+
get wordAlternatives(): WordAlternative[] | undefined;
|
|
1056
|
+
set wordAlternatives(value: WordAlternative[] | undefined);
|
|
1057
|
+
/**
|
|
1058
|
+
* Serialize message to binary data
|
|
1059
|
+
* @param instance message instance
|
|
1060
|
+
*/
|
|
1061
|
+
serializeBinary(): any;
|
|
1062
|
+
/**
|
|
1063
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1064
|
+
*/
|
|
1065
|
+
toObject(): WordDetail.AsObject;
|
|
1066
|
+
/**
|
|
1067
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1068
|
+
*/
|
|
1069
|
+
toJSON(): WordDetail.AsObject;
|
|
1070
|
+
/**
|
|
1071
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1072
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1073
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1074
|
+
*/
|
|
1075
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): WordDetail.AsProtobufJSON;
|
|
1076
|
+
}
|
|
1077
|
+
export declare namespace WordDetail {
|
|
1078
|
+
/**
|
|
1079
|
+
* Standard JavaScript object representation for WordDetail
|
|
1080
|
+
*/
|
|
1081
|
+
interface AsObject {
|
|
1082
|
+
startTime: number;
|
|
1083
|
+
endTime: number;
|
|
1084
|
+
word: string;
|
|
1085
|
+
confidence: number;
|
|
1086
|
+
wordAlternatives?: WordAlternative.AsObject[];
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Protobuf JSON representation for WordDetail
|
|
1090
|
+
*/
|
|
1091
|
+
interface AsProtobufJSON {
|
|
1092
|
+
startTime: number;
|
|
1093
|
+
endTime: number;
|
|
1094
|
+
word: string;
|
|
1095
|
+
confidence: number;
|
|
1096
|
+
wordAlternatives: WordAlternative.AsProtobufJSON[] | null;
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* Message implementation for ondewo.s2t.WordAlternative
|
|
1101
|
+
*/
|
|
1102
|
+
export declare class WordAlternative implements GrpcMessage {
|
|
1103
|
+
static id: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Deserialize binary data to message
|
|
1106
|
+
* @param instance message instance
|
|
1107
|
+
*/
|
|
1108
|
+
static deserializeBinary(bytes: ByteSource): WordAlternative;
|
|
1109
|
+
/**
|
|
1110
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1111
|
+
* @param _instance message instance
|
|
1112
|
+
*/
|
|
1113
|
+
static refineValues(_instance: WordAlternative): void;
|
|
1114
|
+
/**
|
|
1115
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1116
|
+
* @param _instance message instance
|
|
1117
|
+
* @param _reader binary reader instance
|
|
1118
|
+
*/
|
|
1119
|
+
static deserializeBinaryFromReader(_instance: WordAlternative, _reader: BinaryReader): void;
|
|
1120
|
+
/**
|
|
1121
|
+
* Serializes a message to binary format using provided binary reader
|
|
1122
|
+
* @param _instance message instance
|
|
1123
|
+
* @param _writer binary writer instance
|
|
1124
|
+
*/
|
|
1125
|
+
static serializeBinaryToWriter(_instance: WordAlternative, _writer: BinaryWriter): void;
|
|
1126
|
+
private _word;
|
|
1127
|
+
private _confidence;
|
|
1128
|
+
/**
|
|
1129
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1130
|
+
* @param _value initial values object or instance of WordAlternative to deeply clone from
|
|
1131
|
+
*/
|
|
1132
|
+
constructor(_value?: RecursivePartial<WordAlternative.AsObject>);
|
|
1133
|
+
get word(): string;
|
|
1134
|
+
set word(value: string);
|
|
1135
|
+
get confidence(): number;
|
|
1136
|
+
set confidence(value: number);
|
|
1137
|
+
/**
|
|
1138
|
+
* Serialize message to binary data
|
|
1139
|
+
* @param instance message instance
|
|
1140
|
+
*/
|
|
1141
|
+
serializeBinary(): any;
|
|
1142
|
+
/**
|
|
1143
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1144
|
+
*/
|
|
1145
|
+
toObject(): WordAlternative.AsObject;
|
|
1146
|
+
/**
|
|
1147
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1148
|
+
*/
|
|
1149
|
+
toJSON(): WordAlternative.AsObject;
|
|
1150
|
+
/**
|
|
1151
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1152
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1153
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1154
|
+
*/
|
|
1155
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): WordAlternative.AsProtobufJSON;
|
|
1156
|
+
}
|
|
1157
|
+
export declare namespace WordAlternative {
|
|
1158
|
+
/**
|
|
1159
|
+
* Standard JavaScript object representation for WordAlternative
|
|
1160
|
+
*/
|
|
1161
|
+
interface AsObject {
|
|
1162
|
+
word: string;
|
|
1163
|
+
confidence: number;
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* Protobuf JSON representation for WordAlternative
|
|
1167
|
+
*/
|
|
1168
|
+
interface AsProtobufJSON {
|
|
1169
|
+
word: string;
|
|
1170
|
+
confidence: number;
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* Message implementation for ondewo.s2t.TranscribeStreamRequest
|
|
1175
|
+
*/
|
|
1176
|
+
export declare class TranscribeStreamRequest implements GrpcMessage {
|
|
1177
|
+
static id: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Deserialize binary data to message
|
|
1180
|
+
* @param instance message instance
|
|
1181
|
+
*/
|
|
1182
|
+
static deserializeBinary(bytes: ByteSource): TranscribeStreamRequest;
|
|
1183
|
+
/**
|
|
1184
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1185
|
+
* @param _instance message instance
|
|
1186
|
+
*/
|
|
1187
|
+
static refineValues(_instance: TranscribeStreamRequest): void;
|
|
1188
|
+
/**
|
|
1189
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1190
|
+
* @param _instance message instance
|
|
1191
|
+
* @param _reader binary reader instance
|
|
1192
|
+
*/
|
|
1193
|
+
static deserializeBinaryFromReader(_instance: TranscribeStreamRequest, _reader: BinaryReader): void;
|
|
1194
|
+
/**
|
|
1195
|
+
* Serializes a message to binary format using provided binary reader
|
|
1196
|
+
* @param _instance message instance
|
|
1197
|
+
* @param _writer binary writer instance
|
|
1198
|
+
*/
|
|
1199
|
+
static serializeBinaryToWriter(_instance: TranscribeStreamRequest, _writer: BinaryWriter): void;
|
|
1200
|
+
private _audioChunk;
|
|
1201
|
+
private _endOfStream;
|
|
1202
|
+
private _config?;
|
|
1203
|
+
private _muteAudio;
|
|
1204
|
+
/**
|
|
1205
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1206
|
+
* @param _value initial values object or instance of TranscribeStreamRequest to deeply clone from
|
|
1207
|
+
*/
|
|
1208
|
+
constructor(_value?: RecursivePartial<TranscribeStreamRequest.AsObject>);
|
|
1209
|
+
get audioChunk(): Uint8Array;
|
|
1210
|
+
set audioChunk(value: Uint8Array);
|
|
1211
|
+
get endOfStream(): boolean;
|
|
1212
|
+
set endOfStream(value: boolean);
|
|
1213
|
+
get config(): TranscribeRequestConfig | undefined;
|
|
1214
|
+
set config(value: TranscribeRequestConfig | undefined);
|
|
1215
|
+
get muteAudio(): boolean;
|
|
1216
|
+
set muteAudio(value: boolean);
|
|
1217
|
+
/**
|
|
1218
|
+
* Serialize message to binary data
|
|
1219
|
+
* @param instance message instance
|
|
1220
|
+
*/
|
|
1221
|
+
serializeBinary(): any;
|
|
1222
|
+
/**
|
|
1223
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1224
|
+
*/
|
|
1225
|
+
toObject(): TranscribeStreamRequest.AsObject;
|
|
1226
|
+
/**
|
|
1227
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1228
|
+
*/
|
|
1229
|
+
toJSON(): TranscribeStreamRequest.AsObject;
|
|
1230
|
+
/**
|
|
1231
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1232
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1233
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1234
|
+
*/
|
|
1235
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeStreamRequest.AsProtobufJSON;
|
|
1236
|
+
}
|
|
1237
|
+
export declare namespace TranscribeStreamRequest {
|
|
1238
|
+
/**
|
|
1239
|
+
* Standard JavaScript object representation for TranscribeStreamRequest
|
|
1240
|
+
*/
|
|
1241
|
+
interface AsObject {
|
|
1242
|
+
audioChunk: Uint8Array;
|
|
1243
|
+
endOfStream: boolean;
|
|
1244
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
1245
|
+
muteAudio: boolean;
|
|
1246
|
+
}
|
|
1247
|
+
/**
|
|
1248
|
+
* Protobuf JSON representation for TranscribeStreamRequest
|
|
1249
|
+
*/
|
|
1250
|
+
interface AsProtobufJSON {
|
|
1251
|
+
audioChunk: string;
|
|
1252
|
+
endOfStream: boolean;
|
|
1253
|
+
config: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
1254
|
+
muteAudio: boolean;
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Message implementation for ondewo.s2t.TranscribeStreamResponse
|
|
1259
|
+
*/
|
|
1260
|
+
export declare class TranscribeStreamResponse implements GrpcMessage {
|
|
1261
|
+
static id: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* Deserialize binary data to message
|
|
1264
|
+
* @param instance message instance
|
|
1265
|
+
*/
|
|
1266
|
+
static deserializeBinary(bytes: ByteSource): TranscribeStreamResponse;
|
|
1267
|
+
/**
|
|
1268
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1269
|
+
* @param _instance message instance
|
|
1270
|
+
*/
|
|
1271
|
+
static refineValues(_instance: TranscribeStreamResponse): void;
|
|
1272
|
+
/**
|
|
1273
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1274
|
+
* @param _instance message instance
|
|
1275
|
+
* @param _reader binary reader instance
|
|
1276
|
+
*/
|
|
1277
|
+
static deserializeBinaryFromReader(_instance: TranscribeStreamResponse, _reader: BinaryReader): void;
|
|
1278
|
+
/**
|
|
1279
|
+
* Serializes a message to binary format using provided binary reader
|
|
1280
|
+
* @param _instance message instance
|
|
1281
|
+
* @param _writer binary writer instance
|
|
1282
|
+
*/
|
|
1283
|
+
static serializeBinaryToWriter(_instance: TranscribeStreamResponse, _writer: BinaryWriter): void;
|
|
1284
|
+
private _transcriptions?;
|
|
1285
|
+
private _time;
|
|
1286
|
+
private _final;
|
|
1287
|
+
private _returnAudio;
|
|
1288
|
+
private _audio;
|
|
1289
|
+
private _utteranceStart;
|
|
1290
|
+
private _audioUuid;
|
|
1291
|
+
private _config?;
|
|
1292
|
+
private _oneofConfig;
|
|
1293
|
+
/**
|
|
1294
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1295
|
+
* @param _value initial values object or instance of TranscribeStreamResponse to deeply clone from
|
|
1296
|
+
*/
|
|
1297
|
+
constructor(_value?: RecursivePartial<TranscribeStreamResponse.AsObject>);
|
|
1298
|
+
get transcriptions(): Transcription[] | undefined;
|
|
1299
|
+
set transcriptions(value: Transcription[] | undefined);
|
|
1300
|
+
get time(): number;
|
|
1301
|
+
set time(value: number);
|
|
1302
|
+
get final(): boolean;
|
|
1303
|
+
set final(value: boolean);
|
|
1304
|
+
get returnAudio(): boolean;
|
|
1305
|
+
set returnAudio(value: boolean);
|
|
1306
|
+
get audio(): Uint8Array;
|
|
1307
|
+
set audio(value: Uint8Array);
|
|
1308
|
+
get utteranceStart(): boolean;
|
|
1309
|
+
set utteranceStart(value: boolean);
|
|
1310
|
+
get audioUuid(): string;
|
|
1311
|
+
set audioUuid(value: string);
|
|
1312
|
+
get config(): TranscribeRequestConfig | undefined;
|
|
1313
|
+
set config(value: TranscribeRequestConfig | undefined);
|
|
1314
|
+
get oneofConfig(): TranscribeStreamResponse.OneofConfigCase;
|
|
1315
|
+
/**
|
|
1316
|
+
* Serialize message to binary data
|
|
1317
|
+
* @param instance message instance
|
|
1318
|
+
*/
|
|
1319
|
+
serializeBinary(): any;
|
|
1320
|
+
/**
|
|
1321
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1322
|
+
*/
|
|
1323
|
+
toObject(): TranscribeStreamResponse.AsObject;
|
|
1324
|
+
/**
|
|
1325
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1326
|
+
*/
|
|
1327
|
+
toJSON(): TranscribeStreamResponse.AsObject;
|
|
1328
|
+
/**
|
|
1329
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1330
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1331
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1332
|
+
*/
|
|
1333
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeStreamResponse.AsProtobufJSON;
|
|
1334
|
+
}
|
|
1335
|
+
export declare namespace TranscribeStreamResponse {
|
|
1336
|
+
/**
|
|
1337
|
+
* Standard JavaScript object representation for TranscribeStreamResponse
|
|
1338
|
+
*/
|
|
1339
|
+
interface AsObject {
|
|
1340
|
+
transcriptions?: Transcription.AsObject[];
|
|
1341
|
+
time: number;
|
|
1342
|
+
final: boolean;
|
|
1343
|
+
returnAudio: boolean;
|
|
1344
|
+
audio: Uint8Array;
|
|
1345
|
+
utteranceStart: boolean;
|
|
1346
|
+
audioUuid: string;
|
|
1347
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* Protobuf JSON representation for TranscribeStreamResponse
|
|
1351
|
+
*/
|
|
1352
|
+
interface AsProtobufJSON {
|
|
1353
|
+
transcriptions: Transcription.AsProtobufJSON[] | null;
|
|
1354
|
+
time: number;
|
|
1355
|
+
final: boolean;
|
|
1356
|
+
returnAudio: boolean;
|
|
1357
|
+
audio: string;
|
|
1358
|
+
utteranceStart: boolean;
|
|
1359
|
+
audioUuid: string;
|
|
1360
|
+
config: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
1361
|
+
}
|
|
1362
|
+
enum OneofConfigCase {
|
|
1363
|
+
none = 0,
|
|
1364
|
+
config = 1
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* Message implementation for ondewo.s2t.TranscribeFileRequest
|
|
1369
|
+
*/
|
|
1370
|
+
export declare class TranscribeFileRequest implements GrpcMessage {
|
|
1371
|
+
static id: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* Deserialize binary data to message
|
|
1374
|
+
* @param instance message instance
|
|
1375
|
+
*/
|
|
1376
|
+
static deserializeBinary(bytes: ByteSource): TranscribeFileRequest;
|
|
1377
|
+
/**
|
|
1378
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1379
|
+
* @param _instance message instance
|
|
1380
|
+
*/
|
|
1381
|
+
static refineValues(_instance: TranscribeFileRequest): void;
|
|
1382
|
+
/**
|
|
1383
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1384
|
+
* @param _instance message instance
|
|
1385
|
+
* @param _reader binary reader instance
|
|
1386
|
+
*/
|
|
1387
|
+
static deserializeBinaryFromReader(_instance: TranscribeFileRequest, _reader: BinaryReader): void;
|
|
1388
|
+
/**
|
|
1389
|
+
* Serializes a message to binary format using provided binary reader
|
|
1390
|
+
* @param _instance message instance
|
|
1391
|
+
* @param _writer binary writer instance
|
|
1392
|
+
*/
|
|
1393
|
+
static serializeBinaryToWriter(_instance: TranscribeFileRequest, _writer: BinaryWriter): void;
|
|
1394
|
+
private _audioFile;
|
|
1395
|
+
private _config?;
|
|
1396
|
+
/**
|
|
1397
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1398
|
+
* @param _value initial values object or instance of TranscribeFileRequest to deeply clone from
|
|
1399
|
+
*/
|
|
1400
|
+
constructor(_value?: RecursivePartial<TranscribeFileRequest.AsObject>);
|
|
1401
|
+
get audioFile(): Uint8Array;
|
|
1402
|
+
set audioFile(value: Uint8Array);
|
|
1403
|
+
get config(): TranscribeRequestConfig | undefined;
|
|
1404
|
+
set config(value: TranscribeRequestConfig | undefined);
|
|
1405
|
+
/**
|
|
1406
|
+
* Serialize message to binary data
|
|
1407
|
+
* @param instance message instance
|
|
1408
|
+
*/
|
|
1409
|
+
serializeBinary(): any;
|
|
1410
|
+
/**
|
|
1411
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1412
|
+
*/
|
|
1413
|
+
toObject(): TranscribeFileRequest.AsObject;
|
|
1414
|
+
/**
|
|
1415
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1416
|
+
*/
|
|
1417
|
+
toJSON(): TranscribeFileRequest.AsObject;
|
|
1418
|
+
/**
|
|
1419
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1420
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1421
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1422
|
+
*/
|
|
1423
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeFileRequest.AsProtobufJSON;
|
|
1424
|
+
}
|
|
1425
|
+
export declare namespace TranscribeFileRequest {
|
|
1426
|
+
/**
|
|
1427
|
+
* Standard JavaScript object representation for TranscribeFileRequest
|
|
1428
|
+
*/
|
|
1429
|
+
interface AsObject {
|
|
1430
|
+
audioFile: Uint8Array;
|
|
1431
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
1432
|
+
}
|
|
1433
|
+
/**
|
|
1434
|
+
* Protobuf JSON representation for TranscribeFileRequest
|
|
1435
|
+
*/
|
|
666
1436
|
interface AsProtobufJSON {
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
word: string;
|
|
670
|
-
confidence: number;
|
|
671
|
-
wordAlternatives: WordAlternative.AsProtobufJSON[] | null;
|
|
1437
|
+
audioFile: string;
|
|
1438
|
+
config: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
672
1439
|
}
|
|
673
1440
|
}
|
|
674
1441
|
/**
|
|
675
|
-
* Message implementation for ondewo.s2t.
|
|
1442
|
+
* Message implementation for ondewo.s2t.TranscribeFileResponse
|
|
676
1443
|
*/
|
|
677
|
-
export declare class
|
|
1444
|
+
export declare class TranscribeFileResponse implements GrpcMessage {
|
|
678
1445
|
static id: string;
|
|
679
1446
|
/**
|
|
680
1447
|
* Deserialize binary data to message
|
|
681
1448
|
* @param instance message instance
|
|
682
1449
|
*/
|
|
683
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1450
|
+
static deserializeBinary(bytes: ByteSource): TranscribeFileResponse;
|
|
684
1451
|
/**
|
|
685
1452
|
* Check all the properties and set default protobuf values if necessary
|
|
686
1453
|
* @param _instance message instance
|
|
687
1454
|
*/
|
|
688
|
-
static refineValues(_instance:
|
|
1455
|
+
static refineValues(_instance: TranscribeFileResponse): void;
|
|
689
1456
|
/**
|
|
690
1457
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
691
1458
|
* @param _instance message instance
|
|
692
1459
|
* @param _reader binary reader instance
|
|
693
1460
|
*/
|
|
694
|
-
static deserializeBinaryFromReader(_instance:
|
|
1461
|
+
static deserializeBinaryFromReader(_instance: TranscribeFileResponse, _reader: BinaryReader): void;
|
|
695
1462
|
/**
|
|
696
1463
|
* Serializes a message to binary format using provided binary reader
|
|
697
1464
|
* @param _instance message instance
|
|
698
1465
|
* @param _writer binary writer instance
|
|
699
1466
|
*/
|
|
700
|
-
static serializeBinaryToWriter(_instance:
|
|
701
|
-
private
|
|
702
|
-
private
|
|
1467
|
+
static serializeBinaryToWriter(_instance: TranscribeFileResponse, _writer: BinaryWriter): void;
|
|
1468
|
+
private _transcriptions?;
|
|
1469
|
+
private _time;
|
|
1470
|
+
private _audioUuid;
|
|
703
1471
|
/**
|
|
704
1472
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
705
|
-
* @param _value initial values object or instance of
|
|
1473
|
+
* @param _value initial values object or instance of TranscribeFileResponse to deeply clone from
|
|
706
1474
|
*/
|
|
707
|
-
constructor(_value?: RecursivePartial<
|
|
708
|
-
get
|
|
709
|
-
set
|
|
710
|
-
get
|
|
711
|
-
set
|
|
1475
|
+
constructor(_value?: RecursivePartial<TranscribeFileResponse.AsObject>);
|
|
1476
|
+
get transcriptions(): Transcription[] | undefined;
|
|
1477
|
+
set transcriptions(value: Transcription[] | undefined);
|
|
1478
|
+
get time(): number;
|
|
1479
|
+
set time(value: number);
|
|
1480
|
+
get audioUuid(): string;
|
|
1481
|
+
set audioUuid(value: string);
|
|
712
1482
|
/**
|
|
713
1483
|
* Serialize message to binary data
|
|
714
1484
|
* @param instance message instance
|
|
@@ -717,78 +1487,71 @@ export declare class WordAlternative implements GrpcMessage {
|
|
|
717
1487
|
/**
|
|
718
1488
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
719
1489
|
*/
|
|
720
|
-
toObject():
|
|
1490
|
+
toObject(): TranscribeFileResponse.AsObject;
|
|
721
1491
|
/**
|
|
722
1492
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
723
1493
|
*/
|
|
724
|
-
toJSON():
|
|
1494
|
+
toJSON(): TranscribeFileResponse.AsObject;
|
|
725
1495
|
/**
|
|
726
1496
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
727
1497
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
728
1498
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
729
1499
|
*/
|
|
730
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1500
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeFileResponse.AsProtobufJSON;
|
|
731
1501
|
}
|
|
732
|
-
export declare
|
|
1502
|
+
export declare namespace TranscribeFileResponse {
|
|
733
1503
|
/**
|
|
734
|
-
* Standard JavaScript object representation for
|
|
1504
|
+
* Standard JavaScript object representation for TranscribeFileResponse
|
|
735
1505
|
*/
|
|
736
1506
|
interface AsObject {
|
|
737
|
-
|
|
738
|
-
|
|
1507
|
+
transcriptions?: Transcription.AsObject[];
|
|
1508
|
+
time: number;
|
|
1509
|
+
audioUuid: string;
|
|
739
1510
|
}
|
|
740
1511
|
/**
|
|
741
|
-
* Protobuf JSON representation for
|
|
1512
|
+
* Protobuf JSON representation for TranscribeFileResponse
|
|
742
1513
|
*/
|
|
743
1514
|
interface AsProtobufJSON {
|
|
744
|
-
|
|
745
|
-
|
|
1515
|
+
transcriptions: Transcription.AsProtobufJSON[] | null;
|
|
1516
|
+
time: number;
|
|
1517
|
+
audioUuid: string;
|
|
746
1518
|
}
|
|
747
1519
|
}
|
|
748
1520
|
/**
|
|
749
|
-
* Message implementation for ondewo.s2t.
|
|
1521
|
+
* Message implementation for ondewo.s2t.S2tPipelineId
|
|
750
1522
|
*/
|
|
751
|
-
export declare class
|
|
1523
|
+
export declare class S2tPipelineId implements GrpcMessage {
|
|
752
1524
|
static id: string;
|
|
753
1525
|
/**
|
|
754
1526
|
* Deserialize binary data to message
|
|
755
1527
|
* @param instance message instance
|
|
756
1528
|
*/
|
|
757
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1529
|
+
static deserializeBinary(bytes: ByteSource): S2tPipelineId;
|
|
758
1530
|
/**
|
|
759
1531
|
* Check all the properties and set default protobuf values if necessary
|
|
760
1532
|
* @param _instance message instance
|
|
761
1533
|
*/
|
|
762
|
-
static refineValues(_instance:
|
|
1534
|
+
static refineValues(_instance: S2tPipelineId): void;
|
|
763
1535
|
/**
|
|
764
1536
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
765
1537
|
* @param _instance message instance
|
|
766
1538
|
* @param _reader binary reader instance
|
|
767
1539
|
*/
|
|
768
|
-
static deserializeBinaryFromReader(_instance:
|
|
1540
|
+
static deserializeBinaryFromReader(_instance: S2tPipelineId, _reader: BinaryReader): void;
|
|
769
1541
|
/**
|
|
770
1542
|
* Serializes a message to binary format using provided binary reader
|
|
771
1543
|
* @param _instance message instance
|
|
772
1544
|
* @param _writer binary writer instance
|
|
773
1545
|
*/
|
|
774
|
-
static serializeBinaryToWriter(_instance:
|
|
775
|
-
private
|
|
776
|
-
private _endOfStream;
|
|
777
|
-
private _config?;
|
|
778
|
-
private _muteAudio;
|
|
1546
|
+
static serializeBinaryToWriter(_instance: S2tPipelineId, _writer: BinaryWriter): void;
|
|
1547
|
+
private _id;
|
|
779
1548
|
/**
|
|
780
1549
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
781
|
-
* @param _value initial values object or instance of
|
|
1550
|
+
* @param _value initial values object or instance of S2tPipelineId to deeply clone from
|
|
782
1551
|
*/
|
|
783
|
-
constructor(_value?: RecursivePartial<
|
|
784
|
-
get
|
|
785
|
-
set
|
|
786
|
-
get endOfStream(): boolean;
|
|
787
|
-
set endOfStream(value: boolean);
|
|
788
|
-
get config(): TranscribeRequestConfig | undefined;
|
|
789
|
-
set config(value: TranscribeRequestConfig | undefined);
|
|
790
|
-
get muteAudio(): boolean;
|
|
791
|
-
set muteAudio(value: boolean);
|
|
1552
|
+
constructor(_value?: RecursivePartial<S2tPipelineId.AsObject>);
|
|
1553
|
+
get id(): string;
|
|
1554
|
+
set id(value: string);
|
|
792
1555
|
/**
|
|
793
1556
|
* Serialize message to binary data
|
|
794
1557
|
* @param instance message instance
|
|
@@ -797,96 +1560,76 @@ export declare class TranscribeStreamRequest implements GrpcMessage {
|
|
|
797
1560
|
/**
|
|
798
1561
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
799
1562
|
*/
|
|
800
|
-
toObject():
|
|
1563
|
+
toObject(): S2tPipelineId.AsObject;
|
|
801
1564
|
/**
|
|
802
1565
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
803
1566
|
*/
|
|
804
|
-
toJSON():
|
|
1567
|
+
toJSON(): S2tPipelineId.AsObject;
|
|
805
1568
|
/**
|
|
806
1569
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
807
1570
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
808
1571
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
809
1572
|
*/
|
|
810
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1573
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tPipelineId.AsProtobufJSON;
|
|
811
1574
|
}
|
|
812
|
-
export declare
|
|
1575
|
+
export declare namespace S2tPipelineId {
|
|
813
1576
|
/**
|
|
814
|
-
* Standard JavaScript object representation for
|
|
1577
|
+
* Standard JavaScript object representation for S2tPipelineId
|
|
815
1578
|
*/
|
|
816
1579
|
interface AsObject {
|
|
817
|
-
|
|
818
|
-
endOfStream: boolean;
|
|
819
|
-
config?: TranscribeRequestConfig.AsObject;
|
|
820
|
-
muteAudio: boolean;
|
|
1580
|
+
id: string;
|
|
821
1581
|
}
|
|
822
1582
|
/**
|
|
823
|
-
* Protobuf JSON representation for
|
|
1583
|
+
* Protobuf JSON representation for S2tPipelineId
|
|
824
1584
|
*/
|
|
825
1585
|
interface AsProtobufJSON {
|
|
826
|
-
|
|
827
|
-
endOfStream: boolean;
|
|
828
|
-
config: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
829
|
-
muteAudio: boolean;
|
|
1586
|
+
id: string;
|
|
830
1587
|
}
|
|
831
1588
|
}
|
|
832
1589
|
/**
|
|
833
|
-
* Message implementation for ondewo.s2t.
|
|
1590
|
+
* Message implementation for ondewo.s2t.ListS2tPipelinesRequest
|
|
834
1591
|
*/
|
|
835
|
-
export declare class
|
|
1592
|
+
export declare class ListS2tPipelinesRequest implements GrpcMessage {
|
|
836
1593
|
static id: string;
|
|
837
1594
|
/**
|
|
838
1595
|
* Deserialize binary data to message
|
|
839
1596
|
* @param instance message instance
|
|
840
1597
|
*/
|
|
841
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1598
|
+
static deserializeBinary(bytes: ByteSource): ListS2tPipelinesRequest;
|
|
842
1599
|
/**
|
|
843
1600
|
* Check all the properties and set default protobuf values if necessary
|
|
844
1601
|
* @param _instance message instance
|
|
845
1602
|
*/
|
|
846
|
-
static refineValues(_instance:
|
|
1603
|
+
static refineValues(_instance: ListS2tPipelinesRequest): void;
|
|
847
1604
|
/**
|
|
848
1605
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
849
1606
|
* @param _instance message instance
|
|
850
1607
|
* @param _reader binary reader instance
|
|
851
1608
|
*/
|
|
852
|
-
static deserializeBinaryFromReader(_instance:
|
|
1609
|
+
static deserializeBinaryFromReader(_instance: ListS2tPipelinesRequest, _reader: BinaryReader): void;
|
|
853
1610
|
/**
|
|
854
1611
|
* Serializes a message to binary format using provided binary reader
|
|
855
1612
|
* @param _instance message instance
|
|
856
1613
|
* @param _writer binary writer instance
|
|
857
1614
|
*/
|
|
858
|
-
static serializeBinaryToWriter(_instance:
|
|
859
|
-
private
|
|
860
|
-
private
|
|
861
|
-
private
|
|
862
|
-
private
|
|
863
|
-
private _audio;
|
|
864
|
-
private _utteranceStart;
|
|
865
|
-
private _audioUuid;
|
|
866
|
-
private _config?;
|
|
867
|
-
private _oneofConfig;
|
|
1615
|
+
static serializeBinaryToWriter(_instance: ListS2tPipelinesRequest, _writer: BinaryWriter): void;
|
|
1616
|
+
private _languages;
|
|
1617
|
+
private _pipelineOwners;
|
|
1618
|
+
private _domains;
|
|
1619
|
+
private _registeredOnly;
|
|
868
1620
|
/**
|
|
869
1621
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
870
|
-
* @param _value initial values object or instance of
|
|
1622
|
+
* @param _value initial values object or instance of ListS2tPipelinesRequest to deeply clone from
|
|
871
1623
|
*/
|
|
872
|
-
constructor(_value?: RecursivePartial<
|
|
873
|
-
get
|
|
874
|
-
set
|
|
875
|
-
get
|
|
876
|
-
set
|
|
877
|
-
get
|
|
878
|
-
set
|
|
879
|
-
get
|
|
880
|
-
set
|
|
881
|
-
get audio(): Uint8Array;
|
|
882
|
-
set audio(value: Uint8Array);
|
|
883
|
-
get utteranceStart(): boolean;
|
|
884
|
-
set utteranceStart(value: boolean);
|
|
885
|
-
get audioUuid(): string;
|
|
886
|
-
set audioUuid(value: string);
|
|
887
|
-
get config(): TranscribeRequestConfig | undefined;
|
|
888
|
-
set config(value: TranscribeRequestConfig | undefined);
|
|
889
|
-
get oneofConfig(): TranscribeStreamResponse.OneofConfigCase;
|
|
1624
|
+
constructor(_value?: RecursivePartial<ListS2tPipelinesRequest.AsObject>);
|
|
1625
|
+
get languages(): string[];
|
|
1626
|
+
set languages(value: string[]);
|
|
1627
|
+
get pipelineOwners(): string[];
|
|
1628
|
+
set pipelineOwners(value: string[]);
|
|
1629
|
+
get domains(): string[];
|
|
1630
|
+
set domains(value: string[]);
|
|
1631
|
+
get registeredOnly(): boolean;
|
|
1632
|
+
set registeredOnly(value: boolean);
|
|
890
1633
|
/**
|
|
891
1634
|
* Serialize message to binary data
|
|
892
1635
|
* @param instance message instance
|
|
@@ -895,88 +1638,73 @@ export declare class TranscribeStreamResponse implements GrpcMessage {
|
|
|
895
1638
|
/**
|
|
896
1639
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
897
1640
|
*/
|
|
898
|
-
toObject():
|
|
1641
|
+
toObject(): ListS2tPipelinesRequest.AsObject;
|
|
899
1642
|
/**
|
|
900
1643
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
901
1644
|
*/
|
|
902
|
-
toJSON():
|
|
1645
|
+
toJSON(): ListS2tPipelinesRequest.AsObject;
|
|
903
1646
|
/**
|
|
904
1647
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
905
1648
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
906
1649
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
907
1650
|
*/
|
|
908
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1651
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tPipelinesRequest.AsProtobufJSON;
|
|
909
1652
|
}
|
|
910
|
-
export declare
|
|
1653
|
+
export declare namespace ListS2tPipelinesRequest {
|
|
911
1654
|
/**
|
|
912
|
-
* Standard JavaScript object representation for
|
|
1655
|
+
* Standard JavaScript object representation for ListS2tPipelinesRequest
|
|
913
1656
|
*/
|
|
914
1657
|
interface AsObject {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
audio: Uint8Array;
|
|
920
|
-
utteranceStart: boolean;
|
|
921
|
-
audioUuid: string;
|
|
922
|
-
config?: TranscribeRequestConfig.AsObject;
|
|
1658
|
+
languages: string[];
|
|
1659
|
+
pipelineOwners: string[];
|
|
1660
|
+
domains: string[];
|
|
1661
|
+
registeredOnly: boolean;
|
|
923
1662
|
}
|
|
924
1663
|
/**
|
|
925
|
-
* Protobuf JSON representation for
|
|
1664
|
+
* Protobuf JSON representation for ListS2tPipelinesRequest
|
|
926
1665
|
*/
|
|
927
1666
|
interface AsProtobufJSON {
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
audio: string;
|
|
933
|
-
utteranceStart: boolean;
|
|
934
|
-
audioUuid: string;
|
|
935
|
-
config: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
936
|
-
}
|
|
937
|
-
enum OneofConfigCase {
|
|
938
|
-
none = 0,
|
|
939
|
-
config = 1
|
|
1667
|
+
languages: string[];
|
|
1668
|
+
pipelineOwners: string[];
|
|
1669
|
+
domains: string[];
|
|
1670
|
+
registeredOnly: boolean;
|
|
940
1671
|
}
|
|
941
1672
|
}
|
|
942
1673
|
/**
|
|
943
|
-
* Message implementation for ondewo.s2t.
|
|
1674
|
+
* Message implementation for ondewo.s2t.ListS2tPipelinesResponse
|
|
944
1675
|
*/
|
|
945
|
-
export declare class
|
|
1676
|
+
export declare class ListS2tPipelinesResponse implements GrpcMessage {
|
|
946
1677
|
static id: string;
|
|
947
1678
|
/**
|
|
948
1679
|
* Deserialize binary data to message
|
|
949
1680
|
* @param instance message instance
|
|
950
1681
|
*/
|
|
951
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1682
|
+
static deserializeBinary(bytes: ByteSource): ListS2tPipelinesResponse;
|
|
952
1683
|
/**
|
|
953
1684
|
* Check all the properties and set default protobuf values if necessary
|
|
954
1685
|
* @param _instance message instance
|
|
955
1686
|
*/
|
|
956
|
-
static refineValues(_instance:
|
|
1687
|
+
static refineValues(_instance: ListS2tPipelinesResponse): void;
|
|
957
1688
|
/**
|
|
958
1689
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
959
1690
|
* @param _instance message instance
|
|
960
1691
|
* @param _reader binary reader instance
|
|
961
1692
|
*/
|
|
962
|
-
static deserializeBinaryFromReader(_instance:
|
|
1693
|
+
static deserializeBinaryFromReader(_instance: ListS2tPipelinesResponse, _reader: BinaryReader): void;
|
|
963
1694
|
/**
|
|
964
1695
|
* Serializes a message to binary format using provided binary reader
|
|
965
1696
|
* @param _instance message instance
|
|
966
1697
|
* @param _writer binary writer instance
|
|
967
1698
|
*/
|
|
968
|
-
static serializeBinaryToWriter(_instance:
|
|
969
|
-
private
|
|
970
|
-
private _config?;
|
|
1699
|
+
static serializeBinaryToWriter(_instance: ListS2tPipelinesResponse, _writer: BinaryWriter): void;
|
|
1700
|
+
private _pipelineConfigs?;
|
|
971
1701
|
/**
|
|
972
1702
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
973
|
-
* @param _value initial values object or instance of
|
|
1703
|
+
* @param _value initial values object or instance of ListS2tPipelinesResponse to deeply clone from
|
|
974
1704
|
*/
|
|
975
|
-
constructor(_value?: RecursivePartial<
|
|
976
|
-
get
|
|
977
|
-
set
|
|
978
|
-
get config(): TranscribeRequestConfig | undefined;
|
|
979
|
-
set config(value: TranscribeRequestConfig | undefined);
|
|
1705
|
+
constructor(_value?: RecursivePartial<ListS2tPipelinesResponse.AsObject>);
|
|
1706
|
+
get pipelineConfigs(): Speech2TextConfig[] | undefined;
|
|
1707
|
+
set pipelineConfigs(value: Speech2TextConfig[] | undefined);
|
|
980
1708
|
/**
|
|
981
1709
|
* Serialize message to binary data
|
|
982
1710
|
* @param instance message instance
|
|
@@ -985,75 +1713,70 @@ export declare class TranscribeFileRequest implements GrpcMessage {
|
|
|
985
1713
|
/**
|
|
986
1714
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
987
1715
|
*/
|
|
988
|
-
toObject():
|
|
1716
|
+
toObject(): ListS2tPipelinesResponse.AsObject;
|
|
989
1717
|
/**
|
|
990
1718
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
991
1719
|
*/
|
|
992
|
-
toJSON():
|
|
1720
|
+
toJSON(): ListS2tPipelinesResponse.AsObject;
|
|
993
1721
|
/**
|
|
994
1722
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
995
1723
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
996
1724
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
997
1725
|
*/
|
|
998
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1726
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tPipelinesResponse.AsProtobufJSON;
|
|
999
1727
|
}
|
|
1000
|
-
export declare
|
|
1728
|
+
export declare namespace ListS2tPipelinesResponse {
|
|
1001
1729
|
/**
|
|
1002
|
-
* Standard JavaScript object representation for
|
|
1730
|
+
* Standard JavaScript object representation for ListS2tPipelinesResponse
|
|
1003
1731
|
*/
|
|
1004
1732
|
interface AsObject {
|
|
1005
|
-
|
|
1006
|
-
config?: TranscribeRequestConfig.AsObject;
|
|
1733
|
+
pipelineConfigs?: Speech2TextConfig.AsObject[];
|
|
1007
1734
|
}
|
|
1008
1735
|
/**
|
|
1009
|
-
* Protobuf JSON representation for
|
|
1736
|
+
* Protobuf JSON representation for ListS2tPipelinesResponse
|
|
1010
1737
|
*/
|
|
1011
1738
|
interface AsProtobufJSON {
|
|
1012
|
-
|
|
1013
|
-
config: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
1739
|
+
pipelineConfigs: Speech2TextConfig.AsProtobufJSON[] | null;
|
|
1014
1740
|
}
|
|
1015
1741
|
}
|
|
1016
1742
|
/**
|
|
1017
|
-
* Message implementation for ondewo.s2t.
|
|
1743
|
+
* Message implementation for ondewo.s2t.ListS2tLanguagesRequest
|
|
1018
1744
|
*/
|
|
1019
|
-
export declare class
|
|
1745
|
+
export declare class ListS2tLanguagesRequest implements GrpcMessage {
|
|
1020
1746
|
static id: string;
|
|
1021
1747
|
/**
|
|
1022
1748
|
* Deserialize binary data to message
|
|
1023
1749
|
* @param instance message instance
|
|
1024
1750
|
*/
|
|
1025
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1751
|
+
static deserializeBinary(bytes: ByteSource): ListS2tLanguagesRequest;
|
|
1026
1752
|
/**
|
|
1027
1753
|
* Check all the properties and set default protobuf values if necessary
|
|
1028
1754
|
* @param _instance message instance
|
|
1029
1755
|
*/
|
|
1030
|
-
static refineValues(_instance:
|
|
1756
|
+
static refineValues(_instance: ListS2tLanguagesRequest): void;
|
|
1031
1757
|
/**
|
|
1032
1758
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1033
1759
|
* @param _instance message instance
|
|
1034
1760
|
* @param _reader binary reader instance
|
|
1035
1761
|
*/
|
|
1036
|
-
static deserializeBinaryFromReader(_instance:
|
|
1762
|
+
static deserializeBinaryFromReader(_instance: ListS2tLanguagesRequest, _reader: BinaryReader): void;
|
|
1037
1763
|
/**
|
|
1038
1764
|
* Serializes a message to binary format using provided binary reader
|
|
1039
1765
|
* @param _instance message instance
|
|
1040
1766
|
* @param _writer binary writer instance
|
|
1041
1767
|
*/
|
|
1042
|
-
static serializeBinaryToWriter(_instance:
|
|
1043
|
-
private
|
|
1044
|
-
private
|
|
1045
|
-
private _audioUuid;
|
|
1768
|
+
static serializeBinaryToWriter(_instance: ListS2tLanguagesRequest, _writer: BinaryWriter): void;
|
|
1769
|
+
private _domains;
|
|
1770
|
+
private _pipelineOwners;
|
|
1046
1771
|
/**
|
|
1047
1772
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1048
|
-
* @param _value initial values object or instance of
|
|
1773
|
+
* @param _value initial values object or instance of ListS2tLanguagesRequest to deeply clone from
|
|
1049
1774
|
*/
|
|
1050
|
-
constructor(_value?: RecursivePartial<
|
|
1051
|
-
get
|
|
1052
|
-
set
|
|
1053
|
-
get
|
|
1054
|
-
set
|
|
1055
|
-
get audioUuid(): string;
|
|
1056
|
-
set audioUuid(value: string);
|
|
1775
|
+
constructor(_value?: RecursivePartial<ListS2tLanguagesRequest.AsObject>);
|
|
1776
|
+
get domains(): string[];
|
|
1777
|
+
set domains(value: string[]);
|
|
1778
|
+
get pipelineOwners(): string[];
|
|
1779
|
+
set pipelineOwners(value: string[]);
|
|
1057
1780
|
/**
|
|
1058
1781
|
* Serialize message to binary data
|
|
1059
1782
|
* @param instance message instance
|
|
@@ -1062,71 +1785,69 @@ export declare class TranscribeFileResponse implements GrpcMessage {
|
|
|
1062
1785
|
/**
|
|
1063
1786
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1064
1787
|
*/
|
|
1065
|
-
toObject():
|
|
1788
|
+
toObject(): ListS2tLanguagesRequest.AsObject;
|
|
1066
1789
|
/**
|
|
1067
1790
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1068
1791
|
*/
|
|
1069
|
-
toJSON():
|
|
1792
|
+
toJSON(): ListS2tLanguagesRequest.AsObject;
|
|
1070
1793
|
/**
|
|
1071
1794
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1072
1795
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1073
1796
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1074
1797
|
*/
|
|
1075
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1798
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguagesRequest.AsProtobufJSON;
|
|
1076
1799
|
}
|
|
1077
|
-
export declare
|
|
1800
|
+
export declare namespace ListS2tLanguagesRequest {
|
|
1078
1801
|
/**
|
|
1079
|
-
* Standard JavaScript object representation for
|
|
1802
|
+
* Standard JavaScript object representation for ListS2tLanguagesRequest
|
|
1080
1803
|
*/
|
|
1081
1804
|
interface AsObject {
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
audioUuid: string;
|
|
1805
|
+
domains: string[];
|
|
1806
|
+
pipelineOwners: string[];
|
|
1085
1807
|
}
|
|
1086
1808
|
/**
|
|
1087
|
-
* Protobuf JSON representation for
|
|
1809
|
+
* Protobuf JSON representation for ListS2tLanguagesRequest
|
|
1088
1810
|
*/
|
|
1089
1811
|
interface AsProtobufJSON {
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
audioUuid: string;
|
|
1812
|
+
domains: string[];
|
|
1813
|
+
pipelineOwners: string[];
|
|
1093
1814
|
}
|
|
1094
1815
|
}
|
|
1095
1816
|
/**
|
|
1096
|
-
* Message implementation for ondewo.s2t.
|
|
1817
|
+
* Message implementation for ondewo.s2t.ListS2tLanguagesResponse
|
|
1097
1818
|
*/
|
|
1098
|
-
export declare class
|
|
1819
|
+
export declare class ListS2tLanguagesResponse implements GrpcMessage {
|
|
1099
1820
|
static id: string;
|
|
1100
1821
|
/**
|
|
1101
1822
|
* Deserialize binary data to message
|
|
1102
1823
|
* @param instance message instance
|
|
1103
1824
|
*/
|
|
1104
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1825
|
+
static deserializeBinary(bytes: ByteSource): ListS2tLanguagesResponse;
|
|
1105
1826
|
/**
|
|
1106
1827
|
* Check all the properties and set default protobuf values if necessary
|
|
1107
1828
|
* @param _instance message instance
|
|
1108
1829
|
*/
|
|
1109
|
-
static refineValues(_instance:
|
|
1830
|
+
static refineValues(_instance: ListS2tLanguagesResponse): void;
|
|
1110
1831
|
/**
|
|
1111
1832
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1112
1833
|
* @param _instance message instance
|
|
1113
1834
|
* @param _reader binary reader instance
|
|
1114
1835
|
*/
|
|
1115
|
-
static deserializeBinaryFromReader(_instance:
|
|
1836
|
+
static deserializeBinaryFromReader(_instance: ListS2tLanguagesResponse, _reader: BinaryReader): void;
|
|
1116
1837
|
/**
|
|
1117
1838
|
* Serializes a message to binary format using provided binary reader
|
|
1118
1839
|
* @param _instance message instance
|
|
1119
1840
|
* @param _writer binary writer instance
|
|
1120
1841
|
*/
|
|
1121
|
-
static serializeBinaryToWriter(_instance:
|
|
1122
|
-
private
|
|
1842
|
+
static serializeBinaryToWriter(_instance: ListS2tLanguagesResponse, _writer: BinaryWriter): void;
|
|
1843
|
+
private _languages;
|
|
1123
1844
|
/**
|
|
1124
1845
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1125
|
-
* @param _value initial values object or instance of
|
|
1846
|
+
* @param _value initial values object or instance of ListS2tLanguagesResponse to deeply clone from
|
|
1126
1847
|
*/
|
|
1127
|
-
constructor(_value?: RecursivePartial<
|
|
1128
|
-
get
|
|
1129
|
-
set
|
|
1848
|
+
constructor(_value?: RecursivePartial<ListS2tLanguagesResponse.AsObject>);
|
|
1849
|
+
get languages(): string[];
|
|
1850
|
+
set languages(value: string[]);
|
|
1130
1851
|
/**
|
|
1131
1852
|
* Serialize message to binary data
|
|
1132
1853
|
* @param instance message instance
|
|
@@ -1135,76 +1856,70 @@ export declare class S2tPipelineId implements GrpcMessage {
|
|
|
1135
1856
|
/**
|
|
1136
1857
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1137
1858
|
*/
|
|
1138
|
-
toObject():
|
|
1859
|
+
toObject(): ListS2tLanguagesResponse.AsObject;
|
|
1139
1860
|
/**
|
|
1140
1861
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1141
1862
|
*/
|
|
1142
|
-
toJSON():
|
|
1863
|
+
toJSON(): ListS2tLanguagesResponse.AsObject;
|
|
1143
1864
|
/**
|
|
1144
1865
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1145
1866
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1146
1867
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1147
1868
|
*/
|
|
1148
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1869
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguagesResponse.AsProtobufJSON;
|
|
1149
1870
|
}
|
|
1150
|
-
export declare
|
|
1871
|
+
export declare namespace ListS2tLanguagesResponse {
|
|
1151
1872
|
/**
|
|
1152
|
-
* Standard JavaScript object representation for
|
|
1873
|
+
* Standard JavaScript object representation for ListS2tLanguagesResponse
|
|
1153
1874
|
*/
|
|
1154
1875
|
interface AsObject {
|
|
1155
|
-
|
|
1876
|
+
languages: string[];
|
|
1156
1877
|
}
|
|
1157
1878
|
/**
|
|
1158
|
-
* Protobuf JSON representation for
|
|
1879
|
+
* Protobuf JSON representation for ListS2tLanguagesResponse
|
|
1159
1880
|
*/
|
|
1160
1881
|
interface AsProtobufJSON {
|
|
1161
|
-
|
|
1882
|
+
languages: string[];
|
|
1162
1883
|
}
|
|
1163
1884
|
}
|
|
1164
1885
|
/**
|
|
1165
|
-
* Message implementation for ondewo.s2t.
|
|
1886
|
+
* Message implementation for ondewo.s2t.ListS2tDomainsRequest
|
|
1166
1887
|
*/
|
|
1167
|
-
export declare class
|
|
1888
|
+
export declare class ListS2tDomainsRequest implements GrpcMessage {
|
|
1168
1889
|
static id: string;
|
|
1169
1890
|
/**
|
|
1170
1891
|
* Deserialize binary data to message
|
|
1171
1892
|
* @param instance message instance
|
|
1172
1893
|
*/
|
|
1173
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1894
|
+
static deserializeBinary(bytes: ByteSource): ListS2tDomainsRequest;
|
|
1174
1895
|
/**
|
|
1175
1896
|
* Check all the properties and set default protobuf values if necessary
|
|
1176
1897
|
* @param _instance message instance
|
|
1177
1898
|
*/
|
|
1178
|
-
static refineValues(_instance:
|
|
1899
|
+
static refineValues(_instance: ListS2tDomainsRequest): void;
|
|
1179
1900
|
/**
|
|
1180
1901
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1181
1902
|
* @param _instance message instance
|
|
1182
1903
|
* @param _reader binary reader instance
|
|
1183
1904
|
*/
|
|
1184
|
-
static deserializeBinaryFromReader(_instance:
|
|
1905
|
+
static deserializeBinaryFromReader(_instance: ListS2tDomainsRequest, _reader: BinaryReader): void;
|
|
1185
1906
|
/**
|
|
1186
1907
|
* Serializes a message to binary format using provided binary reader
|
|
1187
1908
|
* @param _instance message instance
|
|
1188
1909
|
* @param _writer binary writer instance
|
|
1189
1910
|
*/
|
|
1190
|
-
static serializeBinaryToWriter(_instance:
|
|
1911
|
+
static serializeBinaryToWriter(_instance: ListS2tDomainsRequest, _writer: BinaryWriter): void;
|
|
1191
1912
|
private _languages;
|
|
1192
1913
|
private _pipelineOwners;
|
|
1193
|
-
private _domains;
|
|
1194
|
-
private _registeredOnly;
|
|
1195
1914
|
/**
|
|
1196
1915
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1197
|
-
* @param _value initial values object or instance of
|
|
1916
|
+
* @param _value initial values object or instance of ListS2tDomainsRequest to deeply clone from
|
|
1198
1917
|
*/
|
|
1199
|
-
constructor(_value?: RecursivePartial<
|
|
1918
|
+
constructor(_value?: RecursivePartial<ListS2tDomainsRequest.AsObject>);
|
|
1200
1919
|
get languages(): string[];
|
|
1201
1920
|
set languages(value: string[]);
|
|
1202
1921
|
get pipelineOwners(): string[];
|
|
1203
1922
|
set pipelineOwners(value: string[]);
|
|
1204
|
-
get domains(): string[];
|
|
1205
|
-
set domains(value: string[]);
|
|
1206
|
-
get registeredOnly(): boolean;
|
|
1207
|
-
set registeredOnly(value: boolean);
|
|
1208
1923
|
/**
|
|
1209
1924
|
* Serialize message to binary data
|
|
1210
1925
|
* @param instance message instance
|
|
@@ -1213,73 +1928,69 @@ export declare class ListS2tPipelinesRequest implements GrpcMessage {
|
|
|
1213
1928
|
/**
|
|
1214
1929
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1215
1930
|
*/
|
|
1216
|
-
toObject():
|
|
1931
|
+
toObject(): ListS2tDomainsRequest.AsObject;
|
|
1217
1932
|
/**
|
|
1218
1933
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1219
1934
|
*/
|
|
1220
|
-
toJSON():
|
|
1935
|
+
toJSON(): ListS2tDomainsRequest.AsObject;
|
|
1221
1936
|
/**
|
|
1222
1937
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1223
1938
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1224
1939
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1225
1940
|
*/
|
|
1226
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
1941
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tDomainsRequest.AsProtobufJSON;
|
|
1227
1942
|
}
|
|
1228
|
-
export declare
|
|
1943
|
+
export declare namespace ListS2tDomainsRequest {
|
|
1229
1944
|
/**
|
|
1230
|
-
* Standard JavaScript object representation for
|
|
1945
|
+
* Standard JavaScript object representation for ListS2tDomainsRequest
|
|
1231
1946
|
*/
|
|
1232
1947
|
interface AsObject {
|
|
1233
1948
|
languages: string[];
|
|
1234
1949
|
pipelineOwners: string[];
|
|
1235
|
-
domains: string[];
|
|
1236
|
-
registeredOnly: boolean;
|
|
1237
1950
|
}
|
|
1238
1951
|
/**
|
|
1239
|
-
* Protobuf JSON representation for
|
|
1952
|
+
* Protobuf JSON representation for ListS2tDomainsRequest
|
|
1240
1953
|
*/
|
|
1241
1954
|
interface AsProtobufJSON {
|
|
1242
1955
|
languages: string[];
|
|
1243
1956
|
pipelineOwners: string[];
|
|
1244
|
-
domains: string[];
|
|
1245
|
-
registeredOnly: boolean;
|
|
1246
1957
|
}
|
|
1247
1958
|
}
|
|
1248
1959
|
/**
|
|
1249
|
-
* Message implementation for ondewo.s2t.
|
|
1960
|
+
* Message implementation for ondewo.s2t.ListS2tDomainsResponse
|
|
1250
1961
|
*/
|
|
1251
|
-
export declare class
|
|
1962
|
+
export declare class ListS2tDomainsResponse implements GrpcMessage {
|
|
1252
1963
|
static id: string;
|
|
1253
1964
|
/**
|
|
1254
1965
|
* Deserialize binary data to message
|
|
1255
1966
|
* @param instance message instance
|
|
1256
1967
|
*/
|
|
1257
|
-
static deserializeBinary(bytes: ByteSource):
|
|
1968
|
+
static deserializeBinary(bytes: ByteSource): ListS2tDomainsResponse;
|
|
1258
1969
|
/**
|
|
1259
1970
|
* Check all the properties and set default protobuf values if necessary
|
|
1260
1971
|
* @param _instance message instance
|
|
1261
1972
|
*/
|
|
1262
|
-
static refineValues(_instance:
|
|
1973
|
+
static refineValues(_instance: ListS2tDomainsResponse): void;
|
|
1263
1974
|
/**
|
|
1264
1975
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1265
1976
|
* @param _instance message instance
|
|
1266
1977
|
* @param _reader binary reader instance
|
|
1267
1978
|
*/
|
|
1268
|
-
static deserializeBinaryFromReader(_instance:
|
|
1979
|
+
static deserializeBinaryFromReader(_instance: ListS2tDomainsResponse, _reader: BinaryReader): void;
|
|
1269
1980
|
/**
|
|
1270
1981
|
* Serializes a message to binary format using provided binary reader
|
|
1271
1982
|
* @param _instance message instance
|
|
1272
1983
|
* @param _writer binary writer instance
|
|
1273
1984
|
*/
|
|
1274
|
-
static serializeBinaryToWriter(_instance:
|
|
1275
|
-
private
|
|
1985
|
+
static serializeBinaryToWriter(_instance: ListS2tDomainsResponse, _writer: BinaryWriter): void;
|
|
1986
|
+
private _domains;
|
|
1276
1987
|
/**
|
|
1277
1988
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1278
|
-
* @param _value initial values object or instance of
|
|
1989
|
+
* @param _value initial values object or instance of ListS2tDomainsResponse to deeply clone from
|
|
1279
1990
|
*/
|
|
1280
|
-
constructor(_value?: RecursivePartial<
|
|
1281
|
-
get
|
|
1282
|
-
set
|
|
1991
|
+
constructor(_value?: RecursivePartial<ListS2tDomainsResponse.AsObject>);
|
|
1992
|
+
get domains(): string[];
|
|
1993
|
+
set domains(value: string[]);
|
|
1283
1994
|
/**
|
|
1284
1995
|
* Serialize message to binary data
|
|
1285
1996
|
* @param instance message instance
|
|
@@ -1288,70 +1999,67 @@ export declare class ListS2tPipelinesResponse implements GrpcMessage {
|
|
|
1288
1999
|
/**
|
|
1289
2000
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1290
2001
|
*/
|
|
1291
|
-
toObject():
|
|
2002
|
+
toObject(): ListS2tDomainsResponse.AsObject;
|
|
1292
2003
|
/**
|
|
1293
2004
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1294
2005
|
*/
|
|
1295
|
-
toJSON():
|
|
2006
|
+
toJSON(): ListS2tDomainsResponse.AsObject;
|
|
1296
2007
|
/**
|
|
1297
2008
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1298
2009
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1299
2010
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1300
2011
|
*/
|
|
1301
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2012
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tDomainsResponse.AsProtobufJSON;
|
|
1302
2013
|
}
|
|
1303
|
-
export declare
|
|
2014
|
+
export declare namespace ListS2tDomainsResponse {
|
|
1304
2015
|
/**
|
|
1305
|
-
* Standard JavaScript object representation for
|
|
2016
|
+
* Standard JavaScript object representation for ListS2tDomainsResponse
|
|
1306
2017
|
*/
|
|
1307
2018
|
interface AsObject {
|
|
1308
|
-
|
|
2019
|
+
domains: string[];
|
|
1309
2020
|
}
|
|
1310
2021
|
/**
|
|
1311
|
-
* Protobuf JSON representation for
|
|
2022
|
+
* Protobuf JSON representation for ListS2tDomainsResponse
|
|
1312
2023
|
*/
|
|
1313
2024
|
interface AsProtobufJSON {
|
|
1314
|
-
|
|
2025
|
+
domains: string[];
|
|
1315
2026
|
}
|
|
1316
2027
|
}
|
|
1317
2028
|
/**
|
|
1318
|
-
* Message implementation for ondewo.s2t.
|
|
2029
|
+
* Message implementation for ondewo.s2t.S2TGetServiceInfoResponse
|
|
1319
2030
|
*/
|
|
1320
|
-
export declare class
|
|
2031
|
+
export declare class S2TGetServiceInfoResponse implements GrpcMessage {
|
|
1321
2032
|
static id: string;
|
|
1322
2033
|
/**
|
|
1323
2034
|
* Deserialize binary data to message
|
|
1324
2035
|
* @param instance message instance
|
|
1325
2036
|
*/
|
|
1326
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2037
|
+
static deserializeBinary(bytes: ByteSource): S2TGetServiceInfoResponse;
|
|
1327
2038
|
/**
|
|
1328
2039
|
* Check all the properties and set default protobuf values if necessary
|
|
1329
2040
|
* @param _instance message instance
|
|
1330
2041
|
*/
|
|
1331
|
-
static refineValues(_instance:
|
|
2042
|
+
static refineValues(_instance: S2TGetServiceInfoResponse): void;
|
|
1332
2043
|
/**
|
|
1333
2044
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1334
2045
|
* @param _instance message instance
|
|
1335
2046
|
* @param _reader binary reader instance
|
|
1336
2047
|
*/
|
|
1337
|
-
static deserializeBinaryFromReader(_instance:
|
|
2048
|
+
static deserializeBinaryFromReader(_instance: S2TGetServiceInfoResponse, _reader: BinaryReader): void;
|
|
1338
2049
|
/**
|
|
1339
2050
|
* Serializes a message to binary format using provided binary reader
|
|
1340
2051
|
* @param _instance message instance
|
|
1341
2052
|
* @param _writer binary writer instance
|
|
1342
2053
|
*/
|
|
1343
|
-
static serializeBinaryToWriter(_instance:
|
|
1344
|
-
private
|
|
1345
|
-
private _pipelineOwners;
|
|
2054
|
+
static serializeBinaryToWriter(_instance: S2TGetServiceInfoResponse, _writer: BinaryWriter): void;
|
|
2055
|
+
private _version;
|
|
1346
2056
|
/**
|
|
1347
2057
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1348
|
-
* @param _value initial values object or instance of
|
|
2058
|
+
* @param _value initial values object or instance of S2TGetServiceInfoResponse to deeply clone from
|
|
1349
2059
|
*/
|
|
1350
|
-
constructor(_value?: RecursivePartial<
|
|
1351
|
-
get
|
|
1352
|
-
set
|
|
1353
|
-
get pipelineOwners(): string[];
|
|
1354
|
-
set pipelineOwners(value: string[]);
|
|
2060
|
+
constructor(_value?: RecursivePartial<S2TGetServiceInfoResponse.AsObject>);
|
|
2061
|
+
get version(): string;
|
|
2062
|
+
set version(value: string);
|
|
1355
2063
|
/**
|
|
1356
2064
|
* Serialize message to binary data
|
|
1357
2065
|
* @param instance message instance
|
|
@@ -1360,69 +2068,88 @@ export declare class ListS2tLanguagesRequest implements GrpcMessage {
|
|
|
1360
2068
|
/**
|
|
1361
2069
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1362
2070
|
*/
|
|
1363
|
-
toObject():
|
|
2071
|
+
toObject(): S2TGetServiceInfoResponse.AsObject;
|
|
1364
2072
|
/**
|
|
1365
2073
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1366
2074
|
*/
|
|
1367
|
-
toJSON():
|
|
2075
|
+
toJSON(): S2TGetServiceInfoResponse.AsObject;
|
|
1368
2076
|
/**
|
|
1369
2077
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1370
2078
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1371
2079
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1372
2080
|
*/
|
|
1373
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2081
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TGetServiceInfoResponse.AsProtobufJSON;
|
|
1374
2082
|
}
|
|
1375
|
-
export declare
|
|
2083
|
+
export declare namespace S2TGetServiceInfoResponse {
|
|
1376
2084
|
/**
|
|
1377
|
-
* Standard JavaScript object representation for
|
|
2085
|
+
* Standard JavaScript object representation for S2TGetServiceInfoResponse
|
|
1378
2086
|
*/
|
|
1379
2087
|
interface AsObject {
|
|
1380
|
-
|
|
1381
|
-
pipelineOwners: string[];
|
|
2088
|
+
version: string;
|
|
1382
2089
|
}
|
|
1383
2090
|
/**
|
|
1384
|
-
* Protobuf JSON representation for
|
|
2091
|
+
* Protobuf JSON representation for S2TGetServiceInfoResponse
|
|
1385
2092
|
*/
|
|
1386
2093
|
interface AsProtobufJSON {
|
|
1387
|
-
|
|
1388
|
-
pipelineOwners: string[];
|
|
2094
|
+
version: string;
|
|
1389
2095
|
}
|
|
1390
2096
|
}
|
|
1391
2097
|
/**
|
|
1392
|
-
* Message implementation for ondewo.s2t.
|
|
2098
|
+
* Message implementation for ondewo.s2t.Speech2TextConfig
|
|
1393
2099
|
*/
|
|
1394
|
-
export declare class
|
|
2100
|
+
export declare class Speech2TextConfig implements GrpcMessage {
|
|
1395
2101
|
static id: string;
|
|
1396
2102
|
/**
|
|
1397
2103
|
* Deserialize binary data to message
|
|
1398
2104
|
* @param instance message instance
|
|
1399
2105
|
*/
|
|
1400
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2106
|
+
static deserializeBinary(bytes: ByteSource): Speech2TextConfig;
|
|
1401
2107
|
/**
|
|
1402
2108
|
* Check all the properties and set default protobuf values if necessary
|
|
1403
2109
|
* @param _instance message instance
|
|
1404
2110
|
*/
|
|
1405
|
-
static refineValues(_instance:
|
|
2111
|
+
static refineValues(_instance: Speech2TextConfig): void;
|
|
1406
2112
|
/**
|
|
1407
2113
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1408
2114
|
* @param _instance message instance
|
|
1409
2115
|
* @param _reader binary reader instance
|
|
1410
2116
|
*/
|
|
1411
|
-
static deserializeBinaryFromReader(_instance:
|
|
2117
|
+
static deserializeBinaryFromReader(_instance: Speech2TextConfig, _reader: BinaryReader): void;
|
|
1412
2118
|
/**
|
|
1413
2119
|
* Serializes a message to binary format using provided binary reader
|
|
1414
2120
|
* @param _instance message instance
|
|
1415
2121
|
* @param _writer binary writer instance
|
|
1416
2122
|
*/
|
|
1417
|
-
static serializeBinaryToWriter(_instance:
|
|
1418
|
-
private
|
|
2123
|
+
static serializeBinaryToWriter(_instance: Speech2TextConfig, _writer: BinaryWriter): void;
|
|
2124
|
+
private _id;
|
|
2125
|
+
private _description?;
|
|
2126
|
+
private _active;
|
|
2127
|
+
private _inference?;
|
|
2128
|
+
private _streamingServer?;
|
|
2129
|
+
private _voiceActivityDetection?;
|
|
2130
|
+
private _postProcessing?;
|
|
2131
|
+
private _logging?;
|
|
1419
2132
|
/**
|
|
1420
2133
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1421
|
-
* @param _value initial values object or instance of
|
|
2134
|
+
* @param _value initial values object or instance of Speech2TextConfig to deeply clone from
|
|
1422
2135
|
*/
|
|
1423
|
-
constructor(_value?: RecursivePartial<
|
|
1424
|
-
get
|
|
1425
|
-
set
|
|
2136
|
+
constructor(_value?: RecursivePartial<Speech2TextConfig.AsObject>);
|
|
2137
|
+
get id(): string;
|
|
2138
|
+
set id(value: string);
|
|
2139
|
+
get description(): S2TDescription | undefined;
|
|
2140
|
+
set description(value: S2TDescription | undefined);
|
|
2141
|
+
get active(): boolean;
|
|
2142
|
+
set active(value: boolean);
|
|
2143
|
+
get inference(): S2TInference | undefined;
|
|
2144
|
+
set inference(value: S2TInference | undefined);
|
|
2145
|
+
get streamingServer(): StreamingServer | undefined;
|
|
2146
|
+
set streamingServer(value: StreamingServer | undefined);
|
|
2147
|
+
get voiceActivityDetection(): VoiceActivityDetection | undefined;
|
|
2148
|
+
set voiceActivityDetection(value: VoiceActivityDetection | undefined);
|
|
2149
|
+
get postProcessing(): PostProcessing | undefined;
|
|
2150
|
+
set postProcessing(value: PostProcessing | undefined);
|
|
2151
|
+
get logging(): Logging | undefined;
|
|
2152
|
+
set logging(value: Logging | undefined);
|
|
1426
2153
|
/**
|
|
1427
2154
|
* Serialize message to binary data
|
|
1428
2155
|
* @param instance message instance
|
|
@@ -1431,70 +2158,90 @@ export declare class ListS2tLanguagesResponse implements GrpcMessage {
|
|
|
1431
2158
|
/**
|
|
1432
2159
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1433
2160
|
*/
|
|
1434
|
-
toObject():
|
|
2161
|
+
toObject(): Speech2TextConfig.AsObject;
|
|
1435
2162
|
/**
|
|
1436
2163
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1437
2164
|
*/
|
|
1438
|
-
toJSON():
|
|
2165
|
+
toJSON(): Speech2TextConfig.AsObject;
|
|
1439
2166
|
/**
|
|
1440
2167
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1441
2168
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1442
2169
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1443
2170
|
*/
|
|
1444
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2171
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Speech2TextConfig.AsProtobufJSON;
|
|
1445
2172
|
}
|
|
1446
|
-
export declare
|
|
2173
|
+
export declare namespace Speech2TextConfig {
|
|
1447
2174
|
/**
|
|
1448
|
-
* Standard JavaScript object representation for
|
|
2175
|
+
* Standard JavaScript object representation for Speech2TextConfig
|
|
1449
2176
|
*/
|
|
1450
2177
|
interface AsObject {
|
|
1451
|
-
|
|
2178
|
+
id: string;
|
|
2179
|
+
description?: S2TDescription.AsObject;
|
|
2180
|
+
active: boolean;
|
|
2181
|
+
inference?: S2TInference.AsObject;
|
|
2182
|
+
streamingServer?: StreamingServer.AsObject;
|
|
2183
|
+
voiceActivityDetection?: VoiceActivityDetection.AsObject;
|
|
2184
|
+
postProcessing?: PostProcessing.AsObject;
|
|
2185
|
+
logging?: Logging.AsObject;
|
|
1452
2186
|
}
|
|
1453
2187
|
/**
|
|
1454
|
-
* Protobuf JSON representation for
|
|
2188
|
+
* Protobuf JSON representation for Speech2TextConfig
|
|
1455
2189
|
*/
|
|
1456
2190
|
interface AsProtobufJSON {
|
|
1457
|
-
|
|
2191
|
+
id: string;
|
|
2192
|
+
description: S2TDescription.AsProtobufJSON | null;
|
|
2193
|
+
active: boolean;
|
|
2194
|
+
inference: S2TInference.AsProtobufJSON | null;
|
|
2195
|
+
streamingServer: StreamingServer.AsProtobufJSON | null;
|
|
2196
|
+
voiceActivityDetection: VoiceActivityDetection.AsProtobufJSON | null;
|
|
2197
|
+
postProcessing: PostProcessing.AsProtobufJSON | null;
|
|
2198
|
+
logging: Logging.AsProtobufJSON | null;
|
|
1458
2199
|
}
|
|
1459
2200
|
}
|
|
1460
2201
|
/**
|
|
1461
|
-
* Message implementation for ondewo.s2t.
|
|
2202
|
+
* Message implementation for ondewo.s2t.S2TDescription
|
|
1462
2203
|
*/
|
|
1463
|
-
export declare class
|
|
2204
|
+
export declare class S2TDescription implements GrpcMessage {
|
|
1464
2205
|
static id: string;
|
|
1465
2206
|
/**
|
|
1466
2207
|
* Deserialize binary data to message
|
|
1467
2208
|
* @param instance message instance
|
|
1468
2209
|
*/
|
|
1469
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2210
|
+
static deserializeBinary(bytes: ByteSource): S2TDescription;
|
|
1470
2211
|
/**
|
|
1471
2212
|
* Check all the properties and set default protobuf values if necessary
|
|
1472
2213
|
* @param _instance message instance
|
|
1473
2214
|
*/
|
|
1474
|
-
static refineValues(_instance:
|
|
2215
|
+
static refineValues(_instance: S2TDescription): void;
|
|
1475
2216
|
/**
|
|
1476
2217
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1477
2218
|
* @param _instance message instance
|
|
1478
2219
|
* @param _reader binary reader instance
|
|
1479
2220
|
*/
|
|
1480
|
-
static deserializeBinaryFromReader(_instance:
|
|
2221
|
+
static deserializeBinaryFromReader(_instance: S2TDescription, _reader: BinaryReader): void;
|
|
1481
2222
|
/**
|
|
1482
2223
|
* Serializes a message to binary format using provided binary reader
|
|
1483
2224
|
* @param _instance message instance
|
|
1484
2225
|
* @param _writer binary writer instance
|
|
1485
2226
|
*/
|
|
1486
|
-
static serializeBinaryToWriter(_instance:
|
|
1487
|
-
private
|
|
1488
|
-
private
|
|
2227
|
+
static serializeBinaryToWriter(_instance: S2TDescription, _writer: BinaryWriter): void;
|
|
2228
|
+
private _language;
|
|
2229
|
+
private _pipelineOwner;
|
|
2230
|
+
private _domain;
|
|
2231
|
+
private _comments;
|
|
1489
2232
|
/**
|
|
1490
2233
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1491
|
-
* @param _value initial values object or instance of
|
|
2234
|
+
* @param _value initial values object or instance of S2TDescription to deeply clone from
|
|
1492
2235
|
*/
|
|
1493
|
-
constructor(_value?: RecursivePartial<
|
|
1494
|
-
get
|
|
1495
|
-
set
|
|
1496
|
-
get
|
|
1497
|
-
set
|
|
2236
|
+
constructor(_value?: RecursivePartial<S2TDescription.AsObject>);
|
|
2237
|
+
get language(): string;
|
|
2238
|
+
set language(value: string);
|
|
2239
|
+
get pipelineOwner(): string;
|
|
2240
|
+
set pipelineOwner(value: string);
|
|
2241
|
+
get domain(): string;
|
|
2242
|
+
set domain(value: string);
|
|
2243
|
+
get comments(): string;
|
|
2244
|
+
set comments(value: string);
|
|
1498
2245
|
/**
|
|
1499
2246
|
* Serialize message to binary data
|
|
1500
2247
|
* @param instance message instance
|
|
@@ -1503,69 +2250,79 @@ export declare class ListS2tDomainsRequest implements GrpcMessage {
|
|
|
1503
2250
|
/**
|
|
1504
2251
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1505
2252
|
*/
|
|
1506
|
-
toObject():
|
|
2253
|
+
toObject(): S2TDescription.AsObject;
|
|
1507
2254
|
/**
|
|
1508
2255
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1509
2256
|
*/
|
|
1510
|
-
toJSON():
|
|
2257
|
+
toJSON(): S2TDescription.AsObject;
|
|
1511
2258
|
/**
|
|
1512
2259
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1513
2260
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1514
2261
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1515
2262
|
*/
|
|
1516
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2263
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TDescription.AsProtobufJSON;
|
|
1517
2264
|
}
|
|
1518
|
-
export declare
|
|
2265
|
+
export declare namespace S2TDescription {
|
|
1519
2266
|
/**
|
|
1520
|
-
* Standard JavaScript object representation for
|
|
2267
|
+
* Standard JavaScript object representation for S2TDescription
|
|
1521
2268
|
*/
|
|
1522
2269
|
interface AsObject {
|
|
1523
|
-
|
|
1524
|
-
|
|
2270
|
+
language: string;
|
|
2271
|
+
pipelineOwner: string;
|
|
2272
|
+
domain: string;
|
|
2273
|
+
comments: string;
|
|
1525
2274
|
}
|
|
1526
2275
|
/**
|
|
1527
|
-
* Protobuf JSON representation for
|
|
2276
|
+
* Protobuf JSON representation for S2TDescription
|
|
1528
2277
|
*/
|
|
1529
2278
|
interface AsProtobufJSON {
|
|
1530
|
-
|
|
1531
|
-
|
|
2279
|
+
language: string;
|
|
2280
|
+
pipelineOwner: string;
|
|
2281
|
+
domain: string;
|
|
2282
|
+
comments: string;
|
|
1532
2283
|
}
|
|
1533
2284
|
}
|
|
1534
2285
|
/**
|
|
1535
|
-
* Message implementation for ondewo.s2t.
|
|
2286
|
+
* Message implementation for ondewo.s2t.S2TInference
|
|
1536
2287
|
*/
|
|
1537
|
-
export declare class
|
|
2288
|
+
export declare class S2TInference implements GrpcMessage {
|
|
1538
2289
|
static id: string;
|
|
1539
2290
|
/**
|
|
1540
2291
|
* Deserialize binary data to message
|
|
1541
2292
|
* @param instance message instance
|
|
1542
2293
|
*/
|
|
1543
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2294
|
+
static deserializeBinary(bytes: ByteSource): S2TInference;
|
|
1544
2295
|
/**
|
|
1545
2296
|
* Check all the properties and set default protobuf values if necessary
|
|
1546
2297
|
* @param _instance message instance
|
|
1547
2298
|
*/
|
|
1548
|
-
static refineValues(_instance:
|
|
2299
|
+
static refineValues(_instance: S2TInference): void;
|
|
1549
2300
|
/**
|
|
1550
2301
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1551
2302
|
* @param _instance message instance
|
|
1552
2303
|
* @param _reader binary reader instance
|
|
1553
2304
|
*/
|
|
1554
|
-
static deserializeBinaryFromReader(_instance:
|
|
2305
|
+
static deserializeBinaryFromReader(_instance: S2TInference, _reader: BinaryReader): void;
|
|
1555
2306
|
/**
|
|
1556
2307
|
* Serializes a message to binary format using provided binary reader
|
|
1557
2308
|
* @param _instance message instance
|
|
1558
2309
|
* @param _writer binary writer instance
|
|
1559
2310
|
*/
|
|
1560
|
-
static serializeBinaryToWriter(_instance:
|
|
1561
|
-
private
|
|
2311
|
+
static serializeBinaryToWriter(_instance: S2TInference, _writer: BinaryWriter): void;
|
|
2312
|
+
private _acousticModels?;
|
|
2313
|
+
private _languageModels?;
|
|
2314
|
+
private _inferenceBackend;
|
|
1562
2315
|
/**
|
|
1563
2316
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1564
|
-
* @param _value initial values object or instance of
|
|
2317
|
+
* @param _value initial values object or instance of S2TInference to deeply clone from
|
|
1565
2318
|
*/
|
|
1566
|
-
constructor(_value?: RecursivePartial<
|
|
1567
|
-
get
|
|
1568
|
-
set
|
|
2319
|
+
constructor(_value?: RecursivePartial<S2TInference.AsObject>);
|
|
2320
|
+
get acousticModels(): AcousticModels | undefined;
|
|
2321
|
+
set acousticModels(value: AcousticModels | undefined);
|
|
2322
|
+
get languageModels(): LanguageModels | undefined;
|
|
2323
|
+
set languageModels(value: LanguageModels | undefined);
|
|
2324
|
+
get inferenceBackend(): InferenceBackend;
|
|
2325
|
+
set inferenceBackend(value: InferenceBackend);
|
|
1569
2326
|
/**
|
|
1570
2327
|
* Serialize message to binary data
|
|
1571
2328
|
* @param instance message instance
|
|
@@ -1574,67 +2331,95 @@ export declare class ListS2tDomainsResponse implements GrpcMessage {
|
|
|
1574
2331
|
/**
|
|
1575
2332
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1576
2333
|
*/
|
|
1577
|
-
toObject():
|
|
2334
|
+
toObject(): S2TInference.AsObject;
|
|
1578
2335
|
/**
|
|
1579
2336
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1580
2337
|
*/
|
|
1581
|
-
toJSON():
|
|
2338
|
+
toJSON(): S2TInference.AsObject;
|
|
1582
2339
|
/**
|
|
1583
2340
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1584
2341
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1585
2342
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1586
2343
|
*/
|
|
1587
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2344
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TInference.AsProtobufJSON;
|
|
1588
2345
|
}
|
|
1589
|
-
export declare
|
|
2346
|
+
export declare namespace S2TInference {
|
|
1590
2347
|
/**
|
|
1591
|
-
* Standard JavaScript object representation for
|
|
2348
|
+
* Standard JavaScript object representation for S2TInference
|
|
1592
2349
|
*/
|
|
1593
2350
|
interface AsObject {
|
|
1594
|
-
|
|
2351
|
+
acousticModels?: AcousticModels.AsObject;
|
|
2352
|
+
languageModels?: LanguageModels.AsObject;
|
|
2353
|
+
inferenceBackend: InferenceBackend;
|
|
1595
2354
|
}
|
|
1596
2355
|
/**
|
|
1597
|
-
* Protobuf JSON representation for
|
|
2356
|
+
* Protobuf JSON representation for S2TInference
|
|
1598
2357
|
*/
|
|
1599
2358
|
interface AsProtobufJSON {
|
|
1600
|
-
|
|
2359
|
+
acousticModels: AcousticModels.AsProtobufJSON | null;
|
|
2360
|
+
languageModels: LanguageModels.AsProtobufJSON | null;
|
|
2361
|
+
inferenceBackend: string;
|
|
1601
2362
|
}
|
|
1602
2363
|
}
|
|
1603
2364
|
/**
|
|
1604
|
-
* Message implementation for ondewo.s2t.
|
|
2365
|
+
* Message implementation for ondewo.s2t.AcousticModels
|
|
1605
2366
|
*/
|
|
1606
|
-
export declare class
|
|
2367
|
+
export declare class AcousticModels implements GrpcMessage {
|
|
1607
2368
|
static id: string;
|
|
1608
2369
|
/**
|
|
1609
2370
|
* Deserialize binary data to message
|
|
1610
2371
|
* @param instance message instance
|
|
1611
2372
|
*/
|
|
1612
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2373
|
+
static deserializeBinary(bytes: ByteSource): AcousticModels;
|
|
1613
2374
|
/**
|
|
1614
2375
|
* Check all the properties and set default protobuf values if necessary
|
|
1615
2376
|
* @param _instance message instance
|
|
1616
2377
|
*/
|
|
1617
|
-
static refineValues(_instance:
|
|
2378
|
+
static refineValues(_instance: AcousticModels): void;
|
|
1618
2379
|
/**
|
|
1619
2380
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1620
2381
|
* @param _instance message instance
|
|
1621
2382
|
* @param _reader binary reader instance
|
|
1622
2383
|
*/
|
|
1623
|
-
static deserializeBinaryFromReader(_instance:
|
|
2384
|
+
static deserializeBinaryFromReader(_instance: AcousticModels, _reader: BinaryReader): void;
|
|
1624
2385
|
/**
|
|
1625
2386
|
* Serializes a message to binary format using provided binary reader
|
|
1626
2387
|
* @param _instance message instance
|
|
1627
2388
|
* @param _writer binary writer instance
|
|
1628
2389
|
*/
|
|
1629
|
-
static serializeBinaryToWriter(_instance:
|
|
1630
|
-
private
|
|
2390
|
+
static serializeBinaryToWriter(_instance: AcousticModels, _writer: BinaryWriter): void;
|
|
2391
|
+
private _type;
|
|
2392
|
+
private _wav2vec?;
|
|
2393
|
+
private _wav2vecTriton?;
|
|
2394
|
+
private _whisper?;
|
|
2395
|
+
private _whisperTriton?;
|
|
2396
|
+
private _s2tCloudServiceAmazon?;
|
|
2397
|
+
private _s2tCloudServiceDeepgram?;
|
|
2398
|
+
private _s2tCloudServiceGoogle?;
|
|
2399
|
+
private _s2tCloudServiceMicrosoft?;
|
|
1631
2400
|
/**
|
|
1632
2401
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1633
|
-
* @param _value initial values object or instance of
|
|
2402
|
+
* @param _value initial values object or instance of AcousticModels to deeply clone from
|
|
1634
2403
|
*/
|
|
1635
|
-
constructor(_value?: RecursivePartial<
|
|
1636
|
-
get
|
|
1637
|
-
set
|
|
2404
|
+
constructor(_value?: RecursivePartial<AcousticModels.AsObject>);
|
|
2405
|
+
get type(): string;
|
|
2406
|
+
set type(value: string);
|
|
2407
|
+
get wav2vec(): Wav2Vec | undefined;
|
|
2408
|
+
set wav2vec(value: Wav2Vec | undefined);
|
|
2409
|
+
get wav2vecTriton(): Wav2VecTriton | undefined;
|
|
2410
|
+
set wav2vecTriton(value: Wav2VecTriton | undefined);
|
|
2411
|
+
get whisper(): Whisper | undefined;
|
|
2412
|
+
set whisper(value: Whisper | undefined);
|
|
2413
|
+
get whisperTriton(): WhisperTriton | undefined;
|
|
2414
|
+
set whisperTriton(value: WhisperTriton | undefined);
|
|
2415
|
+
get s2tCloudServiceAmazon(): S2tCloudServiceAmazon | undefined;
|
|
2416
|
+
set s2tCloudServiceAmazon(value: S2tCloudServiceAmazon | undefined);
|
|
2417
|
+
get s2tCloudServiceDeepgram(): S2tCloudServiceDeepgram | undefined;
|
|
2418
|
+
set s2tCloudServiceDeepgram(value: S2tCloudServiceDeepgram | undefined);
|
|
2419
|
+
get s2tCloudServiceGoogle(): S2tCloudServiceGoogle | undefined;
|
|
2420
|
+
set s2tCloudServiceGoogle(value: S2tCloudServiceGoogle | undefined);
|
|
2421
|
+
get s2tCloudServiceMicrosoft(): S2tCloudServiceMicrosoft | undefined;
|
|
2422
|
+
set s2tCloudServiceMicrosoft(value: S2tCloudServiceMicrosoft | undefined);
|
|
1638
2423
|
/**
|
|
1639
2424
|
* Serialize message to binary data
|
|
1640
2425
|
* @param instance message instance
|
|
@@ -1643,88 +2428,98 @@ export declare class S2TGetServiceInfoResponse implements GrpcMessage {
|
|
|
1643
2428
|
/**
|
|
1644
2429
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1645
2430
|
*/
|
|
1646
|
-
toObject():
|
|
2431
|
+
toObject(): AcousticModels.AsObject;
|
|
1647
2432
|
/**
|
|
1648
2433
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1649
2434
|
*/
|
|
1650
|
-
toJSON():
|
|
2435
|
+
toJSON(): AcousticModels.AsObject;
|
|
1651
2436
|
/**
|
|
1652
2437
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1653
2438
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1654
2439
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1655
2440
|
*/
|
|
1656
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2441
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AcousticModels.AsProtobufJSON;
|
|
1657
2442
|
}
|
|
1658
|
-
export declare
|
|
2443
|
+
export declare namespace AcousticModels {
|
|
1659
2444
|
/**
|
|
1660
|
-
* Standard JavaScript object representation for
|
|
2445
|
+
* Standard JavaScript object representation for AcousticModels
|
|
1661
2446
|
*/
|
|
1662
2447
|
interface AsObject {
|
|
1663
|
-
|
|
2448
|
+
type: string;
|
|
2449
|
+
wav2vec?: Wav2Vec.AsObject;
|
|
2450
|
+
wav2vecTriton?: Wav2VecTriton.AsObject;
|
|
2451
|
+
whisper?: Whisper.AsObject;
|
|
2452
|
+
whisperTriton?: WhisperTriton.AsObject;
|
|
2453
|
+
s2tCloudServiceAmazon?: S2tCloudServiceAmazon.AsObject;
|
|
2454
|
+
s2tCloudServiceDeepgram?: S2tCloudServiceDeepgram.AsObject;
|
|
2455
|
+
s2tCloudServiceGoogle?: S2tCloudServiceGoogle.AsObject;
|
|
2456
|
+
s2tCloudServiceMicrosoft?: S2tCloudServiceMicrosoft.AsObject;
|
|
1664
2457
|
}
|
|
1665
2458
|
/**
|
|
1666
|
-
* Protobuf JSON representation for
|
|
2459
|
+
* Protobuf JSON representation for AcousticModels
|
|
1667
2460
|
*/
|
|
1668
2461
|
interface AsProtobufJSON {
|
|
1669
|
-
|
|
2462
|
+
type: string;
|
|
2463
|
+
wav2vec: Wav2Vec.AsProtobufJSON | null;
|
|
2464
|
+
wav2vecTriton: Wav2VecTriton.AsProtobufJSON | null;
|
|
2465
|
+
whisper: Whisper.AsProtobufJSON | null;
|
|
2466
|
+
whisperTriton: WhisperTriton.AsProtobufJSON | null;
|
|
2467
|
+
s2tCloudServiceAmazon: S2tCloudServiceAmazon.AsProtobufJSON | null;
|
|
2468
|
+
s2tCloudServiceDeepgram: S2tCloudServiceDeepgram.AsProtobufJSON | null;
|
|
2469
|
+
s2tCloudServiceGoogle: S2tCloudServiceGoogle.AsProtobufJSON | null;
|
|
2470
|
+
s2tCloudServiceMicrosoft: S2tCloudServiceMicrosoft.AsProtobufJSON | null;
|
|
1670
2471
|
}
|
|
1671
2472
|
}
|
|
1672
2473
|
/**
|
|
1673
|
-
* Message implementation for ondewo.s2t.
|
|
2474
|
+
* Message implementation for ondewo.s2t.S2tCloudServiceAmazon
|
|
1674
2475
|
*/
|
|
1675
|
-
export declare class
|
|
2476
|
+
export declare class S2tCloudServiceAmazon implements GrpcMessage {
|
|
1676
2477
|
static id: string;
|
|
1677
2478
|
/**
|
|
1678
2479
|
* Deserialize binary data to message
|
|
1679
2480
|
* @param instance message instance
|
|
1680
2481
|
*/
|
|
1681
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2482
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudServiceAmazon;
|
|
1682
2483
|
/**
|
|
1683
2484
|
* Check all the properties and set default protobuf values if necessary
|
|
1684
2485
|
* @param _instance message instance
|
|
1685
2486
|
*/
|
|
1686
|
-
static refineValues(_instance:
|
|
2487
|
+
static refineValues(_instance: S2tCloudServiceAmazon): void;
|
|
1687
2488
|
/**
|
|
1688
2489
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1689
2490
|
* @param _instance message instance
|
|
1690
2491
|
* @param _reader binary reader instance
|
|
1691
2492
|
*/
|
|
1692
|
-
static deserializeBinaryFromReader(_instance:
|
|
2493
|
+
static deserializeBinaryFromReader(_instance: S2tCloudServiceAmazon, _reader: BinaryReader): void;
|
|
1693
2494
|
/**
|
|
1694
2495
|
* Serializes a message to binary format using provided binary reader
|
|
1695
2496
|
* @param _instance message instance
|
|
1696
2497
|
* @param _writer binary writer instance
|
|
1697
2498
|
*/
|
|
1698
|
-
static serializeBinaryToWriter(_instance:
|
|
1699
|
-
private
|
|
1700
|
-
private
|
|
1701
|
-
private
|
|
1702
|
-
private
|
|
1703
|
-
private
|
|
1704
|
-
private
|
|
1705
|
-
private _postProcessing?;
|
|
1706
|
-
private _logging?;
|
|
2499
|
+
static serializeBinaryToWriter(_instance: S2tCloudServiceAmazon, _writer: BinaryWriter): void;
|
|
2500
|
+
private _language;
|
|
2501
|
+
private _streamingAvailable;
|
|
2502
|
+
private _enablePartialResultsStabilization;
|
|
2503
|
+
private _partialResultsStability;
|
|
2504
|
+
private _languageModelName;
|
|
2505
|
+
private _vocabularyName;
|
|
1707
2506
|
/**
|
|
1708
2507
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1709
|
-
* @param _value initial values object or instance of
|
|
2508
|
+
* @param _value initial values object or instance of S2tCloudServiceAmazon to deeply clone from
|
|
1710
2509
|
*/
|
|
1711
|
-
constructor(_value?: RecursivePartial<
|
|
1712
|
-
get
|
|
1713
|
-
set
|
|
1714
|
-
get
|
|
1715
|
-
set
|
|
1716
|
-
get
|
|
1717
|
-
set
|
|
1718
|
-
get
|
|
1719
|
-
set
|
|
1720
|
-
get
|
|
1721
|
-
set
|
|
1722
|
-
get
|
|
1723
|
-
set
|
|
1724
|
-
get postProcessing(): PostProcessing | undefined;
|
|
1725
|
-
set postProcessing(value: PostProcessing | undefined);
|
|
1726
|
-
get logging(): Logging | undefined;
|
|
1727
|
-
set logging(value: Logging | undefined);
|
|
2510
|
+
constructor(_value?: RecursivePartial<S2tCloudServiceAmazon.AsObject>);
|
|
2511
|
+
get language(): string;
|
|
2512
|
+
set language(value: string);
|
|
2513
|
+
get streamingAvailable(): boolean;
|
|
2514
|
+
set streamingAvailable(value: boolean);
|
|
2515
|
+
get enablePartialResultsStabilization(): boolean;
|
|
2516
|
+
set enablePartialResultsStabilization(value: boolean);
|
|
2517
|
+
get partialResultsStability(): string;
|
|
2518
|
+
set partialResultsStability(value: string);
|
|
2519
|
+
get languageModelName(): string;
|
|
2520
|
+
set languageModelName(value: string);
|
|
2521
|
+
get vocabularyName(): string;
|
|
2522
|
+
set vocabularyName(value: string);
|
|
1728
2523
|
/**
|
|
1729
2524
|
* Serialize message to binary data
|
|
1730
2525
|
* @param instance message instance
|
|
@@ -1733,90 +2528,95 @@ export declare class Speech2TextConfig implements GrpcMessage {
|
|
|
1733
2528
|
/**
|
|
1734
2529
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1735
2530
|
*/
|
|
1736
|
-
toObject():
|
|
2531
|
+
toObject(): S2tCloudServiceAmazon.AsObject;
|
|
1737
2532
|
/**
|
|
1738
2533
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1739
2534
|
*/
|
|
1740
|
-
toJSON():
|
|
2535
|
+
toJSON(): S2tCloudServiceAmazon.AsObject;
|
|
1741
2536
|
/**
|
|
1742
2537
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1743
2538
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1744
2539
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1745
2540
|
*/
|
|
1746
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2541
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudServiceAmazon.AsProtobufJSON;
|
|
1747
2542
|
}
|
|
1748
|
-
export declare
|
|
2543
|
+
export declare namespace S2tCloudServiceAmazon {
|
|
1749
2544
|
/**
|
|
1750
|
-
* Standard JavaScript object representation for
|
|
2545
|
+
* Standard JavaScript object representation for S2tCloudServiceAmazon
|
|
1751
2546
|
*/
|
|
1752
2547
|
interface AsObject {
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
postProcessing?: PostProcessing.AsObject;
|
|
1760
|
-
logging?: Logging.AsObject;
|
|
2548
|
+
language: string;
|
|
2549
|
+
streamingAvailable: boolean;
|
|
2550
|
+
enablePartialResultsStabilization: boolean;
|
|
2551
|
+
partialResultsStability: string;
|
|
2552
|
+
languageModelName: string;
|
|
2553
|
+
vocabularyName: string;
|
|
1761
2554
|
}
|
|
1762
2555
|
/**
|
|
1763
|
-
* Protobuf JSON representation for
|
|
2556
|
+
* Protobuf JSON representation for S2tCloudServiceAmazon
|
|
1764
2557
|
*/
|
|
1765
2558
|
interface AsProtobufJSON {
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
postProcessing: PostProcessing.AsProtobufJSON | null;
|
|
1773
|
-
logging: Logging.AsProtobufJSON | null;
|
|
2559
|
+
language: string;
|
|
2560
|
+
streamingAvailable: boolean;
|
|
2561
|
+
enablePartialResultsStabilization: boolean;
|
|
2562
|
+
partialResultsStability: string;
|
|
2563
|
+
languageModelName: string;
|
|
2564
|
+
vocabularyName: string;
|
|
1774
2565
|
}
|
|
1775
2566
|
}
|
|
1776
2567
|
/**
|
|
1777
|
-
* Message implementation for ondewo.s2t.
|
|
2568
|
+
* Message implementation for ondewo.s2t.S2tCloudServiceDeepgram
|
|
1778
2569
|
*/
|
|
1779
|
-
export declare class
|
|
2570
|
+
export declare class S2tCloudServiceDeepgram implements GrpcMessage {
|
|
1780
2571
|
static id: string;
|
|
1781
2572
|
/**
|
|
1782
2573
|
* Deserialize binary data to message
|
|
1783
2574
|
* @param instance message instance
|
|
1784
2575
|
*/
|
|
1785
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2576
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudServiceDeepgram;
|
|
1786
2577
|
/**
|
|
1787
2578
|
* Check all the properties and set default protobuf values if necessary
|
|
1788
2579
|
* @param _instance message instance
|
|
1789
2580
|
*/
|
|
1790
|
-
static refineValues(_instance:
|
|
2581
|
+
static refineValues(_instance: S2tCloudServiceDeepgram): void;
|
|
1791
2582
|
/**
|
|
1792
2583
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1793
2584
|
* @param _instance message instance
|
|
1794
2585
|
* @param _reader binary reader instance
|
|
1795
2586
|
*/
|
|
1796
|
-
static deserializeBinaryFromReader(_instance:
|
|
2587
|
+
static deserializeBinaryFromReader(_instance: S2tCloudServiceDeepgram, _reader: BinaryReader): void;
|
|
1797
2588
|
/**
|
|
1798
2589
|
* Serializes a message to binary format using provided binary reader
|
|
1799
2590
|
* @param _instance message instance
|
|
1800
2591
|
* @param _writer binary writer instance
|
|
1801
2592
|
*/
|
|
1802
|
-
static serializeBinaryToWriter(_instance:
|
|
2593
|
+
static serializeBinaryToWriter(_instance: S2tCloudServiceDeepgram, _writer: BinaryWriter): void;
|
|
2594
|
+
private _modelName;
|
|
1803
2595
|
private _language;
|
|
1804
|
-
private
|
|
1805
|
-
private
|
|
1806
|
-
private
|
|
2596
|
+
private _punctuate;
|
|
2597
|
+
private _smartFormat;
|
|
2598
|
+
private _numerals;
|
|
2599
|
+
private _measurements;
|
|
2600
|
+
private _dictation;
|
|
1807
2601
|
/**
|
|
1808
2602
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1809
|
-
* @param _value initial values object or instance of
|
|
2603
|
+
* @param _value initial values object or instance of S2tCloudServiceDeepgram to deeply clone from
|
|
1810
2604
|
*/
|
|
1811
|
-
constructor(_value?: RecursivePartial<
|
|
2605
|
+
constructor(_value?: RecursivePartial<S2tCloudServiceDeepgram.AsObject>);
|
|
2606
|
+
get modelName(): string;
|
|
2607
|
+
set modelName(value: string);
|
|
1812
2608
|
get language(): string;
|
|
1813
2609
|
set language(value: string);
|
|
1814
|
-
get
|
|
1815
|
-
set
|
|
1816
|
-
get
|
|
1817
|
-
set
|
|
1818
|
-
get
|
|
1819
|
-
set
|
|
2610
|
+
get punctuate(): boolean;
|
|
2611
|
+
set punctuate(value: boolean);
|
|
2612
|
+
get smartFormat(): boolean;
|
|
2613
|
+
set smartFormat(value: boolean);
|
|
2614
|
+
get numerals(): boolean;
|
|
2615
|
+
set numerals(value: boolean);
|
|
2616
|
+
get measurements(): boolean;
|
|
2617
|
+
set measurements(value: boolean);
|
|
2618
|
+
get dictation(): boolean;
|
|
2619
|
+
set dictation(value: boolean);
|
|
1820
2620
|
/**
|
|
1821
2621
|
* Serialize message to binary data
|
|
1822
2622
|
* @param instance message instance
|
|
@@ -1825,79 +2625,97 @@ export declare class S2TDescription implements GrpcMessage {
|
|
|
1825
2625
|
/**
|
|
1826
2626
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1827
2627
|
*/
|
|
1828
|
-
toObject():
|
|
2628
|
+
toObject(): S2tCloudServiceDeepgram.AsObject;
|
|
1829
2629
|
/**
|
|
1830
2630
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1831
2631
|
*/
|
|
1832
|
-
toJSON():
|
|
2632
|
+
toJSON(): S2tCloudServiceDeepgram.AsObject;
|
|
1833
2633
|
/**
|
|
1834
2634
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1835
2635
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1836
2636
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1837
2637
|
*/
|
|
1838
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2638
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudServiceDeepgram.AsProtobufJSON;
|
|
1839
2639
|
}
|
|
1840
|
-
export declare
|
|
2640
|
+
export declare namespace S2tCloudServiceDeepgram {
|
|
1841
2641
|
/**
|
|
1842
|
-
* Standard JavaScript object representation for
|
|
2642
|
+
* Standard JavaScript object representation for S2tCloudServiceDeepgram
|
|
1843
2643
|
*/
|
|
1844
2644
|
interface AsObject {
|
|
2645
|
+
modelName: string;
|
|
1845
2646
|
language: string;
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
2647
|
+
punctuate: boolean;
|
|
2648
|
+
smartFormat: boolean;
|
|
2649
|
+
numerals: boolean;
|
|
2650
|
+
measurements: boolean;
|
|
2651
|
+
dictation: boolean;
|
|
1849
2652
|
}
|
|
1850
2653
|
/**
|
|
1851
|
-
* Protobuf JSON representation for
|
|
2654
|
+
* Protobuf JSON representation for S2tCloudServiceDeepgram
|
|
1852
2655
|
*/
|
|
1853
2656
|
interface AsProtobufJSON {
|
|
2657
|
+
modelName: string;
|
|
1854
2658
|
language: string;
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
2659
|
+
punctuate: boolean;
|
|
2660
|
+
smartFormat: boolean;
|
|
2661
|
+
numerals: boolean;
|
|
2662
|
+
measurements: boolean;
|
|
2663
|
+
dictation: boolean;
|
|
1858
2664
|
}
|
|
1859
2665
|
}
|
|
1860
2666
|
/**
|
|
1861
|
-
* Message implementation for ondewo.s2t.
|
|
2667
|
+
* Message implementation for ondewo.s2t.S2tCloudServiceGoogle
|
|
1862
2668
|
*/
|
|
1863
|
-
export declare class
|
|
2669
|
+
export declare class S2tCloudServiceGoogle implements GrpcMessage {
|
|
1864
2670
|
static id: string;
|
|
1865
2671
|
/**
|
|
1866
2672
|
* Deserialize binary data to message
|
|
1867
2673
|
* @param instance message instance
|
|
1868
2674
|
*/
|
|
1869
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2675
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudServiceGoogle;
|
|
1870
2676
|
/**
|
|
1871
2677
|
* Check all the properties and set default protobuf values if necessary
|
|
1872
2678
|
* @param _instance message instance
|
|
1873
2679
|
*/
|
|
1874
|
-
static refineValues(_instance:
|
|
2680
|
+
static refineValues(_instance: S2tCloudServiceGoogle): void;
|
|
1875
2681
|
/**
|
|
1876
2682
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1877
2683
|
* @param _instance message instance
|
|
1878
2684
|
* @param _reader binary reader instance
|
|
1879
2685
|
*/
|
|
1880
|
-
static deserializeBinaryFromReader(_instance:
|
|
2686
|
+
static deserializeBinaryFromReader(_instance: S2tCloudServiceGoogle, _reader: BinaryReader): void;
|
|
1881
2687
|
/**
|
|
1882
2688
|
* Serializes a message to binary format using provided binary reader
|
|
1883
2689
|
* @param _instance message instance
|
|
1884
2690
|
* @param _writer binary writer instance
|
|
1885
2691
|
*/
|
|
1886
|
-
static serializeBinaryToWriter(_instance:
|
|
1887
|
-
private
|
|
1888
|
-
private
|
|
1889
|
-
private
|
|
2692
|
+
static serializeBinaryToWriter(_instance: S2tCloudServiceGoogle, _writer: BinaryWriter): void;
|
|
2693
|
+
private _modelName;
|
|
2694
|
+
private _language;
|
|
2695
|
+
private _enableAutomaticPunctuation;
|
|
2696
|
+
private _enableWordTimeOffsets;
|
|
2697
|
+
private _enableWordConfidence;
|
|
2698
|
+
private _transcriptNormalization;
|
|
2699
|
+
private _maxAlternatives;
|
|
1890
2700
|
/**
|
|
1891
2701
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1892
|
-
* @param _value initial values object or instance of
|
|
2702
|
+
* @param _value initial values object or instance of S2tCloudServiceGoogle to deeply clone from
|
|
1893
2703
|
*/
|
|
1894
|
-
constructor(_value?: RecursivePartial<
|
|
1895
|
-
get
|
|
1896
|
-
set
|
|
1897
|
-
get
|
|
1898
|
-
set
|
|
1899
|
-
get
|
|
1900
|
-
set
|
|
2704
|
+
constructor(_value?: RecursivePartial<S2tCloudServiceGoogle.AsObject>);
|
|
2705
|
+
get modelName(): string;
|
|
2706
|
+
set modelName(value: string);
|
|
2707
|
+
get language(): string;
|
|
2708
|
+
set language(value: string);
|
|
2709
|
+
get enableAutomaticPunctuation(): boolean;
|
|
2710
|
+
set enableAutomaticPunctuation(value: boolean);
|
|
2711
|
+
get enableWordTimeOffsets(): boolean;
|
|
2712
|
+
set enableWordTimeOffsets(value: boolean);
|
|
2713
|
+
get enableWordConfidence(): boolean;
|
|
2714
|
+
set enableWordConfidence(value: boolean);
|
|
2715
|
+
get transcriptNormalization(): boolean;
|
|
2716
|
+
set transcriptNormalization(value: boolean);
|
|
2717
|
+
get maxAlternatives(): number;
|
|
2718
|
+
set maxAlternatives(value: number);
|
|
1901
2719
|
/**
|
|
1902
2720
|
* Serialize message to binary data
|
|
1903
2721
|
* @param instance message instance
|
|
@@ -1906,89 +2724,85 @@ export declare class S2TInference implements GrpcMessage {
|
|
|
1906
2724
|
/**
|
|
1907
2725
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1908
2726
|
*/
|
|
1909
|
-
toObject():
|
|
2727
|
+
toObject(): S2tCloudServiceGoogle.AsObject;
|
|
1910
2728
|
/**
|
|
1911
2729
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1912
2730
|
*/
|
|
1913
|
-
toJSON():
|
|
2731
|
+
toJSON(): S2tCloudServiceGoogle.AsObject;
|
|
1914
2732
|
/**
|
|
1915
2733
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1916
2734
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1917
2735
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1918
2736
|
*/
|
|
1919
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2737
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudServiceGoogle.AsProtobufJSON;
|
|
1920
2738
|
}
|
|
1921
|
-
export declare
|
|
2739
|
+
export declare namespace S2tCloudServiceGoogle {
|
|
1922
2740
|
/**
|
|
1923
|
-
* Standard JavaScript object representation for
|
|
2741
|
+
* Standard JavaScript object representation for S2tCloudServiceGoogle
|
|
1924
2742
|
*/
|
|
1925
2743
|
interface AsObject {
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2744
|
+
modelName: string;
|
|
2745
|
+
language: string;
|
|
2746
|
+
enableAutomaticPunctuation: boolean;
|
|
2747
|
+
enableWordTimeOffsets: boolean;
|
|
2748
|
+
enableWordConfidence: boolean;
|
|
2749
|
+
transcriptNormalization: boolean;
|
|
2750
|
+
maxAlternatives: number;
|
|
1929
2751
|
}
|
|
1930
2752
|
/**
|
|
1931
|
-
* Protobuf JSON representation for
|
|
2753
|
+
* Protobuf JSON representation for S2tCloudServiceGoogle
|
|
1932
2754
|
*/
|
|
1933
2755
|
interface AsProtobufJSON {
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
2756
|
+
modelName: string;
|
|
2757
|
+
language: string;
|
|
2758
|
+
enableAutomaticPunctuation: boolean;
|
|
2759
|
+
enableWordTimeOffsets: boolean;
|
|
2760
|
+
enableWordConfidence: boolean;
|
|
2761
|
+
transcriptNormalization: boolean;
|
|
2762
|
+
maxAlternatives: number;
|
|
1937
2763
|
}
|
|
1938
2764
|
}
|
|
1939
2765
|
/**
|
|
1940
|
-
* Message implementation for ondewo.s2t.
|
|
2766
|
+
* Message implementation for ondewo.s2t.S2tCloudServiceMicrosoft
|
|
1941
2767
|
*/
|
|
1942
|
-
export declare class
|
|
2768
|
+
export declare class S2tCloudServiceMicrosoft implements GrpcMessage {
|
|
1943
2769
|
static id: string;
|
|
1944
2770
|
/**
|
|
1945
2771
|
* Deserialize binary data to message
|
|
1946
2772
|
* @param instance message instance
|
|
1947
2773
|
*/
|
|
1948
|
-
static deserializeBinary(bytes: ByteSource):
|
|
2774
|
+
static deserializeBinary(bytes: ByteSource): S2tCloudServiceMicrosoft;
|
|
1949
2775
|
/**
|
|
1950
2776
|
* Check all the properties and set default protobuf values if necessary
|
|
1951
2777
|
* @param _instance message instance
|
|
1952
2778
|
*/
|
|
1953
|
-
static refineValues(_instance:
|
|
2779
|
+
static refineValues(_instance: S2tCloudServiceMicrosoft): void;
|
|
1954
2780
|
/**
|
|
1955
2781
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1956
2782
|
* @param _instance message instance
|
|
1957
2783
|
* @param _reader binary reader instance
|
|
1958
2784
|
*/
|
|
1959
|
-
static deserializeBinaryFromReader(_instance:
|
|
2785
|
+
static deserializeBinaryFromReader(_instance: S2tCloudServiceMicrosoft, _reader: BinaryReader): void;
|
|
1960
2786
|
/**
|
|
1961
2787
|
* Serializes a message to binary format using provided binary reader
|
|
1962
2788
|
* @param _instance message instance
|
|
1963
2789
|
* @param _writer binary writer instance
|
|
1964
2790
|
*/
|
|
1965
|
-
static serializeBinaryToWriter(_instance:
|
|
1966
|
-
private
|
|
1967
|
-
private
|
|
1968
|
-
private
|
|
1969
|
-
private _wav2vec?;
|
|
1970
|
-
private _wav2vecTriton?;
|
|
1971
|
-
private _whisper?;
|
|
1972
|
-
private _whisperTriton?;
|
|
2791
|
+
static serializeBinaryToWriter(_instance: S2tCloudServiceMicrosoft, _writer: BinaryWriter): void;
|
|
2792
|
+
private _language;
|
|
2793
|
+
private _useFastTranscriptionApi;
|
|
2794
|
+
private _useDetailedOutputFormat;
|
|
1973
2795
|
/**
|
|
1974
2796
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1975
|
-
* @param _value initial values object or instance of
|
|
2797
|
+
* @param _value initial values object or instance of S2tCloudServiceMicrosoft to deeply clone from
|
|
1976
2798
|
*/
|
|
1977
|
-
constructor(_value?: RecursivePartial<
|
|
1978
|
-
get
|
|
1979
|
-
set
|
|
1980
|
-
get
|
|
1981
|
-
set
|
|
1982
|
-
get
|
|
1983
|
-
set
|
|
1984
|
-
get wav2vec(): Wav2Vec | undefined;
|
|
1985
|
-
set wav2vec(value: Wav2Vec | undefined);
|
|
1986
|
-
get wav2vecTriton(): Wav2VecTriton | undefined;
|
|
1987
|
-
set wav2vecTriton(value: Wav2VecTriton | undefined);
|
|
1988
|
-
get whisper(): Whisper | undefined;
|
|
1989
|
-
set whisper(value: Whisper | undefined);
|
|
1990
|
-
get whisperTriton(): WhisperTriton | undefined;
|
|
1991
|
-
set whisperTriton(value: WhisperTriton | undefined);
|
|
2799
|
+
constructor(_value?: RecursivePartial<S2tCloudServiceMicrosoft.AsObject>);
|
|
2800
|
+
get language(): string;
|
|
2801
|
+
set language(value: string);
|
|
2802
|
+
get useFastTranscriptionApi(): boolean;
|
|
2803
|
+
set useFastTranscriptionApi(value: boolean);
|
|
2804
|
+
get useDetailedOutputFormat(): boolean;
|
|
2805
|
+
set useDetailedOutputFormat(value: boolean);
|
|
1992
2806
|
/**
|
|
1993
2807
|
* Serialize message to binary data
|
|
1994
2808
|
* @param instance message instance
|
|
@@ -1997,42 +2811,34 @@ export declare class AcousticModels implements GrpcMessage {
|
|
|
1997
2811
|
/**
|
|
1998
2812
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1999
2813
|
*/
|
|
2000
|
-
toObject():
|
|
2814
|
+
toObject(): S2tCloudServiceMicrosoft.AsObject;
|
|
2001
2815
|
/**
|
|
2002
2816
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2003
2817
|
*/
|
|
2004
|
-
toJSON():
|
|
2818
|
+
toJSON(): S2tCloudServiceMicrosoft.AsObject;
|
|
2005
2819
|
/**
|
|
2006
2820
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2007
2821
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2008
2822
|
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2009
2823
|
*/
|
|
2010
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
2824
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tCloudServiceMicrosoft.AsProtobufJSON;
|
|
2011
2825
|
}
|
|
2012
|
-
export declare
|
|
2826
|
+
export declare namespace S2tCloudServiceMicrosoft {
|
|
2013
2827
|
/**
|
|
2014
|
-
* Standard JavaScript object representation for
|
|
2828
|
+
* Standard JavaScript object representation for S2tCloudServiceMicrosoft
|
|
2015
2829
|
*/
|
|
2016
2830
|
interface AsObject {
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
wav2vec?: Wav2Vec.AsObject;
|
|
2021
|
-
wav2vecTriton?: Wav2VecTriton.AsObject;
|
|
2022
|
-
whisper?: Whisper.AsObject;
|
|
2023
|
-
whisperTriton?: WhisperTriton.AsObject;
|
|
2831
|
+
language: string;
|
|
2832
|
+
useFastTranscriptionApi: boolean;
|
|
2833
|
+
useDetailedOutputFormat: boolean;
|
|
2024
2834
|
}
|
|
2025
2835
|
/**
|
|
2026
|
-
* Protobuf JSON representation for
|
|
2836
|
+
* Protobuf JSON representation for S2tCloudServiceMicrosoft
|
|
2027
2837
|
*/
|
|
2028
2838
|
interface AsProtobufJSON {
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
wav2vec: Wav2Vec.AsProtobufJSON | null;
|
|
2033
|
-
wav2vecTriton: Wav2VecTriton.AsProtobufJSON | null;
|
|
2034
|
-
whisper: Whisper.AsProtobufJSON | null;
|
|
2035
|
-
whisperTriton: WhisperTriton.AsProtobufJSON | null;
|
|
2839
|
+
language: string;
|
|
2840
|
+
useFastTranscriptionApi: boolean;
|
|
2841
|
+
useDetailedOutputFormat: boolean;
|
|
2036
2842
|
}
|
|
2037
2843
|
}
|
|
2038
2844
|
/**
|
|
@@ -2065,6 +2871,7 @@ export declare class Whisper implements GrpcMessage {
|
|
|
2065
2871
|
private _modelPath;
|
|
2066
2872
|
private _useGpu;
|
|
2067
2873
|
private _language;
|
|
2874
|
+
private _task;
|
|
2068
2875
|
/**
|
|
2069
2876
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2070
2877
|
* @param _value initial values object or instance of Whisper to deeply clone from
|
|
@@ -2076,6 +2883,8 @@ export declare class Whisper implements GrpcMessage {
|
|
|
2076
2883
|
set useGpu(value: boolean);
|
|
2077
2884
|
get language(): string;
|
|
2078
2885
|
set language(value: string);
|
|
2886
|
+
get task(): string;
|
|
2887
|
+
set task(value: string);
|
|
2079
2888
|
/**
|
|
2080
2889
|
* Serialize message to binary data
|
|
2081
2890
|
* @param instance message instance
|
|
@@ -2096,7 +2905,7 @@ export declare class Whisper implements GrpcMessage {
|
|
|
2096
2905
|
*/
|
|
2097
2906
|
toProtobufJSON(options?: ToProtobufJSONOptions): Whisper.AsProtobufJSON;
|
|
2098
2907
|
}
|
|
2099
|
-
export declare
|
|
2908
|
+
export declare namespace Whisper {
|
|
2100
2909
|
/**
|
|
2101
2910
|
* Standard JavaScript object representation for Whisper
|
|
2102
2911
|
*/
|
|
@@ -2104,6 +2913,7 @@ export declare module Whisper {
|
|
|
2104
2913
|
modelPath: string;
|
|
2105
2914
|
useGpu: boolean;
|
|
2106
2915
|
language: string;
|
|
2916
|
+
task: string;
|
|
2107
2917
|
}
|
|
2108
2918
|
/**
|
|
2109
2919
|
* Protobuf JSON representation for Whisper
|
|
@@ -2112,6 +2922,7 @@ export declare module Whisper {
|
|
|
2112
2922
|
modelPath: string;
|
|
2113
2923
|
useGpu: boolean;
|
|
2114
2924
|
language: string;
|
|
2925
|
+
task: string;
|
|
2115
2926
|
}
|
|
2116
2927
|
}
|
|
2117
2928
|
/**
|
|
@@ -2145,6 +2956,10 @@ export declare class WhisperTriton implements GrpcMessage {
|
|
|
2145
2956
|
private _tritonModelName;
|
|
2146
2957
|
private _tritonModelVersion;
|
|
2147
2958
|
private _checkStatusTimeout;
|
|
2959
|
+
private _language;
|
|
2960
|
+
private _task;
|
|
2961
|
+
private _tritonServerHost;
|
|
2962
|
+
private _tritonServerPort;
|
|
2148
2963
|
/**
|
|
2149
2964
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2150
2965
|
* @param _value initial values object or instance of WhisperTriton to deeply clone from
|
|
@@ -2158,6 +2973,14 @@ export declare class WhisperTriton implements GrpcMessage {
|
|
|
2158
2973
|
set tritonModelVersion(value: string);
|
|
2159
2974
|
get checkStatusTimeout(): string;
|
|
2160
2975
|
set checkStatusTimeout(value: string);
|
|
2976
|
+
get language(): string;
|
|
2977
|
+
set language(value: string);
|
|
2978
|
+
get task(): string;
|
|
2979
|
+
set task(value: string);
|
|
2980
|
+
get tritonServerHost(): string;
|
|
2981
|
+
set tritonServerHost(value: string);
|
|
2982
|
+
get tritonServerPort(): string;
|
|
2983
|
+
set tritonServerPort(value: string);
|
|
2161
2984
|
/**
|
|
2162
2985
|
* Serialize message to binary data
|
|
2163
2986
|
* @param instance message instance
|
|
@@ -2178,7 +3001,7 @@ export declare class WhisperTriton implements GrpcMessage {
|
|
|
2178
3001
|
*/
|
|
2179
3002
|
toProtobufJSON(options?: ToProtobufJSONOptions): WhisperTriton.AsProtobufJSON;
|
|
2180
3003
|
}
|
|
2181
|
-
export declare
|
|
3004
|
+
export declare namespace WhisperTriton {
|
|
2182
3005
|
/**
|
|
2183
3006
|
* Standard JavaScript object representation for WhisperTriton
|
|
2184
3007
|
*/
|
|
@@ -2187,6 +3010,10 @@ export declare module WhisperTriton {
|
|
|
2187
3010
|
tritonModelName: string;
|
|
2188
3011
|
tritonModelVersion: string;
|
|
2189
3012
|
checkStatusTimeout: string;
|
|
3013
|
+
language: string;
|
|
3014
|
+
task: string;
|
|
3015
|
+
tritonServerHost: string;
|
|
3016
|
+
tritonServerPort: string;
|
|
2190
3017
|
}
|
|
2191
3018
|
/**
|
|
2192
3019
|
* Protobuf JSON representation for WhisperTriton
|
|
@@ -2196,6 +3023,10 @@ export declare module WhisperTriton {
|
|
|
2196
3023
|
tritonModelName: string;
|
|
2197
3024
|
tritonModelVersion: string;
|
|
2198
3025
|
checkStatusTimeout: string;
|
|
3026
|
+
language: string;
|
|
3027
|
+
task: string;
|
|
3028
|
+
tritonServerHost: string;
|
|
3029
|
+
tritonServerPort: string;
|
|
2199
3030
|
}
|
|
2200
3031
|
}
|
|
2201
3032
|
/**
|
|
@@ -2256,7 +3087,7 @@ export declare class Wav2Vec implements GrpcMessage {
|
|
|
2256
3087
|
*/
|
|
2257
3088
|
toProtobufJSON(options?: ToProtobufJSONOptions): Wav2Vec.AsProtobufJSON;
|
|
2258
3089
|
}
|
|
2259
|
-
export declare
|
|
3090
|
+
export declare namespace Wav2Vec {
|
|
2260
3091
|
/**
|
|
2261
3092
|
* Standard JavaScript object representation for Wav2Vec
|
|
2262
3093
|
*/
|
|
@@ -2303,6 +3134,8 @@ export declare class Wav2VecTriton implements GrpcMessage {
|
|
|
2303
3134
|
private _tritonModelName;
|
|
2304
3135
|
private _tritonModelVersion;
|
|
2305
3136
|
private _checkStatusTimeout;
|
|
3137
|
+
private _tritonServerHost;
|
|
3138
|
+
private _tritonServerPort;
|
|
2306
3139
|
/**
|
|
2307
3140
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2308
3141
|
* @param _value initial values object or instance of Wav2VecTriton to deeply clone from
|
|
@@ -2316,6 +3149,10 @@ export declare class Wav2VecTriton implements GrpcMessage {
|
|
|
2316
3149
|
set tritonModelVersion(value: string);
|
|
2317
3150
|
get checkStatusTimeout(): string;
|
|
2318
3151
|
set checkStatusTimeout(value: string);
|
|
3152
|
+
get tritonServerHost(): string;
|
|
3153
|
+
set tritonServerHost(value: string);
|
|
3154
|
+
get tritonServerPort(): string;
|
|
3155
|
+
set tritonServerPort(value: string);
|
|
2319
3156
|
/**
|
|
2320
3157
|
* Serialize message to binary data
|
|
2321
3158
|
* @param instance message instance
|
|
@@ -2336,7 +3173,7 @@ export declare class Wav2VecTriton implements GrpcMessage {
|
|
|
2336
3173
|
*/
|
|
2337
3174
|
toProtobufJSON(options?: ToProtobufJSONOptions): Wav2VecTriton.AsProtobufJSON;
|
|
2338
3175
|
}
|
|
2339
|
-
export declare
|
|
3176
|
+
export declare namespace Wav2VecTriton {
|
|
2340
3177
|
/**
|
|
2341
3178
|
* Standard JavaScript object representation for Wav2VecTriton
|
|
2342
3179
|
*/
|
|
@@ -2345,6 +3182,8 @@ export declare module Wav2VecTriton {
|
|
|
2345
3182
|
tritonModelName: string;
|
|
2346
3183
|
tritonModelVersion: string;
|
|
2347
3184
|
checkStatusTimeout: string;
|
|
3185
|
+
tritonServerHost: string;
|
|
3186
|
+
tritonServerPort: string;
|
|
2348
3187
|
}
|
|
2349
3188
|
/**
|
|
2350
3189
|
* Protobuf JSON representation for Wav2VecTriton
|
|
@@ -2354,95 +3193,8 @@ export declare module Wav2VecTriton {
|
|
|
2354
3193
|
tritonModelName: string;
|
|
2355
3194
|
tritonModelVersion: string;
|
|
2356
3195
|
checkStatusTimeout: string;
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
/**
|
|
2360
|
-
* Message implementation for ondewo.s2t.Quartznet
|
|
2361
|
-
*/
|
|
2362
|
-
export declare class Quartznet implements GrpcMessage {
|
|
2363
|
-
static id: string;
|
|
2364
|
-
/**
|
|
2365
|
-
* Deserialize binary data to message
|
|
2366
|
-
* @param instance message instance
|
|
2367
|
-
*/
|
|
2368
|
-
static deserializeBinary(bytes: ByteSource): Quartznet;
|
|
2369
|
-
/**
|
|
2370
|
-
* Check all the properties and set default protobuf values if necessary
|
|
2371
|
-
* @param _instance message instance
|
|
2372
|
-
*/
|
|
2373
|
-
static refineValues(_instance: Quartznet): void;
|
|
2374
|
-
/**
|
|
2375
|
-
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2376
|
-
* @param _instance message instance
|
|
2377
|
-
* @param _reader binary reader instance
|
|
2378
|
-
*/
|
|
2379
|
-
static deserializeBinaryFromReader(_instance: Quartznet, _reader: BinaryReader): void;
|
|
2380
|
-
/**
|
|
2381
|
-
* Serializes a message to binary format using provided binary reader
|
|
2382
|
-
* @param _instance message instance
|
|
2383
|
-
* @param _writer binary writer instance
|
|
2384
|
-
*/
|
|
2385
|
-
static serializeBinaryToWriter(_instance: Quartznet, _writer: BinaryWriter): void;
|
|
2386
|
-
private _configPath;
|
|
2387
|
-
private _loadType;
|
|
2388
|
-
private _ptFiles?;
|
|
2389
|
-
private _ckptFile?;
|
|
2390
|
-
private _useGpu;
|
|
2391
|
-
/**
|
|
2392
|
-
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2393
|
-
* @param _value initial values object or instance of Quartznet to deeply clone from
|
|
2394
|
-
*/
|
|
2395
|
-
constructor(_value?: RecursivePartial<Quartznet.AsObject>);
|
|
2396
|
-
get configPath(): string;
|
|
2397
|
-
set configPath(value: string);
|
|
2398
|
-
get loadType(): string;
|
|
2399
|
-
set loadType(value: string);
|
|
2400
|
-
get ptFiles(): PtFiles | undefined;
|
|
2401
|
-
set ptFiles(value: PtFiles | undefined);
|
|
2402
|
-
get ckptFile(): CkptFile | undefined;
|
|
2403
|
-
set ckptFile(value: CkptFile | undefined);
|
|
2404
|
-
get useGpu(): boolean;
|
|
2405
|
-
set useGpu(value: boolean);
|
|
2406
|
-
/**
|
|
2407
|
-
* Serialize message to binary data
|
|
2408
|
-
* @param instance message instance
|
|
2409
|
-
*/
|
|
2410
|
-
serializeBinary(): any;
|
|
2411
|
-
/**
|
|
2412
|
-
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2413
|
-
*/
|
|
2414
|
-
toObject(): Quartznet.AsObject;
|
|
2415
|
-
/**
|
|
2416
|
-
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2417
|
-
*/
|
|
2418
|
-
toJSON(): Quartznet.AsObject;
|
|
2419
|
-
/**
|
|
2420
|
-
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2421
|
-
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2422
|
-
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2423
|
-
*/
|
|
2424
|
-
toProtobufJSON(options?: ToProtobufJSONOptions): Quartznet.AsProtobufJSON;
|
|
2425
|
-
}
|
|
2426
|
-
export declare module Quartznet {
|
|
2427
|
-
/**
|
|
2428
|
-
* Standard JavaScript object representation for Quartznet
|
|
2429
|
-
*/
|
|
2430
|
-
interface AsObject {
|
|
2431
|
-
configPath: string;
|
|
2432
|
-
loadType: string;
|
|
2433
|
-
ptFiles?: PtFiles.AsObject;
|
|
2434
|
-
ckptFile?: CkptFile.AsObject;
|
|
2435
|
-
useGpu: boolean;
|
|
2436
|
-
}
|
|
2437
|
-
/**
|
|
2438
|
-
* Protobuf JSON representation for Quartznet
|
|
2439
|
-
*/
|
|
2440
|
-
interface AsProtobufJSON {
|
|
2441
|
-
configPath: string;
|
|
2442
|
-
loadType: string;
|
|
2443
|
-
ptFiles: PtFiles.AsProtobufJSON | null;
|
|
2444
|
-
ckptFile: CkptFile.AsProtobufJSON | null;
|
|
2445
|
-
useGpu: boolean;
|
|
3196
|
+
tritonServerHost: string;
|
|
3197
|
+
tritonServerPort: string;
|
|
2446
3198
|
}
|
|
2447
3199
|
}
|
|
2448
3200
|
/**
|
|
@@ -2503,7 +3255,7 @@ export declare class PtFiles implements GrpcMessage {
|
|
|
2503
3255
|
*/
|
|
2504
3256
|
toProtobufJSON(options?: ToProtobufJSONOptions): PtFiles.AsProtobufJSON;
|
|
2505
3257
|
}
|
|
2506
|
-
export declare
|
|
3258
|
+
export declare namespace PtFiles {
|
|
2507
3259
|
/**
|
|
2508
3260
|
* Standard JavaScript object representation for PtFiles
|
|
2509
3261
|
*/
|
|
@@ -2574,7 +3326,7 @@ export declare class CkptFile implements GrpcMessage {
|
|
|
2574
3326
|
*/
|
|
2575
3327
|
toProtobufJSON(options?: ToProtobufJSONOptions): CkptFile.AsProtobufJSON;
|
|
2576
3328
|
}
|
|
2577
|
-
export declare
|
|
3329
|
+
export declare namespace CkptFile {
|
|
2578
3330
|
/**
|
|
2579
3331
|
* Standard JavaScript object representation for CkptFile
|
|
2580
3332
|
*/
|
|
@@ -2588,85 +3340,6 @@ export declare module CkptFile {
|
|
|
2588
3340
|
path: string;
|
|
2589
3341
|
}
|
|
2590
3342
|
}
|
|
2591
|
-
/**
|
|
2592
|
-
* Message implementation for ondewo.s2t.QuartznetTriton
|
|
2593
|
-
*/
|
|
2594
|
-
export declare class QuartznetTriton implements GrpcMessage {
|
|
2595
|
-
static id: string;
|
|
2596
|
-
/**
|
|
2597
|
-
* Deserialize binary data to message
|
|
2598
|
-
* @param instance message instance
|
|
2599
|
-
*/
|
|
2600
|
-
static deserializeBinary(bytes: ByteSource): QuartznetTriton;
|
|
2601
|
-
/**
|
|
2602
|
-
* Check all the properties and set default protobuf values if necessary
|
|
2603
|
-
* @param _instance message instance
|
|
2604
|
-
*/
|
|
2605
|
-
static refineValues(_instance: QuartznetTriton): void;
|
|
2606
|
-
/**
|
|
2607
|
-
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2608
|
-
* @param _instance message instance
|
|
2609
|
-
* @param _reader binary reader instance
|
|
2610
|
-
*/
|
|
2611
|
-
static deserializeBinaryFromReader(_instance: QuartznetTriton, _reader: BinaryReader): void;
|
|
2612
|
-
/**
|
|
2613
|
-
* Serializes a message to binary format using provided binary reader
|
|
2614
|
-
* @param _instance message instance
|
|
2615
|
-
* @param _writer binary writer instance
|
|
2616
|
-
*/
|
|
2617
|
-
static serializeBinaryToWriter(_instance: QuartznetTriton, _writer: BinaryWriter): void;
|
|
2618
|
-
private _configPath;
|
|
2619
|
-
private _tritonUrl;
|
|
2620
|
-
private _tritonModel;
|
|
2621
|
-
/**
|
|
2622
|
-
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2623
|
-
* @param _value initial values object or instance of QuartznetTriton to deeply clone from
|
|
2624
|
-
*/
|
|
2625
|
-
constructor(_value?: RecursivePartial<QuartznetTriton.AsObject>);
|
|
2626
|
-
get configPath(): string;
|
|
2627
|
-
set configPath(value: string);
|
|
2628
|
-
get tritonUrl(): string;
|
|
2629
|
-
set tritonUrl(value: string);
|
|
2630
|
-
get tritonModel(): string;
|
|
2631
|
-
set tritonModel(value: string);
|
|
2632
|
-
/**
|
|
2633
|
-
* Serialize message to binary data
|
|
2634
|
-
* @param instance message instance
|
|
2635
|
-
*/
|
|
2636
|
-
serializeBinary(): any;
|
|
2637
|
-
/**
|
|
2638
|
-
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2639
|
-
*/
|
|
2640
|
-
toObject(): QuartznetTriton.AsObject;
|
|
2641
|
-
/**
|
|
2642
|
-
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2643
|
-
*/
|
|
2644
|
-
toJSON(): QuartznetTriton.AsObject;
|
|
2645
|
-
/**
|
|
2646
|
-
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2647
|
-
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2648
|
-
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2649
|
-
*/
|
|
2650
|
-
toProtobufJSON(options?: ToProtobufJSONOptions): QuartznetTriton.AsProtobufJSON;
|
|
2651
|
-
}
|
|
2652
|
-
export declare module QuartznetTriton {
|
|
2653
|
-
/**
|
|
2654
|
-
* Standard JavaScript object representation for QuartznetTriton
|
|
2655
|
-
*/
|
|
2656
|
-
interface AsObject {
|
|
2657
|
-
configPath: string;
|
|
2658
|
-
tritonUrl: string;
|
|
2659
|
-
tritonModel: string;
|
|
2660
|
-
}
|
|
2661
|
-
/**
|
|
2662
|
-
* Protobuf JSON representation for QuartznetTriton
|
|
2663
|
-
*/
|
|
2664
|
-
interface AsProtobufJSON {
|
|
2665
|
-
configPath: string;
|
|
2666
|
-
tritonUrl: string;
|
|
2667
|
-
tritonModel: string;
|
|
2668
|
-
}
|
|
2669
|
-
}
|
|
2670
3343
|
/**
|
|
2671
3344
|
* Message implementation for ondewo.s2t.LanguageModels
|
|
2672
3345
|
*/
|
|
@@ -2734,7 +3407,7 @@ export declare class LanguageModels implements GrpcMessage {
|
|
|
2734
3407
|
*/
|
|
2735
3408
|
toProtobufJSON(options?: ToProtobufJSONOptions): LanguageModels.AsProtobufJSON;
|
|
2736
3409
|
}
|
|
2737
|
-
export declare
|
|
3410
|
+
export declare namespace LanguageModels {
|
|
2738
3411
|
/**
|
|
2739
3412
|
* Standard JavaScript object representation for LanguageModels
|
|
2740
3413
|
*/
|
|
@@ -2820,7 +3493,7 @@ export declare class StreamingServer implements GrpcMessage {
|
|
|
2820
3493
|
*/
|
|
2821
3494
|
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingServer.AsProtobufJSON;
|
|
2822
3495
|
}
|
|
2823
|
-
export declare
|
|
3496
|
+
export declare namespace StreamingServer {
|
|
2824
3497
|
/**
|
|
2825
3498
|
* Standard JavaScript object representation for StreamingServer
|
|
2826
3499
|
*/
|
|
@@ -2871,8 +3544,6 @@ export declare class StreamingSpeechRecognition implements GrpcMessage {
|
|
|
2871
3544
|
private _decodingMethod;
|
|
2872
3545
|
private _samplingRate;
|
|
2873
3546
|
private _minAudioChunkSize;
|
|
2874
|
-
private _startOfUtteranceThreshold;
|
|
2875
|
-
private _endOfUtteranceThreshold;
|
|
2876
3547
|
private _nextChunkTimeout;
|
|
2877
3548
|
/**
|
|
2878
3549
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
@@ -2887,10 +3558,6 @@ export declare class StreamingSpeechRecognition implements GrpcMessage {
|
|
|
2887
3558
|
set samplingRate(value: string);
|
|
2888
3559
|
get minAudioChunkSize(): string;
|
|
2889
3560
|
set minAudioChunkSize(value: string);
|
|
2890
|
-
get startOfUtteranceThreshold(): number;
|
|
2891
|
-
set startOfUtteranceThreshold(value: number);
|
|
2892
|
-
get endOfUtteranceThreshold(): number;
|
|
2893
|
-
set endOfUtteranceThreshold(value: number);
|
|
2894
3561
|
get nextChunkTimeout(): number;
|
|
2895
3562
|
set nextChunkTimeout(value: number);
|
|
2896
3563
|
/**
|
|
@@ -2913,7 +3580,7 @@ export declare class StreamingSpeechRecognition implements GrpcMessage {
|
|
|
2913
3580
|
*/
|
|
2914
3581
|
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingSpeechRecognition.AsProtobufJSON;
|
|
2915
3582
|
}
|
|
2916
|
-
export declare
|
|
3583
|
+
export declare namespace StreamingSpeechRecognition {
|
|
2917
3584
|
/**
|
|
2918
3585
|
* Standard JavaScript object representation for StreamingSpeechRecognition
|
|
2919
3586
|
*/
|
|
@@ -2922,8 +3589,6 @@ export declare module StreamingSpeechRecognition {
|
|
|
2922
3589
|
decodingMethod: string;
|
|
2923
3590
|
samplingRate: string;
|
|
2924
3591
|
minAudioChunkSize: string;
|
|
2925
|
-
startOfUtteranceThreshold: number;
|
|
2926
|
-
endOfUtteranceThreshold: number;
|
|
2927
3592
|
nextChunkTimeout: number;
|
|
2928
3593
|
}
|
|
2929
3594
|
/**
|
|
@@ -2934,8 +3599,6 @@ export declare module StreamingSpeechRecognition {
|
|
|
2934
3599
|
decodingMethod: string;
|
|
2935
3600
|
samplingRate: string;
|
|
2936
3601
|
minAudioChunkSize: string;
|
|
2937
|
-
startOfUtteranceThreshold: number;
|
|
2938
|
-
endOfUtteranceThreshold: number;
|
|
2939
3602
|
nextChunkTimeout: number;
|
|
2940
3603
|
}
|
|
2941
3604
|
}
|
|
@@ -2969,7 +3632,6 @@ export declare class VoiceActivityDetection implements GrpcMessage {
|
|
|
2969
3632
|
private _active;
|
|
2970
3633
|
private _samplingRate;
|
|
2971
3634
|
private _pyannote?;
|
|
2972
|
-
private _matchbox?;
|
|
2973
3635
|
/**
|
|
2974
3636
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2975
3637
|
* @param _value initial values object or instance of VoiceActivityDetection to deeply clone from
|
|
@@ -2981,8 +3643,6 @@ export declare class VoiceActivityDetection implements GrpcMessage {
|
|
|
2981
3643
|
set samplingRate(value: string);
|
|
2982
3644
|
get pyannote(): Pyannote | undefined;
|
|
2983
3645
|
set pyannote(value: Pyannote | undefined);
|
|
2984
|
-
get matchbox(): Matchbox | undefined;
|
|
2985
|
-
set matchbox(value: Matchbox | undefined);
|
|
2986
3646
|
/**
|
|
2987
3647
|
* Serialize message to binary data
|
|
2988
3648
|
* @param instance message instance
|
|
@@ -3003,7 +3663,7 @@ export declare class VoiceActivityDetection implements GrpcMessage {
|
|
|
3003
3663
|
*/
|
|
3004
3664
|
toProtobufJSON(options?: ToProtobufJSONOptions): VoiceActivityDetection.AsProtobufJSON;
|
|
3005
3665
|
}
|
|
3006
|
-
export declare
|
|
3666
|
+
export declare namespace VoiceActivityDetection {
|
|
3007
3667
|
/**
|
|
3008
3668
|
* Standard JavaScript object representation for VoiceActivityDetection
|
|
3009
3669
|
*/
|
|
@@ -3011,7 +3671,6 @@ export declare module VoiceActivityDetection {
|
|
|
3011
3671
|
active: string;
|
|
3012
3672
|
samplingRate: string;
|
|
3013
3673
|
pyannote?: Pyannote.AsObject;
|
|
3014
|
-
matchbox?: Matchbox.AsObject;
|
|
3015
3674
|
}
|
|
3016
3675
|
/**
|
|
3017
3676
|
* Protobuf JSON representation for VoiceActivityDetection
|
|
@@ -3020,7 +3679,6 @@ export declare module VoiceActivityDetection {
|
|
|
3020
3679
|
active: string;
|
|
3021
3680
|
samplingRate: string;
|
|
3022
3681
|
pyannote: Pyannote.AsProtobufJSON | null;
|
|
3023
|
-
matchbox: Matchbox.AsProtobufJSON | null;
|
|
3024
3682
|
}
|
|
3025
3683
|
}
|
|
3026
3684
|
/**
|
|
@@ -3050,34 +3708,29 @@ export declare class Pyannote implements GrpcMessage {
|
|
|
3050
3708
|
* @param _writer binary writer instance
|
|
3051
3709
|
*/
|
|
3052
3710
|
static serializeBinaryToWriter(_instance: Pyannote, _writer: BinaryWriter): void;
|
|
3053
|
-
private
|
|
3711
|
+
private _modelName;
|
|
3054
3712
|
private _minAudioSize;
|
|
3055
|
-
private _offset;
|
|
3056
|
-
private _onset;
|
|
3057
|
-
private _logScale;
|
|
3058
3713
|
private _minDurationOff;
|
|
3059
3714
|
private _minDurationOn;
|
|
3060
|
-
private
|
|
3715
|
+
private _tritonServerHost;
|
|
3716
|
+
private _tritonServerPort;
|
|
3061
3717
|
/**
|
|
3062
3718
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3063
3719
|
* @param _value initial values object or instance of Pyannote to deeply clone from
|
|
3064
3720
|
*/
|
|
3065
3721
|
constructor(_value?: RecursivePartial<Pyannote.AsObject>);
|
|
3066
|
-
get
|
|
3067
|
-
set
|
|
3722
|
+
get modelName(): string;
|
|
3723
|
+
set modelName(value: string);
|
|
3068
3724
|
get minAudioSize(): string;
|
|
3069
3725
|
set minAudioSize(value: string);
|
|
3070
|
-
get offset(): number;
|
|
3071
|
-
set offset(value: number);
|
|
3072
|
-
get onset(): number;
|
|
3073
|
-
set onset(value: number);
|
|
3074
|
-
get logScale(): boolean;
|
|
3075
|
-
set logScale(value: boolean);
|
|
3076
3726
|
get minDurationOff(): number;
|
|
3077
3727
|
set minDurationOff(value: number);
|
|
3078
3728
|
get minDurationOn(): number;
|
|
3079
3729
|
set minDurationOn(value: number);
|
|
3080
|
-
get
|
|
3730
|
+
get tritonServerHost(): string;
|
|
3731
|
+
set tritonServerHost(value: string);
|
|
3732
|
+
get tritonServerPort(): string;
|
|
3733
|
+
set tritonServerPort(value: string);
|
|
3081
3734
|
/**
|
|
3082
3735
|
* Serialize message to binary data
|
|
3083
3736
|
* @param instance message instance
|
|
@@ -3098,113 +3751,28 @@ export declare class Pyannote implements GrpcMessage {
|
|
|
3098
3751
|
*/
|
|
3099
3752
|
toProtobufJSON(options?: ToProtobufJSONOptions): Pyannote.AsProtobufJSON;
|
|
3100
3753
|
}
|
|
3101
|
-
export declare
|
|
3754
|
+
export declare namespace Pyannote {
|
|
3102
3755
|
/**
|
|
3103
3756
|
* Standard JavaScript object representation for Pyannote
|
|
3104
3757
|
*/
|
|
3105
3758
|
interface AsObject {
|
|
3106
|
-
|
|
3759
|
+
modelName: string;
|
|
3107
3760
|
minAudioSize: string;
|
|
3108
|
-
offset: number;
|
|
3109
|
-
onset: number;
|
|
3110
|
-
logScale: boolean;
|
|
3111
3761
|
minDurationOff: number;
|
|
3112
3762
|
minDurationOn: number;
|
|
3763
|
+
tritonServerHost: string;
|
|
3764
|
+
tritonServerPort: string;
|
|
3113
3765
|
}
|
|
3114
3766
|
/**
|
|
3115
3767
|
* Protobuf JSON representation for Pyannote
|
|
3116
3768
|
*/
|
|
3117
3769
|
interface AsProtobufJSON {
|
|
3118
|
-
|
|
3770
|
+
modelName: string;
|
|
3119
3771
|
minAudioSize: string;
|
|
3120
|
-
offset: number;
|
|
3121
|
-
onset: number;
|
|
3122
|
-
logScale: boolean;
|
|
3123
3772
|
minDurationOff: number;
|
|
3124
3773
|
minDurationOn: number;
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
none = 0,
|
|
3128
|
-
logScale = 1
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3131
|
-
/**
|
|
3132
|
-
* Message implementation for ondewo.s2t.Matchbox
|
|
3133
|
-
*/
|
|
3134
|
-
export declare class Matchbox implements GrpcMessage {
|
|
3135
|
-
static id: string;
|
|
3136
|
-
/**
|
|
3137
|
-
* Deserialize binary data to message
|
|
3138
|
-
* @param instance message instance
|
|
3139
|
-
*/
|
|
3140
|
-
static deserializeBinary(bytes: ByteSource): Matchbox;
|
|
3141
|
-
/**
|
|
3142
|
-
* Check all the properties and set default protobuf values if necessary
|
|
3143
|
-
* @param _instance message instance
|
|
3144
|
-
*/
|
|
3145
|
-
static refineValues(_instance: Matchbox): void;
|
|
3146
|
-
/**
|
|
3147
|
-
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3148
|
-
* @param _instance message instance
|
|
3149
|
-
* @param _reader binary reader instance
|
|
3150
|
-
*/
|
|
3151
|
-
static deserializeBinaryFromReader(_instance: Matchbox, _reader: BinaryReader): void;
|
|
3152
|
-
/**
|
|
3153
|
-
* Serializes a message to binary format using provided binary reader
|
|
3154
|
-
* @param _instance message instance
|
|
3155
|
-
* @param _writer binary writer instance
|
|
3156
|
-
*/
|
|
3157
|
-
static serializeBinaryToWriter(_instance: Matchbox, _writer: BinaryWriter): void;
|
|
3158
|
-
private _modelConfig;
|
|
3159
|
-
private _encoderPath;
|
|
3160
|
-
private _decoderPath;
|
|
3161
|
-
/**
|
|
3162
|
-
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3163
|
-
* @param _value initial values object or instance of Matchbox to deeply clone from
|
|
3164
|
-
*/
|
|
3165
|
-
constructor(_value?: RecursivePartial<Matchbox.AsObject>);
|
|
3166
|
-
get modelConfig(): string;
|
|
3167
|
-
set modelConfig(value: string);
|
|
3168
|
-
get encoderPath(): string;
|
|
3169
|
-
set encoderPath(value: string);
|
|
3170
|
-
get decoderPath(): string;
|
|
3171
|
-
set decoderPath(value: string);
|
|
3172
|
-
/**
|
|
3173
|
-
* Serialize message to binary data
|
|
3174
|
-
* @param instance message instance
|
|
3175
|
-
*/
|
|
3176
|
-
serializeBinary(): any;
|
|
3177
|
-
/**
|
|
3178
|
-
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3179
|
-
*/
|
|
3180
|
-
toObject(): Matchbox.AsObject;
|
|
3181
|
-
/**
|
|
3182
|
-
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3183
|
-
*/
|
|
3184
|
-
toJSON(): Matchbox.AsObject;
|
|
3185
|
-
/**
|
|
3186
|
-
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3187
|
-
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3188
|
-
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
3189
|
-
*/
|
|
3190
|
-
toProtobufJSON(options?: ToProtobufJSONOptions): Matchbox.AsProtobufJSON;
|
|
3191
|
-
}
|
|
3192
|
-
export declare module Matchbox {
|
|
3193
|
-
/**
|
|
3194
|
-
* Standard JavaScript object representation for Matchbox
|
|
3195
|
-
*/
|
|
3196
|
-
interface AsObject {
|
|
3197
|
-
modelConfig: string;
|
|
3198
|
-
encoderPath: string;
|
|
3199
|
-
decoderPath: string;
|
|
3200
|
-
}
|
|
3201
|
-
/**
|
|
3202
|
-
* Protobuf JSON representation for Matchbox
|
|
3203
|
-
*/
|
|
3204
|
-
interface AsProtobufJSON {
|
|
3205
|
-
modelConfig: string;
|
|
3206
|
-
encoderPath: string;
|
|
3207
|
-
decoderPath: string;
|
|
3774
|
+
tritonServerHost: string;
|
|
3775
|
+
tritonServerPort: string;
|
|
3208
3776
|
}
|
|
3209
3777
|
}
|
|
3210
3778
|
/**
|
|
@@ -3265,7 +3833,7 @@ export declare class PostProcessing implements GrpcMessage {
|
|
|
3265
3833
|
*/
|
|
3266
3834
|
toProtobufJSON(options?: ToProtobufJSONOptions): PostProcessing.AsProtobufJSON;
|
|
3267
3835
|
}
|
|
3268
|
-
export declare
|
|
3836
|
+
export declare namespace PostProcessing {
|
|
3269
3837
|
/**
|
|
3270
3838
|
* Standard JavaScript object representation for PostProcessing
|
|
3271
3839
|
*/
|
|
@@ -3339,7 +3907,7 @@ export declare class PostProcessors implements GrpcMessage {
|
|
|
3339
3907
|
*/
|
|
3340
3908
|
toProtobufJSON(options?: ToProtobufJSONOptions): PostProcessors.AsProtobufJSON;
|
|
3341
3909
|
}
|
|
3342
|
-
export declare
|
|
3910
|
+
export declare namespace PostProcessors {
|
|
3343
3911
|
/**
|
|
3344
3912
|
* Standard JavaScript object representation for PostProcessors
|
|
3345
3913
|
*/
|
|
@@ -3416,7 +3984,7 @@ export declare class SymSpell implements GrpcMessage {
|
|
|
3416
3984
|
*/
|
|
3417
3985
|
toProtobufJSON(options?: ToProtobufJSONOptions): SymSpell.AsProtobufJSON;
|
|
3418
3986
|
}
|
|
3419
|
-
export declare
|
|
3987
|
+
export declare namespace SymSpell {
|
|
3420
3988
|
/**
|
|
3421
3989
|
* Standard JavaScript object representation for SymSpell
|
|
3422
3990
|
*/
|
|
@@ -3462,6 +4030,7 @@ export declare class S2TNormalization implements GrpcMessage {
|
|
|
3462
4030
|
*/
|
|
3463
4031
|
static serializeBinaryToWriter(_instance: S2TNormalization, _writer: BinaryWriter): void;
|
|
3464
4032
|
private _language;
|
|
4033
|
+
private _pipeline;
|
|
3465
4034
|
/**
|
|
3466
4035
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3467
4036
|
* @param _value initial values object or instance of S2TNormalization to deeply clone from
|
|
@@ -3469,6 +4038,8 @@ export declare class S2TNormalization implements GrpcMessage {
|
|
|
3469
4038
|
constructor(_value?: RecursivePartial<S2TNormalization.AsObject>);
|
|
3470
4039
|
get language(): string;
|
|
3471
4040
|
set language(value: string);
|
|
4041
|
+
get pipeline(): string[];
|
|
4042
|
+
set pipeline(value: string[]);
|
|
3472
4043
|
/**
|
|
3473
4044
|
* Serialize message to binary data
|
|
3474
4045
|
* @param instance message instance
|
|
@@ -3489,18 +4060,20 @@ export declare class S2TNormalization implements GrpcMessage {
|
|
|
3489
4060
|
*/
|
|
3490
4061
|
toProtobufJSON(options?: ToProtobufJSONOptions): S2TNormalization.AsProtobufJSON;
|
|
3491
4062
|
}
|
|
3492
|
-
export declare
|
|
4063
|
+
export declare namespace S2TNormalization {
|
|
3493
4064
|
/**
|
|
3494
4065
|
* Standard JavaScript object representation for S2TNormalization
|
|
3495
4066
|
*/
|
|
3496
4067
|
interface AsObject {
|
|
3497
4068
|
language: string;
|
|
4069
|
+
pipeline: string[];
|
|
3498
4070
|
}
|
|
3499
4071
|
/**
|
|
3500
4072
|
* Protobuf JSON representation for S2TNormalization
|
|
3501
4073
|
*/
|
|
3502
4074
|
interface AsProtobufJSON {
|
|
3503
4075
|
language: string;
|
|
4076
|
+
pipeline: string[];
|
|
3504
4077
|
}
|
|
3505
4078
|
}
|
|
3506
4079
|
/**
|
|
@@ -3561,7 +4134,7 @@ export declare class Logging implements GrpcMessage {
|
|
|
3561
4134
|
*/
|
|
3562
4135
|
toProtobufJSON(options?: ToProtobufJSONOptions): Logging.AsProtobufJSON;
|
|
3563
4136
|
}
|
|
3564
|
-
export declare
|
|
4137
|
+
export declare namespace Logging {
|
|
3565
4138
|
/**
|
|
3566
4139
|
* Standard JavaScript object representation for Logging
|
|
3567
4140
|
*/
|
|
@@ -3632,7 +4205,7 @@ export declare class ListS2tLanguageModelsRequest implements GrpcMessage {
|
|
|
3632
4205
|
*/
|
|
3633
4206
|
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguageModelsRequest.AsProtobufJSON;
|
|
3634
4207
|
}
|
|
3635
|
-
export declare
|
|
4208
|
+
export declare namespace ListS2tLanguageModelsRequest {
|
|
3636
4209
|
/**
|
|
3637
4210
|
* Standard JavaScript object representation for ListS2tLanguageModelsRequest
|
|
3638
4211
|
*/
|
|
@@ -3704,7 +4277,7 @@ export declare class LanguageModelPipelineId implements GrpcMessage {
|
|
|
3704
4277
|
*/
|
|
3705
4278
|
toProtobufJSON(options?: ToProtobufJSONOptions): LanguageModelPipelineId.AsProtobufJSON;
|
|
3706
4279
|
}
|
|
3707
|
-
export declare
|
|
4280
|
+
export declare namespace LanguageModelPipelineId {
|
|
3708
4281
|
/**
|
|
3709
4282
|
* Standard JavaScript object representation for LanguageModelPipelineId
|
|
3710
4283
|
*/
|
|
@@ -3775,7 +4348,7 @@ export declare class ListS2tLanguageModelsResponse implements GrpcMessage {
|
|
|
3775
4348
|
*/
|
|
3776
4349
|
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguageModelsResponse.AsProtobufJSON;
|
|
3777
4350
|
}
|
|
3778
|
-
export declare
|
|
4351
|
+
export declare namespace ListS2tLanguageModelsResponse {
|
|
3779
4352
|
/**
|
|
3780
4353
|
* Standard JavaScript object representation for ListS2tLanguageModelsResponse
|
|
3781
4354
|
*/
|
|
@@ -3844,7 +4417,7 @@ export declare class CreateUserLanguageModelRequest implements GrpcMessage {
|
|
|
3844
4417
|
*/
|
|
3845
4418
|
toProtobufJSON(options?: ToProtobufJSONOptions): CreateUserLanguageModelRequest.AsProtobufJSON;
|
|
3846
4419
|
}
|
|
3847
|
-
export declare
|
|
4420
|
+
export declare namespace CreateUserLanguageModelRequest {
|
|
3848
4421
|
/**
|
|
3849
4422
|
* Standard JavaScript object representation for CreateUserLanguageModelRequest
|
|
3850
4423
|
*/
|
|
@@ -3913,7 +4486,7 @@ export declare class DeleteUserLanguageModelRequest implements GrpcMessage {
|
|
|
3913
4486
|
*/
|
|
3914
4487
|
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteUserLanguageModelRequest.AsProtobufJSON;
|
|
3915
4488
|
}
|
|
3916
|
-
export declare
|
|
4489
|
+
export declare namespace DeleteUserLanguageModelRequest {
|
|
3917
4490
|
/**
|
|
3918
4491
|
* Standard JavaScript object representation for DeleteUserLanguageModelRequest
|
|
3919
4492
|
*/
|
|
@@ -3985,7 +4558,7 @@ export declare class AddDataToUserLanguageModelRequest implements GrpcMessage {
|
|
|
3985
4558
|
*/
|
|
3986
4559
|
toProtobufJSON(options?: ToProtobufJSONOptions): AddDataToUserLanguageModelRequest.AsProtobufJSON;
|
|
3987
4560
|
}
|
|
3988
|
-
export declare
|
|
4561
|
+
export declare namespace AddDataToUserLanguageModelRequest {
|
|
3989
4562
|
/**
|
|
3990
4563
|
* Standard JavaScript object representation for AddDataToUserLanguageModelRequest
|
|
3991
4564
|
*/
|
|
@@ -4059,7 +4632,7 @@ export declare class TrainUserLanguageModelRequest implements GrpcMessage {
|
|
|
4059
4632
|
*/
|
|
4060
4633
|
toProtobufJSON(options?: ToProtobufJSONOptions): TrainUserLanguageModelRequest.AsProtobufJSON;
|
|
4061
4634
|
}
|
|
4062
|
-
export declare
|
|
4635
|
+
export declare namespace TrainUserLanguageModelRequest {
|
|
4063
4636
|
/**
|
|
4064
4637
|
* Standard JavaScript object representation for TrainUserLanguageModelRequest
|
|
4065
4638
|
*/
|