@ondewo/nlu-client-typescript 4.1.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
  3. package/api/ondewo/nlu/agent_pb.d.ts +1758 -1939
  4. package/api/ondewo/nlu/agent_pb.js +10491 -9063
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
  8. package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
  9. package/api/ondewo/nlu/common_pb.d.ts +17 -15
  10. package/api/ondewo/nlu/common_pb.js +93 -83
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +1042 -889
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
  18. package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
  21. package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
  22. package/api/ondewo/nlu/intent_pb.js +10692 -9502
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +98 -86
  24. package/api/ondewo/nlu/operation_metadata_pb.js +492 -322
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
  27. package/api/ondewo/nlu/operations_pb.d.ts +182 -189
  28. package/api/ondewo/nlu/operations_pb.js +1004 -843
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
  31. package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
  32. package/api/ondewo/nlu/project_role_pb.js +963 -796
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
  36. package/api/ondewo/nlu/project_statistics_pb.js +418 -354
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
  40. package/api/ondewo/nlu/server_statistics_pb.js +91 -81
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
  43. package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
  44. package/api/ondewo/nlu/session_pb.js +13885 -6673
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
  47. package/api/ondewo/nlu/user_pb.d.ts +325 -345
  48. package/api/ondewo/nlu/user_pb.js +2312 -1948
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
  51. package/api/ondewo/nlu/utility_pb.d.ts +535 -588
  52. package/api/ondewo/nlu/utility_pb.js +3348 -2814
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
  55. package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
  56. package/api/ondewo/nlu/webhook_pb.js +718 -599
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
  59. package/api/ondewo/qa/qa_pb.d.ts +220 -235
  60. package/api/ondewo/qa/qa_pb.js +1452 -1222
  61. package/package.json +1 -1
  62. package/public-api.d.ts +34 -4
@@ -13,9 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = function () {
17
- return this || window || global || self || Function('return this')();
18
- }.call(null);
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
19
17
 
20
18
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
21
19
  goog.object.extend(proto, google_api_annotations_pb);
@@ -49,16 +47,16 @@ goog.exportSymbol('proto.ondewo.nlu.OperationFilter.StartTimeOneofCase', null, g
49
47
  * @extends {jspb.Message}
50
48
  * @constructor
51
49
  */
52
- proto.ondewo.nlu.Operation = function (opt_data) {
53
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ondewo.nlu.Operation.oneofGroups_);
50
+ proto.ondewo.nlu.Operation = function(opt_data) {
51
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ondewo.nlu.Operation.oneofGroups_);
54
52
  };
55
53
  goog.inherits(proto.ondewo.nlu.Operation, jspb.Message);
56
54
  if (goog.DEBUG && !COMPILED) {
57
- /**
58
- * @public
59
- * @override
60
- */
61
- proto.ondewo.nlu.Operation.displayName = 'proto.ondewo.nlu.Operation';
55
+ /**
56
+ * @public
57
+ * @override
58
+ */
59
+ proto.ondewo.nlu.Operation.displayName = 'proto.ondewo.nlu.Operation';
62
60
  }
63
61
  /**
64
62
  * Generated by JsPbCodeGenerator.
@@ -70,16 +68,16 @@ if (goog.DEBUG && !COMPILED) {
70
68
  * @extends {jspb.Message}
71
69
  * @constructor
72
70
  */
73
- proto.ondewo.nlu.GetOperationRequest = function (opt_data) {
74
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
71
+ proto.ondewo.nlu.GetOperationRequest = function(opt_data) {
72
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
75
73
  };
76
74
  goog.inherits(proto.ondewo.nlu.GetOperationRequest, jspb.Message);
77
75
  if (goog.DEBUG && !COMPILED) {
78
- /**
79
- * @public
80
- * @override
81
- */
82
- proto.ondewo.nlu.GetOperationRequest.displayName = 'proto.ondewo.nlu.GetOperationRequest';
76
+ /**
77
+ * @public
78
+ * @override
79
+ */
80
+ proto.ondewo.nlu.GetOperationRequest.displayName = 'proto.ondewo.nlu.GetOperationRequest';
83
81
  }
84
82
  /**
85
83
  * Generated by JsPbCodeGenerator.
@@ -91,16 +89,16 @@ if (goog.DEBUG && !COMPILED) {
91
89
  * @extends {jspb.Message}
92
90
  * @constructor
93
91
  */
94
- proto.ondewo.nlu.ListOperationsRequest = function (opt_data) {
95
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
92
+ proto.ondewo.nlu.ListOperationsRequest = function(opt_data) {
93
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
96
94
  };
97
95
  goog.inherits(proto.ondewo.nlu.ListOperationsRequest, jspb.Message);
98
96
  if (goog.DEBUG && !COMPILED) {
99
- /**
100
- * @public
101
- * @override
102
- */
103
- proto.ondewo.nlu.ListOperationsRequest.displayName = 'proto.ondewo.nlu.ListOperationsRequest';
97
+ /**
98
+ * @public
99
+ * @override
100
+ */
101
+ proto.ondewo.nlu.ListOperationsRequest.displayName = 'proto.ondewo.nlu.ListOperationsRequest';
104
102
  }
105
103
  /**
106
104
  * Generated by JsPbCodeGenerator.
@@ -112,23 +110,16 @@ if (goog.DEBUG && !COMPILED) {
112
110
  * @extends {jspb.Message}
113
111
  * @constructor
114
112
  */
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
- );
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_);
124
115
  };
125
116
  goog.inherits(proto.ondewo.nlu.OperationFilter, jspb.Message);
126
117
  if (goog.DEBUG && !COMPILED) {
127
- /**
128
- * @public
129
- * @override
130
- */
131
- proto.ondewo.nlu.OperationFilter.displayName = 'proto.ondewo.nlu.OperationFilter';
118
+ /**
119
+ * @public
120
+ * @override
121
+ */
122
+ proto.ondewo.nlu.OperationFilter.displayName = 'proto.ondewo.nlu.OperationFilter';
132
123
  }
133
124
  /**
134
125
  * Generated by JsPbCodeGenerator.
@@ -140,16 +131,16 @@ if (goog.DEBUG && !COMPILED) {
140
131
  * @extends {jspb.Message}
141
132
  * @constructor
142
133
  */
143
- proto.ondewo.nlu.ListOperationsResponse = function (opt_data) {
144
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListOperationsResponse.repeatedFields_, null);
134
+ proto.ondewo.nlu.ListOperationsResponse = function(opt_data) {
135
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListOperationsResponse.repeatedFields_, null);
145
136
  };
