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