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