@ondewo/nlu-client-typescript 3.5.2 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -478
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1143 -1213
  3. package/api/ondewo/nlu/agent_pb.d.ts +1965 -1672
  4. package/api/ondewo/nlu/agent_pb.js +9401 -10036
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +746 -671
  8. package/api/ondewo/nlu/aiservices_pb.js +3648 -4383
  9. package/api/ondewo/nlu/common_pb.d.ts +15 -17
  10. package/api/ondewo/nlu/common_pb.js +83 -93
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +892 -1045
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
  18. package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
  21. package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
  22. package/api/ondewo/nlu/intent_pb.js +9502 -10692
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
  24. package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
  27. package/api/ondewo/nlu/operations_pb.d.ts +189 -182
  28. package/api/ondewo/nlu/operations_pb.js +843 -1004
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
  31. package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
  32. package/api/ondewo/nlu/project_role_pb.js +796 -963
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
  36. package/api/ondewo/nlu/project_statistics_pb.js +354 -418
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
  40. package/api/ondewo/nlu/server_statistics_pb.js +81 -91
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +409 -460
  43. package/api/ondewo/nlu/session_pb.d.ts +1132 -867
  44. package/api/ondewo/nlu/session_pb.js +5960 -5662
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
  47. package/api/ondewo/nlu/user_pb.d.ts +345 -325
  48. package/api/ondewo/nlu/user_pb.js +1948 -2312
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
  51. package/api/ondewo/nlu/utility_pb.d.ts +588 -535
  52. package/api/ondewo/nlu/utility_pb.js +2814 -3348
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
  55. package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
  56. package/api/ondewo/nlu/webhook_pb.js +599 -718
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
  59. package/api/ondewo/qa/qa_pb.d.ts +235 -220
  60. package/api/ondewo/qa/qa_pb.js +1222 -1452
  61. package/package.json +1 -1
  62. package/public-api.d.ts +4 -34
@@ -13,7 +13,9 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
16
+ var global = function () {
17
+ return this || window || global || self || Function('return this')();
18
+ }.call(null);
17
19
 
18
20
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
19
21
  goog.object.extend(proto, google_api_annotations_pb);
@@ -37,16 +39,16 @@ goog.exportSymbol('proto.ondewo.nlu.GetProjectStatRequest', null, global);
37
39
  * @extends {jspb.Message}
38
40
  * @constructor
39
41
  */