146
137
  goog.inherits(proto.ondewo.nlu.ListOperationsResponse, jspb.Message);
147
138
  if (goog.DEBUG && !COMPILED) {
148
- /**
149
- * @public
150
- * @override
151
- */
152
- proto.ondewo.nlu.ListOperationsResponse.displayName = 'proto.ondewo.nlu.ListOperationsResponse';
139
+ /**
140
+ * @public
141
+ * @override
142
+ */
143
+ proto.ondewo.nlu.ListOperationsResponse.displayName = 'proto.ondewo.nlu.ListOperationsResponse';
153
144
  }
154
145
  /**
155
146
  * Generated by JsPbCodeGenerator.
@@ -161,16 +152,16 @@ if (goog.DEBUG && !COMPILED) {
161
152
  * @extends {jspb.Message}
162
153
  * @constructor
163
154
  */
164
- proto.ondewo.nlu.CancelOperationRequest = function (opt_data) {
165
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
155
+ proto.ondewo.nlu.CancelOperationRequest = function(opt_data) {
156
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
166
157
  };
167
158
  goog.inherits(proto.ondewo.nlu.CancelOperationRequest, jspb.Message);
168
159
  if (goog.DEBUG && !COMPILED) {
169
- /**
170
- * @public
171
- * @override
172
- */
173
- proto.ondewo.nlu.CancelOperationRequest.displayName = 'proto.ondewo.nlu.CancelOperationRequest';
160
+ /**
161
+ * @public
162
+ * @override
163
+ */
164
+ proto.ondewo.nlu.CancelOperationRequest.displayName = 'proto.ondewo.nlu.CancelOperationRequest';
174
165
  }
175
166
  /**
176
167
  * Generated by JsPbCodeGenerator.
@@ -182,16 +173,16 @@ if (goog.DEBUG && !COMPILED) {
182
173
  * @extends {jspb.Message}
183
174
  * @constructor
184
175
  */
185
- proto.ondewo.nlu.DeleteOperationRequest = function (opt_data) {
186
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
176
+ proto.ondewo.nlu.DeleteOperationRequest = function(opt_data) {
177
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
187
178
  };
188
179
  goog.inherits(proto.ondewo.nlu.DeleteOperationRequest, jspb.Message);
189
180
  if (goog.DEBUG && !COMPILED) {
190
- /**
191
- * @public
192
- * @override
193
- */
194
- proto.ondewo.nlu.DeleteOperationRequest.displayName = 'proto.ondewo.nlu.DeleteOperationRequest';
181
+ /**
182
+ * @public
183
+ * @override
184
+ */
185
+ proto.ondewo.nlu.DeleteOperationRequest.displayName = 'proto.ondewo.nlu.DeleteOperationRequest';
195
186
  }
196
187
 
197
188
  /**
@@ -202,81 +193,82 @@ if (goog.DEBUG && !COMPILED) {
202
193
  * @private {!Array<!Array<number>>}
203
194
  * @const
204
195
  */
205
- proto.ondewo.nlu.Operation.oneofGroups_ = [[4, 5]];
196
+ proto.ondewo.nlu.Operation.oneofGroups_ = [[4,5]];
206
197
 
207
198
  /**
208
199
  * @enum {number}
209
200
  */
210
201
  proto.ondewo.nlu.Operation.ResultCase = {
211
- RESULT_NOT_SET: 0,
212
- ERROR: 4,
213
- RESPONSE: 5
202
+ RESULT_NOT_SET: 0,
203
+ ERROR: 4,
204
+ RESPONSE: 5
214
205
  };
215
206
 
216
207
  /**
217
208
  * @return {proto.ondewo.nlu.Operation.ResultCase}
218
209
  */
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
- );
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]));
223
212
  };
224
213
 
214
+
215
+
225
216
  if (jspb.Message.GENERATE_TO_OBJECT) {
226
- /**
227
- * Creates an object representation of this proto.
228
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
229
- * Optional fields that are not set will be set to undefined.
230
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
231
- * For the list of reserved names please see:
232
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
233
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
234
- * JSPB instance for transitional soy proto support:
235
- * http://goto/soy-param-migration
236
- * @return {!Object}
237
- */
238
- proto.ondewo.nlu.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
- };
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
+ };
267
257
  }
268
258
 
259
+
269
260
  /**
270
261
  * Deserializes binary data (in protobuf wire format).
271
262
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
272
263
  * @return {!proto.ondewo.nlu.Operation}
273
264
  */
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);
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);
278
269
  };
279
270
 
271
+
280
272
  /**
281
273
  * Deserializes binary data (in protobuf wire format) from the
282
274
  * given reader into the given message object.
@@ -284,54 +276,56 @@ proto.ondewo.nlu.Operation.deserializeBinary = function (bytes) {
284
276
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
285
277
  * @return {!proto.ondewo.nlu.Operation}
286
278
  */
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;
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;
323
315
  };
324
316
 
317
+
325
318
  /**
326
319
  * Serializes the message to binary data (in protobuf wire format).
327
320
  * @return {!Uint8Array}
328
321
  */
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();
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();
333
326
  };
334
327
 
328
+
335
329
  /**
336
330
  * Serializes the given message to binary data (in protobuf wire
337
331
  * format), writing to the given BinaryWriter.
@@ -339,210 +333,251 @@ proto.ondewo.nlu.Operation.prototype.serializeBinary = function () {
339
333
  * @param {!jspb.BinaryWriter} writer
340
334
  * @suppress {unusedLocalVariables} f is only used for nested messages
341
335
  */
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
- }
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
+ }
364
376
  };
365
377
 
378
+
366
379
  /**
367
380
  * optional string name = 1;
368
381
  * @return {string}
369
382
  */
370
- proto.ondewo.nlu.Operation.prototype.getName = function () {
371
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
383
+ proto.ondewo.nlu.Operation.prototype.getName = function() {
384
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
372
385
  };
373
386
 
387
+
374
388
  /**
375
389
  * @param {string} value
376
390
  * @return {!proto.ondewo.nlu.Operation} returns this
377
391
  */
378
- proto.ondewo.nlu.Operation.prototype.setName = function (value) {
379
- return jspb.Message.setProto3StringField(this, 1, value);
392
+ proto.ondewo.nlu.Operation.prototype.setName = function(value) {
393
+ return jspb.Message.setProto3StringField(this, 1, value);
380
394
  };
381
395
 
396
+
382
397
  /**
383
398
  * optional OperationMetadata metadata = 2;
384
399
  * @return {?proto.ondewo.nlu.OperationMetadata}
385
400
  */
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
- );
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));
390
404
  };
