@ondewo/nlu-client-typescript 4.1.0 → 4.3.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 +490 -450
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
  3. package/api/ondewo/nlu/agent_pb.d.ts +1758 -1939
  4. package/api/ondewo/nlu/agent_pb.js +10491 -9063
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
  8. package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
  9. package/api/ondewo/nlu/common_pb.d.ts +17 -15
  10. package/api/ondewo/nlu/common_pb.js +93 -83
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +1042 -889
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
  18. package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
  21. package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
  22. package/api/ondewo/nlu/intent_pb.js +10692 -9502
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +98 -86
  24. package/api/ondewo/nlu/operation_metadata_pb.js +492 -322
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
  27. package/api/ondewo/nlu/operations_pb.d.ts +182 -189
  28. package/api/ondewo/nlu/operations_pb.js +1004 -843
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
  31. package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
  32. package/api/ondewo/nlu/project_role_pb.js +963 -796
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
  36. package/api/ondewo/nlu/project_statistics_pb.js +418 -354
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
  40. package/api/ondewo/nlu/server_statistics_pb.js +91 -81
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
  43. package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
  44. package/api/ondewo/nlu/session_pb.js +13885 -6673
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
  47. package/api/ondewo/nlu/user_pb.d.ts +325 -345
  48. package/api/ondewo/nlu/user_pb.js +2312 -1948
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
  51. package/api/ondewo/nlu/utility_pb.d.ts +535 -588
  52. package/api/ondewo/nlu/utility_pb.js +3348 -2814
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
  55. package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
  56. package/api/ondewo/nlu/webhook_pb.js +718 -599
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
  59. package/api/ondewo/qa/qa_pb.d.ts +220 -235
  60. package/api/ondewo/qa/qa_pb.js +1452 -1222
  61. package/package.json +1 -1
  62. package/public-api.d.ts +34 -4
@@ -13,9 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = function () {
17
- return this || window || global || self || Function('return this')();
18
- }.call(null);
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
19
17
 
20
18
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
21
19
  goog.object.extend(proto, google_api_annotations_pb);
@@ -42,16 +40,16 @@ goog.exportSymbol('proto.ondewo.nlu.UpdateContextRequest', null, global);
42
40
  * @extends {jspb.Message}
43
41
  * @constructor
44
42
  */
