@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.
@@ -6,17 +6,13 @@
6
6
 
7
7
  // GENERATED CODE -- DO NOT EDIT!
8
8
 
9
-
10
9
  /* eslint-disable */
11
10
  // @ts-nocheck
12
11
 
13
-
14
-
15
12
  const grpc = {};
16
13
  grpc.web = require('grpc-web');
17
14
 
18
-
19
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
15
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
20
16
  const proto = {};
21
17
  proto.ondewo = {};
22
18
  proto.ondewo.s2t = require('./speech-to-text_pb.js');
@@ -29,24 +25,21 @@ proto.ondewo.s2t = require('./speech-to-text_pb.js');
29
25
  * @struct
30
26
  * @final
31
27
  */
32
- proto.ondewo.s2t.Speech2TextClient =
33
- function(hostname, credentials, options) {
34
- if (!options) options = {};
35
- options.format = 'binary';
28
+ proto.ondewo.s2t.Speech2TextClient = function (hostname, credentials, options) {
29
+ if (!options) options = {};
30
+ options.format = 'binary';
36
31
 
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;
32
+ /**
33
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
34
+ */
35
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
46
36
 
37
+ /**
38
+ * @private @const {string} The hostname
39
+ */
40
+ this.hostname_ = hostname;
47
41
  };
48
42
 
49
-
50
43
  /**
51
44
  * @param {string} hostname
52
45
  * @param {?Object} credentials
@@ -55,24 +48,21 @@ proto.ondewo.s2t.Speech2TextClient =
55
48
  * @struct
56
49
  * @final
57
50
  */
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);
51
+ proto.ondewo.s2t.Speech2TextPromiseClient = function (hostname, credentials, options) {
52
+ if (!options) options = {};
53
+ options.format = 'binary';
67
54
 
68
- /**
69
- * @private @const {string} The hostname
70
- */
71
- this.hostname_ = hostname;
55
+ /**
56
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
57
+ */
58
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
72
59
 
60
+ /**
61
+ * @private @const {string} The hostname
62
+ */
63
+ this.hostname_ = hostname;
73
64
  };
74
65
 
75
-
76
66
  /**
77
67
  * @const
78
68
  * @type {!grpc.web.MethodDescriptor<
@@ -80,21 +70,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient =
80
70
  * !proto.ondewo.s2t.TranscribeFileResponse>}
81
71
  */
82
72
  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
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
95
85
  );
96
86
 
97
-
98
87
  /**
99
88
  * @param {!proto.ondewo.s2t.TranscribeFileRequest} request The
100
89
  * request proto
@@ -105,17 +94,16 @@ const methodDescriptor_Speech2Text_TranscribeFile = new grpc.web.MethodDescripto
105
94
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.TranscribeFileResponse>|undefined}
106
95
  * The XHR Node Readable Stream
107
96
  */
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);
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
+ );
116
105
  };
117
106
 
118
-
119
107
  /**
120
108
  * @param {!proto.ondewo.s2t.TranscribeFileRequest} request The
121
109
  * request proto
@@ -124,16 +112,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.transcribeFile =
124
112
  * @return {!Promise<!proto.ondewo.s2t.TranscribeFileResponse>}
125
113
  * Promise that resolves to the response
126
114
  */
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);
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
+ );
134
122
  };
135
123
 
136
-
137
124
  /**
138
125
  * @const
139
126
  * @type {!grpc.web.MethodDescriptor<
@@ -141,21 +128,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.transcribeFile =
141
128
  * !proto.ondewo.s2t.Speech2TextConfig>}
142
129
  */
143
130
  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
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
156
143
  );
157
144
 
158
-
159
145
  /**
160
146
  * @param {!proto.ondewo.s2t.S2tPipelineId} request The
161
147
  * request proto
@@ -166,17 +152,16 @@ const methodDescriptor_Speech2Text_GetS2tPipeline = new grpc.web.MethodDescripto
166
152
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.Speech2TextConfig>|undefined}
167
153
  * The XHR Node Readable Stream
168
154
  */
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);
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
+ );
177
163
  };
178
164
 
179
-
180
165
  /**
181
166
  * @param {!proto.ondewo.s2t.S2tPipelineId} request The
182
167
  * request proto
@@ -185,16 +170,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.getS2tPipeline =
185
170
  * @return {!Promise<!proto.ondewo.s2t.Speech2TextConfig>}
186
171
  * Promise that resolves to the response
187
172
  */
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);
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
+ );
195
180
  };
196
181
 
197
-
198
182
  /**
199
183
  * @const
200
184
  * @type {!grpc.web.MethodDescriptor<
@@ -202,21 +186,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.getS2tPipeline =
202
186
  * !proto.ondewo.s2t.S2tPipelineId>}
203
187
  */
204
188
  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
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
217
201
  );