391
405
 
406
+
392
407
  /**
393
408
  * @param {?proto.ondewo.nlu.OperationMetadata|undefined} value
394
409
  * @return {!proto.ondewo.nlu.Operation} returns this
395
- */
396
- proto.ondewo.nlu.Operation.prototype.setMetadata = function (value) {
397
- return jspb.Message.setWrapperField(this, 2, value);
410
+ */
411
+ proto.ondewo.nlu.Operation.prototype.setMetadata = function(value) {
412
+ return jspb.Message.setWrapperField(this, 2, value);
398
413
  };
399
414
 
415
+
400
416
  /**
401
417
  * Clears the message field making it undefined.
402
418
  * @return {!proto.ondewo.nlu.Operation} returns this
403
419
  */
404
- proto.ondewo.nlu.Operation.prototype.clearMetadata = function () {
405
- return this.setMetadata(undefined);
420
+ proto.ondewo.nlu.Operation.prototype.clearMetadata = function() {
421
+ return this.setMetadata(undefined);
406
422
  };
407
423
 
424
+
408
425
  /**
409
426
  * Returns whether this field is set.
410
427
  * @return {boolean}
411
428
  */
412
- proto.ondewo.nlu.Operation.prototype.hasMetadata = function () {
413
- return jspb.Message.getField(this, 2) != null;
429
+ proto.ondewo.nlu.Operation.prototype.hasMetadata = function() {
430
+ return jspb.Message.getField(this, 2) != null;
414
431
  };
415
432
 
433
+
416
434
  /**
417
435
  * optional bool done = 3;
418
436
  * @return {boolean}
419
437
  */
420
- proto.ondewo.nlu.Operation.prototype.getDone = function () {
421
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
438
+ proto.ondewo.nlu.Operation.prototype.getDone = function() {
439
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
422
440
  };
423
441
 
442
+
424
443
  /**
425
444
  * @param {boolean} value
426
445
  * @return {!proto.ondewo.nlu.Operation} returns this
427
446
  */
428
- proto.ondewo.nlu.Operation.prototype.setDone = function (value) {
429
- return jspb.Message.setProto3BooleanField(this, 3, value);
447
+ proto.ondewo.nlu.Operation.prototype.setDone = function(value) {
448
+ return jspb.Message.setProto3BooleanField(this, 3, value);
430
449
  };
431
450
 
451
+
432
452
  /**
433
453
  * optional google.rpc.Status error = 4;
434
454
  * @return {?proto.google.rpc.Status}
435
455
  */
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));
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));
438
459
  };
439
460
 
461
+
440
462
  /**
441
463
  * @param {?proto.google.rpc.Status|undefined} value
442
464
  * @return {!proto.ondewo.nlu.Operation} returns this
443
- */
444
- proto.ondewo.nlu.Operation.prototype.setError = function (value) {
445
- return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
465
+ */
466
+ proto.ondewo.nlu.Operation.prototype.setError = function(value) {
467
+ return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
446
468
  };
447
469
 
470
+
448
471
  /**
449
472
  * Clears the message field making it undefined.
450
473
  * @return {!proto.ondewo.nlu.Operation} returns this
451
474
  */
452
- proto.ondewo.nlu.Operation.prototype.clearError = function () {
453
- return this.setError(undefined);
475
+ proto.ondewo.nlu.Operation.prototype.clearError = function() {
476
+ return this.setError(undefined);
454
477
  };
455
478
 
479
+
456
480
  /**
457
481
  * Returns whether this field is set.
458
482
  * @return {boolean}
459
483
  */
460
- proto.ondewo.nlu.Operation.prototype.hasError = function () {
461
- return jspb.Message.getField(this, 4) != null;
484
+ proto.ondewo.nlu.Operation.prototype.hasError = function() {
485
+ return jspb.Message.getField(this, 4) != null;
462
486
  };
463
487
 
488
+
464
489
  /**
465
490
  * optional google.protobuf.Any response = 5;
466
491
  * @return {?proto.google.protobuf.Any}
467
492
  */
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));
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));
470
496
  };
471
497
 
498
+
472
499
  /**
473
500
  * @param {?proto.google.protobuf.Any|undefined} value
474
501
  * @return {!proto.ondewo.nlu.Operation} returns this
475
- */
476
- proto.ondewo.nlu.Operation.prototype.setResponse = function (value) {
477
- return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
502
+ */
503
+ proto.ondewo.nlu.Operation.prototype.setResponse = function(value) {
504
+ return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
478
505
  };
479
506
 
507
+
480
508
  /**
481
509
  * Clears the message field making it undefined.
482
510
  * @return {!proto.ondewo.nlu.Operation} returns this
483
511
  */
484
- proto.ondewo.nlu.Operation.prototype.clearResponse = function () {
485
- return this.setResponse(undefined);
512
+ proto.ondewo.nlu.Operation.prototype.clearResponse = function() {
513
+ return this.setResponse(undefined);
486
514
  };
487
515
 
516
+
488
517
  /**
489
518
  * Returns whether this field is set.
490
519
  * @return {boolean}
491
520
  */
492
- proto.ondewo.nlu.Operation.prototype.hasResponse = function () {
493
- return jspb.Message.getField(this, 5) != null;
521
+ proto.ondewo.nlu.Operation.prototype.hasResponse = function() {
522
+ return jspb.Message.getField(this, 5) != null;
494
523
  };
495
524
 
525
+
526
+
527
+
528
+
496
529
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
533
566
  }
534
567
 
568
+
535
569
  /**
536
570
  * Deserializes binary data (in protobuf wire format).
537
571
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
538
572
  * @return {!proto.ondewo.nlu.GetOperationRequest}
539
573
  */
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);
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);
544
578
  };
545
579
 
580
+
546
581
  /**
547
582
  * Deserializes binary data (in protobuf wire format) from the
548
583
  * given reader into the given message object.
@@ -550,35 +585,37 @@ proto.ondewo.nlu.GetOperationRequest.deserializeBinary = function (bytes) {
550
585
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
551
586
  * @return {!proto.ondewo.nlu.GetOperationRequest}
552
587
  */
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;
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;
570
605
  };
571
606
 