45
- proto.ondewo.nlu.Context = function (opt_data) {
46
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
43
+ proto.ondewo.nlu.Context = function(opt_data) {
44
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
47
45
  };
48
46
  goog.inherits(proto.ondewo.nlu.Context, jspb.Message);
49
47
  if (goog.DEBUG && !COMPILED) {
50
- /**
51
- * @public
52
- * @override
53
- */
54
- proto.ondewo.nlu.Context.displayName = 'proto.ondewo.nlu.Context';
48
+ /**
49
+ * @public
50
+ * @override
51
+ */
52
+ proto.ondewo.nlu.Context.displayName = 'proto.ondewo.nlu.Context';
55
53
  }
56
54
  /**
57
55
  * Generated by JsPbCodeGenerator.
@@ -63,16 +61,16 @@ if (goog.DEBUG && !COMPILED) {
63
61
  * @extends {jspb.Message}
64
62
  * @constructor
65
63
  */
66
- proto.ondewo.nlu.Context.Parameter = function (opt_data) {
67
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
64
+ proto.ondewo.nlu.Context.Parameter = function(opt_data) {
65
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
68
66
  };
69
67
  goog.inherits(proto.ondewo.nlu.Context.Parameter, jspb.Message);
70
68
  if (goog.DEBUG && !COMPILED) {
71
- /**
72
- * @public
73
- * @override
74
- */
75
- proto.ondewo.nlu.Context.Parameter.displayName = 'proto.ondewo.nlu.Context.Parameter';
69
+ /**
70
+ * @public
71
+ * @override
72
+ */
73
+ proto.ondewo.nlu.Context.Parameter.displayName = 'proto.ondewo.nlu.Context.Parameter';
76
74
  }
77
75
  /**
78
76
  * Generated by JsPbCodeGenerator.
@@ -84,16 +82,16 @@ if (goog.DEBUG && !COMPILED) {
84
82
  * @extends {jspb.Message}
85
83
  * @constructor
86
84
  */
87
- proto.ondewo.nlu.ListContextsRequest = function (opt_data) {
88
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
85
+ proto.ondewo.nlu.ListContextsRequest = function(opt_data) {
86
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
89
87
  };
90
88
  goog.inherits(proto.ondewo.nlu.ListContextsRequest, jspb.Message);
91
89
  if (goog.DEBUG && !COMPILED) {
92
- /**
93
- * @public
94
- * @override
95
- */
96
- proto.ondewo.nlu.ListContextsRequest.displayName = 'proto.ondewo.nlu.ListContextsRequest';
90
+ /**
91
+ * @public
92
+ * @override
93
+ */
94
+ proto.ondewo.nlu.ListContextsRequest.displayName = 'proto.ondewo.nlu.ListContextsRequest';
97
95
  }
98
96
  /**
99
97
  * Generated by JsPbCodeGenerator.
@@ -105,16 +103,16 @@ if (goog.DEBUG && !COMPILED) {
105
103
  * @extends {jspb.Message}
106
104
  * @constructor
107
105
  */
108
- proto.ondewo.nlu.ListContextsResponse = function (opt_data) {
109
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListContextsResponse.repeatedFields_, null);
106
+ proto.ondewo.nlu.ListContextsResponse = function(opt_data) {
107
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListContextsResponse.repeatedFields_, null);
110
108
  };
111
109
  goog.inherits(proto.ondewo.nlu.ListContextsResponse, jspb.Message);
112
110
  if (goog.DEBUG && !COMPILED) {
113
- /**
114
- * @public
115
- * @override
116
- */
117
- proto.ondewo.nlu.ListContextsResponse.displayName = 'proto.ondewo.nlu.ListContextsResponse';
111
+ /**
112
+ * @public
113
+ * @override
114
+ */
115
+ proto.ondewo.nlu.ListContextsResponse.displayName = 'proto.ondewo.nlu.ListContextsResponse';
118
116
  }
119
117
  /**
120
118
  * Generated by JsPbCodeGenerator.
@@ -126,16 +124,16 @@ if (goog.DEBUG && !COMPILED) {
126
124
  * @extends {jspb.Message}
127
125
  * @constructor
128
126
  */
129
- proto.ondewo.nlu.GetContextRequest = function (opt_data) {
130
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
127
+ proto.ondewo.nlu.GetContextRequest = function(opt_data) {
128
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
131
129
  };
132
130
  goog.inherits(proto.ondewo.nlu.GetContextRequest, jspb.Message);
133
131
  if (goog.DEBUG && !COMPILED) {
134
- /**
135
- * @public
136
- * @override
137
- */
138
- proto.ondewo.nlu.GetContextRequest.displayName = 'proto.ondewo.nlu.GetContextRequest';
132
+ /**
133
+ * @public
134
+ * @override
135
+ */
136
+ proto.ondewo.nlu.GetContextRequest.displayName = 'proto.ondewo.nlu.GetContextRequest';
139
137
  }
140
138
  /**
141
139
  * Generated by JsPbCodeGenerator.
@@ -147,16 +145,16 @@ if (goog.DEBUG && !COMPILED) {
147
145
  * @extends {jspb.Message}
148
146
  * @constructor
149
147
  */
150
- proto.ondewo.nlu.CreateContextRequest = function (opt_data) {
151
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
148
+ proto.ondewo.nlu.CreateContextRequest = function(opt_data) {
149
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
152
150
  };
153
151
  goog.inherits(proto.ondewo.nlu.CreateContextRequest, jspb.Message);
154
152
  if (goog.DEBUG && !COMPILED) {
155
- /**
156
- * @public
157
- * @override
158
- */
159
- proto.ondewo.nlu.CreateContextRequest.displayName = 'proto.ondewo.nlu.CreateContextRequest';
153
+ /**
154
+ * @public
155
+ * @override
156
+ */
157
+ proto.ondewo.nlu.CreateContextRequest.displayName = 'proto.ondewo.nlu.CreateContextRequest';
160
158
  }
161
159
  /**
162
160
  * Generated by JsPbCodeGenerator.
@@ -168,16 +166,16 @@ if (goog.DEBUG && !COMPILED) {
168
166
  * @extends {jspb.Message}
169
167
  * @constructor
170
168
  */
171
- proto.ondewo.nlu.UpdateContextRequest = function (opt_data) {
172
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
169
+ proto.ondewo.nlu.UpdateContextRequest = function(opt_data) {
170
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
173
171
  };
174
172
  goog.inherits(proto.ondewo.nlu.UpdateContextRequest, jspb.Message);
175
173
  if (goog.DEBUG && !COMPILED) {
176
- /**
177
- * @public
178
- * @override
179
- */
180
- proto.ondewo.nlu.UpdateContextRequest.displayName = 'proto.ondewo.nlu.UpdateContextRequest';
174
+ /**
175
+ * @public
176
+ * @override
177
+ */
178
+ proto.ondewo.nlu.UpdateContextRequest.displayName = 'proto.ondewo.nlu.UpdateContextRequest';
181
179
  }
182
180
  /**
183
181
  * Generated by JsPbCodeGenerator.
@@ -189,16 +187,16 @@ if (goog.DEBUG && !COMPILED) {
189
187
  * @extends {jspb.Message}
190
188
  * @constructor
191
189
  */
192
- proto.ondewo.nlu.DeleteContextRequest = function (opt_data) {
193
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
190
+ proto.ondewo.nlu.DeleteContextRequest = function(opt_data) {
191
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
194
192
  };
195
193
  goog.inherits(proto.ondewo.nlu.DeleteContextRequest, jspb.Message);
196
194
  if (goog.DEBUG && !COMPILED) {
197
- /**
198
- * @public
199
- * @override
200
- */
201
- proto.ondewo.nlu.DeleteContextRequest.displayName = 'proto.ondewo.nlu.DeleteContextRequest';
195
+ /**
196
+ * @public
197
+ * @override
198
+ */
199
+ proto.ondewo.nlu.DeleteContextRequest.displayName = 'proto.ondewo.nlu.DeleteContextRequest';
202
200
  }
203
201
  /**
204
202
  * Generated by JsPbCodeGenerator.
@@ -210,73 +208,75 @@ if (goog.DEBUG && !COMPILED) {
210
208
  * @extends {jspb.Message}
211
209
  * @constructor
212
210
  */
213
- proto.ondewo.nlu.DeleteAllContextsRequest = function (opt_data) {
214
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
211
+ proto.ondewo.nlu.DeleteAllContextsRequest = function(opt_data) {
212
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
215
213
  };
216
214
  goog.inherits(proto.ondewo.nlu.DeleteAllContextsRequest, jspb.Message);
217
215
  if (goog.DEBUG && !COMPILED) {
218
- /**
219
- * @public
220
- * @override
221
- */
222
- proto.ondewo.nlu.DeleteAllContextsRequest.displayName = 'proto.ondewo.nlu.DeleteAllContextsRequest';
216
+ /**
217
+ * @public
218
+ * @override
219
+ */
220
+ proto.ondewo.nlu.DeleteAllContextsRequest.displayName = 'proto.ondewo.nlu.DeleteAllContextsRequest';
223
221
  }
224
222
 
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
- * 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
- };
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
+ };
267
265
  }
268
266
 
267
+
269
268
  /**
270
269
  * Deserializes binary data (in protobuf wire format).
271
270
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
272
271
  * @return {!proto.ondewo.nlu.Context}
273
272
  */
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);
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);
278
277
  };
279
278
 
279
+
280
280
  /**
281
281
  * Deserializes binary data (in protobuf wire format) from the
282
282
  * given reader into the given message object.
@@ -284,57 +284,51 @@ 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(
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;
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;
326
318
  };
327
319
 
320
+
328
321
  /**
329
322
  * Serializes the message to binary data (in protobuf wire format).
330
323
  * @return {!Uint8Array}
331
324
  */
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();
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();
336
329
  };
