@ondewo/nlu-client-typescript 4.1.0 → 4.2.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 +490 -450
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
- package/api/ondewo/nlu/agent_pb.d.ts +1751 -1939
- package/api/ondewo/nlu/agent_pb.js +10484 -9063
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
- package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
- package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
- package/api/ondewo/nlu/common_pb.d.ts +17 -15
- package/api/ondewo/nlu/common_pb.js +93 -83
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
- package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +1042 -889
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
- package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
- package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
- package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
- package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
- package/api/ondewo/nlu/intent_pb.js +10692 -9502
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +88 -86
- package/api/ondewo/nlu/operation_metadata_pb.js +412 -321
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
- package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
- package/api/ondewo/nlu/operations_pb.d.ts +182 -189
- package/api/ondewo/nlu/operations_pb.js +1004 -843
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
- package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
- package/api/ondewo/nlu/project_role_pb.js +963 -796
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
- package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
- package/api/ondewo/nlu/project_statistics_pb.js +418 -354
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
- package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
- package/api/ondewo/nlu/server_statistics_pb.js +91 -81
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
- package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
- package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
- package/api/ondewo/nlu/session_pb.js +13885 -6673
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
- package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
- package/api/ondewo/nlu/user_pb.d.ts +325 -345
- package/api/ondewo/nlu/user_pb.js +2312 -1948
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
- package/api/ondewo/nlu/utility_pb.d.ts +535 -588
- package/api/ondewo/nlu/utility_pb.js +3348 -2814
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
- package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
- package/api/ondewo/nlu/webhook_pb.js +718 -599
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
- package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
- package/api/ondewo/qa/qa_pb.d.ts +220 -235
- package/api/ondewo/qa/qa_pb.js +1452 -1222
- package/package.json +1 -1
- package/public-api.d.ts +30 -0
|
@@ -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
|
|
47
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
|
68
|
-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
|
89
|
-
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
|
110
|
-
|
|
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
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
|
131
|
-
|
|
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
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
|
152
|
-
|
|
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
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
|
173
|
-
|
|
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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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
|
+
/**
|
|
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
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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
|
-
|
|
283
|
-
|
|
284
|
-
|
|
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
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
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
|
-
|
|
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
|
|
323
|
-
|
|
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
|
-
|
|
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
|
|
339
|
-
|
|
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
|
-
|
|
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
|
|
355
|
-
|
|
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
|
|
364
|
-
|
|
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
|
-
|
|
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
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
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
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
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
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
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
|
-
|
|
468
|
-
|
|
469
|
-
|
|
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
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
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
|
-
|
|
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
|
|
508
|
-
|
|
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
|
-
|
|
517
|
-
|
|
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
|
|
526
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
558
|
-
|
|
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
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
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
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
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
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
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
|
-
|
|
651
|
-
|
|
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
|
-
|
|
660
|
-
|
|
661
|
-
|
|
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
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
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
|
-
|
|
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
|
|
704
|
-
|
|
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
|
-
|
|
713
|
-
|
|
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
|
|
722
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
747
|
-
|
|
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
|
|
756
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
788
|
-
|
|
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,
|
|
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
|
-
|
|
806
|
-
|
|
807
|
-
|
|
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
|
-
|
|
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
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
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
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
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
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
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
|
-
|
|
916
|
-
|
|
917
|
-
|
|
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
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
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
|
-
|
|
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
|
|
960
|
-
|
|
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
|
-
|
|
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
|
|
976
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1008
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1040
|
-
|
|
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
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
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
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
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
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
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
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
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
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
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
|
-
|
|
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
|
|
1166
|
-
|
|
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
|
-
|
|
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
|
|
1182
|
-
|
|
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
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
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
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
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
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
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
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
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
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
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
|
-
|
|
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
|
|
1317
|
-
|
|
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
|
-
|
|
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
|
|
1333
|
-
|
|
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
|
-
|
|
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
|
|
1349
|
-
|
|
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
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
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
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
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
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
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
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
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
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
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
|
-
|
|
1480
|
-
|
|
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
|
|
1489
|
-
|
|
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
|
|
1498
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1522
|
-
|
|
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
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
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
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
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);
|