607
+
572
608
  /**
573
609
  * Serializes the message to binary data (in protobuf wire format).
574
610
  * @return {!Uint8Array}
575
611
  */
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();
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();
580
616
  };
581
617
 
618
+
582
619
  /**
583
620
  * Serializes the given message to binary data (in protobuf wire
584
621
  * format), writing to the given BinaryWriter.
@@ -586,84 +623,95 @@ proto.ondewo.nlu.GetOperationRequest.prototype.serializeBinary = function () {
586
623
  * @param {!jspb.BinaryWriter} writer
587
624
  * @suppress {unusedLocalVariables} f is only used for nested messages
588
625
  */
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
- }
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
+ }
595
635
  };
596
636
 
637
+
597
638
  /**
598
639
  * optional string name = 1;
599
640
  * @return {string}
600
641
  */
601
- proto.ondewo.nlu.GetOperationRequest.prototype.getName = function () {
602
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
642
+ proto.ondewo.nlu.GetOperationRequest.prototype.getName = function() {
643
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
603
644
  };
604
645
 
646
+
605
647
  /**
606
648
  * @param {string} value
607
649
  * @return {!proto.ondewo.nlu.GetOperationRequest} returns this
608
650
  */
609
- proto.ondewo.nlu.GetOperationRequest.prototype.setName = function (value) {
610
- return jspb.Message.setProto3StringField(this, 1, value);
651
+ proto.ondewo.nlu.GetOperationRequest.prototype.setName = function(value) {
652
+ return jspb.Message.setProto3StringField(this, 1, value);
611
653
  };
612
654
 
655
+
656
+
657
+
658
+
613
659
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
654
700
  }
655
701
 
702
+
656
703
  /**
657
704
  * Deserializes binary data (in protobuf wire format).
658
705
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
659
706
  * @return {!proto.ondewo.nlu.ListOperationsRequest}
660
707
  */
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);
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);
665
712
  };
666
713
 
714
+
667
715
  /**
668
716
  * Deserializes binary data (in protobuf wire format) from the
669
717
  * given reader into the given message object.
@@ -671,52 +719,54 @@ proto.ondewo.nlu.ListOperationsRequest.deserializeBinary = function (bytes) {
671
719
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
672
720
  * @return {!proto.ondewo.nlu.ListOperationsRequest}
673
721
  */
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;
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;
708
756
  };
709
757
 
758
+
710
759
  /**
711
760
  * Serializes the message to binary data (in protobuf wire format).
712
761
  * @return {!Uint8Array}
713
762
  */
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();
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();
718
767
  };
719
768
 
769
+
720
770
  /**
721
771
  * Serializes the given message to binary data (in protobuf wire
722
772
  * format), writing to the given BinaryWriter.
@@ -724,134 +774,163 @@ proto.ondewo.nlu.ListOperationsRequest.prototype.serializeBinary = function () {
724
774
  * @param {!jspb.BinaryWriter} writer
725
775
  * @suppress {unusedLocalVariables} f is only used for nested messages
726
776
  */
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
- }
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
+ }
749
815
  };
750
816
 
817
+
751
818
  /**
752
819
  * optional string name = 4;
753
820
  * @return {string}
754
821
  */
755
- proto.ondewo.nlu.ListOperationsRequest.prototype.getName = function () {
756
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ''));
822
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getName = function() {
823
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
757
824
  };
758
825
 
826
+
759
827
  /**
760
828
  * @param {string} value
761
829
  * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
762
830
  */
763
- proto.ondewo.nlu.ListOperationsRequest.prototype.setName = function (value) {
764
- return jspb.Message.setProto3StringField(this, 4, value);
831
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setName = function(value) {
832
+ return jspb.Message.setProto3StringField(this, 4, value);
765
833
  };
766
834
 
835
+
767
836
  /**
768
837
  * optional string filter = 1;
769
838
  * @return {string}
770
839
  */
771
- proto.ondewo.nlu.ListOperationsRequest.prototype.getFilter = function () {
772
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
840
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getFilter = function() {
841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
773
842
  };
774
843
 
844
+
775
845
  /**
776
846
  * @param {string} value
777
847
  * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
778
848
  */
779
- proto.ondewo.nlu.ListOperationsRequest.prototype.setFilter = function (value) {
780
- return jspb.Message.setProto3StringField(this, 1, value);
849
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setFilter = function(value) {
850
+ return jspb.Message.setProto3StringField(this, 1, value);
781
851
  };
782
852
 
853
+
783
854
  /**
784
855
  * optional int32 page_size = 2;
785
856
  * @return {number}
786
857
  */
787
- proto.ondewo.nlu.ListOperationsRequest.prototype.getPageSize = function () {
788
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
858
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getPageSize = function() {
859
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
789
860
  };
790
861
 
862
+
791
863
  /**
792
864
  * @param {number} value
793
865
  * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
794
866
  */
795
- proto.ondewo.nlu.ListOperationsRequest.prototype.setPageSize = function (value) {
796
- return jspb.Message.setProto3IntField(this, 2, value);
867
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setPageSize = function(value) {
868
+ return jspb.Message.setProto3IntField(this, 2, value);
797
869
  };
798
870
 
871
+
799
872
  /**
800
873
  * optional string page_token = 3;
801
874
  * @return {string}
802
875
  */
803
- proto.ondewo.nlu.ListOperationsRequest.prototype.getPageToken = function () {
804
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ''));
876
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getPageToken = function() {
877
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
805
878
  };
806
879
 
880
+
807
881
  /**
808
882
  * @param {string} value
809
883
  * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
810
884
  */
811
- proto.ondewo.nlu.ListOperationsRequest.prototype.setPageToken = function (value) {
812
- return jspb.Message.setProto3StringField(this, 3, value);
885
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setPageToken = function(value) {
886
+ return jspb.Message.setProto3StringField(this, 3, value);
813
887
  };
814
888
 
889
+
815
890
  /**
816
891
  * optional OperationFilter operation_filter = 5;
817
892
  * @return {?proto.ondewo.nlu.OperationFilter}
818
893
  */
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
- );
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));
823
897
  };
824
898
 
899
+
825
900
  /**
826
901
  * @param {?proto.ondewo.nlu.OperationFilter|undefined} value
827
902
  * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
828
- */
829
- proto.ondewo.nlu.ListOperationsRequest.prototype.setOperationFilter = function (value) {
830
- return jspb.Message.setWrapperField(this, 5, value);
903
+ */
904
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setOperationFilter = function(value) {
905
+ return jspb.Message.setWrapperField(this, 5, value);
831
906
  };
832
907
 
908
+
833
909
  /**
834
910
  * Clears the message field making it undefined.
835
911
  * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
836
912
  */
837
- proto.ondewo.nlu.ListOperationsRequest.prototype.clearOperationFilter = function () {
838
- return this.setOperationFilter(undefined);
913
+ proto.ondewo.nlu.ListOperationsRequest.prototype.clearOperationFilter = function() {
914
+ return this.setOperationFilter(undefined);
839
915
  };
840
916
 
917
+
841
918
  /**
842
919
  * Returns whether this field is set.
843
920
  * @return {boolean}
844
921
  */
845
- proto.ondewo.nlu.ListOperationsRequest.prototype.hasOperationFilter = function () {
846
- return jspb.Message.getField(this, 5) != null;
922
+ proto.ondewo.nlu.ListOperationsRequest.prototype.hasOperationFilter = function() {
923
+ return jspb.Message.getField(this, 5) != null;
847
924
  };
848
925
 
926
+
927
+
849
928
  /**
850
929
  * List of repeated fields within this message type.
851
930
  * @private {!Array<number>}
852
931
  * @const
853
932
  */
854
- proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1, 2, 3, 6];
933
+ proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1,2,3,6];
855
934
 
856
935
  /**
857
936
  * Oneof group definitions for this message. Each group defines the field
@@ -861,97 +940,97 @@ proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1, 2, 3, 6];
861
940
  * @private {!Array<!Array<number>>}
862
941
  * @const
863
942
  */
864
- proto.ondewo.nlu.OperationFilter.oneofGroups_ = [[4], [5]];
943
+ proto.ondewo.nlu.OperationFilter.oneofGroups_ = [[4],[5]];
865
944
 
866
945
  /**
867
946
  * @enum {number}
868
947
  */
869
948
  proto.ondewo.nlu.OperationFilter.StartTimeOneofCase = {
870
- START_TIME_ONEOF_NOT_SET: 0,
871
- START_TIME: 4
949
+ START_TIME_ONEOF_NOT_SET: 0,
950
+ START_TIME: 4
872
951
  };
873
952
 
874
953
  /**
875
954
  * @return {proto.ondewo.nlu.OperationFilter.StartTimeOneofCase}
876
955
  */
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
- );
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]));
881
958
  };