337
330
 
331
+
338
332
  /**
339
333
  * Serializes the given message to binary data (in protobuf wire
340
334
  * format), writing to the given BinaryWriter.
@@ -342,85 +336,94 @@ proto.ondewo.nlu.Context.prototype.serializeBinary = function () {
342
336
  * @param {!jspb.BinaryWriter} writer
343
337
  * @suppress {unusedLocalVariables} f is only used for nested messages
344
338
  */
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
- }
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
+ }
369
366
  };
370
367
 
368
+
369
+
370
+
371
+
371
372
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
411
412
  }
412
413
 
414
+
413
415
  /**
414
416
  * Deserializes binary data (in protobuf wire format).
415
417
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
416
418
  * @return {!proto.ondewo.nlu.Context.Parameter}
417
419
  */
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);
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);
422
424
  };
423
425
 
426
+
424
427
  /**
425
428
  * Deserializes binary data (in protobuf wire format) from the
426
429
  * given reader into the given message object.
@@ -428,47 +431,49 @@ proto.ondewo.nlu.Context.Parameter.deserializeBinary = function (bytes) {
428
431
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
429
432
  * @return {!proto.ondewo.nlu.Context.Parameter}
430
433
  */
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;
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;
460
463
  };
461
464
 
465
+
462
466
  /**
463
467
  * Serializes the message to binary data (in protobuf wire format).
464
468
  * @return {!Uint8Array}
465
469
  */
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();
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();
470
474
  };
471
475
 
476
+
472
477
  /**
473
478
  * Serializes the given message to binary data (in protobuf wire
474
479
  * format), writing to the given BinaryWriter.
@@ -476,210 +481,243 @@ proto.ondewo.nlu.Context.Parameter.prototype.serializeBinary = function () {
476
481
  * @param {!jspb.BinaryWriter} writer
477
482
  * @suppress {unusedLocalVariables} f is only used for nested messages
478
483
  */
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
- }
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
+ }
497
514
  };
498
515
 
516
+
499
517
  /**
500
518
  * optional string name = 1;
501
519
  * @return {string}
502
520
  */