40
- proto.ondewo.nlu.GetIntentCountRequest = function(opt_data) {
41
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
42
+ proto.ondewo.nlu.GetIntentCountRequest = function (opt_data) {
43
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
42
44
  };
43
45
  goog.inherits(proto.ondewo.nlu.GetIntentCountRequest, jspb.Message);
44
46
  if (goog.DEBUG && !COMPILED) {
45
- /**
46
- * @public
47
- * @override
48
- */
49
- proto.ondewo.nlu.GetIntentCountRequest.displayName = 'proto.ondewo.nlu.GetIntentCountRequest';
47
+ /**
48
+ * @public
49
+ * @override
50
+ */
51
+ proto.ondewo.nlu.GetIntentCountRequest.displayName = 'proto.ondewo.nlu.GetIntentCountRequest';
50
52
  }
51
53
  /**
52
54
  * Generated by JsPbCodeGenerator.
@@ -58,16 +60,16 @@ if (goog.DEBUG && !COMPILED) {
58
60
  * @extends {jspb.Message}
59
61
  * @constructor
60
62
  */
61
- proto.ondewo.nlu.GetEntityTypeCountRequest = function(opt_data) {
62
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
+ proto.ondewo.nlu.GetEntityTypeCountRequest = function (opt_data) {
64
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
65
  };
64
66
  goog.inherits(proto.ondewo.nlu.GetEntityTypeCountRequest, jspb.Message);
65
67
  if (goog.DEBUG && !COMPILED) {
66
- /**
67
- * @public
68
- * @override
69
- */
70
- proto.ondewo.nlu.GetEntityTypeCountRequest.displayName = 'proto.ondewo.nlu.GetEntityTypeCountRequest';
68
+ /**
69
+ * @public
70
+ * @override
71
+ */
72
+ proto.ondewo.nlu.GetEntityTypeCountRequest.displayName = 'proto.ondewo.nlu.GetEntityTypeCountRequest';
71
73
  }
72
74
  /**
73
75
  * Generated by JsPbCodeGenerator.
@@ -79,16 +81,16 @@ if (goog.DEBUG && !COMPILED) {
79
81
  * @extends {jspb.Message}
80
82
  * @constructor
81
83
  */
82
- proto.ondewo.nlu.GetProjectStatRequest = function(opt_data) {
83
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
84
+ proto.ondewo.nlu.GetProjectStatRequest = function (opt_data) {
85
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
84
86
  };
85
87
  goog.inherits(proto.ondewo.nlu.GetProjectStatRequest, jspb.Message);
86
88
  if (goog.DEBUG && !COMPILED) {
87
- /**
88
- * @public
89
- * @override
90
- */
91
- proto.ondewo.nlu.GetProjectStatRequest.displayName = 'proto.ondewo.nlu.GetProjectStatRequest';
89
+ /**
90
+ * @public
91
+ * @override
92
+ */
93
+ proto.ondewo.nlu.GetProjectStatRequest.displayName = 'proto.ondewo.nlu.GetProjectStatRequest';
92
94
  }
93
95
  /**
94
96
  * Generated by JsPbCodeGenerator.
@@ -100,73 +102,69 @@ if (goog.DEBUG && !COMPILED) {
100
102
  * @extends {jspb.Message}
101
103
  * @constructor
102
104
  */
103
- proto.ondewo.nlu.GetProjectElementStatRequest = function(opt_data) {
104
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
105
+ proto.ondewo.nlu.GetProjectElementStatRequest = function (opt_data) {
106
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
105
107
  };
106
108
  goog.inherits(proto.ondewo.nlu.GetProjectElementStatRequest, jspb.Message);
107
109
  if (goog.DEBUG && !COMPILED) {
108
- /**
109
- * @public
110
- * @override
111
- */
112
- proto.ondewo.nlu.GetProjectElementStatRequest.displayName = 'proto.ondewo.nlu.GetProjectElementStatRequest';
110
+ /**
111
+ * @public
112
+ * @override
113
+ */
114
+ proto.ondewo.nlu.GetProjectElementStatRequest.displayName = 'proto.ondewo.nlu.GetProjectElementStatRequest';
113
115
  }
114
116
 
115
-
116
-
117
117
  if (jspb.Message.GENERATE_TO_OBJECT) {
118
- /**
119
- * Creates an object representation of this proto.
120
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
121
- * Optional fields that are not set will be set to undefined.
122
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
123
- * For the list of reserved names please see:
124
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
125
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
126
- * JSPB instance for transitional soy proto support:
127
- * http://goto/soy-param-migration
128
- * @return {!Object}
129
- */
130
- proto.ondewo.nlu.GetIntentCountRequest.prototype.toObject = function(opt_includeInstance) {
131
- return proto.ondewo.nlu.GetIntentCountRequest.toObject(opt_includeInstance, this);
132
- };
133
-
134
-
135
- /**
136
- * Static version of the {@see toObject} method.
137
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
138
- * the JSPB instance for transitional soy proto support:
139
- * http://goto/soy-param-migration
140
- * @param {!proto.ondewo.nlu.GetIntentCountRequest} msg The msg instance to transform.
141
- * @return {!Object}
142
- * @suppress {unusedLocalVariables} f is only used for nested messages
143
- */
144
- proto.ondewo.nlu.GetIntentCountRequest.toObject = function(includeInstance, msg) {
145
- var f, obj = {
146
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
147
- filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
148
- };
149
-
150
- if (includeInstance) {
151
- obj.$jspbMessageInstance = msg;
152
- }
153
- return obj;
154
- };
118
+ /**
119
+ * Creates an object representation of this proto.
120
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
121
+ * Optional fields that are not set will be set to undefined.
122
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
123
+ * For the list of reserved names please see:
124
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
125
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
126
+ * JSPB instance for transitional soy proto support:
127
+ * http://goto/soy-param-migration
128
+ * @return {!Object}
129
+ */
130
+ proto.ondewo.nlu.GetIntentCountRequest.prototype.toObject = function (opt_includeInstance) {
131
+ return proto.ondewo.nlu.GetIntentCountRequest.toObject(opt_includeInstance, this);
132
+ };
133
+
134
+ /**
135
+ * Static version of the {@see toObject} method.
136
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
137
+ * the JSPB instance for transitional soy proto support:
138
+ * http://goto/soy-param-migration
139
+ * @param {!proto.ondewo.nlu.GetIntentCountRequest} msg The msg instance to transform.
140
+ * @return {!Object}
141
+ * @suppress {unusedLocalVariables} f is only used for nested messages
142
+ */
143
+ proto.ondewo.nlu.GetIntentCountRequest.toObject = function (includeInstance, msg) {
144
+ var f,
145
+ obj = {
146
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ''),
147
+ filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
148
+ };
149
+
150
+ if (includeInstance) {
151
+ obj.$jspbMessageInstance = msg;
152
+ }
153
+ return obj;
154
+ };
155
155
  }
156
156
 
157
-
158
157
  /**
159
158
  * Deserializes binary data (in protobuf wire format).
160
159
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
161
160
  * @return {!proto.ondewo.nlu.GetIntentCountRequest}
162
161
  */
163
- proto.ondewo.nlu.GetIntentCountRequest.deserializeBinary = function(bytes) {
164
- var reader = new jspb.BinaryReader(bytes);
165
- var msg = new proto.ondewo.nlu.GetIntentCountRequest;
166
- return proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader(msg, reader);
162
+ proto.ondewo.nlu.GetIntentCountRequest.deserializeBinary = function (bytes) {
163
+ var reader = new jspb.BinaryReader(bytes);
164
+ var msg = new proto.ondewo.nlu.GetIntentCountRequest();
165
+ return proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader(msg, reader);
167
166
  };
168
167
 
169
-
170
168
  /**
171
169
  * Deserializes binary data (in protobuf wire format) from the
172
170
  * given reader into the given message object.
@@ -174,41 +172,39 @@ proto.ondewo.nlu.GetIntentCountRequest.deserializeBinary = function(bytes) {
174
172
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
175
173
  * @return {!proto.ondewo.nlu.GetIntentCountRequest}
176
174
  */
177
- proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader = function(msg, reader) {
178
- while (reader.nextField()) {
179
- if (reader.isEndGroup()) {
180
- break;
181
- }
182
- var field = reader.getFieldNumber();
183
- switch (field) {
184
- case 1:
185
- var value = /** @type {string} */ (reader.readString());
186
- msg.setParent(value);
187
- break;
188
- case 2:
189
- var value = /** @type {!proto.ondewo.nlu.IntentCategory} */ (reader.readEnum());
190
- msg.setFilterByCategory(value);
191
- break;
192
- default:
193
- reader.skipField();
194
- break;
195
- }
196
- }
197
- return msg;
175
+ proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader = function (msg, reader) {
176
+ while (reader.nextField()) {
177
+ if (reader.isEndGroup()) {
178
+ break;
179
+ }
180
+ var field = reader.getFieldNumber();
181
+ switch (field) {
182
+ case 1:
183
+ var value = /** @type {string} */ (reader.readString());
184
+ msg.setParent(value);
185
+ break;
186
+ case 2:
187
+ var value = /** @type {!proto.ondewo.nlu.IntentCategory} */ (reader.readEnum());
188
+ msg.setFilterByCategory(value);
189
+ break;
190
+ default:
191
+ reader.skipField();
192
+ break;
193
+ }
194
+ }
195
+ return msg;
198
196
  };
199
197
 
200
-
201
198
  /**
202
199
  * Serializes the message to binary data (in protobuf wire format).
203
200
  * @return {!Uint8Array}
204
201
  */
205
- proto.ondewo.nlu.GetIntentCountRequest.prototype.serializeBinary = function() {
206
- var writer = new jspb.BinaryWriter();
207
- proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter(this, writer);
208
- return writer.getResultBuffer();
202
+ proto.ondewo.nlu.GetIntentCountRequest.prototype.serializeBinary = function () {
203
+ var writer = new jspb.BinaryWriter();
204
+ proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter(this, writer);
205
+ return writer.getResultBuffer();
209
206
  };
210
207
 
211
-
212
208
  /**
213
209
  * Serializes the given message to binary data (in protobuf wire
214
210
  * format), writing to the given BinaryWriter.
@@ -216,117 +212,101 @@ proto.ondewo.nlu.GetIntentCountRequest.prototype.serializeBinary = function() {
216
212
  * @param {!jspb.BinaryWriter} writer
217
213
  * @suppress {unusedLocalVariables} f is only used for nested messages
218
214
  */
219
- proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter = function(message, writer) {
220
- var f = undefined;
221
- f = message.getParent();
222
- if (f.length > 0) {
223
- writer.writeString(
224
- 1,
225
- f
226
- );
227
- }
228
- f = message.getFilterByCategory();
229
- if (f !== 0.0) {
230
- writer.writeEnum(
231
- 2,
232
- f
233
- );
234
- }
215
+ proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter = function (message, writer) {
216
+ var f = undefined;
217
+ f = message.getParent();
218
+ if (f.length > 0) {
219
+ writer.writeString(1, f);
220
+ }
221
+ f = message.getFilterByCategory();
222
+ if (f !== 0.0) {
223
+ writer.writeEnum(2, f);
224
+ }
235
225
  };
236
226
 
237
-
238
227
  /**
239
228
  * optional string parent = 1;
240
229
  * @return {string}
241
230
  */
242
- proto.ondewo.nlu.GetIntentCountRequest.prototype.getParent = function() {
243
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
231
+ proto.ondewo.nlu.GetIntentCountRequest.prototype.getParent = function () {
232
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
244
233
  };
245
234
 
246
-
247
235
  /**
248
236
  * @param {string} value
249
237
  * @return {!proto.ondewo.nlu.GetIntentCountRequest} returns this
250
238
  */
251
- proto.ondewo.nlu.GetIntentCountRequest.prototype.setParent = function(value) {
252
- return jspb.Message.setProto3StringField(this, 1, value);
239
+ proto.ondewo.nlu.GetIntentCountRequest.prototype.setParent = function (value) {
240
+ return jspb.Message.setProto3StringField(this, 1, value);
253
241
  };
254
242
 
255
-
256
243
  /**
257
244
  * optional IntentCategory filter_by_category = 2;
258
245
  * @return {!proto.ondewo.nlu.IntentCategory}
259
246
  */
260
- proto.ondewo.nlu.GetIntentCountRequest.prototype.getFilterByCategory = function() {
261
- return /** @type {!proto.ondewo.nlu.IntentCategory} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
247
+ proto.ondewo.nlu.GetIntentCountRequest.prototype.getFilterByCategory = function () {
248
+ return /** @type {!proto.ondewo.nlu.IntentCategory} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
262
249
  };
263
250
 
264
-
265
251
  /**
266
252
  * @param {!proto.ondewo.nlu.IntentCategory} value
267
253
  * @return {!proto.ondewo.nlu.GetIntentCountRequest} returns this
268
254
  */
269
- proto.ondewo.nlu.GetIntentCountRequest.prototype.setFilterByCategory = function(value) {
270
- return jspb.Message.setProto3EnumField(this, 2, value);
255
+ proto.ondewo.nlu.GetIntentCountRequest.prototype.setFilterByCategory = function (value) {
256
+ return jspb.Message.setProto3EnumField(this, 2, value);
271
257
  };
272
258
 
273
-
274
-
275
-
276
-
277
259
  if (jspb.Message.GENERATE_TO_OBJECT) {
278
- /**
279
- * Creates an object representation of this proto.
280
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
281
- * Optional fields that are not set will be set to undefined.
282
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
283
- * For the list of reserved names please see:
284
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
285
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
286
- * JSPB instance for transitional soy proto support:
287
- * http://goto/soy-param-migration
288
- * @return {!Object}
289
- */
290
- proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.toObject = function(opt_includeInstance) {
291
- return proto.ondewo.nlu.GetEntityTypeCountRequest.toObject(opt_includeInstance, this);
292
- };
293
-
294
-
295
- /**
296
- * Static version of the {@see toObject} method.
297
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
298
- * the JSPB instance for transitional soy proto support:
299
- * http://goto/soy-param-migration
300
- * @param {!proto.ondewo.nlu.GetEntityTypeCountRequest} msg The msg instance to transform.
301
- * @return {!Object}
302
- * @suppress {unusedLocalVariables} f is only used for nested messages
303
- */
304
- proto.ondewo.nlu.GetEntityTypeCountRequest.toObject = function(includeInstance, msg) {
305
- var f, obj = {
306
- parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
307
- filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
308
- };
309
-
310
- if (includeInstance) {
311
- obj.$jspbMessageInstance = msg;
312
- }
313
- return obj;
314
- };
260
+ /**
261
+ * Creates an object representation of this proto.
262
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
263
+ * Optional fields that are not set will be set to undefined.
264
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
265
+ * For the list of reserved names please see:
266
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
267
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
268
+ * JSPB instance for transitional soy proto support:
269
+ * http://goto/soy-param-migration
270
+ * @return {!Object}
271
+ */
272
+ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.toObject = function (opt_includeInstance) {
273
+ return proto.ondewo.nlu.GetEntityTypeCountRequest.toObject(opt_includeInstance, this);
274
+ };
275
+
276
+ /**
277
+ * Static version of the {@see toObject} method.
278
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
279
+ * the JSPB instance for transitional soy proto support:
280
+ * http://goto/soy-param-migration
281
+ * @param {!proto.ondewo.nlu.GetEntityTypeCountRequest} msg The msg instance to transform.
282
+ * @return {!Object}
283
+ * @suppress {unusedLocalVariables} f is only used for nested messages
284
+ */
285
+ proto.ondewo.nlu.GetEntityTypeCountRequest.toObject = function (includeInstance, msg) {
286
+ var f,
287
+ obj = {
288
+ parent: jspb.Message.getFieldWithDefault(msg, 1, ''),
289
+ filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
290
+ };
291
+
292
+ if (includeInstance) {
293
+ obj.$jspbMessageInstance = msg;
294
+ }
295
+ return obj;
296
+ };
315
297
  }
316
298
 
317
-
318
299
  /**
319
300
  * Deserializes binary data (in protobuf wire format).
320
301
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
321
302
  * @return {!proto.ondewo.nlu.GetEntityTypeCountRequest}
322
303
  */
323
- proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinary = function(bytes) {
324
- var reader = new jspb.BinaryReader(bytes);
325
- var msg = new proto.ondewo.nlu.GetEntityTypeCountRequest;
326
- return proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader(msg, reader);
304
+ proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinary = function (bytes) {
305
+ var reader = new jspb.BinaryReader(bytes);
306
+ var msg = new proto.ondewo.nlu.GetEntityTypeCountRequest();
307
+ return proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader(msg, reader);
327
308
  };
328
309
 
329
-
330
310
  /**
331
311
  * Deserializes binary data (in protobuf wire format) from the
332
312
  * given reader into the given message object.
@@ -334,41 +314,39 @@ proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinary = function(bytes) {
334
314
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
335
315
  * @return {!proto.ondewo.nlu.GetEntityTypeCountRequest}
336
316
  */
337
- proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader = function(msg, reader) {
338
- while (reader.nextField()) {
339
- if (reader.isEndGroup()) {
340
- break;
341
- }
342
- var field = reader.getFieldNumber();
343
- switch (field) {
344
- case 1:
345
- var value = /** @type {string} */ (reader.readString());
346
- msg.setParent(value);
347
- break;
348
- case 2:
349
- var value = /** @type {!proto.ondewo.nlu.EntityTypeCategory} */ (reader.readEnum());
350
- msg.setFilterByCategory(value);
351
- break;
352
- default:
353
- reader.skipField();
354
- break;
355
- }
356
- }
357
- return msg;
317
+ proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader = function (msg, reader) {
318
+ while (reader.nextField()) {
319
+ if (reader.isEndGroup()) {
320
+ break;
321
+ }
322
+ var field = reader.getFieldNumber();
323
+ switch (field) {
324
+ case 1:
325
+ var value = /** @type {string} */ (reader.readString());
326
+ msg.setParent(value);
327
+ break;
328
+ case 2:
329
+ var value = /** @type {!proto.ondewo.nlu.EntityTypeCategory} */ (reader.readEnum());
330
+ msg.setFilterByCategory(value);
331
+ break;
332
+ default:
333
+ reader.skipField();
334
+ break;
335
+ }
336
+ }
337
+ return msg;
358
338
  };
359
339
 
360
-
361
340
  /**
362
341
  * Serializes the message to binary data (in protobuf wire format).
363
342
  * @return {!Uint8Array}
364
343
  */
365
- proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.serializeBinary = function() {
366
- var writer = new jspb.BinaryWriter();
367
- proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter(this, writer);
368
- return writer.getResultBuffer();
344
+ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.serializeBinary = function () {
345
+ var writer = new jspb.BinaryWriter();
346
+ proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter(this, writer);
347
+ return writer.getResultBuffer();
369
348
  };
370
349
 
371
-
372
350
  /**
373
351
  * Serializes the given message to binary data (in protobuf wire
374
352
  * format), writing to the given BinaryWriter.
@@ -376,116 +354,100 @@ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.serializeBinary = function(
376
354
  * @param {!jspb.BinaryWriter} writer
377
355
  * @suppress {unusedLocalVariables} f is only used for nested messages
378
356
  */
379
- proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter = function(message, writer) {
380
- var f = undefined;
381
- f = message.getParent();
382
- if (f.length > 0) {
383
- writer.writeString(
384
- 1,
385
- f
386
- );
387
- }
388
- f = message.getFilterByCategory();
389
- if (f !== 0.0) {
390
- writer.writeEnum(
391
- 2,
392
- f
393
- );
394
- }
357
+ proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter = function (message, writer) {
358
+ var f = undefined;
359
+ f = message.getParent();
360
+ if (f.length > 0) {
361
+ writer.writeString(1, f);
362
+ }
363
+ f = message.getFilterByCategory();
364
+ if (f !== 0.0) {
365
+ writer.writeEnum(2, f);
366
+ }
395
367
  };
396
368
 
397
-
398
369
  /**
399
370
  * optional string parent = 1;
400
371
  * @return {string}
401
372
  */
402
- proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getParent = function() {
403
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
373
+ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getParent = function () {
374
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
404
375
  };
405
376
 
406
-
407
377
  /**
408
378
  * @param {string} value
409
379
  * @return {!proto.ondewo.nlu.GetEntityTypeCountRequest} returns this
410
380
  */
411
- proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setParent = function(value) {
412
- return jspb.Message.setProto3StringField(this, 1, value);
381
+ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setParent = function (value) {
382
+ return jspb.Message.setProto3StringField(this, 1, value);
413
383
  };
414
384
 
415
-
416
385
  /**
417
386
  * optional EntityTypeCategory filter_by_category = 2;
418
387
  * @return {!proto.ondewo.nlu.EntityTypeCategory}
419
388
  */
420
- proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getFilterByCategory = function() {
421
- return /** @type {!proto.ondewo.nlu.EntityTypeCategory} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
389
+ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getFilterByCategory = function () {
390
+ return /** @type {!proto.ondewo.nlu.EntityTypeCategory} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
422
391
  };
423
392
 
424
-
425
393
  /**
426
394
  * @param {!proto.ondewo.nlu.EntityTypeCategory} value
427
395
  * @return {!proto.ondewo.nlu.GetEntityTypeCountRequest} returns this
428
396
  */
429
- proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setFilterByCategory = function(value) {
430
- return jspb.Message.setProto3EnumField(this, 2, value);
397
+ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setFilterByCategory = function (value) {
398
+ return jspb.Message.setProto3EnumField(this, 2, value);
431
399
  };
432
400
 
433
-
434
-
435
-
436
-
437
401
  if (jspb.Message.GENERATE_TO_OBJECT) {
438
- /**
439
- * Creates an object representation of this proto.
440
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
441
- * Optional fields that are not set will be set to undefined.
442
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
443
- * For the list of reserved names please see:
444
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
445
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
446
- * JSPB instance for transitional soy proto support:
447
- * http://goto/soy-param-migration
448
- * @return {!Object}
449
- */
450
- proto.ondewo.nlu.GetProjectStatRequest.prototype.toObject = function(opt_includeInstance) {
451
- return proto.ondewo.nlu.GetProjectStatRequest.toObject(opt_includeInstance, this);
452
- };
453
-
454
-
455
- /**
456
- * Static version of the {@see toObject} method.
457
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
458
- * the JSPB instance for transitional soy proto support:
459
- * http://goto/soy-param-migration
460
- * @param {!proto.ondewo.nlu.GetProjectStatRequest} msg The msg instance to transform.
461
- * @return {!Object}
462
- * @suppress {unusedLocalVariables} f is only used for nested messages
463
- */
464
- proto.ondewo.nlu.GetProjectStatRequest.toObject = function(includeInstance, msg) {
465
- var f, obj = {
466
- parent: jspb.Message.getFieldWithDefault(msg, 1, "")
467
- };
468
-
469
- if (includeInstance) {
470
- obj.$jspbMessageInstance = msg;
471
- }
472
- return obj;
473
- };
402
+ /**
403
+ * Creates an object representation of this proto.
404
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
405
+ * Optional fields that are not set will be set to undefined.
406
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
407
+ * For the list of reserved names please see:
408
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
409
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
410
+ * JSPB instance for transitional soy proto support:
411
+ * http://goto/soy-param-migration
412
+ * @return {!Object}
413
+ */
414
+ proto.ondewo.nlu.GetProjectStatRequest.prototype.toObject = function (opt_includeInstance) {
415
+ return proto.ondewo.nlu.GetProjectStatRequest.toObject(opt_includeInstance, this);
416
+ };
417
+
418
+ /**
419
+ * Static version of the {@see toObject} method.
420
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
421
+ * the JSPB instance for transitional soy proto support:
422
+ * http://goto/soy-param-migration
423
+ * @param {!proto.ondewo.nlu.GetProjectStatRequest} msg The msg instance to transform.
424
+ * @return {!Object}
425
+ * @suppress {unusedLocalVariables} f is only used for nested messages
426
+ */
427
+ proto.ondewo.nlu.GetProjectStatRequest.toObject = function (includeInstance, msg) {
428
+ var f,
429
+ obj = {
430
+ parent: jspb.Message.getFieldWithDefault(msg, 1, '')
431
+ };
432
+
433
+ if (includeInstance) {
434
+ obj.$jspbMessageInstance = msg;
435
+ }
436
+ return obj;
437
+ };
474
438
  }
475
439
 
476
-
477
440
  /**
478
441
  * Deserializes binary data (in protobuf wire format).
479
442
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
480
443
  * @return {!proto.ondewo.nlu.GetProjectStatRequest}
481
444
  */
482
- proto.ondewo.nlu.GetProjectStatRequest.deserializeBinary = function(bytes) {
483
- var reader = new jspb.BinaryReader(bytes);
484
- var msg = new proto.ondewo.nlu.GetProjectStatRequest;
485
- return proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader(msg, reader);
445
+ proto.ondewo.nlu.GetProjectStatRequest.deserializeBinary = function (bytes) {
446
+ var reader = new jspb.BinaryReader(bytes);
447
+ var msg = new proto.ondewo.nlu.GetProjectStatRequest();
448
+ return proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader(msg, reader);
486
449
  };
487
450
 
488
-
489
451
  /**
490
452
  * Deserializes binary data (in protobuf wire format) from the
491
453
  * given reader into the given message object.
@@ -493,37 +455,35 @@ proto.ondewo.nlu.GetProjectStatRequest.deserializeBinary = function(bytes) {
493
455
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
494
456
  * @return {!proto.ondewo.nlu.GetProjectStatRequest}
495
457
  */
496
- proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader = function(msg, reader) {
497
- while (reader.nextField()) {
498
- if (reader.isEndGroup()) {
499
- break;
500
- }
501
- var field = reader.getFieldNumber();
502
- switch (field) {
503
- case 1:
504
- var value = /** @type {string} */ (reader.readString());
505
- msg.setParent(value);
506
- break;
507
- default:
508
- reader.skipField();
509
- break;
510
- }
511
- }
512
- return msg;
458
+ proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader = function (msg, reader) {
459
+ while (reader.nextField()) {
460
+ if (reader.isEndGroup()) {
461
+ break;
462
+ }
463
+ var field = reader.getFieldNumber();
464
+ switch (field) {
465
+ case 1:
466
+ var value = /** @type {string} */ (reader.readString());
467
+ msg.setParent(value);
468
+ break;
469
+ default:
470
+ reader.skipField();
471
+ break;
472
+ }
473
+ }
474
+ return msg;
513
475
  };
514
476
 
515
-
516
477
  /**
517
478
  * Serializes the message to binary data (in protobuf wire format).
518
479
  * @return {!Uint8Array}
519
480
  */
520
- proto.ondewo.nlu.GetProjectStatRequest.prototype.serializeBinary = function() {
521
- var writer = new jspb.BinaryWriter();
522
- proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter(this, writer);
523
- return writer.getResultBuffer();
481
+ proto.ondewo.nlu.GetProjectStatRequest.prototype.serializeBinary = function () {
482
+ var writer = new jspb.BinaryWriter();
483
+ proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter(this, writer);
484
+ return writer.getResultBuffer();
524
485
  };
525
486
 
526
-
527
487
  /**
528
488
  * Serializes the given message to binary data (in protobuf wire
529
489
  * format), writing to the given BinaryWriter.
@@ -531,92 +491,81 @@ proto.ondewo.nlu.GetProjectStatRequest.prototype.serializeBinary = function() {
531
491
  * @param {!jspb.BinaryWriter} writer
532
492
  * @suppress {unusedLocalVariables} f is only used for nested messages
533
493
  */
534
- proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter = function(message, writer) {
535
- var f = undefined;
536
- f = message.getParent();
537
- if (f.length > 0) {
538
- writer.writeString(
539
- 1,
540
- f
541
- );
542
- }
494
+ proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter = function (message, writer) {
495
+ var f = undefined;
496
+ f = message.getParent();
497
+ if (f.length > 0) {
498
+ writer.writeString(1, f);
499
+ }
543
500
  };
544
501
 
545
-
546
502
  /**
547
503
  * optional string parent = 1;
548
504
  * @return {string}
549
505
  */
550
- proto.ondewo.nlu.GetProjectStatRequest.prototype.getParent = function() {
551
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
506
+ proto.ondewo.nlu.GetProjectStatRequest.prototype.getParent = function () {
507
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
552
508
  };
553
509
 
554
-
555
510
  /**
556
511
  * @param {string} value
557
512
  * @return {!proto.ondewo.nlu.GetProjectStatRequest} returns this
558
513
  */
559
- proto.ondewo.nlu.GetProjectStatRequest.prototype.setParent = function(value) {
560
- return jspb.Message.setProto3StringField(this, 1, value);
514
+ proto.ondewo.nlu.GetProjectStatRequest.prototype.setParent = function (value) {
515
+ return jspb.Message.setProto3StringField(this, 1, value);
561
516
  };
562
517
 
563
-
564
-
565
-
566
-
567
518
  if (jspb.Message.GENERATE_TO_OBJECT) {
568
- /**
569
- * Creates an object representation of this proto.
570
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
571
- * Optional fields that are not set will be set to undefined.
572
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
573
- * For the list of reserved names please see:
574
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
575
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
576
- * JSPB instance for transitional soy proto support:
577
- * http://goto/soy-param-migration
578
- * @return {!Object}
579
- */
580
- proto.ondewo.nlu.GetProjectElementStatRequest.prototype.toObject = function(opt_includeInstance) {
581
- return proto.ondewo.nlu.GetProjectElementStatRequest.toObject(opt_includeInstance, this);
582
- };
583
-
584
-
585
- /**
586
- * Static version of the {@see toObject} method.
587
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
588
- * the JSPB instance for transitional soy proto support:
589
- * http://goto/soy-param-migration
590
- * @param {!proto.ondewo.nlu.GetProjectElementStatRequest} msg The msg instance to transform.
591
- * @return {!Object}
592
- * @suppress {unusedLocalVariables} f is only used for nested messages
593
- */
594
- proto.ondewo.nlu.GetProjectElementStatRequest.toObject = function(includeInstance, msg) {
595
- var f, obj = {
596
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
597
- languageCode: jspb.Message.getFieldWithDefault(msg, 2, "")
598
- };
599
-
600
- if (includeInstance) {
601
- obj.$jspbMessageInstance = msg;
602
- }
603
- return obj;
604
- };
519
+ /**
520
+ * Creates an object representation of this proto.
521
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
522
+ * Optional fields that are not set will be set to undefined.
523
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
524
+ * For the list of reserved names please see:
525
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
526
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
527
+ * JSPB instance for transitional soy proto support:
528
+ * http://goto/soy-param-migration
529
+ * @return {!Object}
530
+ */
531
+ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.toObject = function (opt_includeInstance) {
532
+ return proto.ondewo.nlu.GetProjectElementStatRequest.toObject(opt_includeInstance, this);
533
+ };
534
+
535
+ /**
536
+ * Static version of the {@see toObject} method.
537
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
538
+ * the JSPB instance for transitional soy proto support:
539
+ * http://goto/soy-param-migration
540
+ * @param {!proto.ondewo.nlu.GetProjectElementStatRequest} msg The msg instance to transform.
541
+ * @return {!Object}
542
+ * @suppress {unusedLocalVariables} f is only used for nested messages
543
+ */
544
+ proto.ondewo.nlu.GetProjectElementStatRequest.toObject = function (includeInstance, msg) {
545
+ var f,
546
+ obj = {
547
+ name: jspb.Message.getFieldWithDefault(msg, 1, ''),
548
+ languageCode: jspb.Message.getFieldWithDefault(msg, 2, '')
549
+ };
550
+
551
+ if (includeInstance) {
552
+ obj.$jspbMessageInstance = msg;
553
+ }
554
+ return obj;
555
+ };
605
556
  }
606
557
 
607
-
608
558
  /**
609
559
  * Deserializes binary data (in protobuf wire format).
610
560
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
611
561
  * @return {!proto.ondewo.nlu.GetProjectElementStatRequest}
612
562
  */
613
- proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinary = function(bytes) {
614
- var reader = new jspb.BinaryReader(bytes);
615
- var msg = new proto.ondewo.nlu.GetProjectElementStatRequest;
616
- return proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader(msg, reader);
563
+ proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinary = function (bytes) {
564
+ var reader = new jspb.BinaryReader(bytes);
565
+ var msg = new proto.ondewo.nlu.GetProjectElementStatRequest();
566
+ return proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader(msg, reader);
617
567
  };
618
568
 
619
-
620
569
  /**
621
570
  * Deserializes binary data (in protobuf wire format) from the
622
571
  * given reader into the given message object.
@@ -624,41 +573,39 @@ proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinary = function(bytes
624
573
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
625
574
  * @return {!proto.ondewo.nlu.GetProjectElementStatRequest}
626
575
  */
627
- proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader = function(msg, reader) {
628
- while (reader.nextField()) {
629
- if (reader.isEndGroup()) {
630
- break;
631
- }
632
- var field = reader.getFieldNumber();
633
- switch (field) {
634
- case 1:
635
- var value = /** @type {string} */ (reader.readString());
636
- msg.setName(value);
637
- break;
638
- case 2:
639
- var value = /** @type {string} */ (reader.readString());
640
- msg.setLanguageCode(value);
641
- break;
642
- default:
643
- reader.skipField();
644
- break;
645
- }
646
- }
647
- return msg;
576
+ proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader = function (msg, reader) {
577
+ while (reader.nextField()) {
578
+ if (reader.isEndGroup()) {
579
+ break;
580
+ }
581
+ var field = reader.getFieldNumber();
582
+ switch (field) {
583
+ case 1:
584
+ var value = /** @type {string} */ (reader.readString());
585
+ msg.setName(value);
586
+ break;
587
+ case 2:
588
+ var value = /** @type {string} */ (reader.readString());
589
+ msg.setLanguageCode(value);
590
+ break;
591
+ default:
592
+ reader.skipField();
593
+ break;
594
+ }
595
+ }
596
+ return msg;
648
597
  };
649
598
 
650
-
651
599
  /**
652
600
  * Serializes the message to binary data (in protobuf wire format).
653
601
  * @return {!Uint8Array}
654
602
  */
655
- proto.ondewo.nlu.GetProjectElementStatRequest.prototype.serializeBinary = function() {
656
- var writer = new jspb.BinaryWriter();
657
- proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter(this, writer);
658
- return writer.getResultBuffer();
603
+ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.serializeBinary = function () {
604
+ var writer = new jspb.BinaryWriter();
605
+ proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter(this, writer);
606
+ return writer.getResultBuffer();
659
607
  };
660
608
 
661
-
662
609
  /**
663
610
  * Serializes the given message to binary data (in protobuf wire
664
611
  * format), writing to the given BinaryWriter.
@@ -666,59 +613,48 @@ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.serializeBinary = functi
666
613
  * @param {!jspb.BinaryWriter} writer
667
614
  * @suppress {unusedLocalVariables} f is only used for nested messages
668
615
  */
669
- proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter = function(message, writer) {
670
- var f = undefined;
671
- f = message.getName();
672
- if (f.length > 0) {
673
- writer.writeString(
674
- 1,
675
- f
676
- );
677
- }
678
- f = message.getLanguageCode();
679
- if (f.length > 0) {
680
- writer.writeString(
681
- 2,
682
- f
683
- );
684
- }
616
+ proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter = function (message, writer) {
617
+ var f = undefined;
618
+ f = message.getName();
619
+ if (f.length > 0) {
620
+ writer.writeString(1, f);
621
+ }
622
+ f = message.getLanguageCode();
623
+ if (f.length > 0) {
624
+ writer.writeString(2, f);
625
+ }
685
626
  };
686
627
 
687
-
688
628
  /**
689
629
  * optional string name = 1;
690
630
  * @return {string}
691
631
  */
692
- proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getName = function() {
693
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
632
+ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getName = function () {
633
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
694
634
  };
695
635
 
696
-
697
636
  /**
698
637
  * @param {string} value
699
638
  * @return {!proto.ondewo.nlu.GetProjectElementStatRequest} returns this
700
639
  */
701
- proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setName = function(value) {
702
- return jspb.Message.setProto3StringField(this, 1, value);
640
+ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setName = function (value) {
641
+ return jspb.Message.setProto3StringField(this, 1, value);
703
642
  };
704
643
 
705
-
706
644
  /**
707
645
  * optional string language_code = 2;
708
646
  * @return {string}
709
647
  */
710
- proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getLanguageCode = function() {
711
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
648
+ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getLanguageCode = function () {
649
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
712
650
  };
713
651
 
714
-
715
652
  /**
716
653
  * @param {string} value
717
654
  * @return {!proto.ondewo.nlu.GetProjectElementStatRequest} returns this
718
655
  */
719
- proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setLanguageCode = function(value) {
720
- return jspb.Message.setProto3StringField(this, 2, value);
656
+ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setLanguageCode = function (value) {
657
+ return jspb.Message.setProto3StringField(this, 2, value);
721
658
  };
722
659
 
723
-
724
660
  goog.object.extend(exports, proto.ondewo.nlu);