882
959
 
883
960
  /**
884
961
  * @enum {number}
885
962
  */
886
963
  proto.ondewo.nlu.OperationFilter.EndTimeOneofCase = {
887
- END_TIME_ONEOF_NOT_SET: 0,
888
- END_TIME: 5
964
+ END_TIME_ONEOF_NOT_SET: 0,
965
+ END_TIME: 5
889
966
  };
890
967
 
891
968
  /**
892
969
  * @return {proto.ondewo.nlu.OperationFilter.EndTimeOneofCase}
893
970
  */
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
- );
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]));
898
973
  };
899
974
 
975
+
976
+
900
977
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
942
1019
  }
943
1020
 
1021
+
944
1022
  /**
945
1023
  * Deserializes binary data (in protobuf wire format).
946
1024
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
947
1025
  * @return {!proto.ondewo.nlu.OperationFilter}
948
1026
  */
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);
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);
953
1031
  };
954
1032
 
1033
+
955
1034
  /**
956
1035
  * Deserializes binary data (in protobuf wire format) from the
957
1036
  * given reader into the given message object.
@@ -959,65 +1038,63 @@ proto.ondewo.nlu.OperationFilter.deserializeBinary = function (bytes) {
959
1038
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
960
1039
  * @return {!proto.ondewo.nlu.OperationFilter}
961
1040
  */
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;
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;
1009
1084
  };
1010
1085
 
1086
+
1011
1087
  /**
1012
1088
  * Serializes the message to binary data (in protobuf wire format).
1013
1089
  * @return {!Uint8Array}
1014
1090
  */
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();
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();
1019
1095
  };
1020
1096
 
1097
+
1021
1098
  /**
1022
1099
  * Serializes the given message to binary data (in protobuf wire
1023
1100
  * format), writing to the given BinaryWriter.
@@ -1025,236 +1102,278 @@ proto.ondewo.nlu.OperationFilter.prototype.serializeBinary = function () {
1025
1102
  * @param {!jspb.BinaryWriter} writer
1026
1103
  * @suppress {unusedLocalVariables} f is only used for nested messages
1027
1104
  */
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
- }
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
+ }
1054
1151
  };
1055
1152
 
1153
+
1056
1154
  /**
1057
1155
  * repeated string project_parents = 1;
1058
1156
  * @return {!Array<string>}
1059
1157
  */