503
- proto.ondewo.nlu.Context.Parameter.prototype.getName = function () {
504
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
521
+ proto.ondewo.nlu.Context.Parameter.prototype.getName = function() {
522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
505
523
  };
506
524
 
525
+
507
526
  /**
508
527
  * @param {string} value
509
528
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
510
529
  */
511
- proto.ondewo.nlu.Context.Parameter.prototype.setName = function (value) {
512
- return jspb.Message.setProto3StringField(this, 1, value);
530
+ proto.ondewo.nlu.Context.Parameter.prototype.setName = function(value) {
531
+ return jspb.Message.setProto3StringField(this, 1, value);
513
532
  };
514
533
 
534
+
515
535
  /**
516
536
  * optional string display_name = 2;
517
537
  * @return {string}
518
538
  */
519
- proto.ondewo.nlu.Context.Parameter.prototype.getDisplayName = function () {
520
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
539
+ proto.ondewo.nlu.Context.Parameter.prototype.getDisplayName = function() {
540
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
521
541
  };
522
542
 
543
+
523
544
  /**
524
545
  * @param {string} value
525
546
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
526
547
  */
527
- proto.ondewo.nlu.Context.Parameter.prototype.setDisplayName = function (value) {
528
- return jspb.Message.setProto3StringField(this, 2, value);
548
+ proto.ondewo.nlu.Context.Parameter.prototype.setDisplayName = function(value) {
549
+ return jspb.Message.setProto3StringField(this, 2, value);
529
550
  };
530
551
 
552
+
531
553
  /**
532
554
  * optional string value = 3;
533
555
  * @return {string}
534
556
  */
535
- proto.ondewo.nlu.Context.Parameter.prototype.getValue = function () {
536
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
557
+ proto.ondewo.nlu.Context.Parameter.prototype.getValue = function() {
558
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
537
559
  };
538
560
 
561
+
539
562
  /**
540
563
  * @param {string} value
541
564
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
542
565
  */
543
- proto.ondewo.nlu.Context.Parameter.prototype.setValue = function (value) {
544
- return jspb.Message.setProto3StringField(this, 3, value);
566
+ proto.ondewo.nlu.Context.Parameter.prototype.setValue = function(value) {
567
+ return jspb.Message.setProto3StringField(this, 3, value);
545
568
  };
546
569
 
570
+
547
571
  /**
548
572
  * optional string value_original = 4;
549
573
  * @return {string}
550
574
  */
551
- proto.ondewo.nlu.Context.Parameter.prototype.getValueOriginal = function () {
552
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ''));
575
+ proto.ondewo.nlu.Context.Parameter.prototype.getValueOriginal = function() {
576
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
553
577
  };
554
578
 
579
+
555
580
  /**
556
581
  * @param {string} value
557
582
  * @return {!proto.ondewo.nlu.Context.Parameter} returns this
558
583
  */
559
- proto.ondewo.nlu.Context.Parameter.prototype.setValueOriginal = function (value) {
560
- return jspb.Message.setProto3StringField(this, 4, value);
584
+ proto.ondewo.nlu.Context.Parameter.prototype.setValueOriginal = function(value) {
585
+ return jspb.Message.setProto3StringField(this, 4, value);
561
586
  };
562
587
 
588
+
563
589
  /**
564
590
  * optional string name = 1;
565
591
  * @return {string}
566
592
  */
567
- proto.ondewo.nlu.Context.prototype.getName = function () {
568
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
593
+ proto.ondewo.nlu.Context.prototype.getName = function() {
594
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
569
595
  };
570
596
 
597
+
571
598
  /**
572
599
  * @param {string} value
573
600
  * @return {!proto.ondewo.nlu.Context} returns this
574
601
  */
575
- proto.ondewo.nlu.Context.prototype.setName = function (value) {
576
- return jspb.Message.setProto3StringField(this, 1, value);
602
+ proto.ondewo.nlu.Context.prototype.setName = function(value) {
603
+ return jspb.Message.setProto3StringField(this, 1, value);
577
604
  };
578
605
 
606
+
579
607
  /**
580
608
  * optional int32 lifespan_count = 2;
581
609
  * @return {number}
582
610
  */
583
- proto.ondewo.nlu.Context.prototype.getLifespanCount = function () {
584
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
611
+ proto.ondewo.nlu.Context.prototype.getLifespanCount = function() {
612
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
585
613
  };
586
614
 
615
+
587
616
  /**
588
617
  * @param {number} value
589
618
  * @return {!proto.ondewo.nlu.Context} returns this
590
619
  */
591
- proto.ondewo.nlu.Context.prototype.setLifespanCount = function (value) {
592
- return jspb.Message.setProto3IntField(this, 2, value);
620
+ proto.ondewo.nlu.Context.prototype.setLifespanCount = function(value) {
621
+ return jspb.Message.setProto3IntField(this, 2, value);
593
622
  };
594
623
 
624
+
595
625
  /**
596
626
  * map<string, Parameter> parameters = 3;
597
627
  * @param {boolean=} opt_noLazyCreate Do not create the map if
598
628
  * empty, instead returning `undefined`
599
629
  * @return {!jspb.Map<string,!proto.ondewo.nlu.Context.Parameter>}
600
630
  */
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
- );
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));
605
635
  };
606
636
 
637
+
607
638
  /**
608
639
  * Clears values from the map. The map will be non-null.
609
640
  * @return {!proto.ondewo.nlu.Context} returns this
610
641
  */
611
- proto.ondewo.nlu.Context.prototype.clearParametersMap = function () {
612
- this.getParametersMap().clear();
613
- return this;
614
- };
642
+ proto.ondewo.nlu.Context.prototype.clearParametersMap = function() {
643
+ this.getParametersMap().clear();
644
+ return this;};
645
+
615
646
 
616
647
  /**
617
648
  * optional float lifespan_time = 4;
618
649
  * @return {number}
619
650
  */
620
- proto.ondewo.nlu.Context.prototype.getLifespanTime = function () {
621
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
651
+ proto.ondewo.nlu.Context.prototype.getLifespanTime = function() {
652
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
622
653
  };
623
654
 
655
+
624
656
  /**
625
657
  * @param {number} value
626
658
  * @return {!proto.ondewo.nlu.Context} returns this
627
659
  */
628
- proto.ondewo.nlu.Context.prototype.setLifespanTime = function (value) {
629
- return jspb.Message.setProto3FloatField(this, 4, value);
660
+ proto.ondewo.nlu.Context.prototype.setLifespanTime = function(value) {
661
+ return jspb.Message.setProto3FloatField(this, 4, value);
630
662
  };
631
663
 
664
+
665
+
666
+
667
+
632
668
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ sessionId: 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
+ };
670
706
  }
671
707
 
708
+
672
709
  /**
673
710
  * Deserializes binary data (in protobuf wire format).
674
711
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
675
712
  * @return {!proto.ondewo.nlu.ListContextsRequest}
676
713
  */
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);
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);
681
718
  };
682
719
 
720
+
683
721
  /**
684
722
  * Deserializes binary data (in protobuf wire format) from the
685
723
  * given reader into the given message object.
@@ -687,39 +725,41 @@ proto.ondewo.nlu.ListContextsRequest.deserializeBinary = function (bytes) {
687
725
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
688
726
  * @return {!proto.ondewo.nlu.ListContextsRequest}
689
727
  */
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;
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.setSessionId(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;
711
749
  };
712
750
 
751
+
713
752
  /**
714
753
  * Serializes the message to binary data (in protobuf wire format).
715
754
  * @return {!Uint8Array}
716
755
  */
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();
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();
721
760
  };
722
761
 
762
+
723
763
  /**
724
764
  * Serializes the given message to binary data (in protobuf wire
725
765
  * format), writing to the given BinaryWriter.
@@ -727,50 +767,62 @@ proto.ondewo.nlu.ListContextsRequest.prototype.serializeBinary = function () {
727
767
  * @param {!jspb.BinaryWriter} writer
728
768
  * @suppress {unusedLocalVariables} f is only used for nested messages
729
769
  */
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
- }
770
+ proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter = function(message, writer) {
771
+ var f = undefined;
772
+ f = message.getSessionId();
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
+ }
740
786
  };
741
787
 
788
+
742
789
  /**
743
790
  * optional string session_id = 1;
744
791
  * @return {string}
745
792
  */