218
202
 
219
-
220
203
  /**
221
204
  * @param {!proto.ondewo.s2t.Speech2TextConfig} request The
222
205
  * request proto
@@ -227,17 +210,16 @@ const methodDescriptor_Speech2Text_CreateS2tPipeline = new grpc.web.MethodDescri
227
210
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.S2tPipelineId>|undefined}
228
211
  * The XHR Node Readable Stream
229
212
  */
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);
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
+ );
238
221
  };
239
222
 
240
-
241
223
  /**
242
224
  * @param {!proto.ondewo.s2t.Speech2TextConfig} request The
243
225
  * request proto
@@ -246,16 +228,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.createS2tPipeline =
246
228
  * @return {!Promise<!proto.ondewo.s2t.S2tPipelineId>}
247
229
  * Promise that resolves to the response
248
230
  */
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);
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
+ );
256
238
  };
257
239
 
258
-
259
240
  /**
260
241
  * @const
261
242
  * @type {!grpc.web.MethodDescriptor<
@@ -263,21 +244,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.createS2tPipeline =
263
244
  * !proto.google.protobuf.Empty>}
264
245
  */
265
246
  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
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
278
259
  );
279
260
 
280
-
281
261
  /**
282
262
  * @param {!proto.ondewo.s2t.S2tPipelineId} request The
283
263
  * request proto
@@ -288,17 +268,16 @@ const methodDescriptor_Speech2Text_DeleteS2tPipeline = new grpc.web.MethodDescri
288
268
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
289
269
  * The XHR Node Readable Stream
290
270
  */
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);
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
+ );
299
279
  };
300
280
 
301
-
302
281
  /**
303
282
  * @param {!proto.ondewo.s2t.S2tPipelineId} request The
304
283
  * request proto
@@ -307,16 +286,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.deleteS2tPipeline =
307
286
  * @return {!Promise<!proto.google.protobuf.Empty>}
308
287
  * Promise that resolves to the response
309
288
  */
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);
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
+ );
317
296
  };
318
297
 
319
-
320
298
  /**
321
299
  * @const
322
300
  * @type {!grpc.web.MethodDescriptor<
@@ -324,21 +302,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.deleteS2tPipeline =
324
302
  * !proto.google.protobuf.Empty>}
325
303
  */
326
304
  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
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
339
317
  );
340
318
 
341
-
342
319
  /**
343
320
  * @param {!proto.ondewo.s2t.Speech2TextConfig} request The
344
321
  * request proto
@@ -349,17 +326,16 @@ const methodDescriptor_Speech2Text_UpdateS2tPipeline = new grpc.web.MethodDescri
349
326
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
350
327
  * The XHR Node Readable Stream
351
328
  */
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);
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
+ );
360
337
  };
361
338
 
362
-
363
339
  /**
364
340
  * @param {!proto.ondewo.s2t.Speech2TextConfig} request The
365
341
  * request proto
@@ -368,16 +344,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.updateS2tPipeline =
368
344
  * @return {!Promise<!proto.google.protobuf.Empty>}
369
345
  * Promise that resolves to the response
370
346
  */
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);
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
+ );
378
354
  };
379
355
 
380
-
381
356
  /**
382
357
  * @const
383
358
  * @type {!grpc.web.MethodDescriptor<
@@ -385,21 +360,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.updateS2tPipeline =
385
360
  * !proto.ondewo.s2t.ListS2tPipelinesResponse>}
386
361
  */
387
362
  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
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
400
375
  );
401
376
 
402
-
403
377
  /**
404
378
  * @param {!proto.ondewo.s2t.ListS2tPipelinesRequest} request The
405
379
  * request proto
@@ -410,17 +384,16 @@ const methodDescriptor_Speech2Text_ListS2tPipelines = new grpc.web.MethodDescrip
410
384
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tPipelinesResponse>|undefined}
411
385
  * The XHR Node Readable Stream
412
386
  */
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);
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
+ );
421
395
  };
422
396
 
423
-
424
397
  /**
425
398
  * @param {!proto.ondewo.s2t.ListS2tPipelinesRequest} request The
426
399
  * request proto
@@ -429,16 +402,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.listS2tPipelines =
429
402
  * @return {!Promise<!proto.ondewo.s2t.ListS2tPipelinesResponse>}
430
403
  * Promise that resolves to the response
431
404
  */
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);
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
+ );
439
412
  };
440
413
 
441
-
442
414
  /**
443
415
  * @const
444
416
  * @type {!grpc.web.MethodDescriptor<
@@ -446,21 +418,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tPipelines =
446
418
  * !proto.ondewo.s2t.ListS2tLanguagesResponse>}
447
419
  */
448
420
  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
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
461
433
  );
462
434
 