1060
- proto.ondewo.nlu.OperationFilter.prototype.getProjectParentsList = function () {
1061
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1158
+ proto.ondewo.nlu.OperationFilter.prototype.getProjectParentsList = function() {
1159
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1062
1160
  };
1063
1161
 
1162
+
1064
1163
  /**
1065
1164
  * @param {!Array<string>} value
1066
1165
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1067
1166
  */
1068
- proto.ondewo.nlu.OperationFilter.prototype.setProjectParentsList = function (value) {
1069
- return jspb.Message.setField(this, 1, value || []);
1167
+ proto.ondewo.nlu.OperationFilter.prototype.setProjectParentsList = function(value) {
1168
+ return jspb.Message.setField(this, 1, value || []);
1070
1169
  };
1071
1170
 
1171
+
1072
1172
  /**
1073
1173
  * @param {string} value
1074
1174
  * @param {number=} opt_index
1075
1175
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1076
1176
  */
1077
- proto.ondewo.nlu.OperationFilter.prototype.addProjectParents = function (value, opt_index) {
1078
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1177
+ proto.ondewo.nlu.OperationFilter.prototype.addProjectParents = function(value, opt_index) {
1178
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1079
1179
  };
1080
1180
 
1181
+
1081
1182
  /**
1082
1183
  * Clears the list making it empty but non-null.
1083
1184
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1084
1185
  */
1085
- proto.ondewo.nlu.OperationFilter.prototype.clearProjectParentsList = function () {
1086
- return this.setProjectParentsList([]);
1186
+ proto.ondewo.nlu.OperationFilter.prototype.clearProjectParentsList = function() {
1187
+ return this.setProjectParentsList([]);
1087
1188
  };
1088
1189
 
1190
+
1089
1191
  /**
1090
1192
  * repeated OperationMetadata.Status statuses = 2;
1091
1193
  * @return {!Array<!proto.ondewo.nlu.OperationMetadata.Status>}
1092
1194
  */
1093
- proto.ondewo.nlu.OperationFilter.prototype.getStatusesList = function () {
1094
- return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} */ (jspb.Message.getRepeatedField(this, 2));
1195
+ proto.ondewo.nlu.OperationFilter.prototype.getStatusesList = function() {
1196
+ return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} */ (jspb.Message.getRepeatedField(this, 2));
1095
1197
  };
1096
1198
 
1199
+
1097
1200
  /**
1098
1201
  * @param {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} value
1099
1202
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1100
1203
  */
1101
- proto.ondewo.nlu.OperationFilter.prototype.setStatusesList = function (value) {
1102
- return jspb.Message.setField(this, 2, value || []);
1204
+ proto.ondewo.nlu.OperationFilter.prototype.setStatusesList = function(value) {
1205
+ return jspb.Message.setField(this, 2, value || []);
1103
1206
  };
1104
1207
 
1208
+
1105
1209
  /**
1106
1210
  * @param {!proto.ondewo.nlu.OperationMetadata.Status} value
1107
1211
  * @param {number=} opt_index
1108
1212
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1109
1213
  */
1110
- proto.ondewo.nlu.OperationFilter.prototype.addStatuses = function (value, opt_index) {
1111
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1214
+ proto.ondewo.nlu.OperationFilter.prototype.addStatuses = function(value, opt_index) {
1215
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1112
1216
  };
1113
1217
 
1218
+
1114
1219
  /**
1115
1220
  * Clears the list making it empty but non-null.
1116
1221
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1117
1222
  */
1118
- proto.ondewo.nlu.OperationFilter.prototype.clearStatusesList = function () {
1119
- return this.setStatusesList([]);
1223
+ proto.ondewo.nlu.OperationFilter.prototype.clearStatusesList = function() {
1224
+ return this.setStatusesList([]);
1120
1225
  };
1121
1226
 
1227
+
1122
1228
  /**
1123
1229
  * repeated OperationMetadata.OperationType types = 3;
1124
1230
  * @return {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>}
1125
1231
  */
1126
- proto.ondewo.nlu.OperationFilter.prototype.getTypesList = function () {
1127
- return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} */ (
1128
- jspb.Message.getRepeatedField(this, 3)
1129
- );
1232
+ proto.ondewo.nlu.OperationFilter.prototype.getTypesList = function() {
1233
+ return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} */ (jspb.Message.getRepeatedField(this, 3));
1130
1234
  };
1131
1235
 
1236
+
1132
1237
  /**
1133
1238
  * @param {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} value
1134
1239
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1135
1240
  */
1136
- proto.ondewo.nlu.OperationFilter.prototype.setTypesList = function (value) {
1137
- return jspb.Message.setField(this, 3, value || []);
1241
+ proto.ondewo.nlu.OperationFilter.prototype.setTypesList = function(value) {
1242
+ return jspb.Message.setField(this, 3, value || []);
1138
1243
  };
1139
1244
 
1245
+
1140
1246
  /**
1141
1247
  * @param {!proto.ondewo.nlu.OperationMetadata.OperationType} value
1142
1248
  * @param {number=} opt_index
1143
1249
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1144
1250
  */
1145
- proto.ondewo.nlu.OperationFilter.prototype.addTypes = function (value, opt_index) {
1146
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
1251
+ proto.ondewo.nlu.OperationFilter.prototype.addTypes = function(value, opt_index) {
1252
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
1147
1253
  };
1148
1254
 
1255
+
1149
1256
  /**
1150
1257
  * Clears the list making it empty but non-null.
1151
1258
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1152
1259
  */
1153
- proto.ondewo.nlu.OperationFilter.prototype.clearTypesList = function () {
1154
- return this.setTypesList([]);
1260
+ proto.ondewo.nlu.OperationFilter.prototype.clearTypesList = function() {
1261
+ return this.setTypesList([]);
1155
1262
  };
1156
1263
 
1264
+
1157
1265
  /**
1158
1266
  * optional google.protobuf.Timestamp start_time = 4;
1159
1267
  * @return {?proto.google.protobuf.Timestamp}
1160
1268
  */
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
- );
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));
1165
1272
  };
1166
1273
 
1274
+
1167
1275
  /**
1168
1276
  * @param {?proto.google.protobuf.Timestamp|undefined} value
1169
1277
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1170
- */
1171
- proto.ondewo.nlu.OperationFilter.prototype.setStartTime = function (value) {
1172
- return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.OperationFilter.oneofGroups_[0], value);
1278
+ */
1279
+ proto.ondewo.nlu.OperationFilter.prototype.setStartTime = function(value) {
1280
+ return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.OperationFilter.oneofGroups_[0], value);
1173
1281
  };
1174
1282
 
1283
+
1175
1284
  /**
1176
1285
  * Clears the message field making it undefined.
1177
1286
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1178
1287
  */
1179
- proto.ondewo.nlu.OperationFilter.prototype.clearStartTime = function () {
1180
- return this.setStartTime(undefined);
1288
+ proto.ondewo.nlu.OperationFilter.prototype.clearStartTime = function() {
1289
+ return this.setStartTime(undefined);
1181
1290
  };
1182
1291
 
1292
+
1183
1293
  /**
1184
1294
  * Returns whether this field is set.
1185
1295
  * @return {boolean}
1186
1296
  */
1187
- proto.ondewo.nlu.OperationFilter.prototype.hasStartTime = function () {
1188
- return jspb.Message.getField(this, 4) != null;
1297
+ proto.ondewo.nlu.OperationFilter.prototype.hasStartTime = function() {
1298
+ return jspb.Message.getField(this, 4) != null;
1189
1299
  };
1190
1300
 
1301
+
1191
1302
  /**
1192
1303
  * optional google.protobuf.Timestamp end_time = 5;
1193
1304
  * @return {?proto.google.protobuf.Timestamp}
1194
1305
  */
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
- );
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));
1199
1309
  };
1200
1310
 
1311
+
1201
1312
  /**
1202
1313
  * @param {?proto.google.protobuf.Timestamp|undefined} value
1203
1314
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1204
- */
1205
- proto.ondewo.nlu.OperationFilter.prototype.setEndTime = function (value) {
1206
- return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.OperationFilter.oneofGroups_[1], value);
1315
+ */
1316
+ proto.ondewo.nlu.OperationFilter.prototype.setEndTime = function(value) {
1317
+ return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.OperationFilter.oneofGroups_[1], value);
1207
1318
  };
