@ondewo/nlu-client-typescript 3.5.2 → 4.1.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.
Files changed (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -478
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1143 -1213
  3. package/api/ondewo/nlu/agent_pb.d.ts +1965 -1672
  4. package/api/ondewo/nlu/agent_pb.js +9401 -10036
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +746 -671
  8. package/api/ondewo/nlu/aiservices_pb.js +3648 -4383
  9. package/api/ondewo/nlu/common_pb.d.ts +15 -17
  10. package/api/ondewo/nlu/common_pb.js +83 -93
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +892 -1045
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
  18. package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
  21. package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
  22. package/api/ondewo/nlu/intent_pb.js +9502 -10692
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
  24. package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
  27. package/api/ondewo/nlu/operations_pb.d.ts +189 -182
  28. package/api/ondewo/nlu/operations_pb.js +843 -1004
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
  31. package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
  32. package/api/ondewo/nlu/project_role_pb.js +796 -963
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
  36. package/api/ondewo/nlu/project_statistics_pb.js +354 -418
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
  40. package/api/ondewo/nlu/server_statistics_pb.js +81 -91
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +409 -460
  43. package/api/ondewo/nlu/session_pb.d.ts +1132 -867
  44. package/api/ondewo/nlu/session_pb.js +5960 -5662
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
  47. package/api/ondewo/nlu/user_pb.d.ts +345 -325
  48. package/api/ondewo/nlu/user_pb.js +1948 -2312
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
  51. package/api/ondewo/nlu/utility_pb.d.ts +588 -535
  52. package/api/ondewo/nlu/utility_pb.js +2814 -3348
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
  55. package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
  56. package/api/ondewo/nlu/webhook_pb.js +599 -718
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
  59. package/api/ondewo/qa/qa_pb.d.ts +235 -220
  60. package/api/ondewo/qa/qa_pb.js +1222 -1452
  61. package/package.json +1 -1
  62. package/public-api.d.ts +4 -34
@@ -13,7 +13,9 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global = function () {
17
+ return this || window || global || self || Function('return this')();
18
+ }.call(null);
17
19
 
18
20
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
19
21
  goog.object.extend(proto, google_api_annotations_pb);
@@ -40,16 +42,16 @@ goog.exportSymbol('proto.ondewo.nlu.UpdateContextRequest', null, global);
40
42
  * @extends {jspb.Message}
41
43
  * @constructor
42
44
  */
43
- proto.ondewo.nlu.Context = function(opt_data) {
44
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
45
+ proto.ondewo.nlu.Context = function (opt_data) {
46
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
45
47
  };
46
48
  goog.inherits(proto.ondewo.nlu.Context, jspb.Message);
47
49
  if (goog.DEBUG && !COMPILED) {
48
- /**
49
- * @public
50
- * @override
51
- */
52
- proto.ondewo.nlu.Context.displayName = 'proto.ondewo.nlu.Context';
50
+ /**
51
+ * @public
52
+ * @override
53
+ */
54
+ proto.ondewo.nlu.Context.displayName = 'proto.ondewo.nlu.Context';
53
55
  }
54
56
  /**
55
57
  * Generated by JsPbCodeGenerator.
@@ -61,16 +63,16 @@ if (goog.DEBUG && !COMPILED) {
61
63
  * @extends {jspb.Message}
62
64
  * @constructor
63
65
  */
64
- proto.ondewo.nlu.Context.Parameter = function(opt_data) {
65
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
66
+ proto.ondewo.nlu.Context.Parameter = function (opt_data) {
67
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
66
68
  };
67
69
  goog.inherits(proto.ondewo.nlu.Context.Parameter, jspb.Message);
68
70
  if (goog.DEBUG && !COMPILED) {
69
- /**
70
- * @public
71
- * @override
72
- */
73
- proto.ondewo.nlu.Context.Parameter.displayName = 'proto.ondewo.nlu.Context.Parameter';
71
+ /**
72
+ * @public
73
+ * @override
74
+ */
75
+ proto.ondewo.nlu.Context.Parameter.displayName = 'proto.ondewo.nlu.Context.Parameter';
74
76
  }
75
77
  /**
76
78
  * Generated by JsPbCodeGenerator.
@@ -82,16 +84,16 @@ if (goog.DEBUG && !COMPILED) {
82
84
  * @extends {jspb.Message}
83
85
  * @constructor
84
86
  */
85
- proto.ondewo.nlu.ListContextsRequest = function(opt_data) {
86
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
87
+ proto.ondewo.nlu.ListContextsRequest = function (opt_data) {
88
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
87
89
  };
88
90
  goog.inherits(proto.ondewo.nlu.ListContextsRequest, jspb.Message);
89
91
  if (goog.DEBUG && !COMPILED) {
90
- /**
91
- * @public
92
- * @override
93
- */
94
- proto.ondewo.nlu.ListContextsRequest.displayName = 'proto.ondewo.nlu.ListContextsRequest';
92
+ /**
93
+ * @public
94
+ * @override
95
+ */
96
+ proto.ondewo.nlu.ListContextsRequest.displayName = 'proto.ondewo.nlu.ListContextsRequest';
95
97
  }
96
98
  /**
97
99
  * Generated by JsPbCodeGenerator.
@@ -103,16 +105,16 @@ if (goog.DEBUG && !COMPILED) {
103
105
  * @extends {jspb.Message}
104
106
  * @constructor
105
107
  */
106
- proto.ondewo.nlu.ListContextsResponse = function(opt_data) {
107
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListContextsResponse.repeatedFields_, null);
108
+ proto.ondewo.nlu.ListContextsResponse = function (opt_data) {
109
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListContextsResponse.repeatedFields_, null);
108
110
  };
109
111
  goog.inherits(proto.ondewo.nlu.ListContextsResponse, jspb.Message);
110
112
  if (goog.DEBUG && !COMPILED) {
111
- /**
112
- * @public
113
- * @override
114
- */
115
- proto.ondewo.nlu.ListContextsResponse.displayName = 'proto.ondewo.nlu.ListContextsResponse';
113
+ /**
114
+ * @public
115
+ * @override
116
+ */
117
+ proto.ondewo.nlu.ListContextsResponse.displayName = 'proto.ondewo.nlu.ListContextsResponse';
116
118
  }
117
119
  /**
118
120
  * Generated by JsPbCodeGenerator.
@@ -124,16 +126,16 @@ if (goog.DEBUG && !COMPILED) {
124
126
  * @extends {jspb.Message}
125
127
  * @constructor
126
128
  */
127
- proto.ondewo.nlu.GetContextRequest = function(opt_data) {
128
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
129
+ proto.ondewo.nlu.GetContextRequest = function (opt_data) {
130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
129
131
  };
130
132
  goog.inherits(proto.ondewo.nlu.GetContextRequest, jspb.Message);
131
133
  if (goog.DEBUG && !COMPILED) {
132
- /**
133
- * @public
134
- * @override
135
- */
136
- proto.ondewo.nlu.GetContextRequest.displayName = 'proto.ondewo.nlu.GetContextRequest';
134
+ /**
135
+ * @public
136
+ * @override
137
+ */
138
+ proto.ondewo.nlu.GetContextRequest.displayName = 'proto.ondewo.nlu.GetContextRequest';
137
139
  }
138
140
  /**
139
141
  * Generated by JsPbCodeGenerator.
@@ -145,16 +147,16 @@ if (goog.DEBUG && !COMPILED) {
145
147
  * @extends {jspb.Message}
146
148
  * @constructor
147
149
  */
148
- proto.ondewo.nlu.CreateContextRequest = function(opt_data) {
149
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
150
+ proto.ondewo.nlu.CreateContextRequest = function (opt_data) {
151
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
150
152
  };
151
153
  goog.inherits(proto.ondewo.nlu.CreateContextRequest, jspb.Message);
152
154
  if (goog.DEBUG && !COMPILED) {
153
- /**
154
- * @public
155
- * @override
156
- */
157
- proto.ondewo.nlu.CreateContextRequest.displayName = 'proto.ondewo.nlu.CreateContextRequest';
155
+ /**
156
+ * @public
157
+ * @override
158
+ */
159
+ proto.ondewo.nlu.CreateContextRequest.displayName = 'proto.ondewo.nlu.CreateContextRequest';
158
160
  }
159
161
  /**
160
162
  * Generated by JsPbCodeGenerator.
@@ -166,16 +168,16 @@ if (goog.DEBUG && !COMPILED) {
166
168
  * @extends {jspb.Message}
167
169
  * @constructor
168
170
  */
169
- proto.ondewo.nlu.UpdateContextRequest = function(opt_data) {
170
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
171
+ proto.ondewo.nlu.UpdateContextRequest = function (opt_data) {
172
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
171
173
  };
172
174
  goog.inherits(proto.ondewo.nlu.UpdateContextRequest, jspb.Message);
173
175
  if (goog.DEBUG && !COMPILED) {
174
- /**
175
- * @public
176
- * @override
177
- */
178
- proto.ondewo.nlu.UpdateContextRequest.displayName = 'proto.ondewo.nlu.UpdateContextRequest';
176
+ /**
177
+ * @public
178
+ * @override
179
+ */
180
+ proto.ondewo.nlu.UpdateContextRequest.displayName = 'proto.ondewo.nlu.UpdateContextRequest';
179
181
  }
180
182
  /**
181
183
  * Generated by JsPbCodeGenerator.
@@ -187,16 +189,16 @@ if (goog.DEBUG && !COMPILED) {
187
189
  * @extends {jspb.Message}
188
190
  * @constructor
189
191
  */
190
- proto.ondewo.nlu.DeleteContextRequest = function(opt_data) {
191
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
192
+ proto.ondewo.nlu.DeleteContextRequest = function (opt_data) {
193
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
192
194
  };
193
195
  goog.inherits(proto.ondewo.nlu.DeleteContextRequest, jspb.Message);
194
196
  if (goog.DEBUG && !COMPILED) {
195
- /**
196
- * @public
197
- * @override
198
- */
199
- proto.ondewo.nlu.DeleteContextRequest.displayName = 'proto.ondewo.nlu.DeleteContextRequest';
197
+ /**
198
+ * @public
199
+ * @override
200
+ */
201
+ proto.ondewo.nlu.DeleteContextRequest.displayName = 'proto.ondewo.nlu.DeleteContextRequest';
200
202
  }
201
203
  /**
202
204
  * Generated by JsPbCodeGenerator.
@@ -208,75 +210,73 @@ if (goog.DEBUG && !COMPILED) {
208
210
  * @extends {jspb.Message}
209
211
  * @constructor
210
212
  */
211
- proto.ondewo.nlu.DeleteAllContextsRequest = function(opt_data) {
212
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
213
+ proto.ondewo.nlu.DeleteAllContextsRequest = function (opt_data) {
214
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
213
215
  };
214
216
  goog.inherits(proto.ondewo.nlu.DeleteAllContextsRequest, jspb.Message);
215
217
  if (goog.DEBUG && !COMPILED) {
216
- /**
217
- * @public
218
- * @override
219
- */
220
- proto.ondewo.nlu.DeleteAllContextsRequest.displayName = 'proto.ondewo.nlu.DeleteAllContextsRequest';
218
+ /**
219
+ * @public
220
+ * @override
221
+ */
222
+ proto.ondewo.nlu.DeleteAllContextsRequest.displayName = 'proto.ondewo.nlu.DeleteAllContextsRequest';
221
223
  }
222
224
 
223
-
224
-
225
225
  if (jspb.Message.GENERATE_TO_OBJECT) {
226
- /**
227
- * Creates an object representation of this proto.
228
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
229
- * Optional fields that are not set will be set to undefined.
230
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
231
- * For the list of reserved names please see:
232
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
233
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
234
- * JSPB instance for transitional soy proto support:
235
- * http://goto/soy-param-migration
236
- * @return {!Object}
237
- */
238
- proto.ondewo.nlu.Context.prototype.toObject = function(opt_includeInstance) {
239
- return proto.ondewo.nlu.Context.toObject(opt_includeInstance, this);
240
- };
241
-
242
-
243
- /**
244
- * Static version of the {@see toObject} method.
245
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
246
- * the JSPB instance for transitional soy proto support:
247
- * http://goto/soy-param-migration
248
- * @param {!proto.ondewo.nlu.Context} msg The msg instance to transform.
249
- * @return {!Object}
250
- * @suppress {unusedLocalVariables} f is only used for nested messages
251
- */
252
- proto.ondewo.nlu.Context.toObject = function(includeInstance, msg) {
253
- var f, obj = {
254
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
255
- lifespanCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
256
- parametersMap: (f = msg.getParametersMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.Context.Parameter.toObject) : [],
257
- lifespanTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
258
- };
259
-
260
- if (includeInstance) {
261
- obj.$jspbMessageInstance = msg;
262
- }
263
- return obj;
264
- };
226
+ /**
227
+ * Creates an object representation of this proto.
228
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
229
+ * Optional fields that are not set will be set to undefined.
230
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
231
+ * For the list of reserved names please see:
232
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
233
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
234
+ * JSPB instance for transitional soy proto support:
235
+ * http://goto/soy-param-migration
236
+ * @return {!Object}
237
+ */
238
+ proto.ondewo.nlu.Context.prototype.toObject = function (opt_includeInstance) {
239
+ return proto.ondewo.nlu.Context.toObject(opt_includeInstance, this);
240
+ };
241
+
242
+ /**
243
+ * Static version of the {@see toObject} method.
244
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
245
+ * the JSPB instance for transitional soy proto support:
246
+ * http://goto/soy-param-migration
247
+ * @param {!proto.ondewo.nlu.Context} msg The msg instance to transform.
248
+ * @return {!Object}
249
+ * @suppress {unusedLocalVariables} f is only used for nested messages
250
+ */
251
+ proto.ondewo.nlu.Context.toObject = function (includeInstance, msg) {
252
+ var f,
253
+ obj = {
254
+ name: jspb.Message.getFieldWithDefault(msg, 1, ''),
255
+ lifespanCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
256
+ parametersMap: (f = msg.getParametersMap())
257
+ ? f.toObject(includeInstance, proto.ondewo.nlu.Context.Parameter.toObject)
258
+ : [],
259
+ lifespanTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
260
+ };
261
+
262
+ if (includeInstance) {
263
+ obj.$jspbMessageInstance = msg;
264
+ }
265
+ return obj;
266
+ };
265
267
  }
266
268
 
267
-
268
269
  /**
269
270
  * Deserializes binary data (in protobuf wire format).
270
271
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
271
272
  * @return {!proto.ondewo.nlu.Context}
272
273
  */
273
- proto.ondewo.nlu.Context.deserializeBinary = function(bytes) {
274
- var reader = new jspb.BinaryReader(bytes);
275
- var msg = new proto.ondewo.nlu.Context;
276
- return proto.ondewo.nlu.Context.deserializeBinaryFromReader(msg, reader);
274
+ proto.ondewo.nlu.Context.deserializeBinary = function (bytes) {
275
+ var reader = new jspb.BinaryReader(bytes);
276
+ var msg = new proto.ondewo.nlu.Context();
277
+ return proto.ondewo.nlu.Context.deserializeBinaryFromReader(msg, reader);
277
278
  };
278
279
 
279
-
280
280
  /**
281
281
  * Deserializes binary data (in protobuf wire format) from the
282
282
  * given reader into the given message object.
@@ -284,51 +284,57 @@ proto.ondewo.nlu.Context.deserializeBinary = function(bytes) {
284
284
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
285
285
  * @return {!proto.ondewo.nlu.Context}
286
286
  */
287
- proto.ondewo.nlu.Context.deserializeBinaryFromReader = function(msg, reader) {
288
- while (reader.nextField()) {
289
- if (reader.isEndGroup()) {
290
- break;
291
- }
292
- var field = reader.getFieldNumber();
293
- switch (field) {
294
- case 1:
295
- var value = /** @type {string} */ (reader.readString());
296
- msg.setName(value);
297
- break;
298
- case 2:
299
- var value = /** @type {number} */ (reader.readInt32());
300
- msg.setLifespanCount(value);
301
- break;
302
- case 3:
303
- var value = msg.getParametersMap();
304
- reader.readMessage(value, function(message, reader) {
305
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader, "", new proto.ondewo.nlu.Context.Parameter());
306
- });
307
- break;
308
- case 4:
309
- var value = /** @type {number} */ (reader.readFloat());
310
- msg.setLifespanTime(value);
311
- break;
312
- default:
313
- reader.skipField();
314
- break;
315
- }
316
- }
317
- return msg;
287
+ proto.ondewo.nlu.Context.deserializeBinaryFromReader = function (msg, reader) {
288
+ while (reader.nextField()) {
289
+ if (reader.isEndGroup()) {
290
+ break;
291
+ }
292
+ var field = reader.getFieldNumber();
293
+ switch (field) {
294
+ case 1:
295
+ var value = /** @type {string} */ (reader.readString());
296
+ msg.setName(value);
297
+ break;
298
+ case 2:
299
+ var value = /** @type {number} */ (reader.readInt32());
300
+ msg.setLifespanCount(value);
301
+ break;
302
+ case 3:
303
+ var value = msg.getParametersMap();
304
+ reader.readMessage(value, function (message, reader) {
305
+ jspb.Map.deserializeBinary(
306
+ message,
307
+ reader,
308
+ jspb.BinaryReader.prototype.readString,
309
+ jspb.BinaryReader.prototype.readMessage,
310
+ proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader,
311
+ '',
312
+ new proto.ondewo.nlu.Context.Parameter()
313
+ );
314
+ });
315
+ break;
316
+ case 4:
317
+ var value = /** @type {number} */ (reader.readFloat());
318
+ msg.setLifespanTime(value);
319
+ break;
320
+ default:
321
+ reader.skipField();
322
+ break;
323
+ }
324
+ }
325
+ return msg;
318
326
  };
319
327
 
320
-
321
328
  /**
322
329
  * Serializes the message to binary data (in protobuf wire format).
323
330
  * @return {!Uint8Array}
324
331
  */
325
- proto.ondewo.nlu.Context.prototype.serializeBinary = function() {
326
- var writer = new jspb.BinaryWriter();
327
- proto.ondewo.nlu.Context.serializeBinaryToWriter(this, writer);
328
- return writer.getResultBuffer();
332
+ proto.ondewo.nlu.Context.prototype.serializeBinary = function () {
333
+ var writer = new jspb.BinaryWriter();
334
+ proto.ondewo.nlu.Context.serializeBinaryToWriter(this, writer);
335
+ return writer.getResultBuffer();
329
336
  };
330
337
 
331
-
332
338
  /**
333
339
  * Serializes the given message to binary data (in protobuf wire
334
340
  * format), writing to the given BinaryWriter.
@@ -336,94 +342,85 @@ proto.ondewo.nlu.Context.prototype.serializeBinary = function() {
336
342
  * @param {!jspb.BinaryWriter} writer
337
343
  * @suppress {unusedLocalVariables} f is only used for nested messages
338
344
  */
339
- proto.ondewo.nlu.Context.serializeBinaryToWriter = function(message, writer) {
340
- var f = undefined;
341
- f = message.getName();
342
- if (f.length > 0) {
343
- writer.writeString(
344
- 1,
345
- f
346
- );
347
- }
348
- f = message.getLifespanCount();
349
- if (f !== 0) {
350
- writer.writeInt32(
351
- 2,
352
- f
353
- );
354
- }
355
- f = message.getParametersMap(true);
356
- if (f && f.getLength() > 0) {
357
- f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter);
358
- }
359
- f = message.getLifespanTime();
360
- if (f !== 0.0) {
361
- writer.writeFloat(
362
- 4,
363
- f
364
- );
365
- }
345
+ proto.ondewo.nlu.Context.serializeBinaryToWriter = function (message, writer) {
346
+ var f = undefined;
347
+ f = message.getName();
348
+ if (f.length > 0) {
349
+ writer.writeString(1, f);
350
+ }
351
+ f = message.getLifespanCount();
352
+ if (f !== 0) {
353
+ writer.writeInt32(2, f);
354
+ }
355
+ f = message.getParametersMap(true);
356
+ if (f && f.getLength() > 0) {
357
+ f.serializeBinary(
358
+ 3,
359
+ writer,
360
+ jspb.BinaryWriter.prototype.writeString,
361
+ jspb.BinaryWriter.prototype.writeMessage,
362
+ proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter
363
+ );
364
+ }
365
+ f = message.getLifespanTime();
366
+ if (f !== 0.0) {
367
+ writer.writeFloat(4, f);
368
+ }
366
369
  };
367
370
 
368
-
369
-
370
-
371
-
372
371
  if (jspb.Message.GENERATE_TO_OBJECT) {
373
- /**
374
- * Creates an object representation of this proto.
375
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
376
- * Optional fields that are not set will be set to undefined.
377
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
378
- * For the list of reserved names please see:
379
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
380
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
381
- * JSPB instance for transitional soy proto support:
382
- * http://goto/soy-param-migration
383
- * @return {!Object}
384
- */
385
- proto.ondewo.nlu.Context.Parameter.prototype.toObject = function(opt_includeInstance) {
386
- return proto.ondewo.nlu.Context.Parameter.toObject(opt_includeInstance, this);
387
- };
388
-
389
-
390
- /**
391
- * Static version of the {@see toObject} method.
392
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
393
- * the JSPB instance for transitional soy proto support:
394
- * http://goto/soy-param-migration
395
- * @param {!proto.ondewo.nlu.Context.Parameter} msg The msg instance to transform.
396
- * @return {!Object}
397
- * @suppress {unusedLocalVariables} f is only used for nested messages
398
- */
399
- proto.ondewo.nlu.Context.Parameter.toObject = function(includeInstance, msg) {
400
- var f, obj = {
401
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
402
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
403
- value: jspb.Message.getFieldWithDefault(msg, 3, ""),
404
- valueOriginal: jspb.Message.getFieldWithDefault(msg, 4, "")
405
- };
406
-
407
- if (includeInstance) {
408
- obj.$jspbMessageInstance = msg;
409
- }
410
- return obj;
411
- };
372
+ /**
373
+ * Creates an object representation of this proto.
374
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
375
+ * Optional fields that are not set will be set to undefined.
376
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
377
+ * For the list of reserved names please see:
378
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
379
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
380
+ * JSPB instance for transitional soy proto support:
381
+ * http://goto/soy-param-migration
382
+ * @return {!Object}
383
+ */
384
+ proto.ondewo.nlu.Context.Parameter.prototype.toObject = function (opt_includeInstance) {
385
+ return proto.ondewo.nlu.Context.Parameter.toObject(opt_includeInstance, this);
386
+ };
387
+
388
+ /**
389
+ * Static version of the {@see toObject} method.
390
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
391
+ * the JSPB instance for transitional soy proto support:
392
+ * http://goto/soy-param-migration
393
+ * @param {!proto.ondewo.nlu.Context.Parameter} msg The msg instance to transform.
394
+ * @return {!Object}
395
+ * @suppress {unusedLocalVariables} f is only used for nested messages
396
+ */
397
+ proto.ondewo.nlu.Context.Parameter.toObject = function (includeInstance, msg) {
398
+ var f,
399
+ obj = {
400
+ name: jspb.Message.getFieldWithDefault(msg, 1, ''),
401
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ''),
402
+ value: jspb.Message.getFieldWithDefault(msg, 3, ''),
403
+ valueOriginal: jspb.Message.getFieldWithDefault(msg, 4, '')
404
+ };
405
+
406
+ if (includeInstance) {
407
+ obj.$jspbMessageInstance = msg;
408
+ }
409
+ return obj;
410
+ };
412
411
  }
413
412
 
414
-
415
413
  /**
416
414
  * Deserializes binary data (in protobuf wire format).
417
415
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
418
416
  * @return {!proto.ondewo.nlu.Context.Parameter}
419
417
  */
420
- proto.ondewo.nlu.Context.Parameter.deserializeBinary = function(bytes) {
421
- var reader = new jspb.BinaryReader(bytes);
422
- var msg = new proto.ondewo.nlu.Context.Parameter;
423
- return proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader(msg, reader);
418
+ proto.ondewo.nlu.Context.Parameter.deserializeBinary = function (bytes) {
419
+ var reader = new jspb.BinaryReader(bytes);
420
+ var msg = new proto.ondewo.nlu.Context.Parameter();
421
+ return proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader(msg, reader);
424
422
  };
425
423
 
426
-
427
424
  /**
428
425
  * Deserializes binary data (in protobuf wire format) from the
429
426
  * given reader into the given message object.
@@ -431,49 +428,47 @@ proto.ondewo.nlu.Context.Parameter.deserializeBinary = function(bytes) {
431
428
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
432
429
  * @return {!proto.ondewo.nlu.Context.Parameter}
433
430
  */
434
- proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader = function(msg, reader) {
435
- while (reader.nextField()) {
436
- if (reader.isEndGroup()) {
437
- break;
438
- }
439
- var field = reader.getFieldNumber();
440
- switch (field) {
441
- case 1:
442
- var value = /** @type {string} */ (reader.readString());
443
- msg.setName(value);
444
- break;
445
- case 2:
446
- var value = /** @type {string} */ (reader.readString());
447
- msg.setDisplayName(value);
448
- break;
449
- case 3:
450
- var value = /** @type {string} */ (reader.readString());
451
- msg.setValue(value);
452
- break;
453
- case 4:
454
- var value = /** @type {string} */ (reader.readString());
455
- msg.setValueOriginal(value);
456
- break;
457
- default:
458
- reader.skipField();
459
- break;
460
- }
461
- }
462
- return msg;
431
+ proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader = function (msg, reader) {
432
+ while (reader.nextField()) {
433
+ if (reader.isEndGroup()) {
434
+ break;
435
+ }
436
+ var field = reader.getFieldNumber();
437
+ switch (field) {
438
+ case 1:
439
+ var value = /** @type {string} */ (reader.readString());
440
+ msg.setName(value);
441
+ break;
442
+ case 2:
443
+ var value = /** @type {string} */ (reader.readString());
444
+ msg.setDisplayName(value);
445
+ break;
446
+ case 3:
447
+ var value = /** @type {string} */ (reader.readString());
448
+ msg.setValue(value);
449
+ break;
450
+ case 4:
451
+ var value = /** @type {string} */ (reader.readString());
452
+ msg.setValueOriginal(value);
453
+ break;
454
+ default:
455
+ reader.skipField();
456
+ break;
457
+ }
458
+ }
459
+ return msg;
463
460
  };
464
461
 
465
-
466
462
  /**
467
463
  * Serializes the message to binary data (in protobuf wire format).
468
464
  * @return {!Uint8Array}
469
465
  */
470
- proto.ondewo.nlu.Context.Parameter.prototype.serializeBinary = function() {
471
- var writer = new jspb.BinaryWriter();
472
- proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter(this, writer);
473
- return writer.getResultBuffer();
466
+ proto.ondewo.nlu.Context.Parameter.prototype.serializeBinary = function () {
467
+ var writer = new jspb.BinaryWriter();
468
+ proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter(this, writer);
469
+ return writer.getResultBuffer();
474
470
  };
475
471
 
476
-
477
472
  /**
478
473
  * Serializes the given message to binary data (in protobuf wire
479
474
  * format), writing to the given BinaryWriter.
@@ -481,243 +476,210 @@ proto.ondewo.nlu.Context.Parameter.prototype.serializeBinary = function() {
481
476
  * @param {!jspb.BinaryWriter} writer
482
477
  * @suppress {unusedLocalVariables} f is only used for nested messages
483
478
  */
484
- proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter = function(message, writer) {
485
- var f = undefined;
486
- f = message.getName();
487
- if (f.length > 0) {
488
- writer.writeString(
489
- 1,
490
- f
491
- );
492
- }
493
- f = message.getDisplayName();
494
- if (f.length > 0) {
495
- writer.writeString(
496
- 2,
497
- f
498
- );
499
- }
500
- f = message.getValue();
501
- if (f.length > 0) {
502
- writer.writeString(
503
- 3,
504
- f
505
- );
506
- }
507
- f = message.getValueOriginal();
508
- if (f.length > 0) {
509
- writer.writeString(
510
- 4,
511
- f
512
- );
513
- }
479
+ proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter = function (message, writer) {
480
+ var f = undefined;
481
+ f = message.getName();
482
+ if (f.length > 0) {
483
+ writer.writeString(1, f);
484
+ }
485
+ f = message.getDisplayName();
486
+ if (f.length > 0) {
487
+ writer.writeString(2, f);
488
+ }
489
+ f = message.getValue();
490
+ if (f.length > 0) {
491
+ writer.writeString(3, f);
492
+ }
493
+ f = message.getValueOriginal();
494
+ if (f.length > 0) {
495
+ writer.writeString(4, f);
496
+ }
514
497
  };
515
498
 
516
-
517
499
  /**
518
500
  * optional string name = 1;
519
501
  * @return {string}
520
502
  */
521
- proto.ondewo.nlu.Context.Parameter.prototype.getName = function() {
522
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
503
+ proto.ondewo.nlu.Context.Parameter.prototype.getName = function () {
504
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
523
505
  };
524
506
 
525
-
526
507
  /**
527
508
  * @param {string} value
528
509
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
529
510
  */
530
- proto.ondewo.nlu.Context.Parameter.prototype.setName = function(value) {
531
- return jspb.Message.setProto3StringField(this, 1, value);
511
+ proto.ondewo.nlu.Context.Parameter.prototype.setName = function (value) {
512
+ return jspb.Message.setProto3StringField(this, 1, value);
532
513
  };
533
514
 
534
-
535
515
  /**
536
516
  * optional string display_name = 2;
537
517
  * @return {string}
538
518
  */
539
- proto.ondewo.nlu.Context.Parameter.prototype.getDisplayName = function() {
540
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
519
+ proto.ondewo.nlu.Context.Parameter.prototype.getDisplayName = function () {
520
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
541
521
  };
542
522
 
543
-
544
523
  /**
545
524
  * @param {string} value
546
525
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
547
526
  */
548
- proto.ondewo.nlu.Context.Parameter.prototype.setDisplayName = function(value) {
549
- return jspb.Message.setProto3StringField(this, 2, value);
527
+ proto.ondewo.nlu.Context.Parameter.prototype.setDisplayName = function (value) {
528
+ return jspb.Message.setProto3StringField(this, 2, value);
550
529
  };
551
530
 
552
-
553
531
  /**
554
532
  * optional string value = 3;
555
533
  * @return {string}
556
534
  */
557
- proto.ondewo.nlu.Context.Parameter.prototype.getValue = function() {
558
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
535
+ proto.ondewo.nlu.Context.Parameter.prototype.getValue = function () {
536
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
559
537
  };
560
538
 
561
-
562
539
  /**
563
540
  * @param {string} value
564
541
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
565
542
  */
566
- proto.ondewo.nlu.Context.Parameter.prototype.setValue = function(value) {
567
- return jspb.Message.setProto3StringField(this, 3, value);
543
+ proto.ondewo.nlu.Context.Parameter.prototype.setValue = function (value) {
544
+ return jspb.Message.setProto3StringField(this, 3, value);
568
545
  };
569
546
 
570
-
571
547
  /**
572
548
  * optional string value_original = 4;
573
549
  * @return {string}
574
550
  */
575
- proto.ondewo.nlu.Context.Parameter.prototype.getValueOriginal = function() {
576
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
551
+ proto.ondewo.nlu.Context.Parameter.prototype.getValueOriginal = function () {
552
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ''));
577
553
  };
578
554
 
579
-
580
555
  /**
581
556
  * @param {string} value
582
557
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
583
558
  */
584
- proto.ondewo.nlu.Context.Parameter.prototype.setValueOriginal = function(value) {
585
- return jspb.Message.setProto3StringField(this, 4, value);
559
+ proto.ondewo.nlu.Context.Parameter.prototype.setValueOriginal = function (value) {
560
+ return jspb.Message.setProto3StringField(this, 4, value);
586
561
  };
587
562
 
588
-
589
563
  /**
590
564
  * optional string name = 1;
591
565
  * @return {string}
592
566
  */
593
- proto.ondewo.nlu.Context.prototype.getName = function() {
594
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
567
+ proto.ondewo.nlu.Context.prototype.getName = function () {
568
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
595
569
  };
596
570
 
597
-
598
571
  /**
599
572
  * @param {string} value
600
573
  * @return {!proto.ondewo.nlu.Context} returns this
601
574
  */
602
- proto.ondewo.nlu.Context.prototype.setName = function(value) {
603
- return jspb.Message.setProto3StringField(this, 1, value);
575
+ proto.ondewo.nlu.Context.prototype.setName = function (value) {
576
+ return jspb.Message.setProto3StringField(this, 1, value);
604
577
  };
605
578
 
606
-
607
579
  /**
608
580
  * optional int32 lifespan_count = 2;
609
581
  * @return {number}
610
582
  */
611
- proto.ondewo.nlu.Context.prototype.getLifespanCount = function() {
612
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
583
+ proto.ondewo.nlu.Context.prototype.getLifespanCount = function () {
584
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
613
585
  };
614
586
 
615
-
616
587
  /**
617
588
  * @param {number} value
618
589
  * @return {!proto.ondewo.nlu.Context} returns this
619
590
  */
620
- proto.ondewo.nlu.Context.prototype.setLifespanCount = function(value) {
621
- return jspb.Message.setProto3IntField(this, 2, value);
591
+ proto.ondewo.nlu.Context.prototype.setLifespanCount = function (value) {
592
+ return jspb.Message.setProto3IntField(this, 2, value);
622
593
  };
623
594
 
624
-
625
595
  /**
626
596
  * map<string, Parameter> parameters = 3;
627
597
  * @param {boolean=} opt_noLazyCreate Do not create the map if
628
598
  * empty, instead returning `undefined`
629
599
  * @return {!jspb.Map<string,!proto.ondewo.nlu.Context.Parameter>}
630
600
  */
631
- proto.ondewo.nlu.Context.prototype.getParametersMap = function(opt_noLazyCreate) {
632
- return /** @type {!jspb.Map<string,!proto.ondewo.nlu.Context.Parameter>} */ (
633
- jspb.Message.getMapField(this, 3, opt_noLazyCreate,
634
- proto.ondewo.nlu.Context.Parameter));
601
+ proto.ondewo.nlu.Context.prototype.getParametersMap = function (opt_noLazyCreate) {
602
+ return /** @type {!jspb.Map<string,!proto.ondewo.nlu.Context.Parameter>} */ (
603
+ jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.ondewo.nlu.Context.Parameter)
604
+ );
635
605
  };
636
606
 
637
-
638
607
  /**
639
608
  * Clears values from the map. The map will be non-null.
640
609
  * @return {!proto.ondewo.nlu.Context} returns this
641
610
  */
642
- proto.ondewo.nlu.Context.prototype.clearParametersMap = function() {
643
- this.getParametersMap().clear();
644
- return this;};
645
-
611
+ proto.ondewo.nlu.Context.prototype.clearParametersMap = function () {
612
+ this.getParametersMap().clear();
613
+ return this;
614
+ };
646
615
 
647
616
  /**
648
617
  * optional float lifespan_time = 4;
649
618
  * @return {number}
650
619
  */
651
- proto.ondewo.nlu.Context.prototype.getLifespanTime = function() {
652
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
620
+ proto.ondewo.nlu.Context.prototype.getLifespanTime = function () {
621
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
653
622
  };
654
623
 
655
-
656
624
  /**
657
625
  * @param {number} value
658
626
  * @return {!proto.ondewo.nlu.Context} returns this
659
627
  */
660
- proto.ondewo.nlu.Context.prototype.setLifespanTime = function(value) {
661
- return jspb.Message.setProto3FloatField(this, 4, value);
628
+ proto.ondewo.nlu.Context.prototype.setLifespanTime = function (value) {
629
+ return jspb.Message.setProto3FloatField(this, 4, value);
662
630
  };
663
631
 
664
-
665
-
666
-
667
-
668
632
  if (jspb.Message.GENERATE_TO_OBJECT) {
669
- /**
670
- * Creates an object representation of this proto.
671
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
672
- * Optional fields that are not set will be set to undefined.
673
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
674
- * For the list of reserved names please see:
675
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
676
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
677
- * JSPB instance for transitional soy proto support:
678
- * http://goto/soy-param-migration
679
- * @return {!Object}
680
- */
681
- proto.ondewo.nlu.ListContextsRequest.prototype.toObject = function(opt_includeInstance) {
682
- return proto.ondewo.nlu.ListContextsRequest.toObject(opt_includeInstance, this);
683
- };
684
-
685
-
686
- /**
687
- * Static version of the {@see toObject} method.
688
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
689
- * the JSPB instance for transitional soy proto support:
690
- * http://goto/soy-param-migration
691
- * @param {!proto.ondewo.nlu.ListContextsRequest} msg The msg instance to transform.
692
- * @return {!Object}
693
- * @suppress {unusedLocalVariables} f is only used for nested messages
694
- */
695
- proto.ondewo.nlu.ListContextsRequest.toObject = function(includeInstance, msg) {
696
- var f, obj = {
697
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
698
- pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
699
- };
700
-
701
- if (includeInstance) {
702
- obj.$jspbMessageInstance = msg;
703
- }
704
- return obj;
705
- };
633
+ /**
634
+ * Creates an object representation of this proto.
635
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
636
+ * Optional fields that are not set will be set to undefined.
637
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
638
+ * For the list of reserved names please see:
639
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
640
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
641
+ * JSPB instance for transitional soy proto support:
642
+ * http://goto/soy-param-migration
643
+ * @return {!Object}
644
+ */
645
+ proto.ondewo.nlu.ListContextsRequest.prototype.toObject = function (opt_includeInstance) {
646
+ return proto.ondewo.nlu.ListContextsRequest.toObject(opt_includeInstance, this);
647
+ };
648
+
649
+ /**
650
+ * Static version of the {@see toObject} method.
651
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
652
+ * the JSPB instance for transitional soy proto support:
653
+ * http://goto/soy-param-migration
654
+ * @param {!proto.ondewo.nlu.ListContextsRequest} msg The msg instance to transform.
655
+ * @return {!Object}
656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
657
+ */
658
+ proto.ondewo.nlu.ListContextsRequest.toObject = function (includeInstance, msg) {
659
+ var f,
660
+ obj = {
661
+ sessionId: jspb.Message.getFieldWithDefault(msg, 1, ''),
662
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, '')
663
+ };
664
+
665
+ if (includeInstance) {
666
+ obj.$jspbMessageInstance = msg;
667
+ }
668
+ return obj;
669
+ };
706
670
  }
707
671
 
708
-
709
672
  /**
710
673
  * Deserializes binary data (in protobuf wire format).
711
674
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
712
675
  * @return {!proto.ondewo.nlu.ListContextsRequest}
713
676
  */
714
- proto.ondewo.nlu.ListContextsRequest.deserializeBinary = function(bytes) {
715
- var reader = new jspb.BinaryReader(bytes);
716
- var msg = new proto.ondewo.nlu.ListContextsRequest;
717
- return proto.ondewo.nlu.ListContextsRequest.deserializeBinaryFromReader(msg, reader);
677
+ proto.ondewo.nlu.ListContextsRequest.deserializeBinary = function (bytes) {
678
+ var reader = new jspb.BinaryReader(bytes);
679
+ var msg = new proto.ondewo.nlu.ListContextsRequest();
680
+ return proto.ondewo.nlu.ListContextsRequest.deserializeBinaryFromReader(msg, reader);
718
681
  };
719
682
 
720
-
721
683
  /**
722
684
  * Deserializes binary data (in protobuf wire format) from the
723
685
  * given reader into the given message object.
@@ -725,41 +687,39 @@ proto.ondewo.nlu.ListContextsRequest.deserializeBinary = function(bytes) {
725
687
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
726
688
  * @return {!proto.ondewo.nlu.ListContextsRequest}
727
689
  */
728
- proto.ondewo.nlu.ListContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
729
- while (reader.nextField()) {
730
- if (reader.isEndGroup()) {
731
- break;
732
- }
733
- var field = reader.getFieldNumber();
734
- switch (field) {
735
- case 1:
736
- var value = /** @type {string} */ (reader.readString());
737
- msg.setParent(value);
738
- break;
739
- case 3:
740
- var value = /** @type {string} */ (reader.readString());
741
- msg.setPageToken(value);
742
- break;
743
- default:
744
- reader.skipField();
745
- break;
746
- }
747
- }
748
- return msg;
690
+ proto.ondewo.nlu.ListContextsRequest.deserializeBinaryFromReader = function (msg, reader) {
691
+ while (reader.nextField()) {
692
+ if (reader.isEndGroup()) {
693
+ break;
694
+ }
695
+ var field = reader.getFieldNumber();
696
+ switch (field) {
697
+ case 1:
698
+ var value = /** @type {string} */ (reader.readString());
699
+ msg.setSessionId(value);
700
+ break;
701
+ case 3:
702
+ var value = /** @type {string} */ (reader.readString());
703
+ msg.setPageToken(value);
704
+ break;
705
+ default:
706
+ reader.skipField();
707
+ break;
708
+ }
709
+ }
710
+ return msg;
749
711
  };
750
712
 
751
-
752
713
  /**
753
714
  * Serializes the message to binary data (in protobuf wire format).
754
715
  * @return {!Uint8Array}
755
716
  */
756
- proto.ondewo.nlu.ListContextsRequest.prototype.serializeBinary = function() {
757
- var writer = new jspb.BinaryWriter();
758
- proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter(this, writer);
759
- return writer.getResultBuffer();
717
+ proto.ondewo.nlu.ListContextsRequest.prototype.serializeBinary = function () {
718
+ var writer = new jspb.BinaryWriter();
719
+ proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter(this, writer);
720
+ return writer.getResultBuffer();
760
721
  };
761
722
 
762
-
763
723
  /**
764
724
  * Serializes the given message to binary data (in protobuf wire
765
725
  * format), writing to the given BinaryWriter.
@@ -767,62 +727,50 @@ proto.ondewo.nlu.ListContextsRequest.prototype.serializeBinary = function() {
767
727
  * @param {!jspb.BinaryWriter} writer
768
728
  * @suppress {unusedLocalVariables} f is only used for nested messages
769
729
  */
770
- proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter = function(message, writer) {
771
- var f = undefined;
772
- f = message.getParent();
773
- if (f.length > 0) {
774
- writer.writeString(
775
- 1,
776
- f
777
- );
778
- }
779
- f = message.getPageToken();
780
- if (f.length > 0) {
781
- writer.writeString(
782
- 3,
783
- f
784
- );
785
- }
730
+ proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter = function (message, writer) {
731
+ var f = undefined;
732
+ f = message.getSessionId();
733
+ if (f.length > 0) {
734
+ writer.writeString(1, f);
735
+ }
736
+ f = message.getPageToken();
737
+ if (f.length > 0) {
738
+ writer.writeString(3, f);
739
+ }
786
740
  };
787
741
 
788
-
789
742
  /**
790
- * optional string parent = 1;
743
+ * optional string session_id = 1;
791
744
  * @return {string}
792
745
  */
793
- proto.ondewo.nlu.ListContextsRequest.prototype.getParent = function() {
794
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
746
+ proto.ondewo.nlu.ListContextsRequest.prototype.getSessionId = function () {
747
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
795
748
  };
796
749
 
797
-
798
750
  /**
799
751
  * @param {string} value
800
752
  * @return {!proto.ondewo.nlu.ListContextsRequest} returns this
801
753
  */
802
- proto.ondewo.nlu.ListContextsRequest.prototype.setParent = function(value) {
803
- return jspb.Message.setProto3StringField(this, 1, value);
754
+ proto.ondewo.nlu.ListContextsRequest.prototype.setSessionId = function (value) {
755
+ return jspb.Message.setProto3StringField(this, 1, value);
804
756
  };
805
757
 
806
-
807
758
  /**
808
759
  * optional string page_token = 3;
809
760
  * @return {string}
810
761
  */
811
- proto.ondewo.nlu.ListContextsRequest.prototype.getPageToken = function() {
812
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
762
+ proto.ondewo.nlu.ListContextsRequest.prototype.getPageToken = function () {
763
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
813
764
  };
814
765
 
815
-
816
766
  /**
817
767
  * @param {string} value
818
768
  * @return {!proto.ondewo.nlu.ListContextsRequest} returns this
819
769
  */
820
- proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken = function(value) {
821
- return jspb.Message.setProto3StringField(this, 3, value);
770
+ proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken = function (value) {
771
+ return jspb.Message.setProto3StringField(this, 3, value);
822
772
  };
823
773
 
824
-
825
-
826
774
  /**
827
775
  * List of repeated fields within this message type.
828
776
  * @private {!Array<number>}
@@ -830,62 +778,61 @@ proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken = function(value) {
830
778
  */
831
779
  proto.ondewo.nlu.ListContextsResponse.repeatedFields_ = [1];
832
780
 
833
-
834
-
835
781
  if (jspb.Message.GENERATE_TO_OBJECT) {
836
- /**
837
- * Creates an object representation of this proto.
838
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
839
- * Optional fields that are not set will be set to undefined.
840
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
841
- * For the list of reserved names please see:
842
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
843
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
844
- * JSPB instance for transitional soy proto support:
845
- * http://goto/soy-param-migration
846
- * @return {!Object}
847
- */
848
- proto.ondewo.nlu.ListContextsResponse.prototype.toObject = function(opt_includeInstance) {
849
- return proto.ondewo.nlu.ListContextsResponse.toObject(opt_includeInstance, this);
850
- };
851
-
852
-
853
- /**
854
- * Static version of the {@see toObject} method.
855
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
856
- * the JSPB instance for transitional soy proto support:
857
- * http://goto/soy-param-migration
858
- * @param {!proto.ondewo.nlu.ListContextsResponse} msg The msg instance to transform.
859
- * @return {!Object}
860
- * @suppress {unusedLocalVariables} f is only used for nested messages
861
- */
862
- proto.ondewo.nlu.ListContextsResponse.toObject = function(includeInstance, msg) {
863
- var f, obj = {
864
- contextsList: jspb.Message.toObjectList(msg.getContextsList(),
865
- proto.ondewo.nlu.Context.toObject, includeInstance),
866
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
867
- };
868
-
869
- if (includeInstance) {
870
- obj.$jspbMessageInstance = msg;
871
- }
872
- return obj;
873
- };
782
+ /**
783
+ * Creates an object representation of this proto.
784
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
785
+ * Optional fields that are not set will be set to undefined.
786
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
787
+ * For the list of reserved names please see:
788
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
789
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
790
+ * JSPB instance for transitional soy proto support:
791
+ * http://goto/soy-param-migration
792
+ * @return {!Object}
793
+ */
794
+ proto.ondewo.nlu.ListContextsResponse.prototype.toObject = function (opt_includeInstance) {
795
+ return proto.ondewo.nlu.ListContextsResponse.toObject(opt_includeInstance, this);
796
+ };
797
+
798
+ /**
799
+ * Static version of the {@see toObject} method.
800
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
801
+ * the JSPB instance for transitional soy proto support:
802
+ * http://goto/soy-param-migration
803
+ * @param {!proto.ondewo.nlu.ListContextsResponse} msg The msg instance to transform.
804
+ * @return {!Object}
805
+ * @suppress {unusedLocalVariables} f is only used for nested messages
806
+ */
807
+ proto.ondewo.nlu.ListContextsResponse.toObject = function (includeInstance, msg) {
808
+ var f,
809
+ obj = {
810
+ contextsList: jspb.Message.toObjectList(
811
+ msg.getContextsList(),
812
+ proto.ondewo.nlu.Context.toObject,
813
+ includeInstance
814
+ ),
815
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, '')
816
+ };
817
+
818
+ if (includeInstance) {
819
+ obj.$jspbMessageInstance = msg;
820
+ }
821
+ return obj;
822
+ };
874
823
  }
875
824
 
876
-
877
825
  /**
878
826
  * Deserializes binary data (in protobuf wire format).
879
827
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
880
828
  * @return {!proto.ondewo.nlu.ListContextsResponse}
881
829
  */
882
- proto.ondewo.nlu.ListContextsResponse.deserializeBinary = function(bytes) {
883
- var reader = new jspb.BinaryReader(bytes);
884
- var msg = new proto.ondewo.nlu.ListContextsResponse;
885
- return proto.ondewo.nlu.ListContextsResponse.deserializeBinaryFromReader(msg, reader);
830
+ proto.ondewo.nlu.ListContextsResponse.deserializeBinary = function (bytes) {
831
+ var reader = new jspb.BinaryReader(bytes);
832
+ var msg = new proto.ondewo.nlu.ListContextsResponse();
833
+ return proto.ondewo.nlu.ListContextsResponse.deserializeBinaryFromReader(msg, reader);
886
834
  };
887
835
 
888
-
889
836
  /**
890
837
  * Deserializes binary data (in protobuf wire format) from the
891
838
  * given reader into the given message object.
@@ -893,42 +840,40 @@ proto.ondewo.nlu.ListContextsResponse.deserializeBinary = function(bytes) {
893
840
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
894
841
  * @return {!proto.ondewo.nlu.ListContextsResponse}
895
842
  */
896
- proto.ondewo.nlu.ListContextsResponse.deserializeBinaryFromReader = function(msg, reader) {
897
- while (reader.nextField()) {
898
- if (reader.isEndGroup()) {
899
- break;
900
- }
901
- var field = reader.getFieldNumber();
902
- switch (field) {
903
- case 1:
904
- var value = new proto.ondewo.nlu.Context;
905
- reader.readMessage(value,proto.ondewo.nlu.Context.deserializeBinaryFromReader);
906
- msg.addContexts(value);
907
- break;
908
- case 2:
909
- var value = /** @type {string} */ (reader.readString());
910
- msg.setNextPageToken(value);
911
- break;
912
- default:
913
- reader.skipField();
914
- break;
915
- }
916
- }
917
- return msg;
843
+ proto.ondewo.nlu.ListContextsResponse.deserializeBinaryFromReader = function (msg, reader) {
844
+ while (reader.nextField()) {
845
+ if (reader.isEndGroup()) {
846
+ break;
847
+ }
848
+ var field = reader.getFieldNumber();
849
+ switch (field) {
850
+ case 1:
851
+ var value = new proto.ondewo.nlu.Context();
852
+ reader.readMessage(value, proto.ondewo.nlu.Context.deserializeBinaryFromReader);
853
+ msg.addContexts(value);
854
+ break;
855
+ case 2:
856
+ var value = /** @type {string} */ (reader.readString());
857
+ msg.setNextPageToken(value);
858
+ break;
859
+ default:
860
+ reader.skipField();
861
+ break;
862
+ }
863
+ }
864
+ return msg;
918
865
  };
919
866
 
920
-
921
867
  /**
922
868
  * Serializes the message to binary data (in protobuf wire format).
923
869
  * @return {!Uint8Array}
924
870
  */
925
- proto.ondewo.nlu.ListContextsResponse.prototype.serializeBinary = function() {
926
- var writer = new jspb.BinaryWriter();
927
- proto.ondewo.nlu.ListContextsResponse.serializeBinaryToWriter(this, writer);
928
- return writer.getResultBuffer();
871
+ proto.ondewo.nlu.ListContextsResponse.prototype.serializeBinary = function () {
872
+ var writer = new jspb.BinaryWriter();
873
+ proto.ondewo.nlu.ListContextsResponse.serializeBinaryToWriter(this, writer);
874
+ return writer.getResultBuffer();
929
875
  };
930
876
 
931
-
932
877
  /**
933
878
  * Serializes the given message to binary data (in protobuf wire
934
879
  * format), writing to the given BinaryWriter.
@@ -936,137 +881,119 @@ proto.ondewo.nlu.ListContextsResponse.prototype.serializeBinary = function() {
936
881
  * @param {!jspb.BinaryWriter} writer
937
882
  * @suppress {unusedLocalVariables} f is only used for nested messages
938
883
  */
939
- proto.ondewo.nlu.ListContextsResponse.serializeBinaryToWriter = function(message, writer) {
940
- var f = undefined;
941
- f = message.getContextsList();
942
- if (f.length > 0) {
943
- writer.writeRepeatedMessage(
944
- 1,
945
- f,
946
- proto.ondewo.nlu.Context.serializeBinaryToWriter
947
- );
948
- }
949
- f = message.getNextPageToken();
950
- if (f.length > 0) {
951
- writer.writeString(
952
- 2,
953
- f
954
- );
955
- }
884
+ proto.ondewo.nlu.ListContextsResponse.serializeBinaryToWriter = function (message, writer) {
885
+ var f = undefined;
886
+ f = message.getContextsList();
887
+ if (f.length > 0) {
888
+ writer.writeRepeatedMessage(1, f, proto.ondewo.nlu.Context.serializeBinaryToWriter);
889
+ }
890
+ f = message.getNextPageToken();
891
+ if (f.length > 0) {
892
+ writer.writeString(2, f);
893
+ }
956
894
  };
957
895
 
958
-
959
896
  /**
960
897
  * repeated Context contexts = 1;
961
898
  * @return {!Array<!proto.ondewo.nlu.Context>}
962
899
  */
963
- proto.ondewo.nlu.ListContextsResponse.prototype.getContextsList = function() {
964
- return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
965
- jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Context, 1));
900
+ proto.ondewo.nlu.ListContextsResponse.prototype.getContextsList = function () {
901
+ return /** @type{!Array<!proto.ondewo.nlu.Context>} */ (
902
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Context, 1)
903
+ );
966
904
  };
967
905
 
968
-
969
906
  /**
970
907
  * @param {!Array<!proto.ondewo.nlu.Context>} value
971
908
  * @return {!proto.ondewo.nlu.ListContextsResponse} returns this
972
- */
973
- proto.ondewo.nlu.ListContextsResponse.prototype.setContextsList = function(value) {
974
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
909
+ */
910
+ proto.ondewo.nlu.ListContextsResponse.prototype.setContextsList = function (value) {
911
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
975
912
  };
976
913
 
977
-
978
914
  /**
979
915
  * @param {!proto.ondewo.nlu.Context=} opt_value
980
916
  * @param {number=} opt_index
981
917
  * @return {!proto.ondewo.nlu.Context}
982
918
  */
983
- proto.ondewo.nlu.ListContextsResponse.prototype.addContexts = function(opt_value, opt_index) {
984
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.Context, opt_index);
919
+ proto.ondewo.nlu.ListContextsResponse.prototype.addContexts = function (opt_value, opt_index) {
920
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.Context, opt_index);
985
921
  };
986
922
 
987
-
988
923
  /**
989
924
  * Clears the list making it empty but non-null.
990
925
  * @return {!proto.ondewo.nlu.ListContextsResponse} returns this
991
926
  */
992
- proto.ondewo.nlu.ListContextsResponse.prototype.clearContextsList = function() {
993
- return this.setContextsList([]);
927
+ proto.ondewo.nlu.ListContextsResponse.prototype.clearContextsList = function () {
928
+ return this.setContextsList([]);
994
929
  };
995
930
 
996
-
997
931
  /**
998
932
  * optional string next_page_token = 2;
999
933
  * @return {string}
1000
934
  */
1001
- proto.ondewo.nlu.ListContextsResponse.prototype.getNextPageToken = function() {
1002
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
935
+ proto.ondewo.nlu.ListContextsResponse.prototype.getNextPageToken = function () {
936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
1003
937
  };
1004
938
 
1005
-
1006
939
  /**
1007
940
  * @param {string} value
1008
941
  * @return {!proto.ondewo.nlu.ListContextsResponse} returns this
1009
942
  */
1010
- proto.ondewo.nlu.ListContextsResponse.prototype.setNextPageToken = function(value) {
1011
- return jspb.Message.setProto3StringField(this, 2, value);
943
+ proto.ondewo.nlu.ListContextsResponse.prototype.setNextPageToken = function (value) {
944
+ return jspb.Message.setProto3StringField(this, 2, value);
1012
945
  };
1013
946
 
1014
-
1015
-
1016
-
1017
-
1018
947
  if (jspb.Message.GENERATE_TO_OBJECT) {
1019
- /**
1020
- * Creates an object representation of this proto.
1021
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1022
- * Optional fields that are not set will be set to undefined.
1023
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1024
- * For the list of reserved names please see:
1025
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1026
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1027
- * JSPB instance for transitional soy proto support:
1028
- * http://goto/soy-param-migration
1029
- * @return {!Object}
1030
- */
1031
- proto.ondewo.nlu.GetContextRequest.prototype.toObject = function(opt_includeInstance) {
1032
- return proto.ondewo.nlu.GetContextRequest.toObject(opt_includeInstance, this);
1033
- };
1034
-
1035
-
1036
- /**
1037
- * Static version of the {@see toObject} method.
1038
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1039
- * the JSPB instance for transitional soy proto support:
1040
- * http://goto/soy-param-migration
1041
- * @param {!proto.ondewo.nlu.GetContextRequest} msg The msg instance to transform.
1042
- * @return {!Object}
1043
- * @suppress {unusedLocalVariables} f is only used for nested messages
1044
- */
1045
- proto.ondewo.nlu.GetContextRequest.toObject = function(includeInstance, msg) {
1046
- var f, obj = {
1047
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
1048
- };
1049
-
1050
- if (includeInstance) {
1051
- obj.$jspbMessageInstance = msg;
1052
- }
1053
- return obj;
1054
- };
948
+ /**
949
+ * Creates an object representation of this proto.
950
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
951
+ * Optional fields that are not set will be set to undefined.
952
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
953
+ * For the list of reserved names please see:
954
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
955
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
956
+ * JSPB instance for transitional soy proto support:
957
+ * http://goto/soy-param-migration
958
+ * @return {!Object}
959
+ */
960
+ proto.ondewo.nlu.GetContextRequest.prototype.toObject = function (opt_includeInstance) {
961
+ return proto.ondewo.nlu.GetContextRequest.toObject(opt_includeInstance, this);
962
+ };
963
+
964
+ /**
965
+ * Static version of the {@see toObject} method.
966
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
967
+ * the JSPB instance for transitional soy proto support:
968
+ * http://goto/soy-param-migration
969
+ * @param {!proto.ondewo.nlu.GetContextRequest} msg The msg instance to transform.
970
+ * @return {!Object}
971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
972
+ */
973
+ proto.ondewo.nlu.GetContextRequest.toObject = function (includeInstance, msg) {
974
+ var f,
975
+ obj = {
976
+ name: jspb.Message.getFieldWithDefault(msg, 1, '')
977
+ };
978
+
979
+ if (includeInstance) {
980
+ obj.$jspbMessageInstance = msg;
981
+ }
982
+ return obj;
983
+ };
1055
984
  }
1056
985
 
1057
-
1058
986
  /**
1059
987
  * Deserializes binary data (in protobuf wire format).
1060
988
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1061
989
  * @return {!proto.ondewo.nlu.GetContextRequest}
1062
990
  */
1063
- proto.ondewo.nlu.GetContextRequest.deserializeBinary = function(bytes) {
1064
- var reader = new jspb.BinaryReader(bytes);
1065
- var msg = new proto.ondewo.nlu.GetContextRequest;
1066
- return proto.ondewo.nlu.GetContextRequest.deserializeBinaryFromReader(msg, reader);
991
+ proto.ondewo.nlu.GetContextRequest.deserializeBinary = function (bytes) {
992
+ var reader = new jspb.BinaryReader(bytes);
993
+ var msg = new proto.ondewo.nlu.GetContextRequest();
994
+ return proto.ondewo.nlu.GetContextRequest.deserializeBinaryFromReader(msg, reader);
1067
995
  };
1068
996
 
1069
-
1070
997
  /**
1071
998
  * Deserializes binary data (in protobuf wire format) from the
1072
999
  * given reader into the given message object.
@@ -1074,37 +1001,35 @@ proto.ondewo.nlu.GetContextRequest.deserializeBinary = function(bytes) {
1074
1001
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1075
1002
  * @return {!proto.ondewo.nlu.GetContextRequest}
1076
1003
  */
1077
- proto.ondewo.nlu.GetContextRequest.deserializeBinaryFromReader = function(msg, reader) {
1078
- while (reader.nextField()) {
1079
- if (reader.isEndGroup()) {
1080
- break;
1081
- }
1082
- var field = reader.getFieldNumber();
1083
- switch (field) {
1084
- case 1:
1085
- var value = /** @type {string} */ (reader.readString());
1086
- msg.setName(value);
1087
- break;
1088
- default:
1089
- reader.skipField();
1090
- break;
1091
- }
1092
- }
1093
- return msg;
1004
+ proto.ondewo.nlu.GetContextRequest.deserializeBinaryFromReader = function (msg, reader) {
1005
+ while (reader.nextField()) {
1006
+ if (reader.isEndGroup()) {
1007
+ break;
1008
+ }
1009
+ var field = reader.getFieldNumber();
1010
+ switch (field) {
1011
+ case 1:
1012
+ var value = /** @type {string} */ (reader.readString());
1013
+ msg.setName(value);
1014
+ break;
1015
+ default:
1016
+ reader.skipField();
1017
+ break;
1018
+ }
1019
+ }
1020
+ return msg;
1094
1021
  };
1095
1022
 
1096
-
1097
1023
  /**
1098
1024
  * Serializes the message to binary data (in protobuf wire format).
1099
1025
  * @return {!Uint8Array}
1100
1026
  */
1101
- proto.ondewo.nlu.GetContextRequest.prototype.serializeBinary = function() {
1102
- var writer = new jspb.BinaryWriter();
1103
- proto.ondewo.nlu.GetContextRequest.serializeBinaryToWriter(this, writer);
1104
- return writer.getResultBuffer();
1027
+ proto.ondewo.nlu.GetContextRequest.prototype.serializeBinary = function () {
1028
+ var writer = new jspb.BinaryWriter();
1029
+ proto.ondewo.nlu.GetContextRequest.serializeBinaryToWriter(this, writer);
1030
+ return writer.getResultBuffer();
1105
1031
  };
1106
1032
 
1107
-
1108
1033
  /**
1109
1034
  * Serializes the given message to binary data (in protobuf wire
1110
1035
  * format), writing to the given BinaryWriter.
@@ -1112,92 +1037,81 @@ proto.ondewo.nlu.GetContextRequest.prototype.serializeBinary = function() {
1112
1037
  * @param {!jspb.BinaryWriter} writer
1113
1038
  * @suppress {unusedLocalVariables} f is only used for nested messages
1114
1039
  */
1115
- proto.ondewo.nlu.GetContextRequest.serializeBinaryToWriter = function(message, writer) {
1116
- var f = undefined;
1117
- f = message.getName();
1118
- if (f.length > 0) {
1119
- writer.writeString(
1120
- 1,
1121
- f
1122
- );
1123
- }
1040
+ proto.ondewo.nlu.GetContextRequest.serializeBinaryToWriter = function (message, writer) {
1041
+ var f = undefined;
1042
+ f = message.getName();
1043
+ if (f.length > 0) {
1044
+ writer.writeString(1, f);
1045
+ }
1124
1046
  };
1125
1047
 
1126
-
1127
1048
  /**
1128
1049
  * optional string name = 1;
1129
1050
  * @return {string}
1130
1051
  */
1131
- proto.ondewo.nlu.GetContextRequest.prototype.getName = function() {
1132
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1052
+ proto.ondewo.nlu.GetContextRequest.prototype.getName = function () {
1053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1133
1054
  };
1134
1055
 
1135
-
1136
1056
  /**
1137
1057
  * @param {string} value
1138
1058
  * @return {!proto.ondewo.nlu.GetContextRequest} returns this
1139
1059
  */
1140
- proto.ondewo.nlu.GetContextRequest.prototype.setName = function(value) {
1141
- return jspb.Message.setProto3StringField(this, 1, value);
1060
+ proto.ondewo.nlu.GetContextRequest.prototype.setName = function (value) {
1061
+ return jspb.Message.setProto3StringField(this, 1, value);
1142
1062
  };
1143
1063
 
1144
-
1145
-
1146
-
1147
-
1148
1064
  if (jspb.Message.GENERATE_TO_OBJECT) {
1149
- /**
1150
- * Creates an object representation of this proto.
1151
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1152
- * Optional fields that are not set will be set to undefined.
1153
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1154
- * For the list of reserved names please see:
1155
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1156
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1157
- * JSPB instance for transitional soy proto support:
1158
- * http://goto/soy-param-migration
1159
- * @return {!Object}
1160
- */
1161
- proto.ondewo.nlu.CreateContextRequest.prototype.toObject = function(opt_includeInstance) {
1162
- return proto.ondewo.nlu.CreateContextRequest.toObject(opt_includeInstance, this);
1163
- };
1164
-
1165
-
1166
- /**
1167
- * Static version of the {@see toObject} method.
1168
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1169
- * the JSPB instance for transitional soy proto support:
1170
- * http://goto/soy-param-migration
1171
- * @param {!proto.ondewo.nlu.CreateContextRequest} msg The msg instance to transform.
1172
- * @return {!Object}
1173
- * @suppress {unusedLocalVariables} f is only used for nested messages
1174
- */
1175
- proto.ondewo.nlu.CreateContextRequest.toObject = function(includeInstance, msg) {
1176
- var f, obj = {
1177
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
1178
- context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f)
1179
- };
1180
-
1181
- if (includeInstance) {
1182
- obj.$jspbMessageInstance = msg;
1183
- }
1184
- return obj;
1185
- };
1065
+ /**
1066
+ * Creates an object representation of this proto.
1067
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1068
+ * Optional fields that are not set will be set to undefined.
1069
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1070
+ * For the list of reserved names please see:
1071
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1072
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1073
+ * JSPB instance for transitional soy proto support:
1074
+ * http://goto/soy-param-migration
1075
+ * @return {!Object}
1076
+ */
1077
+ proto.ondewo.nlu.CreateContextRequest.prototype.toObject = function (opt_includeInstance) {
1078
+ return proto.ondewo.nlu.CreateContextRequest.toObject(opt_includeInstance, this);
1079
+ };
1080
+
1081
+ /**
1082
+ * Static version of the {@see toObject} method.
1083
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1084
+ * the JSPB instance for transitional soy proto support:
1085
+ * http://goto/soy-param-migration
1086
+ * @param {!proto.ondewo.nlu.CreateContextRequest} msg The msg instance to transform.
1087
+ * @return {!Object}
1088
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1089
+ */
1090
+ proto.ondewo.nlu.CreateContextRequest.toObject = function (includeInstance, msg) {
1091
+ var f,
1092
+ obj = {
1093
+ sessionId: jspb.Message.getFieldWithDefault(msg, 1, ''),
1094
+ context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f)
1095
+ };
1096
+
1097
+ if (includeInstance) {
1098
+ obj.$jspbMessageInstance = msg;
1099
+ }
1100
+ return obj;
1101
+ };
1186
1102
  }
1187
1103
 
1188
-
1189
1104
  /**
1190
1105
  * Deserializes binary data (in protobuf wire format).
1191
1106
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1192
1107
  * @return {!proto.ondewo.nlu.CreateContextRequest}
1193
1108
  */
1194
- proto.ondewo.nlu.CreateContextRequest.deserializeBinary = function(bytes) {
1195
- var reader = new jspb.BinaryReader(bytes);
1196
- var msg = new proto.ondewo.nlu.CreateContextRequest;
1197
- return proto.ondewo.nlu.CreateContextRequest.deserializeBinaryFromReader(msg, reader);
1109
+ proto.ondewo.nlu.CreateContextRequest.deserializeBinary = function (bytes) {
1110
+ var reader = new jspb.BinaryReader(bytes);
1111
+ var msg = new proto.ondewo.nlu.CreateContextRequest();
1112
+ return proto.ondewo.nlu.CreateContextRequest.deserializeBinaryFromReader(msg, reader);
1198
1113
  };
1199
1114
 
1200
-
1201
1115
  /**
1202
1116
  * Deserializes binary data (in protobuf wire format) from the
1203
1117
  * given reader into the given message object.
@@ -1205,42 +1119,40 @@ proto.ondewo.nlu.CreateContextRequest.deserializeBinary = function(bytes) {
1205
1119
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1206
1120
  * @return {!proto.ondewo.nlu.CreateContextRequest}
1207
1121
  */
1208
- proto.ondewo.nlu.CreateContextRequest.deserializeBinaryFromReader = function(msg, reader) {
1209
- while (reader.nextField()) {
1210
- if (reader.isEndGroup()) {
1211
- break;
1212
- }
1213
- var field = reader.getFieldNumber();
1214
- switch (field) {
1215
- case 1:
1216
- var value = /** @type {string} */ (reader.readString());
1217
- msg.setParent(value);
1218
- break;
1219
- case 2:
1220
- var value = new proto.ondewo.nlu.Context;
1221
- reader.readMessage(value,proto.ondewo.nlu.Context.deserializeBinaryFromReader);
1222
- msg.setContext(value);
1223
- break;
1224
- default:
1225
- reader.skipField();
1226
- break;
1227
- }
1228
- }
1229
- return msg;
1122
+ proto.ondewo.nlu.CreateContextRequest.deserializeBinaryFromReader = function (msg, reader) {
1123
+ while (reader.nextField()) {
1124
+ if (reader.isEndGroup()) {
1125
+ break;
1126
+ }
1127
+ var field = reader.getFieldNumber();
1128
+ switch (field) {
1129
+ case 1:
1130
+ var value = /** @type {string} */ (reader.readString());
1131
+ msg.setSessionId(value);
1132
+ break;
1133
+ case 2:
1134
+ var value = new proto.ondewo.nlu.Context();
1135
+ reader.readMessage(value, proto.ondewo.nlu.Context.deserializeBinaryFromReader);
1136
+ msg.setContext(value);
1137
+ break;
1138
+ default:
1139
+ reader.skipField();
1140
+ break;
1141
+ }
1142
+ }
1143
+ return msg;
1230
1144
  };
1231
1145
 
1232
-
1233
1146
  /**
1234
1147
  * Serializes the message to binary data (in protobuf wire format).
1235
1148
  * @return {!Uint8Array}
1236
1149
  */
1237
- proto.ondewo.nlu.CreateContextRequest.prototype.serializeBinary = function() {
1238
- var writer = new jspb.BinaryWriter();
1239
- proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter(this, writer);
1240
- return writer.getResultBuffer();
1150
+ proto.ondewo.nlu.CreateContextRequest.prototype.serializeBinary = function () {
1151
+ var writer = new jspb.BinaryWriter();
1152
+ proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter(this, writer);
1153
+ return writer.getResultBuffer();
1241
1154
  };
1242
1155
 
1243
-
1244
1156
  /**
1245
1157
  * Serializes the given message to binary data (in protobuf wire
1246
1158
  * format), writing to the given BinaryWriter.
@@ -1248,137 +1160,117 @@ proto.ondewo.nlu.CreateContextRequest.prototype.serializeBinary = function() {
1248
1160
  * @param {!jspb.BinaryWriter} writer
1249
1161
  * @suppress {unusedLocalVariables} f is only used for nested messages
1250
1162
  */
1251
- proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter = function(message, writer) {
1252
- var f = undefined;
1253
- f = message.getParent();
1254
- if (f.length > 0) {
1255
- writer.writeString(
1256
- 1,
1257
- f
1258
- );
1259
- }
1260
- f = message.getContext();
1261
- if (f != null) {
1262
- writer.writeMessage(
1263
- 2,
1264
- f,
1265
- proto.ondewo.nlu.Context.serializeBinaryToWriter
1266
- );
1267
- }
1163
+ proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter = function (message, writer) {
1164
+ var f = undefined;
1165
+ f = message.getSessionId();
1166
+ if (f.length > 0) {
1167
+ writer.writeString(1, f);
1168
+ }
1169
+ f = message.getContext();
1170
+ if (f != null) {
1171
+ writer.writeMessage(2, f, proto.ondewo.nlu.Context.serializeBinaryToWriter);
1172
+ }
1268
1173
  };
1269
1174
 
1270
-
1271
1175
  /**
1272
- * optional string parent = 1;
1176
+ * optional string session_id = 1;
1273
1177
  * @return {string}
1274
1178
  */
1275
- proto.ondewo.nlu.CreateContextRequest.prototype.getParent = function() {
1276
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1179
+ proto.ondewo.nlu.CreateContextRequest.prototype.getSessionId = function () {
1180
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1277
1181
  };
1278
1182
 
1279
-
1280
1183
  /**
1281
1184
  * @param {string} value
1282
1185
  * @return {!proto.ondewo.nlu.CreateContextRequest} returns this
1283
1186
  */
1284
- proto.ondewo.nlu.CreateContextRequest.prototype.setParent = function(value) {
1285
- return jspb.Message.setProto3StringField(this, 1, value);
1187
+ proto.ondewo.nlu.CreateContextRequest.prototype.setSessionId = function (value) {
1188
+ return jspb.Message.setProto3StringField(this, 1, value);
1286
1189
  };
1287
1190
 
1288
-
1289
1191
  /**
1290
1192
  * optional Context context = 2;
1291
1193
  * @return {?proto.ondewo.nlu.Context}
1292
1194
  */
1293
- proto.ondewo.nlu.CreateContextRequest.prototype.getContext = function() {
1294
- return /** @type{?proto.ondewo.nlu.Context} */ (
1295
- jspb.Message.getWrapperField(this, proto.ondewo.nlu.Context, 2));
1195
+ proto.ondewo.nlu.CreateContextRequest.prototype.getContext = function () {
1196
+ return /** @type{?proto.ondewo.nlu.Context} */ (jspb.Message.getWrapperField(this, proto.ondewo.nlu.Context, 2));
1296
1197
  };
1297
1198
 
1298
-
1299
1199
  /**
1300
1200
  * @param {?proto.ondewo.nlu.Context|undefined} value
1301
1201
  * @return {!proto.ondewo.nlu.CreateContextRequest} returns this
1302
- */
1303
- proto.ondewo.nlu.CreateContextRequest.prototype.setContext = function(value) {
1304
- return jspb.Message.setWrapperField(this, 2, value);
1202
+ */
1203
+ proto.ondewo.nlu.CreateContextRequest.prototype.setContext = function (value) {
1204
+ return jspb.Message.setWrapperField(this, 2, value);
1305
1205
  };
1306
1206
 
1307
-
1308
1207
  /**
1309
1208
  * Clears the message field making it undefined.
1310
1209
  * @return {!proto.ondewo.nlu.CreateContextRequest} returns this
1311
1210
  */
1312
- proto.ondewo.nlu.CreateContextRequest.prototype.clearContext = function() {
1313
- return this.setContext(undefined);
1211
+ proto.ondewo.nlu.CreateContextRequest.prototype.clearContext = function () {
1212
+ return this.setContext(undefined);
1314
1213
  };
1315
1214
 
1316
-
1317
1215
  /**
1318
1216
  * Returns whether this field is set.
1319
1217
  * @return {boolean}
1320
1218
  */
1321
- proto.ondewo.nlu.CreateContextRequest.prototype.hasContext = function() {
1322
- return jspb.Message.getField(this, 2) != null;
1219
+ proto.ondewo.nlu.CreateContextRequest.prototype.hasContext = function () {
1220
+ return jspb.Message.getField(this, 2) != null;
1323
1221
  };
1324
1222
 
1325
-
1326
-
1327
-
1328
-
1329
1223
  if (jspb.Message.GENERATE_TO_OBJECT) {
1330
- /**
1331
- * Creates an object representation of this proto.
1332
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1333
- * Optional fields that are not set will be set to undefined.
1334
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1335
- * For the list of reserved names please see:
1336
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1337
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1338
- * JSPB instance for transitional soy proto support:
1339
- * http://goto/soy-param-migration
1340
- * @return {!Object}
1341
- */
1342
- proto.ondewo.nlu.UpdateContextRequest.prototype.toObject = function(opt_includeInstance) {
1343
- return proto.ondewo.nlu.UpdateContextRequest.toObject(opt_includeInstance, this);
1344
- };
1345
-
1346
-
1347
- /**
1348
- * Static version of the {@see toObject} method.
1349
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1350
- * the JSPB instance for transitional soy proto support:
1351
- * http://goto/soy-param-migration
1352
- * @param {!proto.ondewo.nlu.UpdateContextRequest} msg The msg instance to transform.
1353
- * @return {!Object}
1354
- * @suppress {unusedLocalVariables} f is only used for nested messages
1355
- */
1356
- proto.ondewo.nlu.UpdateContextRequest.toObject = function(includeInstance, msg) {
1357
- var f, obj = {
1358
- context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f),
1359
- updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
1360
- };
1361
-
1362
- if (includeInstance) {
1363
- obj.$jspbMessageInstance = msg;
1364
- }
1365
- return obj;
1366
- };
1224
+ /**
1225
+ * Creates an object representation of this proto.
1226
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1227
+ * Optional fields that are not set will be set to undefined.
1228
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1229
+ * For the list of reserved names please see:
1230
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1231
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1232
+ * JSPB instance for transitional soy proto support:
1233
+ * http://goto/soy-param-migration
1234
+ * @return {!Object}
1235
+ */
1236
+ proto.ondewo.nlu.UpdateContextRequest.prototype.toObject = function (opt_includeInstance) {
1237
+ return proto.ondewo.nlu.UpdateContextRequest.toObject(opt_includeInstance, this);
1238
+ };
1239
+
1240
+ /**
1241
+ * Static version of the {@see toObject} method.
1242
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1243
+ * the JSPB instance for transitional soy proto support:
1244
+ * http://goto/soy-param-migration
1245
+ * @param {!proto.ondewo.nlu.UpdateContextRequest} msg The msg instance to transform.
1246
+ * @return {!Object}
1247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1248
+ */
1249
+ proto.ondewo.nlu.UpdateContextRequest.toObject = function (includeInstance, msg) {
1250
+ var f,
1251
+ obj = {
1252
+ context: (f = msg.getContext()) && proto.ondewo.nlu.Context.toObject(includeInstance, f),
1253
+ updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
1254
+ };
1255
+
1256
+ if (includeInstance) {
1257
+ obj.$jspbMessageInstance = msg;
1258
+ }
1259
+ return obj;
1260
+ };
1367
1261
  }
1368
1262
 
1369
-
1370
1263
  /**
1371
1264
  * Deserializes binary data (in protobuf wire format).
1372
1265
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1373
1266
  * @return {!proto.ondewo.nlu.UpdateContextRequest}
1374
1267
  */
1375
- proto.ondewo.nlu.UpdateContextRequest.deserializeBinary = function(bytes) {
1376
- var reader = new jspb.BinaryReader(bytes);
1377
- var msg = new proto.ondewo.nlu.UpdateContextRequest;
1378
- return proto.ondewo.nlu.UpdateContextRequest.deserializeBinaryFromReader(msg, reader);
1268
+ proto.ondewo.nlu.UpdateContextRequest.deserializeBinary = function (bytes) {
1269
+ var reader = new jspb.BinaryReader(bytes);
1270
+ var msg = new proto.ondewo.nlu.UpdateContextRequest();
1271
+ return proto.ondewo.nlu.UpdateContextRequest.deserializeBinaryFromReader(msg, reader);
1379
1272
  };
1380
1273
 
1381
-
1382
1274
  /**
1383
1275
  * Deserializes binary data (in protobuf wire format) from the
1384
1276
  * given reader into the given message object.
@@ -1386,43 +1278,41 @@ proto.ondewo.nlu.UpdateContextRequest.deserializeBinary = function(bytes) {
1386
1278
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1387
1279
  * @return {!proto.ondewo.nlu.UpdateContextRequest}
1388
1280
  */
1389
- proto.ondewo.nlu.UpdateContextRequest.deserializeBinaryFromReader = function(msg, reader) {
1390
- while (reader.nextField()) {
1391
- if (reader.isEndGroup()) {
1392
- break;
1393
- }
1394
- var field = reader.getFieldNumber();
1395
- switch (field) {
1396
- case 1:
1397
- var value = new proto.ondewo.nlu.Context;
1398
- reader.readMessage(value,proto.ondewo.nlu.Context.deserializeBinaryFromReader);
1399
- msg.setContext(value);
1400
- break;
1401
- case 2:
1402
- var value = new google_protobuf_field_mask_pb.FieldMask;
1403
- reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
1404
- msg.setUpdateMask(value);
1405
- break;
1406
- default:
1407
- reader.skipField();
1408
- break;
1409
- }
1410
- }
1411
- return msg;
1281
+ proto.ondewo.nlu.UpdateContextRequest.deserializeBinaryFromReader = function (msg, reader) {
1282
+ while (reader.nextField()) {
1283
+ if (reader.isEndGroup()) {
1284
+ break;
1285
+ }
1286
+ var field = reader.getFieldNumber();
1287
+ switch (field) {
1288
+ case 1:
1289
+ var value = new proto.ondewo.nlu.Context();
1290
+ reader.readMessage(value, proto.ondewo.nlu.Context.deserializeBinaryFromReader);
1291
+ msg.setContext(value);
1292
+ break;
1293
+ case 2:
1294
+ var value = new google_protobuf_field_mask_pb.FieldMask();
1295
+ reader.readMessage(value, google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
1296
+ msg.setUpdateMask(value);
1297
+ break;
1298
+ default:
1299
+ reader.skipField();
1300
+ break;
1301
+ }
1302
+ }
1303
+ return msg;
1412
1304
  };
1413
1305
 
1414
-
1415
1306
  /**
1416
1307
  * Serializes the message to binary data (in protobuf wire format).
1417
1308
  * @return {!Uint8Array}
1418
1309
  */
1419
- proto.ondewo.nlu.UpdateContextRequest.prototype.serializeBinary = function() {
1420
- var writer = new jspb.BinaryWriter();
1421
- proto.ondewo.nlu.UpdateContextRequest.serializeBinaryToWriter(this, writer);
1422
- return writer.getResultBuffer();
1310
+ proto.ondewo.nlu.UpdateContextRequest.prototype.serializeBinary = function () {
1311
+ var writer = new jspb.BinaryWriter();
1312
+ proto.ondewo.nlu.UpdateContextRequest.serializeBinaryToWriter(this, writer);
1313
+ return writer.getResultBuffer();
1423
1314
  };
1424
1315
 
1425
-
1426
1316
  /**
1427
1317
  * Serializes the given message to binary data (in protobuf wire
1428
1318
  * format), writing to the given BinaryWriter.
@@ -1430,156 +1320,134 @@ proto.ondewo.nlu.UpdateContextRequest.prototype.serializeBinary = function() {
1430
1320
  * @param {!jspb.BinaryWriter} writer
1431
1321
  * @suppress {unusedLocalVariables} f is only used for nested messages
1432
1322
  */
1433
- proto.ondewo.nlu.UpdateContextRequest.serializeBinaryToWriter = function(message, writer) {
1434
- var f = undefined;
1435
- f = message.getContext();
1436
- if (f != null) {
1437
- writer.writeMessage(
1438
- 1,
1439
- f,
1440
- proto.ondewo.nlu.Context.serializeBinaryToWriter
1441
- );
1442
- }
1443
- f = message.getUpdateMask();
1444
- if (f != null) {
1445
- writer.writeMessage(
1446
- 2,
1447
- f,
1448
- google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
1449
- );
1450
- }
1323
+ proto.ondewo.nlu.UpdateContextRequest.serializeBinaryToWriter = function (message, writer) {
1324
+ var f = undefined;
1325
+ f = message.getContext();
1326
+ if (f != null) {
1327
+ writer.writeMessage(1, f, proto.ondewo.nlu.Context.serializeBinaryToWriter);
1328
+ }
1329
+ f = message.getUpdateMask();
1330
+ if (f != null) {
1331
+ writer.writeMessage(2, f, google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter);
1332
+ }
1451
1333
  };
1452
1334
 
1453
-
1454
1335
  /**
1455
1336
  * optional Context context = 1;
1456
1337
  * @return {?proto.ondewo.nlu.Context}
1457
1338
  */
1458
- proto.ondewo.nlu.UpdateContextRequest.prototype.getContext = function() {
1459
- return /** @type{?proto.ondewo.nlu.Context} */ (
1460
- jspb.Message.getWrapperField(this, proto.ondewo.nlu.Context, 1));
1339
+ proto.ondewo.nlu.UpdateContextRequest.prototype.getContext = function () {
1340
+ return /** @type{?proto.ondewo.nlu.Context} */ (jspb.Message.getWrapperField(this, proto.ondewo.nlu.Context, 1));
1461
1341
  };
1462
1342
 
1463
-
1464
1343
  /**
1465
1344
  * @param {?proto.ondewo.nlu.Context|undefined} value
1466
1345
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1467
- */
1468
- proto.ondewo.nlu.UpdateContextRequest.prototype.setContext = function(value) {
1469
- return jspb.Message.setWrapperField(this, 1, value);
1346
+ */
1347
+ proto.ondewo.nlu.UpdateContextRequest.prototype.setContext = function (value) {
1348
+ return jspb.Message.setWrapperField(this, 1, value);
1470
1349
  };
1471
1350
 
1472
-
1473
1351
  /**
1474
1352
  * Clears the message field making it undefined.
1475
1353
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1476
1354
  */
1477
- proto.ondewo.nlu.UpdateContextRequest.prototype.clearContext = function() {
1478
- return this.setContext(undefined);
1355
+ proto.ondewo.nlu.UpdateContextRequest.prototype.clearContext = function () {
1356
+ return this.setContext(undefined);
1479
1357
  };
1480
1358
 
1481
-
1482
1359
  /**
1483
1360
  * Returns whether this field is set.
1484
1361
  * @return {boolean}
1485
1362
  */
1486
- proto.ondewo.nlu.UpdateContextRequest.prototype.hasContext = function() {
1487
- return jspb.Message.getField(this, 1) != null;
1363
+ proto.ondewo.nlu.UpdateContextRequest.prototype.hasContext = function () {
1364
+ return jspb.Message.getField(this, 1) != null;
1488
1365
  };
1489
1366
 
1490
-
1491
1367
  /**
1492
1368
  * optional google.protobuf.FieldMask update_mask = 2;
1493
1369
  * @return {?proto.google.protobuf.FieldMask}
1494
1370
  */
1495
- proto.ondewo.nlu.UpdateContextRequest.prototype.getUpdateMask = function() {
1496
- return /** @type{?proto.google.protobuf.FieldMask} */ (
1497
- jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
1371
+ proto.ondewo.nlu.UpdateContextRequest.prototype.getUpdateMask = function () {
1372
+ return /** @type{?proto.google.protobuf.FieldMask} */ (
1373
+ jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2)
1374
+ );
1498
1375
  };
1499
1376
 
1500
-
1501
1377
  /**
1502
1378
  * @param {?proto.google.protobuf.FieldMask|undefined} value
1503
1379
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1504
- */
1505
- proto.ondewo.nlu.UpdateContextRequest.prototype.setUpdateMask = function(value) {
1506
- return jspb.Message.setWrapperField(this, 2, value);
1380
+ */
1381
+ proto.ondewo.nlu.UpdateContextRequest.prototype.setUpdateMask = function (value) {
1382
+ return jspb.Message.setWrapperField(this, 2, value);
1507
1383
  };
1508
1384
 
1509
-
1510
1385
  /**
1511
1386
  * Clears the message field making it undefined.
1512
1387
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1513
1388
  */
1514
- proto.ondewo.nlu.UpdateContextRequest.prototype.clearUpdateMask = function() {
1515
- return this.setUpdateMask(undefined);
1389
+ proto.ondewo.nlu.UpdateContextRequest.prototype.clearUpdateMask = function () {
1390
+ return this.setUpdateMask(undefined);
1516
1391
  };
1517
1392
 
1518
-
1519
1393
  /**
1520
1394
  * Returns whether this field is set.
1521
1395
  * @return {boolean}
1522
1396
  */
1523
- proto.ondewo.nlu.UpdateContextRequest.prototype.hasUpdateMask = function() {
1524
- return jspb.Message.getField(this, 2) != null;
1397
+ proto.ondewo.nlu.UpdateContextRequest.prototype.hasUpdateMask = function () {
1398
+ return jspb.Message.getField(this, 2) != null;
1525
1399
  };
1526
1400
 
1527
-
1528
-
1529
-
1530
-
1531
1401
  if (jspb.Message.GENERATE_TO_OBJECT) {
1532
- /**
1533
- * Creates an object representation of this proto.
1534
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1535
- * Optional fields that are not set will be set to undefined.
1536
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1537
- * For the list of reserved names please see:
1538
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1539
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1540
- * JSPB instance for transitional soy proto support:
1541
- * http://goto/soy-param-migration
1542
- * @return {!Object}
1543
- */
1544
- proto.ondewo.nlu.DeleteContextRequest.prototype.toObject = function(opt_includeInstance) {
1545
- return proto.ondewo.nlu.DeleteContextRequest.toObject(opt_includeInstance, this);
1546
- };
1547
-
1548
-
1549
- /**
1550
- * Static version of the {@see toObject} method.
1551
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1552
- * the JSPB instance for transitional soy proto support:
1553
- * http://goto/soy-param-migration
1554
- * @param {!proto.ondewo.nlu.DeleteContextRequest} msg The msg instance to transform.
1555
- * @return {!Object}
1556
- * @suppress {unusedLocalVariables} f is only used for nested messages
1557
- */
1558
- proto.ondewo.nlu.DeleteContextRequest.toObject = function(includeInstance, msg) {
1559
- var f, obj = {
1560
- name: jspb.Message.getFieldWithDefault(msg, 1, "")
1561
- };
1562
-
1563
- if (includeInstance) {
1564
- obj.$jspbMessageInstance = msg;
1565
- }
1566
- return obj;
1567
- };
1402
+ /**
1403
+ * Creates an object representation of this proto.
1404
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1405
+ * Optional fields that are not set will be set to undefined.
1406
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1407
+ * For the list of reserved names please see:
1408
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1409
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1410
+ * JSPB instance for transitional soy proto support:
1411
+ * http://goto/soy-param-migration
1412
+ * @return {!Object}
1413
+ */
1414
+ proto.ondewo.nlu.DeleteContextRequest.prototype.toObject = function (opt_includeInstance) {
1415
+ return proto.ondewo.nlu.DeleteContextRequest.toObject(opt_includeInstance, this);
1416
+ };
1417
+
1418
+ /**
1419
+ * Static version of the {@see toObject} method.
1420
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1421
+ * the JSPB instance for transitional soy proto support:
1422
+ * http://goto/soy-param-migration
1423
+ * @param {!proto.ondewo.nlu.DeleteContextRequest} msg The msg instance to transform.
1424
+ * @return {!Object}
1425
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1426
+ */
1427
+ proto.ondewo.nlu.DeleteContextRequest.toObject = function (includeInstance, msg) {
1428
+ var f,
1429
+ obj = {
1430
+ name: jspb.Message.getFieldWithDefault(msg, 1, '')
1431
+ };
1432
+
1433
+ if (includeInstance) {
1434
+ obj.$jspbMessageInstance = msg;
1435
+ }
1436
+ return obj;
1437
+ };
1568
1438
  }
1569
1439
 
1570
-
1571
1440
  /**
1572
1441
  * Deserializes binary data (in protobuf wire format).
1573
1442
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1574
1443
  * @return {!proto.ondewo.nlu.DeleteContextRequest}
1575
1444
  */
1576
- proto.ondewo.nlu.DeleteContextRequest.deserializeBinary = function(bytes) {
1577
- var reader = new jspb.BinaryReader(bytes);
1578
- var msg = new proto.ondewo.nlu.DeleteContextRequest;
1579
- return proto.ondewo.nlu.DeleteContextRequest.deserializeBinaryFromReader(msg, reader);
1445
+ proto.ondewo.nlu.DeleteContextRequest.deserializeBinary = function (bytes) {
1446
+ var reader = new jspb.BinaryReader(bytes);
1447
+ var msg = new proto.ondewo.nlu.DeleteContextRequest();
1448
+ return proto.ondewo.nlu.DeleteContextRequest.deserializeBinaryFromReader(msg, reader);
1580
1449
  };
1581
1450
 
1582
-
1583
1451
  /**
1584
1452
  * Deserializes binary data (in protobuf wire format) from the
1585
1453
  * given reader into the given message object.
@@ -1587,37 +1455,35 @@ proto.ondewo.nlu.DeleteContextRequest.deserializeBinary = function(bytes) {
1587
1455
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1588
1456
  * @return {!proto.ondewo.nlu.DeleteContextRequest}
1589
1457
  */
1590
- proto.ondewo.nlu.DeleteContextRequest.deserializeBinaryFromReader = function(msg, reader) {
1591
- while (reader.nextField()) {
1592
- if (reader.isEndGroup()) {
1593
- break;
1594
- }
1595
- var field = reader.getFieldNumber();
1596
- switch (field) {
1597
- case 1:
1598
- var value = /** @type {string} */ (reader.readString());
1599
- msg.setName(value);
1600
- break;
1601
- default:
1602
- reader.skipField();
1603
- break;
1604
- }
1605
- }
1606
- return msg;
1458
+ proto.ondewo.nlu.DeleteContextRequest.deserializeBinaryFromReader = function (msg, reader) {
1459
+ while (reader.nextField()) {
1460
+ if (reader.isEndGroup()) {
1461
+ break;
1462
+ }
1463
+ var field = reader.getFieldNumber();
1464
+ switch (field) {
1465
+ case 1:
1466
+ var value = /** @type {string} */ (reader.readString());
1467
+ msg.setName(value);
1468
+ break;
1469
+ default:
1470
+ reader.skipField();
1471
+ break;
1472
+ }
1473
+ }
1474
+ return msg;
1607
1475
  };
1608
1476
 
1609
-
1610
1477
  /**
1611
1478
  * Serializes the message to binary data (in protobuf wire format).
1612
1479
  * @return {!Uint8Array}
1613
1480
  */
1614
- proto.ondewo.nlu.DeleteContextRequest.prototype.serializeBinary = function() {
1615
- var writer = new jspb.BinaryWriter();
1616
- proto.ondewo.nlu.DeleteContextRequest.serializeBinaryToWriter(this, writer);
1617
- return writer.getResultBuffer();
1481
+ proto.ondewo.nlu.DeleteContextRequest.prototype.serializeBinary = function () {
1482
+ var writer = new jspb.BinaryWriter();
1483
+ proto.ondewo.nlu.DeleteContextRequest.serializeBinaryToWriter(this, writer);
1484
+ return writer.getResultBuffer();
1618
1485
  };
1619
1486
 
1620
-
1621
1487
  /**
1622
1488
  * Serializes the given message to binary data (in protobuf wire
1623
1489
  * format), writing to the given BinaryWriter.
@@ -1625,91 +1491,80 @@ proto.ondewo.nlu.DeleteContextRequest.prototype.serializeBinary = function() {
1625
1491
  * @param {!jspb.BinaryWriter} writer
1626
1492
  * @suppress {unusedLocalVariables} f is only used for nested messages
1627
1493
  */
1628
- proto.ondewo.nlu.DeleteContextRequest.serializeBinaryToWriter = function(message, writer) {
1629
- var f = undefined;
1630
- f = message.getName();
1631
- if (f.length > 0) {
1632
- writer.writeString(
1633
- 1,
1634
- f
1635
- );
1636
- }
1494
+ proto.ondewo.nlu.DeleteContextRequest.serializeBinaryToWriter = function (message, writer) {
1495
+ var f = undefined;
1496
+ f = message.getName();
1497
+ if (f.length > 0) {
1498
+ writer.writeString(1, f);
1499
+ }
1637
1500
  };
1638
1501
 
1639
-
1640
1502
  /**
1641
1503
  * optional string name = 1;
1642
1504
  * @return {string}
1643
1505
  */
1644
- proto.ondewo.nlu.DeleteContextRequest.prototype.getName = function() {
1645
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1506
+ proto.ondewo.nlu.DeleteContextRequest.prototype.getName = function () {
1507
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1646
1508
  };
1647
1509
 
1648
-
1649
1510
  /**
1650
1511
  * @param {string} value
1651
1512
  * @return {!proto.ondewo.nlu.DeleteContextRequest} returns this
1652
1513
  */
1653
- proto.ondewo.nlu.DeleteContextRequest.prototype.setName = function(value) {
1654
- return jspb.Message.setProto3StringField(this, 1, value);
1514
+ proto.ondewo.nlu.DeleteContextRequest.prototype.setName = function (value) {
1515
+ return jspb.Message.setProto3StringField(this, 1, value);
1655
1516
  };
1656
1517
 
1657
-
1658
-
1659
-
1660
-
1661
1518
  if (jspb.Message.GENERATE_TO_OBJECT) {
1662
- /**
1663
- * Creates an object representation of this proto.
1664
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1665
- * Optional fields that are not set will be set to undefined.
1666
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1667
- * For the list of reserved names please see:
1668
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1669
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1670
- * JSPB instance for transitional soy proto support:
1671
- * http://goto/soy-param-migration
1672
- * @return {!Object}
1673
- */
1674
- proto.ondewo.nlu.DeleteAllContextsRequest.prototype.toObject = function(opt_includeInstance) {
1675
- return proto.ondewo.nlu.DeleteAllContextsRequest.toObject(opt_includeInstance, this);
1676
- };
1677
-
1678
-
1679
- /**
1680
- * Static version of the {@see toObject} method.
1681
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1682
- * the JSPB instance for transitional soy proto support:
1683
- * http://goto/soy-param-migration
1684
- * @param {!proto.ondewo.nlu.DeleteAllContextsRequest} msg The msg instance to transform.
1685
- * @return {!Object}
1686
- * @suppress {unusedLocalVariables} f is only used for nested messages
1687
- */
1688
- proto.ondewo.nlu.DeleteAllContextsRequest.toObject = function(includeInstance, msg) {
1689
- var f, obj = {
1690
- parent: jspb.Message.getFieldWithDefault(msg, 1, "")
1691
- };
1692
-
1693
- if (includeInstance) {
1694
- obj.$jspbMessageInstance = msg;
1695
- }
1696
- return obj;
1697
- };
1519
+ /**
1520
+ * Creates an object representation of this proto.
1521
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1522
+ * Optional fields that are not set will be set to undefined.
1523
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1524
+ * For the list of reserved names please see:
1525
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1526
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1527
+ * JSPB instance for transitional soy proto support:
1528
+ * http://goto/soy-param-migration
1529
+ * @return {!Object}
1530
+ */
1531
+ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.toObject = function (opt_includeInstance) {
1532
+ return proto.ondewo.nlu.DeleteAllContextsRequest.toObject(opt_includeInstance, this);
1533
+ };
1534
+
1535
+ /**
1536
+ * Static version of the {@see toObject} method.
1537
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1538
+ * the JSPB instance for transitional soy proto support:
1539
+ * http://goto/soy-param-migration
1540
+ * @param {!proto.ondewo.nlu.DeleteAllContextsRequest} msg The msg instance to transform.
1541
+ * @return {!Object}
1542
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1543
+ */
1544
+ proto.ondewo.nlu.DeleteAllContextsRequest.toObject = function (includeInstance, msg) {
1545
+ var f,
1546
+ obj = {
1547
+ sessionId: jspb.Message.getFieldWithDefault(msg, 1, '')
1548
+ };
1549
+
1550
+ if (includeInstance) {
1551
+ obj.$jspbMessageInstance = msg;
1552
+ }
1553
+ return obj;
1554
+ };
1698
1555
  }
1699
1556
 
1700
-
1701
1557
  /**
1702
1558
  * Deserializes binary data (in protobuf wire format).
1703
1559
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1704
1560
  * @return {!proto.ondewo.nlu.DeleteAllContextsRequest}
1705
1561
  */
1706
- proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinary = function(bytes) {
1707
- var reader = new jspb.BinaryReader(bytes);
1708
- var msg = new proto.ondewo.nlu.DeleteAllContextsRequest;
1709
- return proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinaryFromReader(msg, reader);
1562
+ proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinary = function (bytes) {
1563
+ var reader = new jspb.BinaryReader(bytes);
1564
+ var msg = new proto.ondewo.nlu.DeleteAllContextsRequest();
1565
+ return proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinaryFromReader(msg, reader);
1710
1566
  };
1711
1567
 
1712
-
1713
1568
  /**
1714
1569
  * Deserializes binary data (in protobuf wire format) from the
1715
1570
  * given reader into the given message object.
@@ -1717,37 +1572,35 @@ proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinary = function(bytes) {
1717
1572
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1718
1573
  * @return {!proto.ondewo.nlu.DeleteAllContextsRequest}
1719
1574
  */
1720
- proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinaryFromReader = function(msg, reader) {
1721
- while (reader.nextField()) {
1722
- if (reader.isEndGroup()) {
1723
- break;
1724
- }
1725
- var field = reader.getFieldNumber();
1726
- switch (field) {
1727
- case 1:
1728
- var value = /** @type {string} */ (reader.readString());
1729
- msg.setParent(value);
1730
- break;
1731
- default:
1732
- reader.skipField();
1733
- break;
1734
- }
1735
- }
1736
- return msg;
1575
+ proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinaryFromReader = function (msg, reader) {
1576
+ while (reader.nextField()) {
1577
+ if (reader.isEndGroup()) {
1578
+ break;
1579
+ }
1580
+ var field = reader.getFieldNumber();
1581
+ switch (field) {
1582
+ case 1:
1583
+ var value = /** @type {string} */ (reader.readString());
1584
+ msg.setSessionId(value);
1585
+ break;
1586
+ default:
1587
+ reader.skipField();
1588
+ break;
1589
+ }
1590
+ }
1591
+ return msg;
1737
1592
  };
1738
1593
 
1739
-
1740
1594
  /**
1741
1595
  * Serializes the message to binary data (in protobuf wire format).
1742
1596
  * @return {!Uint8Array}
1743
1597
  */
1744
- proto.ondewo.nlu.DeleteAllContextsRequest.prototype.serializeBinary = function() {
1745
- var writer = new jspb.BinaryWriter();
1746
- proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter(this, writer);
1747
- return writer.getResultBuffer();
1598
+ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.serializeBinary = function () {
1599
+ var writer = new jspb.BinaryWriter();
1600
+ proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter(this, writer);
1601
+ return writer.getResultBuffer();
1748
1602
  };
1749
1603
 
1750
-
1751
1604
  /**
1752
1605
  * Serializes the given message to binary data (in protobuf wire
1753
1606
  * format), writing to the given BinaryWriter.
@@ -1755,34 +1608,28 @@ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.serializeBinary = function()
1755
1608
  * @param {!jspb.BinaryWriter} writer
1756
1609
  * @suppress {unusedLocalVariables} f is only used for nested messages
1757
1610
  */
1758
- proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter = function(message, writer) {
1759
- var f = undefined;
1760
- f = message.getParent();
1761
- if (f.length > 0) {
1762
- writer.writeString(
1763
- 1,
1764
- f
1765
- );
1766
- }
1611
+ proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter = function (message, writer) {
1612
+ var f = undefined;
1613
+ f = message.getSessionId();
1614
+ if (f.length > 0) {
1615
+ writer.writeString(1, f);
1616
+ }
1767
1617
  };
1768
1618
 
1769
-
1770
1619
  /**
1771
- * optional string parent = 1;
1620
+ * optional string session_id = 1;
1772
1621
  * @return {string}
1773
1622
  */
1774
- proto.ondewo.nlu.DeleteAllContextsRequest.prototype.getParent = function() {
1775
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1623
+ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.getSessionId = function () {
1624
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1776
1625
  };
1777
1626
 
1778
-
1779
1627
  /**
1780
1628
  * @param {string} value
1781
1629
  * @return {!proto.ondewo.nlu.DeleteAllContextsRequest} returns this
1782
1630
  */
1783
- proto.ondewo.nlu.DeleteAllContextsRequest.prototype.setParent = function(value) {
1784
- return jspb.Message.setProto3StringField(this, 1, value);
1631
+ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.setSessionId = function (value) {
1632
+ return jspb.Message.setProto3StringField(this, 1, value);
1785
1633
  };
1786
1634
 
1787
-
1788
1635
  goog.object.extend(exports, proto.ondewo.nlu);