@ondewo/nlu-client-typescript 3.5.2 → 4.1.0

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