1208
1319
 
1320
+
1209
1321
  /**
1210
1322
  * Clears the message field making it undefined.
1211
1323
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1212
1324
  */
1213
- proto.ondewo.nlu.OperationFilter.prototype.clearEndTime = function () {
1214
- return this.setEndTime(undefined);
1325
+ proto.ondewo.nlu.OperationFilter.prototype.clearEndTime = function() {
1326
+ return this.setEndTime(undefined);
1215
1327
  };
1216
1328
 
1329
+
1217
1330
  /**
1218
1331
  * Returns whether this field is set.
1219
1332
  * @return {boolean}
1220
1333
  */
1221
- proto.ondewo.nlu.OperationFilter.prototype.hasEndTime = function () {
1222
- return jspb.Message.getField(this, 5) != null;
1334
+ proto.ondewo.nlu.OperationFilter.prototype.hasEndTime = function() {
1335
+ return jspb.Message.getField(this, 5) != null;
1223
1336
  };
1224
1337
 
1338
+
1225
1339
  /**
1226
1340
  * repeated string user_ids = 6;
1227
1341
  * @return {!Array<string>}
1228
1342
  */
1229
- proto.ondewo.nlu.OperationFilter.prototype.getUserIdsList = function () {
1230
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
1343
+ proto.ondewo.nlu.OperationFilter.prototype.getUserIdsList = function() {
1344
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
1231
1345
  };
1232
1346
 
1347
+
1233
1348
  /**
1234
1349
  * @param {!Array<string>} value
1235
1350
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1236
1351
  */
1237
- proto.ondewo.nlu.OperationFilter.prototype.setUserIdsList = function (value) {
1238
- return jspb.Message.setField(this, 6, value || []);
1352
+ proto.ondewo.nlu.OperationFilter.prototype.setUserIdsList = function(value) {
1353
+ return jspb.Message.setField(this, 6, value || []);
1239
1354
  };
1240
1355
 
1356
+
1241
1357
  /**
1242
1358
  * @param {string} value
1243
1359
  * @param {number=} opt_index
1244
1360
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1245
1361
  */
1246
- proto.ondewo.nlu.OperationFilter.prototype.addUserIds = function (value, opt_index) {
1247
- return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
1362
+ proto.ondewo.nlu.OperationFilter.prototype.addUserIds = function(value, opt_index) {
1363
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
1248
1364
  };
1249
1365
 
1366
+
1250
1367
  /**
1251
1368
  * Clears the list making it empty but non-null.
1252
1369
  * @return {!proto.ondewo.nlu.OperationFilter} returns this
1253
1370
  */
1254
- proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function () {
1255
- return this.setUserIdsList([]);
1371
+ proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function() {
1372
+ return this.setUserIdsList([]);
1256
1373
  };
1257
1374
 
1375
+
1376
+
1258
1377
  /**
1259
1378
  * List of repeated fields within this message type.
1260
1379
  * @private {!Array<number>}
@@ -1262,61 +1381,62 @@ proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function () {
1262
1381
  */
1263
1382
  proto.ondewo.nlu.ListOperationsResponse.repeatedFields_ = [1];
1264
1383
 
1384
+
1385
+
1265
1386
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
1307
1425
  }
1308
1426
 
1427
+
1309
1428
  /**
1310
1429
  * Deserializes binary data (in protobuf wire format).
1311
1430
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1312
1431
  * @return {!proto.ondewo.nlu.ListOperationsResponse}
1313
1432
  */
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);
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);
1318
1437
  };
1319
1438
 
1439
+
1320
1440
  /**
1321
1441
  * Deserializes binary data (in protobuf wire format) from the
1322
1442
  * given reader into the given message object.
@@ -1324,40 +1444,42 @@ proto.ondewo.nlu.ListOperationsResponse.deserializeBinary = function (bytes) {
1324
1444
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1325
1445
  * @return {!proto.ondewo.nlu.ListOperationsResponse}
1326
1446
  */
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;
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;
1349
1469
  };
1350
1470
 
1471
+
1351
1472
  /**
1352
1473
  * Serializes the message to binary data (in protobuf wire format).
1353
1474
  * @return {!Uint8Array}
1354
1475
  */
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();
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();
1359
1480
  };
1360
1481
 
1482
+
1361
1483
  /**
1362
1484
  * Serializes the given message to binary data (in protobuf wire
1363
1485
  * format), writing to the given BinaryWriter.
@@ -1365,119 +1487,137 @@ proto.ondewo.nlu.ListOperationsResponse.prototype.serializeBinary = function ()
1365
1487
  * @param {!jspb.BinaryWriter} writer
1366
1488
  * @suppress {unusedLocalVariables} f is only used for nested messages
1367
1489
  */
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
- }
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
+ }
1378
1507
  };
1379
1508
 
1509
+
1380
1510
  /**
1381
1511
  * repeated Operation operations = 1;
1382
1512
  * @return {!Array<!proto.ondewo.nlu.Operation>}
1383
1513
  */
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
- );
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));
1388
1517
  };
1389
1518
 
1519
+
1390
1520
  /**
1391
1521
  * @param {!Array<!proto.ondewo.nlu.Operation>} value
1392
1522
  * @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
1393
- */
1394
- proto.ondewo.nlu.ListOperationsResponse.prototype.setOperationsList = function (value) {
1395
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1523
+ */
1524
+ proto.ondewo.nlu.ListOperationsResponse.prototype.setOperationsList = function(value) {
1525
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1396
1526
  };
1397
1527
 
1528
+
1398
1529
  /**
1399
1530
  * @param {!proto.ondewo.nlu.Operation=} opt_value
1400
1531
  * @param {number=} opt_index
1401
1532
  * @return {!proto.ondewo.nlu.Operation}
1402
1533
  */
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);
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);
1405
1536
  };
1406
1537
 
1538
+
1407
1539
  /**
1408
1540
  * Clears the list making it empty but non-null.
1409
1541
  * @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
1410
1542
  */