746
- proto.ondewo.nlu.ListContextsRequest.prototype.getSessionId = function () {
747
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
793
+ proto.ondewo.nlu.ListContextsRequest.prototype.getSessionId = function() {
794
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
748
795
  };
749
796
 
797
+
750
798
  /**
751
799
  * @param {string} value
752
800
  * @return {!proto.ondewo.nlu.ListContextsRequest} returns this
753
801
  */
754
- proto.ondewo.nlu.ListContextsRequest.prototype.setSessionId = function (value) {
755
- return jspb.Message.setProto3StringField(this, 1, value);
802
+ proto.ondewo.nlu.ListContextsRequest.prototype.setSessionId = function(value) {
803
+ return jspb.Message.setProto3StringField(this, 1, value);
756
804
  };
757
805
 
806
+
758
807
  /**
759
808
  * optional string page_token = 3;
760
809
  * @return {string}
761
810
  */
762
- proto.ondewo.nlu.ListContextsRequest.prototype.getPageToken = function () {
763
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
811
+ proto.ondewo.nlu.ListContextsRequest.prototype.getPageToken = function() {
812
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
764
813
  };
765
814
 
815
+
766
816
  /**
767
817
  * @param {string} value
768
818
  * @return {!proto.ondewo.nlu.ListContextsRequest} returns this
769
819
  */
770
- proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken = function (value) {
771
- return jspb.Message.setProto3StringField(this, 3, value);
820
+ proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken = function(value) {
821
+ return jspb.Message.setProto3StringField(this, 3, value);
772
822
  };
773
823
 
824
+
825
+
774
826
  /**
775
827
  * List of repeated fields within this message type.
776
828
  * @private {!Array<number>}
@@ -778,61 +830,62 @@ proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken = function (value) {
778
830
  */
779
831
  proto.ondewo.nlu.ListContextsResponse.repeatedFields_ = [1];
780
832
 
833
+
834
+
781
835
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
823
874
  }
824
875
 
876
+
825
877
  /**
826
878
  * Deserializes binary data (in protobuf wire format).
827
879
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
828
880
  * @return {!proto.ondewo.nlu.ListContextsResponse}
829
881
  */
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);
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);
834
886
  };
835
887
 
888
+
836
889
  /**
837
890
  * Deserializes binary data (in protobuf wire format) from the
838
891
  * given reader into the given message object.
@@ -840,40 +893,42 @@ proto.ondewo.nlu.ListContextsResponse.deserializeBinary = function (bytes) {
840
893
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
841
894
  * @return {!proto.ondewo.nlu.ListContextsResponse}
842
895
  */
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;
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;
865
918
  };
866
919
 
920
+
867
921
  /**
868
922
  * Serializes the message to binary data (in protobuf wire format).
869
923
  * @return {!Uint8Array}
870
924
  */
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();
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();
875
929
  };
876
930
 
931
+
877
932
  /**
878
933
  * Serializes the given message to binary data (in protobuf wire
879
934
  * format), writing to the given BinaryWriter.
@@ -881,119 +936,137 @@ proto.ondewo.nlu.ListContextsResponse.prototype.serializeBinary = function () {
881
936
  * @param {!jspb.BinaryWriter} writer
882
937
  * @suppress {unusedLocalVariables} f is only used for nested messages
883
938
  */
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
- }
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
+ }
894
956
  };
895
957
 
958
+
896
959
  /**
897
960
  * repeated Context contexts = 1;
898
961
  * @return {!Array<!proto.ondewo.nlu.Context>}
899
962
  */
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
- );
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));
904
966
  };
905
967
 
968
+
906
969
  /**
907
970
  * @param {!Array<!proto.ondewo.nlu.Context>} value
908
971
  * @return {!proto.ondewo.nlu.ListContextsResponse} returns this
909
- */
910
- proto.ondewo.nlu.ListContextsResponse.prototype.setContextsList = function (value) {
911
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
972
+ */
973
+ proto.ondewo.nlu.ListContextsResponse.prototype.setContextsList = function(value) {
974
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
912
975
  };
913
976
 
977
+
914
978
  /**
915
979
  * @param {!proto.ondewo.nlu.Context=} opt_value
916
980
  * @param {number=} opt_index
917
981
  * @return {!proto.ondewo.nlu.Context}
918
982
  */
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);
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);
921
985
  };
922
986
 
987
+
923
988
  /**
924
989
  * Clears the list making it empty but non-null.
925
990
  * @return {!proto.ondewo.nlu.ListContextsResponse} returns this
926
991
  */
927
- proto.ondewo.nlu.ListContextsResponse.prototype.clearContextsList = function () {
928
- return this.setContextsList([]);
992
+ proto.ondewo.nlu.ListContextsResponse.prototype.clearContextsList = function() {
993
+ return this.setContextsList([]);
929
994
  };
930
995
 
996
+
931
997
  /**
932
998
  * optional string next_page_token = 2;
933
999
  * @return {string}
934
1000
  */
935
- proto.ondewo.nlu.ListContextsResponse.prototype.getNextPageToken = function () {
936
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
1001
+ proto.ondewo.nlu.ListContextsResponse.prototype.getNextPageToken = function() {
1002
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
937
1003
  };
938
1004
 
1005
+
939
1006
  /**
940
1007
  * @param {string} value
941
1008
  * @return {!proto.ondewo.nlu.ListContextsResponse} returns this
942
1009
  */
943
- proto.ondewo.nlu.ListContextsResponse.prototype.setNextPageToken = function (value) {
944
- return jspb.Message.setProto3StringField(this, 2, value);
1010
+ proto.ondewo.nlu.ListContextsResponse.prototype.setNextPageToken = function(value) {
1011
+ return jspb.Message.setProto3StringField(this, 2, value);
945
1012
  };
946
1013
 
1014
+
1015
+
1016
+
1017
+
947
1018
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
984
1055
  }
985
1056
 
1057
+
986
1058
  /**
987
1059
  * Deserializes binary data (in protobuf wire format).
988
1060
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
989
1061
  * @return {!proto.ondewo.nlu.GetContextRequest}
990
1062
  */
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);
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);
995
1067
  };
996
1068
 
1069
+
997
1070
  /**
998
1071
  * Deserializes binary data (in protobuf wire format) from the
999
1072
  * given reader into the given message object.
@@ -1001,35 +1074,37 @@ proto.ondewo.nlu.GetContextRequest.deserializeBinary = function (bytes) {
1001
1074
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1002
1075
  * @return {!proto.ondewo.nlu.GetContextRequest}
1003
1076
  */
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;
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;
1021
1094
  };
1022
1095
 
1096
+
1023
1097
  /**
1024
1098
  * Serializes the message to binary data (in protobuf wire format).
1025
1099
  * @return {!Uint8Array}
1026
1100
  */
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();
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();
1031
1105
  };
1032
1106
 
