@ondewo/nlu-client-typescript 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations_pb.d.ts +6 -0
- package/api/google/api/annotations_pb.js +48 -0
- package/api/google/protobuf/any_pb.d.ts +28 -0
- package/api/google/protobuf/any_pb.js +275 -0
- package/api/google/protobuf/empty_pb.d.ts +18 -0
- package/api/google/protobuf/empty_pb.js +141 -0
- package/api/google/protobuf/field_mask_pb.d.ts +24 -0
- package/api/google/protobuf/field_mask_pb.js +196 -0
- package/api/google/protobuf/struct_pb.d.ts +99 -0
- package/api/google/protobuf/struct_pb.js +948 -0
- package/api/google/protobuf/timestamp_pb.d.ts +26 -0
- package/api/google/protobuf/timestamp_pb.js +236 -0
- package/api/google/rpc/status_pb.d.ts +33 -0
- package/api/google/rpc/status_pb.js +262 -0
- package/api/google/type/latlng_pb.d.ts +26 -0
- package/api/google/type/latlng_pb.js +200 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
- package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
- package/api/ondewo/nlu/agent_pb.js +16648 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
- package/api/ondewo/nlu/aiservices_pb.js +7601 -0
- package/api/ondewo/nlu/common_pb.d.ts +26 -0
- package/api/ondewo/nlu/common_pb.js +179 -0
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
- package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
- package/api/ondewo/nlu/context_pb.d.ts +218 -0
- package/api/ondewo/nlu/context_pb.js +1788 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
- package/api/ondewo/nlu/entity_type_pb.js +5970 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
- package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
- package/api/ondewo/nlu/intent_pb.js +18784 -0
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
- package/api/ondewo/nlu/operations_pb.d.ts +236 -0
- package/api/ondewo/nlu/operations_pb.js +1826 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
- package/api/ondewo/nlu/project_role_pb.js +1713 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
- package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
- package/api/ondewo/nlu/project_statistics_pb.js +724 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
- package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
- package/api/ondewo/nlu/server_statistics_pb.js +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
- package/api/ondewo/nlu/session_pb.d.ts +1192 -0
- package/api/ondewo/nlu/session_pb.js +9762 -0
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
- package/api/ondewo/nlu/user_pb.d.ts +489 -0
- package/api/ondewo/nlu/user_pb.js +4057 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
- package/api/ondewo/nlu/utility_pb.d.ts +708 -0
- package/api/ondewo/nlu/utility_pb.js +5914 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
- package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
- package/api/ondewo/nlu/webhook_pb.js +1267 -0
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
- package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
- package/api/ondewo/qa/qa_pb.d.ts +304 -0
- package/api/ondewo/qa/qa_pb.js +2553 -0
- package/package.json +18 -0
- package/public-api.d.ts +38 -0
|
@@ -0,0 +1,1738 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for ondewo.nlu
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
const grpc = {};
|
|
16
|
+
grpc.web = require('grpc-web');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
|
|
20
|
+
|
|
21
|
+
var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
|
|
22
|
+
|
|
23
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
24
|
+
|
|
25
|
+
var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
|
|
26
|
+
|
|
27
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
28
|
+
|
|
29
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
30
|
+
|
|
31
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
32
|
+
|
|
33
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
34
|
+
const proto = {};
|
|
35
|
+
proto.ondewo = {};
|
|
36
|
+
proto.ondewo.nlu = require('./intent_pb.js');
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @param {string} hostname
|
|
40
|
+
* @param {?Object} credentials
|
|
41
|
+
* @param {?grpc.web.ClientOptions} options
|
|
42
|
+
* @constructor
|
|
43
|
+
* @struct
|
|
44
|
+
* @final
|
|
45
|
+
*/
|
|
46
|
+
proto.ondewo.nlu.IntentsClient =
|
|
47
|
+
function(hostname, credentials, options) {
|
|
48
|
+
if (!options) options = {};
|
|
49
|
+
options.format = 'binary';
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
53
|
+
*/
|
|
54
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @private @const {string} The hostname
|
|
58
|
+
*/
|
|
59
|
+
this.hostname_ = hostname;
|
|
60
|
+
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @param {string} hostname
|
|
66
|
+
* @param {?Object} credentials
|
|
67
|
+
* @param {?grpc.web.ClientOptions} options
|
|
68
|
+
* @constructor
|
|
69
|
+
* @struct
|
|
70
|
+
* @final
|
|
71
|
+
*/
|
|
72
|
+
proto.ondewo.nlu.IntentsPromiseClient =
|
|
73
|
+
function(hostname, credentials, options) {
|
|
74
|
+
if (!options) options = {};
|
|
75
|
+
options.format = 'binary';
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
79
|
+
*/
|
|
80
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @private @const {string} The hostname
|
|
84
|
+
*/
|
|
85
|
+
this.hostname_ = hostname;
|
|
86
|
+
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @const
|
|
92
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
93
|
+
* !proto.ondewo.nlu.ListIntentsRequest,
|
|
94
|
+
* !proto.ondewo.nlu.ListIntentsResponse>}
|
|
95
|
+
*/
|
|
96
|
+
const methodDescriptor_Intents_ListIntents = new grpc.web.MethodDescriptor(
|
|
97
|
+
'/ondewo.nlu.Intents/ListIntents',
|
|
98
|
+
grpc.web.MethodType.UNARY,
|
|
99
|
+
proto.ondewo.nlu.ListIntentsRequest,
|
|
100
|
+
proto.ondewo.nlu.ListIntentsResponse,
|
|
101
|
+
/**
|
|
102
|
+
* @param {!proto.ondewo.nlu.ListIntentsRequest} request
|
|
103
|
+
* @return {!Uint8Array}
|
|
104
|
+
*/
|
|
105
|
+
function(request) {
|
|
106
|
+
return request.serializeBinary();
|
|
107
|
+
},
|
|
108
|
+
proto.ondewo.nlu.ListIntentsResponse.deserializeBinary
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @param {!proto.ondewo.nlu.ListIntentsRequest} request The
|
|
114
|
+
* request proto
|
|
115
|
+
* @param {?Object<string, string>} metadata User defined
|
|
116
|
+
* call metadata
|
|
117
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListIntentsResponse)}
|
|
118
|
+
* callback The callback function(error, response)
|
|
119
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListIntentsResponse>|undefined}
|
|
120
|
+
* The XHR Node Readable Stream
|
|
121
|
+
*/
|
|
122
|
+
proto.ondewo.nlu.IntentsClient.prototype.listIntents =
|
|
123
|
+
function(request, metadata, callback) {
|
|
124
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
125
|
+
'/ondewo.nlu.Intents/ListIntents',
|
|
126
|
+
request,
|
|
127
|
+
metadata || {},
|
|
128
|
+
methodDescriptor_Intents_ListIntents,
|
|
129
|
+
callback);
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @param {!proto.ondewo.nlu.ListIntentsRequest} request The
|
|
135
|
+
* request proto
|
|
136
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
137
|
+
* call metadata
|
|
138
|
+
* @return {!Promise<!proto.ondewo.nlu.ListIntentsResponse>}
|
|
139
|
+
* Promise that resolves to the response
|
|
140
|
+
*/
|
|
141
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.listIntents =
|
|
142
|
+
function(request, metadata) {
|
|
143
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
144
|
+
'/ondewo.nlu.Intents/ListIntents',
|
|
145
|
+
request,
|
|
146
|
+
metadata || {},
|
|
147
|
+
methodDescriptor_Intents_ListIntents);
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @const
|
|
153
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
154
|
+
* !proto.ondewo.nlu.GetIntentRequest,
|
|
155
|
+
* !proto.ondewo.nlu.Intent>}
|
|
156
|
+
*/
|
|
157
|
+
const methodDescriptor_Intents_GetIntent = new grpc.web.MethodDescriptor(
|
|
158
|
+
'/ondewo.nlu.Intents/GetIntent',
|
|
159
|
+
grpc.web.MethodType.UNARY,
|
|
160
|
+
proto.ondewo.nlu.GetIntentRequest,
|
|
161
|
+
proto.ondewo.nlu.Intent,
|
|
162
|
+
/**
|
|
163
|
+
* @param {!proto.ondewo.nlu.GetIntentRequest} request
|
|
164
|
+
* @return {!Uint8Array}
|
|
165
|
+
*/
|
|
166
|
+
function(request) {
|
|
167
|
+
return request.serializeBinary();
|
|
168
|
+
},
|
|
169
|
+
proto.ondewo.nlu.Intent.deserializeBinary
|
|
170
|
+
);
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @param {!proto.ondewo.nlu.GetIntentRequest} request The
|
|
175
|
+
* request proto
|
|
176
|
+
* @param {?Object<string, string>} metadata User defined
|
|
177
|
+
* call metadata
|
|
178
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Intent)}
|
|
179
|
+
* callback The callback function(error, response)
|
|
180
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Intent>|undefined}
|
|
181
|
+
* The XHR Node Readable Stream
|
|
182
|
+
*/
|
|
183
|
+
proto.ondewo.nlu.IntentsClient.prototype.getIntent =
|
|
184
|
+
function(request, metadata, callback) {
|
|
185
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
186
|
+
'/ondewo.nlu.Intents/GetIntent',
|
|
187
|
+
request,
|
|
188
|
+
metadata || {},
|
|
189
|
+
methodDescriptor_Intents_GetIntent,
|
|
190
|
+
callback);
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @param {!proto.ondewo.nlu.GetIntentRequest} request The
|
|
196
|
+
* request proto
|
|
197
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
198
|
+
* call metadata
|
|
199
|
+
* @return {!Promise<!proto.ondewo.nlu.Intent>}
|
|
200
|
+
* Promise that resolves to the response
|
|
201
|
+
*/
|
|
202
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.getIntent =
|
|
203
|
+
function(request, metadata) {
|
|
204
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
205
|
+
'/ondewo.nlu.Intents/GetIntent',
|
|
206
|
+
request,
|
|
207
|
+
metadata || {},
|
|
208
|
+
methodDescriptor_Intents_GetIntent);
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @const
|
|
214
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
215
|
+
* !proto.ondewo.nlu.CreateIntentRequest,
|
|
216
|
+
* !proto.ondewo.nlu.Intent>}
|
|
217
|
+
*/
|
|
218
|
+
const methodDescriptor_Intents_CreateIntent = new grpc.web.MethodDescriptor(
|
|
219
|
+
'/ondewo.nlu.Intents/CreateIntent',
|
|
220
|
+
grpc.web.MethodType.UNARY,
|
|
221
|
+
proto.ondewo.nlu.CreateIntentRequest,
|
|
222
|
+
proto.ondewo.nlu.Intent,
|
|
223
|
+
/**
|
|
224
|
+
* @param {!proto.ondewo.nlu.CreateIntentRequest} request
|
|
225
|
+
* @return {!Uint8Array}
|
|
226
|
+
*/
|
|
227
|
+
function(request) {
|
|
228
|
+
return request.serializeBinary();
|
|
229
|
+
},
|
|
230
|
+
proto.ondewo.nlu.Intent.deserializeBinary
|
|
231
|
+
);
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @param {!proto.ondewo.nlu.CreateIntentRequest} request The
|
|
236
|
+
* request proto
|
|
237
|
+
* @param {?Object<string, string>} metadata User defined
|
|
238
|
+
* call metadata
|
|
239
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Intent)}
|
|
240
|
+
* callback The callback function(error, response)
|
|
241
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Intent>|undefined}
|
|
242
|
+
* The XHR Node Readable Stream
|
|
243
|
+
*/
|
|
244
|
+
proto.ondewo.nlu.IntentsClient.prototype.createIntent =
|
|
245
|
+
function(request, metadata, callback) {
|
|
246
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
247
|
+
'/ondewo.nlu.Intents/CreateIntent',
|
|
248
|
+
request,
|
|
249
|
+
metadata || {},
|
|
250
|
+
methodDescriptor_Intents_CreateIntent,
|
|
251
|
+
callback);
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @param {!proto.ondewo.nlu.CreateIntentRequest} request The
|
|
257
|
+
* request proto
|
|
258
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
259
|
+
* call metadata
|
|
260
|
+
* @return {!Promise<!proto.ondewo.nlu.Intent>}
|
|
261
|
+
* Promise that resolves to the response
|
|
262
|
+
*/
|
|
263
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.createIntent =
|
|
264
|
+
function(request, metadata) {
|
|
265
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
266
|
+
'/ondewo.nlu.Intents/CreateIntent',
|
|
267
|
+
request,
|
|
268
|
+
metadata || {},
|
|
269
|
+
methodDescriptor_Intents_CreateIntent);
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @const
|
|
275
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
276
|
+
* !proto.ondewo.nlu.UpdateIntentRequest,
|
|
277
|
+
* !proto.ondewo.nlu.Intent>}
|
|
278
|
+
*/
|
|
279
|
+
const methodDescriptor_Intents_UpdateIntent = new grpc.web.MethodDescriptor(
|
|
280
|
+
'/ondewo.nlu.Intents/UpdateIntent',
|
|
281
|
+
grpc.web.MethodType.UNARY,
|
|
282
|
+
proto.ondewo.nlu.UpdateIntentRequest,
|
|
283
|
+
proto.ondewo.nlu.Intent,
|
|
284
|
+
/**
|
|
285
|
+
* @param {!proto.ondewo.nlu.UpdateIntentRequest} request
|
|
286
|
+
* @return {!Uint8Array}
|
|
287
|
+
*/
|
|
288
|
+
function(request) {
|
|
289
|
+
return request.serializeBinary();
|
|
290
|
+
},
|
|
291
|
+
proto.ondewo.nlu.Intent.deserializeBinary
|
|
292
|
+
);
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @param {!proto.ondewo.nlu.UpdateIntentRequest} request The
|
|
297
|
+
* request proto
|
|
298
|
+
* @param {?Object<string, string>} metadata User defined
|
|
299
|
+
* call metadata
|
|
300
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Intent)}
|
|
301
|
+
* callback The callback function(error, response)
|
|
302
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Intent>|undefined}
|
|
303
|
+
* The XHR Node Readable Stream
|
|
304
|
+
*/
|
|
305
|
+
proto.ondewo.nlu.IntentsClient.prototype.updateIntent =
|
|
306
|
+
function(request, metadata, callback) {
|
|
307
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
308
|
+
'/ondewo.nlu.Intents/UpdateIntent',
|
|
309
|
+
request,
|
|
310
|
+
metadata || {},
|
|
311
|
+
methodDescriptor_Intents_UpdateIntent,
|
|
312
|
+
callback);
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @param {!proto.ondewo.nlu.UpdateIntentRequest} request The
|
|
318
|
+
* request proto
|
|
319
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
320
|
+
* call metadata
|
|
321
|
+
* @return {!Promise<!proto.ondewo.nlu.Intent>}
|
|
322
|
+
* Promise that resolves to the response
|
|
323
|
+
*/
|
|
324
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.updateIntent =
|
|
325
|
+
function(request, metadata) {
|
|
326
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
327
|
+
'/ondewo.nlu.Intents/UpdateIntent',
|
|
328
|
+
request,
|
|
329
|
+
metadata || {},
|
|
330
|
+
methodDescriptor_Intents_UpdateIntent);
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @const
|
|
336
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
337
|
+
* !proto.ondewo.nlu.DeleteIntentRequest,
|
|
338
|
+
* !proto.google.protobuf.Empty>}
|
|
339
|
+
*/
|
|
340
|
+
const methodDescriptor_Intents_DeleteIntent = new grpc.web.MethodDescriptor(
|
|
341
|
+
'/ondewo.nlu.Intents/DeleteIntent',
|
|
342
|
+
grpc.web.MethodType.UNARY,
|
|
343
|
+
proto.ondewo.nlu.DeleteIntentRequest,
|
|
344
|
+
google_protobuf_empty_pb.Empty,
|
|
345
|
+
/**
|
|
346
|
+
* @param {!proto.ondewo.nlu.DeleteIntentRequest} request
|
|
347
|
+
* @return {!Uint8Array}
|
|
348
|
+
*/
|
|
349
|
+
function(request) {
|
|
350
|
+
return request.serializeBinary();
|
|
351
|
+
},
|
|
352
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @param {!proto.ondewo.nlu.DeleteIntentRequest} request The
|
|
358
|
+
* request proto
|
|
359
|
+
* @param {?Object<string, string>} metadata User defined
|
|
360
|
+
* call metadata
|
|
361
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
362
|
+
* callback The callback function(error, response)
|
|
363
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
364
|
+
* The XHR Node Readable Stream
|
|
365
|
+
*/
|
|
366
|
+
proto.ondewo.nlu.IntentsClient.prototype.deleteIntent =
|
|
367
|
+
function(request, metadata, callback) {
|
|
368
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
369
|
+
'/ondewo.nlu.Intents/DeleteIntent',
|
|
370
|
+
request,
|
|
371
|
+
metadata || {},
|
|
372
|
+
methodDescriptor_Intents_DeleteIntent,
|
|
373
|
+
callback);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @param {!proto.ondewo.nlu.DeleteIntentRequest} request The
|
|
379
|
+
* request proto
|
|
380
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
381
|
+
* call metadata
|
|
382
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
383
|
+
* Promise that resolves to the response
|
|
384
|
+
*/
|
|
385
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.deleteIntent =
|
|
386
|
+
function(request, metadata) {
|
|
387
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
388
|
+
'/ondewo.nlu.Intents/DeleteIntent',
|
|
389
|
+
request,
|
|
390
|
+
metadata || {},
|
|
391
|
+
methodDescriptor_Intents_DeleteIntent);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @const
|
|
397
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
398
|
+
* !proto.ondewo.nlu.BatchUpdateIntentsRequest,
|
|
399
|
+
* !proto.ondewo.nlu.Operation>}
|
|
400
|
+
*/
|
|
401
|
+
const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescriptor(
|
|
402
|
+
'/ondewo.nlu.Intents/BatchUpdateIntents',
|
|
403
|
+
grpc.web.MethodType.UNARY,
|
|
404
|
+
proto.ondewo.nlu.BatchUpdateIntentsRequest,
|
|
405
|
+
ondewo_nlu_operations_pb.Operation,
|
|
406
|
+
/**
|
|
407
|
+
* @param {!proto.ondewo.nlu.BatchUpdateIntentsRequest} request
|
|
408
|
+
* @return {!Uint8Array}
|
|
409
|
+
*/
|
|
410
|
+
function(request) {
|
|
411
|
+
return request.serializeBinary();
|
|
412
|
+
},
|
|
413
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
414
|
+
);
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @param {!proto.ondewo.nlu.BatchUpdateIntentsRequest} request The
|
|
419
|
+
* request proto
|
|
420
|
+
* @param {?Object<string, string>} metadata User defined
|
|
421
|
+
* call metadata
|
|
422
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
423
|
+
* callback The callback function(error, response)
|
|
424
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
425
|
+
* The XHR Node Readable Stream
|
|
426
|
+
*/
|
|
427
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchUpdateIntents =
|
|
428
|
+
function(request, metadata, callback) {
|
|
429
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
430
|
+
'/ondewo.nlu.Intents/BatchUpdateIntents',
|
|
431
|
+
request,
|
|
432
|
+
metadata || {},
|
|
433
|
+
methodDescriptor_Intents_BatchUpdateIntents,
|
|
434
|
+
callback);
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @param {!proto.ondewo.nlu.BatchUpdateIntentsRequest} request The
|
|
440
|
+
* request proto
|
|
441
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
442
|
+
* call metadata
|
|
443
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
444
|
+
* Promise that resolves to the response
|
|
445
|
+
*/
|
|
446
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchUpdateIntents =
|
|
447
|
+
function(request, metadata) {
|
|
448
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
449
|
+
'/ondewo.nlu.Intents/BatchUpdateIntents',
|
|
450
|
+
request,
|
|
451
|
+
metadata || {},
|
|
452
|
+
methodDescriptor_Intents_BatchUpdateIntents);
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @const
|
|
458
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
459
|
+
* !proto.ondewo.nlu.BatchDeleteIntentsRequest,
|
|
460
|
+
* !proto.ondewo.nlu.Operation>}
|
|
461
|
+
*/
|
|
462
|
+
const methodDescriptor_Intents_BatchDeleteIntents = new grpc.web.MethodDescriptor(
|
|
463
|
+
'/ondewo.nlu.Intents/BatchDeleteIntents',
|
|
464
|
+
grpc.web.MethodType.UNARY,
|
|
465
|
+
proto.ondewo.nlu.BatchDeleteIntentsRequest,
|
|
466
|
+
ondewo_nlu_operations_pb.Operation,
|
|
467
|
+
/**
|
|
468
|
+
* @param {!proto.ondewo.nlu.BatchDeleteIntentsRequest} request
|
|
469
|
+
* @return {!Uint8Array}
|
|
470
|
+
*/
|
|
471
|
+
function(request) {
|
|
472
|
+
return request.serializeBinary();
|
|
473
|
+
},
|
|
474
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
475
|
+
);
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @param {!proto.ondewo.nlu.BatchDeleteIntentsRequest} request The
|
|
480
|
+
* request proto
|
|
481
|
+
* @param {?Object<string, string>} metadata User defined
|
|
482
|
+
* call metadata
|
|
483
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
484
|
+
* callback The callback function(error, response)
|
|
485
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
486
|
+
* The XHR Node Readable Stream
|
|
487
|
+
*/
|
|
488
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchDeleteIntents =
|
|
489
|
+
function(request, metadata, callback) {
|
|
490
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
491
|
+
'/ondewo.nlu.Intents/BatchDeleteIntents',
|
|
492
|
+
request,
|
|
493
|
+
metadata || {},
|
|
494
|
+
methodDescriptor_Intents_BatchDeleteIntents,
|
|
495
|
+
callback);
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @param {!proto.ondewo.nlu.BatchDeleteIntentsRequest} request The
|
|
501
|
+
* request proto
|
|
502
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
503
|
+
* call metadata
|
|
504
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
505
|
+
* Promise that resolves to the response
|
|
506
|
+
*/
|
|
507
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchDeleteIntents =
|
|
508
|
+
function(request, metadata) {
|
|
509
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
510
|
+
'/ondewo.nlu.Intents/BatchDeleteIntents',
|
|
511
|
+
request,
|
|
512
|
+
metadata || {},
|
|
513
|
+
methodDescriptor_Intents_BatchDeleteIntents);
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @const
|
|
519
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
520
|
+
* !proto.ondewo.nlu.IntentTagRequest,
|
|
521
|
+
* !proto.google.protobuf.Empty>}
|
|
522
|
+
*/
|
|
523
|
+
const methodDescriptor_Intents_TagIntent = new grpc.web.MethodDescriptor(
|
|
524
|
+
'/ondewo.nlu.Intents/TagIntent',
|
|
525
|
+
grpc.web.MethodType.UNARY,
|
|
526
|
+
proto.ondewo.nlu.IntentTagRequest,
|
|
527
|
+
google_protobuf_empty_pb.Empty,
|
|
528
|
+
/**
|
|
529
|
+
* @param {!proto.ondewo.nlu.IntentTagRequest} request
|
|
530
|
+
* @return {!Uint8Array}
|
|
531
|
+
*/
|
|
532
|
+
function(request) {
|
|
533
|
+
return request.serializeBinary();
|
|
534
|
+
},
|
|
535
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
536
|
+
);
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* @param {!proto.ondewo.nlu.IntentTagRequest} request The
|
|
541
|
+
* request proto
|
|
542
|
+
* @param {?Object<string, string>} metadata User defined
|
|
543
|
+
* call metadata
|
|
544
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
545
|
+
* callback The callback function(error, response)
|
|
546
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
547
|
+
* The XHR Node Readable Stream
|
|
548
|
+
*/
|
|
549
|
+
proto.ondewo.nlu.IntentsClient.prototype.tagIntent =
|
|
550
|
+
function(request, metadata, callback) {
|
|
551
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
552
|
+
'/ondewo.nlu.Intents/TagIntent',
|
|
553
|
+
request,
|
|
554
|
+
metadata || {},
|
|
555
|
+
methodDescriptor_Intents_TagIntent,
|
|
556
|
+
callback);
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @param {!proto.ondewo.nlu.IntentTagRequest} request The
|
|
562
|
+
* request proto
|
|
563
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
564
|
+
* call metadata
|
|
565
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
566
|
+
* Promise that resolves to the response
|
|
567
|
+
*/
|
|
568
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.tagIntent =
|
|
569
|
+
function(request, metadata) {
|
|
570
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
571
|
+
'/ondewo.nlu.Intents/TagIntent',
|
|
572
|
+
request,
|
|
573
|
+
metadata || {},
|
|
574
|
+
methodDescriptor_Intents_TagIntent);
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @const
|
|
580
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
581
|
+
* !proto.ondewo.nlu.IntentTagRequest,
|
|
582
|
+
* !proto.google.protobuf.Empty>}
|
|
583
|
+
*/
|
|
584
|
+
const methodDescriptor_Intents_DeleteIntentTag = new grpc.web.MethodDescriptor(
|
|
585
|
+
'/ondewo.nlu.Intents/DeleteIntentTag',
|
|
586
|
+
grpc.web.MethodType.UNARY,
|
|
587
|
+
proto.ondewo.nlu.IntentTagRequest,
|
|
588
|
+
google_protobuf_empty_pb.Empty,
|
|
589
|
+
/**
|
|
590
|
+
* @param {!proto.ondewo.nlu.IntentTagRequest} request
|
|
591
|
+
* @return {!Uint8Array}
|
|
592
|
+
*/
|
|
593
|
+
function(request) {
|
|
594
|
+
return request.serializeBinary();
|
|
595
|
+
},
|
|
596
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
597
|
+
);
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @param {!proto.ondewo.nlu.IntentTagRequest} request The
|
|
602
|
+
* request proto
|
|
603
|
+
* @param {?Object<string, string>} metadata User defined
|
|
604
|
+
* call metadata
|
|
605
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
606
|
+
* callback The callback function(error, response)
|
|
607
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
608
|
+
* The XHR Node Readable Stream
|
|
609
|
+
*/
|
|
610
|
+
proto.ondewo.nlu.IntentsClient.prototype.deleteIntentTag =
|
|
611
|
+
function(request, metadata, callback) {
|
|
612
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
613
|
+
'/ondewo.nlu.Intents/DeleteIntentTag',
|
|
614
|
+
request,
|
|
615
|
+
metadata || {},
|
|
616
|
+
methodDescriptor_Intents_DeleteIntentTag,
|
|
617
|
+
callback);
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @param {!proto.ondewo.nlu.IntentTagRequest} request The
|
|
623
|
+
* request proto
|
|
624
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
625
|
+
* call metadata
|
|
626
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
627
|
+
* Promise that resolves to the response
|
|
628
|
+
*/
|
|
629
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.deleteIntentTag =
|
|
630
|
+
function(request, metadata) {
|
|
631
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
632
|
+
'/ondewo.nlu.Intents/DeleteIntentTag',
|
|
633
|
+
request,
|
|
634
|
+
metadata || {},
|
|
635
|
+
methodDescriptor_Intents_DeleteIntentTag);
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @const
|
|
641
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
642
|
+
* !proto.ondewo.nlu.GetIntentTagsRequest,
|
|
643
|
+
* !proto.ondewo.nlu.GetIntentTagsResponse>}
|
|
644
|
+
*/
|
|
645
|
+
const methodDescriptor_Intents_GetIntentTags = new grpc.web.MethodDescriptor(
|
|
646
|
+
'/ondewo.nlu.Intents/GetIntentTags',
|
|
647
|
+
grpc.web.MethodType.UNARY,
|
|
648
|
+
proto.ondewo.nlu.GetIntentTagsRequest,
|
|
649
|
+
proto.ondewo.nlu.GetIntentTagsResponse,
|
|
650
|
+
/**
|
|
651
|
+
* @param {!proto.ondewo.nlu.GetIntentTagsRequest} request
|
|
652
|
+
* @return {!Uint8Array}
|
|
653
|
+
*/
|
|
654
|
+
function(request) {
|
|
655
|
+
return request.serializeBinary();
|
|
656
|
+
},
|
|
657
|
+
proto.ondewo.nlu.GetIntentTagsResponse.deserializeBinary
|
|
658
|
+
);
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @param {!proto.ondewo.nlu.GetIntentTagsRequest} request The
|
|
663
|
+
* request proto
|
|
664
|
+
* @param {?Object<string, string>} metadata User defined
|
|
665
|
+
* call metadata
|
|
666
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetIntentTagsResponse)}
|
|
667
|
+
* callback The callback function(error, response)
|
|
668
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetIntentTagsResponse>|undefined}
|
|
669
|
+
* The XHR Node Readable Stream
|
|
670
|
+
*/
|
|
671
|
+
proto.ondewo.nlu.IntentsClient.prototype.getIntentTags =
|
|
672
|
+
function(request, metadata, callback) {
|
|
673
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
674
|
+
'/ondewo.nlu.Intents/GetIntentTags',
|
|
675
|
+
request,
|
|
676
|
+
metadata || {},
|
|
677
|
+
methodDescriptor_Intents_GetIntentTags,
|
|
678
|
+
callback);
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @param {!proto.ondewo.nlu.GetIntentTagsRequest} request The
|
|
684
|
+
* request proto
|
|
685
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
686
|
+
* call metadata
|
|
687
|
+
* @return {!Promise<!proto.ondewo.nlu.GetIntentTagsResponse>}
|
|
688
|
+
* Promise that resolves to the response
|
|
689
|
+
*/
|
|
690
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.getIntentTags =
|
|
691
|
+
function(request, metadata) {
|
|
692
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
693
|
+
'/ondewo.nlu.Intents/GetIntentTags',
|
|
694
|
+
request,
|
|
695
|
+
metadata || {},
|
|
696
|
+
methodDescriptor_Intents_GetIntentTags);
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @const
|
|
702
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
703
|
+
* !proto.ondewo.nlu.GetAllIntentTagsRequest,
|
|
704
|
+
* !proto.ondewo.nlu.GetIntentTagsResponse>}
|
|
705
|
+
*/
|
|
706
|
+
const methodDescriptor_Intents_GetAllIntentTags = new grpc.web.MethodDescriptor(
|
|
707
|
+
'/ondewo.nlu.Intents/GetAllIntentTags',
|
|
708
|
+
grpc.web.MethodType.UNARY,
|
|
709
|
+
proto.ondewo.nlu.GetAllIntentTagsRequest,
|
|
710
|
+
proto.ondewo.nlu.GetIntentTagsResponse,
|
|
711
|
+
/**
|
|
712
|
+
* @param {!proto.ondewo.nlu.GetAllIntentTagsRequest} request
|
|
713
|
+
* @return {!Uint8Array}
|
|
714
|
+
*/
|
|
715
|
+
function(request) {
|
|
716
|
+
return request.serializeBinary();
|
|
717
|
+
},
|
|
718
|
+
proto.ondewo.nlu.GetIntentTagsResponse.deserializeBinary
|
|
719
|
+
);
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* @param {!proto.ondewo.nlu.GetAllIntentTagsRequest} request The
|
|
724
|
+
* request proto
|
|
725
|
+
* @param {?Object<string, string>} metadata User defined
|
|
726
|
+
* call metadata
|
|
727
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetIntentTagsResponse)}
|
|
728
|
+
* callback The callback function(error, response)
|
|
729
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetIntentTagsResponse>|undefined}
|
|
730
|
+
* The XHR Node Readable Stream
|
|
731
|
+
*/
|
|
732
|
+
proto.ondewo.nlu.IntentsClient.prototype.getAllIntentTags =
|
|
733
|
+
function(request, metadata, callback) {
|
|
734
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
735
|
+
'/ondewo.nlu.Intents/GetAllIntentTags',
|
|
736
|
+
request,
|
|
737
|
+
metadata || {},
|
|
738
|
+
methodDescriptor_Intents_GetAllIntentTags,
|
|
739
|
+
callback);
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @param {!proto.ondewo.nlu.GetAllIntentTagsRequest} request The
|
|
745
|
+
* request proto
|
|
746
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
747
|
+
* call metadata
|
|
748
|
+
* @return {!Promise<!proto.ondewo.nlu.GetIntentTagsResponse>}
|
|
749
|
+
* Promise that resolves to the response
|
|
750
|
+
*/
|
|
751
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.getAllIntentTags =
|
|
752
|
+
function(request, metadata) {
|
|
753
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
754
|
+
'/ondewo.nlu.Intents/GetAllIntentTags',
|
|
755
|
+
request,
|
|
756
|
+
metadata || {},
|
|
757
|
+
methodDescriptor_Intents_GetAllIntentTags);
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* @const
|
|
763
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
764
|
+
* !proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest,
|
|
765
|
+
* !proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>}
|
|
766
|
+
*/
|
|
767
|
+
const methodDescriptor_Intents_BatchCreateTrainingPhrases = new grpc.web.MethodDescriptor(
|
|
768
|
+
'/ondewo.nlu.Intents/BatchCreateTrainingPhrases',
|
|
769
|
+
grpc.web.MethodType.UNARY,
|
|
770
|
+
proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest,
|
|
771
|
+
proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse,
|
|
772
|
+
/**
|
|
773
|
+
* @param {!proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest} request
|
|
774
|
+
* @return {!Uint8Array}
|
|
775
|
+
*/
|
|
776
|
+
function(request) {
|
|
777
|
+
return request.serializeBinary();
|
|
778
|
+
},
|
|
779
|
+
proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.deserializeBinary
|
|
780
|
+
);
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* @param {!proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest} request The
|
|
785
|
+
* request proto
|
|
786
|
+
* @param {?Object<string, string>} metadata User defined
|
|
787
|
+
* call metadata
|
|
788
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse)}
|
|
789
|
+
* callback The callback function(error, response)
|
|
790
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>|undefined}
|
|
791
|
+
* The XHR Node Readable Stream
|
|
792
|
+
*/
|
|
793
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchCreateTrainingPhrases =
|
|
794
|
+
function(request, metadata, callback) {
|
|
795
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
796
|
+
'/ondewo.nlu.Intents/BatchCreateTrainingPhrases',
|
|
797
|
+
request,
|
|
798
|
+
metadata || {},
|
|
799
|
+
methodDescriptor_Intents_BatchCreateTrainingPhrases,
|
|
800
|
+
callback);
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @param {!proto.ondewo.nlu.BatchCreateTrainingPhrasesRequest} request The
|
|
806
|
+
* request proto
|
|
807
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
808
|
+
* call metadata
|
|
809
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>}
|
|
810
|
+
* Promise that resolves to the response
|
|
811
|
+
*/
|
|
812
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchCreateTrainingPhrases =
|
|
813
|
+
function(request, metadata) {
|
|
814
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
815
|
+
'/ondewo.nlu.Intents/BatchCreateTrainingPhrases',
|
|
816
|
+
request,
|
|
817
|
+
metadata || {},
|
|
818
|
+
methodDescriptor_Intents_BatchCreateTrainingPhrases);
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @const
|
|
824
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
825
|
+
* !proto.ondewo.nlu.BatchGetTrainingPhrasesRequest,
|
|
826
|
+
* !proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>}
|
|
827
|
+
*/
|
|
828
|
+
const methodDescriptor_Intents_BatchGetTrainingPhrases = new grpc.web.MethodDescriptor(
|
|
829
|
+
'/ondewo.nlu.Intents/BatchGetTrainingPhrases',
|
|
830
|
+
grpc.web.MethodType.UNARY,
|
|
831
|
+
proto.ondewo.nlu.BatchGetTrainingPhrasesRequest,
|
|
832
|
+
proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse,
|
|
833
|
+
/**
|
|
834
|
+
* @param {!proto.ondewo.nlu.BatchGetTrainingPhrasesRequest} request
|
|
835
|
+
* @return {!Uint8Array}
|
|
836
|
+
*/
|
|
837
|
+
function(request) {
|
|
838
|
+
return request.serializeBinary();
|
|
839
|
+
},
|
|
840
|
+
proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.deserializeBinary
|
|
841
|
+
);
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @param {!proto.ondewo.nlu.BatchGetTrainingPhrasesRequest} request The
|
|
846
|
+
* request proto
|
|
847
|
+
* @param {?Object<string, string>} metadata User defined
|
|
848
|
+
* call metadata
|
|
849
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse)}
|
|
850
|
+
* callback The callback function(error, response)
|
|
851
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>|undefined}
|
|
852
|
+
* The XHR Node Readable Stream
|
|
853
|
+
*/
|
|
854
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchGetTrainingPhrases =
|
|
855
|
+
function(request, metadata, callback) {
|
|
856
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
857
|
+
'/ondewo.nlu.Intents/BatchGetTrainingPhrases',
|
|
858
|
+
request,
|
|
859
|
+
metadata || {},
|
|
860
|
+
methodDescriptor_Intents_BatchGetTrainingPhrases,
|
|
861
|
+
callback);
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* @param {!proto.ondewo.nlu.BatchGetTrainingPhrasesRequest} request The
|
|
867
|
+
* request proto
|
|
868
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
869
|
+
* call metadata
|
|
870
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>}
|
|
871
|
+
* Promise that resolves to the response
|
|
872
|
+
*/
|
|
873
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchGetTrainingPhrases =
|
|
874
|
+
function(request, metadata) {
|
|
875
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
876
|
+
'/ondewo.nlu.Intents/BatchGetTrainingPhrases',
|
|
877
|
+
request,
|
|
878
|
+
metadata || {},
|
|
879
|
+
methodDescriptor_Intents_BatchGetTrainingPhrases);
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* @const
|
|
885
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
886
|
+
* !proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest,
|
|
887
|
+
* !proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>}
|
|
888
|
+
*/
|
|
889
|
+
const methodDescriptor_Intents_BatchUpdateTrainingPhrases = new grpc.web.MethodDescriptor(
|
|
890
|
+
'/ondewo.nlu.Intents/BatchUpdateTrainingPhrases',
|
|
891
|
+
grpc.web.MethodType.UNARY,
|
|
892
|
+
proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest,
|
|
893
|
+
proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse,
|
|
894
|
+
/**
|
|
895
|
+
* @param {!proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest} request
|
|
896
|
+
* @return {!Uint8Array}
|
|
897
|
+
*/
|
|
898
|
+
function(request) {
|
|
899
|
+
return request.serializeBinary();
|
|
900
|
+
},
|
|
901
|
+
proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse.deserializeBinary
|
|
902
|
+
);
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* @param {!proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest} request The
|
|
907
|
+
* request proto
|
|
908
|
+
* @param {?Object<string, string>} metadata User defined
|
|
909
|
+
* call metadata
|
|
910
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse)}
|
|
911
|
+
* callback The callback function(error, response)
|
|
912
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>|undefined}
|
|
913
|
+
* The XHR Node Readable Stream
|
|
914
|
+
*/
|
|
915
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchUpdateTrainingPhrases =
|
|
916
|
+
function(request, metadata, callback) {
|
|
917
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
918
|
+
'/ondewo.nlu.Intents/BatchUpdateTrainingPhrases',
|
|
919
|
+
request,
|
|
920
|
+
metadata || {},
|
|
921
|
+
methodDescriptor_Intents_BatchUpdateTrainingPhrases,
|
|
922
|
+
callback);
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* @param {!proto.ondewo.nlu.BatchUpdateTrainingPhrasesRequest} request The
|
|
928
|
+
* request proto
|
|
929
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
930
|
+
* call metadata
|
|
931
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchTrainingPhrasesStatusResponse>}
|
|
932
|
+
* Promise that resolves to the response
|
|
933
|
+
*/
|
|
934
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchUpdateTrainingPhrases =
|
|
935
|
+
function(request, metadata) {
|
|
936
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
937
|
+
'/ondewo.nlu.Intents/BatchUpdateTrainingPhrases',
|
|
938
|
+
request,
|
|
939
|
+
metadata || {},
|
|
940
|
+
methodDescriptor_Intents_BatchUpdateTrainingPhrases);
|
|
941
|
+
};
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* @const
|
|
946
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
947
|
+
* !proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest,
|
|
948
|
+
* !proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse>}
|
|
949
|
+
*/
|
|
950
|
+
const methodDescriptor_Intents_BatchDeleteTrainingPhrases = new grpc.web.MethodDescriptor(
|
|
951
|
+
'/ondewo.nlu.Intents/BatchDeleteTrainingPhrases',
|
|
952
|
+
grpc.web.MethodType.UNARY,
|
|
953
|
+
proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest,
|
|
954
|
+
proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse,
|
|
955
|
+
/**
|
|
956
|
+
* @param {!proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest} request
|
|
957
|
+
* @return {!Uint8Array}
|
|
958
|
+
*/
|
|
959
|
+
function(request) {
|
|
960
|
+
return request.serializeBinary();
|
|
961
|
+
},
|
|
962
|
+
proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse.deserializeBinary
|
|
963
|
+
);
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* @param {!proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest} request The
|
|
968
|
+
* request proto
|
|
969
|
+
* @param {?Object<string, string>} metadata User defined
|
|
970
|
+
* call metadata
|
|
971
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse)}
|
|
972
|
+
* callback The callback function(error, response)
|
|
973
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse>|undefined}
|
|
974
|
+
* The XHR Node Readable Stream
|
|
975
|
+
*/
|
|
976
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchDeleteTrainingPhrases =
|
|
977
|
+
function(request, metadata, callback) {
|
|
978
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
979
|
+
'/ondewo.nlu.Intents/BatchDeleteTrainingPhrases',
|
|
980
|
+
request,
|
|
981
|
+
metadata || {},
|
|
982
|
+
methodDescriptor_Intents_BatchDeleteTrainingPhrases,
|
|
983
|
+
callback);
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @param {!proto.ondewo.nlu.BatchDeleteTrainingPhrasesRequest} request The
|
|
989
|
+
* request proto
|
|
990
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
991
|
+
* call metadata
|
|
992
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchDeleteTrainingPhrasesResponse>}
|
|
993
|
+
* Promise that resolves to the response
|
|
994
|
+
*/
|
|
995
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchDeleteTrainingPhrases =
|
|
996
|
+
function(request, metadata) {
|
|
997
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
998
|
+
'/ondewo.nlu.Intents/BatchDeleteTrainingPhrases',
|
|
999
|
+
request,
|
|
1000
|
+
metadata || {},
|
|
1001
|
+
methodDescriptor_Intents_BatchDeleteTrainingPhrases);
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* @const
|
|
1007
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1008
|
+
* !proto.ondewo.nlu.ListTrainingPhrasesRequest,
|
|
1009
|
+
* !proto.ondewo.nlu.ListTrainingPhrasesResponse>}
|
|
1010
|
+
*/
|
|
1011
|
+
const methodDescriptor_Intents_ListTrainingPhrases = new grpc.web.MethodDescriptor(
|
|
1012
|
+
'/ondewo.nlu.Intents/ListTrainingPhrases',
|
|
1013
|
+
grpc.web.MethodType.UNARY,
|
|
1014
|
+
proto.ondewo.nlu.ListTrainingPhrasesRequest,
|
|
1015
|
+
proto.ondewo.nlu.ListTrainingPhrasesResponse,
|
|
1016
|
+
/**
|
|
1017
|
+
* @param {!proto.ondewo.nlu.ListTrainingPhrasesRequest} request
|
|
1018
|
+
* @return {!Uint8Array}
|
|
1019
|
+
*/
|
|
1020
|
+
function(request) {
|
|
1021
|
+
return request.serializeBinary();
|
|
1022
|
+
},
|
|
1023
|
+
proto.ondewo.nlu.ListTrainingPhrasesResponse.deserializeBinary
|
|
1024
|
+
);
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* @param {!proto.ondewo.nlu.ListTrainingPhrasesRequest} request The
|
|
1029
|
+
* request proto
|
|
1030
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1031
|
+
* call metadata
|
|
1032
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListTrainingPhrasesResponse)}
|
|
1033
|
+
* callback The callback function(error, response)
|
|
1034
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListTrainingPhrasesResponse>|undefined}
|
|
1035
|
+
* The XHR Node Readable Stream
|
|
1036
|
+
*/
|
|
1037
|
+
proto.ondewo.nlu.IntentsClient.prototype.listTrainingPhrases =
|
|
1038
|
+
function(request, metadata, callback) {
|
|
1039
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1040
|
+
'/ondewo.nlu.Intents/ListTrainingPhrases',
|
|
1041
|
+
request,
|
|
1042
|
+
metadata || {},
|
|
1043
|
+
methodDescriptor_Intents_ListTrainingPhrases,
|
|
1044
|
+
callback);
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* @param {!proto.ondewo.nlu.ListTrainingPhrasesRequest} request The
|
|
1050
|
+
* request proto
|
|
1051
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1052
|
+
* call metadata
|
|
1053
|
+
* @return {!Promise<!proto.ondewo.nlu.ListTrainingPhrasesResponse>}
|
|
1054
|
+
* Promise that resolves to the response
|
|
1055
|
+
*/
|
|
1056
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.listTrainingPhrases =
|
|
1057
|
+
function(request, metadata) {
|
|
1058
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1059
|
+
'/ondewo.nlu.Intents/ListTrainingPhrases',
|
|
1060
|
+
request,
|
|
1061
|
+
metadata || {},
|
|
1062
|
+
methodDescriptor_Intents_ListTrainingPhrases);
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* @const
|
|
1068
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1069
|
+
* !proto.ondewo.nlu.BatchCreateResponseMessagesRequest,
|
|
1070
|
+
* !proto.ondewo.nlu.BatchResponseMessagesStatusResponse>}
|
|
1071
|
+
*/
|
|
1072
|
+
const methodDescriptor_Intents_BatchCreateResponseMessages = new grpc.web.MethodDescriptor(
|
|
1073
|
+
'/ondewo.nlu.Intents/BatchCreateResponseMessages',
|
|
1074
|
+
grpc.web.MethodType.UNARY,
|
|
1075
|
+
proto.ondewo.nlu.BatchCreateResponseMessagesRequest,
|
|
1076
|
+
proto.ondewo.nlu.BatchResponseMessagesStatusResponse,
|
|
1077
|
+
/**
|
|
1078
|
+
* @param {!proto.ondewo.nlu.BatchCreateResponseMessagesRequest} request
|
|
1079
|
+
* @return {!Uint8Array}
|
|
1080
|
+
*/
|
|
1081
|
+
function(request) {
|
|
1082
|
+
return request.serializeBinary();
|
|
1083
|
+
},
|
|
1084
|
+
proto.ondewo.nlu.BatchResponseMessagesStatusResponse.deserializeBinary
|
|
1085
|
+
);
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* @param {!proto.ondewo.nlu.BatchCreateResponseMessagesRequest} request The
|
|
1090
|
+
* request proto
|
|
1091
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1092
|
+
* call metadata
|
|
1093
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchResponseMessagesStatusResponse)}
|
|
1094
|
+
* callback The callback function(error, response)
|
|
1095
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchResponseMessagesStatusResponse>|undefined}
|
|
1096
|
+
* The XHR Node Readable Stream
|
|
1097
|
+
*/
|
|
1098
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchCreateResponseMessages =
|
|
1099
|
+
function(request, metadata, callback) {
|
|
1100
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1101
|
+
'/ondewo.nlu.Intents/BatchCreateResponseMessages',
|
|
1102
|
+
request,
|
|
1103
|
+
metadata || {},
|
|
1104
|
+
methodDescriptor_Intents_BatchCreateResponseMessages,
|
|
1105
|
+
callback);
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* @param {!proto.ondewo.nlu.BatchCreateResponseMessagesRequest} request The
|
|
1111
|
+
* request proto
|
|
1112
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1113
|
+
* call metadata
|
|
1114
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchResponseMessagesStatusResponse>}
|
|
1115
|
+
* Promise that resolves to the response
|
|
1116
|
+
*/
|
|
1117
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchCreateResponseMessages =
|
|
1118
|
+
function(request, metadata) {
|
|
1119
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1120
|
+
'/ondewo.nlu.Intents/BatchCreateResponseMessages',
|
|
1121
|
+
request,
|
|
1122
|
+
metadata || {},
|
|
1123
|
+
methodDescriptor_Intents_BatchCreateResponseMessages);
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* @const
|
|
1129
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1130
|
+
* !proto.ondewo.nlu.BatchGetResponseMessagesRequest,
|
|
1131
|
+
* !proto.ondewo.nlu.BatchResponseMessagesStatusResponse>}
|
|
1132
|
+
*/
|
|
1133
|
+
const methodDescriptor_Intents_BatchGetResponseMessages = new grpc.web.MethodDescriptor(
|
|
1134
|
+
'/ondewo.nlu.Intents/BatchGetResponseMessages',
|
|
1135
|
+
grpc.web.MethodType.UNARY,
|
|
1136
|
+
proto.ondewo.nlu.BatchGetResponseMessagesRequest,
|
|
1137
|
+
proto.ondewo.nlu.BatchResponseMessagesStatusResponse,
|
|
1138
|
+
/**
|
|
1139
|
+
* @param {!proto.ondewo.nlu.BatchGetResponseMessagesRequest} request
|
|
1140
|
+
* @return {!Uint8Array}
|
|
1141
|
+
*/
|
|
1142
|
+
function(request) {
|
|
1143
|
+
return request.serializeBinary();
|
|
1144
|
+
},
|
|
1145
|
+
proto.ondewo.nlu.BatchResponseMessagesStatusResponse.deserializeBinary
|
|
1146
|
+
);
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* @param {!proto.ondewo.nlu.BatchGetResponseMessagesRequest} request The
|
|
1151
|
+
* request proto
|
|
1152
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1153
|
+
* call metadata
|
|
1154
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchResponseMessagesStatusResponse)}
|
|
1155
|
+
* callback The callback function(error, response)
|
|
1156
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchResponseMessagesStatusResponse>|undefined}
|
|
1157
|
+
* The XHR Node Readable Stream
|
|
1158
|
+
*/
|
|
1159
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchGetResponseMessages =
|
|
1160
|
+
function(request, metadata, callback) {
|
|
1161
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1162
|
+
'/ondewo.nlu.Intents/BatchGetResponseMessages',
|
|
1163
|
+
request,
|
|
1164
|
+
metadata || {},
|
|
1165
|
+
methodDescriptor_Intents_BatchGetResponseMessages,
|
|
1166
|
+
callback);
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* @param {!proto.ondewo.nlu.BatchGetResponseMessagesRequest} request The
|
|
1172
|
+
* request proto
|
|
1173
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1174
|
+
* call metadata
|
|
1175
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchResponseMessagesStatusResponse>}
|
|
1176
|
+
* Promise that resolves to the response
|
|
1177
|
+
*/
|
|
1178
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchGetResponseMessages =
|
|
1179
|
+
function(request, metadata) {
|
|
1180
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1181
|
+
'/ondewo.nlu.Intents/BatchGetResponseMessages',
|
|
1182
|
+
request,
|
|
1183
|
+
metadata || {},
|
|
1184
|
+
methodDescriptor_Intents_BatchGetResponseMessages);
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* @const
|
|
1190
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1191
|
+
* !proto.ondewo.nlu.BatchUpdateResponseMessagesRequest,
|
|
1192
|
+
* !proto.ondewo.nlu.BatchResponseMessagesStatusResponse>}
|
|
1193
|
+
*/
|
|
1194
|
+
const methodDescriptor_Intents_BatchUpdateResponseMessages = new grpc.web.MethodDescriptor(
|
|
1195
|
+
'/ondewo.nlu.Intents/BatchUpdateResponseMessages',
|
|
1196
|
+
grpc.web.MethodType.UNARY,
|
|
1197
|
+
proto.ondewo.nlu.BatchUpdateResponseMessagesRequest,
|
|
1198
|
+
proto.ondewo.nlu.BatchResponseMessagesStatusResponse,
|
|
1199
|
+
/**
|
|
1200
|
+
* @param {!proto.ondewo.nlu.BatchUpdateResponseMessagesRequest} request
|
|
1201
|
+
* @return {!Uint8Array}
|
|
1202
|
+
*/
|
|
1203
|
+
function(request) {
|
|
1204
|
+
return request.serializeBinary();
|
|
1205
|
+
},
|
|
1206
|
+
proto.ondewo.nlu.BatchResponseMessagesStatusResponse.deserializeBinary
|
|
1207
|
+
);
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* @param {!proto.ondewo.nlu.BatchUpdateResponseMessagesRequest} request The
|
|
1212
|
+
* request proto
|
|
1213
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1214
|
+
* call metadata
|
|
1215
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchResponseMessagesStatusResponse)}
|
|
1216
|
+
* callback The callback function(error, response)
|
|
1217
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchResponseMessagesStatusResponse>|undefined}
|
|
1218
|
+
* The XHR Node Readable Stream
|
|
1219
|
+
*/
|
|
1220
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchUpdateResponseMessages =
|
|
1221
|
+
function(request, metadata, callback) {
|
|
1222
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1223
|
+
'/ondewo.nlu.Intents/BatchUpdateResponseMessages',
|
|
1224
|
+
request,
|
|
1225
|
+
metadata || {},
|
|
1226
|
+
methodDescriptor_Intents_BatchUpdateResponseMessages,
|
|
1227
|
+
callback);
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* @param {!proto.ondewo.nlu.BatchUpdateResponseMessagesRequest} request The
|
|
1233
|
+
* request proto
|
|
1234
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1235
|
+
* call metadata
|
|
1236
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchResponseMessagesStatusResponse>}
|
|
1237
|
+
* Promise that resolves to the response
|
|
1238
|
+
*/
|
|
1239
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchUpdateResponseMessages =
|
|
1240
|
+
function(request, metadata) {
|
|
1241
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1242
|
+
'/ondewo.nlu.Intents/BatchUpdateResponseMessages',
|
|
1243
|
+
request,
|
|
1244
|
+
metadata || {},
|
|
1245
|
+
methodDescriptor_Intents_BatchUpdateResponseMessages);
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* @const
|
|
1251
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1252
|
+
* !proto.ondewo.nlu.BatchDeleteResponseMessagesRequest,
|
|
1253
|
+
* !proto.ondewo.nlu.BatchDeleteResponseMessagesResponse>}
|
|
1254
|
+
*/
|
|
1255
|
+
const methodDescriptor_Intents_BatchDeleteResponseMessages = new grpc.web.MethodDescriptor(
|
|
1256
|
+
'/ondewo.nlu.Intents/BatchDeleteResponseMessages',
|
|
1257
|
+
grpc.web.MethodType.UNARY,
|
|
1258
|
+
proto.ondewo.nlu.BatchDeleteResponseMessagesRequest,
|
|
1259
|
+
proto.ondewo.nlu.BatchDeleteResponseMessagesResponse,
|
|
1260
|
+
/**
|
|
1261
|
+
* @param {!proto.ondewo.nlu.BatchDeleteResponseMessagesRequest} request
|
|
1262
|
+
* @return {!Uint8Array}
|
|
1263
|
+
*/
|
|
1264
|
+
function(request) {
|
|
1265
|
+
return request.serializeBinary();
|
|
1266
|
+
},
|
|
1267
|
+
proto.ondewo.nlu.BatchDeleteResponseMessagesResponse.deserializeBinary
|
|
1268
|
+
);
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* @param {!proto.ondewo.nlu.BatchDeleteResponseMessagesRequest} request The
|
|
1273
|
+
* request proto
|
|
1274
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1275
|
+
* call metadata
|
|
1276
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchDeleteResponseMessagesResponse)}
|
|
1277
|
+
* callback The callback function(error, response)
|
|
1278
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchDeleteResponseMessagesResponse>|undefined}
|
|
1279
|
+
* The XHR Node Readable Stream
|
|
1280
|
+
*/
|
|
1281
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchDeleteResponseMessages =
|
|
1282
|
+
function(request, metadata, callback) {
|
|
1283
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1284
|
+
'/ondewo.nlu.Intents/BatchDeleteResponseMessages',
|
|
1285
|
+
request,
|
|
1286
|
+
metadata || {},
|
|
1287
|
+
methodDescriptor_Intents_BatchDeleteResponseMessages,
|
|
1288
|
+
callback);
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* @param {!proto.ondewo.nlu.BatchDeleteResponseMessagesRequest} request The
|
|
1294
|
+
* request proto
|
|
1295
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1296
|
+
* call metadata
|
|
1297
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchDeleteResponseMessagesResponse>}
|
|
1298
|
+
* Promise that resolves to the response
|
|
1299
|
+
*/
|
|
1300
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchDeleteResponseMessages =
|
|
1301
|
+
function(request, metadata) {
|
|
1302
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1303
|
+
'/ondewo.nlu.Intents/BatchDeleteResponseMessages',
|
|
1304
|
+
request,
|
|
1305
|
+
metadata || {},
|
|
1306
|
+
methodDescriptor_Intents_BatchDeleteResponseMessages);
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* @const
|
|
1312
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1313
|
+
* !proto.ondewo.nlu.ListResponseMessagesRequest,
|
|
1314
|
+
* !proto.ondewo.nlu.ListResponseMessagesResponse>}
|
|
1315
|
+
*/
|
|
1316
|
+
const methodDescriptor_Intents_ListResponseMessages = new grpc.web.MethodDescriptor(
|
|
1317
|
+
'/ondewo.nlu.Intents/ListResponseMessages',
|
|
1318
|
+
grpc.web.MethodType.UNARY,
|
|
1319
|
+
proto.ondewo.nlu.ListResponseMessagesRequest,
|
|
1320
|
+
proto.ondewo.nlu.ListResponseMessagesResponse,
|
|
1321
|
+
/**
|
|
1322
|
+
* @param {!proto.ondewo.nlu.ListResponseMessagesRequest} request
|
|
1323
|
+
* @return {!Uint8Array}
|
|
1324
|
+
*/
|
|
1325
|
+
function(request) {
|
|
1326
|
+
return request.serializeBinary();
|
|
1327
|
+
},
|
|
1328
|
+
proto.ondewo.nlu.ListResponseMessagesResponse.deserializeBinary
|
|
1329
|
+
);
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* @param {!proto.ondewo.nlu.ListResponseMessagesRequest} request The
|
|
1334
|
+
* request proto
|
|
1335
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1336
|
+
* call metadata
|
|
1337
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListResponseMessagesResponse)}
|
|
1338
|
+
* callback The callback function(error, response)
|
|
1339
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListResponseMessagesResponse>|undefined}
|
|
1340
|
+
* The XHR Node Readable Stream
|
|
1341
|
+
*/
|
|
1342
|
+
proto.ondewo.nlu.IntentsClient.prototype.listResponseMessages =
|
|
1343
|
+
function(request, metadata, callback) {
|
|
1344
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1345
|
+
'/ondewo.nlu.Intents/ListResponseMessages',
|
|
1346
|
+
request,
|
|
1347
|
+
metadata || {},
|
|
1348
|
+
methodDescriptor_Intents_ListResponseMessages,
|
|
1349
|
+
callback);
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* @param {!proto.ondewo.nlu.ListResponseMessagesRequest} request The
|
|
1355
|
+
* request proto
|
|
1356
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1357
|
+
* call metadata
|
|
1358
|
+
* @return {!Promise<!proto.ondewo.nlu.ListResponseMessagesResponse>}
|
|
1359
|
+
* Promise that resolves to the response
|
|
1360
|
+
*/
|
|
1361
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.listResponseMessages =
|
|
1362
|
+
function(request, metadata) {
|
|
1363
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1364
|
+
'/ondewo.nlu.Intents/ListResponseMessages',
|
|
1365
|
+
request,
|
|
1366
|
+
metadata || {},
|
|
1367
|
+
methodDescriptor_Intents_ListResponseMessages);
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* @const
|
|
1373
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1374
|
+
* !proto.ondewo.nlu.BatchCreateParametersRequest,
|
|
1375
|
+
* !proto.ondewo.nlu.BatchParametersStatusResponse>}
|
|
1376
|
+
*/
|
|
1377
|
+
const methodDescriptor_Intents_BatchCreateParameters = new grpc.web.MethodDescriptor(
|
|
1378
|
+
'/ondewo.nlu.Intents/BatchCreateParameters',
|
|
1379
|
+
grpc.web.MethodType.UNARY,
|
|
1380
|
+
proto.ondewo.nlu.BatchCreateParametersRequest,
|
|
1381
|
+
proto.ondewo.nlu.BatchParametersStatusResponse,
|
|
1382
|
+
/**
|
|
1383
|
+
* @param {!proto.ondewo.nlu.BatchCreateParametersRequest} request
|
|
1384
|
+
* @return {!Uint8Array}
|
|
1385
|
+
*/
|
|
1386
|
+
function(request) {
|
|
1387
|
+
return request.serializeBinary();
|
|
1388
|
+
},
|
|
1389
|
+
proto.ondewo.nlu.BatchParametersStatusResponse.deserializeBinary
|
|
1390
|
+
);
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* @param {!proto.ondewo.nlu.BatchCreateParametersRequest} request The
|
|
1395
|
+
* request proto
|
|
1396
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1397
|
+
* call metadata
|
|
1398
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchParametersStatusResponse)}
|
|
1399
|
+
* callback The callback function(error, response)
|
|
1400
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchParametersStatusResponse>|undefined}
|
|
1401
|
+
* The XHR Node Readable Stream
|
|
1402
|
+
*/
|
|
1403
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchCreateParameters =
|
|
1404
|
+
function(request, metadata, callback) {
|
|
1405
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1406
|
+
'/ondewo.nlu.Intents/BatchCreateParameters',
|
|
1407
|
+
request,
|
|
1408
|
+
metadata || {},
|
|
1409
|
+
methodDescriptor_Intents_BatchCreateParameters,
|
|
1410
|
+
callback);
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* @param {!proto.ondewo.nlu.BatchCreateParametersRequest} request The
|
|
1416
|
+
* request proto
|
|
1417
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1418
|
+
* call metadata
|
|
1419
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchParametersStatusResponse>}
|
|
1420
|
+
* Promise that resolves to the response
|
|
1421
|
+
*/
|
|
1422
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchCreateParameters =
|
|
1423
|
+
function(request, metadata) {
|
|
1424
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1425
|
+
'/ondewo.nlu.Intents/BatchCreateParameters',
|
|
1426
|
+
request,
|
|
1427
|
+
metadata || {},
|
|
1428
|
+
methodDescriptor_Intents_BatchCreateParameters);
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* @const
|
|
1434
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1435
|
+
* !proto.ondewo.nlu.BatchGetParametersRequest,
|
|
1436
|
+
* !proto.ondewo.nlu.BatchParametersStatusResponse>}
|
|
1437
|
+
*/
|
|
1438
|
+
const methodDescriptor_Intents_BatchGetParameters = new grpc.web.MethodDescriptor(
|
|
1439
|
+
'/ondewo.nlu.Intents/BatchGetParameters',
|
|
1440
|
+
grpc.web.MethodType.UNARY,
|
|
1441
|
+
proto.ondewo.nlu.BatchGetParametersRequest,
|
|
1442
|
+
proto.ondewo.nlu.BatchParametersStatusResponse,
|
|
1443
|
+
/**
|
|
1444
|
+
* @param {!proto.ondewo.nlu.BatchGetParametersRequest} request
|
|
1445
|
+
* @return {!Uint8Array}
|
|
1446
|
+
*/
|
|
1447
|
+
function(request) {
|
|
1448
|
+
return request.serializeBinary();
|
|
1449
|
+
},
|
|
1450
|
+
proto.ondewo.nlu.BatchParametersStatusResponse.deserializeBinary
|
|
1451
|
+
);
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* @param {!proto.ondewo.nlu.BatchGetParametersRequest} request The
|
|
1456
|
+
* request proto
|
|
1457
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1458
|
+
* call metadata
|
|
1459
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchParametersStatusResponse)}
|
|
1460
|
+
* callback The callback function(error, response)
|
|
1461
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchParametersStatusResponse>|undefined}
|
|
1462
|
+
* The XHR Node Readable Stream
|
|
1463
|
+
*/
|
|
1464
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchGetParameters =
|
|
1465
|
+
function(request, metadata, callback) {
|
|
1466
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1467
|
+
'/ondewo.nlu.Intents/BatchGetParameters',
|
|
1468
|
+
request,
|
|
1469
|
+
metadata || {},
|
|
1470
|
+
methodDescriptor_Intents_BatchGetParameters,
|
|
1471
|
+
callback);
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* @param {!proto.ondewo.nlu.BatchGetParametersRequest} request The
|
|
1477
|
+
* request proto
|
|
1478
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1479
|
+
* call metadata
|
|
1480
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchParametersStatusResponse>}
|
|
1481
|
+
* Promise that resolves to the response
|
|
1482
|
+
*/
|
|
1483
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchGetParameters =
|
|
1484
|
+
function(request, metadata) {
|
|
1485
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1486
|
+
'/ondewo.nlu.Intents/BatchGetParameters',
|
|
1487
|
+
request,
|
|
1488
|
+
metadata || {},
|
|
1489
|
+
methodDescriptor_Intents_BatchGetParameters);
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* @const
|
|
1495
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1496
|
+
* !proto.ondewo.nlu.BatchUpdateParametersRequest,
|
|
1497
|
+
* !proto.ondewo.nlu.BatchParametersStatusResponse>}
|
|
1498
|
+
*/
|
|
1499
|
+
const methodDescriptor_Intents_BatchUpdateParameters = new grpc.web.MethodDescriptor(
|
|
1500
|
+
'/ondewo.nlu.Intents/BatchUpdateParameters',
|
|
1501
|
+
grpc.web.MethodType.UNARY,
|
|
1502
|
+
proto.ondewo.nlu.BatchUpdateParametersRequest,
|
|
1503
|
+
proto.ondewo.nlu.BatchParametersStatusResponse,
|
|
1504
|
+
/**
|
|
1505
|
+
* @param {!proto.ondewo.nlu.BatchUpdateParametersRequest} request
|
|
1506
|
+
* @return {!Uint8Array}
|
|
1507
|
+
*/
|
|
1508
|
+
function(request) {
|
|
1509
|
+
return request.serializeBinary();
|
|
1510
|
+
},
|
|
1511
|
+
proto.ondewo.nlu.BatchParametersStatusResponse.deserializeBinary
|
|
1512
|
+
);
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* @param {!proto.ondewo.nlu.BatchUpdateParametersRequest} request The
|
|
1517
|
+
* request proto
|
|
1518
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1519
|
+
* call metadata
|
|
1520
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchParametersStatusResponse)}
|
|
1521
|
+
* callback The callback function(error, response)
|
|
1522
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchParametersStatusResponse>|undefined}
|
|
1523
|
+
* The XHR Node Readable Stream
|
|
1524
|
+
*/
|
|
1525
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchUpdateParameters =
|
|
1526
|
+
function(request, metadata, callback) {
|
|
1527
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1528
|
+
'/ondewo.nlu.Intents/BatchUpdateParameters',
|
|
1529
|
+
request,
|
|
1530
|
+
metadata || {},
|
|
1531
|
+
methodDescriptor_Intents_BatchUpdateParameters,
|
|
1532
|
+
callback);
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* @param {!proto.ondewo.nlu.BatchUpdateParametersRequest} request The
|
|
1538
|
+
* request proto
|
|
1539
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1540
|
+
* call metadata
|
|
1541
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchParametersStatusResponse>}
|
|
1542
|
+
* Promise that resolves to the response
|
|
1543
|
+
*/
|
|
1544
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchUpdateParameters =
|
|
1545
|
+
function(request, metadata) {
|
|
1546
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1547
|
+
'/ondewo.nlu.Intents/BatchUpdateParameters',
|
|
1548
|
+
request,
|
|
1549
|
+
metadata || {},
|
|
1550
|
+
methodDescriptor_Intents_BatchUpdateParameters);
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* @const
|
|
1556
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1557
|
+
* !proto.ondewo.nlu.BatchDeleteParametersRequest,
|
|
1558
|
+
* !proto.ondewo.nlu.BatchDeleteParametersResponse>}
|
|
1559
|
+
*/
|
|
1560
|
+
const methodDescriptor_Intents_BatchDeleteParameters = new grpc.web.MethodDescriptor(
|
|
1561
|
+
'/ondewo.nlu.Intents/BatchDeleteParameters',
|
|
1562
|
+
grpc.web.MethodType.UNARY,
|
|
1563
|
+
proto.ondewo.nlu.BatchDeleteParametersRequest,
|
|
1564
|
+
proto.ondewo.nlu.BatchDeleteParametersResponse,
|
|
1565
|
+
/**
|
|
1566
|
+
* @param {!proto.ondewo.nlu.BatchDeleteParametersRequest} request
|
|
1567
|
+
* @return {!Uint8Array}
|
|
1568
|
+
*/
|
|
1569
|
+
function(request) {
|
|
1570
|
+
return request.serializeBinary();
|
|
1571
|
+
},
|
|
1572
|
+
proto.ondewo.nlu.BatchDeleteParametersResponse.deserializeBinary
|
|
1573
|
+
);
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* @param {!proto.ondewo.nlu.BatchDeleteParametersRequest} request The
|
|
1578
|
+
* request proto
|
|
1579
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1580
|
+
* call metadata
|
|
1581
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchDeleteParametersResponse)}
|
|
1582
|
+
* callback The callback function(error, response)
|
|
1583
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchDeleteParametersResponse>|undefined}
|
|
1584
|
+
* The XHR Node Readable Stream
|
|
1585
|
+
*/
|
|
1586
|
+
proto.ondewo.nlu.IntentsClient.prototype.batchDeleteParameters =
|
|
1587
|
+
function(request, metadata, callback) {
|
|
1588
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1589
|
+
'/ondewo.nlu.Intents/BatchDeleteParameters',
|
|
1590
|
+
request,
|
|
1591
|
+
metadata || {},
|
|
1592
|
+
methodDescriptor_Intents_BatchDeleteParameters,
|
|
1593
|
+
callback);
|
|
1594
|
+
};
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* @param {!proto.ondewo.nlu.BatchDeleteParametersRequest} request The
|
|
1599
|
+
* request proto
|
|
1600
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1601
|
+
* call metadata
|
|
1602
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchDeleteParametersResponse>}
|
|
1603
|
+
* Promise that resolves to the response
|
|
1604
|
+
*/
|
|
1605
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchDeleteParameters =
|
|
1606
|
+
function(request, metadata) {
|
|
1607
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1608
|
+
'/ondewo.nlu.Intents/BatchDeleteParameters',
|
|
1609
|
+
request,
|
|
1610
|
+
metadata || {},
|
|
1611
|
+
methodDescriptor_Intents_BatchDeleteParameters);
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* @const
|
|
1617
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1618
|
+
* !proto.ondewo.nlu.ListParametersRequest,
|
|
1619
|
+
* !proto.ondewo.nlu.ListParametersResponse>}
|
|
1620
|
+
*/
|
|
1621
|
+
const methodDescriptor_Intents_ListParameters = new grpc.web.MethodDescriptor(
|
|
1622
|
+
'/ondewo.nlu.Intents/ListParameters',
|
|
1623
|
+
grpc.web.MethodType.UNARY,
|
|
1624
|
+
proto.ondewo.nlu.ListParametersRequest,
|
|
1625
|
+
proto.ondewo.nlu.ListParametersResponse,
|
|
1626
|
+
/**
|
|
1627
|
+
* @param {!proto.ondewo.nlu.ListParametersRequest} request
|
|
1628
|
+
* @return {!Uint8Array}
|
|
1629
|
+
*/
|
|
1630
|
+
function(request) {
|
|
1631
|
+
return request.serializeBinary();
|
|
1632
|
+
},
|
|
1633
|
+
proto.ondewo.nlu.ListParametersResponse.deserializeBinary
|
|
1634
|
+
);
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* @param {!proto.ondewo.nlu.ListParametersRequest} request The
|
|
1639
|
+
* request proto
|
|
1640
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1641
|
+
* call metadata
|
|
1642
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListParametersResponse)}
|
|
1643
|
+
* callback The callback function(error, response)
|
|
1644
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListParametersResponse>|undefined}
|
|
1645
|
+
* The XHR Node Readable Stream
|
|
1646
|
+
*/
|
|
1647
|
+
proto.ondewo.nlu.IntentsClient.prototype.listParameters =
|
|
1648
|
+
function(request, metadata, callback) {
|
|
1649
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1650
|
+
'/ondewo.nlu.Intents/ListParameters',
|
|
1651
|
+
request,
|
|
1652
|
+
metadata || {},
|
|
1653
|
+
methodDescriptor_Intents_ListParameters,
|
|
1654
|
+
callback);
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* @param {!proto.ondewo.nlu.ListParametersRequest} request The
|
|
1660
|
+
* request proto
|
|
1661
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1662
|
+
* call metadata
|
|
1663
|
+
* @return {!Promise<!proto.ondewo.nlu.ListParametersResponse>}
|
|
1664
|
+
* Promise that resolves to the response
|
|
1665
|
+
*/
|
|
1666
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.listParameters =
|
|
1667
|
+
function(request, metadata) {
|
|
1668
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1669
|
+
'/ondewo.nlu.Intents/ListParameters',
|
|
1670
|
+
request,
|
|
1671
|
+
metadata || {},
|
|
1672
|
+
methodDescriptor_Intents_ListParameters);
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* @const
|
|
1678
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1679
|
+
* !proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest,
|
|
1680
|
+
* !proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse>}
|
|
1681
|
+
*/
|
|
1682
|
+
const methodDescriptor_Intents_ListTrainingPhrasesofIntentsWithEnrichment = new grpc.web.MethodDescriptor(
|
|
1683
|
+
'/ondewo.nlu.Intents/ListTrainingPhrasesofIntentsWithEnrichment',
|
|
1684
|
+
grpc.web.MethodType.UNARY,
|
|
1685
|
+
proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest,
|
|
1686
|
+
proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse,
|
|
1687
|
+
/**
|
|
1688
|
+
* @param {!proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest} request
|
|
1689
|
+
* @return {!Uint8Array}
|
|
1690
|
+
*/
|
|
1691
|
+
function(request) {
|
|
1692
|
+
return request.serializeBinary();
|
|
1693
|
+
},
|
|
1694
|
+
proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse.deserializeBinary
|
|
1695
|
+
);
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* @param {!proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest} request The
|
|
1700
|
+
* request proto
|
|
1701
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1702
|
+
* call metadata
|
|
1703
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse)}
|
|
1704
|
+
* callback The callback function(error, response)
|
|
1705
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse>|undefined}
|
|
1706
|
+
* The XHR Node Readable Stream
|
|
1707
|
+
*/
|
|
1708
|
+
proto.ondewo.nlu.IntentsClient.prototype.listTrainingPhrasesofIntentsWithEnrichment =
|
|
1709
|
+
function(request, metadata, callback) {
|
|
1710
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1711
|
+
'/ondewo.nlu.Intents/ListTrainingPhrasesofIntentsWithEnrichment',
|
|
1712
|
+
request,
|
|
1713
|
+
metadata || {},
|
|
1714
|
+
methodDescriptor_Intents_ListTrainingPhrasesofIntentsWithEnrichment,
|
|
1715
|
+
callback);
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* @param {!proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentRequest} request The
|
|
1721
|
+
* request proto
|
|
1722
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1723
|
+
* call metadata
|
|
1724
|
+
* @return {!Promise<!proto.ondewo.nlu.ListTrainingPhrasesofIntentsWithEnrichmentResponse>}
|
|
1725
|
+
* Promise that resolves to the response
|
|
1726
|
+
*/
|
|
1727
|
+
proto.ondewo.nlu.IntentsPromiseClient.prototype.listTrainingPhrasesofIntentsWithEnrichment =
|
|
1728
|
+
function(request, metadata) {
|
|
1729
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1730
|
+
'/ondewo.nlu.Intents/ListTrainingPhrasesofIntentsWithEnrichment',
|
|
1731
|
+
request,
|
|
1732
|
+
metadata || {},
|
|
1733
|
+
methodDescriptor_Intents_ListTrainingPhrasesofIntentsWithEnrichment);
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
module.exports = proto.ondewo.nlu;
|
|
1738
|
+
|