1411
- proto.ondewo.nlu.ListOperationsResponse.prototype.clearOperationsList = function () {
1412
- return this.setOperationsList([]);
1543
+ proto.ondewo.nlu.ListOperationsResponse.prototype.clearOperationsList = function() {
1544
+ return this.setOperationsList([]);
1413
1545
  };
1414
1546
 
1547
+
1415
1548
  /**
1416
1549
  * optional string next_page_token = 2;
1417
1550
  * @return {string}
1418
1551
  */
1419
- proto.ondewo.nlu.ListOperationsResponse.prototype.getNextPageToken = function () {
1420
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
1552
+ proto.ondewo.nlu.ListOperationsResponse.prototype.getNextPageToken = function() {
1553
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1421
1554
  };
1422
1555
 
1556
+
1423
1557
  /**
1424
1558
  * @param {string} value
1425
1559
  * @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
1426
1560
  */
1427
- proto.ondewo.nlu.ListOperationsResponse.prototype.setNextPageToken = function (value) {
1428
- return jspb.Message.setProto3StringField(this, 2, value);
1561
+ proto.ondewo.nlu.ListOperationsResponse.prototype.setNextPageToken = function(value) {
1562
+ return jspb.Message.setProto3StringField(this, 2, value);
1429
1563
  };
1430
1564
 
1565
+
1566
+
1567
+
1568
+
1431
1569
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
1468
1606
  }
1469
1607
 
1608
+
1470
1609
  /**
1471
1610
  * Deserializes binary data (in protobuf wire format).
1472
1611
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1473
1612
  * @return {!proto.ondewo.nlu.CancelOperationRequest}
1474
1613
  */
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);
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);
1479
1618
  };
1480
1619
 
1620
+
1481
1621
  /**
1482
1622
  * Deserializes binary data (in protobuf wire format) from the
1483
1623
  * given reader into the given message object.
@@ -1485,35 +1625,37 @@ proto.ondewo.nlu.CancelOperationRequest.deserializeBinary = function (bytes) {
1485
1625
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1486
1626
  * @return {!proto.ondewo.nlu.CancelOperationRequest}
1487
1627
  */
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;
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;
1505
1645
  };
1506
1646
 
1647
+
1507
1648
  /**
1508
1649
  * Serializes the message to binary data (in protobuf wire format).
1509
1650
  * @return {!Uint8Array}
1510
1651
  */
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();
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();
1515
1656
  };
1516
1657
 
1658
+
1517
1659
  /**
1518
1660
  * Serializes the given message to binary data (in protobuf wire
1519
1661
  * format), writing to the given BinaryWriter.
@@ -1521,80 +1663,91 @@ proto.ondewo.nlu.CancelOperationRequest.prototype.serializeBinary = function ()
1521
1663
  * @param {!jspb.BinaryWriter} writer
1522
1664
  * @suppress {unusedLocalVariables} f is only used for nested messages
1523
1665
  */
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
- }
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
+ }
1530
1675
  };
1531
1676
 
1677
+
1532
1678
  /**
1533
1679
  * optional string name = 1;
1534
1680
  * @return {string}
1535
1681
  */
1536
- proto.ondewo.nlu.CancelOperationRequest.prototype.getName = function () {
1537
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1682
+ proto.ondewo.nlu.CancelOperationRequest.prototype.getName = function() {
1683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1538
1684
  };
1539
1685
 
1686
+
1540
1687
  /**
1541
1688
  * @param {string} value
1542
1689
  * @return {!proto.ondewo.nlu.CancelOperationRequest} returns this
1543
1690
  */
1544
- proto.ondewo.nlu.CancelOperationRequest.prototype.setName = function (value) {
1545
- return jspb.Message.setProto3StringField(this, 1, value);
1691
+ proto.ondewo.nlu.CancelOperationRequest.prototype.setName = function(value) {
1692
+ return jspb.Message.setProto3StringField(this, 1, value);
1546
1693
  };
1547
1694
 
1695
+
1696
+
1697
+
1698
+
1548
1699
  if (jspb.Message.GENERATE_TO_OBJECT) {
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
- };
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
+ };
1585
1736
  }
1586
1737
 
1738
+
1587
1739
  /**
1588
1740
  * Deserializes binary data (in protobuf wire format).
1589
1741
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1590
1742
  * @return {!proto.ondewo.nlu.DeleteOperationRequest}
1591
1743
  */
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);
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);
1596
1748
  };
1597
1749
 
1750
+
1598
1751
  /**
1599
1752
  * Deserializes binary data (in protobuf wire format) from the
1600
1753
  * given reader into the given message object.
@@ -1602,35 +1755,37 @@ proto.ondewo.nlu.DeleteOperationRequest.deserializeBinary = function (bytes) {
1602
1755
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1603
1756
  * @return {!proto.ondewo.nlu.DeleteOperationRequest}
1604
1757
  */
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;
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;
1622
1775
  };
1623
1776
 
1777
+
1624
1778
  /**
1625
1779
  * Serializes the message to binary data (in protobuf wire format).
1626
1780
  * @return {!Uint8Array}
1627
1781
  */
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();
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();
1632
1786
  };
1633
1787
 
1788
+
1634
1789
  /**
1635
1790
  * Serializes the given message to binary data (in protobuf wire
1636
1791
  * format), writing to the given BinaryWriter.
@@ -1638,28 +1793,34 @@ proto.ondewo.nlu.DeleteOperationRequest.prototype.serializeBinary = function ()
1638
1793
  * @param {!jspb.BinaryWriter} writer
1639
1794
  * @suppress {unusedLocalVariables} f is only used for nested messages
1640
1795
  */
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
- }
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
+ }
1647
1805
  };
1648
1806
 
1807
+
1649
1808
  /**
1650
1809
  * optional string name = 1;
1651
1810
  * @return {string}
1652
1811
  */
1653
- proto.ondewo.nlu.DeleteOperationRequest.prototype.getName = function () {
1654
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
1812
+ proto.ondewo.nlu.DeleteOperationRequest.prototype.getName = function() {
1813
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1655
1814
  };
1656
1815
 
1816
+
1657
1817
  /**
1658
1818
  * @param {string} value
1659
1819
  * @return {!proto.ondewo.nlu.DeleteOperationRequest} returns this
1660
1820
  */
1661
- proto.ondewo.nlu.DeleteOperationRequest.prototype.setName = function (value) {
1662
- return jspb.Message.setProto3StringField(this, 1, value);
1821
+ proto.ondewo.nlu.DeleteOperationRequest.prototype.setName = function(value) {
1822
+ return jspb.Message.setProto3StringField(this, 1, value);
1663
1823
  };
1664
1824
 
1825
+
1665
1826
  goog.object.extend(exports, proto.ondewo.nlu);