463
-
464
435
  /**
465
436
  * @param {!proto.ondewo.s2t.ListS2tLanguagesRequest} request The
466
437
  * request proto
@@ -471,17 +442,16 @@ const methodDescriptor_Speech2Text_ListS2tLanguages = new grpc.web.MethodDescrip
471
442
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tLanguagesResponse>|undefined}
472
443
  * The XHR Node Readable Stream
473
444
  */
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);
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
+ );
482
453
  };
483
454
 
484
-
485
455
  /**
486
456
  * @param {!proto.ondewo.s2t.ListS2tLanguagesRequest} request The
487
457
  * request proto
@@ -490,16 +460,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.listS2tLanguages =
490
460
  * @return {!Promise<!proto.ondewo.s2t.ListS2tLanguagesResponse>}
491
461
  * Promise that resolves to the response
492
462
  */
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);
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
+ );
500
470
  };
501
471
 
502
-
503
472
  /**
504
473
  * @const
505
474
  * @type {!grpc.web.MethodDescriptor<
@@ -507,21 +476,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tLanguages =
507
476
  * !proto.ondewo.s2t.ListS2tDomainsResponse>}
508
477
  */
509
478
  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
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
522
491
  );
523
492
 
524
-
525
493
  /**
526
494
  * @param {!proto.ondewo.s2t.ListS2tDomainsRequest} request The
527
495
  * request proto
@@ -532,17 +500,16 @@ const methodDescriptor_Speech2Text_ListS2tDomains = new grpc.web.MethodDescripto
532
500
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tDomainsResponse>|undefined}
533
501
  * The XHR Node Readable Stream
534
502
  */
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);
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
+ );
543
511
  };
544
512
 
545
-
546
513
  /**
547
514
  * @param {!proto.ondewo.s2t.ListS2tDomainsRequest} request The
548
515
  * request proto
@@ -551,16 +518,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.listS2tDomains =
551
518
  * @return {!Promise<!proto.ondewo.s2t.ListS2tDomainsResponse>}
552
519
  * Promise that resolves to the response
553
520
  */
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);
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
+ );
561
528
  };
562
529
 
563
-
564
530
  /**
565
531
  * @const
566
532
  * @type {!grpc.web.MethodDescriptor<
@@ -568,21 +534,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tDomains =
568
534
  * !proto.ondewo.s2t.S2TGetServiceInfoResponse>}
569
535
  */
570
536
  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
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
583
549
  );
584
550
 
585
-
586
551
  /**
587
552
  * @param {!proto.google.protobuf.Empty} request The
588
553
  * request proto
@@ -593,17 +558,16 @@ const methodDescriptor_Speech2Text_GetServiceInfo = new grpc.web.MethodDescripto
593
558
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.S2TGetServiceInfoResponse>|undefined}
594
559
  * The XHR Node Readable Stream
595
560
  */
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);
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
+ );
604
569
  };
605
570
 
606
-
607
571
  /**
608
572
  * @param {!proto.google.protobuf.Empty} request The
609
573
  * request proto
@@ -612,16 +576,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.getServiceInfo =
612
576
  * @return {!Promise<!proto.ondewo.s2t.S2TGetServiceInfoResponse>}
613
577
  * Promise that resolves to the response
614
578
  */
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);
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
+ );
622
586
  };
623
587
 
624
-
625
588
  /**
626
589
  * @const
627
590
  * @type {!grpc.web.MethodDescriptor<
@@ -629,21 +592,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.getServiceInfo =
629
592
  * !proto.ondewo.s2t.ListS2tLanguageModelsResponse>}
630
593
  */
631
594
  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
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
644
607
  );
645
608
 
646
-
647
609
  /**
648
610
  * @param {!proto.ondewo.s2t.ListS2tLanguageModelsRequest} request The
649
611
  * request proto
@@ -654,17 +616,16 @@ const methodDescriptor_Speech2Text_ListS2tLanguageModels = new grpc.web.MethodDe
654
616
  * @return {!grpc.web.ClientReadableStream<!proto.ondewo.s2t.ListS2tLanguageModelsResponse>|undefined}
655
617
  * The XHR Node Readable Stream
656
618
  */
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);
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
+ );
665
627
  };
666
628
 
667
-
668
629
  /**
669
630
  * @param {!proto.ondewo.s2t.ListS2tLanguageModelsRequest} request The
670
631
  * request proto
@@ -673,16 +634,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.listS2tLanguageModels =
673
634
  * @return {!Promise<!proto.ondewo.s2t.ListS2tLanguageModelsResponse>}
674
635
  * Promise that resolves to the response
675
636
  */
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);
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
+ );
683
644
  };
684
645
 
685
-
686
646
  /**
687
647
  * @const
688
648
  * @type {!grpc.web.MethodDescriptor<
@@ -690,21 +650,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.listS2tLanguageModels =
690
650
  * !proto.google.protobuf.Empty>}
691
651
  */
