@ondewo/nlu-client-typescript 4.1.0 → 4.3.0

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