@ondewo/nlu-client-typescript 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations_pb.d.ts +6 -0
  4. package/api/google/api/annotations_pb.js +48 -0
  5. package/api/google/protobuf/any_pb.d.ts +28 -0
  6. package/api/google/protobuf/any_pb.js +275 -0
  7. package/api/google/protobuf/empty_pb.d.ts +18 -0
  8. package/api/google/protobuf/empty_pb.js +141 -0
  9. package/api/google/protobuf/field_mask_pb.d.ts +24 -0
  10. package/api/google/protobuf/field_mask_pb.js +196 -0
  11. package/api/google/protobuf/struct_pb.d.ts +99 -0
  12. package/api/google/protobuf/struct_pb.js +948 -0
  13. package/api/google/protobuf/timestamp_pb.d.ts +26 -0
  14. package/api/google/protobuf/timestamp_pb.js +236 -0
  15. package/api/google/rpc/status_pb.d.ts +33 -0
  16. package/api/google/rpc/status_pb.js +262 -0
  17. package/api/google/type/latlng_pb.d.ts +26 -0
  18. package/api/google/type/latlng_pb.js +200 -0
  19. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
  20. package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
  21. package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
  22. package/api/ondewo/nlu/agent_pb.js +16648 -0
  23. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
  24. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
  25. package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
  26. package/api/ondewo/nlu/aiservices_pb.js +7601 -0
  27. package/api/ondewo/nlu/common_pb.d.ts +26 -0
  28. package/api/ondewo/nlu/common_pb.js +179 -0
  29. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
  30. package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
  31. package/api/ondewo/nlu/context_pb.d.ts +218 -0
  32. package/api/ondewo/nlu/context_pb.js +1788 -0
  33. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
  34. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
  35. package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
  36. package/api/ondewo/nlu/entity_type_pb.js +5970 -0
  37. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
  38. package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
  39. package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
  40. package/api/ondewo/nlu/intent_pb.js +18784 -0
  41. package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
  42. package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
  43. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
  44. package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
  45. package/api/ondewo/nlu/operations_pb.d.ts +236 -0
  46. package/api/ondewo/nlu/operations_pb.js +1826 -0
  47. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
  48. package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
  49. package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
  50. package/api/ondewo/nlu/project_role_pb.js +1713 -0
  51. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
  52. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
  53. package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
  54. package/api/ondewo/nlu/project_statistics_pb.js +724 -0
  55. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
  56. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
  57. package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
  58. package/api/ondewo/nlu/server_statistics_pb.js +176 -0
  59. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
  60. package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
  61. package/api/ondewo/nlu/session_pb.d.ts +1192 -0
  62. package/api/ondewo/nlu/session_pb.js +9762 -0
  63. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
  64. package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
  65. package/api/ondewo/nlu/user_pb.d.ts +489 -0
  66. package/api/ondewo/nlu/user_pb.js +4057 -0
  67. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
  68. package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
  69. package/api/ondewo/nlu/utility_pb.d.ts +708 -0
  70. package/api/ondewo/nlu/utility_pb.js +5914 -0
  71. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
  72. package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
  73. package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
  74. package/api/ondewo/nlu/webhook_pb.js +1267 -0
  75. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
  76. package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
  77. package/api/ondewo/qa/qa_pb.d.ts +304 -0
  78. package/api/ondewo/qa/qa_pb.js +2553 -0
  79. package/package.json +18 -0
  80. package/public-api.d.ts +38 -0