1107
+
1033
1108
  /**
1034
1109
  * Serializes the given message to binary data (in protobuf wire
1035
1110
  * format), writing to the given BinaryWriter.
@@ -1037,81 +1112,92 @@ proto.ondewo.nlu.GetContextRequest.prototype.serializeBinary = function () {
1037
1112
  * @param {!jspb.BinaryWriter} writer
1038
1113
  * @suppress {unusedLocalVariables} f is only used for nested messages
1039
1114
  */
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
- }
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
+ }
1046
1124
  };
1047
1125
 
1126
+
1048
1127
  /**
1049
1128
  * optional string name = 1;
1050
1129
  * @return {string}
1051
1130
  */
1052
- proto.ondewo.nlu.GetContextRequest.prototype.getName = function () {
1053
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1131
+ proto.ondewo.nlu.GetContextRequest.prototype.getName = function() {
1132
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1054
1133
  };
1055
1134
 
1135
+
1056
1136
  /**
1057
1137
  * @param {string} value
1058
1138
  * @return {!proto.ondewo.nlu.GetContextRequest} returns this
1059
1139
  */
1060
- proto.ondewo.nlu.GetContextRequest.prototype.setName = function (value) {
1061
- return jspb.Message.setProto3StringField(this, 1, value);
1140
+ proto.ondewo.nlu.GetContextRequest.prototype.setName = function(value) {
1141
+ return jspb.Message.setProto3StringField(this, 1, value);
1062
1142
  };
1063
1143
 
1144
+
1145
+
1146
+
1147
+
1064
1148
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ sessionId: 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
+ };
1102
1186
  }
1103
1187
 
1188
+
1104
1189
  /**
1105
1190
  * Deserializes binary data (in protobuf wire format).
1106
1191
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1107
1192
  * @return {!proto.ondewo.nlu.CreateContextRequest}
1108
1193
  */
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);
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);
1113
1198
  };
1114
1199
 
1200
+
1115
1201
  /**
1116
1202
  * Deserializes binary data (in protobuf wire format) from the
1117
1203
  * given reader into the given message object.
@@ -1119,40 +1205,42 @@ proto.ondewo.nlu.CreateContextRequest.deserializeBinary = function (bytes) {
1119
1205
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1120
1206
  * @return {!proto.ondewo.nlu.CreateContextRequest}
1121
1207
  */
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;
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.setSessionId(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;
1144
1230
  };
1145
1231
 
1232
+
1146
1233
  /**
1147
1234
  * Serializes the message to binary data (in protobuf wire format).
1148
1235
  * @return {!Uint8Array}
1149
1236
  */
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();
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();
1154
1241
  };
1155
1242
 
1243
+
1156
1244
  /**
1157
1245
  * Serializes the given message to binary data (in protobuf wire
1158
1246
  * format), writing to the given BinaryWriter.
@@ -1160,117 +1248,137 @@ proto.ondewo.nlu.CreateContextRequest.prototype.serializeBinary = function () {
1160
1248
  * @param {!jspb.BinaryWriter} writer
1161
1249
  * @suppress {unusedLocalVariables} f is only used for nested messages
1162
1250
  */
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
- }
1251
+ proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter = function(message, writer) {
1252
+ var f = undefined;
1253
+ f = message.getSessionId();
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
+ }
1173
1268
  };
1174
1269
 
1270
+
1175
1271
  /**
1176
1272
  * optional string session_id = 1;
1177
1273
  * @return {string}
1178
1274
  */
1179
- proto.ondewo.nlu.CreateContextRequest.prototype.getSessionId = function () {
1180
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1275
+ proto.ondewo.nlu.CreateContextRequest.prototype.getSessionId = function() {
1276
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1181
1277
  };
1182
1278
 
1279
+
1183
1280
  /**
1184
1281
  * @param {string} value
1185
1282
  * @return {!proto.ondewo.nlu.CreateContextRequest} returns this
1186
1283
  */
1187
- proto.ondewo.nlu.CreateContextRequest.prototype.setSessionId = function (value) {
1188
- return jspb.Message.setProto3StringField(this, 1, value);
1284
+ proto.ondewo.nlu.CreateContextRequest.prototype.setSessionId = function(value) {
1285
+ return jspb.Message.setProto3StringField(this, 1, value);
1189
1286
  };
1190
1287
 
1288
+
1191
1289
  /**
1192
1290
  * optional Context context = 2;
1193
1291
  * @return {?proto.ondewo.nlu.Context}
1194
1292
  */
1195
- proto.ondewo.nlu.CreateContextRequest.prototype.getContext = function () {
1196
- return /** @type{?proto.ondewo.nlu.Context} */ (jspb.Message.getWrapperField(this, proto.ondewo.nlu.Context, 2));
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));
1197
1296
  };
1198
1297
 
1298
+
1199
1299
  /**
1200
1300
  * @param {?proto.ondewo.nlu.Context|undefined} value
1201
1301
  * @return {!proto.ondewo.nlu.CreateContextRequest} returns this
1202
- */
1203
- proto.ondewo.nlu.CreateContextRequest.prototype.setContext = function (value) {
1204
- return jspb.Message.setWrapperField(this, 2, value);
1302
+ */
1303
+ proto.ondewo.nlu.CreateContextRequest.prototype.setContext = function(value) {
1304
+ return jspb.Message.setWrapperField(this, 2, value);
1205
1305
  };
1206
1306
 
1307
+
1207
1308
  /**
1208
1309
  * Clears the message field making it undefined.
1209
1310
  * @return {!proto.ondewo.nlu.CreateContextRequest} returns this
1210
1311
  */
1211
- proto.ondewo.nlu.CreateContextRequest.prototype.clearContext = function () {
1212
- return this.setContext(undefined);
1312
+ proto.ondewo.nlu.CreateContextRequest.prototype.clearContext = function() {
1313
+ return this.setContext(undefined);
1213
1314
  };
1214
1315
 
1316
+
1215
1317
  /**
1216
1318
  * Returns whether this field is set.
1217
1319
  * @return {boolean}
1218
1320
  */
1219
- proto.ondewo.nlu.CreateContextRequest.prototype.hasContext = function () {
1220
- return jspb.Message.getField(this, 2) != null;
1321
+ proto.ondewo.nlu.CreateContextRequest.prototype.hasContext = function() {
1322
+ return jspb.Message.getField(this, 2) != null;
1221
1323
  };
1222
1324
 
1325
+
1326
+
1327
+
1328
+
1223
1329
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
1261
1367
  }
1262
1368
 
1369
+
1263
1370
  /**
1264
1371
  * Deserializes binary data (in protobuf wire format).
1265
1372
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1266
1373
  * @return {!proto.ondewo.nlu.UpdateContextRequest}
1267
1374
  */
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);
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);
1272
1379
  };
