@ondewo/s2t-client-typescript 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/protobuf/empty_pb.d.ts +18 -0
- package/api/google/protobuf/empty_pb.js +141 -0
- package/api/ondewo/s2t/speech-to-text_grpc_web_pb.d.ts +188 -0
- package/api/ondewo/s2t/speech-to-text_grpc_web_pb.js +931 -0
- package/api/ondewo/s2t/speech-to-text_pb.d.ts +1379 -0
- package/api/ondewo/s2t/speech-to-text_pb.js +11257 -0
- package/package.json +18 -0
- package/public-api.d.ts +3 -0
- package/public-api.js +3 -0
|
@@ -0,0 +1,931 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for ondewo.s2t
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
const grpc = {};
|
|
16
|
+
grpc.web = require('grpc-web');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
20
|
+
const proto = {};
|
|
21
|
+
proto.ondewo = {};
|
|
22
|
+
proto.ondewo.s2t = require('./speech-to-text_pb.js');
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @param {string} hostname
|
|
26
|
+
* @param {?Object} credentials
|
|
27
|
+
* @param {?grpc.web.ClientOptions} options
|
|
28
|
+
* @constructor
|
|
29
|
+
* @struct
|
|
30
|
+
* @final
|
|
31
|
+
*/
|
|
32
|
+
proto.ondewo.s2t.Speech2TextClient =
|
|
33
|
+
function(hostname, credentials, options) {
|
|
34
|
+
if (!options) options = {};
|
|
35
|
+
options.format = 'binary';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
39
|
+
*/
|
|
40
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @private @const {string} The hostname
|
|
44
|
+
*/
|
|
45
|
+
this.hostname_ = hostname;
|
|
46
|
+
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @param {string} hostname
|
|
52
|
+
* @param {?Object} credentials
|
|
53
|
+
* @param {?grpc.web.ClientOptions} options
|
|
54
|
+
* @constructor
|
|
55
|
+
* @struct
|
|
56
|
+
* @final
|
|
57
|
+
*/
|
|
58
|
+
proto.ondewo.s2t.Speech2TextPromiseClient =
|
|
59
|
+
function(hostname, credentials, options) {
|
|
60
|
+
if (!options) options = {};
|
|
61
|
+
options.format = 'binary';
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
65
|
+
*/
|
|
66
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private @const {string} The hostname
|
|
70
|
+
*/
|
|
71
|
+
this.hostname_ = hostname;
|
|
72
|
+
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @const
|
|
78
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
79
|
+
* !proto.ondewo.s2t.TranscribeFileRequest,
|
|
80
|
+
* !proto.ondewo.s2t.TranscribeFileResponse>}
|
|
81
|
+
*/
|
|
82
|
+
const methodDescriptor_Speech2Text_TranscribeFile = new grpc.web.MethodDescriptor(
|
|
83
|
+
'/ondewo.s2t.Speech2Text/TranscribeFile',
|
|
84
|
+
grpc.web.MethodType.UNARY,
|
|
85
|
+
proto.ondewo.s2t.TranscribeFileRequest,
|
|
86
|
+
proto.ondewo.s2t.TranscribeFileResponse,
|
|
87
|
+
/**
|
|
88
|
+
* @param {!proto.ondewo.s2t.TranscribeFileRequest} request
|
|
89
|
+
* @return {!Uint8Array}
|
|
90
|
+
*/
|
|
91
|
+
function(request) {
|
|
92
|
+
return request.serializeBinary();
|
|
93
|
+
},
|
|
94
|
+
proto.ondewo.s2t.TranscribeFileResponse.deserializeBinary
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @param {!proto.ondewo.s2t.TranscribeFileRequest} request The
|
|
100
|
+
* request proto
|
|
101
|
+
* @param {?Object<string, string>} metadata User defined
|
|
102
|
+
* call metadata
|
|
103
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.TranscribeFileResponse)}
|
|
104
|
+
* callback The callback function(error, response)
|
|
105
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.TranscribeFileResponse>|undefined}
|
|
106
|
+
* The XHR Node Readable Stream
|
|
107
|
+
*/
|
|
108
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.transcribeFile =
|
|
109
|
+
function(request, metadata, callback) {
|
|
110
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
111
|
+
'/ondewo.s2t.Speech2Text/TranscribeFile',
|
|
112
|
+
request,
|
|
113
|
+
metadata || {},
|
|
114
|
+
methodDescriptor_Speech2Text_TranscribeFile,
|
|
115
|
+
callback);
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @param {!proto.ondewo.s2t.TranscribeFileRequest} request The
|
|
121
|
+
* request proto
|
|
122
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
123
|
+
* call metadata
|
|
124
|
+
* @return {!Promise<!proto.ondewo.s2t.TranscribeFileResponse>}
|
|
125
|
+
* Promise that resolves to the response
|
|
126
|
+
*/
|
|
127
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.transcribeFile =
|
|
128
|
+
function(request, metadata) {
|
|
129
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
130
|
+
'/ondewo.s2t.Speech2Text/TranscribeFile',
|
|
131
|
+
request,
|
|
132
|
+
metadata || {},
|
|
133
|
+
methodDescriptor_Speech2Text_TranscribeFile);
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @const
|
|
139
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
140
|
+
* !proto.ondewo.s2t.S2tPipelineId,
|
|
141
|
+
* !proto.ondewo.s2t.Speech2TextConfig>}
|
|
142
|
+
*/
|
|
143
|
+
const methodDescriptor_Speech2Text_GetS2tPipeline = new grpc.web.MethodDescriptor(
|
|
144
|
+
'/ondewo.s2t.Speech2Text/GetS2tPipeline',
|
|
145
|
+
grpc.web.MethodType.UNARY,
|
|
146
|
+
proto.ondewo.s2t.S2tPipelineId,
|
|
147
|
+
proto.ondewo.s2t.Speech2TextConfig,
|
|
148
|
+
/**
|
|
149
|
+
* @param {!proto.ondewo.s2t.S2tPipelineId} request
|
|
150
|
+
* @return {!Uint8Array}
|
|
151
|
+
*/
|
|
152
|
+
function(request) {
|
|
153
|
+
return request.serializeBinary();
|
|
154
|
+
},
|
|
155
|
+
proto.ondewo.s2t.Speech2TextConfig.deserializeBinary
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @param {!proto.ondewo.s2t.S2tPipelineId} request The
|
|
161
|
+
* request proto
|
|
162
|
+
* @param {?Object<string, string>} metadata User defined
|
|
163
|
+
* call metadata
|
|
164
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.Speech2TextConfig)}
|
|
165
|
+
* callback The callback function(error, response)
|
|
166
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.Speech2TextConfig>|undefined}
|
|
167
|
+
* The XHR Node Readable Stream
|
|
168
|
+
*/
|
|
169
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.getS2tPipeline =
|
|
170
|
+
function(request, metadata, callback) {
|
|
171
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
172
|
+
'/ondewo.s2t.Speech2Text/GetS2tPipeline',
|
|
173
|
+
request,
|
|
174
|
+
metadata || {},
|
|
175
|
+
methodDescriptor_Speech2Text_GetS2tPipeline,
|
|
176
|
+
callback);
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @param {!proto.ondewo.s2t.S2tPipelineId} request The
|
|
182
|
+
* request proto
|
|
183
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
184
|
+
* call metadata
|
|
185
|
+
* @return {!Promise<!proto.ondewo.s2t.Speech2TextConfig>}
|
|
186
|
+
* Promise that resolves to the response
|
|
187
|
+
*/
|
|
188
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.getS2tPipeline =
|
|
189
|
+
function(request, metadata) {
|
|
190
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
191
|
+
'/ondewo.s2t.Speech2Text/GetS2tPipeline',
|
|
192
|
+
request,
|
|
193
|
+
metadata || {},
|
|
194
|
+
methodDescriptor_Speech2Text_GetS2tPipeline);
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @const
|
|
200
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
201
|
+
* !proto.ondewo.s2t.Speech2TextConfig,
|
|
202
|
+
* !proto.ondewo.s2t.S2tPipelineId>}
|
|
203
|
+
*/
|
|
204
|
+
const methodDescriptor_Speech2Text_CreateS2tPipeline = new grpc.web.MethodDescriptor(
|
|
205
|
+
'/ondewo.s2t.Speech2Text/CreateS2tPipeline',
|
|
206
|
+
grpc.web.MethodType.UNARY,
|
|
207
|
+
proto.ondewo.s2t.Speech2TextConfig,
|
|
208
|
+
proto.ondewo.s2t.S2tPipelineId,
|
|
209
|
+
/**
|
|
210
|
+
* @param {!proto.ondewo.s2t.Speech2TextConfig} request
|
|
211
|
+
* @return {!Uint8Array}
|
|
212
|
+
*/
|
|
213
|
+
function(request) {
|
|
214
|
+
return request.serializeBinary();
|
|
215
|
+
},
|
|
216
|
+
proto.ondewo.s2t.S2tPipelineId.deserializeBinary
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @param {!proto.ondewo.s2t.Speech2TextConfig} request The
|
|
222
|
+
* request proto
|
|
223
|
+
* @param {?Object<string, string>} metadata User defined
|
|
224
|
+
* call metadata
|
|
225
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.S2tPipelineId)}
|
|
226
|
+
* callback The callback function(error, response)
|
|
227
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.S2tPipelineId>|undefined}
|
|
228
|
+
* The XHR Node Readable Stream
|
|
229
|
+
*/
|
|
230
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.createS2tPipeline =
|
|
231
|
+
function(request, metadata, callback) {
|
|
232
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
233
|
+
'/ondewo.s2t.Speech2Text/CreateS2tPipeline',
|
|
234
|
+
request,
|
|
235
|
+
metadata || {},
|
|
236
|
+
methodDescriptor_Speech2Text_CreateS2tPipeline,
|
|
237
|
+
callback);
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @param {!proto.ondewo.s2t.Speech2TextConfig} request The
|
|
243
|
+
* request proto
|
|
244
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
245
|
+
* call metadata
|
|
246
|
+
* @return {!Promise<!proto.ondewo.s2t.S2tPipelineId>}
|
|
247
|
+
* Promise that resolves to the response
|
|
248
|
+
*/
|
|
249
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.createS2tPipeline =
|
|
250
|
+
function(request, metadata) {
|
|
251
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
252
|
+
'/ondewo.s2t.Speech2Text/CreateS2tPipeline',
|
|
253
|
+
request,
|
|
254
|
+
metadata || {},
|
|
255
|
+
methodDescriptor_Speech2Text_CreateS2tPipeline);
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @const
|
|
261
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
262
|
+
* !proto.ondewo.s2t.S2tPipelineId,
|
|
263
|
+
* !proto.google.protobuf.Empty>}
|
|
264
|
+
*/
|
|
265
|
+
const methodDescriptor_Speech2Text_DeleteS2tPipeline = new grpc.web.MethodDescriptor(
|
|
266
|
+
'/ondewo.s2t.Speech2Text/DeleteS2tPipeline',
|
|
267
|
+
grpc.web.MethodType.UNARY,
|
|
268
|
+
proto.ondewo.s2t.S2tPipelineId,
|
|
269
|
+
google_protobuf_empty_pb.Empty,
|
|
270
|
+
/**
|
|
271
|
+
* @param {!proto.ondewo.s2t.S2tPipelineId} request
|
|
272
|
+
* @return {!Uint8Array}
|
|
273
|
+
*/
|
|
274
|
+
function(request) {
|
|
275
|
+
return request.serializeBinary();
|
|
276
|
+
},
|
|
277
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @param {!proto.ondewo.s2t.S2tPipelineId} request The
|
|
283
|
+
* request proto
|
|
284
|
+
* @param {?Object<string, string>} metadata User defined
|
|
285
|
+
* call metadata
|
|
286
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
287
|
+
* callback The callback function(error, response)
|
|
288
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
289
|
+
* The XHR Node Readable Stream
|
|
290
|
+
*/
|
|
291
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.deleteS2tPipeline =
|
|
292
|
+
function(request, metadata, callback) {
|
|
293
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
294
|
+
'/ondewo.s2t.Speech2Text/DeleteS2tPipeline',
|
|
295
|
+
request,
|
|
296
|
+
metadata || {},
|
|
297
|
+
methodDescriptor_Speech2Text_DeleteS2tPipeline,
|
|
298
|
+
callback);
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @param {!proto.ondewo.s2t.S2tPipelineId} request The
|
|
304
|
+
* request proto
|
|
305
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
306
|
+
* call metadata
|
|
307
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
308
|
+
* Promise that resolves to the response
|
|
309
|
+
*/
|
|
310
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.deleteS2tPipeline =
|
|
311
|
+
function(request, metadata) {
|
|
312
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
313
|
+
'/ondewo.s2t.Speech2Text/DeleteS2tPipeline',
|
|
314
|
+
request,
|
|
315
|
+
metadata || {},
|
|
316
|
+
methodDescriptor_Speech2Text_DeleteS2tPipeline);
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* @const
|
|
322
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
323
|
+
* !proto.ondewo.s2t.Speech2TextConfig,
|
|
324
|
+
* !proto.google.protobuf.Empty>}
|
|
325
|
+
*/
|
|
326
|
+
const methodDescriptor_Speech2Text_UpdateS2tPipeline = new grpc.web.MethodDescriptor(
|
|
327
|
+
'/ondewo.s2t.Speech2Text/UpdateS2tPipeline',
|
|
328
|
+
grpc.web.MethodType.UNARY,
|
|
329
|
+
proto.ondewo.s2t.Speech2TextConfig,
|
|
330
|
+
google_protobuf_empty_pb.Empty,
|
|
331
|
+
/**
|
|
332
|
+
* @param {!proto.ondewo.s2t.Speech2TextConfig} request
|
|
333
|
+
* @return {!Uint8Array}
|
|
334
|
+
*/
|
|
335
|
+
function(request) {
|
|
336
|
+
return request.serializeBinary();
|
|
337
|
+
},
|
|
338
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
339
|
+
);
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @param {!proto.ondewo.s2t.Speech2TextConfig} request The
|
|
344
|
+
* request proto
|
|
345
|
+
* @param {?Object<string, string>} metadata User defined
|
|
346
|
+
* call metadata
|
|
347
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
348
|
+
* callback The callback function(error, response)
|
|
349
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
350
|
+
* The XHR Node Readable Stream
|
|
351
|
+
*/
|
|
352
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.updateS2tPipeline =
|
|
353
|
+
function(request, metadata, callback) {
|
|
354
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
355
|
+
'/ondewo.s2t.Speech2Text/UpdateS2tPipeline',
|
|
356
|
+
request,
|
|
357
|
+
metadata || {},
|
|
358
|
+
methodDescriptor_Speech2Text_UpdateS2tPipeline,
|
|
359
|
+
callback);
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @param {!proto.ondewo.s2t.Speech2TextConfig} request The
|
|
365
|
+
* request proto
|
|
366
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
367
|
+
* call metadata
|
|
368
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
369
|
+
* Promise that resolves to the response
|
|
370
|
+
*/
|
|
371
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.updateS2tPipeline =
|
|
372
|
+
function(request, metadata) {
|
|
373
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
374
|
+
'/ondewo.s2t.Speech2Text/UpdateS2tPipeline',
|
|
375
|
+
request,
|
|
376
|
+
metadata || {},
|
|
377
|
+
methodDescriptor_Speech2Text_UpdateS2tPipeline);
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @const
|
|
383
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
384
|
+
* !proto.ondewo.s2t.ListS2tPipelinesRequest,
|
|
385
|
+
* !proto.ondewo.s2t.ListS2tPipelinesResponse>}
|
|
386
|
+
*/
|
|
387
|
+
const methodDescriptor_Speech2Text_ListS2tPipelines = new grpc.web.MethodDescriptor(
|
|
388
|
+
'/ondewo.s2t.Speech2Text/ListS2tPipelines',
|
|
389
|
+
grpc.web.MethodType.UNARY,
|
|
390
|
+
proto.ondewo.s2t.ListS2tPipelinesRequest,
|
|
391
|
+
proto.ondewo.s2t.ListS2tPipelinesResponse,
|
|
392
|
+
/**
|
|
393
|
+
* @param {!proto.ondewo.s2t.ListS2tPipelinesRequest} request
|
|
394
|
+
* @return {!Uint8Array}
|
|
395
|
+
*/
|
|
396
|
+
function(request) {
|
|
397
|
+
return request.serializeBinary();
|
|
398
|
+
},
|
|
399
|
+
proto.ondewo.s2t.ListS2tPipelinesResponse.deserializeBinary
|
|
400
|
+
);
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* @param {!proto.ondewo.s2t.ListS2tPipelinesRequest} request The
|
|
405
|
+
* request proto
|
|
406
|
+
* @param {?Object<string, string>} metadata User defined
|
|
407
|
+
* call metadata
|
|
408
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.ListS2tPipelinesResponse)}
|
|
409
|
+
* callback The callback function(error, response)
|
|
410
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tPipelinesResponse>|undefined}
|
|
411
|
+
* The XHR Node Readable Stream
|
|
412
|
+
*/
|
|
413
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.listS2tPipelines =
|
|
414
|
+
function(request, metadata, callback) {
|
|
415
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
416
|
+
'/ondewo.s2t.Speech2Text/ListS2tPipelines',
|
|
417
|
+
request,
|
|
418
|
+
metadata || {},
|
|
419
|
+
methodDescriptor_Speech2Text_ListS2tPipelines,
|
|
420
|
+
callback);
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @param {!proto.ondewo.s2t.ListS2tPipelinesRequest} request The
|
|
426
|
+
* request proto
|
|
427
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
428
|
+
* call metadata
|
|
429
|
+
* @return {!Promise<!proto.ondewo.s2t.ListS2tPipelinesResponse>}
|
|
430
|
+
* Promise that resolves to the response
|
|
431
|
+
*/
|
|
432
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tPipelines =
|
|
433
|
+
function(request, metadata) {
|
|
434
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
435
|
+
'/ondewo.s2t.Speech2Text/ListS2tPipelines',
|
|
436
|
+
request,
|
|
437
|
+
metadata || {},
|
|
438
|
+
methodDescriptor_Speech2Text_ListS2tPipelines);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @const
|
|
444
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
445
|
+
* !proto.ondewo.s2t.ListS2tLanguagesRequest,
|
|
446
|
+
* !proto.ondewo.s2t.ListS2tLanguagesResponse>}
|
|
447
|
+
*/
|
|
448
|
+
const methodDescriptor_Speech2Text_ListS2tLanguages = new grpc.web.MethodDescriptor(
|
|
449
|
+
'/ondewo.s2t.Speech2Text/ListS2tLanguages',
|
|
450
|
+
grpc.web.MethodType.UNARY,
|
|
451
|
+
proto.ondewo.s2t.ListS2tLanguagesRequest,
|
|
452
|
+
proto.ondewo.s2t.ListS2tLanguagesResponse,
|
|
453
|
+
/**
|
|
454
|
+
* @param {!proto.ondewo.s2t.ListS2tLanguagesRequest} request
|
|
455
|
+
* @return {!Uint8Array}
|
|
456
|
+
*/
|
|
457
|
+
function(request) {
|
|
458
|
+
return request.serializeBinary();
|
|
459
|
+
},
|
|
460
|
+
proto.ondewo.s2t.ListS2tLanguagesResponse.deserializeBinary
|
|
461
|
+
);
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* @param {!proto.ondewo.s2t.ListS2tLanguagesRequest} request The
|
|
466
|
+
* request proto
|
|
467
|
+
* @param {?Object<string, string>} metadata User defined
|
|
468
|
+
* call metadata
|
|
469
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.ListS2tLanguagesResponse)}
|
|
470
|
+
* callback The callback function(error, response)
|
|
471
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tLanguagesResponse>|undefined}
|
|
472
|
+
* The XHR Node Readable Stream
|
|
473
|
+
*/
|
|
474
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.listS2tLanguages =
|
|
475
|
+
function(request, metadata, callback) {
|
|
476
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
477
|
+
'/ondewo.s2t.Speech2Text/ListS2tLanguages',
|
|
478
|
+
request,
|
|
479
|
+
metadata || {},
|
|
480
|
+
methodDescriptor_Speech2Text_ListS2tLanguages,
|
|
481
|
+
callback);
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @param {!proto.ondewo.s2t.ListS2tLanguagesRequest} request The
|
|
487
|
+
* request proto
|
|
488
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
489
|
+
* call metadata
|
|
490
|
+
* @return {!Promise<!proto.ondewo.s2t.ListS2tLanguagesResponse>}
|
|
491
|
+
* Promise that resolves to the response
|
|
492
|
+
*/
|
|
493
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tLanguages =
|
|
494
|
+
function(request, metadata) {
|
|
495
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
496
|
+
'/ondewo.s2t.Speech2Text/ListS2tLanguages',
|
|
497
|
+
request,
|
|
498
|
+
metadata || {},
|
|
499
|
+
methodDescriptor_Speech2Text_ListS2tLanguages);
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @const
|
|
505
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
506
|
+
* !proto.ondewo.s2t.ListS2tDomainsRequest,
|
|
507
|
+
* !proto.ondewo.s2t.ListS2tDomainsResponse>}
|
|
508
|
+
*/
|
|
509
|
+
const methodDescriptor_Speech2Text_ListS2tDomains = new grpc.web.MethodDescriptor(
|
|
510
|
+
'/ondewo.s2t.Speech2Text/ListS2tDomains',
|
|
511
|
+
grpc.web.MethodType.UNARY,
|
|
512
|
+
proto.ondewo.s2t.ListS2tDomainsRequest,
|
|
513
|
+
proto.ondewo.s2t.ListS2tDomainsResponse,
|
|
514
|
+
/**
|
|
515
|
+
* @param {!proto.ondewo.s2t.ListS2tDomainsRequest} request
|
|
516
|
+
* @return {!Uint8Array}
|
|
517
|
+
*/
|
|
518
|
+
function(request) {
|
|
519
|
+
return request.serializeBinary();
|
|
520
|
+
},
|
|
521
|
+
proto.ondewo.s2t.ListS2tDomainsResponse.deserializeBinary
|
|
522
|
+
);
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @param {!proto.ondewo.s2t.ListS2tDomainsRequest} request The
|
|
527
|
+
* request proto
|
|
528
|
+
* @param {?Object<string, string>} metadata User defined
|
|
529
|
+
* call metadata
|
|
530
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.ListS2tDomainsResponse)}
|
|
531
|
+
* callback The callback function(error, response)
|
|
532
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tDomainsResponse>|undefined}
|
|
533
|
+
* The XHR Node Readable Stream
|
|
534
|
+
*/
|
|
535
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.listS2tDomains =
|
|
536
|
+
function(request, metadata, callback) {
|
|
537
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
538
|
+
'/ondewo.s2t.Speech2Text/ListS2tDomains',
|
|
539
|
+
request,
|
|
540
|
+
metadata || {},
|
|
541
|
+
methodDescriptor_Speech2Text_ListS2tDomains,
|
|
542
|
+
callback);
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* @param {!proto.ondewo.s2t.ListS2tDomainsRequest} request The
|
|
548
|
+
* request proto
|
|
549
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
550
|
+
* call metadata
|
|
551
|
+
* @return {!Promise<!proto.ondewo.s2t.ListS2tDomainsResponse>}
|
|
552
|
+
* Promise that resolves to the response
|
|
553
|
+
*/
|
|
554
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tDomains =
|
|
555
|
+
function(request, metadata) {
|
|
556
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
557
|
+
'/ondewo.s2t.Speech2Text/ListS2tDomains',
|
|
558
|
+
request,
|
|
559
|
+
metadata || {},
|
|
560
|
+
methodDescriptor_Speech2Text_ListS2tDomains);
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* @const
|
|
566
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
567
|
+
* !proto.google.protobuf.Empty,
|
|
568
|
+
* !proto.ondewo.s2t.S2TGetServiceInfoResponse>}
|
|
569
|
+
*/
|
|
570
|
+
const methodDescriptor_Speech2Text_GetServiceInfo = new grpc.web.MethodDescriptor(
|
|
571
|
+
'/ondewo.s2t.Speech2Text/GetServiceInfo',
|
|
572
|
+
grpc.web.MethodType.UNARY,
|
|
573
|
+
google_protobuf_empty_pb.Empty,
|
|
574
|
+
proto.ondewo.s2t.S2TGetServiceInfoResponse,
|
|
575
|
+
/**
|
|
576
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
577
|
+
* @return {!Uint8Array}
|
|
578
|
+
*/
|
|
579
|
+
function(request) {
|
|
580
|
+
return request.serializeBinary();
|
|
581
|
+
},
|
|
582
|
+
proto.ondewo.s2t.S2TGetServiceInfoResponse.deserializeBinary
|
|
583
|
+
);
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
588
|
+
* request proto
|
|
589
|
+
* @param {?Object<string, string>} metadata User defined
|
|
590
|
+
* call metadata
|
|
591
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.S2TGetServiceInfoResponse)}
|
|
592
|
+
* callback The callback function(error, response)
|
|
593
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.S2TGetServiceInfoResponse>|undefined}
|
|
594
|
+
* The XHR Node Readable Stream
|
|
595
|
+
*/
|
|
596
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.getServiceInfo =
|
|
597
|
+
function(request, metadata, callback) {
|
|
598
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
599
|
+
'/ondewo.s2t.Speech2Text/GetServiceInfo',
|
|
600
|
+
request,
|
|
601
|
+
metadata || {},
|
|
602
|
+
methodDescriptor_Speech2Text_GetServiceInfo,
|
|
603
|
+
callback);
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
609
|
+
* request proto
|
|
610
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
611
|
+
* call metadata
|
|
612
|
+
* @return {!Promise<!proto.ondewo.s2t.S2TGetServiceInfoResponse>}
|
|
613
|
+
* Promise that resolves to the response
|
|
614
|
+
*/
|
|
615
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.getServiceInfo =
|
|
616
|
+
function(request, metadata) {
|
|
617
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
618
|
+
'/ondewo.s2t.Speech2Text/GetServiceInfo',
|
|
619
|
+
request,
|
|
620
|
+
metadata || {},
|
|
621
|
+
methodDescriptor_Speech2Text_GetServiceInfo);
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @const
|
|
627
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
628
|
+
* !proto.ondewo.s2t.ListS2tLanguageModelsRequest,
|
|
629
|
+
* !proto.ondewo.s2t.ListS2tLanguageModelsResponse>}
|
|
630
|
+
*/
|
|
631
|
+
const methodDescriptor_Speech2Text_ListS2tLanguageModels = new grpc.web.MethodDescriptor(
|
|
632
|
+
'/ondewo.s2t.Speech2Text/ListS2tLanguageModels',
|
|
633
|
+
grpc.web.MethodType.UNARY,
|
|
634
|
+
proto.ondewo.s2t.ListS2tLanguageModelsRequest,
|
|
635
|
+
proto.ondewo.s2t.ListS2tLanguageModelsResponse,
|
|
636
|
+
/**
|
|
637
|
+
* @param {!proto.ondewo.s2t.ListS2tLanguageModelsRequest} request
|
|
638
|
+
* @return {!Uint8Array}
|
|
639
|
+
*/
|
|
640
|
+
function(request) {
|
|
641
|
+
return request.serializeBinary();
|
|
642
|
+
},
|
|
643
|
+
proto.ondewo.s2t.ListS2tLanguageModelsResponse.deserializeBinary
|
|
644
|
+
);
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* @param {!proto.ondewo.s2t.ListS2tLanguageModelsRequest} request The
|
|
649
|
+
* request proto
|
|
650
|
+
* @param {?Object<string, string>} metadata User defined
|
|
651
|
+
* call metadata
|
|
652
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.s2t.ListS2tLanguageModelsResponse)}
|
|
653
|
+
* callback The callback function(error, response)
|
|
654
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tLanguageModelsResponse>|undefined}
|
|
655
|
+
* The XHR Node Readable Stream
|
|
656
|
+
*/
|
|
657
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.listS2tLanguageModels =
|
|
658
|
+
function(request, metadata, callback) {
|
|
659
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
660
|
+
'/ondewo.s2t.Speech2Text/ListS2tLanguageModels',
|
|
661
|
+
request,
|
|
662
|
+
metadata || {},
|
|
663
|
+
methodDescriptor_Speech2Text_ListS2tLanguageModels,
|
|
664
|
+
callback);
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* @param {!proto.ondewo.s2t.ListS2tLanguageModelsRequest} request The
|
|
670
|
+
* request proto
|
|
671
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
672
|
+
* call metadata
|
|
673
|
+
* @return {!Promise<!proto.ondewo.s2t.ListS2tLanguageModelsResponse>}
|
|
674
|
+
* Promise that resolves to the response
|
|
675
|
+
*/
|
|
676
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tLanguageModels =
|
|
677
|
+
function(request, metadata) {
|
|
678
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
679
|
+
'/ondewo.s2t.Speech2Text/ListS2tLanguageModels',
|
|
680
|
+
request,
|
|
681
|
+
metadata || {},
|
|
682
|
+
methodDescriptor_Speech2Text_ListS2tLanguageModels);
|
|
683
|
+
};
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* @const
|
|
688
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
689
|
+
* !proto.ondewo.s2t.CreateUserLanguageModelRequest,
|
|
690
|
+
* !proto.google.protobuf.Empty>}
|
|
691
|
+
*/
|
|
692
|
+
const methodDescriptor_Speech2Text_CreateUserLanguageModel = new grpc.web.MethodDescriptor(
|
|
693
|
+
'/ondewo.s2t.Speech2Text/CreateUserLanguageModel',
|
|
694
|
+
grpc.web.MethodType.UNARY,
|
|
695
|
+
proto.ondewo.s2t.CreateUserLanguageModelRequest,
|
|
696
|
+
google_protobuf_empty_pb.Empty,
|
|
697
|
+
/**
|
|
698
|
+
* @param {!proto.ondewo.s2t.CreateUserLanguageModelRequest} request
|
|
699
|
+
* @return {!Uint8Array}
|
|
700
|
+
*/
|
|
701
|
+
function(request) {
|
|
702
|
+
return request.serializeBinary();
|
|
703
|
+
},
|
|
704
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
705
|
+
);
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* @param {!proto.ondewo.s2t.CreateUserLanguageModelRequest} request The
|
|
710
|
+
* request proto
|
|
711
|
+
* @param {?Object<string, string>} metadata User defined
|
|
712
|
+
* call metadata
|
|
713
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
714
|
+
* callback The callback function(error, response)
|
|
715
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
716
|
+
* The XHR Node Readable Stream
|
|
717
|
+
*/
|
|
718
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.createUserLanguageModel =
|
|
719
|
+
function(request, metadata, callback) {
|
|
720
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
721
|
+
'/ondewo.s2t.Speech2Text/CreateUserLanguageModel',
|
|
722
|
+
request,
|
|
723
|
+
metadata || {},
|
|
724
|
+
methodDescriptor_Speech2Text_CreateUserLanguageModel,
|
|
725
|
+
callback);
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @param {!proto.ondewo.s2t.CreateUserLanguageModelRequest} request The
|
|
731
|
+
* request proto
|
|
732
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
733
|
+
* call metadata
|
|
734
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
735
|
+
* Promise that resolves to the response
|
|
736
|
+
*/
|
|
737
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.createUserLanguageModel =
|
|
738
|
+
function(request, metadata) {
|
|
739
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
740
|
+
'/ondewo.s2t.Speech2Text/CreateUserLanguageModel',
|
|
741
|
+
request,
|
|
742
|
+
metadata || {},
|
|
743
|
+
methodDescriptor_Speech2Text_CreateUserLanguageModel);
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* @const
|
|
749
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
750
|
+
* !proto.ondewo.s2t.DeleteUserLanguageModelRequest,
|
|
751
|
+
* !proto.google.protobuf.Empty>}
|
|
752
|
+
*/
|
|
753
|
+
const methodDescriptor_Speech2Text_DeleteUserLanguageModel = new grpc.web.MethodDescriptor(
|
|
754
|
+
'/ondewo.s2t.Speech2Text/DeleteUserLanguageModel',
|
|
755
|
+
grpc.web.MethodType.UNARY,
|
|
756
|
+
proto.ondewo.s2t.DeleteUserLanguageModelRequest,
|
|
757
|
+
google_protobuf_empty_pb.Empty,
|
|
758
|
+
/**
|
|
759
|
+
* @param {!proto.ondewo.s2t.DeleteUserLanguageModelRequest} request
|
|
760
|
+
* @return {!Uint8Array}
|
|
761
|
+
*/
|
|
762
|
+
function(request) {
|
|
763
|
+
return request.serializeBinary();
|
|
764
|
+
},
|
|
765
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
766
|
+
);
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* @param {!proto.ondewo.s2t.DeleteUserLanguageModelRequest} request The
|
|
771
|
+
* request proto
|
|
772
|
+
* @param {?Object<string, string>} metadata User defined
|
|
773
|
+
* call metadata
|
|
774
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
775
|
+
* callback The callback function(error, response)
|
|
776
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
777
|
+
* The XHR Node Readable Stream
|
|
778
|
+
*/
|
|
779
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.deleteUserLanguageModel =
|
|
780
|
+
function(request, metadata, callback) {
|
|
781
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
782
|
+
'/ondewo.s2t.Speech2Text/DeleteUserLanguageModel',
|
|
783
|
+
request,
|
|
784
|
+
metadata || {},
|
|
785
|
+
methodDescriptor_Speech2Text_DeleteUserLanguageModel,
|
|
786
|
+
callback);
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @param {!proto.ondewo.s2t.DeleteUserLanguageModelRequest} request The
|
|
792
|
+
* request proto
|
|
793
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
794
|
+
* call metadata
|
|
795
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
796
|
+
* Promise that resolves to the response
|
|
797
|
+
*/
|
|
798
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.deleteUserLanguageModel =
|
|
799
|
+
function(request, metadata) {
|
|
800
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
801
|
+
'/ondewo.s2t.Speech2Text/DeleteUserLanguageModel',
|
|
802
|
+
request,
|
|
803
|
+
metadata || {},
|
|
804
|
+
methodDescriptor_Speech2Text_DeleteUserLanguageModel);
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* @const
|
|
810
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
811
|
+
* !proto.ondewo.s2t.AddDataToUserLanguageModelRequest,
|
|
812
|
+
* !proto.google.protobuf.Empty>}
|
|
813
|
+
*/
|
|
814
|
+
const methodDescriptor_Speech2Text_AddDataToUserLanguageModel = new grpc.web.MethodDescriptor(
|
|
815
|
+
'/ondewo.s2t.Speech2Text/AddDataToUserLanguageModel',
|
|
816
|
+
grpc.web.MethodType.UNARY,
|
|
817
|
+
proto.ondewo.s2t.AddDataToUserLanguageModelRequest,
|
|
818
|
+
google_protobuf_empty_pb.Empty,
|
|
819
|
+
/**
|
|
820
|
+
* @param {!proto.ondewo.s2t.AddDataToUserLanguageModelRequest} request
|
|
821
|
+
* @return {!Uint8Array}
|
|
822
|
+
*/
|
|
823
|
+
function(request) {
|
|
824
|
+
return request.serializeBinary();
|
|
825
|
+
},
|
|
826
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
827
|
+
);
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* @param {!proto.ondewo.s2t.AddDataToUserLanguageModelRequest} request The
|
|
832
|
+
* request proto
|
|
833
|
+
* @param {?Object<string, string>} metadata User defined
|
|
834
|
+
* call metadata
|
|
835
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
836
|
+
* callback The callback function(error, response)
|
|
837
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
838
|
+
* The XHR Node Readable Stream
|
|
839
|
+
*/
|
|
840
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.addDataToUserLanguageModel =
|
|
841
|
+
function(request, metadata, callback) {
|
|
842
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
843
|
+
'/ondewo.s2t.Speech2Text/AddDataToUserLanguageModel',
|
|
844
|
+
request,
|
|
845
|
+
metadata || {},
|
|
846
|
+
methodDescriptor_Speech2Text_AddDataToUserLanguageModel,
|
|
847
|
+
callback);
|
|
848
|
+
};
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* @param {!proto.ondewo.s2t.AddDataToUserLanguageModelRequest} request The
|
|
853
|
+
* request proto
|
|
854
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
855
|
+
* call metadata
|
|
856
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
857
|
+
* Promise that resolves to the response
|
|
858
|
+
*/
|
|
859
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.addDataToUserLanguageModel =
|
|
860
|
+
function(request, metadata) {
|
|
861
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
862
|
+
'/ondewo.s2t.Speech2Text/AddDataToUserLanguageModel',
|
|
863
|
+
request,
|
|
864
|
+
metadata || {},
|
|
865
|
+
methodDescriptor_Speech2Text_AddDataToUserLanguageModel);
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* @const
|
|
871
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
872
|
+
* !proto.ondewo.s2t.TrainUserLanguageModelRequest,
|
|
873
|
+
* !proto.google.protobuf.Empty>}
|
|
874
|
+
*/
|
|
875
|
+
const methodDescriptor_Speech2Text_TrainUserLanguageModel = new grpc.web.MethodDescriptor(
|
|
876
|
+
'/ondewo.s2t.Speech2Text/TrainUserLanguageModel',
|
|
877
|
+
grpc.web.MethodType.UNARY,
|
|
878
|
+
proto.ondewo.s2t.TrainUserLanguageModelRequest,
|
|
879
|
+
google_protobuf_empty_pb.Empty,
|
|
880
|
+
/**
|
|
881
|
+
* @param {!proto.ondewo.s2t.TrainUserLanguageModelRequest} request
|
|
882
|
+
* @return {!Uint8Array}
|
|
883
|
+
*/
|
|
884
|
+
function(request) {
|
|
885
|
+
return request.serializeBinary();
|
|
886
|
+
},
|
|
887
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
888
|
+
);
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* @param {!proto.ondewo.s2t.TrainUserLanguageModelRequest} request The
|
|
893
|
+
* request proto
|
|
894
|
+
* @param {?Object<string, string>} metadata User defined
|
|
895
|
+
* call metadata
|
|
896
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
897
|
+
* callback The callback function(error, response)
|
|
898
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
899
|
+
* The XHR Node Readable Stream
|
|
900
|
+
*/
|
|
901
|
+
proto.ondewo.s2t.Speech2TextClient.prototype.trainUserLanguageModel =
|
|
902
|
+
function(request, metadata, callback) {
|
|
903
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
904
|
+
'/ondewo.s2t.Speech2Text/TrainUserLanguageModel',
|
|
905
|
+
request,
|
|
906
|
+
metadata || {},
|
|
907
|
+
methodDescriptor_Speech2Text_TrainUserLanguageModel,
|
|
908
|
+
callback);
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* @param {!proto.ondewo.s2t.TrainUserLanguageModelRequest} request The
|
|
914
|
+
* request proto
|
|
915
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
916
|
+
* call metadata
|
|
917
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
918
|
+
* Promise that resolves to the response
|
|
919
|
+
*/
|
|
920
|
+
proto.ondewo.s2t.Speech2TextPromiseClient.prototype.trainUserLanguageModel =
|
|
921
|
+
function(request, metadata) {
|
|
922
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
923
|
+
'/ondewo.s2t.Speech2Text/TrainUserLanguageModel',
|
|
924
|
+
request,
|
|
925
|
+
metadata || {},
|
|
926
|
+
methodDescriptor_Speech2Text_TrainUserLanguageModel);
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
module.exports = proto.ondewo.s2t;
|
|
931
|
+
|