@@ -0,0 +1,1826 @@
1
+ // source: ondewo/nlu/operations.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
17
+
18
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
19
+ goog.object.extend(proto, google_api_annotations_pb);
20
+ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
21
+ goog.object.extend(proto, google_protobuf_any_pb);
22
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
23
+ goog.object.extend(proto, google_protobuf_empty_pb);
24
+ var google_rpc_status_pb = require('../../google/rpc/status_pb.js');
25
+ goog.object.extend(proto, google_rpc_status_pb);
26
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
28
+ var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js');
29
+ goog.object.extend(proto, ondewo_nlu_operation_metadata_pb);
30
+ goog.exportSymbol('proto.ondewo.nlu.CancelOperationRequest', null, global);
31
+ goog.exportSymbol('proto.ondewo.nlu.DeleteOperationRequest', null, global);
32
+ goog.exportSymbol('proto.ondewo.nlu.GetOperationRequest', null, global);
33
+ goog.exportSymbol('proto.ondewo.nlu.ListOperationsRequest', null, global);
34
+ goog.exportSymbol('proto.ondewo.nlu.ListOperationsResponse', null, global);
35
+ goog.exportSymbol('proto.ondewo.nlu.Operation', null, global);
36
+ goog.exportSymbol('proto.ondewo.nlu.Operation.ResultCase', null, global);
37
+ goog.exportSymbol('proto.ondewo.nlu.OperationFilter', null, global);
38
+ goog.exportSymbol('proto.ondewo.nlu.OperationFilter.EndTimeOneofCase', null, global);
39
+ goog.exportSymbol('proto.ondewo.nlu.OperationFilter.StartTimeOneofCase', null, global);
40
+ /**
41
+ * Generated by JsPbCodeGenerator.
42
+ * @param {Array=} opt_data Optional initial data array, typically from a
43
+ * server response, or constructed directly in Javascript. The array is used
44
+ * in place and becomes part of the constructed object. It is not cloned.
45
+ * If no data is provided, the constructed object will be empty, but still
46
+ * valid.
47
+ * @extends {jspb.Message}
48
+ * @constructor
49
+ */
50
+ proto.ondewo.nlu.Operation = function(opt_data) {
51
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ondewo.nlu.Operation.oneofGroups_);
52
+ };
53
+ goog.inherits(proto.ondewo.nlu.Operation, jspb.Message);
54
+ if (goog.DEBUG && !COMPILED) {
55
+ /**
56
+ * @public
57
+ * @override
58
+ */
59
+ proto.ondewo.nlu.Operation.displayName = 'proto.ondewo.nlu.Operation';
60
+ }
61
+ /**
62
+ * Generated by JsPbCodeGenerator.
63
+ * @param {Array=} opt_data Optional initial data array, typically from a
64
+ * server response, or constructed directly in Javascript. The array is used
65
+ * in place and becomes part of the constructed object. It is not cloned.
66
+ * If no data is provided, the constructed object will be empty, but still
67
+ * valid.
68
+ * @extends {jspb.Message}
69
+ * @constructor
70
+ */
71
+ proto.ondewo.nlu.GetOperationRequest = function(opt_data) {
72
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
73
+ };
74
+ goog.inherits(proto.ondewo.nlu.GetOperationRequest, jspb.Message);
75
+ if (goog.DEBUG && !COMPILED) {
76
+ /**
77
+ * @public
78
+ * @override
79
+ */
80
+ proto.ondewo.nlu.GetOperationRequest.displayName = 'proto.ondewo.nlu.GetOperationRequest';
81
+ }
82
+ /**
83
+ * Generated by JsPbCodeGenerator.
84
+ * @param {Array=} opt_data Optional initial data array, typically from a
85
+ * server response, or constructed directly in Javascript. The array is used
86
+ * in place and becomes part of the constructed object. It is not cloned.
87
+ * If no data is provided, the constructed object will be empty, but still
88
+ * valid.
89
+ * @extends {jspb.Message}
90
+ * @constructor
91
+ */
92
+ proto.ondewo.nlu.ListOperationsRequest = function(opt_data) {
93
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
94
+ };
95
+ goog.inherits(proto.ondewo.nlu.ListOperationsRequest, jspb.Message);
96
+ if (goog.DEBUG && !COMPILED) {
97
+ /**
98
+ * @public
99
+ * @override
100
+ */
101
+ proto.ondewo.nlu.ListOperationsRequest.displayName = 'proto.ondewo.nlu.ListOperationsRequest';
102
+ }
103
+ /**
104
+ * Generated by JsPbCodeGenerator.
105
+ * @param {Array=} opt_data Optional initial data array, typically from a
106
+ * server response, or constructed directly in Javascript. The array is used
107
+ * in place and becomes part of the constructed object. It is not cloned.
108
+ * If no data is provided, the constructed object will be empty, but still
109
+ * valid.
110
+ * @extends {jspb.Message}
111
+ * @constructor
112
+ */
113
+ proto.ondewo.nlu.OperationFilter = function(opt_data) {
114
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.OperationFilter.repeatedFields_, proto.ondewo.nlu.OperationFilter.oneofGroups_);
115
+ };
116
+ goog.inherits(proto.ondewo.nlu.OperationFilter, jspb.Message);
117
+ if (goog.DEBUG && !COMPILED) {
118
+ /**
119
+ * @public
120
+ * @override
121
+ */
122
+ proto.ondewo.nlu.OperationFilter.displayName = 'proto.ondewo.nlu.OperationFilter';
123
+ }
124
+ /**
125
+ * Generated by JsPbCodeGenerator.
126
+ * @param {Array=} opt_data Optional initial data array, typically from a
127
+ * server response, or constructed directly in Javascript. The array is used
128
+ * in place and becomes part of the constructed object. It is not cloned.
129
+ * If no data is provided, the constructed object will be empty, but still
130
+ * valid.
131
+ * @extends {jspb.Message}
132
+ * @constructor
133
+ */
134
+ proto.ondewo.nlu.ListOperationsResponse = function(opt_data) {
135
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListOperationsResponse.repeatedFields_, null);
136
+ };
137
+ goog.inherits(proto.ondewo.nlu.ListOperationsResponse, jspb.Message);
138
+ if (goog.DEBUG && !COMPILED) {
139
+ /**
140
+ * @public
141
+ * @override
142
+ */
143
+ proto.ondewo.nlu.ListOperationsResponse.displayName = 'proto.ondewo.nlu.ListOperationsResponse';
144
+ }
145
+ /**
146
+ * Generated by JsPbCodeGenerator.
147
+ * @param {Array=} opt_data Optional initial data array, typically from a
148
+ * server response, or constructed directly in Javascript. The array is used
149
+ * in place and becomes part of the constructed object. It is not cloned.
150
+ * If no data is provided, the constructed object will be empty, but still
151
+ * valid.
152
+ * @extends {jspb.Message}
153
+ * @constructor
154
+ */
155
+ proto.ondewo.nlu.CancelOperationRequest = function(opt_data) {
156
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
157
+ };
158
+ goog.inherits(proto.ondewo.nlu.CancelOperationRequest, jspb.Message);
159
+ if (goog.DEBUG && !COMPILED) {
160
+ /**
161
+ * @public
162
+ * @override
163
+ */
164
+ proto.ondewo.nlu.CancelOperationRequest.displayName = 'proto.ondewo.nlu.CancelOperationRequest';
165
+ }
166
+ /**
167
+ * Generated by JsPbCodeGenerator.
168
+ * @param {Array=} opt_data Optional initial data array, typically from a
169
+ * server response, or constructed directly in Javascript. The array is used
170
+ * in place and becomes part of the constructed object. It is not cloned.
171
+ * If no data is provided, the constructed object will be empty, but still
172
+ * valid.
173
+ * @extends {jspb.Message}
174
+ * @constructor
175
+ */
176
+ proto.ondewo.nlu.DeleteOperationRequest = function(opt_data) {
177
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
178
+ };
179
+ goog.inherits(proto.ondewo.nlu.DeleteOperationRequest, jspb.Message);
180
+ if (goog.DEBUG && !COMPILED) {
181
+ /**
182
+ * @public
183
+ * @override
184
+ */
185
+ proto.ondewo.nlu.DeleteOperationRequest.displayName = 'proto.ondewo.nlu.DeleteOperationRequest';
186
+ }
187
+
188
+ /**
189
+ * Oneof group definitions for this message. Each group defines the field
190
+ * numbers belonging to that group. When of these fields' value is set, all
191
+ * other fields in the group are cleared. During deserialization, if multiple
192
+ * fields are encountered for a group, only the last value seen will be kept.
193
+ * @private {!Array<!Array<number>>}
194
+ * @const
195
+ */
196
+ proto.ondewo.nlu.Operation.oneofGroups_ = [[4,5]];
197
+
198
+ /**
199
+ * @enum {number}
200
+ */
201
+ proto.ondewo.nlu.Operation.ResultCase = {
202
+ RESULT_NOT_SET: 0,
203
+ ERROR: 4,
204
+ RESPONSE: 5
205
+ };
206
+
207
+ /**
208
+ * @return {proto.ondewo.nlu.Operation.ResultCase}
209
+ */
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]));
212
+ };
213
+
214
+
215
+
216
+ if (jspb.Message.GENERATE_TO_OBJECT) {
217
+ /**
218
+ * Creates an object representation of this proto.
219
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
220
+ * Optional fields that are not set will be set to undefined.
221
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
222
+ * For the list of reserved names please see:
223
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
224
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
225
+ * JSPB instance for transitional soy proto support:
226
+ * http://goto/soy-param-migration
227
+ * @return {!Object}
228
+ */
229
+ proto.ondewo.nlu.Operation.prototype.toObject = function(opt_includeInstance) {
230
+ return proto.ondewo.nlu.Operation.toObject(opt_includeInstance, this);
231
+ };
232
+
233
+
234
+ /**
235
+ * Static version of the {@see toObject} method.
236
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
237
+ * the JSPB instance for transitional soy proto support:
238
+ * http://goto/soy-param-migration
239
+ * @param {!proto.ondewo.nlu.Operation} msg The msg instance to transform.
240
+ * @return {!Object}
241
+ * @suppress {unusedLocalVariables} f is only used for nested messages
242
+ */
243
+ proto.ondewo.nlu.Operation.toObject = function(includeInstance, msg) {
244
+ var f, obj = {
245
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
246
+ metadata: (f = msg.getMetadata()) && ondewo_nlu_operation_metadata_pb.OperationMetadata.toObject(includeInstance, f),
247
+ done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
248
+ error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
249
+ response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
250
+ };
251
+
252
+ if (includeInstance) {
253
+ obj.$jspbMessageInstance = msg;
254
+ }
255
+ return obj;
256
+ };
257
+ }
258
+
259
+
260
+ /**
261
+ * Deserializes binary data (in protobuf wire format).
262
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
263
+ * @return {!proto.ondewo.nlu.Operation}
264
+ */
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);
269
+ };
270
+
271
+
272
+ /**
273
+ * Deserializes binary data (in protobuf wire format) from the
274
+ * given reader into the given message object.
275
+ * @param {!proto.ondewo.nlu.Operation} msg The message object to deserialize into.
276
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
277
+ * @return {!proto.ondewo.nlu.Operation}
278
+ */
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;
315
+ };
316
+
317
+
318
+ /**
319
+ * Serializes the message to binary data (in protobuf wire format).
320
+ * @return {!Uint8Array}
321
+ */
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();
326
+ };
327
+
328
+
329
+ /**
330
+ * Serializes the given message to binary data (in protobuf wire
331
+ * format), writing to the given BinaryWriter.
332
+ * @param {!proto.ondewo.nlu.Operation} message
333
+ * @param {!jspb.BinaryWriter} writer
334
+ * @suppress {unusedLocalVariables} f is only used for nested messages
335
+ */
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
+ }
376
+ };
377
+
378
+
379
+ /**
380
+ * optional string name = 1;
381
+ * @return {string}
382
+ */
383
+ proto.ondewo.nlu.Operation.prototype.getName = function() {
384
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
385
+ };
386
+
387
+
388
+ /**
389
+ * @param {string} value
390
+ * @return {!proto.ondewo.nlu.Operation} returns this
391
+ */
392
+ proto.ondewo.nlu.Operation.prototype.setName = function(value) {
393
+ return jspb.Message.setProto3StringField(this, 1, value);
394
+ };
395
+
396
+
397
+ /**
398
+ * optional OperationMetadata metadata = 2;
399
+ * @return {?proto.ondewo.nlu.OperationMetadata}
400
+ */
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));
404
+ };
405
+
406
+
407
+ /**
408
+ * @param {?proto.ondewo.nlu.OperationMetadata|undefined} value
409
+ * @return {!proto.ondewo.nlu.Operation} returns this
410
+ */
411
+ proto.ondewo.nlu.Operation.prototype.setMetadata = function(value) {
412
+ return jspb.Message.setWrapperField(this, 2, value);
413
+ };
414
+
415
+
416
+ /**
417
+ * Clears the message field making it undefined.
418
+ * @return {!proto.ondewo.nlu.Operation} returns this
419
+ */
420
+ proto.ondewo.nlu.Operation.prototype.clearMetadata = function() {
421
+ return this.setMetadata(undefined);
422
+ };
423
+
424
+
425
+ /**
426
+ * Returns whether this field is set.
427
+ * @return {boolean}
428
+ */
429
+ proto.ondewo.nlu.Operation.prototype.hasMetadata = function() {
430
+ return jspb.Message.getField(this, 2) != null;
431
+ };
432
+
433
+
434
+ /**
435
+ * optional bool done = 3;
436
+ * @return {boolean}
437
+ */
438
+ proto.ondewo.nlu.Operation.prototype.getDone = function() {
439
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
440
+ };
441
+
442
+
443
+ /**
444
+ * @param {boolean} value
445
+ * @return {!proto.ondewo.nlu.Operation} returns this
446
+ */
447
+ proto.ondewo.nlu.Operation.prototype.setDone = function(value) {
448
+ return jspb.Message.setProto3BooleanField(this, 3, value);
449
+ };
450
+
451
+
452
+ /**
453
+ * optional google.rpc.Status error = 4;
454
+ * @return {?proto.google.rpc.Status}
455
+ */
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));
459
+ };
460
+
461
+
462
+ /**
463
+ * @param {?proto.google.rpc.Status|undefined} value
464
+ * @return {!proto.ondewo.nlu.Operation} returns this
465
+ */
466
+ proto.ondewo.nlu.Operation.prototype.setError = function(value) {
467
+ return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
468
+ };
469
+
470
+
471
+ /**
472
+ * Clears the message field making it undefined.
473
+ * @return {!proto.ondewo.nlu.Operation} returns this
474
+ */
475
+ proto.ondewo.nlu.Operation.prototype.clearError = function() {
476
+ return this.setError(undefined);
477
+ };
478
+
479
+
480
+ /**
481
+ * Returns whether this field is set.
482
+ * @return {boolean}
483
+ */
484
+ proto.ondewo.nlu.Operation.prototype.hasError = function() {
485
+ return jspb.Message.getField(this, 4) != null;
486
+ };
487
+
488
+
489
+ /**
490
+ * optional google.protobuf.Any response = 5;
491
+ * @return {?proto.google.protobuf.Any}
492
+ */
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));
496
+ };
497
+
498
+
499
+ /**
500
+ * @param {?proto.google.protobuf.Any|undefined} value
501
+ * @return {!proto.ondewo.nlu.Operation} returns this
502
+ */
503
+ proto.ondewo.nlu.Operation.prototype.setResponse = function(value) {
504
+ return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
505
+ };
506
+
507
+
508
+ /**
509
+ * Clears the message field making it undefined.
510
+ * @return {!proto.ondewo.nlu.Operation} returns this
511
+ */
512
+ proto.ondewo.nlu.Operation.prototype.clearResponse = function() {
513
+ return this.setResponse(undefined);
514
+ };
515
+
516
+
517
+ /**
518
+ * Returns whether this field is set.
519
+ * @return {boolean}
520
+ */
521
+ proto.ondewo.nlu.Operation.prototype.hasResponse = function() {
522
+ return jspb.Message.getField(this, 5) != null;
523
+ };
524
+
525
+
526
+
527
+
528
+
529
+ if (jspb.Message.GENERATE_TO_OBJECT) {
530
+ /**
531
+ * Creates an object representation of this proto.
532
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
533
+ * Optional fields that are not set will be set to undefined.
534
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
535
+ * For the list of reserved names please see:
536
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
537
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
538
+ * JSPB instance for transitional soy proto support:
539
+ * http://goto/soy-param-migration
540
+ * @return {!Object}
541
+ */
542
+ proto.ondewo.nlu.GetOperationRequest.prototype.toObject = function(opt_includeInstance) {
543
+ return proto.ondewo.nlu.GetOperationRequest.toObject(opt_includeInstance, this);
544
+ };
545
+
546
+
547
+ /**
548
+ * Static version of the {@see toObject} method.
549
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
550
+ * the JSPB instance for transitional soy proto support:
551
+ * http://goto/soy-param-migration
552
+ * @param {!proto.ondewo.nlu.GetOperationRequest} msg The msg instance to transform.
553
+ * @return {!Object}
554
+ * @suppress {unusedLocalVariables} f is only used for nested messages
555
+ */
556
+ proto.ondewo.nlu.GetOperationRequest.toObject = function(includeInstance, msg) {
557
+ var f, obj = {
558
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
559
+ };
560
+
561
+ if (includeInstance) {
562
+ obj.$jspbMessageInstance = msg;
563
+ }
564
+ return obj;
565
+ };
566
+ }
567
+
568
+
569
+ /**
570
+ * Deserializes binary data (in protobuf wire format).
571
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
572
+ * @return {!proto.ondewo.nlu.GetOperationRequest}
573
+ */
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);
578
+ };
579
+
580
+
581
+ /**
582
+ * Deserializes binary data (in protobuf wire format) from the
583
+ * given reader into the given message object.
584
+ * @param {!proto.ondewo.nlu.GetOperationRequest} msg The message object to deserialize into.
585
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
586
+ * @return {!proto.ondewo.nlu.GetOperationRequest}
587
+ */
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;
605
+ };
606
+
607
+
608
+ /**
609
+ * Serializes the message to binary data (in protobuf wire format).
610
+ * @return {!Uint8Array}
611
+ */
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();
616
+ };
617
+
618
+
619
+ /**
620
+ * Serializes the given message to binary data (in protobuf wire
621
+ * format), writing to the given BinaryWriter.
622
+ * @param {!proto.ondewo.nlu.GetOperationRequest} message
623
+ * @param {!jspb.BinaryWriter} writer
624
+ * @suppress {unusedLocalVariables} f is only used for nested messages
625
+ */
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
+ }
635
+ };
636
+
637
+
638
+ /**
639
+ * optional string name = 1;
640
+ * @return {string}
641
+ */
642
+ proto.ondewo.nlu.GetOperationRequest.prototype.getName = function() {
643
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
644
+ };
645
+
646
+
647
+ /**
648
+ * @param {string} value
649
+ * @return {!proto.ondewo.nlu.GetOperationRequest} returns this
650
+ */
651
+ proto.ondewo.nlu.GetOperationRequest.prototype.setName = function(value) {
652
+ return jspb.Message.setProto3StringField(this, 1, value);
653
+ };
654
+
655
+
656
+
657
+
658
+
659
+ if (jspb.Message.GENERATE_TO_OBJECT) {
660
+ /**
661
+ * Creates an object representation of this proto.
662
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
663
+ * Optional fields that are not set will be set to undefined.
664
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
665
+ * For the list of reserved names please see:
666
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
667
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
668
+ * JSPB instance for transitional soy proto support:
669
+ * http://goto/soy-param-migration
670
+ * @return {!Object}
671
+ */
672
+ proto.ondewo.nlu.ListOperationsRequest.prototype.toObject = function(opt_includeInstance) {
673
+ return proto.ondewo.nlu.ListOperationsRequest.toObject(opt_includeInstance, this);
674
+ };
675
+
676
+
677
+ /**
678
+ * Static version of the {@see toObject} method.
679
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
680
+ * the JSPB instance for transitional soy proto support:
681
+ * http://goto/soy-param-migration
682
+ * @param {!proto.ondewo.nlu.ListOperationsRequest} msg The msg instance to transform.
683
+ * @return {!Object}
684
+ * @suppress {unusedLocalVariables} f is only used for nested messages
685
+ */
686
+ proto.ondewo.nlu.ListOperationsRequest.toObject = function(includeInstance, msg) {
687
+ var f, obj = {
688
+ name: jspb.Message.getFieldWithDefault(msg, 4, ""),
689
+ filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
690
+ pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
691
+ pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
692
+ operationFilter: (f = msg.getOperationFilter()) && proto.ondewo.nlu.OperationFilter.toObject(includeInstance, f)
693
+ };
694
+
695
+ if (includeInstance) {
696
+ obj.$jspbMessageInstance = msg;
697
+ }
698
+ return obj;
699
+ };
700
+ }
701
+
702
+
703
+ /**
704
+ * Deserializes binary data (in protobuf wire format).
705
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
706
+ * @return {!proto.ondewo.nlu.ListOperationsRequest}
707
+ */
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);
712
+ };
713
+
714
+
715
+ /**
716
+ * Deserializes binary data (in protobuf wire format) from the
717
+ * given reader into the given message object.
718
+ * @param {!proto.ondewo.nlu.ListOperationsRequest} msg The message object to deserialize into.
719
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
720
+ * @return {!proto.ondewo.nlu.ListOperationsRequest}
721
+ */
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;
756
+ };
757
+
758
+
759
+ /**
760
+ * Serializes the message to binary data (in protobuf wire format).
761
+ * @return {!Uint8Array}
762
+ */
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();
767
+ };
768
+
769
+
770
+ /**
771
+ * Serializes the given message to binary data (in protobuf wire
772
+ * format), writing to the given BinaryWriter.
773
+ * @param {!proto.ondewo.nlu.ListOperationsRequest} message
774
+ * @param {!jspb.BinaryWriter} writer
775
+ * @suppress {unusedLocalVariables} f is only used for nested messages
776
+ */
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
+ }
815
+ };
816
+
817
+
818
+ /**
819
+ * optional string name = 4;
820
+ * @return {string}
821
+ */
822
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getName = function() {
823
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
824
+ };
825
+
826
+
827
+ /**
828
+ * @param {string} value
829
+ * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
830
+ */
831
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setName = function(value) {
832
+ return jspb.Message.setProto3StringField(this, 4, value);
833
+ };
834
+
835
+
836
+ /**
837
+ * optional string filter = 1;
838
+ * @return {string}
839
+ */
840
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getFilter = function() {
841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
842
+ };
843
+
844
+
845
+ /**
846
+ * @param {string} value
847
+ * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
848
+ */
849
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setFilter = function(value) {
850
+ return jspb.Message.setProto3StringField(this, 1, value);
851
+ };
852
+
853
+
854
+ /**
855
+ * optional int32 page_size = 2;
856
+ * @return {number}
857
+ */
858
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getPageSize = function() {
859
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
860
+ };
861
+
862
+
863
+ /**
864
+ * @param {number} value
865
+ * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
866
+ */
867
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setPageSize = function(value) {
868
+ return jspb.Message.setProto3IntField(this, 2, value);
869
+ };
870
+
871
+
872
+ /**
873
+ * optional string page_token = 3;
874
+ * @return {string}
875
+ */
876
+ proto.ondewo.nlu.ListOperationsRequest.prototype.getPageToken = function() {
877
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
878
+ };
879
+
880
+
881
+ /**
882
+ * @param {string} value
883
+ * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
884
+ */
885
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setPageToken = function(value) {
886
+ return jspb.Message.setProto3StringField(this, 3, value);
887
+ };
888
+
889
+
890
+ /**
891
+ * optional OperationFilter operation_filter = 5;
892
+ * @return {?proto.ondewo.nlu.OperationFilter}
893
+ */
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));
897
+ };
898
+
899
+
900
+ /**
901
+ * @param {?proto.ondewo.nlu.OperationFilter|undefined} value
902
+ * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
903
+ */
904
+ proto.ondewo.nlu.ListOperationsRequest.prototype.setOperationFilter = function(value) {
905
+ return jspb.Message.setWrapperField(this, 5, value);
906
+ };
907
+
908
+
909
+ /**
910
+ * Clears the message field making it undefined.
911
+ * @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
912
+ */
913
+ proto.ondewo.nlu.ListOperationsRequest.prototype.clearOperationFilter = function() {
914
+ return this.setOperationFilter(undefined);
915
+ };
916
+
917
+
918
+ /**
919
+ * Returns whether this field is set.
920
+ * @return {boolean}
921
+ */
922
+ proto.ondewo.nlu.ListOperationsRequest.prototype.hasOperationFilter = function() {
923
+ return jspb.Message.getField(this, 5) != null;
924
+ };
925
+
926
+
927
+
928
+ /**
929
+ * List of repeated fields within this message type.
930
+ * @private {!Array<number>}
931
+ * @const
932
+ */
933
+ proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1,2,3,6];
934
+
935
+ /**
936
+ * Oneof group definitions for this message. Each group defines the field
937
+ * numbers belonging to that group. When of these fields' value is set, all
938
+ * other fields in the group are cleared. During deserialization, if multiple
939
+ * fields are encountered for a group, only the last value seen will be kept.
940
+ * @private {!Array<!Array<number>>}
941
+ * @const
942
+ */
943
+ proto.ondewo.nlu.OperationFilter.oneofGroups_ = [[4],[5]];
944
+
945
+ /**
946
+ * @enum {number}
947
+ */
948
+ proto.ondewo.nlu.OperationFilter.StartTimeOneofCase = {
949
+ START_TIME_ONEOF_NOT_SET: 0,
950
+ START_TIME: 4
951
+ };
952
+
953
+ /**
954
+ * @return {proto.ondewo.nlu.OperationFilter.StartTimeOneofCase}
955
+ */
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]));
958
+ };
959
+
960
+ /**
961
+ * @enum {number}
962
+ */
963
+ proto.ondewo.nlu.OperationFilter.EndTimeOneofCase = {
964
+ END_TIME_ONEOF_NOT_SET: 0,
965
+ END_TIME: 5
966
+ };
967
+
968
+ /**
969
+ * @return {proto.ondewo.nlu.OperationFilter.EndTimeOneofCase}
970
+ */
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]));
973
+ };
974
+
975
+
976
+
977
+ if (jspb.Message.GENERATE_TO_OBJECT) {
978
+ /**
979
+ * Creates an object representation of this proto.
980
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
981
+ * Optional fields that are not set will be set to undefined.
982
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
983
+ * For the list of reserved names please see:
984
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
985
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
986
+ * JSPB instance for transitional soy proto support:
987
+ * http://goto/soy-param-migration
988
+ * @return {!Object}
989
+ */
990
+ proto.ondewo.nlu.OperationFilter.prototype.toObject = function(opt_includeInstance) {
991
+ return proto.ondewo.nlu.OperationFilter.toObject(opt_includeInstance, this);
992
+ };
993
+
994
+
995
+ /**
996
+ * Static version of the {@see toObject} method.
997
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
998
+ * the JSPB instance for transitional soy proto support:
999
+ * http://goto/soy-param-migration
1000
+ * @param {!proto.ondewo.nlu.OperationFilter} msg The msg instance to transform.
1001
+ * @return {!Object}
1002
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1003
+ */
1004
+ proto.ondewo.nlu.OperationFilter.toObject = function(includeInstance, msg) {
1005
+ var f, obj = {
1006
+ projectParentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1007
+ statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1008
+ typesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1009
+ startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1010
+ endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1011
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
1012
+ };
1013
+
1014
+ if (includeInstance) {
1015
+ obj.$jspbMessageInstance = msg;
1016
+ }
1017
+ return obj;
1018
+ };
1019
+ }
1020
+
1021
+
1022
+ /**
1023
+ * Deserializes binary data (in protobuf wire format).
1024
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1025
+ * @return {!proto.ondewo.nlu.OperationFilter}
1026
+ */
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);
1031
+ };
1032
+
1033
+
1034
+ /**
1035
+ * Deserializes binary data (in protobuf wire format) from the
1036
+ * given reader into the given message object.
1037
+ * @param {!proto.ondewo.nlu.OperationFilter} msg The message object to deserialize into.
1038
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1039
+ * @return {!proto.ondewo.nlu.OperationFilter}
1040
+ */
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;
1084
+ };
1085
+
1086
+
1087
+ /**
1088
+ * Serializes the message to binary data (in protobuf wire format).
1089
+ * @return {!Uint8Array}
1090
+ */
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();
1095
+ };
1096
+
1097
+
1098
+ /**
1099
+ * Serializes the given message to binary data (in protobuf wire
1100
+ * format), writing to the given BinaryWriter.
1101
+ * @param {!proto.ondewo.nlu.OperationFilter} message
1102
+ * @param {!jspb.BinaryWriter} writer
1103
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1104
+ */
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
+ }
1151
+ };
1152
+
1153
+
1154
+ /**
1155
+ * repeated string project_parents = 1;
1156
+ * @return {!Array<string>}
1157
+ */
1158
+ proto.ondewo.nlu.OperationFilter.prototype.getProjectParentsList = function() {
1159
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1160
+ };
1161
+
1162
+
1163
+ /**
1164
+ * @param {!Array<string>} value
1165
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1166
+ */
1167
+ proto.ondewo.nlu.OperationFilter.prototype.setProjectParentsList = function(value) {
1168
+ return jspb.Message.setField(this, 1, value || []);
1169
+ };
1170
+
1171
+
1172
+ /**
1173
+ * @param {string} value
1174
+ * @param {number=} opt_index
1175
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1176
+ */
1177
+ proto.ondewo.nlu.OperationFilter.prototype.addProjectParents = function(value, opt_index) {
1178
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1179
+ };
1180
+
1181
+
1182
+ /**
1183
+ * Clears the list making it empty but non-null.
1184
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1185
+ */
1186
+ proto.ondewo.nlu.OperationFilter.prototype.clearProjectParentsList = function() {
1187
+ return this.setProjectParentsList([]);
1188
+ };
1189
+
1190
+
1191
+ /**
1192
+ * repeated OperationMetadata.Status statuses = 2;
1193
+ * @return {!Array<!proto.ondewo.nlu.OperationMetadata.Status>}
1194
+ */
1195
+ proto.ondewo.nlu.OperationFilter.prototype.getStatusesList = function() {
1196
+ return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} */ (jspb.Message.getRepeatedField(this, 2));
1197
+ };
1198
+
1199
+
1200
+ /**
1201
+ * @param {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} value
1202
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1203
+ */
1204
+ proto.ondewo.nlu.OperationFilter.prototype.setStatusesList = function(value) {
1205
+ return jspb.Message.setField(this, 2, value || []);
1206
+ };
1207
+
1208
+
1209
+ /**
1210
+ * @param {!proto.ondewo.nlu.OperationMetadata.Status} value
1211
+ * @param {number=} opt_index
1212
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1213
+ */
1214
+ proto.ondewo.nlu.OperationFilter.prototype.addStatuses = function(value, opt_index) {
1215
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1216
+ };
1217
+
1218
+
1219
+ /**
1220
+ * Clears the list making it empty but non-null.
1221
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1222
+ */
1223
+ proto.ondewo.nlu.OperationFilter.prototype.clearStatusesList = function() {
1224
+ return this.setStatusesList([]);
1225
+ };
1226
+
1227
+
1228
+ /**
1229
+ * repeated OperationMetadata.OperationType types = 3;
1230
+ * @return {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>}
1231
+ */
1232
+ proto.ondewo.nlu.OperationFilter.prototype.getTypesList = function() {
1233
+ return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} */ (jspb.Message.getRepeatedField(this, 3));
1234
+ };
1235
+
1236
+
1237
+ /**
1238
+ * @param {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} value
1239
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1240
+ */
1241
+ proto.ondewo.nlu.OperationFilter.prototype.setTypesList = function(value) {
1242
+ return jspb.Message.setField(this, 3, value || []);
1243
+ };
1244
+
1245
+
1246
+ /**
1247
+ * @param {!proto.ondewo.nlu.OperationMetadata.OperationType} value
1248
+ * @param {number=} opt_index
1249
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1250
+ */
1251
+ proto.ondewo.nlu.OperationFilter.prototype.addTypes = function(value, opt_index) {
1252
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
1253
+ };
1254
+
1255
+
1256
+ /**
1257
+ * Clears the list making it empty but non-null.
1258
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1259
+ */
1260
+ proto.ondewo.nlu.OperationFilter.prototype.clearTypesList = function() {
1261
+ return this.setTypesList([]);
1262
+ };
1263
+
1264
+
1265
+ /**
1266
+ * optional google.protobuf.Timestamp start_time = 4;
1267
+ * @return {?proto.google.protobuf.Timestamp}
1268
+ */
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));
1272
+ };
1273
+
1274
+
1275
+ /**
1276
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1277
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1278
+ */
1279
+ proto.ondewo.nlu.OperationFilter.prototype.setStartTime = function(value) {
1280
+ return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.OperationFilter.oneofGroups_[0], value);
1281
+ };
1282
+
1283
+
1284
+ /**
1285
+ * Clears the message field making it undefined.
1286
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1287
+ */
1288
+ proto.ondewo.nlu.OperationFilter.prototype.clearStartTime = function() {
1289
+ return this.setStartTime(undefined);
1290
+ };
1291
+
1292
+
1293
+ /**
1294
+ * Returns whether this field is set.
1295
+ * @return {boolean}
1296
+ */
1297
+ proto.ondewo.nlu.OperationFilter.prototype.hasStartTime = function() {
1298
+ return jspb.Message.getField(this, 4) != null;
1299
+ };
1300
+
1301
+
1302
+ /**
1303
+ * optional google.protobuf.Timestamp end_time = 5;
1304
+ * @return {?proto.google.protobuf.Timestamp}
1305
+ */
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));
1309
+ };
1310
+
1311
+
1312
+ /**
1313
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1314
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1315
+ */
1316
+ proto.ondewo.nlu.OperationFilter.prototype.setEndTime = function(value) {
1317
+ return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.OperationFilter.oneofGroups_[1], value);
1318
+ };
1319
+
1320
+
1321
+ /**
1322
+ * Clears the message field making it undefined.
1323
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1324
+ */
1325
+ proto.ondewo.nlu.OperationFilter.prototype.clearEndTime = function() {
1326
+ return this.setEndTime(undefined);
1327
+ };
1328
+
1329
+
1330
+ /**
1331
+ * Returns whether this field is set.
1332
+ * @return {boolean}
1333
+ */
1334
+ proto.ondewo.nlu.OperationFilter.prototype.hasEndTime = function() {
1335
+ return jspb.Message.getField(this, 5) != null;
1336
+ };
1337
+
1338
+
1339
+ /**
1340
+ * repeated string user_ids = 6;
1341
+ * @return {!Array<string>}
1342
+ */
1343
+ proto.ondewo.nlu.OperationFilter.prototype.getUserIdsList = function() {
1344
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
1345
+ };
1346
+
1347
+
1348
+ /**
1349
+ * @param {!Array<string>} value
1350
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1351
+ */
1352
+ proto.ondewo.nlu.OperationFilter.prototype.setUserIdsList = function(value) {
1353
+ return jspb.Message.setField(this, 6, value || []);
1354
+ };
1355
+
1356
+
1357
+ /**
1358
+ * @param {string} value
1359
+ * @param {number=} opt_index
1360
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1361
+ */
1362
+ proto.ondewo.nlu.OperationFilter.prototype.addUserIds = function(value, opt_index) {
1363
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
1364
+ };
1365
+
1366
+
1367
+ /**
1368
+ * Clears the list making it empty but non-null.
1369
+ * @return {!proto.ondewo.nlu.OperationFilter} returns this
1370
+ */
1371
+ proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function() {
1372
+ return this.setUserIdsList([]);
1373
+ };
1374
+
1375
+
1376
+
1377
+ /**
1378
+ * List of repeated fields within this message type.
1379
+ * @private {!Array<number>}
1380
+ * @const
1381
+ */
1382
+ proto.ondewo.nlu.ListOperationsResponse.repeatedFields_ = [1];
1383
+
1384
+
1385
+
1386
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1387
+ /**
1388
+ * Creates an object representation of this proto.
1389
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1390
+ * Optional fields that are not set will be set to undefined.
1391
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1392
+ * For the list of reserved names please see:
1393
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1394
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1395
+ * JSPB instance for transitional soy proto support:
1396
+ * http://goto/soy-param-migration
1397
+ * @return {!Object}
1398
+ */
1399
+ proto.ondewo.nlu.ListOperationsResponse.prototype.toObject = function(opt_includeInstance) {
1400
+ return proto.ondewo.nlu.ListOperationsResponse.toObject(opt_includeInstance, this);
1401
+ };
1402
+
1403
+
1404
+ /**
1405
+ * Static version of the {@see toObject} method.
1406
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1407
+ * the JSPB instance for transitional soy proto support:
1408
+ * http://goto/soy-param-migration
1409
+ * @param {!proto.ondewo.nlu.ListOperationsResponse} msg The msg instance to transform.
1410
+ * @return {!Object}
1411
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1412
+ */
1413
+ proto.ondewo.nlu.ListOperationsResponse.toObject = function(includeInstance, msg) {
1414
+ var f, obj = {
1415
+ operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
1416
+ proto.ondewo.nlu.Operation.toObject, includeInstance),
1417
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
1418
+ };
1419
+
1420
+ if (includeInstance) {
1421
+ obj.$jspbMessageInstance = msg;
1422
+ }
1423
+ return obj;
1424
+ };
1425
+ }
1426
+
1427
+
1428
+ /**
1429
+ * Deserializes binary data (in protobuf wire format).
1430
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1431
+ * @return {!proto.ondewo.nlu.ListOperationsResponse}
1432
+ */
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);
1437
+ };
1438
+
1439
+
1440
+ /**
1441
+ * Deserializes binary data (in protobuf wire format) from the
1442
+ * given reader into the given message object.
1443
+ * @param {!proto.ondewo.nlu.ListOperationsResponse} msg The message object to deserialize into.
1444
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1445
+ * @return {!proto.ondewo.nlu.ListOperationsResponse}
1446
+ */
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;
1469
+ };
1470
+
1471
+
1472
+ /**
1473
+ * Serializes the message to binary data (in protobuf wire format).
1474
+ * @return {!Uint8Array}
1475
+ */
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();
1480
+ };
1481
+
1482
+
1483
+ /**
1484
+ * Serializes the given message to binary data (in protobuf wire
1485
+ * format), writing to the given BinaryWriter.
1486
+ * @param {!proto.ondewo.nlu.ListOperationsResponse} message
1487
+ * @param {!jspb.BinaryWriter} writer
1488
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1489
+ */
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
+ }
1507
+ };
1508
+
1509
+
1510
+ /**
1511
+ * repeated Operation operations = 1;
1512
+ * @return {!Array<!proto.ondewo.nlu.Operation>}
1513
+ */
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));
1517
+ };
1518
+
1519
+
1520
+ /**
1521
+ * @param {!Array<!proto.ondewo.nlu.Operation>} value
1522
+ * @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
1523
+ */
1524
+ proto.ondewo.nlu.ListOperationsResponse.prototype.setOperationsList = function(value) {
1525
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1526
+ };
1527
+
1528
+
1529
+ /**
1530
+ * @param {!proto.ondewo.nlu.Operation=} opt_value
1531
+ * @param {number=} opt_index
1532
+ * @return {!proto.ondewo.nlu.Operation}
1533
+ */
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);
1536
+ };
1537
+
1538
+
1539
+ /**
1540
+ * Clears the list making it empty but non-null.
1541
+ * @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
1542
+ */
1543
+ proto.ondewo.nlu.ListOperationsResponse.prototype.clearOperationsList = function() {
1544
+ return this.setOperationsList([]);
1545
+ };
1546
+
1547
+
1548
+ /**
1549
+ * optional string next_page_token = 2;
1550
+ * @return {string}
1551
+ */
1552
+ proto.ondewo.nlu.ListOperationsResponse.prototype.getNextPageToken = function() {
1553
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1554
+ };
1555
+
1556
+
1557
+ /**
1558
+ * @param {string} value
1559
+ * @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
1560
+ */
1561
+ proto.ondewo.nlu.ListOperationsResponse.prototype.setNextPageToken = function(value) {
1562
+ return jspb.Message.setProto3StringField(this, 2, value);
1563
+ };
1564
+
1565
+
1566
+
1567
+
1568
+
1569
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1570
+ /**
1571
+ * Creates an object representation of this proto.
1572
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1573
+ * Optional fields that are not set will be set to undefined.
1574
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1575
+ * For the list of reserved names please see:
1576
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1577
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1578
+ * JSPB instance for transitional soy proto support:
1579
+ * http://goto/soy-param-migration
1580
+ * @return {!Object}
1581
+ */
1582
+ proto.ondewo.nlu.CancelOperationRequest.prototype.toObject = function(opt_includeInstance) {
1583
+ return proto.ondewo.nlu.CancelOperationRequest.toObject(opt_includeInstance, this);
1584
+ };
1585
+
1586
+
1587
+ /**
1588
+ * Static version of the {@see toObject} method.
1589
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1590
+ * the JSPB instance for transitional soy proto support:
1591
+ * http://goto/soy-param-migration
1592
+ * @param {!proto.ondewo.nlu.CancelOperationRequest} msg The msg instance to transform.
1593
+ * @return {!Object}
1594
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1595
+ */
1596
+ proto.ondewo.nlu.CancelOperationRequest.toObject = function(includeInstance, msg) {
1597
+ var f, obj = {
1598
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
1599
+ };
1600
+
1601
+ if (includeInstance) {
1602
+ obj.$jspbMessageInstance = msg;
1603
+ }
1604
+ return obj;
1605
+ };
1606
+ }
1607
+
1608
+
1609
+ /**
1610
+ * Deserializes binary data (in protobuf wire format).
1611
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1612
+ * @return {!proto.ondewo.nlu.CancelOperationRequest}
1613
+ */
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);
1618
+ };
1619
+
1620
+
1621
+ /**
1622
+ * Deserializes binary data (in protobuf wire format) from the
1623
+ * given reader into the given message object.
1624
+ * @param {!proto.ondewo.nlu.CancelOperationRequest} msg The message object to deserialize into.
1625
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1626
+ * @return {!proto.ondewo.nlu.CancelOperationRequest}
1627
+ */
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;
1645
+ };
1646
+
1647
+
1648
+ /**
1649
+ * Serializes the message to binary data (in protobuf wire format).
1650
+ * @return {!Uint8Array}
1651
+ */
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();
1656
+ };
1657
+
1658
+
1659
+ /**
1660
+ * Serializes the given message to binary data (in protobuf wire
1661
+ * format), writing to the given BinaryWriter.
1662
+ * @param {!proto.ondewo.nlu.CancelOperationRequest} message
1663
+ * @param {!jspb.BinaryWriter} writer
1664
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1665
+ */
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
+ }
1675
+ };
1676
+
1677
+
1678
+ /**
1679
+ * optional string name = 1;
1680
+ * @return {string}
1681
+ */
1682
+ proto.ondewo.nlu.CancelOperationRequest.prototype.getName = function() {
1683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1684
+ };
1685
+
1686
+
1687
+ /**
1688
+ * @param {string} value
1689
+ * @return {!proto.ondewo.nlu.CancelOperationRequest} returns this
1690
+ */
1691
+ proto.ondewo.nlu.CancelOperationRequest.prototype.setName = function(value) {
1692
+ return jspb.Message.setProto3StringField(this, 1, value);
1693
+ };
1694
+
1695
+
1696
+
1697
+
1698
+
1699
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1700
+ /**
1701
+ * Creates an object representation of this proto.
1702
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1703
+ * Optional fields that are not set will be set to undefined.
1704
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1705
+ * For the list of reserved names please see:
1706
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1707
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1708
+ * JSPB instance for transitional soy proto support:
1709
+ * http://goto/soy-param-migration
1710
+ * @return {!Object}
1711
+ */
1712
+ proto.ondewo.nlu.DeleteOperationRequest.prototype.toObject = function(opt_includeInstance) {
1713
+ return proto.ondewo.nlu.DeleteOperationRequest.toObject(opt_includeInstance, this);
1714
+ };
1715
+
1716
+
1717
+ /**
1718
+ * Static version of the {@see toObject} method.
1719
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1720
+ * the JSPB instance for transitional soy proto support:
1721
+ * http://goto/soy-param-migration
1722
+ * @param {!proto.ondewo.nlu.DeleteOperationRequest} msg The msg instance to transform.
1723
+ * @return {!Object}
1724
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1725
+ */
1726
+ proto.ondewo.nlu.DeleteOperationRequest.toObject = function(includeInstance, msg) {
1727
+ var f, obj = {
1728
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
1729
+ };
1730
+
1731
+ if (includeInstance) {
1732
+ obj.$jspbMessageInstance = msg;
1733
+ }
1734
+ return obj;
1735
+ };
1736
+ }
1737
+
1738
+
1739
+ /**
1740
+ * Deserializes binary data (in protobuf wire format).
1741
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1742
+ * @return {!proto.ondewo.nlu.DeleteOperationRequest}
1743
+ */
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);
1748
+ };
1749
+
1750
+
1751
+ /**
1752
+ * Deserializes binary data (in protobuf wire format) from the
1753
+ * given reader into the given message object.
1754
+ * @param {!proto.ondewo.nlu.DeleteOperationRequest} msg The message object to deserialize into.
1755
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1756
+ * @return {!proto.ondewo.nlu.DeleteOperationRequest}
1757
+ */
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;
1775
+ };
1776
+
1777
+
1778
+ /**
1779
+ * Serializes the message to binary data (in protobuf wire format).
1780
+ * @return {!Uint8Array}
1781
+ */
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();
1786
+ };
1787
+
1788
+
1789
+ /**
1790
+ * Serializes the given message to binary data (in protobuf wire
1791
+ * format), writing to the given BinaryWriter.
1792
+ * @param {!proto.ondewo.nlu.DeleteOperationRequest} message
1793
+ * @param {!jspb.BinaryWriter} writer
1794
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1795
+ */
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
+ }
1805
+ };
1806
+
1807
+
1808
+ /**
1809
+ * optional string name = 1;
1810
+ * @return {string}
1811
+ */
1812
+ proto.ondewo.nlu.DeleteOperationRequest.prototype.getName = function() {
1813
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1814
+ };
1815
+
1816
+
1817
+ /**
1818
+ * @param {string} value
1819
+ * @return {!proto.ondewo.nlu.DeleteOperationRequest} returns this
1820
+ */
1821
+ proto.ondewo.nlu.DeleteOperationRequest.prototype.setName = function(value) {
1822
+ return jspb.Message.setProto3StringField(this, 1, value);
1823
+ };
1824
+
1825
+
1826
+ goog.object.extend(exports, proto.ondewo.nlu);