1273
1380
 
1381
+
1274
1382
  /**
1275
1383
  * Deserializes binary data (in protobuf wire format) from the
1276
1384
  * given reader into the given message object.
@@ -1278,41 +1386,43 @@ proto.ondewo.nlu.UpdateContextRequest.deserializeBinary = function (bytes) {
1278
1386
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1279
1387
  * @return {!proto.ondewo.nlu.UpdateContextRequest}
1280
1388
  */
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;
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;
1304
1412
  };
1305
1413
 
1414
+
1306
1415
  /**
1307
1416
  * Serializes the message to binary data (in protobuf wire format).
1308
1417
  * @return {!Uint8Array}
1309
1418
  */
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();
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();
1314
1423
  };
1315
1424
 
1425
+
1316
1426
  /**
1317
1427
  * Serializes the given message to binary data (in protobuf wire
1318
1428
  * format), writing to the given BinaryWriter.
@@ -1320,134 +1430,156 @@ proto.ondewo.nlu.UpdateContextRequest.prototype.serializeBinary = function () {
1320
1430
  * @param {!jspb.BinaryWriter} writer
1321
1431
  * @suppress {unusedLocalVariables} f is only used for nested messages
1322
1432
  */
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
- }
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
+ }
1333
1451
  };
1334
1452
 
1453
+
1335
1454
  /**
1336
1455
  * optional Context context = 1;
1337
1456
  * @return {?proto.ondewo.nlu.Context}
1338
1457
  */
1339
- proto.ondewo.nlu.UpdateContextRequest.prototype.getContext = function () {
1340
- return /** @type{?proto.ondewo.nlu.Context} */ (jspb.Message.getWrapperField(this, proto.ondewo.nlu.Context, 1));
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));
1341
1461
  };
1342
1462
 
1463
+
1343
1464
  /**
1344
1465
  * @param {?proto.ondewo.nlu.Context|undefined} value
1345
1466
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1346
- */
1347
- proto.ondewo.nlu.UpdateContextRequest.prototype.setContext = function (value) {
1348
- return jspb.Message.setWrapperField(this, 1, value);
1467
+ */
1468
+ proto.ondewo.nlu.UpdateContextRequest.prototype.setContext = function(value) {
1469
+ return jspb.Message.setWrapperField(this, 1, value);
1349
1470
  };
1350
1471
 
1472
+
1351
1473
  /**
1352
1474
  * Clears the message field making it undefined.
1353
1475
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1354
1476
  */
1355
- proto.ondewo.nlu.UpdateContextRequest.prototype.clearContext = function () {
1356
- return this.setContext(undefined);
1477
+ proto.ondewo.nlu.UpdateContextRequest.prototype.clearContext = function() {
1478
+ return this.setContext(undefined);
1357
1479
  };
1358
1480
 
1481
+
1359
1482
  /**
1360
1483
  * Returns whether this field is set.
1361
1484
  * @return {boolean}
1362
1485
  */
1363
- proto.ondewo.nlu.UpdateContextRequest.prototype.hasContext = function () {
1364
- return jspb.Message.getField(this, 1) != null;
1486
+ proto.ondewo.nlu.UpdateContextRequest.prototype.hasContext = function() {
1487
+ return jspb.Message.getField(this, 1) != null;
1365
1488
  };
1366
1489
 
1490
+
1367
1491
  /**
1368
1492
  * optional google.protobuf.FieldMask update_mask = 2;
1369
1493
  * @return {?proto.google.protobuf.FieldMask}
1370
1494
  */
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
- );
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));
1375
1498
  };
1376
1499
 
1500
+
1377
1501
  /**
1378
1502
  * @param {?proto.google.protobuf.FieldMask|undefined} value
1379
1503
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1380
- */
1381
- proto.ondewo.nlu.UpdateContextRequest.prototype.setUpdateMask = function (value) {
1382
- return jspb.Message.setWrapperField(this, 2, value);
1504
+ */
1505
+ proto.ondewo.nlu.UpdateContextRequest.prototype.setUpdateMask = function(value) {
1506
+ return jspb.Message.setWrapperField(this, 2, value);
1383
1507
  };
1384
1508
 
1509
+
1385
1510
  /**
1386
1511
  * Clears the message field making it undefined.
1387
1512
  * @return {!proto.ondewo.nlu.UpdateContextRequest} returns this
1388
1513
  */
1389
- proto.ondewo.nlu.UpdateContextRequest.prototype.clearUpdateMask = function () {
1390
- return this.setUpdateMask(undefined);
1514
+ proto.ondewo.nlu.UpdateContextRequest.prototype.clearUpdateMask = function() {
1515
+ return this.setUpdateMask(undefined);
1391
1516
  };
1392
1517
 
1518
+
1393
1519
  /**
1394
1520
  * Returns whether this field is set.
1395
1521
  * @return {boolean}
1396
1522
  */
1397
- proto.ondewo.nlu.UpdateContextRequest.prototype.hasUpdateMask = function () {
1398
- return jspb.Message.getField(this, 2) != null;
1523
+ proto.ondewo.nlu.UpdateContextRequest.prototype.hasUpdateMask = function() {
1524
+ return jspb.Message.getField(this, 2) != null;
1399
1525
  };
1400
1526
 
1527
+
1528
+
1529
+
1530
+
1401
1531
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
1438
1568
  }
1439
1569
 
1570
+
1440
1571
  /**
1441
1572
  * Deserializes binary data (in protobuf wire format).
1442
1573
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1443
1574
  * @return {!proto.ondewo.nlu.DeleteContextRequest}
1444
1575
  */
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);
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);
1449
1580
  };
