@ondewo/s2t-client-typescript 5.6.0 → 5.7.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/protobuf/empty_pb.d.ts +8 -12
- package/api/google/protobuf/empty_pb.js +67 -74
- package/api/ondewo/s2t/speech-to-text_grpc_web_pb.d.ts +164 -178
- package/api/ondewo/s2t/speech-to-text_grpc_web_pb.js +401 -454
- package/api/ondewo/s2t/speech-to-text_pb.d.ts +1096 -1022
- package/api/ondewo/s2t/speech-to-text_pb.js +5481 -6684
- package/package.json +20 -16
- package/public-api.d.ts +0 -3
- package/public-api.js +0 -3
|
@@ -1,1443 +1,1517 @@
|
|
|
1
|
-
import * as jspb from 'google-protobuf'
|
|
1
|
+
import * as jspb from 'google-protobuf';
|
|
2
2
|
|
|
3
3
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
export class TranscribeRequestConfig extends jspb.Message {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
getS2tPipelineId(): string;
|
|
7
|
+
setS2tPipelineId(value: string): TranscribeRequestConfig;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
getDecoding(): Decoding;
|
|
10
|
+
setDecoding(value: Decoding): TranscribeRequestConfig;
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
getLanguageModelName(): string;
|
|
13
|
+
setLanguageModelName(value: string): TranscribeRequestConfig;
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
getPostProcessing(): PostProcessingOptions | undefined;
|
|
16
|
+
setPostProcessing(value?: PostProcessingOptions): TranscribeRequestConfig;
|
|
17
|
+
hasPostProcessing(): boolean;
|
|
18
|
+
clearPostProcessing(): TranscribeRequestConfig;
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
getUtteranceDetection(): UtteranceDetectionOptions | undefined;
|
|
21
|
+
setUtteranceDetection(value?: UtteranceDetectionOptions): TranscribeRequestConfig;
|
|
22
|
+
hasUtteranceDetection(): boolean;
|
|
23
|
+
clearUtteranceDetection(): TranscribeRequestConfig;
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
getPyannote(): Pyannote | undefined;
|
|
26
|
+
setPyannote(value?: Pyannote): TranscribeRequestConfig;
|
|
27
|
+
hasPyannote(): boolean;
|
|
28
|
+
clearPyannote(): TranscribeRequestConfig;
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
getReturnOptions(): TranscriptionReturnOptions | undefined;
|
|
31
|
+
setReturnOptions(value?: TranscriptionReturnOptions): TranscribeRequestConfig;
|
|
32
|
+
hasReturnOptions(): boolean;
|
|
33
|
+
clearReturnOptions(): TranscribeRequestConfig;
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
getLanguage(): string;
|
|
36
|
+
setLanguage(value: string): TranscribeRequestConfig;
|
|
37
|
+
hasLanguage(): boolean;
|
|
38
|
+
clearLanguage(): TranscribeRequestConfig;
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
getTask(): string;
|
|
41
|
+
setTask(value: string): TranscribeRequestConfig;
|
|
42
|
+
hasTask(): boolean;
|
|
43
|
+
clearTask(): TranscribeRequestConfig;
|
|
45
44
|
|
|
46
|
-
|
|
45
|
+
getOneofLanguageModelNameCase(): TranscribeRequestConfig.OneofLanguageModelNameCase;
|
|
47
46
|
|
|
48
|
-
|
|
47
|
+
getOneofPostProcessingCase(): TranscribeRequestConfig.OneofPostProcessingCase;
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
getOneofUtteranceDetectionCase(): TranscribeRequestConfig.OneofUtteranceDetectionCase;
|
|
51
50
|
|
|
52
|
-
|
|
51
|
+
getVoiceActivityDetectionCase(): TranscribeRequestConfig.VoiceActivityDetectionCase;
|
|
53
52
|
|
|
54
|
-
|
|
53
|
+
getOneofReturnOptionsCase(): TranscribeRequestConfig.OneofReturnOptionsCase;
|
|
55
54
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
serializeBinary(): Uint8Array;
|
|
56
|
+
toObject(includeInstance?: boolean): TranscribeRequestConfig.AsObject;
|
|
57
|
+
static toObject(includeInstance: boolean, msg: TranscribeRequestConfig): TranscribeRequestConfig.AsObject;
|
|
58
|
+
static serializeBinaryToWriter(message: TranscribeRequestConfig, writer: jspb.BinaryWriter): void;
|
|
59
|
+
static deserializeBinary(bytes: Uint8Array): TranscribeRequestConfig;
|
|
60
|
+
static deserializeBinaryFromReader(
|
|
61
|
+
message: TranscribeRequestConfig,
|
|
62
|
+
reader: jspb.BinaryReader
|
|
63
|
+
): TranscribeRequestConfig;
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
export namespace TranscribeRequestConfig {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
67
|
+
export type AsObject = {
|
|
68
|
+
s2tPipelineId: string;
|
|
69
|
+
decoding: Decoding;
|
|
70
|
+
languageModelName: string;
|
|
71
|
+
postProcessing?: PostProcessingOptions.AsObject;
|
|
72
|
+
utteranceDetection?: UtteranceDetectionOptions.AsObject;
|
|
73
|
+
pyannote?: Pyannote.AsObject;
|
|
74
|
+
returnOptions?: TranscriptionReturnOptions.AsObject;
|
|
75
|
+
language?: string;
|
|
76
|
+
task?: string;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export enum OneofLanguageModelNameCase {
|
|
80
|
+
ONEOF_LANGUAGE_MODEL_NAME_NOT_SET = 0,
|
|
81
|
+
LANGUAGE_MODEL_NAME = 3
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export enum OneofPostProcessingCase {
|
|
85
|
+
ONEOF_POST_PROCESSING_NOT_SET = 0,
|
|
86
|
+
POST_PROCESSING = 4
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export enum OneofUtteranceDetectionCase {
|
|
90
|
+
ONEOF_UTTERANCE_DETECTION_NOT_SET = 0,
|
|
91
|
+
UTTERANCE_DETECTION = 5
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export enum VoiceActivityDetectionCase {
|
|
95
|
+
VOICE_ACTIVITY_DETECTION_NOT_SET = 0,
|
|
96
|
+
PYANNOTE = 6
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export enum OneofReturnOptionsCase {
|
|
100
|
+
ONEOF_RETURN_OPTIONS_NOT_SET = 0,
|
|
101
|
+
RETURN_OPTIONS = 8
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export enum LanguageCase {
|
|
105
|
+
_LANGUAGE_NOT_SET = 0,
|
|
106
|
+
LANGUAGE = 9
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export enum TaskCase {
|
|
110
|
+
_TASK_NOT_SET = 0,
|
|
111
|
+
TASK = 10
|
|
112
|
+
}
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
export class TranscriptionReturnOptions extends jspb.Message {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
getReturnStartOfSpeech(): boolean;
|
|
117
|
+
setReturnStartOfSpeech(value: boolean): TranscriptionReturnOptions;
|
|
116
118
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
+
getReturnAudio(): boolean;
|
|
120
|
+
setReturnAudio(value: boolean): TranscriptionReturnOptions;
|
|
119
121
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
getReturnConfidenceScore(): boolean;
|
|
123
|
+
setReturnConfidenceScore(value: boolean): TranscriptionReturnOptions;
|
|
122
124
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
getReturnAlternativeTranscriptions(): boolean;
|
|
126
|
+
setReturnAlternativeTranscriptions(value: boolean): TranscriptionReturnOptions;
|
|
125
127
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
getReturnAlternativeTranscriptionsNr(): number;
|
|
129
|
+
setReturnAlternativeTranscriptionsNr(value: number): TranscriptionReturnOptions;
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
getReturnAlternativeWords(): boolean;
|
|
132
|
+
setReturnAlternativeWords(value: boolean): TranscriptionReturnOptions;
|
|
131
133
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
getReturnAlternativeWordsNr(): number;
|
|
135
|
+
setReturnAlternativeWordsNr(value: number): TranscriptionReturnOptions;
|
|
134
136
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
+
getReturnWordTiming(): boolean;
|
|
138
|
+
setReturnWordTiming(value: boolean): TranscriptionReturnOptions;
|
|
137
139
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
serializeBinary(): Uint8Array;
|
|
141
|
+
toObject(includeInstance?: boolean): TranscriptionReturnOptions.AsObject;
|
|
142
|
+
static toObject(includeInstance: boolean, msg: TranscriptionReturnOptions): TranscriptionReturnOptions.AsObject;
|
|
143
|
+
static serializeBinaryToWriter(message: TranscriptionReturnOptions, writer: jspb.BinaryWriter): void;
|
|
144
|
+
static deserializeBinary(bytes: Uint8Array): TranscriptionReturnOptions;
|
|
145
|
+
static deserializeBinaryFromReader(
|
|
146
|
+
message: TranscriptionReturnOptions,
|
|
147
|
+
reader: jspb.BinaryReader
|
|
148
|
+
): TranscriptionReturnOptions;
|
|
144
149
|
}
|
|
145
150
|
|
|
146
151
|
export namespace TranscriptionReturnOptions {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
export type AsObject = {
|
|
153
|
+
returnStartOfSpeech: boolean;
|
|
154
|
+
returnAudio: boolean;
|
|
155
|
+
returnConfidenceScore: boolean;
|
|
156
|
+
returnAlternativeTranscriptions: boolean;
|
|
157
|
+
returnAlternativeTranscriptionsNr: number;
|
|
158
|
+
returnAlternativeWords: boolean;
|
|
159
|
+
returnAlternativeWordsNr: number;
|
|
160
|
+
returnWordTiming: boolean;
|
|
161
|
+
};
|
|
157
162
|
}
|
|
158
163
|
|
|
159
164
|
export class UtteranceDetectionOptions extends jspb.Message {
|
|
160
|
-
|
|
161
|
-
|
|
165
|
+
getTranscribeNotFinal(): boolean;
|
|
166
|
+
setTranscribeNotFinal(value: boolean): UtteranceDetectionOptions;
|
|
162
167
|
|
|
163
|
-
|
|
164
|
-
|
|
168
|
+
getNextChunkTimeout(): number;
|
|
169
|
+
setNextChunkTimeout(value: number): UtteranceDetectionOptions;
|
|
165
170
|
|
|
166
|
-
|
|
171
|
+
getOneofTranscribeNotFinalCase(): UtteranceDetectionOptions.OneofTranscribeNotFinalCase;
|
|
167
172
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
serializeBinary(): Uint8Array;
|
|
174
|
+
toObject(includeInstance?: boolean): UtteranceDetectionOptions.AsObject;
|
|
175
|
+
static toObject(includeInstance: boolean, msg: UtteranceDetectionOptions): UtteranceDetectionOptions.AsObject;
|
|
176
|
+
static serializeBinaryToWriter(message: UtteranceDetectionOptions, writer: jspb.BinaryWriter): void;
|
|
177
|
+
static deserializeBinary(bytes: Uint8Array): UtteranceDetectionOptions;
|
|
178
|
+
static deserializeBinaryFromReader(
|
|
179
|
+
message: UtteranceDetectionOptions,
|
|
180
|
+
reader: jspb.BinaryReader
|
|
181
|
+
): UtteranceDetectionOptions;
|
|
174
182
|
}
|
|
175
183
|
|
|
176
184
|
export namespace UtteranceDetectionOptions {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
185
|
+
export type AsObject = {
|
|
186
|
+
transcribeNotFinal: boolean;
|
|
187
|
+
nextChunkTimeout: number;
|
|
188
|
+
};
|
|
181
189
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
export enum OneofTranscribeNotFinalCase {
|
|
191
|
+
ONEOF_TRANSCRIBE_NOT_FINAL_NOT_SET = 0,
|
|
192
|
+
TRANSCRIBE_NOT_FINAL = 1
|
|
193
|
+
}
|
|
186
194
|
}
|
|
187
195
|
|
|
188
196
|
export class PostProcessingOptions extends jspb.Message {
|
|
189
|
-
|
|
190
|
-
|
|
197
|
+
getSpellingCorrection(): boolean;
|
|
198
|
+
setSpellingCorrection(value: boolean): PostProcessingOptions;
|
|
191
199
|
|
|
192
|
-
|
|
193
|
-
|
|
200
|
+
getNormalize(): boolean;
|
|
201
|
+
setNormalize(value: boolean): PostProcessingOptions;
|
|
194
202
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
203
|
+
getConfig(): PostProcessing | undefined;
|
|
204
|
+
setConfig(value?: PostProcessing): PostProcessingOptions;
|
|
205
|
+
hasConfig(): boolean;
|
|
206
|
+
clearConfig(): PostProcessingOptions;
|
|
199
207
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
208
|
+
serializeBinary(): Uint8Array;
|
|
209
|
+
toObject(includeInstance?: boolean): PostProcessingOptions.AsObject;
|
|
210
|
+
static toObject(includeInstance: boolean, msg: PostProcessingOptions): PostProcessingOptions.AsObject;
|
|
211
|
+
static serializeBinaryToWriter(message: PostProcessingOptions, writer: jspb.BinaryWriter): void;
|
|
212
|
+
static deserializeBinary(bytes: Uint8Array): PostProcessingOptions;
|
|
213
|
+
static deserializeBinaryFromReader(message: PostProcessingOptions, reader: jspb.BinaryReader): PostProcessingOptions;
|
|
206
214
|
}
|
|
207
215
|
|
|
208
216
|
export namespace PostProcessingOptions {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
217
|
+
export type AsObject = {
|
|
218
|
+
spellingCorrection: boolean;
|
|
219
|
+
normalize: boolean;
|
|
220
|
+
config?: PostProcessing.AsObject;
|
|
221
|
+
};
|
|
214
222
|
}
|
|
215
223
|
|
|
216
224
|
export class Transcription extends jspb.Message {
|
|
217
|
-
|
|
218
|
-
|
|
225
|
+
getTranscription(): string;
|
|
226
|
+
setTranscription(value: string): Transcription;
|
|
219
227
|
|
|
220
|
-
|
|
221
|
-
|
|
228
|
+
getConfidenceScore(): number;
|
|
229
|
+
setConfidenceScore(value: number): Transcription;
|
|
222
230
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
231
|
+
getWordsList(): Array<WordDetail>;
|
|
232
|
+
setWordsList(value: Array<WordDetail>): Transcription;
|
|
233
|
+
clearWordsList(): Transcription;
|
|
234
|
+
addWords(value?: WordDetail, index?: number): WordDetail;
|
|
227
235
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
236
|
+
getAlternativesList(): Array<TranscriptionAlternative>;
|
|
237
|
+
setAlternativesList(value: Array<TranscriptionAlternative>): Transcription;
|
|
238
|
+
clearAlternativesList(): Transcription;
|
|
239
|
+
addAlternatives(value?: TranscriptionAlternative, index?: number): TranscriptionAlternative;
|
|
232
240
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
241
|
+
serializeBinary(): Uint8Array;
|
|
242
|
+
toObject(includeInstance?: boolean): Transcription.AsObject;
|
|
243
|
+
static toObject(includeInstance: boolean, msg: Transcription): Transcription.AsObject;
|
|
244
|
+
static serializeBinaryToWriter(message: Transcription, writer: jspb.BinaryWriter): void;
|
|
245
|
+
static deserializeBinary(bytes: Uint8Array): Transcription;
|
|
246
|
+
static deserializeBinaryFromReader(message: Transcription, reader: jspb.BinaryReader): Transcription;
|
|
239
247
|
}
|
|
240
248
|
|
|
241
249
|
export namespace Transcription {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
250
|
+
export type AsObject = {
|
|
251
|
+
transcription: string;
|
|
252
|
+
confidenceScore: number;
|
|
253
|
+
wordsList: Array<WordDetail.AsObject>;
|
|
254
|
+
alternativesList: Array<TranscriptionAlternative.AsObject>;
|
|
255
|
+
};
|
|
248
256
|
}
|
|
249
257
|
|
|
250
258
|
export class TranscriptionAlternative extends jspb.Message {
|
|
251
|
-
|
|
252
|
-
|
|
259
|
+
getTranscript(): string;
|
|
260
|
+
setTranscript(value: string): TranscriptionAlternative;
|
|
253
261
|
|
|
254
|
-
|
|
255
|
-
|
|
262
|
+
getConfidence(): number;
|
|
263
|
+
setConfidence(value: number): TranscriptionAlternative;
|
|
256
264
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
265
|
+
getWordsList(): Array<WordDetail>;
|
|
266
|
+
setWordsList(value: Array<WordDetail>): TranscriptionAlternative;
|
|
267
|
+
clearWordsList(): TranscriptionAlternative;
|
|
268
|
+
addWords(value?: WordDetail, index?: number): WordDetail;
|
|
261
269
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
270
|
+
serializeBinary(): Uint8Array;
|
|
271
|
+
toObject(includeInstance?: boolean): TranscriptionAlternative.AsObject;
|
|
272
|
+
static toObject(includeInstance: boolean, msg: TranscriptionAlternative): TranscriptionAlternative.AsObject;
|
|
273
|
+
static serializeBinaryToWriter(message: TranscriptionAlternative, writer: jspb.BinaryWriter): void;
|
|
274
|
+
static deserializeBinary(bytes: Uint8Array): TranscriptionAlternative;
|
|
275
|
+
static deserializeBinaryFromReader(
|
|
276
|
+
message: TranscriptionAlternative,
|
|
277
|
+
reader: jspb.BinaryReader
|
|
278
|
+
): TranscriptionAlternative;
|
|
268
279
|
}
|
|
269
280
|
|
|
270
281
|
export namespace TranscriptionAlternative {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
282
|
+
export type AsObject = {
|
|
283
|
+
transcript: string;
|
|
284
|
+
confidence: number;
|
|
285
|
+
wordsList: Array<WordDetail.AsObject>;
|
|
286
|
+
};
|
|
276
287
|
}
|
|
277
288
|
|
|
278
289
|
export class WordDetail extends jspb.Message {
|
|
279
|
-
|
|
280
|
-
|
|
290
|
+
getStartTime(): number;
|
|
291
|
+
setStartTime(value: number): WordDetail;
|
|
281
292
|
|
|
282
|
-
|
|
283
|
-
|
|
293
|
+
getEndTime(): number;
|
|
294
|
+
setEndTime(value: number): WordDetail;
|
|
284
295
|
|
|
285
|
-
|
|
286
|
-
|
|
296
|
+
getWord(): string;
|
|
297
|
+
setWord(value: string): WordDetail;
|
|
287
298
|
|
|
288
|
-
|
|
289
|
-
|
|
299
|
+
getConfidence(): number;
|
|
300
|
+
setConfidence(value: number): WordDetail;
|
|
290
301
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
302
|
+
getWordAlternativesList(): Array<WordAlternative>;
|
|
303
|
+
setWordAlternativesList(value: Array<WordAlternative>): WordDetail;
|
|
304
|
+
clearWordAlternativesList(): WordDetail;
|
|
305
|
+
addWordAlternatives(value?: WordAlternative, index?: number): WordAlternative;
|
|
295
306
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
307
|
+
serializeBinary(): Uint8Array;
|
|
308
|
+
toObject(includeInstance?: boolean): WordDetail.AsObject;
|
|
309
|
+
static toObject(includeInstance: boolean, msg: WordDetail): WordDetail.AsObject;
|
|
310
|
+
static serializeBinaryToWriter(message: WordDetail, writer: jspb.BinaryWriter): void;
|
|
311
|
+
static deserializeBinary(bytes: Uint8Array): WordDetail;
|
|
312
|
+
static deserializeBinaryFromReader(message: WordDetail, reader: jspb.BinaryReader): WordDetail;
|
|
302
313
|
}
|
|
303
314
|
|
|
304
315
|
export namespace WordDetail {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
316
|
+
export type AsObject = {
|
|
317
|
+
startTime: number;
|
|
318
|
+
endTime: number;
|
|
319
|
+
word: string;
|
|
320
|
+
confidence: number;
|
|
321
|
+
wordAlternativesList: Array<WordAlternative.AsObject>;
|
|
322
|
+
};
|
|
312
323
|
}
|
|
313
324
|
|
|
314
325
|
export class WordAlternative extends jspb.Message {
|
|
315
|
-
|
|
316
|
-
|
|
326
|
+
getWord(): string;
|
|
327
|
+
setWord(value: string): WordAlternative;
|
|
317
328
|
|
|
318
|
-
|
|
319
|
-
|
|
329
|
+
getConfidence(): number;
|
|
330
|
+
setConfidence(value: number): WordAlternative;
|
|
320
331
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
332
|
+
serializeBinary(): Uint8Array;
|
|
333
|
+
toObject(includeInstance?: boolean): WordAlternative.AsObject;
|
|
334
|
+
static toObject(includeInstance: boolean, msg: WordAlternative): WordAlternative.AsObject;
|
|
335
|
+
static serializeBinaryToWriter(message: WordAlternative, writer: jspb.BinaryWriter): void;
|
|
336
|
+
static deserializeBinary(bytes: Uint8Array): WordAlternative;
|
|
337
|
+
static deserializeBinaryFromReader(message: WordAlternative, reader: jspb.BinaryReader): WordAlternative;
|
|
327
338
|
}
|
|
328
339
|
|
|
329
340
|
export namespace WordAlternative {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
341
|
+
export type AsObject = {
|
|
342
|
+
word: string;
|
|
343
|
+
confidence: number;
|
|
344
|
+
};
|
|
334
345
|
}
|
|
335
346
|
|
|
336
347
|
export class TranscribeStreamRequest extends jspb.Message {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
348
|
+
getAudioChunk(): Uint8Array | string;
|
|
349
|
+
getAudioChunk_asU8(): Uint8Array;
|
|
350
|
+
getAudioChunk_asB64(): string;
|
|
351
|
+
setAudioChunk(value: Uint8Array | string): TranscribeStreamRequest;
|
|
341
352
|
|
|
342
|
-
|
|
343
|
-
|
|
353
|
+
getEndOfStream(): boolean;
|
|
354
|
+
setEndOfStream(value: boolean): TranscribeStreamRequest;
|
|
344
355
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
356
|
+
getConfig(): TranscribeRequestConfig | undefined;
|
|
357
|
+
setConfig(value?: TranscribeRequestConfig): TranscribeStreamRequest;
|
|
358
|
+
hasConfig(): boolean;
|
|
359
|
+
clearConfig(): TranscribeStreamRequest;
|
|
349
360
|
|
|
350
|
-
|
|
351
|
-
|
|
361
|
+
getMuteAudio(): boolean;
|
|
362
|
+
setMuteAudio(value: boolean): TranscribeStreamRequest;
|
|
352
363
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
364
|
+
serializeBinary(): Uint8Array;
|
|
365
|
+
toObject(includeInstance?: boolean): TranscribeStreamRequest.AsObject;
|
|
366
|
+
static toObject(includeInstance: boolean, msg: TranscribeStreamRequest): TranscribeStreamRequest.AsObject;
|
|
367
|
+
static serializeBinaryToWriter(message: TranscribeStreamRequest, writer: jspb.BinaryWriter): void;
|
|
368
|
+
static deserializeBinary(bytes: Uint8Array): TranscribeStreamRequest;
|
|
369
|
+
static deserializeBinaryFromReader(
|
|
370
|
+
message: TranscribeStreamRequest,
|
|
371
|
+
reader: jspb.BinaryReader
|
|
372
|
+
): TranscribeStreamRequest;
|
|
359
373
|
}
|
|
360
374
|
|
|
361
375
|
export namespace TranscribeStreamRequest {
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
376
|
+
export type AsObject = {
|
|
377
|
+
audioChunk: Uint8Array | string;
|
|
378
|
+
endOfStream: boolean;
|
|
379
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
380
|
+
muteAudio: boolean;
|
|
381
|
+
};
|
|
368
382
|
}
|
|
369
383
|
|
|
370
384
|
export class TranscribeStreamResponse extends jspb.Message {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
385
|
+
getTranscriptionsList(): Array<Transcription>;
|
|
386
|
+
setTranscriptionsList(value: Array<Transcription>): TranscribeStreamResponse;
|
|
387
|
+
clearTranscriptionsList(): TranscribeStreamResponse;
|
|
388
|
+
addTranscriptions(value?: Transcription, index?: number): Transcription;
|
|
375
389
|
|
|
376
|
-
|
|
377
|
-
|
|
390
|
+
getTime(): number;
|
|
391
|
+
setTime(value: number): TranscribeStreamResponse;
|
|
378
392
|
|
|
379
|
-
|
|
380
|
-
|
|
393
|
+
getFinal(): boolean;
|
|
394
|
+
setFinal(value: boolean): TranscribeStreamResponse;
|
|
381
395
|
|
|
382
|
-
|
|
383
|
-
|
|
396
|
+
getReturnAudio(): boolean;
|
|
397
|
+
setReturnAudio(value: boolean): TranscribeStreamResponse;
|
|
384
398
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
399
|
+
getAudio(): Uint8Array | string;
|
|
400
|
+
getAudio_asU8(): Uint8Array;
|
|
401
|
+
getAudio_asB64(): string;
|
|
402
|
+
setAudio(value: Uint8Array | string): TranscribeStreamResponse;
|
|
389
403
|
|
|
390
|
-
|
|
391
|
-
|
|
404
|
+
getUtteranceStart(): boolean;
|
|
405
|
+
setUtteranceStart(value: boolean): TranscribeStreamResponse;
|
|
392
406
|
|
|
393
|
-
|
|
394
|
-
|
|
407
|
+
getAudioUuid(): string;
|
|
408
|
+
setAudioUuid(value: string): TranscribeStreamResponse;
|
|
395
409
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
410
|
+
getConfig(): TranscribeRequestConfig | undefined;
|
|
411
|
+
setConfig(value?: TranscribeRequestConfig): TranscribeStreamResponse;
|
|
412
|
+
hasConfig(): boolean;
|
|
413
|
+
clearConfig(): TranscribeStreamResponse;
|
|
400
414
|
|
|
401
|
-
|
|
415
|
+
getOneofConfigCase(): TranscribeStreamResponse.OneofConfigCase;
|
|
402
416
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
417
|
+
serializeBinary(): Uint8Array;
|
|
418
|
+
toObject(includeInstance?: boolean): TranscribeStreamResponse.AsObject;
|
|
419
|
+
static toObject(includeInstance: boolean, msg: TranscribeStreamResponse): TranscribeStreamResponse.AsObject;
|
|
420
|
+
static serializeBinaryToWriter(message: TranscribeStreamResponse, writer: jspb.BinaryWriter): void;
|
|
421
|
+
static deserializeBinary(bytes: Uint8Array): TranscribeStreamResponse;
|
|
422
|
+
static deserializeBinaryFromReader(
|
|
423
|
+
message: TranscribeStreamResponse,
|
|
424
|
+
reader: jspb.BinaryReader
|
|
425
|
+
): TranscribeStreamResponse;
|
|
409
426
|
}
|
|
410
427
|
|
|
411
428
|
export namespace TranscribeStreamResponse {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
429
|
+
export type AsObject = {
|
|
430
|
+
transcriptionsList: Array<Transcription.AsObject>;
|
|
431
|
+
time: number;
|
|
432
|
+
pb_final: boolean;
|
|
433
|
+
returnAudio: boolean;
|
|
434
|
+
audio: Uint8Array | string;
|
|
435
|
+
utteranceStart: boolean;
|
|
436
|
+
audioUuid: string;
|
|
437
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
export enum OneofConfigCase {
|
|
441
|
+
ONEOF_CONFIG_NOT_SET = 0,
|
|
442
|
+
CONFIG = 8
|
|
443
|
+
}
|
|
427
444
|
}
|
|
428
445
|
|
|
429
446
|
export class TranscribeFileRequest extends jspb.Message {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
447
|
+
getAudioFile(): Uint8Array | string;
|
|
448
|
+
getAudioFile_asU8(): Uint8Array;
|
|
449
|
+
getAudioFile_asB64(): string;
|
|
450
|
+
setAudioFile(value: Uint8Array | string): TranscribeFileRequest;
|
|
434
451
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
452
|
+
getConfig(): TranscribeRequestConfig | undefined;
|
|
453
|
+
setConfig(value?: TranscribeRequestConfig): TranscribeFileRequest;
|
|
454
|
+
hasConfig(): boolean;
|
|
455
|
+
clearConfig(): TranscribeFileRequest;
|
|
439
456
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
457
|
+
serializeBinary(): Uint8Array;
|
|
458
|
+
toObject(includeInstance?: boolean): TranscribeFileRequest.AsObject;
|
|
459
|
+
static toObject(includeInstance: boolean, msg: TranscribeFileRequest): TranscribeFileRequest.AsObject;
|
|
460
|
+
static serializeBinaryToWriter(message: TranscribeFileRequest, writer: jspb.BinaryWriter): void;
|
|
461
|
+
static deserializeBinary(bytes: Uint8Array): TranscribeFileRequest;
|
|
462
|
+
static deserializeBinaryFromReader(message: TranscribeFileRequest, reader: jspb.BinaryReader): TranscribeFileRequest;
|
|
446
463
|
}
|
|
447
464
|
|
|
448
465
|
export namespace TranscribeFileRequest {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
466
|
+
export type AsObject = {
|
|
467
|
+
audioFile: Uint8Array | string;
|
|
468
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
469
|
+
};
|
|
453
470
|
}
|
|
454
471
|
|
|
455
472
|
export class TranscribeFileResponse extends jspb.Message {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
473
|
+
getTranscriptionsList(): Array<Transcription>;
|
|
474
|
+
setTranscriptionsList(value: Array<Transcription>): TranscribeFileResponse;
|
|
475
|
+
clearTranscriptionsList(): TranscribeFileResponse;
|
|
476
|
+
addTranscriptions(value?: Transcription, index?: number): Transcription;
|
|
460
477
|
|
|
461
|
-
|
|
462
|
-
|
|
478
|
+
getTime(): number;
|
|
479
|
+
setTime(value: number): TranscribeFileResponse;
|
|
463
480
|
|
|
464
|
-
|
|
465
|
-
|
|
481
|
+
getAudioUuid(): string;
|
|
482
|
+
setAudioUuid(value: string): TranscribeFileResponse;
|
|
466
483
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
484
|
+
serializeBinary(): Uint8Array;
|
|
485
|
+
toObject(includeInstance?: boolean): TranscribeFileResponse.AsObject;
|
|
486
|
+
static toObject(includeInstance: boolean, msg: TranscribeFileResponse): TranscribeFileResponse.AsObject;
|
|
487
|
+
static serializeBinaryToWriter(message: TranscribeFileResponse, writer: jspb.BinaryWriter): void;
|
|
488
|
+
static deserializeBinary(bytes: Uint8Array): TranscribeFileResponse;
|
|
489
|
+
static deserializeBinaryFromReader(
|
|
490
|
+
message: TranscribeFileResponse,
|
|
491
|
+
reader: jspb.BinaryReader
|
|
492
|
+
): TranscribeFileResponse;
|
|
473
493
|
}
|
|
474
494
|
|
|
475
495
|
export namespace TranscribeFileResponse {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
496
|
+
export type AsObject = {
|
|
497
|
+
transcriptionsList: Array<Transcription.AsObject>;
|
|
498
|
+
time: number;
|
|
499
|
+
audioUuid: string;
|
|
500
|
+
};
|
|
481
501
|
}
|
|
482
502
|
|
|
483
503
|
export class S2tPipelineId extends jspb.Message {
|
|
484
|
-
|
|
485
|
-
|
|
504
|
+
getId(): string;
|
|
505
|
+
setId(value: string): S2tPipelineId;
|
|
486
506
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
507
|
+
serializeBinary(): Uint8Array;
|
|
508
|
+
toObject(includeInstance?: boolean): S2tPipelineId.AsObject;
|
|
509
|
+
static toObject(includeInstance: boolean, msg: S2tPipelineId): S2tPipelineId.AsObject;
|
|
510
|
+
static serializeBinaryToWriter(message: S2tPipelineId, writer: jspb.BinaryWriter): void;
|
|
511
|
+
static deserializeBinary(bytes: Uint8Array): S2tPipelineId;
|
|
512
|
+
static deserializeBinaryFromReader(message: S2tPipelineId, reader: jspb.BinaryReader): S2tPipelineId;
|
|
493
513
|
}
|
|
494
514
|
|
|
495
515
|
export namespace S2tPipelineId {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
516
|
+
export type AsObject = {
|
|
517
|
+
id: string;
|
|
518
|
+
};
|
|
499
519
|
}
|
|
500
520
|
|
|
501
521
|
export class ListS2tPipelinesRequest extends jspb.Message {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
522
|
+
getLanguagesList(): Array<string>;
|
|
523
|
+
setLanguagesList(value: Array<string>): ListS2tPipelinesRequest;
|
|
524
|
+
clearLanguagesList(): ListS2tPipelinesRequest;
|
|
525
|
+
addLanguages(value: string, index?: number): ListS2tPipelinesRequest;
|
|
526
|
+
|
|
527
|
+
getPipelineOwnersList(): Array<string>;
|
|
528
|
+
setPipelineOwnersList(value: Array<string>): ListS2tPipelinesRequest;
|
|
529
|
+
clearPipelineOwnersList(): ListS2tPipelinesRequest;
|
|
530
|
+
addPipelineOwners(value: string, index?: number): ListS2tPipelinesRequest;
|
|
531
|
+
|
|
532
|
+
getDomainsList(): Array<string>;
|
|
533
|
+
setDomainsList(value: Array<string>): ListS2tPipelinesRequest;
|
|
534
|
+
clearDomainsList(): ListS2tPipelinesRequest;
|
|
535
|
+
addDomains(value: string, index?: number): ListS2tPipelinesRequest;
|
|
536
|
+
|
|
537
|
+
getRegisteredOnly(): boolean;
|
|
538
|
+
setRegisteredOnly(value: boolean): ListS2tPipelinesRequest;
|
|
539
|
+
|
|
540
|
+
serializeBinary(): Uint8Array;
|
|
541
|
+
toObject(includeInstance?: boolean): ListS2tPipelinesRequest.AsObject;
|
|
542
|
+
static toObject(includeInstance: boolean, msg: ListS2tPipelinesRequest): ListS2tPipelinesRequest.AsObject;
|
|
543
|
+
static serializeBinaryToWriter(message: ListS2tPipelinesRequest, writer: jspb.BinaryWriter): void;
|
|
544
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tPipelinesRequest;
|
|
545
|
+
static deserializeBinaryFromReader(
|
|
546
|
+
message: ListS2tPipelinesRequest,
|
|
547
|
+
reader: jspb.BinaryReader
|
|
548
|
+
): ListS2tPipelinesRequest;
|
|
526
549
|
}
|
|
527
550
|
|
|
528
551
|
export namespace ListS2tPipelinesRequest {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
552
|
+
export type AsObject = {
|
|
553
|
+
languagesList: Array<string>;
|
|
554
|
+
pipelineOwnersList: Array<string>;
|
|
555
|
+
domainsList: Array<string>;
|
|
556
|
+
registeredOnly: boolean;
|
|
557
|
+
};
|
|
535
558
|
}
|
|
536
559
|
|
|
537
560
|
export class ListS2tPipelinesResponse extends jspb.Message {
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
561
|
+
getPipelineConfigsList(): Array<Speech2TextConfig>;
|
|
562
|
+
setPipelineConfigsList(value: Array<Speech2TextConfig>): ListS2tPipelinesResponse;
|
|
563
|
+
clearPipelineConfigsList(): ListS2tPipelinesResponse;
|
|
564
|
+
addPipelineConfigs(value?: Speech2TextConfig, index?: number): Speech2TextConfig;
|
|
565
|
+
|
|
566
|
+
serializeBinary(): Uint8Array;
|
|
567
|
+
toObject(includeInstance?: boolean): ListS2tPipelinesResponse.AsObject;
|
|
568
|
+
static toObject(includeInstance: boolean, msg: ListS2tPipelinesResponse): ListS2tPipelinesResponse.AsObject;
|
|
569
|
+
static serializeBinaryToWriter(message: ListS2tPipelinesResponse, writer: jspb.BinaryWriter): void;
|
|
570
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tPipelinesResponse;
|
|
571
|
+
static deserializeBinaryFromReader(
|
|
572
|
+
message: ListS2tPipelinesResponse,
|
|
573
|
+
reader: jspb.BinaryReader
|
|
574
|
+
): ListS2tPipelinesResponse;
|
|
549
575
|
}
|
|
550
576
|
|
|
551
577
|
export namespace ListS2tPipelinesResponse {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
578
|
+
export type AsObject = {
|
|
579
|
+
pipelineConfigsList: Array<Speech2TextConfig.AsObject>;
|
|
580
|
+
};
|
|
555
581
|
}
|
|
556
582
|
|
|
557
583
|
export class ListS2tLanguagesRequest extends jspb.Message {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
584
|
+
getDomainsList(): Array<string>;
|
|
585
|
+
setDomainsList(value: Array<string>): ListS2tLanguagesRequest;
|
|
586
|
+
clearDomainsList(): ListS2tLanguagesRequest;
|
|
587
|
+
addDomains(value: string, index?: number): ListS2tLanguagesRequest;
|
|
588
|
+
|
|
589
|
+
getPipelineOwnersList(): Array<string>;
|
|
590
|
+
setPipelineOwnersList(value: Array<string>): ListS2tLanguagesRequest;
|
|
591
|
+
clearPipelineOwnersList(): ListS2tLanguagesRequest;
|
|
592
|
+
addPipelineOwners(value: string, index?: number): ListS2tLanguagesRequest;
|
|
593
|
+
|
|
594
|
+
serializeBinary(): Uint8Array;
|
|
595
|
+
toObject(includeInstance?: boolean): ListS2tLanguagesRequest.AsObject;
|
|
596
|
+
static toObject(includeInstance: boolean, msg: ListS2tLanguagesRequest): ListS2tLanguagesRequest.AsObject;
|
|
597
|
+
static serializeBinaryToWriter(message: ListS2tLanguagesRequest, writer: jspb.BinaryWriter): void;
|
|
598
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tLanguagesRequest;
|
|
599
|
+
static deserializeBinaryFromReader(
|
|
600
|
+
message: ListS2tLanguagesRequest,
|
|
601
|
+
reader: jspb.BinaryReader
|
|
602
|
+
): ListS2tLanguagesRequest;
|
|
574
603
|
}
|
|
575
604
|
|
|
576
605
|
export namespace ListS2tLanguagesRequest {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
606
|
+
export type AsObject = {
|
|
607
|
+
domainsList: Array<string>;
|
|
608
|
+
pipelineOwnersList: Array<string>;
|
|
609
|
+
};
|
|
581
610
|
}
|
|
582
611
|
|
|
583
612
|
export class ListS2tLanguagesResponse extends jspb.Message {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
613
|
+
getLanguagesList(): Array<string>;
|
|
614
|
+
setLanguagesList(value: Array<string>): ListS2tLanguagesResponse;
|
|
615
|
+
clearLanguagesList(): ListS2tLanguagesResponse;
|
|
616
|
+
addLanguages(value: string, index?: number): ListS2tLanguagesResponse;
|
|
617
|
+
|
|
618
|
+
serializeBinary(): Uint8Array;
|
|
619
|
+
toObject(includeInstance?: boolean): ListS2tLanguagesResponse.AsObject;
|
|
620
|
+
static toObject(includeInstance: boolean, msg: ListS2tLanguagesResponse): ListS2tLanguagesResponse.AsObject;
|
|
621
|
+
static serializeBinaryToWriter(message: ListS2tLanguagesResponse, writer: jspb.BinaryWriter): void;
|
|
622
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tLanguagesResponse;
|
|
623
|
+
static deserializeBinaryFromReader(
|
|
624
|
+
message: ListS2tLanguagesResponse,
|
|
625
|
+
reader: jspb.BinaryReader
|
|
626
|
+
): ListS2tLanguagesResponse;
|
|
595
627
|
}
|
|
596
628
|
|
|
597
629
|
export namespace ListS2tLanguagesResponse {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
630
|
+
export type AsObject = {
|
|
631
|
+
languagesList: Array<string>;
|
|
632
|
+
};
|
|
601
633
|
}
|
|
602
634
|
|
|
603
635
|
export class ListS2tDomainsRequest extends jspb.Message {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
636
|
+
getLanguagesList(): Array<string>;
|
|
637
|
+
setLanguagesList(value: Array<string>): ListS2tDomainsRequest;
|
|
638
|
+
clearLanguagesList(): ListS2tDomainsRequest;
|
|
639
|
+
addLanguages(value: string, index?: number): ListS2tDomainsRequest;
|
|
608
640
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
641
|
+
getPipelineOwnersList(): Array<string>;
|
|
642
|
+
setPipelineOwnersList(value: Array<string>): ListS2tDomainsRequest;
|
|
643
|
+
clearPipelineOwnersList(): ListS2tDomainsRequest;
|
|
644
|
+
addPipelineOwners(value: string, index?: number): ListS2tDomainsRequest;
|
|
613
645
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
646
|
+
serializeBinary(): Uint8Array;
|
|
647
|
+
toObject(includeInstance?: boolean): ListS2tDomainsRequest.AsObject;
|
|
648
|
+
static toObject(includeInstance: boolean, msg: ListS2tDomainsRequest): ListS2tDomainsRequest.AsObject;
|
|
649
|
+
static serializeBinaryToWriter(message: ListS2tDomainsRequest, writer: jspb.BinaryWriter): void;
|
|
650
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tDomainsRequest;
|
|
651
|
+
static deserializeBinaryFromReader(message: ListS2tDomainsRequest, reader: jspb.BinaryReader): ListS2tDomainsRequest;
|
|
620
652
|
}
|
|
621
653
|
|
|
622
654
|
export namespace ListS2tDomainsRequest {
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
655
|
+
export type AsObject = {
|
|
656
|
+
languagesList: Array<string>;
|
|
657
|
+
pipelineOwnersList: Array<string>;
|
|
658
|
+
};
|
|
627
659
|
}
|
|
628
660
|
|
|
629
661
|
export class ListS2tDomainsResponse extends jspb.Message {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
662
|
+
getDomainsList(): Array<string>;
|
|
663
|
+
setDomainsList(value: Array<string>): ListS2tDomainsResponse;
|
|
664
|
+
clearDomainsList(): ListS2tDomainsResponse;
|
|
665
|
+
addDomains(value: string, index?: number): ListS2tDomainsResponse;
|
|
666
|
+
|
|
667
|
+
serializeBinary(): Uint8Array;
|
|
668
|
+
toObject(includeInstance?: boolean): ListS2tDomainsResponse.AsObject;
|
|
669
|
+
static toObject(includeInstance: boolean, msg: ListS2tDomainsResponse): ListS2tDomainsResponse.AsObject;
|
|
670
|
+
static serializeBinaryToWriter(message: ListS2tDomainsResponse, writer: jspb.BinaryWriter): void;
|
|
671
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tDomainsResponse;
|
|
672
|
+
static deserializeBinaryFromReader(
|
|
673
|
+
message: ListS2tDomainsResponse,
|
|
674
|
+
reader: jspb.BinaryReader
|
|
675
|
+
): ListS2tDomainsResponse;
|
|
641
676
|
}
|
|
642
677
|
|
|
643
678
|
export namespace ListS2tDomainsResponse {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
679
|
+
export type AsObject = {
|
|
680
|
+
domainsList: Array<string>;
|
|
681
|
+
};
|
|
647
682
|
}
|
|
648
683
|
|
|
649
684
|
export class S2TGetServiceInfoResponse extends jspb.Message {
|
|
650
|
-
|
|
651
|
-
|
|
685
|
+
getVersion(): string;
|
|
686
|
+
setVersion(value: string): S2TGetServiceInfoResponse;
|
|
652
687
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
688
|
+
serializeBinary(): Uint8Array;
|
|
689
|
+
toObject(includeInstance?: boolean): S2TGetServiceInfoResponse.AsObject;
|
|
690
|
+
static toObject(includeInstance: boolean, msg: S2TGetServiceInfoResponse): S2TGetServiceInfoResponse.AsObject;
|
|
691
|
+
static serializeBinaryToWriter(message: S2TGetServiceInfoResponse, writer: jspb.BinaryWriter): void;
|
|
692
|
+
static deserializeBinary(bytes: Uint8Array): S2TGetServiceInfoResponse;
|
|
693
|
+
static deserializeBinaryFromReader(
|
|
694
|
+
message: S2TGetServiceInfoResponse,
|
|
695
|
+
reader: jspb.BinaryReader
|
|
696
|
+
): S2TGetServiceInfoResponse;
|
|
659
697
|
}
|
|
660
698
|
|
|
661
699
|
export namespace S2TGetServiceInfoResponse {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
700
|
+
export type AsObject = {
|
|
701
|
+
version: string;
|
|
702
|
+
};
|
|
665
703
|
}
|
|
666
704
|
|
|
667
705
|
export class Speech2TextConfig extends jspb.Message {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
706
|
+
getId(): string;
|
|
707
|
+
setId(value: string): Speech2TextConfig;
|
|
708
|
+
|
|
709
|
+
getDescription(): S2TDescription | undefined;
|
|
710
|
+
setDescription(value?: S2TDescription): Speech2TextConfig;
|
|
711
|
+
hasDescription(): boolean;
|
|
712
|
+
clearDescription(): Speech2TextConfig;
|
|
713
|
+
|
|
714
|
+
getActive(): boolean;
|
|
715
|
+
setActive(value: boolean): Speech2TextConfig;
|
|
716
|
+
|
|
717
|
+
getInference(): S2TInference | undefined;
|
|
718
|
+
setInference(value?: S2TInference): Speech2TextConfig;
|
|
719
|
+
hasInference(): boolean;
|
|
720
|
+
clearInference(): Speech2TextConfig;
|
|
721
|
+
|
|
722
|
+
getStreamingServer(): StreamingServer | undefined;
|
|
723
|
+
setStreamingServer(value?: StreamingServer): Speech2TextConfig;
|
|
724
|
+
hasStreamingServer(): boolean;
|
|
725
|
+
clearStreamingServer(): Speech2TextConfig;
|
|
726
|
+
|
|
727
|
+
getVoiceActivityDetection(): VoiceActivityDetection | undefined;
|
|
728
|
+
setVoiceActivityDetection(value?: VoiceActivityDetection): Speech2TextConfig;
|
|
729
|
+
hasVoiceActivityDetection(): boolean;
|
|
730
|
+
clearVoiceActivityDetection(): Speech2TextConfig;
|
|
731
|
+
|
|
732
|
+
getPostProcessing(): PostProcessing | undefined;
|
|
733
|
+
setPostProcessing(value?: PostProcessing): Speech2TextConfig;
|
|
734
|
+
hasPostProcessing(): boolean;
|
|
735
|
+
clearPostProcessing(): Speech2TextConfig;
|
|
736
|
+
|
|
737
|
+
getLogging(): Logging | undefined;
|
|
738
|
+
setLogging(value?: Logging): Speech2TextConfig;
|
|
739
|
+
hasLogging(): boolean;
|
|
740
|
+
clearLogging(): Speech2TextConfig;
|
|
741
|
+
|
|
742
|
+
serializeBinary(): Uint8Array;
|
|
743
|
+
toObject(includeInstance?: boolean): Speech2TextConfig.AsObject;
|
|
744
|
+
static toObject(includeInstance: boolean, msg: Speech2TextConfig): Speech2TextConfig.AsObject;
|
|
745
|
+
static serializeBinaryToWriter(message: Speech2TextConfig, writer: jspb.BinaryWriter): void;
|
|
746
|
+
static deserializeBinary(bytes: Uint8Array): Speech2TextConfig;
|
|
747
|
+
static deserializeBinaryFromReader(message: Speech2TextConfig, reader: jspb.BinaryReader): Speech2TextConfig;
|
|
710
748
|
}
|
|
711
749
|
|
|
712
750
|
export namespace Speech2TextConfig {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
751
|
+
export type AsObject = {
|
|
752
|
+
id: string;
|
|
753
|
+
description?: S2TDescription.AsObject;
|
|
754
|
+
active: boolean;
|
|
755
|
+
inference?: S2TInference.AsObject;
|
|
756
|
+
streamingServer?: StreamingServer.AsObject;
|
|
757
|
+
voiceActivityDetection?: VoiceActivityDetection.AsObject;
|
|
758
|
+
postProcessing?: PostProcessing.AsObject;
|
|
759
|
+
logging?: Logging.AsObject;
|
|
760
|
+
};
|
|
723
761
|
}
|
|
724
762
|
|
|
725
763
|
export class S2TDescription extends jspb.Message {
|
|
726
|
-
|
|
727
|
-
|
|
764
|
+
getLanguage(): string;
|
|
765
|
+
setLanguage(value: string): S2TDescription;
|
|
728
766
|
|
|
729
|
-
|
|
730
|
-
|
|
767
|
+
getPipelineOwner(): string;
|
|
768
|
+
setPipelineOwner(value: string): S2TDescription;
|
|
731
769
|
|
|
732
|
-
|
|
733
|
-
|
|
770
|
+
getDomain(): string;
|
|
771
|
+
setDomain(value: string): S2TDescription;
|
|
734
772
|
|
|
735
|
-
|
|
736
|
-
|
|
773
|
+
getComments(): string;
|
|
774
|
+
setComments(value: string): S2TDescription;
|
|
737
775
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
776
|
+
serializeBinary(): Uint8Array;
|
|
777
|
+
toObject(includeInstance?: boolean): S2TDescription.AsObject;
|
|
778
|
+
static toObject(includeInstance: boolean, msg: S2TDescription): S2TDescription.AsObject;
|
|
779
|
+
static serializeBinaryToWriter(message: S2TDescription, writer: jspb.BinaryWriter): void;
|
|
780
|
+
static deserializeBinary(bytes: Uint8Array): S2TDescription;
|
|
781
|
+
static deserializeBinaryFromReader(message: S2TDescription, reader: jspb.BinaryReader): S2TDescription;
|
|
744
782
|
}
|
|
745
783
|
|
|
746
784
|
export namespace S2TDescription {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
785
|
+
export type AsObject = {
|
|
786
|
+
language: string;
|
|
787
|
+
pipelineOwner: string;
|
|
788
|
+
domain: string;
|
|
789
|
+
comments: string;
|
|
790
|
+
};
|
|
753
791
|
}
|
|
754
792
|
|
|
755
793
|
export class S2TInference extends jspb.Message {
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
794
|
+
getAcousticModels(): AcousticModels | undefined;
|
|
795
|
+
setAcousticModels(value?: AcousticModels): S2TInference;
|
|
796
|
+
hasAcousticModels(): boolean;
|
|
797
|
+
clearAcousticModels(): S2TInference;
|
|
760
798
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
799
|
+
getLanguageModels(): LanguageModels | undefined;
|
|
800
|
+
setLanguageModels(value?: LanguageModels): S2TInference;
|
|
801
|
+
hasLanguageModels(): boolean;
|
|
802
|
+
clearLanguageModels(): S2TInference;
|
|
765
803
|
|
|
766
|
-
|
|
767
|
-
|
|
804
|
+
getInferenceBackend(): InferenceBackend;
|
|
805
|
+
setInferenceBackend(value: InferenceBackend): S2TInference;
|
|
768
806
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
807
|
+
serializeBinary(): Uint8Array;
|
|
808
|
+
toObject(includeInstance?: boolean): S2TInference.AsObject;
|
|
809
|
+
static toObject(includeInstance: boolean, msg: S2TInference): S2TInference.AsObject;
|
|
810
|
+
static serializeBinaryToWriter(message: S2TInference, writer: jspb.BinaryWriter): void;
|
|
811
|
+
static deserializeBinary(bytes: Uint8Array): S2TInference;
|
|
812
|
+
static deserializeBinaryFromReader(message: S2TInference, reader: jspb.BinaryReader): S2TInference;
|
|
775
813
|
}
|
|
776
814
|
|
|
777
815
|
export namespace S2TInference {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
816
|
+
export type AsObject = {
|
|
817
|
+
acousticModels?: AcousticModels.AsObject;
|
|
818
|
+
languageModels?: LanguageModels.AsObject;
|
|
819
|
+
inferenceBackend: InferenceBackend;
|
|
820
|
+
};
|
|
783
821
|
}
|
|
784
822
|
|
|
785
823
|
export class AcousticModels extends jspb.Message {
|
|
786
|
-
|
|
787
|
-
|
|
824
|
+
getType(): string;
|
|
825
|
+
setType(value: string): AcousticModels;
|
|
788
826
|
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
827
|
+
getWav2vec(): Wav2Vec | undefined;
|
|
828
|
+
setWav2vec(value?: Wav2Vec): AcousticModels;
|
|
829
|
+
hasWav2vec(): boolean;
|
|
830
|
+
clearWav2vec(): AcousticModels;
|
|
793
831
|
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
832
|
+
getWav2vecTriton(): Wav2VecTriton | undefined;
|
|
833
|
+
setWav2vecTriton(value?: Wav2VecTriton): AcousticModels;
|
|
834
|
+
hasWav2vecTriton(): boolean;
|
|
835
|
+
clearWav2vecTriton(): AcousticModels;
|
|
798
836
|
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
837
|
+
getWhisper(): Whisper | undefined;
|
|
838
|
+
setWhisper(value?: Whisper): AcousticModels;
|
|
839
|
+
hasWhisper(): boolean;
|
|
840
|
+
clearWhisper(): AcousticModels;
|
|
803
841
|
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
842
|
+
getWhisperTriton(): WhisperTriton | undefined;
|
|
843
|
+
setWhisperTriton(value?: WhisperTriton): AcousticModels;
|
|
844
|
+
hasWhisperTriton(): boolean;
|
|
845
|
+
clearWhisperTriton(): AcousticModels;
|
|
808
846
|
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
847
|
+
serializeBinary(): Uint8Array;
|
|
848
|
+
toObject(includeInstance?: boolean): AcousticModels.AsObject;
|
|
849
|
+
static toObject(includeInstance: boolean, msg: AcousticModels): AcousticModels.AsObject;
|
|
850
|
+
static serializeBinaryToWriter(message: AcousticModels, writer: jspb.BinaryWriter): void;
|
|
851
|
+
static deserializeBinary(bytes: Uint8Array): AcousticModels;
|
|
852
|
+
static deserializeBinaryFromReader(message: AcousticModels, reader: jspb.BinaryReader): AcousticModels;
|
|
815
853
|
}
|
|
816
854
|
|
|
817
855
|
export namespace AcousticModels {
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
856
|
+
export type AsObject = {
|
|
857
|
+
type: string;
|
|
858
|
+
wav2vec?: Wav2Vec.AsObject;
|
|
859
|
+
wav2vecTriton?: Wav2VecTriton.AsObject;
|
|
860
|
+
whisper?: Whisper.AsObject;
|
|
861
|
+
whisperTriton?: WhisperTriton.AsObject;
|
|
862
|
+
};
|
|
825
863
|
}
|
|
826
864
|
|
|
827
865
|
export class Whisper extends jspb.Message {
|
|
828
|
-
|
|
829
|
-
|
|
866
|
+
getModelPath(): string;
|
|
867
|
+
setModelPath(value: string): Whisper;
|
|
830
868
|
|
|
831
|
-
|
|
832
|
-
|
|
869
|
+
getUseGpu(): boolean;
|
|
870
|
+
setUseGpu(value: boolean): Whisper;
|
|
833
871
|
|
|
834
|
-
|
|
835
|
-
|
|
872
|
+
getLanguage(): string;
|
|
873
|
+
setLanguage(value: string): Whisper;
|
|
836
874
|
|
|
837
|
-
|
|
838
|
-
|
|
875
|
+
getTask(): string;
|
|
876
|
+
setTask(value: string): Whisper;
|
|
839
877
|
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
878
|
+
serializeBinary(): Uint8Array;
|
|
879
|
+
toObject(includeInstance?: boolean): Whisper.AsObject;
|
|
880
|
+
static toObject(includeInstance: boolean, msg: Whisper): Whisper.AsObject;
|
|
881
|
+
static serializeBinaryToWriter(message: Whisper, writer: jspb.BinaryWriter): void;
|
|
882
|
+
static deserializeBinary(bytes: Uint8Array): Whisper;
|
|
883
|
+
static deserializeBinaryFromReader(message: Whisper, reader: jspb.BinaryReader): Whisper;
|
|
846
884
|
}
|
|
847
885
|
|
|
848
886
|
export namespace Whisper {
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
887
|
+
export type AsObject = {
|
|
888
|
+
modelPath: string;
|
|
889
|
+
useGpu: boolean;
|
|
890
|
+
language: string;
|
|
891
|
+
task: string;
|
|
892
|
+
};
|
|
855
893
|
}
|
|
856
894
|
|
|
857
895
|
export class WhisperTriton extends jspb.Message {
|
|
858
|
-
|
|
859
|
-
|
|
896
|
+
getProcessorPath(): string;
|
|
897
|
+
setProcessorPath(value: string): WhisperTriton;
|
|
860
898
|
|
|
861
|
-
|
|
862
|
-
|
|
899
|
+
getTritonModelName(): string;
|
|
900
|
+
setTritonModelName(value: string): WhisperTriton;
|
|
863
901
|
|
|
864
|
-
|
|
865
|
-
|
|
902
|
+
getTritonModelVersion(): string;
|
|
903
|
+
setTritonModelVersion(value: string): WhisperTriton;
|
|
866
904
|
|
|
867
|
-
|
|
868
|
-
|
|
905
|
+
getCheckStatusTimeout(): number;
|
|
906
|
+
setCheckStatusTimeout(value: number): WhisperTriton;
|
|
869
907
|
|
|
870
|
-
|
|
871
|
-
|
|
908
|
+
getLanguage(): string;
|
|
909
|
+
setLanguage(value: string): WhisperTriton;
|
|
872
910
|
|
|
873
|
-
|
|
874
|
-
|
|
911
|
+
getTask(): string;
|
|
912
|
+
setTask(value: string): WhisperTriton;
|
|
875
913
|
|
|
876
|
-
|
|
877
|
-
|
|
914
|
+
getTritonServerHost(): string;
|
|
915
|
+
setTritonServerHost(value: string): WhisperTriton;
|
|
878
916
|
|
|
879
|
-
|
|
880
|
-
|
|
917
|
+
getTritonServerPort(): number;
|
|
918
|
+
setTritonServerPort(value: number): WhisperTriton;
|
|
881
919
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
920
|
+
serializeBinary(): Uint8Array;
|
|
921
|
+
toObject(includeInstance?: boolean): WhisperTriton.AsObject;
|
|
922
|
+
static toObject(includeInstance: boolean, msg: WhisperTriton): WhisperTriton.AsObject;
|
|
923
|
+
static serializeBinaryToWriter(message: WhisperTriton, writer: jspb.BinaryWriter): void;
|
|
924
|
+
static deserializeBinary(bytes: Uint8Array): WhisperTriton;
|
|
925
|
+
static deserializeBinaryFromReader(message: WhisperTriton, reader: jspb.BinaryReader): WhisperTriton;
|
|
888
926
|
}
|
|
889
927
|
|
|
890
928
|
export namespace WhisperTriton {
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
929
|
+
export type AsObject = {
|
|
930
|
+
processorPath: string;
|
|
931
|
+
tritonModelName: string;
|
|
932
|
+
tritonModelVersion: string;
|
|
933
|
+
checkStatusTimeout: number;
|
|
934
|
+
language: string;
|
|
935
|
+
task: string;
|
|
936
|
+
tritonServerHost: string;
|
|
937
|
+
tritonServerPort: number;
|
|
938
|
+
};
|
|
901
939
|
}
|
|
902
940
|
|
|
903
941
|
export class Wav2Vec extends jspb.Message {
|
|
904
|
-
|
|
905
|
-
|
|
942
|
+
getModelPath(): string;
|
|
943
|
+
setModelPath(value: string): Wav2Vec;
|
|
906
944
|
|
|
907
|
-
|
|
908
|
-
|
|
945
|
+
getUseGpu(): boolean;
|
|
946
|
+
setUseGpu(value: boolean): Wav2Vec;
|
|
909
947
|
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
948
|
+
serializeBinary(): Uint8Array;
|
|
949
|
+
toObject(includeInstance?: boolean): Wav2Vec.AsObject;
|
|
950
|
+
static toObject(includeInstance: boolean, msg: Wav2Vec): Wav2Vec.AsObject;
|
|
951
|
+
static serializeBinaryToWriter(message: Wav2Vec, writer: jspb.BinaryWriter): void;
|
|
952
|
+
static deserializeBinary(bytes: Uint8Array): Wav2Vec;
|
|
953
|
+
static deserializeBinaryFromReader(message: Wav2Vec, reader: jspb.BinaryReader): Wav2Vec;
|
|
916
954
|
}
|
|
917
955
|
|
|
918
956
|
export namespace Wav2Vec {
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
957
|
+
export type AsObject = {
|
|
958
|
+
modelPath: string;
|
|
959
|
+
useGpu: boolean;
|
|
960
|
+
};
|
|
923
961
|
}
|
|
924
962
|
|
|
925
963
|
export class Wav2VecTriton extends jspb.Message {
|
|
926
|
-
|
|
927
|
-
|
|
964
|
+
getProcessorPath(): string;
|
|
965
|
+
setProcessorPath(value: string): Wav2VecTriton;
|
|
928
966
|
|
|
929
|
-
|
|
930
|
-
|
|
967
|
+
getTritonModelName(): string;
|
|
968
|
+
setTritonModelName(value: string): Wav2VecTriton;
|
|
931
969
|
|
|
932
|
-
|
|
933
|
-
|
|
970
|
+
getTritonModelVersion(): string;
|
|
971
|
+
setTritonModelVersion(value: string): Wav2VecTriton;
|
|
934
972
|
|
|
935
|
-
|
|
936
|
-
|
|
973
|
+
getCheckStatusTimeout(): number;
|
|
974
|
+
setCheckStatusTimeout(value: number): Wav2VecTriton;
|
|
937
975
|
|
|
938
|
-
|
|
939
|
-
|
|
976
|
+
getTritonServerHost(): string;
|
|
977
|
+
setTritonServerHost(value: string): Wav2VecTriton;
|
|
940
978
|
|
|
941
|
-
|
|
942
|
-
|
|
979
|
+
getTritonServerPort(): number;
|
|
980
|
+
setTritonServerPort(value: number): Wav2VecTriton;
|
|
943
981
|
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
982
|
+
serializeBinary(): Uint8Array;
|
|
983
|
+
toObject(includeInstance?: boolean): Wav2VecTriton.AsObject;
|
|
984
|
+
static toObject(includeInstance: boolean, msg: Wav2VecTriton): Wav2VecTriton.AsObject;
|
|
985
|
+
static serializeBinaryToWriter(message: Wav2VecTriton, writer: jspb.BinaryWriter): void;
|
|
986
|
+
static deserializeBinary(bytes: Uint8Array): Wav2VecTriton;
|
|
987
|
+
static deserializeBinaryFromReader(message: Wav2VecTriton, reader: jspb.BinaryReader): Wav2VecTriton;
|
|
950
988
|
}
|
|
951
989
|
|
|
952
990
|
export namespace Wav2VecTriton {
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
991
|
+
export type AsObject = {
|
|
992
|
+
processorPath: string;
|
|
993
|
+
tritonModelName: string;
|
|
994
|
+
tritonModelVersion: string;
|
|
995
|
+
checkStatusTimeout: number;
|
|
996
|
+
tritonServerHost: string;
|
|
997
|
+
tritonServerPort: number;
|
|
998
|
+
};
|
|
961
999
|
}
|
|
962
1000
|
|
|
963
1001
|
export class PtFiles extends jspb.Message {
|
|
964
|
-
|
|
965
|
-
|
|
1002
|
+
getPath(): string;
|
|
1003
|
+
setPath(value: string): PtFiles;
|
|
966
1004
|
|
|
967
|
-
|
|
968
|
-
|
|
1005
|
+
getStep(): string;
|
|
1006
|
+
setStep(value: string): PtFiles;
|
|
969
1007
|
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
1008
|
+
serializeBinary(): Uint8Array;
|
|
1009
|
+
toObject(includeInstance?: boolean): PtFiles.AsObject;
|
|
1010
|
+
static toObject(includeInstance: boolean, msg: PtFiles): PtFiles.AsObject;
|
|
1011
|
+
static serializeBinaryToWriter(message: PtFiles, writer: jspb.BinaryWriter): void;
|
|
1012
|
+
static deserializeBinary(bytes: Uint8Array): PtFiles;
|
|
1013
|
+
static deserializeBinaryFromReader(message: PtFiles, reader: jspb.BinaryReader): PtFiles;
|
|
976
1014
|
}
|
|
977
1015
|
|
|
978
1016
|
export namespace PtFiles {
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1017
|
+
export type AsObject = {
|
|
1018
|
+
path: string;
|
|
1019
|
+
step: string;
|
|
1020
|
+
};
|
|
983
1021
|
}
|
|
984
1022
|
|
|
985
1023
|
export class CkptFile extends jspb.Message {
|
|
986
|
-
|
|
987
|
-
|
|
1024
|
+
getPath(): string;
|
|
1025
|
+
setPath(value: string): CkptFile;
|
|
988
1026
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1027
|
+
serializeBinary(): Uint8Array;
|
|
1028
|
+
toObject(includeInstance?: boolean): CkptFile.AsObject;
|
|
1029
|
+
static toObject(includeInstance: boolean, msg: CkptFile): CkptFile.AsObject;
|
|
1030
|
+
static serializeBinaryToWriter(message: CkptFile, writer: jspb.BinaryWriter): void;
|
|
1031
|
+
static deserializeBinary(bytes: Uint8Array): CkptFile;
|
|
1032
|
+
static deserializeBinaryFromReader(message: CkptFile, reader: jspb.BinaryReader): CkptFile;
|
|
995
1033
|
}
|
|
996
1034
|
|
|
997
1035
|
export namespace CkptFile {
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1036
|
+
export type AsObject = {
|
|
1037
|
+
path: string;
|
|
1038
|
+
};
|
|
1001
1039
|
}
|
|
1002
1040
|
|
|
1003
1041
|
export class LanguageModels extends jspb.Message {
|
|
1004
|
-
|
|
1005
|
-
|
|
1042
|
+
getPath(): string;
|
|
1043
|
+
setPath(value: string): LanguageModels;
|
|
1006
1044
|
|
|
1007
|
-
|
|
1008
|
-
|
|
1045
|
+
getBeamSize(): number;
|
|
1046
|
+
setBeamSize(value: number): LanguageModels;
|
|
1009
1047
|
|
|
1010
|
-
|
|
1011
|
-
|
|
1048
|
+
getDefaultLm(): string;
|
|
1049
|
+
setDefaultLm(value: string): LanguageModels;
|
|
1012
1050
|
|
|
1013
|
-
|
|
1014
|
-
|
|
1051
|
+
getBeamSearchScorerAlpha(): number;
|
|
1052
|
+
setBeamSearchScorerAlpha(value: number): LanguageModels;
|
|
1015
1053
|
|
|
1016
|
-
|
|
1017
|
-
|
|
1054
|
+
getBeamSearchScorerBeta(): number;
|
|
1055
|
+
setBeamSearchScorerBeta(value: number): LanguageModels;
|
|
1018
1056
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1057
|
+
serializeBinary(): Uint8Array;
|
|
1058
|
+
toObject(includeInstance?: boolean): LanguageModels.AsObject;
|
|
1059
|
+
static toObject(includeInstance: boolean, msg: LanguageModels): LanguageModels.AsObject;
|
|
1060
|
+
static serializeBinaryToWriter(message: LanguageModels, writer: jspb.BinaryWriter): void;
|
|
1061
|
+
static deserializeBinary(bytes: Uint8Array): LanguageModels;
|
|
1062
|
+
static deserializeBinaryFromReader(message: LanguageModels, reader: jspb.BinaryReader): LanguageModels;
|
|
1025
1063
|
}
|
|
1026
1064
|
|
|
1027
1065
|
export namespace LanguageModels {
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1066
|
+
export type AsObject = {
|
|
1067
|
+
path: string;
|
|
1068
|
+
beamSize: number;
|
|
1069
|
+
defaultLm: string;
|
|
1070
|
+
beamSearchScorerAlpha: number;
|
|
1071
|
+
beamSearchScorerBeta: number;
|
|
1072
|
+
};
|
|
1035
1073
|
}
|
|
1036
1074
|
|
|
1037
1075
|
export class StreamingServer extends jspb.Message {
|
|
1038
|
-
|
|
1039
|
-
|
|
1076
|
+
getHost(): string;
|
|
1077
|
+
setHost(value: string): StreamingServer;
|
|
1040
1078
|
|
|
1041
|
-
|
|
1042
|
-
|
|
1079
|
+
getPort(): number;
|
|
1080
|
+
setPort(value: number): StreamingServer;
|
|
1043
1081
|
|
|
1044
|
-
|
|
1045
|
-
|
|
1082
|
+
getOutputStyle(): string;
|
|
1083
|
+
setOutputStyle(value: string): StreamingServer;
|
|
1046
1084
|
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1085
|
+
getStreamingSpeechRecognition(): StreamingSpeechRecognition | undefined;
|
|
1086
|
+
setStreamingSpeechRecognition(value?: StreamingSpeechRecognition): StreamingServer;
|
|
1087
|
+
hasStreamingSpeechRecognition(): boolean;
|
|
1088
|
+
clearStreamingSpeechRecognition(): StreamingServer;
|
|
1051
1089
|
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1090
|
+
serializeBinary(): Uint8Array;
|
|
1091
|
+
toObject(includeInstance?: boolean): StreamingServer.AsObject;
|
|
1092
|
+
static toObject(includeInstance: boolean, msg: StreamingServer): StreamingServer.AsObject;
|
|
1093
|
+
static serializeBinaryToWriter(message: StreamingServer, writer: jspb.BinaryWriter): void;
|
|
1094
|
+
static deserializeBinary(bytes: Uint8Array): StreamingServer;
|
|
1095
|
+
static deserializeBinaryFromReader(message: StreamingServer, reader: jspb.BinaryReader): StreamingServer;
|
|
1058
1096
|
}
|
|
1059
1097
|
|
|
1060
1098
|
export namespace StreamingServer {
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1099
|
+
export type AsObject = {
|
|
1100
|
+
host: string;
|
|
1101
|
+
port: number;
|
|
1102
|
+
outputStyle: string;
|
|
1103
|
+
streamingSpeechRecognition?: StreamingSpeechRecognition.AsObject;
|
|
1104
|
+
};
|
|
1067
1105
|
}
|
|
1068
1106
|
|
|
1069
1107
|
export class StreamingSpeechRecognition extends jspb.Message {
|
|
1070
|
-
|
|
1071
|
-
|
|
1108
|
+
getTranscribeNotFinal(): boolean;
|
|
1109
|
+
setTranscribeNotFinal(value: boolean): StreamingSpeechRecognition;
|
|
1072
1110
|
|
|
1073
|
-
|
|
1074
|
-
|
|
1111
|
+
getDecodingMethod(): string;
|
|
1112
|
+
setDecodingMethod(value: string): StreamingSpeechRecognition;
|
|
1075
1113
|
|
|
1076
|
-
|
|
1077
|
-
|
|
1114
|
+
getSamplingRate(): number;
|
|
1115
|
+
setSamplingRate(value: number): StreamingSpeechRecognition;
|
|
1078
1116
|
|
|
1079
|
-
|
|
1080
|
-
|
|
1117
|
+
getMinAudioChunkSize(): number;
|
|
1118
|
+
setMinAudioChunkSize(value: number): StreamingSpeechRecognition;
|
|
1081
1119
|
|
|
1082
|
-
|
|
1083
|
-
|
|
1120
|
+
getNextChunkTimeout(): number;
|
|
1121
|
+
setNextChunkTimeout(value: number): StreamingSpeechRecognition;
|
|
1084
1122
|
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1123
|
+
serializeBinary(): Uint8Array;
|
|
1124
|
+
toObject(includeInstance?: boolean): StreamingSpeechRecognition.AsObject;
|
|
1125
|
+
static toObject(includeInstance: boolean, msg: StreamingSpeechRecognition): StreamingSpeechRecognition.AsObject;
|
|
1126
|
+
static serializeBinaryToWriter(message: StreamingSpeechRecognition, writer: jspb.BinaryWriter): void;
|
|
1127
|
+
static deserializeBinary(bytes: Uint8Array): StreamingSpeechRecognition;
|
|
1128
|
+
static deserializeBinaryFromReader(
|
|
1129
|
+
message: StreamingSpeechRecognition,
|
|
1130
|
+
reader: jspb.BinaryReader
|
|
1131
|
+
): StreamingSpeechRecognition;
|
|
1091
1132
|
}
|
|
1092
1133
|
|
|
1093
1134
|
export namespace StreamingSpeechRecognition {
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1135
|
+
export type AsObject = {
|
|
1136
|
+
transcribeNotFinal: boolean;
|
|
1137
|
+
decodingMethod: string;
|
|
1138
|
+
samplingRate: number;
|
|
1139
|
+
minAudioChunkSize: number;
|
|
1140
|
+
nextChunkTimeout: number;
|
|
1141
|
+
};
|
|
1101
1142
|
}
|
|
1102
1143
|
|
|
1103
1144
|
export class VoiceActivityDetection extends jspb.Message {
|
|
1104
|
-
|
|
1105
|
-
|
|
1145
|
+
getActive(): string;
|
|
1146
|
+
setActive(value: string): VoiceActivityDetection;
|
|
1106
1147
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1148
|
+
getSamplingRate(): number;
|
|
1149
|
+
setSamplingRate(value: number): VoiceActivityDetection;
|
|
1109
1150
|
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1151
|
+
getPyannote(): Pyannote | undefined;
|
|
1152
|
+
setPyannote(value?: Pyannote): VoiceActivityDetection;
|
|
1153
|
+
hasPyannote(): boolean;
|
|
1154
|
+
clearPyannote(): VoiceActivityDetection;
|
|
1114
1155
|
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1156
|
+
serializeBinary(): Uint8Array;
|
|
1157
|
+
toObject(includeInstance?: boolean): VoiceActivityDetection.AsObject;
|
|
1158
|
+
static toObject(includeInstance: boolean, msg: VoiceActivityDetection): VoiceActivityDetection.AsObject;
|
|
1159
|
+
static serializeBinaryToWriter(message: VoiceActivityDetection, writer: jspb.BinaryWriter): void;
|
|
1160
|
+
static deserializeBinary(bytes: Uint8Array): VoiceActivityDetection;
|
|
1161
|
+
static deserializeBinaryFromReader(
|
|
1162
|
+
message: VoiceActivityDetection,
|
|
1163
|
+
reader: jspb.BinaryReader
|
|
1164
|
+
): VoiceActivityDetection;
|
|
1121
1165
|
}
|
|
1122
1166
|
|
|
1123
1167
|
export namespace VoiceActivityDetection {
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1168
|
+
export type AsObject = {
|
|
1169
|
+
active: string;
|
|
1170
|
+
samplingRate: number;
|
|
1171
|
+
pyannote?: Pyannote.AsObject;
|
|
1172
|
+
};
|
|
1129
1173
|
}
|
|
1130
1174
|
|
|
1131
1175
|
export class Pyannote extends jspb.Message {
|
|
1132
|
-
|
|
1133
|
-
|
|
1176
|
+
getModelName(): string;
|
|
1177
|
+
setModelName(value: string): Pyannote;
|
|
1134
1178
|
|
|
1135
|
-
|
|
1136
|
-
|
|
1179
|
+
getMinAudioSize(): number;
|
|
1180
|
+
setMinAudioSize(value: number): Pyannote;
|
|
1137
1181
|
|
|
1138
|
-
|
|
1139
|
-
|
|
1182
|
+
getMinDurationOff(): number;
|
|
1183
|
+
setMinDurationOff(value: number): Pyannote;
|
|
1140
1184
|
|
|
1141
|
-
|
|
1142
|
-
|
|
1185
|
+
getMinDurationOn(): number;
|
|
1186
|
+
setMinDurationOn(value: number): Pyannote;
|
|
1143
1187
|
|
|
1144
|
-
|
|
1145
|
-
|
|
1188
|
+
getTritonServerHost(): string;
|
|
1189
|
+
setTritonServerHost(value: string): Pyannote;
|
|
1146
1190
|
|
|
1147
|
-
|
|
1148
|
-
|
|
1191
|
+
getTritonServerPort(): number;
|
|
1192
|
+
setTritonServerPort(value: number): Pyannote;
|
|
1149
1193
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1194
|
+
serializeBinary(): Uint8Array;
|
|
1195
|
+
toObject(includeInstance?: boolean): Pyannote.AsObject;
|
|
1196
|
+
static toObject(includeInstance: boolean, msg: Pyannote): Pyannote.AsObject;
|
|
1197
|
+
static serializeBinaryToWriter(message: Pyannote, writer: jspb.BinaryWriter): void;
|
|
1198
|
+
static deserializeBinary(bytes: Uint8Array): Pyannote;
|
|
1199
|
+
static deserializeBinaryFromReader(message: Pyannote, reader: jspb.BinaryReader): Pyannote;
|
|
1156
1200
|
}
|
|
1157
1201
|
|
|
1158
1202
|
export namespace Pyannote {
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1203
|
+
export type AsObject = {
|
|
1204
|
+
modelName: string;
|
|
1205
|
+
minAudioSize: number;
|
|
1206
|
+
minDurationOff: number;
|
|
1207
|
+
minDurationOn: number;
|
|
1208
|
+
tritonServerHost: string;
|
|
1209
|
+
tritonServerPort: number;
|
|
1210
|
+
};
|
|
1167
1211
|
}
|
|
1168
1212
|
|
|
1169
1213
|
export class PostProcessing extends jspb.Message {
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1214
|
+
getPipelineList(): Array<string>;
|
|
1215
|
+
setPipelineList(value: Array<string>): PostProcessing;
|
|
1216
|
+
clearPipelineList(): PostProcessing;
|
|
1217
|
+
addPipeline(value: string, index?: number): PostProcessing;
|
|
1174
1218
|
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1219
|
+
getPostProcessors(): PostProcessors | undefined;
|
|
1220
|
+
setPostProcessors(value?: PostProcessors): PostProcessing;
|
|
1221
|
+
hasPostProcessors(): boolean;
|
|
1222
|
+
clearPostProcessors(): PostProcessing;
|
|
1179
1223
|
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1224
|
+
serializeBinary(): Uint8Array;
|
|
1225
|
+
toObject(includeInstance?: boolean): PostProcessing.AsObject;
|
|
1226
|
+
static toObject(includeInstance: boolean, msg: PostProcessing): PostProcessing.AsObject;
|
|
1227
|
+
static serializeBinaryToWriter(message: PostProcessing, writer: jspb.BinaryWriter): void;
|
|
1228
|
+
static deserializeBinary(bytes: Uint8Array): PostProcessing;
|
|
1229
|
+
static deserializeBinaryFromReader(message: PostProcessing, reader: jspb.BinaryReader): PostProcessing;
|
|
1186
1230
|
}
|
|
1187
1231
|
|
|
1188
1232
|
export namespace PostProcessing {
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1233
|
+
export type AsObject = {
|
|
1234
|
+
pipelineList: Array<string>;
|
|
1235
|
+
postProcessors?: PostProcessors.AsObject;
|
|
1236
|
+
};
|
|
1193
1237
|
}
|
|
1194
1238
|
|
|
1195
1239
|
export class PostProcessors extends jspb.Message {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1240
|
+
getSymSpell(): SymSpell | undefined;
|
|
1241
|
+
setSymSpell(value?: SymSpell): PostProcessors;
|
|
1242
|
+
hasSymSpell(): boolean;
|
|
1243
|
+
clearSymSpell(): PostProcessors;
|
|
1200
1244
|
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1245
|
+
getNormalization(): S2TNormalization | undefined;
|
|
1246
|
+
setNormalization(value?: S2TNormalization): PostProcessors;
|
|
1247
|
+
hasNormalization(): boolean;
|
|
1248
|
+
clearNormalization(): PostProcessors;
|
|
1205
1249
|
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1250
|
+
serializeBinary(): Uint8Array;
|
|
1251
|
+
toObject(includeInstance?: boolean): PostProcessors.AsObject;
|
|
1252
|
+
static toObject(includeInstance: boolean, msg: PostProcessors): PostProcessors.AsObject;
|
|
1253
|
+
static serializeBinaryToWriter(message: PostProcessors, writer: jspb.BinaryWriter): void;
|
|
1254
|
+
static deserializeBinary(bytes: Uint8Array): PostProcessors;
|
|
1255
|
+
static deserializeBinaryFromReader(message: PostProcessors, reader: jspb.BinaryReader): PostProcessors;
|
|
1212
1256
|
}
|
|
1213
1257
|
|
|
1214
1258
|
export namespace PostProcessors {
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1259
|
+
export type AsObject = {
|
|
1260
|
+
symSpell?: SymSpell.AsObject;
|
|
1261
|
+
normalization?: S2TNormalization.AsObject;
|
|
1262
|
+
};
|
|
1219
1263
|
}
|
|
1220
1264
|
|
|
1221
1265
|
export class SymSpell extends jspb.Message {
|
|
1222
|
-
|
|
1223
|
-
|
|
1266
|
+
getDictPath(): string;
|
|
1267
|
+
setDictPath(value: string): SymSpell;
|
|
1224
1268
|
|
|
1225
|
-
|
|
1226
|
-
|
|
1269
|
+
getMaxDictionaryEditDistance(): number;
|
|
1270
|
+
setMaxDictionaryEditDistance(value: number): SymSpell;
|
|
1227
1271
|
|
|
1228
|
-
|
|
1229
|
-
|
|
1272
|
+
getPrefixLength(): number;
|
|
1273
|
+
setPrefixLength(value: number): SymSpell;
|
|
1230
1274
|
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1275
|
+
serializeBinary(): Uint8Array;
|
|
1276
|
+
toObject(includeInstance?: boolean): SymSpell.AsObject;
|
|
1277
|
+
static toObject(includeInstance: boolean, msg: SymSpell): SymSpell.AsObject;
|
|
1278
|
+
static serializeBinaryToWriter(message: SymSpell, writer: jspb.BinaryWriter): void;
|
|
1279
|
+
static deserializeBinary(bytes: Uint8Array): SymSpell;
|
|
1280
|
+
static deserializeBinaryFromReader(message: SymSpell, reader: jspb.BinaryReader): SymSpell;
|
|
1237
1281
|
}
|
|
1238
1282
|
|
|
1239
1283
|
export namespace SymSpell {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1284
|
+
export type AsObject = {
|
|
1285
|
+
dictPath: string;
|
|
1286
|
+
maxDictionaryEditDistance: number;
|
|
1287
|
+
prefixLength: number;
|
|
1288
|
+
};
|
|
1245
1289
|
}
|
|
1246
1290
|
|
|
1247
1291
|
export class S2TNormalization extends jspb.Message {
|
|
1248
|
-
|
|
1249
|
-
|
|
1292
|
+
getLanguage(): string;
|
|
1293
|
+
setLanguage(value: string): S2TNormalization;
|
|
1250
1294
|
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1295
|
+
serializeBinary(): Uint8Array;
|
|
1296
|
+
toObject(includeInstance?: boolean): S2TNormalization.AsObject;
|
|
1297
|
+
static toObject(includeInstance: boolean, msg: S2TNormalization): S2TNormalization.AsObject;
|
|
1298
|
+
static serializeBinaryToWriter(message: S2TNormalization, writer: jspb.BinaryWriter): void;
|
|
1299
|
+
static deserializeBinary(bytes: Uint8Array): S2TNormalization;
|
|
1300
|
+
static deserializeBinaryFromReader(message: S2TNormalization, reader: jspb.BinaryReader): S2TNormalization;
|
|
1257
1301
|
}
|
|
1258
1302
|
|
|
1259
1303
|
export namespace S2TNormalization {
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1304
|
+
export type AsObject = {
|
|
1305
|
+
language: string;
|
|
1306
|
+
};
|
|
1263
1307
|
}
|
|
1264
1308
|
|
|
1265
1309
|
export class Logging extends jspb.Message {
|
|
1266
|
-
|
|
1267
|
-
|
|
1310
|
+
getType(): string;
|
|
1311
|
+
setType(value: string): Logging;
|
|
1268
1312
|
|
|
1269
|
-
|
|
1270
|
-
|
|
1313
|
+
getPath(): string;
|
|
1314
|
+
setPath(value: string): Logging;
|
|
1271
1315
|
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1316
|
+
serializeBinary(): Uint8Array;
|
|
1317
|
+
toObject(includeInstance?: boolean): Logging.AsObject;
|
|
1318
|
+
static toObject(includeInstance: boolean, msg: Logging): Logging.AsObject;
|
|
1319
|
+
static serializeBinaryToWriter(message: Logging, writer: jspb.BinaryWriter): void;
|
|
1320
|
+
static deserializeBinary(bytes: Uint8Array): Logging;
|
|
1321
|
+
static deserializeBinaryFromReader(message: Logging, reader: jspb.BinaryReader): Logging;
|
|
1278
1322
|
}
|
|
1279
1323
|
|
|
1280
1324
|
export namespace Logging {
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1325
|
+
export type AsObject = {
|
|
1326
|
+
type: string;
|
|
1327
|
+
path: string;
|
|
1328
|
+
};
|
|
1285
1329
|
}
|
|
1286
1330
|
|
|
1287
1331
|
export class ListS2tLanguageModelsRequest extends jspb.Message {
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1332
|
+
getIdsList(): Array<string>;
|
|
1333
|
+
setIdsList(value: Array<string>): ListS2tLanguageModelsRequest;
|
|
1334
|
+
clearIdsList(): ListS2tLanguageModelsRequest;
|
|
1335
|
+
addIds(value: string, index?: number): ListS2tLanguageModelsRequest;
|
|
1336
|
+
|
|
1337
|
+
serializeBinary(): Uint8Array;
|
|
1338
|
+
toObject(includeInstance?: boolean): ListS2tLanguageModelsRequest.AsObject;
|
|
1339
|
+
static toObject(includeInstance: boolean, msg: ListS2tLanguageModelsRequest): ListS2tLanguageModelsRequest.AsObject;
|
|
1340
|
+
static serializeBinaryToWriter(message: ListS2tLanguageModelsRequest, writer: jspb.BinaryWriter): void;
|
|
1341
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tLanguageModelsRequest;
|
|
1342
|
+
static deserializeBinaryFromReader(
|
|
1343
|
+
message: ListS2tLanguageModelsRequest,
|
|
1344
|
+
reader: jspb.BinaryReader
|
|
1345
|
+
): ListS2tLanguageModelsRequest;
|
|
1299
1346
|
}
|
|
1300
1347
|
|
|
1301
1348
|
export namespace ListS2tLanguageModelsRequest {
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1349
|
+
export type AsObject = {
|
|
1350
|
+
idsList: Array<string>;
|
|
1351
|
+
};
|
|
1305
1352
|
}
|
|
1306
1353
|
|
|
1307
1354
|
export class LanguageModelPipelineId extends jspb.Message {
|
|
1308
|
-
|
|
1309
|
-
|
|
1355
|
+
getPipelineId(): string;
|
|
1356
|
+
setPipelineId(value: string): LanguageModelPipelineId;
|
|
1310
1357
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1358
|
+
getModelNamesList(): Array<string>;
|
|
1359
|
+
setModelNamesList(value: Array<string>): LanguageModelPipelineId;
|
|
1360
|
+
clearModelNamesList(): LanguageModelPipelineId;
|
|
1361
|
+
addModelNames(value: string, index?: number): LanguageModelPipelineId;
|
|
1315
1362
|
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1363
|
+
serializeBinary(): Uint8Array;
|
|
1364
|
+
toObject(includeInstance?: boolean): LanguageModelPipelineId.AsObject;
|
|
1365
|
+
static toObject(includeInstance: boolean, msg: LanguageModelPipelineId): LanguageModelPipelineId.AsObject;
|
|
1366
|
+
static serializeBinaryToWriter(message: LanguageModelPipelineId, writer: jspb.BinaryWriter): void;
|
|
1367
|
+
static deserializeBinary(bytes: Uint8Array): LanguageModelPipelineId;
|
|
1368
|
+
static deserializeBinaryFromReader(
|
|
1369
|
+
message: LanguageModelPipelineId,
|
|
1370
|
+
reader: jspb.BinaryReader
|
|
1371
|
+
): LanguageModelPipelineId;
|
|
1322
1372
|
}
|
|
1323
1373
|
|
|
1324
1374
|
export namespace LanguageModelPipelineId {
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1375
|
+
export type AsObject = {
|
|
1376
|
+
pipelineId: string;
|
|
1377
|
+
modelNamesList: Array<string>;
|
|
1378
|
+
};
|
|
1329
1379
|
}
|
|
1330
1380
|
|
|
1331
1381
|
export class ListS2tLanguageModelsResponse extends jspb.Message {
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1382
|
+
getLmPipelineIdsList(): Array<LanguageModelPipelineId>;
|
|
1383
|
+
setLmPipelineIdsList(value: Array<LanguageModelPipelineId>): ListS2tLanguageModelsResponse;
|
|
1384
|
+
clearLmPipelineIdsList(): ListS2tLanguageModelsResponse;
|
|
1385
|
+
addLmPipelineIds(value?: LanguageModelPipelineId, index?: number): LanguageModelPipelineId;
|
|
1386
|
+
|
|
1387
|
+
serializeBinary(): Uint8Array;
|
|
1388
|
+
toObject(includeInstance?: boolean): ListS2tLanguageModelsResponse.AsObject;
|
|
1389
|
+
static toObject(includeInstance: boolean, msg: ListS2tLanguageModelsResponse): ListS2tLanguageModelsResponse.AsObject;
|
|
1390
|
+
static serializeBinaryToWriter(message: ListS2tLanguageModelsResponse, writer: jspb.BinaryWriter): void;
|
|
1391
|
+
static deserializeBinary(bytes: Uint8Array): ListS2tLanguageModelsResponse;
|
|
1392
|
+
static deserializeBinaryFromReader(
|
|
1393
|
+
message: ListS2tLanguageModelsResponse,
|
|
1394
|
+
reader: jspb.BinaryReader
|
|
1395
|
+
): ListS2tLanguageModelsResponse;
|
|
1343
1396
|
}
|
|
1344
1397
|
|
|
1345
1398
|
export namespace ListS2tLanguageModelsResponse {
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1399
|
+
export type AsObject = {
|
|
1400
|
+
lmPipelineIdsList: Array<LanguageModelPipelineId.AsObject>;
|
|
1401
|
+
};
|
|
1349
1402
|
}
|
|
1350
1403
|
|
|
1351
1404
|
export class CreateUserLanguageModelRequest extends jspb.Message {
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1405
|
+
getLanguageModelName(): string;
|
|
1406
|
+
setLanguageModelName(value: string): CreateUserLanguageModelRequest;
|
|
1407
|
+
|
|
1408
|
+
serializeBinary(): Uint8Array;
|
|
1409
|
+
toObject(includeInstance?: boolean): CreateUserLanguageModelRequest.AsObject;
|
|
1410
|
+
static toObject(
|
|
1411
|
+
includeInstance: boolean,
|
|
1412
|
+
msg: CreateUserLanguageModelRequest
|
|
1413
|
+
): CreateUserLanguageModelRequest.AsObject;
|
|
1414
|
+
static serializeBinaryToWriter(message: CreateUserLanguageModelRequest, writer: jspb.BinaryWriter): void;
|
|
1415
|
+
static deserializeBinary(bytes: Uint8Array): CreateUserLanguageModelRequest;
|
|
1416
|
+
static deserializeBinaryFromReader(
|
|
1417
|
+
message: CreateUserLanguageModelRequest,
|
|
1418
|
+
reader: jspb.BinaryReader
|
|
1419
|
+
): CreateUserLanguageModelRequest;
|
|
1361
1420
|
}
|
|
1362
1421
|
|
|
1363
1422
|
export namespace CreateUserLanguageModelRequest {
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1423
|
+
export type AsObject = {
|
|
1424
|
+
languageModelName: string;
|
|
1425
|
+
};
|
|
1367
1426
|
}
|
|
1368
1427
|
|
|
1369
1428
|
export class DeleteUserLanguageModelRequest extends jspb.Message {
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1429
|
+
getLanguageModelName(): string;
|
|
1430
|
+
setLanguageModelName(value: string): DeleteUserLanguageModelRequest;
|
|
1431
|
+
|
|
1432
|
+
serializeBinary(): Uint8Array;
|
|
1433
|
+
toObject(includeInstance?: boolean): DeleteUserLanguageModelRequest.AsObject;
|
|
1434
|
+
static toObject(
|
|
1435
|
+
includeInstance: boolean,
|
|
1436
|
+
msg: DeleteUserLanguageModelRequest
|
|
1437
|
+
): DeleteUserLanguageModelRequest.AsObject;
|
|
1438
|
+
static serializeBinaryToWriter(message: DeleteUserLanguageModelRequest, writer: jspb.BinaryWriter): void;
|
|
1439
|
+
static deserializeBinary(bytes: Uint8Array): DeleteUserLanguageModelRequest;
|
|
1440
|
+
static deserializeBinaryFromReader(
|
|
1441
|
+
message: DeleteUserLanguageModelRequest,
|
|
1442
|
+
reader: jspb.BinaryReader
|
|
1443
|
+
): DeleteUserLanguageModelRequest;
|
|
1379
1444
|
}
|
|
1380
1445
|
|
|
1381
1446
|
export namespace DeleteUserLanguageModelRequest {
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1447
|
+
export type AsObject = {
|
|
1448
|
+
languageModelName: string;
|
|
1449
|
+
};
|
|
1385
1450
|
}
|
|
1386
1451
|
|
|
1387
1452
|
export class AddDataToUserLanguageModelRequest extends jspb.Message {
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1453
|
+
getLanguageModelName(): string;
|
|
1454
|
+
setLanguageModelName(value: string): AddDataToUserLanguageModelRequest;
|
|
1455
|
+
|
|
1456
|
+
getZippedData(): Uint8Array | string;
|
|
1457
|
+
getZippedData_asU8(): Uint8Array;
|
|
1458
|
+
getZippedData_asB64(): string;
|
|
1459
|
+
setZippedData(value: Uint8Array | string): AddDataToUserLanguageModelRequest;
|
|
1460
|
+
|
|
1461
|
+
serializeBinary(): Uint8Array;
|
|
1462
|
+
toObject(includeInstance?: boolean): AddDataToUserLanguageModelRequest.AsObject;
|
|
1463
|
+
static toObject(
|
|
1464
|
+
includeInstance: boolean,
|
|
1465
|
+
msg: AddDataToUserLanguageModelRequest
|
|
1466
|
+
): AddDataToUserLanguageModelRequest.AsObject;
|
|
1467
|
+
static serializeBinaryToWriter(message: AddDataToUserLanguageModelRequest, writer: jspb.BinaryWriter): void;
|
|
1468
|
+
static deserializeBinary(bytes: Uint8Array): AddDataToUserLanguageModelRequest;
|
|
1469
|
+
static deserializeBinaryFromReader(
|
|
1470
|
+
message: AddDataToUserLanguageModelRequest,
|
|
1471
|
+
reader: jspb.BinaryReader
|
|
1472
|
+
): AddDataToUserLanguageModelRequest;
|
|
1402
1473
|
}
|
|
1403
1474
|
|
|
1404
1475
|
export namespace AddDataToUserLanguageModelRequest {
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1476
|
+
export type AsObject = {
|
|
1477
|
+
languageModelName: string;
|
|
1478
|
+
zippedData: Uint8Array | string;
|
|
1479
|
+
};
|
|
1409
1480
|
}
|
|
1410
1481
|
|
|
1411
1482
|
export class TrainUserLanguageModelRequest extends jspb.Message {
|
|
1412
|
-
|
|
1413
|
-
|
|
1483
|
+
getLanguageModelName(): string;
|
|
1484
|
+
setLanguageModelName(value: string): TrainUserLanguageModelRequest;
|
|
1414
1485
|
|
|
1415
|
-
|
|
1416
|
-
|
|
1486
|
+
getOrder(): number;
|
|
1487
|
+
setOrder(value: number): TrainUserLanguageModelRequest;
|
|
1417
1488
|
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1489
|
+
serializeBinary(): Uint8Array;
|
|
1490
|
+
toObject(includeInstance?: boolean): TrainUserLanguageModelRequest.AsObject;
|
|
1491
|
+
static toObject(includeInstance: boolean, msg: TrainUserLanguageModelRequest): TrainUserLanguageModelRequest.AsObject;
|
|
1492
|
+
static serializeBinaryToWriter(message: TrainUserLanguageModelRequest, writer: jspb.BinaryWriter): void;
|
|
1493
|
+
static deserializeBinary(bytes: Uint8Array): TrainUserLanguageModelRequest;
|
|
1494
|
+
static deserializeBinaryFromReader(
|
|
1495
|
+
message: TrainUserLanguageModelRequest,
|
|
1496
|
+
reader: jspb.BinaryReader
|
|
1497
|
+
): TrainUserLanguageModelRequest;
|
|
1424
1498
|
}
|
|
1425
1499
|
|
|
1426
1500
|
export namespace TrainUserLanguageModelRequest {
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
export enum Decoding {
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
}
|
|
1439
|
-
export enum InferenceBackend {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1501
|
+
export type AsObject = {
|
|
1502
|
+
languageModelName: string;
|
|
1503
|
+
order: number;
|
|
1504
|
+
};
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
export enum Decoding {
|
|
1508
|
+
DEFAULT = 0,
|
|
1509
|
+
GREEDY = 1,
|
|
1510
|
+
BEAM_SEARCH_WITH_LM = 2,
|
|
1511
|
+
BEAM_SEARCH = 3
|
|
1512
|
+
}
|
|
1513
|
+
export enum InferenceBackend {
|
|
1514
|
+
INFERENCE_BACKEND_UNKNOWN = 0,
|
|
1515
|
+
INFERENCE_BACKEND_PYTORCH = 1,
|
|
1516
|
+
INFERENCE_BACKEND_FLAX = 2
|
|
1443
1517
|
}
|