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