1450
1581
 
1582
+
1451
1583
  /**
1452
1584
  * Deserializes binary data (in protobuf wire format) from the
1453
1585
  * given reader into the given message object.
@@ -1455,35 +1587,37 @@ proto.ondewo.nlu.DeleteContextRequest.deserializeBinary = function (bytes) {
1455
1587
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1456
1588
  * @return {!proto.ondewo.nlu.DeleteContextRequest}
1457
1589
  */
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;
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;
1475
1607
  };
1476
1608
 
1609
+
1477
1610
  /**
1478
1611
  * Serializes the message to binary data (in protobuf wire format).
1479
1612
  * @return {!Uint8Array}
1480
1613
  */
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();
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();
1485
1618
  };
1486
1619
 
1620
+
1487
1621
  /**
1488
1622
  * Serializes the given message to binary data (in protobuf wire
1489
1623
  * format), writing to the given BinaryWriter.
@@ -1491,80 +1625,91 @@ proto.ondewo.nlu.DeleteContextRequest.prototype.serializeBinary = function () {
1491
1625
  * @param {!jspb.BinaryWriter} writer
1492
1626
  * @suppress {unusedLocalVariables} f is only used for nested messages
1493
1627
  */
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
- }
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
+ }
1500
1637
  };
1501
1638
 
1639
+
1502
1640
  /**
1503
1641
  * optional string name = 1;
1504
1642
  * @return {string}
1505
1643
  */
1506
- proto.ondewo.nlu.DeleteContextRequest.prototype.getName = function () {
1507
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1644
+ proto.ondewo.nlu.DeleteContextRequest.prototype.getName = function() {
1645
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1508
1646
  };
1509
1647
 
1648
+
1510
1649
  /**
1511
1650
  * @param {string} value
1512
1651
  * @return {!proto.ondewo.nlu.DeleteContextRequest} returns this
1513
1652
  */
1514
- proto.ondewo.nlu.DeleteContextRequest.prototype.setName = function (value) {
1515
- return jspb.Message.setProto3StringField(this, 1, value);
1653
+ proto.ondewo.nlu.DeleteContextRequest.prototype.setName = function(value) {
1654
+ return jspb.Message.setProto3StringField(this, 1, value);
1516
1655
  };
1517
1656
 
1657
+
1658
+
1659
+
1660
+
1518
1661
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
1691
+ };
1692
+
1693
+ if (includeInstance) {
1694
+ obj.$jspbMessageInstance = msg;
1695
+ }
1696
+ return obj;
1697
+ };
1555
1698
  }
1556
1699
 
1700
+
1557
1701
  /**
1558
1702
  * Deserializes binary data (in protobuf wire format).
1559
1703
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1560
1704
  * @return {!proto.ondewo.nlu.DeleteAllContextsRequest}
1561
1705
  */
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);
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);
1566
1710
  };
1567
1711
 
1712
+
1568
1713
  /**
1569
1714
  * Deserializes binary data (in protobuf wire format) from the
1570
1715
  * given reader into the given message object.
@@ -1572,35 +1717,37 @@ proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinary = function (bytes) {
1572
1717
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1573
1718
  * @return {!proto.ondewo.nlu.DeleteAllContextsRequest}
1574
1719
  */
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;
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.setSessionId(value);
1730
+ break;
1731
+ default:
1732
+ reader.skipField();
1733
+ break;
1734
+ }
1735
+ }
1736
+ return msg;
1592
1737
  };
1593
1738
 
1739
+
1594
1740
  /**
1595
1741
  * Serializes the message to binary data (in protobuf wire format).
1596
1742
  * @return {!Uint8Array}
1597
1743
  */
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();
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();
1602
1748
  };
1603
1749
 
1750
+
1604
1751
  /**
1605
1752
  * Serializes the given message to binary data (in protobuf wire
1606
1753
  * format), writing to the given BinaryWriter.
@@ -1608,28 +1755,34 @@ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.serializeBinary = function (
1608
1755
  * @param {!jspb.BinaryWriter} writer
1609
1756
  * @suppress {unusedLocalVariables} f is only used for nested messages
1610
1757
  */
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
- }
1758
+ proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter = function(message, writer) {
1759
+ var f = undefined;
1760
+ f = message.getSessionId();
1761
+ if (f.length > 0) {
1762
+ writer.writeString(
1763
+ 1,
1764
+ f
1765
+ );
1766
+ }
1617
1767
  };
1618
1768
 
1769
+
1619
1770
  /**
1620
1771
  * optional string session_id = 1;
1621
1772
  * @return {string}
1622
1773
  */
1623
- proto.ondewo.nlu.DeleteAllContextsRequest.prototype.getSessionId = function () {
1624
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1774
+ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.getSessionId = function() {
1775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1625
1776
  };
1626
1777
 
1778
+
1627
1779
  /**
1628
1780
  * @param {string} value
1629
1781
  * @return {!proto.ondewo.nlu.DeleteAllContextsRequest} returns this
1630
1782
  */
1631
- proto.ondewo.nlu.DeleteAllContextsRequest.prototype.setSessionId = function (value) {
1632
- return jspb.Message.setProto3StringField(this, 1, value);
1783
+ proto.ondewo.nlu.DeleteAllContextsRequest.prototype.setSessionId = function(value) {
1784
+ return jspb.Message.setProto3StringField(this, 1, value);
1633
1785
  };
1634
1786
 
1787
+
1635
1788
  goog.object.extend(exports, proto.ondewo.nlu);