692
652
  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
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
705
665
  );
706
666
 
707
-
708
667
  /**
709
668
  * @param {!proto.ondewo.s2t.CreateUserLanguageModelRequest} request The
710
669
  * request proto
@@ -715,17 +674,16 @@ const methodDescriptor_Speech2Text_CreateUserLanguageModel = new grpc.web.Method
715
674
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
716
675
  * The XHR Node Readable Stream
717
676
  */
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);
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
+ );
726
685
  };
727
686
 
728
-
729
687
  /**
730
688
  * @param {!proto.ondewo.s2t.CreateUserLanguageModelRequest} request The
731
689
  * request proto
@@ -734,16 +692,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.createUserLanguageModel =
734
692
  * @return {!Promise<!proto.google.protobuf.Empty>}
735
693
  * Promise that resolves to the response
736
694
  */
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);
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
+ );
744
702
  };
745
703
 
746
-
747
704
  /**
748
705
  * @const
749
706
  * @type {!grpc.web.MethodDescriptor<
@@ -751,21 +708,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.createUserLanguageModel =
751
708
  * !proto.google.protobuf.Empty>}
752
709
  */
753
710
  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
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
766
723
  );
767
724
 
768
-
769
725
  /**
770
726
  * @param {!proto.ondewo.s2t.DeleteUserLanguageModelRequest} request The
771
727
  * request proto
@@ -776,17 +732,16 @@ const methodDescriptor_Speech2Text_DeleteUserLanguageModel = new grpc.web.Method
776
732
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
777
733
  * The XHR Node Readable Stream
778
734
  */
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);
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
+ );
787
743
  };
788
744
 
789
-
790
745
  /**
791
746
  * @param {!proto.ondewo.s2t.DeleteUserLanguageModelRequest} request The
792
747
  * request proto
@@ -795,16 +750,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.deleteUserLanguageModel =
795
750
  * @return {!Promise<!proto.google.protobuf.Empty>}
796
751
  * Promise that resolves to the response
797
752
  */
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);
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
+ );
805
760
  };
806
761
 
807
-
808
762
  /**
809
763
  * @const
810
764
  * @type {!grpc.web.MethodDescriptor<
@@ -812,21 +766,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.deleteUserLanguageModel =
812
766
  * !proto.google.protobuf.Empty>}
813
767
  */
814
768
  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
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
827
781
  );
828
782
 
829
-
830
783
  /**
831
784
  * @param {!proto.ondewo.s2t.AddDataToUserLanguageModelRequest} request The
832
785
  * request proto
@@ -837,17 +790,16 @@ const methodDescriptor_Speech2Text_AddDataToUserLanguageModel = new grpc.web.Met
837
790
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
838
791
  * The XHR Node Readable Stream
839
792
  */
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);
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
+ );
848
801
  };
849
802
 
850
-
851
803
  /**
852
804
  * @param {!proto.ondewo.s2t.AddDataToUserLanguageModelRequest} request The
853
805
  * request proto
@@ -856,16 +808,15 @@ proto.ondewo.s2t.Speech2TextClient.prototype.addDataToUserLanguageModel =
856
808
  * @return {!Promise<!proto.google.protobuf.Empty>}
857
809
  * Promise that resolves to the response
858
810
  */
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);
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
+ );
866
818
  };
867
819
 
868
-
869
820
  /**
870
821
  * @const
871
822
  * @type {!grpc.web.MethodDescriptor<
@@ -873,21 +824,20 @@ proto.ondewo.s2t.Speech2TextPromiseClient.prototype.addDataToUserLanguageModel =
873
824
  * !proto.google.protobuf.Empty>}
874
825
  */
875
826
  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
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
888
839
  );
889
840
 
890
-
891
841
  /**
892
842
  * @param {!proto.ondewo.s2t.TrainUserLanguageModelRequest} request The
893
843
  * request proto
@@ -898,17 +848,16 @@ const methodDescriptor_Speech2Text_TrainUserLanguageModel = new grpc.web.MethodD
898
848
  * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
899
849
  * The XHR Node Readable Stream
900
850
  */
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);
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
+ );
909
859
  };
910
860
 
911
-
912
861
  /**
913
862
  * @param {!proto.ondewo.s2t.TrainUserLanguageModelRequest} request The
914
863
  * request proto
@@ -917,15 +866,13 @@ proto.ondewo.s2t.Speech2TextClient.prototype.trainUserLanguageModel =
917
866
  * @return {!Promise<!proto.google.protobuf.Empty>}
918
867
  * Promise that resolves to the response
919
868
  */
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);
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
+ );
927
876
  };
928
877
 
929
-
930
878
  module.exports = proto.ondewo.s2t;
931
-