@aldiokta/protocgen 1.0.7 → 1.0.9
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/job_position/job_position_pb.js +256 -464
- package/prisca/v1/core/organization/organization_pb.js +71 -41
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +177 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +2462 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +626 -0
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +2 -206
- package/prisca/v1/core/workflow/workflow_pb.js +2138 -2298
|
@@ -23,6 +23,7 @@ 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
|
+
goog.exportSymbol('proto.BaseJobPosition', null, global);
|
|
26
27
|
goog.exportSymbol('proto.CreateJobPositionRequest', null, global);
|
|
27
28
|
goog.exportSymbol('proto.CreateJobPositionResponse', null, global);
|
|
28
29
|
goog.exportSymbol('proto.DeleteJobPositionRequest', null, global);
|
|
@@ -32,8 +33,6 @@ goog.exportSymbol('proto.GetListJobPositionResponse', null, global);
|
|
|
32
33
|
goog.exportSymbol('proto.JobPosition', null, global);
|
|
33
34
|
goog.exportSymbol('proto.JobPositionGetByIdRequest', null, global);
|
|
34
35
|
goog.exportSymbol('proto.JobPositionGetByIdResponse', null, global);
|
|
35
|
-
goog.exportSymbol('proto.Qualification', null, global);
|
|
36
|
-
goog.exportSymbol('proto.SpecialSkill', null, global);
|
|
37
36
|
goog.exportSymbol('proto.UpdateJobPositionRequest', null, global);
|
|
38
37
|
goog.exportSymbol('proto.UpdateJobPositionResponse', null, global);
|
|
39
38
|
/**
|
|
@@ -46,37 +45,16 @@ goog.exportSymbol('proto.UpdateJobPositionResponse', null, global);
|
|
|
46
45
|
* @extends {jspb.Message}
|
|
47
46
|
* @constructor
|
|
48
47
|
*/
|
|
49
|
-
proto.
|
|
48
|
+
proto.BaseJobPosition = function(opt_data) {
|
|
50
49
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
51
50
|
};
|
|
52
|
-
goog.inherits(proto.
|
|
51
|
+
goog.inherits(proto.BaseJobPosition, jspb.Message);
|
|
53
52
|
if (goog.DEBUG && !COMPILED) {
|
|
54
53
|
/**
|
|
55
54
|
* @public
|
|
56
55
|
* @override
|
|
57
56
|
*/
|
|
58
|
-
proto.
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Generated by JsPbCodeGenerator.
|
|
62
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
63
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
64
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
65
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
66
|
-
* valid.
|
|
67
|
-
* @extends {jspb.Message}
|
|
68
|
-
* @constructor
|
|
69
|
-
*/
|
|
70
|
-
proto.Qualification = function(opt_data) {
|
|
71
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
72
|
-
};
|
|
73
|
-
goog.inherits(proto.Qualification, jspb.Message);
|
|
74
|
-
if (goog.DEBUG && !COMPILED) {
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
* @override
|
|
78
|
-
*/
|
|
79
|
-
proto.Qualification.displayName = 'proto.Qualification';
|
|
57
|
+
proto.BaseJobPosition.displayName = 'proto.BaseJobPosition';
|
|
80
58
|
}
|
|
81
59
|
/**
|
|
82
60
|
* Generated by JsPbCodeGenerator.
|
|
@@ -89,7 +67,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
89
67
|
* @constructor
|
|
90
68
|
*/
|
|
91
69
|
proto.JobPosition = function(opt_data) {
|
|
92
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
70
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
93
71
|
};
|
|
94
72
|
goog.inherits(proto.JobPosition, jspb.Message);
|
|
95
73
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -325,8 +303,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
325
303
|
* http://goto/soy-param-migration
|
|
326
304
|
* @return {!Object}
|
|
327
305
|
*/
|
|
328
|
-
proto.
|
|
329
|
-
return proto.
|
|
306
|
+
proto.BaseJobPosition.prototype.toObject = function(opt_includeInstance) {
|
|
307
|
+
return proto.BaseJobPosition.toObject(opt_includeInstance, this);
|
|
330
308
|
};
|
|
331
309
|
|
|
332
310
|
|
|
@@ -335,15 +313,22 @@ proto.SpecialSkill.prototype.toObject = function(opt_includeInstance) {
|
|
|
335
313
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
336
314
|
* the JSPB instance for transitional soy proto support:
|
|
337
315
|
* http://goto/soy-param-migration
|
|
338
|
-
* @param {!proto.
|
|
316
|
+
* @param {!proto.BaseJobPosition} msg The msg instance to transform.
|
|
339
317
|
* @return {!Object}
|
|
340
318
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
341
319
|
*/
|
|
342
|
-
proto.
|
|
320
|
+
proto.BaseJobPosition.toObject = function(includeInstance, msg) {
|
|
343
321
|
var f, obj = {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
322
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
323
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
324
|
+
alias: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
325
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
326
|
+
parentRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
327
|
+
organizationRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
328
|
+
workLocationRefId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
329
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
330
|
+
companiesRefId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
331
|
+
roleAccountRefId: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
347
332
|
};
|
|
348
333
|
|
|
349
334
|
if (includeInstance) {
|
|
@@ -357,23 +342,23 @@ ratePoint: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
|
357
342
|
/**
|
|
358
343
|
* Deserializes binary data (in protobuf wire format).
|
|
359
344
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
360
|
-
* @return {!proto.
|
|
345
|
+
* @return {!proto.BaseJobPosition}
|
|
361
346
|
*/
|
|
362
|
-
proto.
|
|
347
|
+
proto.BaseJobPosition.deserializeBinary = function(bytes) {
|
|
363
348
|
var reader = new jspb.BinaryReader(bytes);
|
|
364
|
-
var msg = new proto.
|
|
365
|
-
return proto.
|
|
349
|
+
var msg = new proto.BaseJobPosition;
|
|
350
|
+
return proto.BaseJobPosition.deserializeBinaryFromReader(msg, reader);
|
|
366
351
|
};
|
|
367
352
|
|
|
368
353
|
|
|
369
354
|
/**
|
|
370
355
|
* Deserializes binary data (in protobuf wire format) from the
|
|
371
356
|
* given reader into the given message object.
|
|
372
|
-
* @param {!proto.
|
|
357
|
+
* @param {!proto.BaseJobPosition} msg The message object to deserialize into.
|
|
373
358
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
374
|
-
* @return {!proto.
|
|
359
|
+
* @return {!proto.BaseJobPosition}
|
|
375
360
|
*/
|
|
376
|
-
proto.
|
|
361
|
+
proto.BaseJobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
377
362
|
while (reader.nextField()) {
|
|
378
363
|
if (reader.isEndGroup()) {
|
|
379
364
|
break;
|
|
@@ -382,240 +367,43 @@ proto.SpecialSkill.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
382
367
|
switch (field) {
|
|
383
368
|
case 1:
|
|
384
369
|
var value = /** @type {string} */ (reader.readString());
|
|
385
|
-
msg.
|
|
370
|
+
msg.setCode(value);
|
|
386
371
|
break;
|
|
387
372
|
case 2:
|
|
388
373
|
var value = /** @type {string} */ (reader.readString());
|
|
389
|
-
msg.
|
|
390
|
-
break;
|
|
391
|
-
case 3:
|
|
392
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
393
|
-
msg.setRatePoint(value);
|
|
394
|
-
break;
|
|
395
|
-
default:
|
|
396
|
-
reader.skipField();
|
|
397
|
-
break;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
return msg;
|
|
401
|
-
};
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
406
|
-
* @return {!Uint8Array}
|
|
407
|
-
*/
|
|
408
|
-
proto.SpecialSkill.prototype.serializeBinary = function() {
|
|
409
|
-
var writer = new jspb.BinaryWriter();
|
|
410
|
-
proto.SpecialSkill.serializeBinaryToWriter(this, writer);
|
|
411
|
-
return writer.getResultBuffer();
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
417
|
-
* format), writing to the given BinaryWriter.
|
|
418
|
-
* @param {!proto.SpecialSkill} message
|
|
419
|
-
* @param {!jspb.BinaryWriter} writer
|
|
420
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
421
|
-
*/
|
|
422
|
-
proto.SpecialSkill.serializeBinaryToWriter = function(message, writer) {
|
|
423
|
-
var f = undefined;
|
|
424
|
-
f = message.getSkill();
|
|
425
|
-
if (f.length > 0) {
|
|
426
|
-
writer.writeString(
|
|
427
|
-
1,
|
|
428
|
-
f
|
|
429
|
-
);
|
|
430
|
-
}
|
|
431
|
-
f = message.getProficiency();
|
|
432
|
-
if (f.length > 0) {
|
|
433
|
-
writer.writeString(
|
|
434
|
-
2,
|
|
435
|
-
f
|
|
436
|
-
);
|
|
437
|
-
}
|
|
438
|
-
f = message.getRatePoint();
|
|
439
|
-
if (f !== 0) {
|
|
440
|
-
writer.writeInt64(
|
|
441
|
-
3,
|
|
442
|
-
f
|
|
443
|
-
);
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* optional string skill = 1;
|
|
450
|
-
* @return {string}
|
|
451
|
-
*/
|
|
452
|
-
proto.SpecialSkill.prototype.getSkill = function() {
|
|
453
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* @param {string} value
|
|
459
|
-
* @return {!proto.SpecialSkill} returns this
|
|
460
|
-
*/
|
|
461
|
-
proto.SpecialSkill.prototype.setSkill = function(value) {
|
|
462
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
463
|
-
};
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* optional string proficiency = 2;
|
|
468
|
-
* @return {string}
|
|
469
|
-
*/
|
|
470
|
-
proto.SpecialSkill.prototype.getProficiency = function() {
|
|
471
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* @param {string} value
|
|
477
|
-
* @return {!proto.SpecialSkill} returns this
|
|
478
|
-
*/
|
|
479
|
-
proto.SpecialSkill.prototype.setProficiency = function(value) {
|
|
480
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* optional int64 rate_point = 3;
|
|
486
|
-
* @return {number}
|
|
487
|
-
*/
|
|
488
|
-
proto.SpecialSkill.prototype.getRatePoint = function() {
|
|
489
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
490
|
-
};
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* @param {number} value
|
|
495
|
-
* @return {!proto.SpecialSkill} returns this
|
|
496
|
-
*/
|
|
497
|
-
proto.SpecialSkill.prototype.setRatePoint = function(value) {
|
|
498
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
506
|
-
/**
|
|
507
|
-
* Creates an object representation of this proto.
|
|
508
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
509
|
-
* Optional fields that are not set will be set to undefined.
|
|
510
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
511
|
-
* For the list of reserved names please see:
|
|
512
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
513
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
514
|
-
* JSPB instance for transitional soy proto support:
|
|
515
|
-
* http://goto/soy-param-migration
|
|
516
|
-
* @return {!Object}
|
|
517
|
-
*/
|
|
518
|
-
proto.Qualification.prototype.toObject = function(opt_includeInstance) {
|
|
519
|
-
return proto.Qualification.toObject(opt_includeInstance, this);
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Static version of the {@see toObject} method.
|
|
525
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
526
|
-
* the JSPB instance for transitional soy proto support:
|
|
527
|
-
* http://goto/soy-param-migration
|
|
528
|
-
* @param {!proto.Qualification} msg The msg instance to transform.
|
|
529
|
-
* @return {!Object}
|
|
530
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
531
|
-
*/
|
|
532
|
-
proto.Qualification.toObject = function(includeInstance, msg) {
|
|
533
|
-
var f, obj = {
|
|
534
|
-
gender: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
535
|
-
religion: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
536
|
-
jobPositionRefId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
537
|
-
companiesRefId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
538
|
-
educationLevel: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
539
|
-
ageRange: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
540
|
-
maritalStatus: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
541
|
-
nationality: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
542
|
-
yearOfExperience: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
543
|
-
retirementAge: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
if (includeInstance) {
|
|
547
|
-
obj.$jspbMessageInstance = msg;
|
|
548
|
-
}
|
|
549
|
-
return obj;
|
|
550
|
-
};
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* Deserializes binary data (in protobuf wire format).
|
|
556
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
557
|
-
* @return {!proto.Qualification}
|
|
558
|
-
*/
|
|
559
|
-
proto.Qualification.deserializeBinary = function(bytes) {
|
|
560
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
561
|
-
var msg = new proto.Qualification;
|
|
562
|
-
return proto.Qualification.deserializeBinaryFromReader(msg, reader);
|
|
563
|
-
};
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
568
|
-
* given reader into the given message object.
|
|
569
|
-
* @param {!proto.Qualification} msg The message object to deserialize into.
|
|
570
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
571
|
-
* @return {!proto.Qualification}
|
|
572
|
-
*/
|
|
573
|
-
proto.Qualification.deserializeBinaryFromReader = function(msg, reader) {
|
|
574
|
-
while (reader.nextField()) {
|
|
575
|
-
if (reader.isEndGroup()) {
|
|
576
|
-
break;
|
|
577
|
-
}
|
|
578
|
-
var field = reader.getFieldNumber();
|
|
579
|
-
switch (field) {
|
|
580
|
-
case 1:
|
|
581
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
582
|
-
msg.setGender(value);
|
|
583
|
-
break;
|
|
584
|
-
case 2:
|
|
585
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
586
|
-
msg.setReligion(value);
|
|
374
|
+
msg.setName(value);
|
|
587
375
|
break;
|
|
588
376
|
case 3:
|
|
589
377
|
var value = /** @type {string} */ (reader.readString());
|
|
590
|
-
msg.
|
|
378
|
+
msg.setAlias(value);
|
|
591
379
|
break;
|
|
592
380
|
case 4:
|
|
593
381
|
var value = /** @type {string} */ (reader.readString());
|
|
594
|
-
msg.
|
|
382
|
+
msg.setCostCenterCode(value);
|
|
595
383
|
break;
|
|
596
384
|
case 5:
|
|
597
|
-
var value = /** @type {number} */ (reader.
|
|
598
|
-
msg.
|
|
385
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
386
|
+
msg.setParentRefId(value);
|
|
599
387
|
break;
|
|
600
388
|
case 6:
|
|
601
|
-
var value = /** @type {
|
|
602
|
-
msg.
|
|
389
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
390
|
+
msg.setOrganizationRefId(value);
|
|
603
391
|
break;
|
|
604
392
|
case 7:
|
|
605
|
-
var value = /** @type {number} */ (reader.
|
|
606
|
-
msg.
|
|
393
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
394
|
+
msg.setWorkLocationRefId(value);
|
|
607
395
|
break;
|
|
608
396
|
case 8:
|
|
609
397
|
var value = /** @type {string} */ (reader.readString());
|
|
610
|
-
msg.
|
|
398
|
+
msg.setDescription(value);
|
|
611
399
|
break;
|
|
612
400
|
case 9:
|
|
613
|
-
var value = /** @type {
|
|
614
|
-
msg.
|
|
401
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
402
|
+
msg.setCompaniesRefId(value);
|
|
615
403
|
break;
|
|
616
404
|
case 10:
|
|
617
|
-
var value = /** @type {
|
|
618
|
-
msg.
|
|
405
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
406
|
+
msg.setRoleAccountRefId(value);
|
|
619
407
|
break;
|
|
620
408
|
default:
|
|
621
409
|
reader.skipField();
|
|
@@ -630,9 +418,9 @@ proto.Qualification.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
630
418
|
* Serializes the message to binary data (in protobuf wire format).
|
|
631
419
|
* @return {!Uint8Array}
|
|
632
420
|
*/
|
|
633
|
-
proto.
|
|
421
|
+
proto.BaseJobPosition.prototype.serializeBinary = function() {
|
|
634
422
|
var writer = new jspb.BinaryWriter();
|
|
635
|
-
proto.
|
|
423
|
+
proto.BaseJobPosition.serializeBinaryToWriter(this, writer);
|
|
636
424
|
return writer.getResultBuffer();
|
|
637
425
|
};
|
|
638
426
|
|
|
@@ -640,78 +428,78 @@ proto.Qualification.prototype.serializeBinary = function() {
|
|
|
640
428
|
/**
|
|
641
429
|
* Serializes the given message to binary data (in protobuf wire
|
|
642
430
|
* format), writing to the given BinaryWriter.
|
|
643
|
-
* @param {!proto.
|
|
431
|
+
* @param {!proto.BaseJobPosition} message
|
|
644
432
|
* @param {!jspb.BinaryWriter} writer
|
|
645
433
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
646
434
|
*/
|
|
647
|
-
proto.
|
|
435
|
+
proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
648
436
|
var f = undefined;
|
|
649
|
-
f = message.
|
|
650
|
-
if (f
|
|
651
|
-
writer.
|
|
437
|
+
f = message.getCode();
|
|
438
|
+
if (f.length > 0) {
|
|
439
|
+
writer.writeString(
|
|
652
440
|
1,
|
|
653
441
|
f
|
|
654
442
|
);
|
|
655
443
|
}
|
|
656
|
-
f = message.
|
|
657
|
-
if (f
|
|
658
|
-
writer.
|
|
444
|
+
f = message.getName();
|
|
445
|
+
if (f.length > 0) {
|
|
446
|
+
writer.writeString(
|
|
659
447
|
2,
|
|
660
448
|
f
|
|
661
449
|
);
|
|
662
450
|
}
|
|
663
|
-
f = message.
|
|
451
|
+
f = message.getAlias();
|
|
664
452
|
if (f.length > 0) {
|
|
665
453
|
writer.writeString(
|
|
666
454
|
3,
|
|
667
455
|
f
|
|
668
456
|
);
|
|
669
457
|
}
|
|
670
|
-
f = message.
|
|
458
|
+
f = message.getCostCenterCode();
|
|
671
459
|
if (f.length > 0) {
|
|
672
460
|
writer.writeString(
|
|
673
461
|
4,
|
|
674
462
|
f
|
|
675
463
|
);
|
|
676
464
|
}
|
|
677
|
-
f = message.
|
|
465
|
+
f = message.getParentRefId();
|
|
678
466
|
if (f !== 0) {
|
|
679
|
-
writer.
|
|
467
|
+
writer.writeInt64(
|
|
680
468
|
5,
|
|
681
469
|
f
|
|
682
470
|
);
|
|
683
471
|
}
|
|
684
|
-
f = message.
|
|
685
|
-
if (f
|
|
686
|
-
writer.
|
|
472
|
+
f = message.getOrganizationRefId();
|
|
473
|
+
if (f !== 0) {
|
|
474
|
+
writer.writeInt64(
|
|
687
475
|
6,
|
|
688
476
|
f
|
|
689
477
|
);
|
|
690
478
|
}
|
|
691
|
-
f = message.
|
|
479
|
+
f = message.getWorkLocationRefId();
|
|
692
480
|
if (f !== 0) {
|
|
693
|
-
writer.
|
|
481
|
+
writer.writeInt64(
|
|
694
482
|
7,
|
|
695
483
|
f
|
|
696
484
|
);
|
|
697
485
|
}
|
|
698
|
-
f = message.
|
|
486
|
+
f = message.getDescription();
|
|
699
487
|
if (f.length > 0) {
|
|
700
488
|
writer.writeString(
|
|
701
489
|
8,
|
|
702
490
|
f
|
|
703
491
|
);
|
|
704
492
|
}
|
|
705
|
-
f = message.
|
|
706
|
-
if (f
|
|
707
|
-
writer.
|
|
493
|
+
f = message.getCompaniesRefId();
|
|
494
|
+
if (f !== 0) {
|
|
495
|
+
writer.writeInt64(
|
|
708
496
|
9,
|
|
709
497
|
f
|
|
710
498
|
);
|
|
711
499
|
}
|
|
712
|
-
f = message.
|
|
713
|
-
if (f
|
|
714
|
-
writer.
|
|
500
|
+
f = message.getRoleAccountRefId();
|
|
501
|
+
if (f !== 0) {
|
|
502
|
+
writer.writeInt64(
|
|
715
503
|
10,
|
|
716
504
|
f
|
|
717
505
|
);
|
|
@@ -720,193 +508,186 @@ proto.Qualification.serializeBinaryToWriter = function(message, writer) {
|
|
|
720
508
|
|
|
721
509
|
|
|
722
510
|
/**
|
|
723
|
-
* optional
|
|
724
|
-
* @return {
|
|
511
|
+
* optional string code = 1;
|
|
512
|
+
* @return {string}
|
|
725
513
|
*/
|
|
726
|
-
proto.
|
|
727
|
-
return /** @type {
|
|
514
|
+
proto.BaseJobPosition.prototype.getCode = function() {
|
|
515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
728
516
|
};
|
|
729
517
|
|
|
730
518
|
|
|
731
519
|
/**
|
|
732
|
-
* @param {
|
|
733
|
-
* @return {!proto.
|
|
520
|
+
* @param {string} value
|
|
521
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
734
522
|
*/
|
|
735
|
-
proto.
|
|
736
|
-
return jspb.Message.
|
|
523
|
+
proto.BaseJobPosition.prototype.setCode = function(value) {
|
|
524
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
737
525
|
};
|
|
738
526
|
|
|
739
527
|
|
|
740
528
|
/**
|
|
741
|
-
* optional
|
|
742
|
-
* @return {
|
|
529
|
+
* optional string name = 2;
|
|
530
|
+
* @return {string}
|
|
743
531
|
*/
|
|
744
|
-
proto.
|
|
745
|
-
return /** @type {
|
|
532
|
+
proto.BaseJobPosition.prototype.getName = function() {
|
|
533
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
746
534
|
};
|
|
747
535
|
|
|
748
536
|
|
|
749
537
|
/**
|
|
750
|
-
* @param {
|
|
751
|
-
* @return {!proto.
|
|
538
|
+
* @param {string} value
|
|
539
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
752
540
|
*/
|
|
753
|
-
proto.
|
|
754
|
-
return jspb.Message.
|
|
541
|
+
proto.BaseJobPosition.prototype.setName = function(value) {
|
|
542
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
755
543
|
};
|
|
756
544
|
|
|
757
545
|
|
|
758
546
|
/**
|
|
759
|
-
* optional string
|
|
547
|
+
* optional string alias = 3;
|
|
760
548
|
* @return {string}
|
|
761
549
|
*/
|
|
762
|
-
proto.
|
|
550
|
+
proto.BaseJobPosition.prototype.getAlias = function() {
|
|
763
551
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
764
552
|
};
|
|
765
553
|
|
|
766
554
|
|
|
767
555
|
/**
|
|
768
556
|
* @param {string} value
|
|
769
|
-
* @return {!proto.
|
|
557
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
770
558
|
*/
|
|
771
|
-
proto.
|
|
559
|
+
proto.BaseJobPosition.prototype.setAlias = function(value) {
|
|
772
560
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
773
561
|
};
|
|
774
562
|
|
|
775
563
|
|
|
776
564
|
/**
|
|
777
|
-
* optional string
|
|
565
|
+
* optional string cost_center_code = 4;
|
|
778
566
|
* @return {string}
|
|
779
567
|
*/
|
|
780
|
-
proto.
|
|
568
|
+
proto.BaseJobPosition.prototype.getCostCenterCode = function() {
|
|
781
569
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
782
570
|
};
|
|
783
571
|
|
|
784
572
|
|
|
785
573
|
/**
|
|
786
574
|
* @param {string} value
|
|
787
|
-
* @return {!proto.
|
|
575
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
788
576
|
*/
|
|
789
|
-
proto.
|
|
577
|
+
proto.BaseJobPosition.prototype.setCostCenterCode = function(value) {
|
|
790
578
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
791
579
|
};
|
|
792
580
|
|
|
793
581
|
|
|
794
582
|
/**
|
|
795
|
-
* optional
|
|
583
|
+
* optional int64 parent_ref_id = 5;
|
|
796
584
|
* @return {number}
|
|
797
585
|
*/
|
|
798
|
-
proto.
|
|
586
|
+
proto.BaseJobPosition.prototype.getParentRefId = function() {
|
|
799
587
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
800
588
|
};
|
|
801
589
|
|
|
802
590
|
|
|
803
591
|
/**
|
|
804
592
|
* @param {number} value
|
|
805
|
-
* @return {!proto.
|
|
593
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
806
594
|
*/
|
|
807
|
-
proto.
|
|
595
|
+
proto.BaseJobPosition.prototype.setParentRefId = function(value) {
|
|
808
596
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
809
597
|
};
|
|
810
598
|
|
|
811
599
|
|
|
812
600
|
/**
|
|
813
|
-
* optional
|
|
814
|
-
* @return {
|
|
601
|
+
* optional int64 organization_ref_id = 6;
|
|
602
|
+
* @return {number}
|
|
815
603
|
*/
|
|
816
|
-
proto.
|
|
817
|
-
return /** @type {
|
|
604
|
+
proto.BaseJobPosition.prototype.getOrganizationRefId = function() {
|
|
605
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
818
606
|
};
|
|
819
607
|
|
|
820
608
|
|
|
821
609
|
/**
|
|
822
|
-
* @param {
|
|
823
|
-
* @return {!proto.
|
|
610
|
+
* @param {number} value
|
|
611
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
824
612
|
*/
|
|
825
|
-
proto.
|
|
826
|
-
return jspb.Message.
|
|
613
|
+
proto.BaseJobPosition.prototype.setOrganizationRefId = function(value) {
|
|
614
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
827
615
|
};
|
|
828
616
|
|
|
829
617
|
|
|
830
618
|
/**
|
|
831
|
-
* optional
|
|
619
|
+
* optional int64 work_location_ref_id = 7;
|
|
832
620
|
* @return {number}
|
|
833
621
|
*/
|
|
834
|
-
proto.
|
|
622
|
+
proto.BaseJobPosition.prototype.getWorkLocationRefId = function() {
|
|
835
623
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
836
624
|
};
|
|
837
625
|
|
|
838
626
|
|
|
839
627
|
/**
|
|
840
628
|
* @param {number} value
|
|
841
|
-
* @return {!proto.
|
|
629
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
842
630
|
*/
|
|
843
|
-
proto.
|
|
631
|
+
proto.BaseJobPosition.prototype.setWorkLocationRefId = function(value) {
|
|
844
632
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
845
633
|
};
|
|
846
634
|
|
|
847
635
|
|
|
848
636
|
/**
|
|
849
|
-
* optional string
|
|
637
|
+
* optional string description = 8;
|
|
850
638
|
* @return {string}
|
|
851
639
|
*/
|
|
852
|
-
proto.
|
|
640
|
+
proto.BaseJobPosition.prototype.getDescription = function() {
|
|
853
641
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
854
642
|
};
|
|
855
643
|
|
|
856
644
|
|
|
857
645
|
/**
|
|
858
646
|
* @param {string} value
|
|
859
|
-
* @return {!proto.
|
|
647
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
860
648
|
*/
|
|
861
|
-
proto.
|
|
649
|
+
proto.BaseJobPosition.prototype.setDescription = function(value) {
|
|
862
650
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
863
651
|
};
|
|
864
652
|
|
|
865
653
|
|
|
866
654
|
/**
|
|
867
|
-
* optional
|
|
868
|
-
* @return {
|
|
655
|
+
* optional int64 companies_ref_id = 9;
|
|
656
|
+
* @return {number}
|
|
869
657
|
*/
|
|
870
|
-
proto.
|
|
871
|
-
return /** @type {
|
|
658
|
+
proto.BaseJobPosition.prototype.getCompaniesRefId = function() {
|
|
659
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
872
660
|
};
|
|
873
661
|
|
|
874
662
|
|
|
875
663
|
/**
|
|
876
|
-
* @param {
|
|
877
|
-
* @return {!proto.
|
|
664
|
+
* @param {number} value
|
|
665
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
878
666
|
*/
|
|
879
|
-
proto.
|
|
880
|
-
return jspb.Message.
|
|
667
|
+
proto.BaseJobPosition.prototype.setCompaniesRefId = function(value) {
|
|
668
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
881
669
|
};
|
|
882
670
|
|
|
883
671
|
|
|
884
672
|
/**
|
|
885
|
-
* optional
|
|
886
|
-
* @return {
|
|
673
|
+
* optional int64 role_account_ref_id = 10;
|
|
674
|
+
* @return {number}
|
|
887
675
|
*/
|
|
888
|
-
proto.
|
|
889
|
-
return /** @type {
|
|
676
|
+
proto.BaseJobPosition.prototype.getRoleAccountRefId = function() {
|
|
677
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
890
678
|
};
|
|
891
679
|
|
|
892
680
|
|
|
893
681
|
/**
|
|
894
|
-
* @param {
|
|
895
|
-
* @return {!proto.
|
|
682
|
+
* @param {number} value
|
|
683
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
896
684
|
*/
|
|
897
|
-
proto.
|
|
898
|
-
return jspb.Message.
|
|
685
|
+
proto.BaseJobPosition.prototype.setRoleAccountRefId = function(value) {
|
|
686
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
899
687
|
};
|
|
900
688
|
|
|
901
689
|
|
|
902
690
|
|
|
903
|
-
/**
|
|
904
|
-
* List of repeated fields within this message type.
|
|
905
|
-
* @private {!Array<number>}
|
|
906
|
-
* @const
|
|
907
|
-
*/
|
|
908
|
-
proto.JobPosition.repeatedFields_ = [10];
|
|
909
|
-
|
|
910
691
|
|
|
911
692
|
|
|
912
693
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -938,16 +719,17 @@ proto.JobPosition.prototype.toObject = function(opt_includeInstance) {
|
|
|
938
719
|
*/
|
|
939
720
|
proto.JobPosition.toObject = function(includeInstance, msg) {
|
|
940
721
|
var f, obj = {
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
722
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
723
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
724
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
725
|
+
alias: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
726
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
727
|
+
parentRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
728
|
+
organizationRefId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
729
|
+
workLocationRefId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
730
|
+
description: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
731
|
+
companiesRefId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
732
|
+
roleAccountRefId: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
|
951
733
|
};
|
|
952
734
|
|
|
953
735
|
if (includeInstance) {
|
|
@@ -985,45 +767,49 @@ proto.JobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
985
767
|
var field = reader.getFieldNumber();
|
|
986
768
|
switch (field) {
|
|
987
769
|
case 1:
|
|
770
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
771
|
+
msg.setId(value);
|
|
772
|
+
break;
|
|
773
|
+
case 2:
|
|
988
774
|
var value = /** @type {string} */ (reader.readString());
|
|
989
775
|
msg.setCode(value);
|
|
990
776
|
break;
|
|
991
|
-
case
|
|
777
|
+
case 3:
|
|
992
778
|
var value = /** @type {string} */ (reader.readString());
|
|
993
779
|
msg.setName(value);
|
|
994
780
|
break;
|
|
995
|
-
case
|
|
781
|
+
case 4:
|
|
782
|
+
var value = /** @type {string} */ (reader.readString());
|
|
783
|
+
msg.setAlias(value);
|
|
784
|
+
break;
|
|
785
|
+
case 5:
|
|
996
786
|
var value = /** @type {string} */ (reader.readString());
|
|
997
787
|
msg.setCostCenterCode(value);
|
|
998
788
|
break;
|
|
999
|
-
case
|
|
789
|
+
case 6:
|
|
1000
790
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1001
791
|
msg.setParentRefId(value);
|
|
1002
792
|
break;
|
|
1003
|
-
case
|
|
793
|
+
case 7:
|
|
1004
794
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1005
795
|
msg.setOrganizationRefId(value);
|
|
1006
796
|
break;
|
|
1007
|
-
case
|
|
797
|
+
case 8:
|
|
1008
798
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1009
799
|
msg.setWorkLocationRefId(value);
|
|
1010
800
|
break;
|
|
1011
|
-
case
|
|
801
|
+
case 9:
|
|
1012
802
|
var value = /** @type {string} */ (reader.readString());
|
|
1013
803
|
msg.setDescription(value);
|
|
1014
804
|
break;
|
|
1015
|
-
case
|
|
805
|
+
case 10:
|
|
1016
806
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1017
807
|
msg.setCompaniesRefId(value);
|
|
1018
808
|
break;
|
|
1019
|
-
case
|
|
809
|
+
case 11:
|
|
1020
810
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1021
811
|
msg.setRoleAccountRefId(value);
|
|
1022
812
|
break;
|
|
1023
|
-
case 10:
|
|
1024
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1025
|
-
msg.addKeyResponsibilities(value);
|
|
1026
|
-
break;
|
|
1027
813
|
default:
|
|
1028
814
|
reader.skipField();
|
|
1029
815
|
break;
|
|
@@ -1053,73 +839,80 @@ proto.JobPosition.prototype.serializeBinary = function() {
|
|
|
1053
839
|
*/
|
|
1054
840
|
proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
1055
841
|
var f = undefined;
|
|
842
|
+
f = message.getId();
|
|
843
|
+
if (f !== 0) {
|
|
844
|
+
writer.writeInt64(
|
|
845
|
+
1,
|
|
846
|
+
f
|
|
847
|
+
);
|
|
848
|
+
}
|
|
1056
849
|
f = message.getCode();
|
|
1057
850
|
if (f.length > 0) {
|
|
1058
851
|
writer.writeString(
|
|
1059
|
-
|
|
852
|
+
2,
|
|
1060
853
|
f
|
|
1061
854
|
);
|
|
1062
855
|
}
|
|
1063
856
|
f = message.getName();
|
|
1064
857
|
if (f.length > 0) {
|
|
1065
858
|
writer.writeString(
|
|
1066
|
-
|
|
859
|
+
3,
|
|
860
|
+
f
|
|
861
|
+
);
|
|
862
|
+
}
|
|
863
|
+
f = message.getAlias();
|
|
864
|
+
if (f.length > 0) {
|
|
865
|
+
writer.writeString(
|
|
866
|
+
4,
|
|
1067
867
|
f
|
|
1068
868
|
);
|
|
1069
869
|
}
|
|
1070
870
|
f = message.getCostCenterCode();
|
|
1071
871
|
if (f.length > 0) {
|
|
1072
872
|
writer.writeString(
|
|
1073
|
-
|
|
873
|
+
5,
|
|
1074
874
|
f
|
|
1075
875
|
);
|
|
1076
876
|
}
|
|
1077
877
|
f = message.getParentRefId();
|
|
1078
878
|
if (f !== 0) {
|
|
1079
879
|
writer.writeInt64(
|
|
1080
|
-
|
|
880
|
+
6,
|
|
1081
881
|
f
|
|
1082
882
|
);
|
|
1083
883
|
}
|
|
1084
884
|
f = message.getOrganizationRefId();
|
|
1085
885
|
if (f !== 0) {
|
|
1086
886
|
writer.writeInt64(
|
|
1087
|
-
|
|
887
|
+
7,
|
|
1088
888
|
f
|
|
1089
889
|
);
|
|
1090
890
|
}
|
|
1091
891
|
f = message.getWorkLocationRefId();
|
|
1092
892
|
if (f !== 0) {
|
|
1093
893
|
writer.writeInt64(
|
|
1094
|
-
|
|
894
|
+
8,
|
|
1095
895
|
f
|
|
1096
896
|
);
|
|
1097
897
|
}
|
|
1098
898
|
f = message.getDescription();
|
|
1099
899
|
if (f.length > 0) {
|
|
1100
900
|
writer.writeString(
|
|
1101
|
-
|
|
901
|
+
9,
|
|
1102
902
|
f
|
|
1103
903
|
);
|
|
1104
904
|
}
|
|
1105
905
|
f = message.getCompaniesRefId();
|
|
1106
906
|
if (f !== 0) {
|
|
1107
907
|
writer.writeInt64(
|
|
1108
|
-
|
|
908
|
+
10,
|
|
1109
909
|
f
|
|
1110
910
|
);
|
|
1111
911
|
}
|
|
1112
912
|
f = message.getRoleAccountRefId();
|
|
1113
913
|
if (f !== 0) {
|
|
1114
914
|
writer.writeInt64(
|
|
1115
|
-
|
|
1116
|
-
f
|
|
1117
|
-
);
|
|
1118
|
-
}
|
|
1119
|
-
f = message.getKeyResponsibilitiesList();
|
|
1120
|
-
if (f.length > 0) {
|
|
1121
|
-
writer.writeRepeatedString(
|
|
1122
|
-
10,
|
|
915
|
+
11,
|
|
1123
916
|
f
|
|
1124
917
|
);
|
|
1125
918
|
}
|
|
@@ -1127,28 +920,28 @@ proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
1127
920
|
|
|
1128
921
|
|
|
1129
922
|
/**
|
|
1130
|
-
* optional
|
|
1131
|
-
* @return {
|
|
923
|
+
* optional int64 id = 1;
|
|
924
|
+
* @return {number}
|
|
1132
925
|
*/
|
|
1133
|
-
proto.JobPosition.prototype.
|
|
1134
|
-
return /** @type {
|
|
926
|
+
proto.JobPosition.prototype.getId = function() {
|
|
927
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1135
928
|
};
|
|
1136
929
|
|
|
1137
930
|
|
|
1138
931
|
/**
|
|
1139
|
-
* @param {
|
|
932
|
+
* @param {number} value
|
|
1140
933
|
* @return {!proto.JobPosition} returns this
|
|
1141
934
|
*/
|
|
1142
|
-
proto.JobPosition.prototype.
|
|
1143
|
-
return jspb.Message.
|
|
935
|
+
proto.JobPosition.prototype.setId = function(value) {
|
|
936
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1144
937
|
};
|
|
1145
938
|
|
|
1146
939
|
|
|
1147
940
|
/**
|
|
1148
|
-
* optional string
|
|
941
|
+
* optional string code = 2;
|
|
1149
942
|
* @return {string}
|
|
1150
943
|
*/
|
|
1151
|
-
proto.JobPosition.prototype.
|
|
944
|
+
proto.JobPosition.prototype.getCode = function() {
|
|
1152
945
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1153
946
|
};
|
|
1154
947
|
|
|
@@ -1157,16 +950,16 @@ proto.JobPosition.prototype.getName = function() {
|
|
|
1157
950
|
* @param {string} value
|
|
1158
951
|
* @return {!proto.JobPosition} returns this
|
|
1159
952
|
*/
|
|
1160
|
-
proto.JobPosition.prototype.
|
|
953
|
+
proto.JobPosition.prototype.setCode = function(value) {
|
|
1161
954
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1162
955
|
};
|
|
1163
956
|
|
|
1164
957
|
|
|
1165
958
|
/**
|
|
1166
|
-
* optional string
|
|
959
|
+
* optional string name = 3;
|
|
1167
960
|
* @return {string}
|
|
1168
961
|
*/
|
|
1169
|
-
proto.JobPosition.prototype.
|
|
962
|
+
proto.JobPosition.prototype.getName = function() {
|
|
1170
963
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1171
964
|
};
|
|
1172
965
|
|
|
@@ -1175,52 +968,52 @@ proto.JobPosition.prototype.getCostCenterCode = function() {
|
|
|
1175
968
|
* @param {string} value
|
|
1176
969
|
* @return {!proto.JobPosition} returns this
|
|
1177
970
|
*/
|
|
1178
|
-
proto.JobPosition.prototype.
|
|
971
|
+
proto.JobPosition.prototype.setName = function(value) {
|
|
1179
972
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1180
973
|
};
|
|
1181
974
|
|
|
1182
975
|
|
|
1183
976
|
/**
|
|
1184
|
-
* optional
|
|
1185
|
-
* @return {
|
|
977
|
+
* optional string alias = 4;
|
|
978
|
+
* @return {string}
|
|
1186
979
|
*/
|
|
1187
|
-
proto.JobPosition.prototype.
|
|
1188
|
-
return /** @type {
|
|
980
|
+
proto.JobPosition.prototype.getAlias = function() {
|
|
981
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1189
982
|
};
|
|
1190
983
|
|
|
1191
984
|
|
|
1192
985
|
/**
|
|
1193
|
-
* @param {
|
|
986
|
+
* @param {string} value
|
|
1194
987
|
* @return {!proto.JobPosition} returns this
|
|
1195
988
|
*/
|
|
1196
|
-
proto.JobPosition.prototype.
|
|
1197
|
-
return jspb.Message.
|
|
989
|
+
proto.JobPosition.prototype.setAlias = function(value) {
|
|
990
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1198
991
|
};
|
|
1199
992
|
|
|
1200
993
|
|
|
1201
994
|
/**
|
|
1202
|
-
* optional
|
|
1203
|
-
* @return {
|
|
995
|
+
* optional string cost_center_code = 5;
|
|
996
|
+
* @return {string}
|
|
1204
997
|
*/
|
|
1205
|
-
proto.JobPosition.prototype.
|
|
1206
|
-
return /** @type {
|
|
998
|
+
proto.JobPosition.prototype.getCostCenterCode = function() {
|
|
999
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1207
1000
|
};
|
|
1208
1001
|
|
|
1209
1002
|
|
|
1210
1003
|
/**
|
|
1211
|
-
* @param {
|
|
1004
|
+
* @param {string} value
|
|
1212
1005
|
* @return {!proto.JobPosition} returns this
|
|
1213
1006
|
*/
|
|
1214
|
-
proto.JobPosition.prototype.
|
|
1215
|
-
return jspb.Message.
|
|
1007
|
+
proto.JobPosition.prototype.setCostCenterCode = function(value) {
|
|
1008
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1216
1009
|
};
|
|
1217
1010
|
|
|
1218
1011
|
|
|
1219
1012
|
/**
|
|
1220
|
-
* optional int64
|
|
1013
|
+
* optional int64 parent_ref_id = 6;
|
|
1221
1014
|
* @return {number}
|
|
1222
1015
|
*/
|
|
1223
|
-
proto.JobPosition.prototype.
|
|
1016
|
+
proto.JobPosition.prototype.getParentRefId = function() {
|
|
1224
1017
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1225
1018
|
};
|
|
1226
1019
|
|
|
@@ -1229,34 +1022,34 @@ proto.JobPosition.prototype.getWorkLocationRefId = function() {
|
|
|
1229
1022
|
* @param {number} value
|
|
1230
1023
|
* @return {!proto.JobPosition} returns this
|
|
1231
1024
|
*/
|
|
1232
|
-
proto.JobPosition.prototype.
|
|
1025
|
+
proto.JobPosition.prototype.setParentRefId = function(value) {
|
|
1233
1026
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1234
1027
|
};
|
|
1235
1028
|
|
|
1236
1029
|
|
|
1237
1030
|
/**
|
|
1238
|
-
* optional
|
|
1239
|
-
* @return {
|
|
1031
|
+
* optional int64 organization_ref_id = 7;
|
|
1032
|
+
* @return {number}
|
|
1240
1033
|
*/
|
|
1241
|
-
proto.JobPosition.prototype.
|
|
1242
|
-
return /** @type {
|
|
1034
|
+
proto.JobPosition.prototype.getOrganizationRefId = function() {
|
|
1035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1243
1036
|
};
|
|
1244
1037
|
|
|
1245
1038
|
|
|
1246
1039
|
/**
|
|
1247
|
-
* @param {
|
|
1040
|
+
* @param {number} value
|
|
1248
1041
|
* @return {!proto.JobPosition} returns this
|
|
1249
1042
|
*/
|
|
1250
|
-
proto.JobPosition.prototype.
|
|
1251
|
-
return jspb.Message.
|
|
1043
|
+
proto.JobPosition.prototype.setOrganizationRefId = function(value) {
|
|
1044
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1252
1045
|
};
|
|
1253
1046
|
|
|
1254
1047
|
|
|
1255
1048
|
/**
|
|
1256
|
-
* optional int64
|
|
1049
|
+
* optional int64 work_location_ref_id = 8;
|
|
1257
1050
|
* @return {number}
|
|
1258
1051
|
*/
|
|
1259
|
-
proto.JobPosition.prototype.
|
|
1052
|
+
proto.JobPosition.prototype.getWorkLocationRefId = function() {
|
|
1260
1053
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1261
1054
|
};
|
|
1262
1055
|
|
|
@@ -1265,63 +1058,62 @@ proto.JobPosition.prototype.getCompaniesRefId = function() {
|
|
|
1265
1058
|
* @param {number} value
|
|
1266
1059
|
* @return {!proto.JobPosition} returns this
|
|
1267
1060
|
*/
|
|
1268
|
-
proto.JobPosition.prototype.
|
|
1061
|
+
proto.JobPosition.prototype.setWorkLocationRefId = function(value) {
|
|
1269
1062
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
1270
1063
|
};
|
|
1271
1064
|
|
|
1272
1065
|
|
|
1273
1066
|
/**
|
|
1274
|
-
* optional
|
|
1275
|
-
* @return {
|
|
1067
|
+
* optional string description = 9;
|
|
1068
|
+
* @return {string}
|
|
1276
1069
|
*/
|
|
1277
|
-
proto.JobPosition.prototype.
|
|
1278
|
-
return /** @type {
|
|
1070
|
+
proto.JobPosition.prototype.getDescription = function() {
|
|
1071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1279
1072
|
};
|
|
1280
1073
|
|
|
1281
1074
|
|
|
1282
1075
|
/**
|
|
1283
|
-
* @param {
|
|
1076
|
+
* @param {string} value
|
|
1284
1077
|
* @return {!proto.JobPosition} returns this
|
|
1285
1078
|
*/
|
|
1286
|
-
proto.JobPosition.prototype.
|
|
1287
|
-
return jspb.Message.
|
|
1079
|
+
proto.JobPosition.prototype.setDescription = function(value) {
|
|
1080
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1288
1081
|
};
|
|
1289
1082
|
|
|
1290
1083
|
|
|
1291
1084
|
/**
|
|
1292
|
-
*
|
|
1293
|
-
* @return {
|
|
1085
|
+
* optional int64 companies_ref_id = 10;
|
|
1086
|
+
* @return {number}
|
|
1294
1087
|
*/
|
|
1295
|
-
proto.JobPosition.prototype.
|
|
1296
|
-
return /** @type {
|
|
1088
|
+
proto.JobPosition.prototype.getCompaniesRefId = function() {
|
|
1089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
1297
1090
|
};
|
|
1298
1091
|
|
|
1299
1092
|
|
|
1300
1093
|
/**
|
|
1301
|
-
* @param {
|
|
1094
|
+
* @param {number} value
|
|
1302
1095
|
* @return {!proto.JobPosition} returns this
|
|
1303
1096
|
*/
|
|
1304
|
-
proto.JobPosition.prototype.
|
|
1305
|
-
return jspb.Message.
|
|
1097
|
+
proto.JobPosition.prototype.setCompaniesRefId = function(value) {
|
|
1098
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
1306
1099
|
};
|
|
1307
1100
|
|
|
1308
1101
|
|
|
1309
1102
|
/**
|
|
1310
|
-
*
|
|
1311
|
-
* @
|
|
1312
|
-
* @return {!proto.JobPosition} returns this
|
|
1103
|
+
* optional int64 role_account_ref_id = 11;
|
|
1104
|
+
* @return {number}
|
|
1313
1105
|
*/
|
|
1314
|
-
proto.JobPosition.prototype.
|
|
1315
|
-
return jspb.Message.
|
|
1106
|
+
proto.JobPosition.prototype.getRoleAccountRefId = function() {
|
|
1107
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
1316
1108
|
};
|
|
1317
1109
|
|
|
1318
1110
|
|
|
1319
1111
|
/**
|
|
1320
|
-
*
|
|
1112
|
+
* @param {number} value
|
|
1321
1113
|
* @return {!proto.JobPosition} returns this
|
|
1322
1114
|
*/
|
|
1323
|
-
proto.JobPosition.prototype.
|
|
1324
|
-
return
|
|
1115
|
+
proto.JobPosition.prototype.setRoleAccountRefId = function(value) {
|
|
1116
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
1325
1117
|
};
|
|
1326
1118
|
|
|
1327
1119
|
|
|
@@ -1487,7 +1279,7 @@ proto.CreateJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1487
1279
|
*/
|
|
1488
1280
|
proto.CreateJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1489
1281
|
var f, obj = {
|
|
1490
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
1282
|
+
jobPosition: (f = msg.getJobPosition()) && proto.BaseJobPosition.toObject(includeInstance, f)
|
|
1491
1283
|
};
|
|
1492
1284
|
|
|
1493
1285
|
if (includeInstance) {
|
|
@@ -1525,8 +1317,8 @@ proto.CreateJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1525
1317
|
var field = reader.getFieldNumber();
|
|
1526
1318
|
switch (field) {
|
|
1527
1319
|
case 1:
|
|
1528
|
-
var value = new proto.
|
|
1529
|
-
reader.readMessage(value,proto.
|
|
1320
|
+
var value = new proto.BaseJobPosition;
|
|
1321
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
1530
1322
|
msg.setJobPosition(value);
|
|
1531
1323
|
break;
|
|
1532
1324
|
default:
|
|
@@ -1563,24 +1355,24 @@ proto.CreateJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1563
1355
|
writer.writeMessage(
|
|
1564
1356
|
1,
|
|
1565
1357
|
f,
|
|
1566
|
-
proto.
|
|
1358
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
1567
1359
|
);
|
|
1568
1360
|
}
|
|
1569
1361
|
};
|
|
1570
1362
|
|
|
1571
1363
|
|
|
1572
1364
|
/**
|
|
1573
|
-
* optional
|
|
1574
|
-
* @return {?proto.
|
|
1365
|
+
* optional BaseJobPosition job_position = 1;
|
|
1366
|
+
* @return {?proto.BaseJobPosition}
|
|
1575
1367
|
*/
|
|
1576
1368
|
proto.CreateJobPositionRequest.prototype.getJobPosition = function() {
|
|
1577
|
-
return /** @type{?proto.
|
|
1578
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1369
|
+
return /** @type{?proto.BaseJobPosition} */ (
|
|
1370
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPosition, 1));
|
|
1579
1371
|
};
|
|
1580
1372
|
|
|
1581
1373
|
|
|
1582
1374
|
/**
|
|
1583
|
-
* @param {?proto.
|
|
1375
|
+
* @param {?proto.BaseJobPosition|undefined} value
|
|
1584
1376
|
* @return {!proto.CreateJobPositionRequest} returns this
|
|
1585
1377
|
*/
|
|
1586
1378
|
proto.CreateJobPositionRequest.prototype.setJobPosition = function(value) {
|
|
@@ -1639,7 +1431,7 @@ proto.UpdateJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1639
1431
|
proto.UpdateJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1640
1432
|
var f, obj = {
|
|
1641
1433
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1642
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
1434
|
+
jobPosition: (f = msg.getJobPosition()) && proto.BaseJobPosition.toObject(includeInstance, f)
|
|
1643
1435
|
};
|
|
1644
1436
|
|
|
1645
1437
|
if (includeInstance) {
|
|
@@ -1681,8 +1473,8 @@ proto.UpdateJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1681
1473
|
msg.setId(value);
|
|
1682
1474
|
break;
|
|
1683
1475
|
case 2:
|
|
1684
|
-
var value = new proto.
|
|
1685
|
-
reader.readMessage(value,proto.
|
|
1476
|
+
var value = new proto.BaseJobPosition;
|
|
1477
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
1686
1478
|
msg.setJobPosition(value);
|
|
1687
1479
|
break;
|
|
1688
1480
|
default:
|
|
@@ -1726,7 +1518,7 @@ proto.UpdateJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1726
1518
|
writer.writeMessage(
|
|
1727
1519
|
2,
|
|
1728
1520
|
f,
|
|
1729
|
-
proto.
|
|
1521
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
1730
1522
|
);
|
|
1731
1523
|
}
|
|
1732
1524
|
};
|
|
@@ -1751,17 +1543,17 @@ proto.UpdateJobPositionRequest.prototype.setId = function(value) {
|
|
|
1751
1543
|
|
|
1752
1544
|
|
|
1753
1545
|
/**
|
|
1754
|
-
* optional
|
|
1755
|
-
* @return {?proto.
|
|
1546
|
+
* optional BaseJobPosition job_position = 2;
|
|
1547
|
+
* @return {?proto.BaseJobPosition}
|
|
1756
1548
|
*/
|
|
1757
1549
|
proto.UpdateJobPositionRequest.prototype.getJobPosition = function() {
|
|
1758
|
-
return /** @type{?proto.
|
|
1759
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1550
|
+
return /** @type{?proto.BaseJobPosition} */ (
|
|
1551
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPosition, 2));
|
|
1760
1552
|
};
|
|
1761
1553
|
|
|
1762
1554
|
|
|
1763
1555
|
/**
|
|
1764
|
-
* @param {?proto.
|
|
1556
|
+
* @param {?proto.BaseJobPosition|undefined} value
|
|
1765
1557
|
* @return {!proto.UpdateJobPositionRequest} returns this
|
|
1766
1558
|
*/
|
|
1767
1559
|
proto.UpdateJobPositionRequest.prototype.setJobPosition = function(value) {
|