@aldiokta/protocgen 1.0.16 → 1.0.18
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/package.json +1 -1
- package/prisca/v1/core/company/company_pb.js +362 -99
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +1 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +157 -104
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +4 -0
- package/prisca/v1/core/job_position/job_position_pb.js +955 -285
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +1 -0
- package/prisca/v1/core/job_title/job_title_pb.js +417 -101
- package/prisca/v1/core/material/material_pb.js +159 -129
- package/prisca/v1/core/material_group/material_group_pb.js +39 -39
- package/prisca/v1/core/material_type/material_type_pb.js +55 -25
- package/prisca/v1/core/organization/organization_grpc_pb.js +3 -0
- package/prisca/v1/core/organization/organization_pb.js +831 -229
- package/prisca/v1/core/organization_level/organization_level_pb.js +40 -70
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +52 -52
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
- package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
- package/prisca/v1/core/work_location/work_location_pb.js +221 -221
- package/prisca/v1/core/workflow/workflow_pb.js +59 -59
|
@@ -23,6 +23,13 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
28
|
+
var prisca_v1_core_work_location_work_location_pb = require('../../../../prisca/v1/core/work_location/work_location_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_core_work_location_work_location_pb);
|
|
30
|
+
var prisca_v1_core_organization_level_organization_level_pb = require('../../../../prisca/v1/core/organization_level/organization_level_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_core_organization_level_organization_level_pb);
|
|
32
|
+
goog.exportSymbol('proto.BaseOrganization', null, global);
|
|
26
33
|
goog.exportSymbol('proto.CreateOrganizationRequest', null, global);
|
|
27
34
|
goog.exportSymbol('proto.CreateOrganizationResponse', null, global);
|
|
28
35
|
goog.exportSymbol('proto.DeleteOrganizationRequest', null, global);
|
|
@@ -55,6 +62,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
55
62
|
*/
|
|
56
63
|
proto.Organization.displayName = 'proto.Organization';
|
|
57
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Generated by JsPbCodeGenerator.
|
|
67
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
68
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
69
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
70
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
71
|
+
* valid.
|
|
72
|
+
* @extends {jspb.Message}
|
|
73
|
+
* @constructor
|
|
74
|
+
*/
|
|
75
|
+
proto.BaseOrganization = function(opt_data) {
|
|
76
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
77
|
+
};
|
|
78
|
+
goog.inherits(proto.BaseOrganization, jspb.Message);
|
|
79
|
+
if (goog.DEBUG && !COMPILED) {
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @override
|
|
83
|
+
*/
|
|
84
|
+
proto.BaseOrganization.displayName = 'proto.BaseOrganization';
|
|
85
|
+
}
|
|
58
86
|
/**
|
|
59
87
|
* Generated by JsPbCodeGenerator.
|
|
60
88
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -161,110 +189,684 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
161
189
|
proto.DeleteOrganizationResponse.displayName = 'proto.DeleteOrganizationResponse';
|
|
162
190
|
}
|
|
163
191
|
/**
|
|
164
|
-
* Generated by JsPbCodeGenerator.
|
|
165
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
166
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
167
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
168
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
169
|
-
* valid.
|
|
170
|
-
* @extends {jspb.Message}
|
|
171
|
-
* @constructor
|
|
192
|
+
* Generated by JsPbCodeGenerator.
|
|
193
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
194
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
195
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
196
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
197
|
+
* valid.
|
|
198
|
+
* @extends {jspb.Message}
|
|
199
|
+
* @constructor
|
|
200
|
+
*/
|
|
201
|
+
proto.GetListOrganizationRequest = function(opt_data) {
|
|
202
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
203
|
+
};
|
|
204
|
+
goog.inherits(proto.GetListOrganizationRequest, jspb.Message);
|
|
205
|
+
if (goog.DEBUG && !COMPILED) {
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @override
|
|
209
|
+
*/
|
|
210
|
+
proto.GetListOrganizationRequest.displayName = 'proto.GetListOrganizationRequest';
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Generated by JsPbCodeGenerator.
|
|
214
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
215
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
216
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
217
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
218
|
+
* valid.
|
|
219
|
+
* @extends {jspb.Message}
|
|
220
|
+
* @constructor
|
|
221
|
+
*/
|
|
222
|
+
proto.CreateOrganizationResponse = function(opt_data) {
|
|
223
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
224
|
+
};
|
|
225
|
+
goog.inherits(proto.CreateOrganizationResponse, jspb.Message);
|
|
226
|
+
if (goog.DEBUG && !COMPILED) {
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
* @override
|
|
230
|
+
*/
|
|
231
|
+
proto.CreateOrganizationResponse.displayName = 'proto.CreateOrganizationResponse';
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Generated by JsPbCodeGenerator.
|
|
235
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
236
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
237
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
238
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
239
|
+
* valid.
|
|
240
|
+
* @extends {jspb.Message}
|
|
241
|
+
* @constructor
|
|
242
|
+
*/
|
|
243
|
+
proto.GetListOrganizationResponse = function(opt_data) {
|
|
244
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListOrganizationResponse.repeatedFields_, null);
|
|
245
|
+
};
|
|
246
|
+
goog.inherits(proto.GetListOrganizationResponse, jspb.Message);
|
|
247
|
+
if (goog.DEBUG && !COMPILED) {
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* @override
|
|
251
|
+
*/
|
|
252
|
+
proto.GetListOrganizationResponse.displayName = 'proto.GetListOrganizationResponse';
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Generated by JsPbCodeGenerator.
|
|
256
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
257
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
258
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
259
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
260
|
+
* valid.
|
|
261
|
+
* @extends {jspb.Message}
|
|
262
|
+
* @constructor
|
|
263
|
+
*/
|
|
264
|
+
proto.UpdateOrganizationResponse = function(opt_data) {
|
|
265
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
266
|
+
};
|
|
267
|
+
goog.inherits(proto.UpdateOrganizationResponse, jspb.Message);
|
|
268
|
+
if (goog.DEBUG && !COMPILED) {
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
* @override
|
|
272
|
+
*/
|
|
273
|
+
proto.UpdateOrganizationResponse.displayName = 'proto.UpdateOrganizationResponse';
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Generated by JsPbCodeGenerator.
|
|
277
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
278
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
279
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
280
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
281
|
+
* valid.
|
|
282
|
+
* @extends {jspb.Message}
|
|
283
|
+
* @constructor
|
|
284
|
+
*/
|
|
285
|
+
proto.OrganizationGetByIdResponse = function(opt_data) {
|
|
286
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
287
|
+
};
|
|
288
|
+
goog.inherits(proto.OrganizationGetByIdResponse, jspb.Message);
|
|
289
|
+
if (goog.DEBUG && !COMPILED) {
|
|
290
|
+
/**
|
|
291
|
+
* @public
|
|
292
|
+
* @override
|
|
293
|
+
*/
|
|
294
|
+
proto.OrganizationGetByIdResponse.displayName = 'proto.OrganizationGetByIdResponse';
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
300
|
+
/**
|
|
301
|
+
* Creates an object representation of this proto.
|
|
302
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
303
|
+
* Optional fields that are not set will be set to undefined.
|
|
304
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
305
|
+
* For the list of reserved names please see:
|
|
306
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
307
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
308
|
+
* JSPB instance for transitional soy proto support:
|
|
309
|
+
* http://goto/soy-param-migration
|
|
310
|
+
* @return {!Object}
|
|
311
|
+
*/
|
|
312
|
+
proto.Organization.prototype.toObject = function(opt_includeInstance) {
|
|
313
|
+
return proto.Organization.toObject(opt_includeInstance, this);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Static version of the {@see toObject} method.
|
|
319
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
320
|
+
* the JSPB instance for transitional soy proto support:
|
|
321
|
+
* http://goto/soy-param-migration
|
|
322
|
+
* @param {!proto.Organization} msg The msg instance to transform.
|
|
323
|
+
* @return {!Object}
|
|
324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
325
|
+
*/
|
|
326
|
+
proto.Organization.toObject = function(includeInstance, msg) {
|
|
327
|
+
var f, obj = {
|
|
328
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
329
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
330
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
331
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
332
|
+
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
333
|
+
parent: (f = msg.getParent()) && proto.BaseOrganization.toObject(includeInstance, f),
|
|
334
|
+
organizationLevelReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
335
|
+
organizationLevel: (f = msg.getOrganizationLevel()) && prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel.toObject(includeInstance, f),
|
|
336
|
+
workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
337
|
+
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
338
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
339
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
340
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
if (includeInstance) {
|
|
344
|
+
obj.$jspbMessageInstance = msg;
|
|
345
|
+
}
|
|
346
|
+
return obj;
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Deserializes binary data (in protobuf wire format).
|
|
353
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
354
|
+
* @return {!proto.Organization}
|
|
355
|
+
*/
|
|
356
|
+
proto.Organization.deserializeBinary = function(bytes) {
|
|
357
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
358
|
+
var msg = new proto.Organization;
|
|
359
|
+
return proto.Organization.deserializeBinaryFromReader(msg, reader);
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
365
|
+
* given reader into the given message object.
|
|
366
|
+
* @param {!proto.Organization} msg The message object to deserialize into.
|
|
367
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
368
|
+
* @return {!proto.Organization}
|
|
369
|
+
*/
|
|
370
|
+
proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
371
|
+
while (reader.nextField()) {
|
|
372
|
+
if (reader.isEndGroup()) {
|
|
373
|
+
break;
|
|
374
|
+
}
|
|
375
|
+
var field = reader.getFieldNumber();
|
|
376
|
+
switch (field) {
|
|
377
|
+
case 1:
|
|
378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
379
|
+
msg.setReferencesId(value);
|
|
380
|
+
break;
|
|
381
|
+
case 2:
|
|
382
|
+
var value = /** @type {string} */ (reader.readString());
|
|
383
|
+
msg.setCode(value);
|
|
384
|
+
break;
|
|
385
|
+
case 3:
|
|
386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
387
|
+
msg.setName(value);
|
|
388
|
+
break;
|
|
389
|
+
case 4:
|
|
390
|
+
var value = /** @type {string} */ (reader.readString());
|
|
391
|
+
msg.setCostCenterCode(value);
|
|
392
|
+
break;
|
|
393
|
+
case 5:
|
|
394
|
+
var value = /** @type {string} */ (reader.readString());
|
|
395
|
+
msg.setParentReferencesId(value);
|
|
396
|
+
break;
|
|
397
|
+
case 6:
|
|
398
|
+
var value = new proto.BaseOrganization;
|
|
399
|
+
reader.readMessage(value,proto.BaseOrganization.deserializeBinaryFromReader);
|
|
400
|
+
msg.setParent(value);
|
|
401
|
+
break;
|
|
402
|
+
case 7:
|
|
403
|
+
var value = /** @type {string} */ (reader.readString());
|
|
404
|
+
msg.setOrganizationLevelReferencesId(value);
|
|
405
|
+
break;
|
|
406
|
+
case 8:
|
|
407
|
+
var value = new prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel;
|
|
408
|
+
reader.readMessage(value,prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel.deserializeBinaryFromReader);
|
|
409
|
+
msg.setOrganizationLevel(value);
|
|
410
|
+
break;
|
|
411
|
+
case 9:
|
|
412
|
+
var value = /** @type {string} */ (reader.readString());
|
|
413
|
+
msg.setWorkLocationReferencesId(value);
|
|
414
|
+
break;
|
|
415
|
+
case 10:
|
|
416
|
+
var value = new prisca_v1_core_work_location_work_location_pb.WorkLocation;
|
|
417
|
+
reader.readMessage(value,prisca_v1_core_work_location_work_location_pb.WorkLocation.deserializeBinaryFromReader);
|
|
418
|
+
msg.setWorkLocations(value);
|
|
419
|
+
break;
|
|
420
|
+
case 11:
|
|
421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
422
|
+
msg.setDescription(value);
|
|
423
|
+
break;
|
|
424
|
+
case 12:
|
|
425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
426
|
+
msg.setCompaniesReferencesId(value);
|
|
427
|
+
break;
|
|
428
|
+
case 13:
|
|
429
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
430
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
431
|
+
msg.setCompanies(value);
|
|
432
|
+
break;
|
|
433
|
+
default:
|
|
434
|
+
reader.skipField();
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return msg;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
444
|
+
* @return {!Uint8Array}
|
|
445
|
+
*/
|
|
446
|
+
proto.Organization.prototype.serializeBinary = function() {
|
|
447
|
+
var writer = new jspb.BinaryWriter();
|
|
448
|
+
proto.Organization.serializeBinaryToWriter(this, writer);
|
|
449
|
+
return writer.getResultBuffer();
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
455
|
+
* format), writing to the given BinaryWriter.
|
|
456
|
+
* @param {!proto.Organization} message
|
|
457
|
+
* @param {!jspb.BinaryWriter} writer
|
|
458
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
459
|
+
*/
|
|
460
|
+
proto.Organization.serializeBinaryToWriter = function(message, writer) {
|
|
461
|
+
var f = undefined;
|
|
462
|
+
f = message.getReferencesId();
|
|
463
|
+
if (f.length > 0) {
|
|
464
|
+
writer.writeString(
|
|
465
|
+
1,
|
|
466
|
+
f
|
|
467
|
+
);
|
|
468
|
+
}
|
|
469
|
+
f = message.getCode();
|
|
470
|
+
if (f.length > 0) {
|
|
471
|
+
writer.writeString(
|
|
472
|
+
2,
|
|
473
|
+
f
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
f = message.getName();
|
|
477
|
+
if (f.length > 0) {
|
|
478
|
+
writer.writeString(
|
|
479
|
+
3,
|
|
480
|
+
f
|
|
481
|
+
);
|
|
482
|
+
}
|
|
483
|
+
f = message.getCostCenterCode();
|
|
484
|
+
if (f.length > 0) {
|
|
485
|
+
writer.writeString(
|
|
486
|
+
4,
|
|
487
|
+
f
|
|
488
|
+
);
|
|
489
|
+
}
|
|
490
|
+
f = message.getParentReferencesId();
|
|
491
|
+
if (f.length > 0) {
|
|
492
|
+
writer.writeString(
|
|
493
|
+
5,
|
|
494
|
+
f
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
f = message.getParent();
|
|
498
|
+
if (f != null) {
|
|
499
|
+
writer.writeMessage(
|
|
500
|
+
6,
|
|
501
|
+
f,
|
|
502
|
+
proto.BaseOrganization.serializeBinaryToWriter
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
f = message.getOrganizationLevelReferencesId();
|
|
506
|
+
if (f.length > 0) {
|
|
507
|
+
writer.writeString(
|
|
508
|
+
7,
|
|
509
|
+
f
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
f = message.getOrganizationLevel();
|
|
513
|
+
if (f != null) {
|
|
514
|
+
writer.writeMessage(
|
|
515
|
+
8,
|
|
516
|
+
f,
|
|
517
|
+
prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel.serializeBinaryToWriter
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
f = message.getWorkLocationReferencesId();
|
|
521
|
+
if (f.length > 0) {
|
|
522
|
+
writer.writeString(
|
|
523
|
+
9,
|
|
524
|
+
f
|
|
525
|
+
);
|
|
526
|
+
}
|
|
527
|
+
f = message.getWorkLocations();
|
|
528
|
+
if (f != null) {
|
|
529
|
+
writer.writeMessage(
|
|
530
|
+
10,
|
|
531
|
+
f,
|
|
532
|
+
prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
|
|
533
|
+
);
|
|
534
|
+
}
|
|
535
|
+
f = message.getDescription();
|
|
536
|
+
if (f.length > 0) {
|
|
537
|
+
writer.writeString(
|
|
538
|
+
11,
|
|
539
|
+
f
|
|
540
|
+
);
|
|
541
|
+
}
|
|
542
|
+
f = message.getCompaniesReferencesId();
|
|
543
|
+
if (f.length > 0) {
|
|
544
|
+
writer.writeString(
|
|
545
|
+
12,
|
|
546
|
+
f
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
f = message.getCompanies();
|
|
550
|
+
if (f != null) {
|
|
551
|
+
writer.writeMessage(
|
|
552
|
+
13,
|
|
553
|
+
f,
|
|
554
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* optional string references_id = 1;
|
|
562
|
+
* @return {string}
|
|
563
|
+
*/
|
|
564
|
+
proto.Organization.prototype.getReferencesId = function() {
|
|
565
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @param {string} value
|
|
571
|
+
* @return {!proto.Organization} returns this
|
|
572
|
+
*/
|
|
573
|
+
proto.Organization.prototype.setReferencesId = function(value) {
|
|
574
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* optional string code = 2;
|
|
580
|
+
* @return {string}
|
|
581
|
+
*/
|
|
582
|
+
proto.Organization.prototype.getCode = function() {
|
|
583
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @param {string} value
|
|
589
|
+
* @return {!proto.Organization} returns this
|
|
590
|
+
*/
|
|
591
|
+
proto.Organization.prototype.setCode = function(value) {
|
|
592
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* optional string name = 3;
|
|
598
|
+
* @return {string}
|
|
599
|
+
*/
|
|
600
|
+
proto.Organization.prototype.getName = function() {
|
|
601
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @param {string} value
|
|
607
|
+
* @return {!proto.Organization} returns this
|
|
608
|
+
*/
|
|
609
|
+
proto.Organization.prototype.setName = function(value) {
|
|
610
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* optional string cost_center_code = 4;
|
|
616
|
+
* @return {string}
|
|
617
|
+
*/
|
|
618
|
+
proto.Organization.prototype.getCostCenterCode = function() {
|
|
619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @param {string} value
|
|
625
|
+
* @return {!proto.Organization} returns this
|
|
626
|
+
*/
|
|
627
|
+
proto.Organization.prototype.setCostCenterCode = function(value) {
|
|
628
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* optional string parent_references_id = 5;
|
|
634
|
+
* @return {string}
|
|
635
|
+
*/
|
|
636
|
+
proto.Organization.prototype.getParentReferencesId = function() {
|
|
637
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @param {string} value
|
|
643
|
+
* @return {!proto.Organization} returns this
|
|
644
|
+
*/
|
|
645
|
+
proto.Organization.prototype.setParentReferencesId = function(value) {
|
|
646
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* optional BaseOrganization parent = 6;
|
|
652
|
+
* @return {?proto.BaseOrganization}
|
|
653
|
+
*/
|
|
654
|
+
proto.Organization.prototype.getParent = function() {
|
|
655
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
656
|
+
jspb.Message.getWrapperField(this, proto.BaseOrganization, 6));
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
662
|
+
* @return {!proto.Organization} returns this
|
|
663
|
+
*/
|
|
664
|
+
proto.Organization.prototype.setParent = function(value) {
|
|
665
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Clears the message field making it undefined.
|
|
671
|
+
* @return {!proto.Organization} returns this
|
|
672
|
+
*/
|
|
673
|
+
proto.Organization.prototype.clearParent = function() {
|
|
674
|
+
return this.setParent(undefined);
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Returns whether this field is set.
|
|
680
|
+
* @return {boolean}
|
|
681
|
+
*/
|
|
682
|
+
proto.Organization.prototype.hasParent = function() {
|
|
683
|
+
return jspb.Message.getField(this, 6) != null;
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* optional string organization_level_references_id = 7;
|
|
689
|
+
* @return {string}
|
|
690
|
+
*/
|
|
691
|
+
proto.Organization.prototype.getOrganizationLevelReferencesId = function() {
|
|
692
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* @param {string} value
|
|
698
|
+
* @return {!proto.Organization} returns this
|
|
699
|
+
*/
|
|
700
|
+
proto.Organization.prototype.setOrganizationLevelReferencesId = function(value) {
|
|
701
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* optional BaseOrganizationLevel organization_level = 8;
|
|
707
|
+
* @return {?proto.BaseOrganizationLevel}
|
|
708
|
+
*/
|
|
709
|
+
proto.Organization.prototype.getOrganizationLevel = function() {
|
|
710
|
+
return /** @type{?proto.BaseOrganizationLevel} */ (
|
|
711
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel, 8));
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @param {?proto.BaseOrganizationLevel|undefined} value
|
|
717
|
+
* @return {!proto.Organization} returns this
|
|
718
|
+
*/
|
|
719
|
+
proto.Organization.prototype.setOrganizationLevel = function(value) {
|
|
720
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Clears the message field making it undefined.
|
|
726
|
+
* @return {!proto.Organization} returns this
|
|
727
|
+
*/
|
|
728
|
+
proto.Organization.prototype.clearOrganizationLevel = function() {
|
|
729
|
+
return this.setOrganizationLevel(undefined);
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Returns whether this field is set.
|
|
735
|
+
* @return {boolean}
|
|
736
|
+
*/
|
|
737
|
+
proto.Organization.prototype.hasOrganizationLevel = function() {
|
|
738
|
+
return jspb.Message.getField(this, 8) != null;
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* optional string work_location_references_id = 9;
|
|
744
|
+
* @return {string}
|
|
745
|
+
*/
|
|
746
|
+
proto.Organization.prototype.getWorkLocationReferencesId = function() {
|
|
747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* @param {string} value
|
|
753
|
+
* @return {!proto.Organization} returns this
|
|
754
|
+
*/
|
|
755
|
+
proto.Organization.prototype.setWorkLocationReferencesId = function(value) {
|
|
756
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* optional WorkLocation work_locations = 10;
|
|
762
|
+
* @return {?proto.WorkLocation}
|
|
763
|
+
*/
|
|
764
|
+
proto.Organization.prototype.getWorkLocations = function() {
|
|
765
|
+
return /** @type{?proto.WorkLocation} */ (
|
|
766
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 10));
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* @param {?proto.WorkLocation|undefined} value
|
|
772
|
+
* @return {!proto.Organization} returns this
|
|
773
|
+
*/
|
|
774
|
+
proto.Organization.prototype.setWorkLocations = function(value) {
|
|
775
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Clears the message field making it undefined.
|
|
781
|
+
* @return {!proto.Organization} returns this
|
|
782
|
+
*/
|
|
783
|
+
proto.Organization.prototype.clearWorkLocations = function() {
|
|
784
|
+
return this.setWorkLocations(undefined);
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Returns whether this field is set.
|
|
790
|
+
* @return {boolean}
|
|
791
|
+
*/
|
|
792
|
+
proto.Organization.prototype.hasWorkLocations = function() {
|
|
793
|
+
return jspb.Message.getField(this, 10) != null;
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* optional string description = 11;
|
|
799
|
+
* @return {string}
|
|
800
|
+
*/
|
|
801
|
+
proto.Organization.prototype.getDescription = function() {
|
|
802
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* @param {string} value
|
|
808
|
+
* @return {!proto.Organization} returns this
|
|
809
|
+
*/
|
|
810
|
+
proto.Organization.prototype.setDescription = function(value) {
|
|
811
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* optional string companies_references_id = 12;
|
|
817
|
+
* @return {string}
|
|
172
818
|
*/
|
|
173
|
-
proto.
|
|
174
|
-
jspb.Message.
|
|
819
|
+
proto.Organization.prototype.getCompaniesReferencesId = function() {
|
|
820
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
175
821
|
};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
* @override
|
|
181
|
-
*/
|
|
182
|
-
proto.GetListOrganizationRequest.displayName = 'proto.GetListOrganizationRequest';
|
|
183
|
-
}
|
|
822
|
+
|
|
823
|
+
|
|
184
824
|
/**
|
|
185
|
-
*
|
|
186
|
-
* @
|
|
187
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
188
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
189
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
190
|
-
* valid.
|
|
191
|
-
* @extends {jspb.Message}
|
|
192
|
-
* @constructor
|
|
825
|
+
* @param {string} value
|
|
826
|
+
* @return {!proto.Organization} returns this
|
|
193
827
|
*/
|
|
194
|
-
proto.
|
|
195
|
-
jspb.Message.
|
|
828
|
+
proto.Organization.prototype.setCompaniesReferencesId = function(value) {
|
|
829
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
196
830
|
};
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* @public
|
|
201
|
-
* @override
|
|
202
|
-
*/
|
|
203
|
-
proto.CreateOrganizationResponse.displayName = 'proto.CreateOrganizationResponse';
|
|
204
|
-
}
|
|
831
|
+
|
|
832
|
+
|
|
205
833
|
/**
|
|
206
|
-
*
|
|
207
|
-
* @
|
|
208
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
209
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
210
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
211
|
-
* valid.
|
|
212
|
-
* @extends {jspb.Message}
|
|
213
|
-
* @constructor
|
|
834
|
+
* optional BaseCompanyParent companies = 13;
|
|
835
|
+
* @return {?proto.BaseCompanyParent}
|
|
214
836
|
*/
|
|
215
|
-
proto.
|
|
216
|
-
|
|
837
|
+
proto.Organization.prototype.getCompanies = function() {
|
|
838
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
839
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
|
|
217
840
|
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
* @override
|
|
223
|
-
*/
|
|
224
|
-
proto.GetListOrganizationResponse.displayName = 'proto.GetListOrganizationResponse';
|
|
225
|
-
}
|
|
841
|
+
|
|
842
|
+
|
|
226
843
|
/**
|
|
227
|
-
*
|
|
228
|
-
* @
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
844
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
845
|
+
* @return {!proto.Organization} returns this
|
|
846
|
+
*/
|
|
847
|
+
proto.Organization.prototype.setCompanies = function(value) {
|
|
848
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Clears the message field making it undefined.
|
|
854
|
+
* @return {!proto.Organization} returns this
|
|
235
855
|
*/
|
|
236
|
-
proto.
|
|
237
|
-
|
|
856
|
+
proto.Organization.prototype.clearCompanies = function() {
|
|
857
|
+
return this.setCompanies(undefined);
|
|
238
858
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @public
|
|
243
|
-
* @override
|
|
244
|
-
*/
|
|
245
|
-
proto.UpdateOrganizationResponse.displayName = 'proto.UpdateOrganizationResponse';
|
|
246
|
-
}
|
|
859
|
+
|
|
860
|
+
|
|
247
861
|
/**
|
|
248
|
-
*
|
|
249
|
-
* @
|
|
250
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
251
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
252
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
253
|
-
* valid.
|
|
254
|
-
* @extends {jspb.Message}
|
|
255
|
-
* @constructor
|
|
862
|
+
* Returns whether this field is set.
|
|
863
|
+
* @return {boolean}
|
|
256
864
|
*/
|
|
257
|
-
proto.
|
|
258
|
-
jspb.Message.
|
|
865
|
+
proto.Organization.prototype.hasCompanies = function() {
|
|
866
|
+
return jspb.Message.getField(this, 13) != null;
|
|
259
867
|
};
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* @public
|
|
264
|
-
* @override
|
|
265
|
-
*/
|
|
266
|
-
proto.OrganizationGetByIdResponse.displayName = 'proto.OrganizationGetByIdResponse';
|
|
267
|
-
}
|
|
868
|
+
|
|
869
|
+
|
|
268
870
|
|
|
269
871
|
|
|
270
872
|
|
|
@@ -281,8 +883,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
281
883
|
* http://goto/soy-param-migration
|
|
282
884
|
* @return {!Object}
|
|
283
885
|
*/
|
|
284
|
-
proto.
|
|
285
|
-
return proto.
|
|
886
|
+
proto.BaseOrganization.prototype.toObject = function(opt_includeInstance) {
|
|
887
|
+
return proto.BaseOrganization.toObject(opt_includeInstance, this);
|
|
286
888
|
};
|
|
287
889
|
|
|
288
890
|
|
|
@@ -291,19 +893,19 @@ proto.Organization.prototype.toObject = function(opt_includeInstance) {
|
|
|
291
893
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
292
894
|
* the JSPB instance for transitional soy proto support:
|
|
293
895
|
* http://goto/soy-param-migration
|
|
294
|
-
* @param {!proto.
|
|
896
|
+
* @param {!proto.BaseOrganization} msg The msg instance to transform.
|
|
295
897
|
* @return {!Object}
|
|
296
898
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
297
899
|
*/
|
|
298
|
-
proto.
|
|
900
|
+
proto.BaseOrganization.toObject = function(includeInstance, msg) {
|
|
299
901
|
var f, obj = {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
902
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
903
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
904
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
905
|
+
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
906
|
+
organizationLevelReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
907
|
+
workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
908
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
307
909
|
description: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
308
910
|
};
|
|
309
911
|
|
|
@@ -318,23 +920,23 @@ description: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
|
318
920
|
/**
|
|
319
921
|
* Deserializes binary data (in protobuf wire format).
|
|
320
922
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
321
|
-
* @return {!proto.
|
|
923
|
+
* @return {!proto.BaseOrganization}
|
|
322
924
|
*/
|
|
323
|
-
proto.
|
|
925
|
+
proto.BaseOrganization.deserializeBinary = function(bytes) {
|
|
324
926
|
var reader = new jspb.BinaryReader(bytes);
|
|
325
|
-
var msg = new proto.
|
|
326
|
-
return proto.
|
|
927
|
+
var msg = new proto.BaseOrganization;
|
|
928
|
+
return proto.BaseOrganization.deserializeBinaryFromReader(msg, reader);
|
|
327
929
|
};
|
|
328
930
|
|
|
329
931
|
|
|
330
932
|
/**
|
|
331
933
|
* Deserializes binary data (in protobuf wire format) from the
|
|
332
934
|
* given reader into the given message object.
|
|
333
|
-
* @param {!proto.
|
|
935
|
+
* @param {!proto.BaseOrganization} msg The message object to deserialize into.
|
|
334
936
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
335
|
-
* @return {!proto.
|
|
937
|
+
* @return {!proto.BaseOrganization}
|
|
336
938
|
*/
|
|
337
|
-
proto.
|
|
939
|
+
proto.BaseOrganization.deserializeBinaryFromReader = function(msg, reader) {
|
|
338
940
|
while (reader.nextField()) {
|
|
339
941
|
if (reader.isEndGroup()) {
|
|
340
942
|
break;
|
|
@@ -342,32 +944,32 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
342
944
|
var field = reader.getFieldNumber();
|
|
343
945
|
switch (field) {
|
|
344
946
|
case 1:
|
|
345
|
-
var value = /** @type {
|
|
346
|
-
msg.
|
|
947
|
+
var value = /** @type {string} */ (reader.readString());
|
|
948
|
+
msg.setCode(value);
|
|
347
949
|
break;
|
|
348
950
|
case 2:
|
|
349
951
|
var value = /** @type {string} */ (reader.readString());
|
|
350
|
-
msg.
|
|
952
|
+
msg.setName(value);
|
|
351
953
|
break;
|
|
352
954
|
case 3:
|
|
353
955
|
var value = /** @type {string} */ (reader.readString());
|
|
354
|
-
msg.
|
|
956
|
+
msg.setCostCenterCode(value);
|
|
355
957
|
break;
|
|
356
958
|
case 4:
|
|
357
959
|
var value = /** @type {string} */ (reader.readString());
|
|
358
|
-
msg.
|
|
960
|
+
msg.setParentReferencesId(value);
|
|
359
961
|
break;
|
|
360
962
|
case 5:
|
|
361
|
-
var value = /** @type {
|
|
362
|
-
msg.
|
|
963
|
+
var value = /** @type {string} */ (reader.readString());
|
|
964
|
+
msg.setOrganizationLevelReferencesId(value);
|
|
363
965
|
break;
|
|
364
966
|
case 6:
|
|
365
|
-
var value = /** @type {
|
|
366
|
-
msg.
|
|
967
|
+
var value = /** @type {string} */ (reader.readString());
|
|
968
|
+
msg.setWorkLocationReferencesId(value);
|
|
367
969
|
break;
|
|
368
970
|
case 7:
|
|
369
|
-
var value = /** @type {
|
|
370
|
-
msg.
|
|
971
|
+
var value = /** @type {string} */ (reader.readString());
|
|
972
|
+
msg.setCompaniesReferencesId(value);
|
|
371
973
|
break;
|
|
372
974
|
case 8:
|
|
373
975
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -386,9 +988,9 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
386
988
|
* Serializes the message to binary data (in protobuf wire format).
|
|
387
989
|
* @return {!Uint8Array}
|
|
388
990
|
*/
|
|
389
|
-
proto.
|
|
991
|
+
proto.BaseOrganization.prototype.serializeBinary = function() {
|
|
390
992
|
var writer = new jspb.BinaryWriter();
|
|
391
|
-
proto.
|
|
993
|
+
proto.BaseOrganization.serializeBinaryToWriter(this, writer);
|
|
392
994
|
return writer.getResultBuffer();
|
|
393
995
|
};
|
|
394
996
|
|
|
@@ -396,57 +998,57 @@ proto.Organization.prototype.serializeBinary = function() {
|
|
|
396
998
|
/**
|
|
397
999
|
* Serializes the given message to binary data (in protobuf wire
|
|
398
1000
|
* format), writing to the given BinaryWriter.
|
|
399
|
-
* @param {!proto.
|
|
1001
|
+
* @param {!proto.BaseOrganization} message
|
|
400
1002
|
* @param {!jspb.BinaryWriter} writer
|
|
401
1003
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
402
1004
|
*/
|
|
403
|
-
proto.
|
|
1005
|
+
proto.BaseOrganization.serializeBinaryToWriter = function(message, writer) {
|
|
404
1006
|
var f = undefined;
|
|
405
|
-
f = message.
|
|
406
|
-
if (f
|
|
407
|
-
writer.
|
|
1007
|
+
f = message.getCode();
|
|
1008
|
+
if (f.length > 0) {
|
|
1009
|
+
writer.writeString(
|
|
408
1010
|
1,
|
|
409
1011
|
f
|
|
410
1012
|
);
|
|
411
1013
|
}
|
|
412
|
-
f = message.
|
|
1014
|
+
f = message.getName();
|
|
413
1015
|
if (f.length > 0) {
|
|
414
1016
|
writer.writeString(
|
|
415
1017
|
2,
|
|
416
1018
|
f
|
|
417
1019
|
);
|
|
418
1020
|
}
|
|
419
|
-
f = message.
|
|
1021
|
+
f = message.getCostCenterCode();
|
|
420
1022
|
if (f.length > 0) {
|
|
421
1023
|
writer.writeString(
|
|
422
1024
|
3,
|
|
423
1025
|
f
|
|
424
1026
|
);
|
|
425
1027
|
}
|
|
426
|
-
f = message.
|
|
1028
|
+
f = message.getParentReferencesId();
|
|
427
1029
|
if (f.length > 0) {
|
|
428
1030
|
writer.writeString(
|
|
429
1031
|
4,
|
|
430
1032
|
f
|
|
431
1033
|
);
|
|
432
1034
|
}
|
|
433
|
-
f = message.
|
|
434
|
-
if (f
|
|
435
|
-
writer.
|
|
1035
|
+
f = message.getOrganizationLevelReferencesId();
|
|
1036
|
+
if (f.length > 0) {
|
|
1037
|
+
writer.writeString(
|
|
436
1038
|
5,
|
|
437
1039
|
f
|
|
438
1040
|
);
|
|
439
1041
|
}
|
|
440
|
-
f = message.
|
|
441
|
-
if (f
|
|
442
|
-
writer.
|
|
1042
|
+
f = message.getWorkLocationReferencesId();
|
|
1043
|
+
if (f.length > 0) {
|
|
1044
|
+
writer.writeString(
|
|
443
1045
|
6,
|
|
444
1046
|
f
|
|
445
1047
|
);
|
|
446
1048
|
}
|
|
447
|
-
f = message.
|
|
448
|
-
if (f
|
|
449
|
-
writer.
|
|
1049
|
+
f = message.getCompaniesReferencesId();
|
|
1050
|
+
if (f.length > 0) {
|
|
1051
|
+
writer.writeString(
|
|
450
1052
|
7,
|
|
451
1053
|
f
|
|
452
1054
|
);
|
|
@@ -462,128 +1064,128 @@ proto.Organization.serializeBinaryToWriter = function(message, writer) {
|
|
|
462
1064
|
|
|
463
1065
|
|
|
464
1066
|
/**
|
|
465
|
-
* optional
|
|
466
|
-
* @return {
|
|
1067
|
+
* optional string code = 1;
|
|
1068
|
+
* @return {string}
|
|
467
1069
|
*/
|
|
468
|
-
proto.
|
|
469
|
-
return /** @type {
|
|
1070
|
+
proto.BaseOrganization.prototype.getCode = function() {
|
|
1071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
470
1072
|
};
|
|
471
1073
|
|
|
472
1074
|
|
|
473
1075
|
/**
|
|
474
|
-
* @param {
|
|
475
|
-
* @return {!proto.
|
|
1076
|
+
* @param {string} value
|
|
1077
|
+
* @return {!proto.BaseOrganization} returns this
|
|
476
1078
|
*/
|
|
477
|
-
proto.
|
|
478
|
-
return jspb.Message.
|
|
1079
|
+
proto.BaseOrganization.prototype.setCode = function(value) {
|
|
1080
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
479
1081
|
};
|
|
480
1082
|
|
|
481
1083
|
|
|
482
1084
|
/**
|
|
483
|
-
* optional string
|
|
1085
|
+
* optional string name = 2;
|
|
484
1086
|
* @return {string}
|
|
485
1087
|
*/
|
|
486
|
-
proto.
|
|
1088
|
+
proto.BaseOrganization.prototype.getName = function() {
|
|
487
1089
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
488
1090
|
};
|
|
489
1091
|
|
|
490
1092
|
|
|
491
1093
|
/**
|
|
492
1094
|
* @param {string} value
|
|
493
|
-
* @return {!proto.
|
|
1095
|
+
* @return {!proto.BaseOrganization} returns this
|
|
494
1096
|
*/
|
|
495
|
-
proto.
|
|
1097
|
+
proto.BaseOrganization.prototype.setName = function(value) {
|
|
496
1098
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
497
1099
|
};
|
|
498
1100
|
|
|
499
1101
|
|
|
500
1102
|
/**
|
|
501
|
-
* optional string
|
|
1103
|
+
* optional string cost_center_code = 3;
|
|
502
1104
|
* @return {string}
|
|
503
1105
|
*/
|
|
504
|
-
proto.
|
|
1106
|
+
proto.BaseOrganization.prototype.getCostCenterCode = function() {
|
|
505
1107
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
506
1108
|
};
|
|
507
1109
|
|
|
508
1110
|
|
|
509
1111
|
/**
|
|
510
1112
|
* @param {string} value
|
|
511
|
-
* @return {!proto.
|
|
1113
|
+
* @return {!proto.BaseOrganization} returns this
|
|
512
1114
|
*/
|
|
513
|
-
proto.
|
|
1115
|
+
proto.BaseOrganization.prototype.setCostCenterCode = function(value) {
|
|
514
1116
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
515
1117
|
};
|
|
516
1118
|
|
|
517
1119
|
|
|
518
1120
|
/**
|
|
519
|
-
* optional string
|
|
1121
|
+
* optional string parent_references_id = 4;
|
|
520
1122
|
* @return {string}
|
|
521
1123
|
*/
|
|
522
|
-
proto.
|
|
1124
|
+
proto.BaseOrganization.prototype.getParentReferencesId = function() {
|
|
523
1125
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
524
1126
|
};
|
|
525
1127
|
|
|
526
1128
|
|
|
527
1129
|
/**
|
|
528
1130
|
* @param {string} value
|
|
529
|
-
* @return {!proto.
|
|
1131
|
+
* @return {!proto.BaseOrganization} returns this
|
|
530
1132
|
*/
|
|
531
|
-
proto.
|
|
1133
|
+
proto.BaseOrganization.prototype.setParentReferencesId = function(value) {
|
|
532
1134
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
533
1135
|
};
|
|
534
1136
|
|
|
535
1137
|
|
|
536
1138
|
/**
|
|
537
|
-
* optional
|
|
538
|
-
* @return {
|
|
1139
|
+
* optional string organization_level_references_id = 5;
|
|
1140
|
+
* @return {string}
|
|
539
1141
|
*/
|
|
540
|
-
proto.
|
|
541
|
-
return /** @type {
|
|
1142
|
+
proto.BaseOrganization.prototype.getOrganizationLevelReferencesId = function() {
|
|
1143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
542
1144
|
};
|
|
543
1145
|
|
|
544
1146
|
|
|
545
1147
|
/**
|
|
546
|
-
* @param {
|
|
547
|
-
* @return {!proto.
|
|
1148
|
+
* @param {string} value
|
|
1149
|
+
* @return {!proto.BaseOrganization} returns this
|
|
548
1150
|
*/
|
|
549
|
-
proto.
|
|
550
|
-
return jspb.Message.
|
|
1151
|
+
proto.BaseOrganization.prototype.setOrganizationLevelReferencesId = function(value) {
|
|
1152
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
551
1153
|
};
|
|
552
1154
|
|
|
553
1155
|
|
|
554
1156
|
/**
|
|
555
|
-
* optional
|
|
556
|
-
* @return {
|
|
1157
|
+
* optional string work_location_references_id = 6;
|
|
1158
|
+
* @return {string}
|
|
557
1159
|
*/
|
|
558
|
-
proto.
|
|
559
|
-
return /** @type {
|
|
1160
|
+
proto.BaseOrganization.prototype.getWorkLocationReferencesId = function() {
|
|
1161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
560
1162
|
};
|
|
561
1163
|
|
|
562
1164
|
|
|
563
1165
|
/**
|
|
564
|
-
* @param {
|
|
565
|
-
* @return {!proto.
|
|
1166
|
+
* @param {string} value
|
|
1167
|
+
* @return {!proto.BaseOrganization} returns this
|
|
566
1168
|
*/
|
|
567
|
-
proto.
|
|
568
|
-
return jspb.Message.
|
|
1169
|
+
proto.BaseOrganization.prototype.setWorkLocationReferencesId = function(value) {
|
|
1170
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
569
1171
|
};
|
|
570
1172
|
|
|
571
1173
|
|
|
572
1174
|
/**
|
|
573
|
-
* optional
|
|
574
|
-
* @return {
|
|
1175
|
+
* optional string companies_references_id = 7;
|
|
1176
|
+
* @return {string}
|
|
575
1177
|
*/
|
|
576
|
-
proto.
|
|
577
|
-
return /** @type {
|
|
1178
|
+
proto.BaseOrganization.prototype.getCompaniesReferencesId = function() {
|
|
1179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
578
1180
|
};
|
|
579
1181
|
|
|
580
1182
|
|
|
581
1183
|
/**
|
|
582
|
-
* @param {
|
|
583
|
-
* @return {!proto.
|
|
1184
|
+
* @param {string} value
|
|
1185
|
+
* @return {!proto.BaseOrganization} returns this
|
|
584
1186
|
*/
|
|
585
|
-
proto.
|
|
586
|
-
return jspb.Message.
|
|
1187
|
+
proto.BaseOrganization.prototype.setCompaniesReferencesId = function(value) {
|
|
1188
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
587
1189
|
};
|
|
588
1190
|
|
|
589
1191
|
|
|
@@ -591,16 +1193,16 @@ proto.Organization.prototype.setWorkLocationRefId = function(value) {
|
|
|
591
1193
|
* optional string description = 8;
|
|
592
1194
|
* @return {string}
|
|
593
1195
|
*/
|
|
594
|
-
proto.
|
|
1196
|
+
proto.BaseOrganization.prototype.getDescription = function() {
|
|
595
1197
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
596
1198
|
};
|
|
597
1199
|
|
|
598
1200
|
|
|
599
1201
|
/**
|
|
600
1202
|
* @param {string} value
|
|
601
|
-
* @return {!proto.
|
|
1203
|
+
* @return {!proto.BaseOrganization} returns this
|
|
602
1204
|
*/
|
|
603
|
-
proto.
|
|
1205
|
+
proto.BaseOrganization.prototype.setDescription = function(value) {
|
|
604
1206
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
605
1207
|
};
|
|
606
1208
|
|
|
@@ -637,7 +1239,7 @@ proto.OrganizationGetByIdRequest.prototype.toObject = function(opt_includeInstan
|
|
|
637
1239
|
*/
|
|
638
1240
|
proto.OrganizationGetByIdRequest.toObject = function(includeInstance, msg) {
|
|
639
1241
|
var f, obj = {
|
|
640
|
-
|
|
1242
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
641
1243
|
};
|
|
642
1244
|
|
|
643
1245
|
if (includeInstance) {
|
|
@@ -675,8 +1277,8 @@ proto.OrganizationGetByIdRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
675
1277
|
var field = reader.getFieldNumber();
|
|
676
1278
|
switch (field) {
|
|
677
1279
|
case 1:
|
|
678
|
-
var value = /** @type {
|
|
679
|
-
msg.
|
|
1280
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1281
|
+
msg.setReferencesId(value);
|
|
680
1282
|
break;
|
|
681
1283
|
default:
|
|
682
1284
|
reader.skipField();
|
|
@@ -707,9 +1309,9 @@ proto.OrganizationGetByIdRequest.prototype.serializeBinary = function() {
|
|
|
707
1309
|
*/
|
|
708
1310
|
proto.OrganizationGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
709
1311
|
var f = undefined;
|
|
710
|
-
f = message.
|
|
711
|
-
if (f
|
|
712
|
-
writer.
|
|
1312
|
+
f = message.getReferencesId();
|
|
1313
|
+
if (f.length > 0) {
|
|
1314
|
+
writer.writeString(
|
|
713
1315
|
1,
|
|
714
1316
|
f
|
|
715
1317
|
);
|
|
@@ -718,20 +1320,20 @@ proto.OrganizationGetByIdRequest.serializeBinaryToWriter = function(message, wri
|
|
|
718
1320
|
|
|
719
1321
|
|
|
720
1322
|
/**
|
|
721
|
-
* optional
|
|
722
|
-
* @return {
|
|
1323
|
+
* optional string references_id = 1;
|
|
1324
|
+
* @return {string}
|
|
723
1325
|
*/
|
|
724
|
-
proto.OrganizationGetByIdRequest.prototype.
|
|
725
|
-
return /** @type {
|
|
1326
|
+
proto.OrganizationGetByIdRequest.prototype.getReferencesId = function() {
|
|
1327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
726
1328
|
};
|
|
727
1329
|
|
|
728
1330
|
|
|
729
1331
|
/**
|
|
730
|
-
* @param {
|
|
1332
|
+
* @param {string} value
|
|
731
1333
|
* @return {!proto.OrganizationGetByIdRequest} returns this
|
|
732
1334
|
*/
|
|
733
|
-
proto.OrganizationGetByIdRequest.prototype.
|
|
734
|
-
return jspb.Message.
|
|
1335
|
+
proto.OrganizationGetByIdRequest.prototype.setReferencesId = function(value) {
|
|
1336
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
735
1337
|
};
|
|
736
1338
|
|
|
737
1339
|
|
|
@@ -767,7 +1369,7 @@ proto.CreateOrganizationRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
767
1369
|
*/
|
|
768
1370
|
proto.CreateOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
769
1371
|
var f, obj = {
|
|
770
|
-
organization: (f = msg.getOrganization()) && proto.
|
|
1372
|
+
organization: (f = msg.getOrganization()) && proto.BaseOrganization.toObject(includeInstance, f)
|
|
771
1373
|
};
|
|
772
1374
|
|
|
773
1375
|
if (includeInstance) {
|
|
@@ -805,8 +1407,8 @@ proto.CreateOrganizationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
805
1407
|
var field = reader.getFieldNumber();
|
|
806
1408
|
switch (field) {
|
|
807
1409
|
case 1:
|
|
808
|
-
var value = new proto.
|
|
809
|
-
reader.readMessage(value,proto.
|
|
1410
|
+
var value = new proto.BaseOrganization;
|
|
1411
|
+
reader.readMessage(value,proto.BaseOrganization.deserializeBinaryFromReader);
|
|
810
1412
|
msg.setOrganization(value);
|
|
811
1413
|
break;
|
|
812
1414
|
default:
|
|
@@ -843,24 +1445,24 @@ proto.CreateOrganizationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
843
1445
|
writer.writeMessage(
|
|
844
1446
|
1,
|
|
845
1447
|
f,
|
|
846
|
-
proto.
|
|
1448
|
+
proto.BaseOrganization.serializeBinaryToWriter
|
|
847
1449
|
);
|
|
848
1450
|
}
|
|
849
1451
|
};
|
|
850
1452
|
|
|
851
1453
|
|
|
852
1454
|
/**
|
|
853
|
-
* optional
|
|
854
|
-
* @return {?proto.
|
|
1455
|
+
* optional BaseOrganization organization = 1;
|
|
1456
|
+
* @return {?proto.BaseOrganization}
|
|
855
1457
|
*/
|
|
856
1458
|
proto.CreateOrganizationRequest.prototype.getOrganization = function() {
|
|
857
|
-
return /** @type{?proto.
|
|
858
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1459
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
1460
|
+
jspb.Message.getWrapperField(this, proto.BaseOrganization, 1));
|
|
859
1461
|
};
|
|
860
1462
|
|
|
861
1463
|
|
|
862
1464
|
/**
|
|
863
|
-
* @param {?proto.
|
|
1465
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
864
1466
|
* @return {!proto.CreateOrganizationRequest} returns this
|
|
865
1467
|
*/
|
|
866
1468
|
proto.CreateOrganizationRequest.prototype.setOrganization = function(value) {
|
|
@@ -918,8 +1520,8 @@ proto.UpdateOrganizationRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
918
1520
|
*/
|
|
919
1521
|
proto.UpdateOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
920
1522
|
var f, obj = {
|
|
921
|
-
|
|
922
|
-
organization: (f = msg.getOrganization()) && proto.
|
|
1523
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1524
|
+
organization: (f = msg.getOrganization()) && proto.BaseOrganization.toObject(includeInstance, f)
|
|
923
1525
|
};
|
|
924
1526
|
|
|
925
1527
|
if (includeInstance) {
|
|
@@ -957,12 +1559,12 @@ proto.UpdateOrganizationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
957
1559
|
var field = reader.getFieldNumber();
|
|
958
1560
|
switch (field) {
|
|
959
1561
|
case 1:
|
|
960
|
-
var value = /** @type {
|
|
961
|
-
msg.
|
|
1562
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1563
|
+
msg.setReferencesId(value);
|
|
962
1564
|
break;
|
|
963
1565
|
case 2:
|
|
964
|
-
var value = new proto.
|
|
965
|
-
reader.readMessage(value,proto.
|
|
1566
|
+
var value = new proto.BaseOrganization;
|
|
1567
|
+
reader.readMessage(value,proto.BaseOrganization.deserializeBinaryFromReader);
|
|
966
1568
|
msg.setOrganization(value);
|
|
967
1569
|
break;
|
|
968
1570
|
default:
|
|
@@ -994,9 +1596,9 @@ proto.UpdateOrganizationRequest.prototype.serializeBinary = function() {
|
|
|
994
1596
|
*/
|
|
995
1597
|
proto.UpdateOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
996
1598
|
var f = undefined;
|
|
997
|
-
f = message.
|
|
998
|
-
if (f
|
|
999
|
-
writer.
|
|
1599
|
+
f = message.getReferencesId();
|
|
1600
|
+
if (f.length > 0) {
|
|
1601
|
+
writer.writeString(
|
|
1000
1602
|
1,
|
|
1001
1603
|
f
|
|
1002
1604
|
);
|
|
@@ -1006,42 +1608,42 @@ proto.UpdateOrganizationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1006
1608
|
writer.writeMessage(
|
|
1007
1609
|
2,
|
|
1008
1610
|
f,
|
|
1009
|
-
proto.
|
|
1611
|
+
proto.BaseOrganization.serializeBinaryToWriter
|
|
1010
1612
|
);
|
|
1011
1613
|
}
|
|
1012
1614
|
};
|
|
1013
1615
|
|
|
1014
1616
|
|
|
1015
1617
|
/**
|
|
1016
|
-
* optional
|
|
1017
|
-
* @return {
|
|
1618
|
+
* optional string references_id = 1;
|
|
1619
|
+
* @return {string}
|
|
1018
1620
|
*/
|
|
1019
|
-
proto.UpdateOrganizationRequest.prototype.
|
|
1020
|
-
return /** @type {
|
|
1621
|
+
proto.UpdateOrganizationRequest.prototype.getReferencesId = function() {
|
|
1622
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1021
1623
|
};
|
|
1022
1624
|
|
|
1023
1625
|
|
|
1024
1626
|
/**
|
|
1025
|
-
* @param {
|
|
1627
|
+
* @param {string} value
|
|
1026
1628
|
* @return {!proto.UpdateOrganizationRequest} returns this
|
|
1027
1629
|
*/
|
|
1028
|
-
proto.UpdateOrganizationRequest.prototype.
|
|
1029
|
-
return jspb.Message.
|
|
1630
|
+
proto.UpdateOrganizationRequest.prototype.setReferencesId = function(value) {
|
|
1631
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1030
1632
|
};
|
|
1031
1633
|
|
|
1032
1634
|
|
|
1033
1635
|
/**
|
|
1034
|
-
* optional
|
|
1035
|
-
* @return {?proto.
|
|
1636
|
+
* optional BaseOrganization organization = 2;
|
|
1637
|
+
* @return {?proto.BaseOrganization}
|
|
1036
1638
|
*/
|
|
1037
1639
|
proto.UpdateOrganizationRequest.prototype.getOrganization = function() {
|
|
1038
|
-
return /** @type{?proto.
|
|
1039
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1640
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
1641
|
+
jspb.Message.getWrapperField(this, proto.BaseOrganization, 2));
|
|
1040
1642
|
};
|
|
1041
1643
|
|
|
1042
1644
|
|
|
1043
1645
|
/**
|
|
1044
|
-
* @param {?proto.
|
|
1646
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
1045
1647
|
* @return {!proto.UpdateOrganizationRequest} returns this
|
|
1046
1648
|
*/
|
|
1047
1649
|
proto.UpdateOrganizationRequest.prototype.setOrganization = function(value) {
|