@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,2476 @@
|
|
|
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 google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
22
|
+
|
|
23
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
24
|
+
|
|
25
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
26
|
+
|
|
27
|
+
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js')
|
|
28
|
+
|
|
29
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
30
|
+
|
|
31
|
+
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
32
|
+
|
|
33
|
+
var ondewo_nlu_user_pb = require('../../ondewo/nlu/user_pb.js')
|
|
34
|
+
|
|
35
|
+
var ondewo_nlu_project_role_pb = require('../../ondewo/nlu/project_role_pb.js')
|
|
36
|
+
|
|
37
|
+
var ondewo_nlu_operations_pb = require('../../ondewo/nlu/operations_pb.js')
|
|
38
|
+
|
|
39
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
40
|
+
const proto = {};
|
|
41
|
+
proto.ondewo = {};
|
|
42
|
+
proto.ondewo.nlu = require('./agent_pb.js');
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @param {string} hostname
|
|
46
|
+
* @param {?Object} credentials
|
|
47
|
+
* @param {?grpc.web.ClientOptions} options
|
|
48
|
+
* @constructor
|
|
49
|
+
* @struct
|
|
50
|
+
* @final
|
|
51
|
+
*/
|
|
52
|
+
proto.ondewo.nlu.AgentsClient =
|
|
53
|
+
function(hostname, credentials, options) {
|
|
54
|
+
if (!options) options = {};
|
|
55
|
+
options.format = 'binary';
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
59
|
+
*/
|
|
60
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @private @const {string} The hostname
|
|
64
|
+
*/
|
|
65
|
+
this.hostname_ = hostname;
|
|
66
|
+
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @param {string} hostname
|
|
72
|
+
* @param {?Object} credentials
|
|
73
|
+
* @param {?grpc.web.ClientOptions} options
|
|
74
|
+
* @constructor
|
|
75
|
+
* @struct
|
|
76
|
+
* @final
|
|
77
|
+
*/
|
|
78
|
+
proto.ondewo.nlu.AgentsPromiseClient =
|
|
79
|
+
function(hostname, credentials, options) {
|
|
80
|
+
if (!options) options = {};
|
|
81
|
+
options.format = 'binary';
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
85
|
+
*/
|
|
86
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @private @const {string} The hostname
|
|
90
|
+
*/
|
|
91
|
+
this.hostname_ = hostname;
|
|
92
|
+
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @const
|
|
98
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
99
|
+
* !proto.ondewo.nlu.CreateAgentRequest,
|
|
100
|
+
* !proto.ondewo.nlu.Agent>}
|
|
101
|
+
*/
|
|
102
|
+
const methodDescriptor_Agents_CreateAgent = new grpc.web.MethodDescriptor(
|
|
103
|
+
'/ondewo.nlu.Agents/CreateAgent',
|
|
104
|
+
grpc.web.MethodType.UNARY,
|
|
105
|
+
proto.ondewo.nlu.CreateAgentRequest,
|
|
106
|
+
proto.ondewo.nlu.Agent,
|
|
107
|
+
/**
|
|
108
|
+
* @param {!proto.ondewo.nlu.CreateAgentRequest} request
|
|
109
|
+
* @return {!Uint8Array}
|
|
110
|
+
*/
|
|
111
|
+
function(request) {
|
|
112
|
+
return request.serializeBinary();
|
|
113
|
+
},
|
|
114
|
+
proto.ondewo.nlu.Agent.deserializeBinary
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @param {!proto.ondewo.nlu.CreateAgentRequest} request The
|
|
120
|
+
* request proto
|
|
121
|
+
* @param {?Object<string, string>} metadata User defined
|
|
122
|
+
* call metadata
|
|
123
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Agent)}
|
|
124
|
+
* callback The callback function(error, response)
|
|
125
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Agent>|undefined}
|
|
126
|
+
* The XHR Node Readable Stream
|
|
127
|
+
*/
|
|
128
|
+
proto.ondewo.nlu.AgentsClient.prototype.createAgent =
|
|
129
|
+
function(request, metadata, callback) {
|
|
130
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
131
|
+
'/ondewo.nlu.Agents/CreateAgent',
|
|
132
|
+
request,
|
|
133
|
+
metadata || {},
|
|
134
|
+
methodDescriptor_Agents_CreateAgent,
|
|
135
|
+
callback);
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @param {!proto.ondewo.nlu.CreateAgentRequest} request The
|
|
141
|
+
* request proto
|
|
142
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
143
|
+
* call metadata
|
|
144
|
+
* @return {!Promise<!proto.ondewo.nlu.Agent>}
|
|
145
|
+
* Promise that resolves to the response
|
|
146
|
+
*/
|
|
147
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.createAgent =
|
|
148
|
+
function(request, metadata) {
|
|
149
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
150
|
+
'/ondewo.nlu.Agents/CreateAgent',
|
|
151
|
+
request,
|
|
152
|
+
metadata || {},
|
|
153
|
+
methodDescriptor_Agents_CreateAgent);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @const
|
|
159
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
160
|
+
* !proto.ondewo.nlu.UpdateAgentRequest,
|
|
161
|
+
* !proto.ondewo.nlu.Agent>}
|
|
162
|
+
*/
|
|
163
|
+
const methodDescriptor_Agents_UpdateAgent = new grpc.web.MethodDescriptor(
|
|
164
|
+
'/ondewo.nlu.Agents/UpdateAgent',
|
|
165
|
+
grpc.web.MethodType.UNARY,
|
|
166
|
+
proto.ondewo.nlu.UpdateAgentRequest,
|
|
167
|
+
proto.ondewo.nlu.Agent,
|
|
168
|
+
/**
|
|
169
|
+
* @param {!proto.ondewo.nlu.UpdateAgentRequest} request
|
|
170
|
+
* @return {!Uint8Array}
|
|
171
|
+
*/
|
|
172
|
+
function(request) {
|
|
173
|
+
return request.serializeBinary();
|
|
174
|
+
},
|
|
175
|
+
proto.ondewo.nlu.Agent.deserializeBinary
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @param {!proto.ondewo.nlu.UpdateAgentRequest} request The
|
|
181
|
+
* request proto
|
|
182
|
+
* @param {?Object<string, string>} metadata User defined
|
|
183
|
+
* call metadata
|
|
184
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Agent)}
|
|
185
|
+
* callback The callback function(error, response)
|
|
186
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Agent>|undefined}
|
|
187
|
+
* The XHR Node Readable Stream
|
|
188
|
+
*/
|
|
189
|
+
proto.ondewo.nlu.AgentsClient.prototype.updateAgent =
|
|
190
|
+
function(request, metadata, callback) {
|
|
191
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
192
|
+
'/ondewo.nlu.Agents/UpdateAgent',
|
|
193
|
+
request,
|
|
194
|
+
metadata || {},
|
|
195
|
+
methodDescriptor_Agents_UpdateAgent,
|
|
196
|
+
callback);
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @param {!proto.ondewo.nlu.UpdateAgentRequest} request The
|
|
202
|
+
* request proto
|
|
203
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
204
|
+
* call metadata
|
|
205
|
+
* @return {!Promise<!proto.ondewo.nlu.Agent>}
|
|
206
|
+
* Promise that resolves to the response
|
|
207
|
+
*/
|
|
208
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.updateAgent =
|
|
209
|
+
function(request, metadata) {
|
|
210
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
211
|
+
'/ondewo.nlu.Agents/UpdateAgent',
|
|
212
|
+
request,
|
|
213
|
+
metadata || {},
|
|
214
|
+
methodDescriptor_Agents_UpdateAgent);
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @const
|
|
220
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
221
|
+
* !proto.ondewo.nlu.GetAgentRequest,
|
|
222
|
+
* !proto.ondewo.nlu.Agent>}
|
|
223
|
+
*/
|
|
224
|
+
const methodDescriptor_Agents_GetAgent = new grpc.web.MethodDescriptor(
|
|
225
|
+
'/ondewo.nlu.Agents/GetAgent',
|
|
226
|
+
grpc.web.MethodType.UNARY,
|
|
227
|
+
proto.ondewo.nlu.GetAgentRequest,
|
|
228
|
+
proto.ondewo.nlu.Agent,
|
|
229
|
+
/**
|
|
230
|
+
* @param {!proto.ondewo.nlu.GetAgentRequest} request
|
|
231
|
+
* @return {!Uint8Array}
|
|
232
|
+
*/
|
|
233
|
+
function(request) {
|
|
234
|
+
return request.serializeBinary();
|
|
235
|
+
},
|
|
236
|
+
proto.ondewo.nlu.Agent.deserializeBinary
|
|
237
|
+
);
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @param {!proto.ondewo.nlu.GetAgentRequest} request The
|
|
242
|
+
* request proto
|
|
243
|
+
* @param {?Object<string, string>} metadata User defined
|
|
244
|
+
* call metadata
|
|
245
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Agent)}
|
|
246
|
+
* callback The callback function(error, response)
|
|
247
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Agent>|undefined}
|
|
248
|
+
* The XHR Node Readable Stream
|
|
249
|
+
*/
|
|
250
|
+
proto.ondewo.nlu.AgentsClient.prototype.getAgent =
|
|
251
|
+
function(request, metadata, callback) {
|
|
252
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
253
|
+
'/ondewo.nlu.Agents/GetAgent',
|
|
254
|
+
request,
|
|
255
|
+
metadata || {},
|
|
256
|
+
methodDescriptor_Agents_GetAgent,
|
|
257
|
+
callback);
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @param {!proto.ondewo.nlu.GetAgentRequest} request The
|
|
263
|
+
* request proto
|
|
264
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
265
|
+
* call metadata
|
|
266
|
+
* @return {!Promise<!proto.ondewo.nlu.Agent>}
|
|
267
|
+
* Promise that resolves to the response
|
|
268
|
+
*/
|
|
269
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getAgent =
|
|
270
|
+
function(request, metadata) {
|
|
271
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
272
|
+
'/ondewo.nlu.Agents/GetAgent',
|
|
273
|
+
request,
|
|
274
|
+
metadata || {},
|
|
275
|
+
methodDescriptor_Agents_GetAgent);
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @const
|
|
281
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
282
|
+
* !proto.ondewo.nlu.DeleteAgentRequest,
|
|
283
|
+
* !proto.google.protobuf.Empty>}
|
|
284
|
+
*/
|
|
285
|
+
const methodDescriptor_Agents_DeleteAgent = new grpc.web.MethodDescriptor(
|
|
286
|
+
'/ondewo.nlu.Agents/DeleteAgent',
|
|
287
|
+
grpc.web.MethodType.UNARY,
|
|
288
|
+
proto.ondewo.nlu.DeleteAgentRequest,
|
|
289
|
+
google_protobuf_empty_pb.Empty,
|
|
290
|
+
/**
|
|
291
|
+
* @param {!proto.ondewo.nlu.DeleteAgentRequest} request
|
|
292
|
+
* @return {!Uint8Array}
|
|
293
|
+
*/
|
|
294
|
+
function(request) {
|
|
295
|
+
return request.serializeBinary();
|
|
296
|
+
},
|
|
297
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
298
|
+
);
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @param {!proto.ondewo.nlu.DeleteAgentRequest} request The
|
|
303
|
+
* request proto
|
|
304
|
+
* @param {?Object<string, string>} metadata User defined
|
|
305
|
+
* call metadata
|
|
306
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
307
|
+
* callback The callback function(error, response)
|
|
308
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
309
|
+
* The XHR Node Readable Stream
|
|
310
|
+
*/
|
|
311
|
+
proto.ondewo.nlu.AgentsClient.prototype.deleteAgent =
|
|
312
|
+
function(request, metadata, callback) {
|
|
313
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
314
|
+
'/ondewo.nlu.Agents/DeleteAgent',
|
|
315
|
+
request,
|
|
316
|
+
metadata || {},
|
|
317
|
+
methodDescriptor_Agents_DeleteAgent,
|
|
318
|
+
callback);
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @param {!proto.ondewo.nlu.DeleteAgentRequest} request The
|
|
324
|
+
* request proto
|
|
325
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
326
|
+
* call metadata
|
|
327
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
328
|
+
* Promise that resolves to the response
|
|
329
|
+
*/
|
|
330
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.deleteAgent =
|
|
331
|
+
function(request, metadata) {
|
|
332
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
333
|
+
'/ondewo.nlu.Agents/DeleteAgent',
|
|
334
|
+
request,
|
|
335
|
+
metadata || {},
|
|
336
|
+
methodDescriptor_Agents_DeleteAgent);
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @const
|
|
342
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
343
|
+
* !proto.google.protobuf.Empty,
|
|
344
|
+
* !proto.google.protobuf.Empty>}
|
|
345
|
+
*/
|
|
346
|
+
const methodDescriptor_Agents_DeleteAllAgents = new grpc.web.MethodDescriptor(
|
|
347
|
+
'/ondewo.nlu.Agents/DeleteAllAgents',
|
|
348
|
+
grpc.web.MethodType.UNARY,
|
|
349
|
+
google_protobuf_empty_pb.Empty,
|
|
350
|
+
google_protobuf_empty_pb.Empty,
|
|
351
|
+
/**
|
|
352
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
353
|
+
* @return {!Uint8Array}
|
|
354
|
+
*/
|
|
355
|
+
function(request) {
|
|
356
|
+
return request.serializeBinary();
|
|
357
|
+
},
|
|
358
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
359
|
+
);
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
364
|
+
* request proto
|
|
365
|
+
* @param {?Object<string, string>} metadata User defined
|
|
366
|
+
* call metadata
|
|
367
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
368
|
+
* callback The callback function(error, response)
|
|
369
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
370
|
+
* The XHR Node Readable Stream
|
|
371
|
+
*/
|
|
372
|
+
proto.ondewo.nlu.AgentsClient.prototype.deleteAllAgents =
|
|
373
|
+
function(request, metadata, callback) {
|
|
374
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
375
|
+
'/ondewo.nlu.Agents/DeleteAllAgents',
|
|
376
|
+
request,
|
|
377
|
+
metadata || {},
|
|
378
|
+
methodDescriptor_Agents_DeleteAllAgents,
|
|
379
|
+
callback);
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
385
|
+
* request proto
|
|
386
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
387
|
+
* call metadata
|
|
388
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
389
|
+
* Promise that resolves to the response
|
|
390
|
+
*/
|
|
391
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.deleteAllAgents =
|
|
392
|
+
function(request, metadata) {
|
|
393
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
394
|
+
'/ondewo.nlu.Agents/DeleteAllAgents',
|
|
395
|
+
request,
|
|
396
|
+
metadata || {},
|
|
397
|
+
methodDescriptor_Agents_DeleteAllAgents);
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @const
|
|
403
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
404
|
+
* !proto.ondewo.nlu.ListAgentsRequest,
|
|
405
|
+
* !proto.ondewo.nlu.ListAgentsResponse>}
|
|
406
|
+
*/
|
|
407
|
+
const methodDescriptor_Agents_ListAgents = new grpc.web.MethodDescriptor(
|
|
408
|
+
'/ondewo.nlu.Agents/ListAgents',
|
|
409
|
+
grpc.web.MethodType.UNARY,
|
|
410
|
+
proto.ondewo.nlu.ListAgentsRequest,
|
|
411
|
+
proto.ondewo.nlu.ListAgentsResponse,
|
|
412
|
+
/**
|
|
413
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request
|
|
414
|
+
* @return {!Uint8Array}
|
|
415
|
+
*/
|
|
416
|
+
function(request) {
|
|
417
|
+
return request.serializeBinary();
|
|
418
|
+
},
|
|
419
|
+
proto.ondewo.nlu.ListAgentsResponse.deserializeBinary
|
|
420
|
+
);
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request The
|
|
425
|
+
* request proto
|
|
426
|
+
* @param {?Object<string, string>} metadata User defined
|
|
427
|
+
* call metadata
|
|
428
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListAgentsResponse)}
|
|
429
|
+
* callback The callback function(error, response)
|
|
430
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListAgentsResponse>|undefined}
|
|
431
|
+
* The XHR Node Readable Stream
|
|
432
|
+
*/
|
|
433
|
+
proto.ondewo.nlu.AgentsClient.prototype.listAgents =
|
|
434
|
+
function(request, metadata, callback) {
|
|
435
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
436
|
+
'/ondewo.nlu.Agents/ListAgents',
|
|
437
|
+
request,
|
|
438
|
+
metadata || {},
|
|
439
|
+
methodDescriptor_Agents_ListAgents,
|
|
440
|
+
callback);
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request The
|
|
446
|
+
* request proto
|
|
447
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
448
|
+
* call metadata
|
|
449
|
+
* @return {!Promise<!proto.ondewo.nlu.ListAgentsResponse>}
|
|
450
|
+
* Promise that resolves to the response
|
|
451
|
+
*/
|
|
452
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.listAgents =
|
|
453
|
+
function(request, metadata) {
|
|
454
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
455
|
+
'/ondewo.nlu.Agents/ListAgents',
|
|
456
|
+
request,
|
|
457
|
+
metadata || {},
|
|
458
|
+
methodDescriptor_Agents_ListAgents);
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* @const
|
|
464
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
465
|
+
* !proto.ondewo.nlu.ListAgentsRequest,
|
|
466
|
+
* !proto.ondewo.nlu.ListAgentsOfUserResponse>}
|
|
467
|
+
*/
|
|
468
|
+
const methodDescriptor_Agents_ListAgentsOfUser = new grpc.web.MethodDescriptor(
|
|
469
|
+
'/ondewo.nlu.Agents/ListAgentsOfUser',
|
|
470
|
+
grpc.web.MethodType.UNARY,
|
|
471
|
+
proto.ondewo.nlu.ListAgentsRequest,
|
|
472
|
+
proto.ondewo.nlu.ListAgentsOfUserResponse,
|
|
473
|
+
/**
|
|
474
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request
|
|
475
|
+
* @return {!Uint8Array}
|
|
476
|
+
*/
|
|
477
|
+
function(request) {
|
|
478
|
+
return request.serializeBinary();
|
|
479
|
+
},
|
|
480
|
+
proto.ondewo.nlu.ListAgentsOfUserResponse.deserializeBinary
|
|
481
|
+
);
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request The
|
|
486
|
+
* request proto
|
|
487
|
+
* @param {?Object<string, string>} metadata User defined
|
|
488
|
+
* call metadata
|
|
489
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListAgentsOfUserResponse)}
|
|
490
|
+
* callback The callback function(error, response)
|
|
491
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListAgentsOfUserResponse>|undefined}
|
|
492
|
+
* The XHR Node Readable Stream
|
|
493
|
+
*/
|
|
494
|
+
proto.ondewo.nlu.AgentsClient.prototype.listAgentsOfUser =
|
|
495
|
+
function(request, metadata, callback) {
|
|
496
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
497
|
+
'/ondewo.nlu.Agents/ListAgentsOfUser',
|
|
498
|
+
request,
|
|
499
|
+
metadata || {},
|
|
500
|
+
methodDescriptor_Agents_ListAgentsOfUser,
|
|
501
|
+
callback);
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request The
|
|
507
|
+
* request proto
|
|
508
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
509
|
+
* call metadata
|
|
510
|
+
* @return {!Promise<!proto.ondewo.nlu.ListAgentsOfUserResponse>}
|
|
511
|
+
* Promise that resolves to the response
|
|
512
|
+
*/
|
|
513
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.listAgentsOfUser =
|
|
514
|
+
function(request, metadata) {
|
|
515
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
516
|
+
'/ondewo.nlu.Agents/ListAgentsOfUser',
|
|
517
|
+
request,
|
|
518
|
+
metadata || {},
|
|
519
|
+
methodDescriptor_Agents_ListAgentsOfUser);
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @const
|
|
525
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
526
|
+
* !proto.ondewo.nlu.ListAgentsRequest,
|
|
527
|
+
* !proto.ondewo.nlu.ListAgentsResponse>}
|
|
528
|
+
*/
|
|
529
|
+
const methodDescriptor_Agents_ListAllAgents = new grpc.web.MethodDescriptor(
|
|
530
|
+
'/ondewo.nlu.Agents/ListAllAgents',
|
|
531
|
+
grpc.web.MethodType.UNARY,
|
|
532
|
+
proto.ondewo.nlu.ListAgentsRequest,
|
|
533
|
+
proto.ondewo.nlu.ListAgentsResponse,
|
|
534
|
+
/**
|
|
535
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request
|
|
536
|
+
* @return {!Uint8Array}
|
|
537
|
+
*/
|
|
538
|
+
function(request) {
|
|
539
|
+
return request.serializeBinary();
|
|
540
|
+
},
|
|
541
|
+
proto.ondewo.nlu.ListAgentsResponse.deserializeBinary
|
|
542
|
+
);
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request The
|
|
547
|
+
* request proto
|
|
548
|
+
* @param {?Object<string, string>} metadata User defined
|
|
549
|
+
* call metadata
|
|
550
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListAgentsResponse)}
|
|
551
|
+
* callback The callback function(error, response)
|
|
552
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListAgentsResponse>|undefined}
|
|
553
|
+
* The XHR Node Readable Stream
|
|
554
|
+
*/
|
|
555
|
+
proto.ondewo.nlu.AgentsClient.prototype.listAllAgents =
|
|
556
|
+
function(request, metadata, callback) {
|
|
557
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
558
|
+
'/ondewo.nlu.Agents/ListAllAgents',
|
|
559
|
+
request,
|
|
560
|
+
metadata || {},
|
|
561
|
+
methodDescriptor_Agents_ListAllAgents,
|
|
562
|
+
callback);
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @param {!proto.ondewo.nlu.ListAgentsRequest} request The
|
|
568
|
+
* request proto
|
|
569
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
570
|
+
* call metadata
|
|
571
|
+
* @return {!Promise<!proto.ondewo.nlu.ListAgentsResponse>}
|
|
572
|
+
* Promise that resolves to the response
|
|
573
|
+
*/
|
|
574
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.listAllAgents =
|
|
575
|
+
function(request, metadata) {
|
|
576
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
577
|
+
'/ondewo.nlu.Agents/ListAllAgents',
|
|
578
|
+
request,
|
|
579
|
+
metadata || {},
|
|
580
|
+
methodDescriptor_Agents_ListAllAgents);
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @const
|
|
586
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
587
|
+
* !proto.ondewo.nlu.AddUserToProjectRequest,
|
|
588
|
+
* !proto.google.protobuf.Empty>}
|
|
589
|
+
*/
|
|
590
|
+
const methodDescriptor_Agents_AddUserToProject = new grpc.web.MethodDescriptor(
|
|
591
|
+
'/ondewo.nlu.Agents/AddUserToProject',
|
|
592
|
+
grpc.web.MethodType.UNARY,
|
|
593
|
+
proto.ondewo.nlu.AddUserToProjectRequest,
|
|
594
|
+
google_protobuf_empty_pb.Empty,
|
|
595
|
+
/**
|
|
596
|
+
* @param {!proto.ondewo.nlu.AddUserToProjectRequest} request
|
|
597
|
+
* @return {!Uint8Array}
|
|
598
|
+
*/
|
|
599
|
+
function(request) {
|
|
600
|
+
return request.serializeBinary();
|
|
601
|
+
},
|
|
602
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
603
|
+
);
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @param {!proto.ondewo.nlu.AddUserToProjectRequest} request The
|
|
608
|
+
* request proto
|
|
609
|
+
* @param {?Object<string, string>} metadata User defined
|
|
610
|
+
* call metadata
|
|
611
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
612
|
+
* callback The callback function(error, response)
|
|
613
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
614
|
+
* The XHR Node Readable Stream
|
|
615
|
+
*/
|
|
616
|
+
proto.ondewo.nlu.AgentsClient.prototype.addUserToProject =
|
|
617
|
+
function(request, metadata, callback) {
|
|
618
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
619
|
+
'/ondewo.nlu.Agents/AddUserToProject',
|
|
620
|
+
request,
|
|
621
|
+
metadata || {},
|
|
622
|
+
methodDescriptor_Agents_AddUserToProject,
|
|
623
|
+
callback);
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* @param {!proto.ondewo.nlu.AddUserToProjectRequest} request The
|
|
629
|
+
* request proto
|
|
630
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
631
|
+
* call metadata
|
|
632
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
633
|
+
* Promise that resolves to the response
|
|
634
|
+
*/
|
|
635
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.addUserToProject =
|
|
636
|
+
function(request, metadata) {
|
|
637
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
638
|
+
'/ondewo.nlu.Agents/AddUserToProject',
|
|
639
|
+
request,
|
|
640
|
+
metadata || {},
|
|
641
|
+
methodDescriptor_Agents_AddUserToProject);
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @const
|
|
647
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
648
|
+
* !proto.ondewo.nlu.RemoveUserFromProjectRequest,
|
|
649
|
+
* !proto.google.protobuf.Empty>}
|
|
650
|
+
*/
|
|
651
|
+
const methodDescriptor_Agents_RemoveUserFromProject = new grpc.web.MethodDescriptor(
|
|
652
|
+
'/ondewo.nlu.Agents/RemoveUserFromProject',
|
|
653
|
+
grpc.web.MethodType.UNARY,
|
|
654
|
+
proto.ondewo.nlu.RemoveUserFromProjectRequest,
|
|
655
|
+
google_protobuf_empty_pb.Empty,
|
|
656
|
+
/**
|
|
657
|
+
* @param {!proto.ondewo.nlu.RemoveUserFromProjectRequest} request
|
|
658
|
+
* @return {!Uint8Array}
|
|
659
|
+
*/
|
|
660
|
+
function(request) {
|
|
661
|
+
return request.serializeBinary();
|
|
662
|
+
},
|
|
663
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
664
|
+
);
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @param {!proto.ondewo.nlu.RemoveUserFromProjectRequest} request The
|
|
669
|
+
* request proto
|
|
670
|
+
* @param {?Object<string, string>} metadata User defined
|
|
671
|
+
* call metadata
|
|
672
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
673
|
+
* callback The callback function(error, response)
|
|
674
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
675
|
+
* The XHR Node Readable Stream
|
|
676
|
+
*/
|
|
677
|
+
proto.ondewo.nlu.AgentsClient.prototype.removeUserFromProject =
|
|
678
|
+
function(request, metadata, callback) {
|
|
679
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
680
|
+
'/ondewo.nlu.Agents/RemoveUserFromProject',
|
|
681
|
+
request,
|
|
682
|
+
metadata || {},
|
|
683
|
+
methodDescriptor_Agents_RemoveUserFromProject,
|
|
684
|
+
callback);
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @param {!proto.ondewo.nlu.RemoveUserFromProjectRequest} request The
|
|
690
|
+
* request proto
|
|
691
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
692
|
+
* call metadata
|
|
693
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
694
|
+
* Promise that resolves to the response
|
|
695
|
+
*/
|
|
696
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.removeUserFromProject =
|
|
697
|
+
function(request, metadata) {
|
|
698
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
699
|
+
'/ondewo.nlu.Agents/RemoveUserFromProject',
|
|
700
|
+
request,
|
|
701
|
+
metadata || {},
|
|
702
|
+
methodDescriptor_Agents_RemoveUserFromProject);
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* @const
|
|
708
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
709
|
+
* !proto.ondewo.nlu.ListUsersInProjectRequest,
|
|
710
|
+
* !proto.ondewo.nlu.ListUsersInProjectResponse>}
|
|
711
|
+
*/
|
|
712
|
+
const methodDescriptor_Agents_ListUsersInProject = new grpc.web.MethodDescriptor(
|
|
713
|
+
'/ondewo.nlu.Agents/ListUsersInProject',
|
|
714
|
+
grpc.web.MethodType.UNARY,
|
|
715
|
+
proto.ondewo.nlu.ListUsersInProjectRequest,
|
|
716
|
+
proto.ondewo.nlu.ListUsersInProjectResponse,
|
|
717
|
+
/**
|
|
718
|
+
* @param {!proto.ondewo.nlu.ListUsersInProjectRequest} request
|
|
719
|
+
* @return {!Uint8Array}
|
|
720
|
+
*/
|
|
721
|
+
function(request) {
|
|
722
|
+
return request.serializeBinary();
|
|
723
|
+
},
|
|
724
|
+
proto.ondewo.nlu.ListUsersInProjectResponse.deserializeBinary
|
|
725
|
+
);
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @param {!proto.ondewo.nlu.ListUsersInProjectRequest} request The
|
|
730
|
+
* request proto
|
|
731
|
+
* @param {?Object<string, string>} metadata User defined
|
|
732
|
+
* call metadata
|
|
733
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListUsersInProjectResponse)}
|
|
734
|
+
* callback The callback function(error, response)
|
|
735
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListUsersInProjectResponse>|undefined}
|
|
736
|
+
* The XHR Node Readable Stream
|
|
737
|
+
*/
|
|
738
|
+
proto.ondewo.nlu.AgentsClient.prototype.listUsersInProject =
|
|
739
|
+
function(request, metadata, callback) {
|
|
740
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
741
|
+
'/ondewo.nlu.Agents/ListUsersInProject',
|
|
742
|
+
request,
|
|
743
|
+
metadata || {},
|
|
744
|
+
methodDescriptor_Agents_ListUsersInProject,
|
|
745
|
+
callback);
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* @param {!proto.ondewo.nlu.ListUsersInProjectRequest} request The
|
|
751
|
+
* request proto
|
|
752
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
753
|
+
* call metadata
|
|
754
|
+
* @return {!Promise<!proto.ondewo.nlu.ListUsersInProjectResponse>}
|
|
755
|
+
* Promise that resolves to the response
|
|
756
|
+
*/
|
|
757
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.listUsersInProject =
|
|
758
|
+
function(request, metadata) {
|
|
759
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
760
|
+
'/ondewo.nlu.Agents/ListUsersInProject',
|
|
761
|
+
request,
|
|
762
|
+
metadata || {},
|
|
763
|
+
methodDescriptor_Agents_ListUsersInProject);
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* @const
|
|
769
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
770
|
+
* !proto.google.protobuf.Empty,
|
|
771
|
+
* !proto.ondewo.nlu.GetPlatformInfoResponse>}
|
|
772
|
+
*/
|
|
773
|
+
const methodDescriptor_Agents_GetPlatformInfo = new grpc.web.MethodDescriptor(
|
|
774
|
+
'/ondewo.nlu.Agents/GetPlatformInfo',
|
|
775
|
+
grpc.web.MethodType.UNARY,
|
|
776
|
+
google_protobuf_empty_pb.Empty,
|
|
777
|
+
proto.ondewo.nlu.GetPlatformInfoResponse,
|
|
778
|
+
/**
|
|
779
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
780
|
+
* @return {!Uint8Array}
|
|
781
|
+
*/
|
|
782
|
+
function(request) {
|
|
783
|
+
return request.serializeBinary();
|
|
784
|
+
},
|
|
785
|
+
proto.ondewo.nlu.GetPlatformInfoResponse.deserializeBinary
|
|
786
|
+
);
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
791
|
+
* request proto
|
|
792
|
+
* @param {?Object<string, string>} metadata User defined
|
|
793
|
+
* call metadata
|
|
794
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetPlatformInfoResponse)}
|
|
795
|
+
* callback The callback function(error, response)
|
|
796
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetPlatformInfoResponse>|undefined}
|
|
797
|
+
* The XHR Node Readable Stream
|
|
798
|
+
*/
|
|
799
|
+
proto.ondewo.nlu.AgentsClient.prototype.getPlatformInfo =
|
|
800
|
+
function(request, metadata, callback) {
|
|
801
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
802
|
+
'/ondewo.nlu.Agents/GetPlatformInfo',
|
|
803
|
+
request,
|
|
804
|
+
metadata || {},
|
|
805
|
+
methodDescriptor_Agents_GetPlatformInfo,
|
|
806
|
+
callback);
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
812
|
+
* request proto
|
|
813
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
814
|
+
* call metadata
|
|
815
|
+
* @return {!Promise<!proto.ondewo.nlu.GetPlatformInfoResponse>}
|
|
816
|
+
* Promise that resolves to the response
|
|
817
|
+
*/
|
|
818
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getPlatformInfo =
|
|
819
|
+
function(request, metadata) {
|
|
820
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
821
|
+
'/ondewo.nlu.Agents/GetPlatformInfo',
|
|
822
|
+
request,
|
|
823
|
+
metadata || {},
|
|
824
|
+
methodDescriptor_Agents_GetPlatformInfo);
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @const
|
|
830
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
831
|
+
* !proto.ondewo.nlu.ListProjectPermissionsRequest,
|
|
832
|
+
* !proto.ondewo.nlu.ListProjectPermissionsResponse>}
|
|
833
|
+
*/
|
|
834
|
+
const methodDescriptor_Agents_ListProjectPermissions = new grpc.web.MethodDescriptor(
|
|
835
|
+
'/ondewo.nlu.Agents/ListProjectPermissions',
|
|
836
|
+
grpc.web.MethodType.UNARY,
|
|
837
|
+
proto.ondewo.nlu.ListProjectPermissionsRequest,
|
|
838
|
+
proto.ondewo.nlu.ListProjectPermissionsResponse,
|
|
839
|
+
/**
|
|
840
|
+
* @param {!proto.ondewo.nlu.ListProjectPermissionsRequest} request
|
|
841
|
+
* @return {!Uint8Array}
|
|
842
|
+
*/
|
|
843
|
+
function(request) {
|
|
844
|
+
return request.serializeBinary();
|
|
845
|
+
},
|
|
846
|
+
proto.ondewo.nlu.ListProjectPermissionsResponse.deserializeBinary
|
|
847
|
+
);
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* @param {!proto.ondewo.nlu.ListProjectPermissionsRequest} request The
|
|
852
|
+
* request proto
|
|
853
|
+
* @param {?Object<string, string>} metadata User defined
|
|
854
|
+
* call metadata
|
|
855
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListProjectPermissionsResponse)}
|
|
856
|
+
* callback The callback function(error, response)
|
|
857
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListProjectPermissionsResponse>|undefined}
|
|
858
|
+
* The XHR Node Readable Stream
|
|
859
|
+
*/
|
|
860
|
+
proto.ondewo.nlu.AgentsClient.prototype.listProjectPermissions =
|
|
861
|
+
function(request, metadata, callback) {
|
|
862
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
863
|
+
'/ondewo.nlu.Agents/ListProjectPermissions',
|
|
864
|
+
request,
|
|
865
|
+
metadata || {},
|
|
866
|
+
methodDescriptor_Agents_ListProjectPermissions,
|
|
867
|
+
callback);
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* @param {!proto.ondewo.nlu.ListProjectPermissionsRequest} request The
|
|
873
|
+
* request proto
|
|
874
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
875
|
+
* call metadata
|
|
876
|
+
* @return {!Promise<!proto.ondewo.nlu.ListProjectPermissionsResponse>}
|
|
877
|
+
* Promise that resolves to the response
|
|
878
|
+
*/
|
|
879
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.listProjectPermissions =
|
|
880
|
+
function(request, metadata) {
|
|
881
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
882
|
+
'/ondewo.nlu.Agents/ListProjectPermissions',
|
|
883
|
+
request,
|
|
884
|
+
metadata || {},
|
|
885
|
+
methodDescriptor_Agents_ListProjectPermissions);
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* @const
|
|
891
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
892
|
+
* !proto.ondewo.nlu.TrainAgentRequest,
|
|
893
|
+
* !proto.ondewo.nlu.Operation>}
|
|
894
|
+
*/
|
|
895
|
+
const methodDescriptor_Agents_TrainAgent = new grpc.web.MethodDescriptor(
|
|
896
|
+
'/ondewo.nlu.Agents/TrainAgent',
|
|
897
|
+
grpc.web.MethodType.UNARY,
|
|
898
|
+
proto.ondewo.nlu.TrainAgentRequest,
|
|
899
|
+
ondewo_nlu_operations_pb.Operation,
|
|
900
|
+
/**
|
|
901
|
+
* @param {!proto.ondewo.nlu.TrainAgentRequest} request
|
|
902
|
+
* @return {!Uint8Array}
|
|
903
|
+
*/
|
|
904
|
+
function(request) {
|
|
905
|
+
return request.serializeBinary();
|
|
906
|
+
},
|
|
907
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
908
|
+
);
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @param {!proto.ondewo.nlu.TrainAgentRequest} request The
|
|
913
|
+
* request proto
|
|
914
|
+
* @param {?Object<string, string>} metadata User defined
|
|
915
|
+
* call metadata
|
|
916
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
917
|
+
* callback The callback function(error, response)
|
|
918
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
919
|
+
* The XHR Node Readable Stream
|
|
920
|
+
*/
|
|
921
|
+
proto.ondewo.nlu.AgentsClient.prototype.trainAgent =
|
|
922
|
+
function(request, metadata, callback) {
|
|
923
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
924
|
+
'/ondewo.nlu.Agents/TrainAgent',
|
|
925
|
+
request,
|
|
926
|
+
metadata || {},
|
|
927
|
+
methodDescriptor_Agents_TrainAgent,
|
|
928
|
+
callback);
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* @param {!proto.ondewo.nlu.TrainAgentRequest} request The
|
|
934
|
+
* request proto
|
|
935
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
936
|
+
* call metadata
|
|
937
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
938
|
+
* Promise that resolves to the response
|
|
939
|
+
*/
|
|
940
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.trainAgent =
|
|
941
|
+
function(request, metadata) {
|
|
942
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
943
|
+
'/ondewo.nlu.Agents/TrainAgent',
|
|
944
|
+
request,
|
|
945
|
+
metadata || {},
|
|
946
|
+
methodDescriptor_Agents_TrainAgent);
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* @const
|
|
952
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
953
|
+
* !proto.ondewo.nlu.BuildCacheRequest,
|
|
954
|
+
* !proto.ondewo.nlu.Operation>}
|
|
955
|
+
*/
|
|
956
|
+
const methodDescriptor_Agents_BuildCache = new grpc.web.MethodDescriptor(
|
|
957
|
+
'/ondewo.nlu.Agents/BuildCache',
|
|
958
|
+
grpc.web.MethodType.UNARY,
|
|
959
|
+
proto.ondewo.nlu.BuildCacheRequest,
|
|
960
|
+
ondewo_nlu_operations_pb.Operation,
|
|
961
|
+
/**
|
|
962
|
+
* @param {!proto.ondewo.nlu.BuildCacheRequest} request
|
|
963
|
+
* @return {!Uint8Array}
|
|
964
|
+
*/
|
|
965
|
+
function(request) {
|
|
966
|
+
return request.serializeBinary();
|
|
967
|
+
},
|
|
968
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
969
|
+
);
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* @param {!proto.ondewo.nlu.BuildCacheRequest} request The
|
|
974
|
+
* request proto
|
|
975
|
+
* @param {?Object<string, string>} metadata User defined
|
|
976
|
+
* call metadata
|
|
977
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
978
|
+
* callback The callback function(error, response)
|
|
979
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
980
|
+
* The XHR Node Readable Stream
|
|
981
|
+
*/
|
|
982
|
+
proto.ondewo.nlu.AgentsClient.prototype.buildCache =
|
|
983
|
+
function(request, metadata, callback) {
|
|
984
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
985
|
+
'/ondewo.nlu.Agents/BuildCache',
|
|
986
|
+
request,
|
|
987
|
+
metadata || {},
|
|
988
|
+
methodDescriptor_Agents_BuildCache,
|
|
989
|
+
callback);
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* @param {!proto.ondewo.nlu.BuildCacheRequest} request The
|
|
995
|
+
* request proto
|
|
996
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
997
|
+
* call metadata
|
|
998
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
999
|
+
* Promise that resolves to the response
|
|
1000
|
+
*/
|
|
1001
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.buildCache =
|
|
1002
|
+
function(request, metadata) {
|
|
1003
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1004
|
+
'/ondewo.nlu.Agents/BuildCache',
|
|
1005
|
+
request,
|
|
1006
|
+
metadata || {},
|
|
1007
|
+
methodDescriptor_Agents_BuildCache);
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @const
|
|
1013
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1014
|
+
* !proto.ondewo.nlu.ExportAgentRequest,
|
|
1015
|
+
* !proto.ondewo.nlu.Operation>}
|
|
1016
|
+
*/
|
|
1017
|
+
const methodDescriptor_Agents_ExportAgent = new grpc.web.MethodDescriptor(
|
|
1018
|
+
'/ondewo.nlu.Agents/ExportAgent',
|
|
1019
|
+
grpc.web.MethodType.UNARY,
|
|
1020
|
+
proto.ondewo.nlu.ExportAgentRequest,
|
|
1021
|
+
ondewo_nlu_operations_pb.Operation,
|
|
1022
|
+
/**
|
|
1023
|
+
* @param {!proto.ondewo.nlu.ExportAgentRequest} request
|
|
1024
|
+
* @return {!Uint8Array}
|
|
1025
|
+
*/
|
|
1026
|
+
function(request) {
|
|
1027
|
+
return request.serializeBinary();
|
|
1028
|
+
},
|
|
1029
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
1030
|
+
);
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* @param {!proto.ondewo.nlu.ExportAgentRequest} request The
|
|
1035
|
+
* request proto
|
|
1036
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1037
|
+
* call metadata
|
|
1038
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
1039
|
+
* callback The callback function(error, response)
|
|
1040
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
1041
|
+
* The XHR Node Readable Stream
|
|
1042
|
+
*/
|
|
1043
|
+
proto.ondewo.nlu.AgentsClient.prototype.exportAgent =
|
|
1044
|
+
function(request, metadata, callback) {
|
|
1045
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1046
|
+
'/ondewo.nlu.Agents/ExportAgent',
|
|
1047
|
+
request,
|
|
1048
|
+
metadata || {},
|
|
1049
|
+
methodDescriptor_Agents_ExportAgent,
|
|
1050
|
+
callback);
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* @param {!proto.ondewo.nlu.ExportAgentRequest} request The
|
|
1056
|
+
* request proto
|
|
1057
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1058
|
+
* call metadata
|
|
1059
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
1060
|
+
* Promise that resolves to the response
|
|
1061
|
+
*/
|
|
1062
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.exportAgent =
|
|
1063
|
+
function(request, metadata) {
|
|
1064
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1065
|
+
'/ondewo.nlu.Agents/ExportAgent',
|
|
1066
|
+
request,
|
|
1067
|
+
metadata || {},
|
|
1068
|
+
methodDescriptor_Agents_ExportAgent);
|
|
1069
|
+
};
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* @const
|
|
1074
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1075
|
+
* !proto.ondewo.nlu.ExportBenchmarkAgentRequest,
|
|
1076
|
+
* !proto.ondewo.nlu.Operation>}
|
|
1077
|
+
*/
|
|
1078
|
+
const methodDescriptor_Agents_ExportBenchmarkAgent = new grpc.web.MethodDescriptor(
|
|
1079
|
+
'/ondewo.nlu.Agents/ExportBenchmarkAgent',
|
|
1080
|
+
grpc.web.MethodType.UNARY,
|
|
1081
|
+
proto.ondewo.nlu.ExportBenchmarkAgentRequest,
|
|
1082
|
+
ondewo_nlu_operations_pb.Operation,
|
|
1083
|
+
/**
|
|
1084
|
+
* @param {!proto.ondewo.nlu.ExportBenchmarkAgentRequest} request
|
|
1085
|
+
* @return {!Uint8Array}
|
|
1086
|
+
*/
|
|
1087
|
+
function(request) {
|
|
1088
|
+
return request.serializeBinary();
|
|
1089
|
+
},
|
|
1090
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
1091
|
+
);
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* @param {!proto.ondewo.nlu.ExportBenchmarkAgentRequest} request The
|
|
1096
|
+
* request proto
|
|
1097
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1098
|
+
* call metadata
|
|
1099
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
1100
|
+
* callback The callback function(error, response)
|
|
1101
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
1102
|
+
* The XHR Node Readable Stream
|
|
1103
|
+
*/
|
|
1104
|
+
proto.ondewo.nlu.AgentsClient.prototype.exportBenchmarkAgent =
|
|
1105
|
+
function(request, metadata, callback) {
|
|
1106
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1107
|
+
'/ondewo.nlu.Agents/ExportBenchmarkAgent',
|
|
1108
|
+
request,
|
|
1109
|
+
metadata || {},
|
|
1110
|
+
methodDescriptor_Agents_ExportBenchmarkAgent,
|
|
1111
|
+
callback);
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* @param {!proto.ondewo.nlu.ExportBenchmarkAgentRequest} request The
|
|
1117
|
+
* request proto
|
|
1118
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1119
|
+
* call metadata
|
|
1120
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
1121
|
+
* Promise that resolves to the response
|
|
1122
|
+
*/
|
|
1123
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.exportBenchmarkAgent =
|
|
1124
|
+
function(request, metadata) {
|
|
1125
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1126
|
+
'/ondewo.nlu.Agents/ExportBenchmarkAgent',
|
|
1127
|
+
request,
|
|
1128
|
+
metadata || {},
|
|
1129
|
+
methodDescriptor_Agents_ExportBenchmarkAgent);
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* @const
|
|
1135
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1136
|
+
* !proto.ondewo.nlu.ImportAgentRequest,
|
|
1137
|
+
* !proto.ondewo.nlu.Operation>}
|
|
1138
|
+
*/
|
|
1139
|
+
const methodDescriptor_Agents_ImportAgent = new grpc.web.MethodDescriptor(
|
|
1140
|
+
'/ondewo.nlu.Agents/ImportAgent',
|
|
1141
|
+
grpc.web.MethodType.UNARY,
|
|
1142
|
+
proto.ondewo.nlu.ImportAgentRequest,
|
|
1143
|
+
ondewo_nlu_operations_pb.Operation,
|
|
1144
|
+
/**
|
|
1145
|
+
* @param {!proto.ondewo.nlu.ImportAgentRequest} request
|
|
1146
|
+
* @return {!Uint8Array}
|
|
1147
|
+
*/
|
|
1148
|
+
function(request) {
|
|
1149
|
+
return request.serializeBinary();
|
|
1150
|
+
},
|
|
1151
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
1152
|
+
);
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* @param {!proto.ondewo.nlu.ImportAgentRequest} request The
|
|
1157
|
+
* request proto
|
|
1158
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1159
|
+
* call metadata
|
|
1160
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
1161
|
+
* callback The callback function(error, response)
|
|
1162
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
1163
|
+
* The XHR Node Readable Stream
|
|
1164
|
+
*/
|
|
1165
|
+
proto.ondewo.nlu.AgentsClient.prototype.importAgent =
|
|
1166
|
+
function(request, metadata, callback) {
|
|
1167
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1168
|
+
'/ondewo.nlu.Agents/ImportAgent',
|
|
1169
|
+
request,
|
|
1170
|
+
metadata || {},
|
|
1171
|
+
methodDescriptor_Agents_ImportAgent,
|
|
1172
|
+
callback);
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @param {!proto.ondewo.nlu.ImportAgentRequest} request The
|
|
1178
|
+
* request proto
|
|
1179
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1180
|
+
* call metadata
|
|
1181
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
1182
|
+
* Promise that resolves to the response
|
|
1183
|
+
*/
|
|
1184
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.importAgent =
|
|
1185
|
+
function(request, metadata) {
|
|
1186
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1187
|
+
'/ondewo.nlu.Agents/ImportAgent',
|
|
1188
|
+
request,
|
|
1189
|
+
metadata || {},
|
|
1190
|
+
methodDescriptor_Agents_ImportAgent);
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* @const
|
|
1196
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1197
|
+
* !proto.ondewo.nlu.OptimizeRankingMatchRequest,
|
|
1198
|
+
* !proto.ondewo.nlu.Operation>}
|
|
1199
|
+
*/
|
|
1200
|
+
const methodDescriptor_Agents_OptimizeRankingMatch = new grpc.web.MethodDescriptor(
|
|
1201
|
+
'/ondewo.nlu.Agents/OptimizeRankingMatch',
|
|
1202
|
+
grpc.web.MethodType.UNARY,
|
|
1203
|
+
proto.ondewo.nlu.OptimizeRankingMatchRequest,
|
|
1204
|
+
ondewo_nlu_operations_pb.Operation,
|
|
1205
|
+
/**
|
|
1206
|
+
* @param {!proto.ondewo.nlu.OptimizeRankingMatchRequest} request
|
|
1207
|
+
* @return {!Uint8Array}
|
|
1208
|
+
*/
|
|
1209
|
+
function(request) {
|
|
1210
|
+
return request.serializeBinary();
|
|
1211
|
+
},
|
|
1212
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
1213
|
+
);
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* @param {!proto.ondewo.nlu.OptimizeRankingMatchRequest} request The
|
|
1218
|
+
* request proto
|
|
1219
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1220
|
+
* call metadata
|
|
1221
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
1222
|
+
* callback The callback function(error, response)
|
|
1223
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
1224
|
+
* The XHR Node Readable Stream
|
|
1225
|
+
*/
|
|
1226
|
+
proto.ondewo.nlu.AgentsClient.prototype.optimizeRankingMatch =
|
|
1227
|
+
function(request, metadata, callback) {
|
|
1228
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1229
|
+
'/ondewo.nlu.Agents/OptimizeRankingMatch',
|
|
1230
|
+
request,
|
|
1231
|
+
metadata || {},
|
|
1232
|
+
methodDescriptor_Agents_OptimizeRankingMatch,
|
|
1233
|
+
callback);
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* @param {!proto.ondewo.nlu.OptimizeRankingMatchRequest} request The
|
|
1239
|
+
* request proto
|
|
1240
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1241
|
+
* call metadata
|
|
1242
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
1243
|
+
* Promise that resolves to the response
|
|
1244
|
+
*/
|
|
1245
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.optimizeRankingMatch =
|
|
1246
|
+
function(request, metadata) {
|
|
1247
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1248
|
+
'/ondewo.nlu.Agents/OptimizeRankingMatch',
|
|
1249
|
+
request,
|
|
1250
|
+
metadata || {},
|
|
1251
|
+
methodDescriptor_Agents_OptimizeRankingMatch);
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @const
|
|
1257
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1258
|
+
* !proto.ondewo.nlu.RestoreAgentRequest,
|
|
1259
|
+
* !proto.ondewo.nlu.Operation>}
|
|
1260
|
+
*/
|
|
1261
|
+
const methodDescriptor_Agents_RestoreAgent = new grpc.web.MethodDescriptor(
|
|
1262
|
+
'/ondewo.nlu.Agents/RestoreAgent',
|
|
1263
|
+
grpc.web.MethodType.UNARY,
|
|
1264
|
+
proto.ondewo.nlu.RestoreAgentRequest,
|
|
1265
|
+
ondewo_nlu_operations_pb.Operation,
|
|
1266
|
+
/**
|
|
1267
|
+
* @param {!proto.ondewo.nlu.RestoreAgentRequest} request
|
|
1268
|
+
* @return {!Uint8Array}
|
|
1269
|
+
*/
|
|
1270
|
+
function(request) {
|
|
1271
|
+
return request.serializeBinary();
|
|
1272
|
+
},
|
|
1273
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
1274
|
+
);
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* @param {!proto.ondewo.nlu.RestoreAgentRequest} request The
|
|
1279
|
+
* request proto
|
|
1280
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1281
|
+
* call metadata
|
|
1282
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
1283
|
+
* callback The callback function(error, response)
|
|
1284
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
1285
|
+
* The XHR Node Readable Stream
|
|
1286
|
+
*/
|
|
1287
|
+
proto.ondewo.nlu.AgentsClient.prototype.restoreAgent =
|
|
1288
|
+
function(request, metadata, callback) {
|
|
1289
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1290
|
+
'/ondewo.nlu.Agents/RestoreAgent',
|
|
1291
|
+
request,
|
|
1292
|
+
metadata || {},
|
|
1293
|
+
methodDescriptor_Agents_RestoreAgent,
|
|
1294
|
+
callback);
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* @param {!proto.ondewo.nlu.RestoreAgentRequest} request The
|
|
1300
|
+
* request proto
|
|
1301
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1302
|
+
* call metadata
|
|
1303
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
1304
|
+
* Promise that resolves to the response
|
|
1305
|
+
*/
|
|
1306
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.restoreAgent =
|
|
1307
|
+
function(request, metadata) {
|
|
1308
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1309
|
+
'/ondewo.nlu.Agents/RestoreAgent',
|
|
1310
|
+
request,
|
|
1311
|
+
metadata || {},
|
|
1312
|
+
methodDescriptor_Agents_RestoreAgent);
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* @const
|
|
1318
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1319
|
+
* !proto.ondewo.nlu.GetAgentStatisticsRequest,
|
|
1320
|
+
* !proto.ondewo.nlu.GetAgentStatisticsResponse>}
|
|
1321
|
+
*/
|
|
1322
|
+
const methodDescriptor_Agents_GetAgentStatistics = new grpc.web.MethodDescriptor(
|
|
1323
|
+
'/ondewo.nlu.Agents/GetAgentStatistics',
|
|
1324
|
+
grpc.web.MethodType.UNARY,
|
|
1325
|
+
proto.ondewo.nlu.GetAgentStatisticsRequest,
|
|
1326
|
+
proto.ondewo.nlu.GetAgentStatisticsResponse,
|
|
1327
|
+
/**
|
|
1328
|
+
* @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} request
|
|
1329
|
+
* @return {!Uint8Array}
|
|
1330
|
+
*/
|
|
1331
|
+
function(request) {
|
|
1332
|
+
return request.serializeBinary();
|
|
1333
|
+
},
|
|
1334
|
+
proto.ondewo.nlu.GetAgentStatisticsResponse.deserializeBinary
|
|
1335
|
+
);
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} request The
|
|
1340
|
+
* request proto
|
|
1341
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1342
|
+
* call metadata
|
|
1343
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetAgentStatisticsResponse)}
|
|
1344
|
+
* callback The callback function(error, response)
|
|
1345
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetAgentStatisticsResponse>|undefined}
|
|
1346
|
+
* The XHR Node Readable Stream
|
|
1347
|
+
*/
|
|
1348
|
+
proto.ondewo.nlu.AgentsClient.prototype.getAgentStatistics =
|
|
1349
|
+
function(request, metadata, callback) {
|
|
1350
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1351
|
+
'/ondewo.nlu.Agents/GetAgentStatistics',
|
|
1352
|
+
request,
|
|
1353
|
+
metadata || {},
|
|
1354
|
+
methodDescriptor_Agents_GetAgentStatistics,
|
|
1355
|
+
callback);
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* @param {!proto.ondewo.nlu.GetAgentStatisticsRequest} request The
|
|
1361
|
+
* request proto
|
|
1362
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1363
|
+
* call metadata
|
|
1364
|
+
* @return {!Promise<!proto.ondewo.nlu.GetAgentStatisticsResponse>}
|
|
1365
|
+
* Promise that resolves to the response
|
|
1366
|
+
*/
|
|
1367
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getAgentStatistics =
|
|
1368
|
+
function(request, metadata) {
|
|
1369
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1370
|
+
'/ondewo.nlu.Agents/GetAgentStatistics',
|
|
1371
|
+
request,
|
|
1372
|
+
metadata || {},
|
|
1373
|
+
methodDescriptor_Agents_GetAgentStatistics);
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* @const
|
|
1379
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1380
|
+
* !proto.ondewo.nlu.SetAgentStatusRequest,
|
|
1381
|
+
* !proto.ondewo.nlu.Agent>}
|
|
1382
|
+
*/
|
|
1383
|
+
const methodDescriptor_Agents_SetAgentStatus = new grpc.web.MethodDescriptor(
|
|
1384
|
+
'/ondewo.nlu.Agents/SetAgentStatus',
|
|
1385
|
+
grpc.web.MethodType.UNARY,
|
|
1386
|
+
proto.ondewo.nlu.SetAgentStatusRequest,
|
|
1387
|
+
proto.ondewo.nlu.Agent,
|
|
1388
|
+
/**
|
|
1389
|
+
* @param {!proto.ondewo.nlu.SetAgentStatusRequest} request
|
|
1390
|
+
* @return {!Uint8Array}
|
|
1391
|
+
*/
|
|
1392
|
+
function(request) {
|
|
1393
|
+
return request.serializeBinary();
|
|
1394
|
+
},
|
|
1395
|
+
proto.ondewo.nlu.Agent.deserializeBinary
|
|
1396
|
+
);
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @param {!proto.ondewo.nlu.SetAgentStatusRequest} request The
|
|
1401
|
+
* request proto
|
|
1402
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1403
|
+
* call metadata
|
|
1404
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Agent)}
|
|
1405
|
+
* callback The callback function(error, response)
|
|
1406
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Agent>|undefined}
|
|
1407
|
+
* The XHR Node Readable Stream
|
|
1408
|
+
*/
|
|
1409
|
+
proto.ondewo.nlu.AgentsClient.prototype.setAgentStatus =
|
|
1410
|
+
function(request, metadata, callback) {
|
|
1411
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1412
|
+
'/ondewo.nlu.Agents/SetAgentStatus',
|
|
1413
|
+
request,
|
|
1414
|
+
metadata || {},
|
|
1415
|
+
methodDescriptor_Agents_SetAgentStatus,
|
|
1416
|
+
callback);
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* @param {!proto.ondewo.nlu.SetAgentStatusRequest} request The
|
|
1422
|
+
* request proto
|
|
1423
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1424
|
+
* call metadata
|
|
1425
|
+
* @return {!Promise<!proto.ondewo.nlu.Agent>}
|
|
1426
|
+
* Promise that resolves to the response
|
|
1427
|
+
*/
|
|
1428
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.setAgentStatus =
|
|
1429
|
+
function(request, metadata) {
|
|
1430
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1431
|
+
'/ondewo.nlu.Agents/SetAgentStatus',
|
|
1432
|
+
request,
|
|
1433
|
+
metadata || {},
|
|
1434
|
+
methodDescriptor_Agents_SetAgentStatus);
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* @const
|
|
1440
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1441
|
+
* !proto.ondewo.nlu.SetResourcesRequest,
|
|
1442
|
+
* !proto.google.protobuf.Empty>}
|
|
1443
|
+
*/
|
|
1444
|
+
const methodDescriptor_Agents_SetResources = new grpc.web.MethodDescriptor(
|
|
1445
|
+
'/ondewo.nlu.Agents/SetResources',
|
|
1446
|
+
grpc.web.MethodType.UNARY,
|
|
1447
|
+
proto.ondewo.nlu.SetResourcesRequest,
|
|
1448
|
+
google_protobuf_empty_pb.Empty,
|
|
1449
|
+
/**
|
|
1450
|
+
* @param {!proto.ondewo.nlu.SetResourcesRequest} request
|
|
1451
|
+
* @return {!Uint8Array}
|
|
1452
|
+
*/
|
|
1453
|
+
function(request) {
|
|
1454
|
+
return request.serializeBinary();
|
|
1455
|
+
},
|
|
1456
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
1457
|
+
);
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* @param {!proto.ondewo.nlu.SetResourcesRequest} request The
|
|
1462
|
+
* request proto
|
|
1463
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1464
|
+
* call metadata
|
|
1465
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1466
|
+
* callback The callback function(error, response)
|
|
1467
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1468
|
+
* The XHR Node Readable Stream
|
|
1469
|
+
*/
|
|
1470
|
+
proto.ondewo.nlu.AgentsClient.prototype.setResources =
|
|
1471
|
+
function(request, metadata, callback) {
|
|
1472
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1473
|
+
'/ondewo.nlu.Agents/SetResources',
|
|
1474
|
+
request,
|
|
1475
|
+
metadata || {},
|
|
1476
|
+
methodDescriptor_Agents_SetResources,
|
|
1477
|
+
callback);
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* @param {!proto.ondewo.nlu.SetResourcesRequest} request The
|
|
1483
|
+
* request proto
|
|
1484
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1485
|
+
* call metadata
|
|
1486
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1487
|
+
* Promise that resolves to the response
|
|
1488
|
+
*/
|
|
1489
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.setResources =
|
|
1490
|
+
function(request, metadata) {
|
|
1491
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1492
|
+
'/ondewo.nlu.Agents/SetResources',
|
|
1493
|
+
request,
|
|
1494
|
+
metadata || {},
|
|
1495
|
+
methodDescriptor_Agents_SetResources);
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* @const
|
|
1501
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1502
|
+
* !proto.ondewo.nlu.DeleteResourcesRequest,
|
|
1503
|
+
* !proto.google.protobuf.Empty>}
|
|
1504
|
+
*/
|
|
1505
|
+
const methodDescriptor_Agents_DeleteResources = new grpc.web.MethodDescriptor(
|
|
1506
|
+
'/ondewo.nlu.Agents/DeleteResources',
|
|
1507
|
+
grpc.web.MethodType.UNARY,
|
|
1508
|
+
proto.ondewo.nlu.DeleteResourcesRequest,
|
|
1509
|
+
google_protobuf_empty_pb.Empty,
|
|
1510
|
+
/**
|
|
1511
|
+
* @param {!proto.ondewo.nlu.DeleteResourcesRequest} request
|
|
1512
|
+
* @return {!Uint8Array}
|
|
1513
|
+
*/
|
|
1514
|
+
function(request) {
|
|
1515
|
+
return request.serializeBinary();
|
|
1516
|
+
},
|
|
1517
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
1518
|
+
);
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @param {!proto.ondewo.nlu.DeleteResourcesRequest} request The
|
|
1523
|
+
* request proto
|
|
1524
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1525
|
+
* call metadata
|
|
1526
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1527
|
+
* callback The callback function(error, response)
|
|
1528
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1529
|
+
* The XHR Node Readable Stream
|
|
1530
|
+
*/
|
|
1531
|
+
proto.ondewo.nlu.AgentsClient.prototype.deleteResources =
|
|
1532
|
+
function(request, metadata, callback) {
|
|
1533
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1534
|
+
'/ondewo.nlu.Agents/DeleteResources',
|
|
1535
|
+
request,
|
|
1536
|
+
metadata || {},
|
|
1537
|
+
methodDescriptor_Agents_DeleteResources,
|
|
1538
|
+
callback);
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @param {!proto.ondewo.nlu.DeleteResourcesRequest} request The
|
|
1544
|
+
* request proto
|
|
1545
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1546
|
+
* call metadata
|
|
1547
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1548
|
+
* Promise that resolves to the response
|
|
1549
|
+
*/
|
|
1550
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.deleteResources =
|
|
1551
|
+
function(request, metadata) {
|
|
1552
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1553
|
+
'/ondewo.nlu.Agents/DeleteResources',
|
|
1554
|
+
request,
|
|
1555
|
+
metadata || {},
|
|
1556
|
+
methodDescriptor_Agents_DeleteResources);
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* @const
|
|
1562
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1563
|
+
* !proto.ondewo.nlu.ExportResourcesRequest,
|
|
1564
|
+
* !proto.ondewo.nlu.ExportResourcesResponse>}
|
|
1565
|
+
*/
|
|
1566
|
+
const methodDescriptor_Agents_ExportResources = new grpc.web.MethodDescriptor(
|
|
1567
|
+
'/ondewo.nlu.Agents/ExportResources',
|
|
1568
|
+
grpc.web.MethodType.UNARY,
|
|
1569
|
+
proto.ondewo.nlu.ExportResourcesRequest,
|
|
1570
|
+
proto.ondewo.nlu.ExportResourcesResponse,
|
|
1571
|
+
/**
|
|
1572
|
+
* @param {!proto.ondewo.nlu.ExportResourcesRequest} request
|
|
1573
|
+
* @return {!Uint8Array}
|
|
1574
|
+
*/
|
|
1575
|
+
function(request) {
|
|
1576
|
+
return request.serializeBinary();
|
|
1577
|
+
},
|
|
1578
|
+
proto.ondewo.nlu.ExportResourcesResponse.deserializeBinary
|
|
1579
|
+
);
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* @param {!proto.ondewo.nlu.ExportResourcesRequest} request The
|
|
1584
|
+
* request proto
|
|
1585
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1586
|
+
* call metadata
|
|
1587
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ExportResourcesResponse)}
|
|
1588
|
+
* callback The callback function(error, response)
|
|
1589
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ExportResourcesResponse>|undefined}
|
|
1590
|
+
* The XHR Node Readable Stream
|
|
1591
|
+
*/
|
|
1592
|
+
proto.ondewo.nlu.AgentsClient.prototype.exportResources =
|
|
1593
|
+
function(request, metadata, callback) {
|
|
1594
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1595
|
+
'/ondewo.nlu.Agents/ExportResources',
|
|
1596
|
+
request,
|
|
1597
|
+
metadata || {},
|
|
1598
|
+
methodDescriptor_Agents_ExportResources,
|
|
1599
|
+
callback);
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* @param {!proto.ondewo.nlu.ExportResourcesRequest} request The
|
|
1605
|
+
* request proto
|
|
1606
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1607
|
+
* call metadata
|
|
1608
|
+
* @return {!Promise<!proto.ondewo.nlu.ExportResourcesResponse>}
|
|
1609
|
+
* Promise that resolves to the response
|
|
1610
|
+
*/
|
|
1611
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.exportResources =
|
|
1612
|
+
function(request, metadata) {
|
|
1613
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1614
|
+
'/ondewo.nlu.Agents/ExportResources',
|
|
1615
|
+
request,
|
|
1616
|
+
metadata || {},
|
|
1617
|
+
methodDescriptor_Agents_ExportResources);
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* @const
|
|
1623
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1624
|
+
* !proto.ondewo.nlu.GetModelStatusesRequest,
|
|
1625
|
+
* !proto.ondewo.nlu.GetModelStatusesResponse>}
|
|
1626
|
+
*/
|
|
1627
|
+
const methodDescriptor_Agents_GetModelStatuses = new grpc.web.MethodDescriptor(
|
|
1628
|
+
'/ondewo.nlu.Agents/GetModelStatuses',
|
|
1629
|
+
grpc.web.MethodType.UNARY,
|
|
1630
|
+
proto.ondewo.nlu.GetModelStatusesRequest,
|
|
1631
|
+
proto.ondewo.nlu.GetModelStatusesResponse,
|
|
1632
|
+
/**
|
|
1633
|
+
* @param {!proto.ondewo.nlu.GetModelStatusesRequest} request
|
|
1634
|
+
* @return {!Uint8Array}
|
|
1635
|
+
*/
|
|
1636
|
+
function(request) {
|
|
1637
|
+
return request.serializeBinary();
|
|
1638
|
+
},
|
|
1639
|
+
proto.ondewo.nlu.GetModelStatusesResponse.deserializeBinary
|
|
1640
|
+
);
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* @param {!proto.ondewo.nlu.GetModelStatusesRequest} request The
|
|
1645
|
+
* request proto
|
|
1646
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1647
|
+
* call metadata
|
|
1648
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetModelStatusesResponse)}
|
|
1649
|
+
* callback The callback function(error, response)
|
|
1650
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetModelStatusesResponse>|undefined}
|
|
1651
|
+
* The XHR Node Readable Stream
|
|
1652
|
+
*/
|
|
1653
|
+
proto.ondewo.nlu.AgentsClient.prototype.getModelStatuses =
|
|
1654
|
+
function(request, metadata, callback) {
|
|
1655
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1656
|
+
'/ondewo.nlu.Agents/GetModelStatuses',
|
|
1657
|
+
request,
|
|
1658
|
+
metadata || {},
|
|
1659
|
+
methodDescriptor_Agents_GetModelStatuses,
|
|
1660
|
+
callback);
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* @param {!proto.ondewo.nlu.GetModelStatusesRequest} request The
|
|
1666
|
+
* request proto
|
|
1667
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1668
|
+
* call metadata
|
|
1669
|
+
* @return {!Promise<!proto.ondewo.nlu.GetModelStatusesResponse>}
|
|
1670
|
+
* Promise that resolves to the response
|
|
1671
|
+
*/
|
|
1672
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getModelStatuses =
|
|
1673
|
+
function(request, metadata) {
|
|
1674
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1675
|
+
'/ondewo.nlu.Agents/GetModelStatuses',
|
|
1676
|
+
request,
|
|
1677
|
+
metadata || {},
|
|
1678
|
+
methodDescriptor_Agents_GetModelStatuses);
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @const
|
|
1684
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1685
|
+
* !proto.ondewo.nlu.GetPlatformMappingRequest,
|
|
1686
|
+
* !proto.ondewo.nlu.PlatformMapping>}
|
|
1687
|
+
*/
|
|
1688
|
+
const methodDescriptor_Agents_GetPlatformMapping = new grpc.web.MethodDescriptor(
|
|
1689
|
+
'/ondewo.nlu.Agents/GetPlatformMapping',
|
|
1690
|
+
grpc.web.MethodType.UNARY,
|
|
1691
|
+
proto.ondewo.nlu.GetPlatformMappingRequest,
|
|
1692
|
+
proto.ondewo.nlu.PlatformMapping,
|
|
1693
|
+
/**
|
|
1694
|
+
* @param {!proto.ondewo.nlu.GetPlatformMappingRequest} request
|
|
1695
|
+
* @return {!Uint8Array}
|
|
1696
|
+
*/
|
|
1697
|
+
function(request) {
|
|
1698
|
+
return request.serializeBinary();
|
|
1699
|
+
},
|
|
1700
|
+
proto.ondewo.nlu.PlatformMapping.deserializeBinary
|
|
1701
|
+
);
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* @param {!proto.ondewo.nlu.GetPlatformMappingRequest} request The
|
|
1706
|
+
* request proto
|
|
1707
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1708
|
+
* call metadata
|
|
1709
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.PlatformMapping)}
|
|
1710
|
+
* callback The callback function(error, response)
|
|
1711
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.PlatformMapping>|undefined}
|
|
1712
|
+
* The XHR Node Readable Stream
|
|
1713
|
+
*/
|
|
1714
|
+
proto.ondewo.nlu.AgentsClient.prototype.getPlatformMapping =
|
|
1715
|
+
function(request, metadata, callback) {
|
|
1716
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1717
|
+
'/ondewo.nlu.Agents/GetPlatformMapping',
|
|
1718
|
+
request,
|
|
1719
|
+
metadata || {},
|
|
1720
|
+
methodDescriptor_Agents_GetPlatformMapping,
|
|
1721
|
+
callback);
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* @param {!proto.ondewo.nlu.GetPlatformMappingRequest} request The
|
|
1727
|
+
* request proto
|
|
1728
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1729
|
+
* call metadata
|
|
1730
|
+
* @return {!Promise<!proto.ondewo.nlu.PlatformMapping>}
|
|
1731
|
+
* Promise that resolves to the response
|
|
1732
|
+
*/
|
|
1733
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getPlatformMapping =
|
|
1734
|
+
function(request, metadata) {
|
|
1735
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1736
|
+
'/ondewo.nlu.Agents/GetPlatformMapping',
|
|
1737
|
+
request,
|
|
1738
|
+
metadata || {},
|
|
1739
|
+
methodDescriptor_Agents_GetPlatformMapping);
|
|
1740
|
+
};
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* @const
|
|
1745
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1746
|
+
* !proto.ondewo.nlu.PlatformMapping,
|
|
1747
|
+
* !proto.ondewo.nlu.PlatformMapping>}
|
|
1748
|
+
*/
|
|
1749
|
+
const methodDescriptor_Agents_SetPlatformMapping = new grpc.web.MethodDescriptor(
|
|
1750
|
+
'/ondewo.nlu.Agents/SetPlatformMapping',
|
|
1751
|
+
grpc.web.MethodType.UNARY,
|
|
1752
|
+
proto.ondewo.nlu.PlatformMapping,
|
|
1753
|
+
proto.ondewo.nlu.PlatformMapping,
|
|
1754
|
+
/**
|
|
1755
|
+
* @param {!proto.ondewo.nlu.PlatformMapping} request
|
|
1756
|
+
* @return {!Uint8Array}
|
|
1757
|
+
*/
|
|
1758
|
+
function(request) {
|
|
1759
|
+
return request.serializeBinary();
|
|
1760
|
+
},
|
|
1761
|
+
proto.ondewo.nlu.PlatformMapping.deserializeBinary
|
|
1762
|
+
);
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* @param {!proto.ondewo.nlu.PlatformMapping} request The
|
|
1767
|
+
* request proto
|
|
1768
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1769
|
+
* call metadata
|
|
1770
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.PlatformMapping)}
|
|
1771
|
+
* callback The callback function(error, response)
|
|
1772
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.PlatformMapping>|undefined}
|
|
1773
|
+
* The XHR Node Readable Stream
|
|
1774
|
+
*/
|
|
1775
|
+
proto.ondewo.nlu.AgentsClient.prototype.setPlatformMapping =
|
|
1776
|
+
function(request, metadata, callback) {
|
|
1777
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1778
|
+
'/ondewo.nlu.Agents/SetPlatformMapping',
|
|
1779
|
+
request,
|
|
1780
|
+
metadata || {},
|
|
1781
|
+
methodDescriptor_Agents_SetPlatformMapping,
|
|
1782
|
+
callback);
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* @param {!proto.ondewo.nlu.PlatformMapping} request The
|
|
1788
|
+
* request proto
|
|
1789
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1790
|
+
* call metadata
|
|
1791
|
+
* @return {!Promise<!proto.ondewo.nlu.PlatformMapping>}
|
|
1792
|
+
* Promise that resolves to the response
|
|
1793
|
+
*/
|
|
1794
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.setPlatformMapping =
|
|
1795
|
+
function(request, metadata) {
|
|
1796
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1797
|
+
'/ondewo.nlu.Agents/SetPlatformMapping',
|
|
1798
|
+
request,
|
|
1799
|
+
metadata || {},
|
|
1800
|
+
methodDescriptor_Agents_SetPlatformMapping);
|
|
1801
|
+
};
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* @const
|
|
1806
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1807
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
1808
|
+
* !proto.ondewo.nlu.FullTextSearchResponseEntityType>}
|
|
1809
|
+
*/
|
|
1810
|
+
const methodDescriptor_Agents_GetFullTextSearchEntityType = new grpc.web.MethodDescriptor(
|
|
1811
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntityType',
|
|
1812
|
+
grpc.web.MethodType.UNARY,
|
|
1813
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
1814
|
+
proto.ondewo.nlu.FullTextSearchResponseEntityType,
|
|
1815
|
+
/**
|
|
1816
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
1817
|
+
* @return {!Uint8Array}
|
|
1818
|
+
*/
|
|
1819
|
+
function(request) {
|
|
1820
|
+
return request.serializeBinary();
|
|
1821
|
+
},
|
|
1822
|
+
proto.ondewo.nlu.FullTextSearchResponseEntityType.deserializeBinary
|
|
1823
|
+
);
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
1828
|
+
* request proto
|
|
1829
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1830
|
+
* call metadata
|
|
1831
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseEntityType)}
|
|
1832
|
+
* callback The callback function(error, response)
|
|
1833
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseEntityType>|undefined}
|
|
1834
|
+
* The XHR Node Readable Stream
|
|
1835
|
+
*/
|
|
1836
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchEntityType =
|
|
1837
|
+
function(request, metadata, callback) {
|
|
1838
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1839
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntityType',
|
|
1840
|
+
request,
|
|
1841
|
+
metadata || {},
|
|
1842
|
+
methodDescriptor_Agents_GetFullTextSearchEntityType,
|
|
1843
|
+
callback);
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
1849
|
+
* request proto
|
|
1850
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1851
|
+
* call metadata
|
|
1852
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseEntityType>}
|
|
1853
|
+
* Promise that resolves to the response
|
|
1854
|
+
*/
|
|
1855
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchEntityType =
|
|
1856
|
+
function(request, metadata) {
|
|
1857
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1858
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntityType',
|
|
1859
|
+
request,
|
|
1860
|
+
metadata || {},
|
|
1861
|
+
methodDescriptor_Agents_GetFullTextSearchEntityType);
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* @const
|
|
1867
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1868
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
1869
|
+
* !proto.ondewo.nlu.FullTextSearchResponseEntity>}
|
|
1870
|
+
*/
|
|
1871
|
+
const methodDescriptor_Agents_GetFullTextSearchEntity = new grpc.web.MethodDescriptor(
|
|
1872
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntity',
|
|
1873
|
+
grpc.web.MethodType.UNARY,
|
|
1874
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
1875
|
+
proto.ondewo.nlu.FullTextSearchResponseEntity,
|
|
1876
|
+
/**
|
|
1877
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
1878
|
+
* @return {!Uint8Array}
|
|
1879
|
+
*/
|
|
1880
|
+
function(request) {
|
|
1881
|
+
return request.serializeBinary();
|
|
1882
|
+
},
|
|
1883
|
+
proto.ondewo.nlu.FullTextSearchResponseEntity.deserializeBinary
|
|
1884
|
+
);
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
1889
|
+
* request proto
|
|
1890
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1891
|
+
* call metadata
|
|
1892
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseEntity)}
|
|
1893
|
+
* callback The callback function(error, response)
|
|
1894
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseEntity>|undefined}
|
|
1895
|
+
* The XHR Node Readable Stream
|
|
1896
|
+
*/
|
|
1897
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchEntity =
|
|
1898
|
+
function(request, metadata, callback) {
|
|
1899
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1900
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntity',
|
|
1901
|
+
request,
|
|
1902
|
+
metadata || {},
|
|
1903
|
+
methodDescriptor_Agents_GetFullTextSearchEntity,
|
|
1904
|
+
callback);
|
|
1905
|
+
};
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
1910
|
+
* request proto
|
|
1911
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1912
|
+
* call metadata
|
|
1913
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseEntity>}
|
|
1914
|
+
* Promise that resolves to the response
|
|
1915
|
+
*/
|
|
1916
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchEntity =
|
|
1917
|
+
function(request, metadata) {
|
|
1918
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1919
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntity',
|
|
1920
|
+
request,
|
|
1921
|
+
metadata || {},
|
|
1922
|
+
methodDescriptor_Agents_GetFullTextSearchEntity);
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* @const
|
|
1928
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1929
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
1930
|
+
* !proto.ondewo.nlu.FullTextSearchResponseEntitySynonym>}
|
|
1931
|
+
*/
|
|
1932
|
+
const methodDescriptor_Agents_GetFullTextSearchEntitySynonym = new grpc.web.MethodDescriptor(
|
|
1933
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntitySynonym',
|
|
1934
|
+
grpc.web.MethodType.UNARY,
|
|
1935
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
1936
|
+
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym,
|
|
1937
|
+
/**
|
|
1938
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
1939
|
+
* @return {!Uint8Array}
|
|
1940
|
+
*/
|
|
1941
|
+
function(request) {
|
|
1942
|
+
return request.serializeBinary();
|
|
1943
|
+
},
|
|
1944
|
+
proto.ondewo.nlu.FullTextSearchResponseEntitySynonym.deserializeBinary
|
|
1945
|
+
);
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
1950
|
+
* request proto
|
|
1951
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1952
|
+
* call metadata
|
|
1953
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseEntitySynonym)}
|
|
1954
|
+
* callback The callback function(error, response)
|
|
1955
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseEntitySynonym>|undefined}
|
|
1956
|
+
* The XHR Node Readable Stream
|
|
1957
|
+
*/
|
|
1958
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchEntitySynonym =
|
|
1959
|
+
function(request, metadata, callback) {
|
|
1960
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1961
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntitySynonym',
|
|
1962
|
+
request,
|
|
1963
|
+
metadata || {},
|
|
1964
|
+
methodDescriptor_Agents_GetFullTextSearchEntitySynonym,
|
|
1965
|
+
callback);
|
|
1966
|
+
};
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
1971
|
+
* request proto
|
|
1972
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1973
|
+
* call metadata
|
|
1974
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseEntitySynonym>}
|
|
1975
|
+
* Promise that resolves to the response
|
|
1976
|
+
*/
|
|
1977
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchEntitySynonym =
|
|
1978
|
+
function(request, metadata) {
|
|
1979
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1980
|
+
'/ondewo.nlu.Agents/GetFullTextSearchEntitySynonym',
|
|
1981
|
+
request,
|
|
1982
|
+
metadata || {},
|
|
1983
|
+
methodDescriptor_Agents_GetFullTextSearchEntitySynonym);
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* @const
|
|
1989
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1990
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
1991
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntent>}
|
|
1992
|
+
*/
|
|
1993
|
+
const methodDescriptor_Agents_GetFullTextSearchIntent = new grpc.web.MethodDescriptor(
|
|
1994
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntent',
|
|
1995
|
+
grpc.web.MethodType.UNARY,
|
|
1996
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
1997
|
+
proto.ondewo.nlu.FullTextSearchResponseIntent,
|
|
1998
|
+
/**
|
|
1999
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2000
|
+
* @return {!Uint8Array}
|
|
2001
|
+
*/
|
|
2002
|
+
function(request) {
|
|
2003
|
+
return request.serializeBinary();
|
|
2004
|
+
},
|
|
2005
|
+
proto.ondewo.nlu.FullTextSearchResponseIntent.deserializeBinary
|
|
2006
|
+
);
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2011
|
+
* request proto
|
|
2012
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2013
|
+
* call metadata
|
|
2014
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntent)}
|
|
2015
|
+
* callback The callback function(error, response)
|
|
2016
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntent>|undefined}
|
|
2017
|
+
* The XHR Node Readable Stream
|
|
2018
|
+
*/
|
|
2019
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntent =
|
|
2020
|
+
function(request, metadata, callback) {
|
|
2021
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2022
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntent',
|
|
2023
|
+
request,
|
|
2024
|
+
metadata || {},
|
|
2025
|
+
methodDescriptor_Agents_GetFullTextSearchIntent,
|
|
2026
|
+
callback);
|
|
2027
|
+
};
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2032
|
+
* request proto
|
|
2033
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2034
|
+
* call metadata
|
|
2035
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntent>}
|
|
2036
|
+
* Promise that resolves to the response
|
|
2037
|
+
*/
|
|
2038
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntent =
|
|
2039
|
+
function(request, metadata) {
|
|
2040
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2041
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntent',
|
|
2042
|
+
request,
|
|
2043
|
+
metadata || {},
|
|
2044
|
+
methodDescriptor_Agents_GetFullTextSearchIntent);
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* @const
|
|
2050
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2051
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
2052
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntentContextIn>}
|
|
2053
|
+
*/
|
|
2054
|
+
const methodDescriptor_Agents_GetFullTextSearchIntentContextIn = new grpc.web.MethodDescriptor(
|
|
2055
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentContextIn',
|
|
2056
|
+
grpc.web.MethodType.UNARY,
|
|
2057
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
2058
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn,
|
|
2059
|
+
/**
|
|
2060
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2061
|
+
* @return {!Uint8Array}
|
|
2062
|
+
*/
|
|
2063
|
+
function(request) {
|
|
2064
|
+
return request.serializeBinary();
|
|
2065
|
+
},
|
|
2066
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentContextIn.deserializeBinary
|
|
2067
|
+
);
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2072
|
+
* request proto
|
|
2073
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2074
|
+
* call metadata
|
|
2075
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntentContextIn)}
|
|
2076
|
+
* callback The callback function(error, response)
|
|
2077
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntentContextIn>|undefined}
|
|
2078
|
+
* The XHR Node Readable Stream
|
|
2079
|
+
*/
|
|
2080
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntentContextIn =
|
|
2081
|
+
function(request, metadata, callback) {
|
|
2082
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2083
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentContextIn',
|
|
2084
|
+
request,
|
|
2085
|
+
metadata || {},
|
|
2086
|
+
methodDescriptor_Agents_GetFullTextSearchIntentContextIn,
|
|
2087
|
+
callback);
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2093
|
+
* request proto
|
|
2094
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2095
|
+
* call metadata
|
|
2096
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntentContextIn>}
|
|
2097
|
+
* Promise that resolves to the response
|
|
2098
|
+
*/
|
|
2099
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntentContextIn =
|
|
2100
|
+
function(request, metadata) {
|
|
2101
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2102
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentContextIn',
|
|
2103
|
+
request,
|
|
2104
|
+
metadata || {},
|
|
2105
|
+
methodDescriptor_Agents_GetFullTextSearchIntentContextIn);
|
|
2106
|
+
};
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* @const
|
|
2111
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2112
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
2113
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntentContextOut>}
|
|
2114
|
+
*/
|
|
2115
|
+
const methodDescriptor_Agents_GetFullTextSearchIntentContextOut = new grpc.web.MethodDescriptor(
|
|
2116
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentContextOut',
|
|
2117
|
+
grpc.web.MethodType.UNARY,
|
|
2118
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
2119
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut,
|
|
2120
|
+
/**
|
|
2121
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2122
|
+
* @return {!Uint8Array}
|
|
2123
|
+
*/
|
|
2124
|
+
function(request) {
|
|
2125
|
+
return request.serializeBinary();
|
|
2126
|
+
},
|
|
2127
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentContextOut.deserializeBinary
|
|
2128
|
+
);
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2133
|
+
* request proto
|
|
2134
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2135
|
+
* call metadata
|
|
2136
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntentContextOut)}
|
|
2137
|
+
* callback The callback function(error, response)
|
|
2138
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntentContextOut>|undefined}
|
|
2139
|
+
* The XHR Node Readable Stream
|
|
2140
|
+
*/
|
|
2141
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntentContextOut =
|
|
2142
|
+
function(request, metadata, callback) {
|
|
2143
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2144
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentContextOut',
|
|
2145
|
+
request,
|
|
2146
|
+
metadata || {},
|
|
2147
|
+
methodDescriptor_Agents_GetFullTextSearchIntentContextOut,
|
|
2148
|
+
callback);
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2154
|
+
* request proto
|
|
2155
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2156
|
+
* call metadata
|
|
2157
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntentContextOut>}
|
|
2158
|
+
* Promise that resolves to the response
|
|
2159
|
+
*/
|
|
2160
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntentContextOut =
|
|
2161
|
+
function(request, metadata) {
|
|
2162
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2163
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentContextOut',
|
|
2164
|
+
request,
|
|
2165
|
+
metadata || {},
|
|
2166
|
+
methodDescriptor_Agents_GetFullTextSearchIntentContextOut);
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* @const
|
|
2172
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2173
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
2174
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntentUsersays>}
|
|
2175
|
+
*/
|
|
2176
|
+
const methodDescriptor_Agents_GetFullTextSearchIntentUsersays = new grpc.web.MethodDescriptor(
|
|
2177
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentUsersays',
|
|
2178
|
+
grpc.web.MethodType.UNARY,
|
|
2179
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
2180
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays,
|
|
2181
|
+
/**
|
|
2182
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2183
|
+
* @return {!Uint8Array}
|
|
2184
|
+
*/
|
|
2185
|
+
function(request) {
|
|
2186
|
+
return request.serializeBinary();
|
|
2187
|
+
},
|
|
2188
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentUsersays.deserializeBinary
|
|
2189
|
+
);
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2194
|
+
* request proto
|
|
2195
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2196
|
+
* call metadata
|
|
2197
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntentUsersays)}
|
|
2198
|
+
* callback The callback function(error, response)
|
|
2199
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntentUsersays>|undefined}
|
|
2200
|
+
* The XHR Node Readable Stream
|
|
2201
|
+
*/
|
|
2202
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntentUsersays =
|
|
2203
|
+
function(request, metadata, callback) {
|
|
2204
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2205
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentUsersays',
|
|
2206
|
+
request,
|
|
2207
|
+
metadata || {},
|
|
2208
|
+
methodDescriptor_Agents_GetFullTextSearchIntentUsersays,
|
|
2209
|
+
callback);
|
|
2210
|
+
};
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2215
|
+
* request proto
|
|
2216
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2217
|
+
* call metadata
|
|
2218
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntentUsersays>}
|
|
2219
|
+
* Promise that resolves to the response
|
|
2220
|
+
*/
|
|
2221
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntentUsersays =
|
|
2222
|
+
function(request, metadata) {
|
|
2223
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2224
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentUsersays',
|
|
2225
|
+
request,
|
|
2226
|
+
metadata || {},
|
|
2227
|
+
methodDescriptor_Agents_GetFullTextSearchIntentUsersays);
|
|
2228
|
+
};
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* @const
|
|
2233
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2234
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
2235
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntentTags>}
|
|
2236
|
+
*/
|
|
2237
|
+
const methodDescriptor_Agents_GetFullTextSearchIntentTags = new grpc.web.MethodDescriptor(
|
|
2238
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentTags',
|
|
2239
|
+
grpc.web.MethodType.UNARY,
|
|
2240
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
2241
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags,
|
|
2242
|
+
/**
|
|
2243
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2244
|
+
* @return {!Uint8Array}
|
|
2245
|
+
*/
|
|
2246
|
+
function(request) {
|
|
2247
|
+
return request.serializeBinary();
|
|
2248
|
+
},
|
|
2249
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags.deserializeBinary
|
|
2250
|
+
);
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2255
|
+
* request proto
|
|
2256
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2257
|
+
* call metadata
|
|
2258
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntentTags)}
|
|
2259
|
+
* callback The callback function(error, response)
|
|
2260
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntentTags>|undefined}
|
|
2261
|
+
* The XHR Node Readable Stream
|
|
2262
|
+
*/
|
|
2263
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntentTags =
|
|
2264
|
+
function(request, metadata, callback) {
|
|
2265
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2266
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentTags',
|
|
2267
|
+
request,
|
|
2268
|
+
metadata || {},
|
|
2269
|
+
methodDescriptor_Agents_GetFullTextSearchIntentTags,
|
|
2270
|
+
callback);
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2276
|
+
* request proto
|
|
2277
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2278
|
+
* call metadata
|
|
2279
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntentTags>}
|
|
2280
|
+
* Promise that resolves to the response
|
|
2281
|
+
*/
|
|
2282
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntentTags =
|
|
2283
|
+
function(request, metadata) {
|
|
2284
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2285
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentTags',
|
|
2286
|
+
request,
|
|
2287
|
+
metadata || {},
|
|
2288
|
+
methodDescriptor_Agents_GetFullTextSearchIntentTags);
|
|
2289
|
+
};
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* @const
|
|
2294
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2295
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
2296
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntentResponse>}
|
|
2297
|
+
*/
|
|
2298
|
+
const methodDescriptor_Agents_GetFullTextSearchIntentResponse = new grpc.web.MethodDescriptor(
|
|
2299
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentResponse',
|
|
2300
|
+
grpc.web.MethodType.UNARY,
|
|
2301
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
2302
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentResponse,
|
|
2303
|
+
/**
|
|
2304
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2305
|
+
* @return {!Uint8Array}
|
|
2306
|
+
*/
|
|
2307
|
+
function(request) {
|
|
2308
|
+
return request.serializeBinary();
|
|
2309
|
+
},
|
|
2310
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentResponse.deserializeBinary
|
|
2311
|
+
);
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2316
|
+
* request proto
|
|
2317
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2318
|
+
* call metadata
|
|
2319
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntentResponse)}
|
|
2320
|
+
* callback The callback function(error, response)
|
|
2321
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntentResponse>|undefined}
|
|
2322
|
+
* The XHR Node Readable Stream
|
|
2323
|
+
*/
|
|
2324
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntentResponse =
|
|
2325
|
+
function(request, metadata, callback) {
|
|
2326
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2327
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentResponse',
|
|
2328
|
+
request,
|
|
2329
|
+
metadata || {},
|
|
2330
|
+
methodDescriptor_Agents_GetFullTextSearchIntentResponse,
|
|
2331
|
+
callback);
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2337
|
+
* request proto
|
|
2338
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2339
|
+
* call metadata
|
|
2340
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntentResponse>}
|
|
2341
|
+
* Promise that resolves to the response
|
|
2342
|
+
*/
|
|
2343
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntentResponse =
|
|
2344
|
+
function(request, metadata) {
|
|
2345
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2346
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentResponse',
|
|
2347
|
+
request,
|
|
2348
|
+
metadata || {},
|
|
2349
|
+
methodDescriptor_Agents_GetFullTextSearchIntentResponse);
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* @const
|
|
2355
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2356
|
+
* !proto.ondewo.nlu.FullTextSearchRequest,
|
|
2357
|
+
* !proto.ondewo.nlu.FullTextSearchResponseIntentParameters>}
|
|
2358
|
+
*/
|
|
2359
|
+
const methodDescriptor_Agents_GetFullTextSearchIntentParameters = new grpc.web.MethodDescriptor(
|
|
2360
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentParameters',
|
|
2361
|
+
grpc.web.MethodType.UNARY,
|
|
2362
|
+
proto.ondewo.nlu.FullTextSearchRequest,
|
|
2363
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentParameters,
|
|
2364
|
+
/**
|
|
2365
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request
|
|
2366
|
+
* @return {!Uint8Array}
|
|
2367
|
+
*/
|
|
2368
|
+
function(request) {
|
|
2369
|
+
return request.serializeBinary();
|
|
2370
|
+
},
|
|
2371
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentParameters.deserializeBinary
|
|
2372
|
+
);
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2377
|
+
* request proto
|
|
2378
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2379
|
+
* call metadata
|
|
2380
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.FullTextSearchResponseIntentParameters)}
|
|
2381
|
+
* callback The callback function(error, response)
|
|
2382
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.FullTextSearchResponseIntentParameters>|undefined}
|
|
2383
|
+
* The XHR Node Readable Stream
|
|
2384
|
+
*/
|
|
2385
|
+
proto.ondewo.nlu.AgentsClient.prototype.getFullTextSearchIntentParameters =
|
|
2386
|
+
function(request, metadata, callback) {
|
|
2387
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2388
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentParameters',
|
|
2389
|
+
request,
|
|
2390
|
+
metadata || {},
|
|
2391
|
+
methodDescriptor_Agents_GetFullTextSearchIntentParameters,
|
|
2392
|
+
callback);
|
|
2393
|
+
};
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* @param {!proto.ondewo.nlu.FullTextSearchRequest} request The
|
|
2398
|
+
* request proto
|
|
2399
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2400
|
+
* call metadata
|
|
2401
|
+
* @return {!Promise<!proto.ondewo.nlu.FullTextSearchResponseIntentParameters>}
|
|
2402
|
+
* Promise that resolves to the response
|
|
2403
|
+
*/
|
|
2404
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.getFullTextSearchIntentParameters =
|
|
2405
|
+
function(request, metadata) {
|
|
2406
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2407
|
+
'/ondewo.nlu.Agents/GetFullTextSearchIntentParameters',
|
|
2408
|
+
request,
|
|
2409
|
+
metadata || {},
|
|
2410
|
+
methodDescriptor_Agents_GetFullTextSearchIntentParameters);
|
|
2411
|
+
};
|
|
2412
|
+
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* @const
|
|
2416
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2417
|
+
* !proto.ondewo.nlu.ReindexAgentRequest,
|
|
2418
|
+
* !proto.ondewo.nlu.Operation>}
|
|
2419
|
+
*/
|
|
2420
|
+
const methodDescriptor_Agents_ReindexAgent = new grpc.web.MethodDescriptor(
|
|
2421
|
+
'/ondewo.nlu.Agents/ReindexAgent',
|
|
2422
|
+
grpc.web.MethodType.UNARY,
|
|
2423
|
+
proto.ondewo.nlu.ReindexAgentRequest,
|
|
2424
|
+
ondewo_nlu_operations_pb.Operation,
|
|
2425
|
+
/**
|
|
2426
|
+
* @param {!proto.ondewo.nlu.ReindexAgentRequest} request
|
|
2427
|
+
* @return {!Uint8Array}
|
|
2428
|
+
*/
|
|
2429
|
+
function(request) {
|
|
2430
|
+
return request.serializeBinary();
|
|
2431
|
+
},
|
|
2432
|
+
ondewo_nlu_operations_pb.Operation.deserializeBinary
|
|
2433
|
+
);
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* @param {!proto.ondewo.nlu.ReindexAgentRequest} request The
|
|
2438
|
+
* request proto
|
|
2439
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2440
|
+
* call metadata
|
|
2441
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Operation)}
|
|
2442
|
+
* callback The callback function(error, response)
|
|
2443
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Operation>|undefined}
|
|
2444
|
+
* The XHR Node Readable Stream
|
|
2445
|
+
*/
|
|
2446
|
+
proto.ondewo.nlu.AgentsClient.prototype.reindexAgent =
|
|
2447
|
+
function(request, metadata, callback) {
|
|
2448
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2449
|
+
'/ondewo.nlu.Agents/ReindexAgent',
|
|
2450
|
+
request,
|
|
2451
|
+
metadata || {},
|
|
2452
|
+
methodDescriptor_Agents_ReindexAgent,
|
|
2453
|
+
callback);
|
|
2454
|
+
};
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* @param {!proto.ondewo.nlu.ReindexAgentRequest} request The
|
|
2459
|
+
* request proto
|
|
2460
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2461
|
+
* call metadata
|
|
2462
|
+
* @return {!Promise<!proto.ondewo.nlu.Operation>}
|
|
2463
|
+
* Promise that resolves to the response
|
|
2464
|
+
*/
|
|
2465
|
+
proto.ondewo.nlu.AgentsPromiseClient.prototype.reindexAgent =
|
|
2466
|
+
function(request, metadata) {
|
|
2467
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2468
|
+
'/ondewo.nlu.Agents/ReindexAgent',
|
|
2469
|
+
request,
|
|
2470
|
+
metadata || {},
|
|
2471
|
+
methodDescriptor_Agents_ReindexAgent);
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
module.exports = proto.ondewo.nlu;
|
|
2476
|
+
|