@aldiokta/protocgen 1.0.8 → 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 +215 -453
- 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_ = [11];
|
|
909
|
-
|
|
910
691
|
|
|
911
692
|
|
|
912
693
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -941,14 +722,14 @@ proto.JobPosition.toObject = function(includeInstance, msg) {
|
|
|
941
722
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
942
723
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
943
724
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
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)
|
|
952
733
|
};
|
|
953
734
|
|
|
954
735
|
if (includeInstance) {
|
|
@@ -999,36 +780,36 @@ proto.JobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
999
780
|
break;
|
|
1000
781
|
case 4:
|
|
1001
782
|
var value = /** @type {string} */ (reader.readString());
|
|
1002
|
-
msg.
|
|
783
|
+
msg.setAlias(value);
|
|
1003
784
|
break;
|
|
1004
785
|
case 5:
|
|
786
|
+
var value = /** @type {string} */ (reader.readString());
|
|
787
|
+
msg.setCostCenterCode(value);
|
|
788
|
+
break;
|
|
789
|
+
case 6:
|
|
1005
790
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1006
791
|
msg.setParentRefId(value);
|
|
1007
792
|
break;
|
|
1008
|
-
case
|
|
793
|
+
case 7:
|
|
1009
794
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1010
795
|
msg.setOrganizationRefId(value);
|
|
1011
796
|
break;
|
|
1012
|
-
case
|
|
797
|
+
case 8:
|
|
1013
798
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1014
799
|
msg.setWorkLocationRefId(value);
|
|
1015
800
|
break;
|
|
1016
|
-
case
|
|
801
|
+
case 9:
|
|
1017
802
|
var value = /** @type {string} */ (reader.readString());
|
|
1018
803
|
msg.setDescription(value);
|
|
1019
804
|
break;
|
|
1020
|
-
case
|
|
805
|
+
case 10:
|
|
1021
806
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1022
807
|
msg.setCompaniesRefId(value);
|
|
1023
808
|
break;
|
|
1024
|
-
case
|
|
809
|
+
case 11:
|
|
1025
810
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1026
811
|
msg.setRoleAccountRefId(value);
|
|
1027
812
|
break;
|
|
1028
|
-
case 11:
|
|
1029
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1030
|
-
msg.addKeyResponsibilities(value);
|
|
1031
|
-
break;
|
|
1032
813
|
default:
|
|
1033
814
|
reader.skipField();
|
|
1034
815
|
break;
|
|
@@ -1079,58 +860,58 @@ proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
1079
860
|
f
|
|
1080
861
|
);
|
|
1081
862
|
}
|
|
1082
|
-
f = message.
|
|
863
|
+
f = message.getAlias();
|
|
1083
864
|
if (f.length > 0) {
|
|
1084
865
|
writer.writeString(
|
|
1085
866
|
4,
|
|
1086
867
|
f
|
|
1087
868
|
);
|
|
1088
869
|
}
|
|
870
|
+
f = message.getCostCenterCode();
|
|
871
|
+
if (f.length > 0) {
|
|
872
|
+
writer.writeString(
|
|
873
|
+
5,
|
|
874
|
+
f
|
|
875
|
+
);
|
|
876
|
+
}
|
|
1089
877
|
f = message.getParentRefId();
|
|
1090
878
|
if (f !== 0) {
|
|
1091
879
|
writer.writeInt64(
|
|
1092
|
-
|
|
880
|
+
6,
|
|
1093
881
|
f
|
|
1094
882
|
);
|
|
1095
883
|
}
|
|
1096
884
|
f = message.getOrganizationRefId();
|
|
1097
885
|
if (f !== 0) {
|
|
1098
886
|
writer.writeInt64(
|
|
1099
|
-
|
|
887
|
+
7,
|
|
1100
888
|
f
|
|
1101
889
|
);
|
|
1102
890
|
}
|
|
1103
891
|
f = message.getWorkLocationRefId();
|
|
1104
892
|
if (f !== 0) {
|
|
1105
893
|
writer.writeInt64(
|
|
1106
|
-
|
|
894
|
+
8,
|
|
1107
895
|
f
|
|
1108
896
|
);
|
|
1109
897
|
}
|
|
1110
898
|
f = message.getDescription();
|
|
1111
899
|
if (f.length > 0) {
|
|
1112
900
|
writer.writeString(
|
|
1113
|
-
|
|
901
|
+
9,
|
|
1114
902
|
f
|
|
1115
903
|
);
|
|
1116
904
|
}
|
|
1117
905
|
f = message.getCompaniesRefId();
|
|
1118
906
|
if (f !== 0) {
|
|
1119
907
|
writer.writeInt64(
|
|
1120
|
-
|
|
908
|
+
10,
|
|
1121
909
|
f
|
|
1122
910
|
);
|
|
1123
911
|
}
|
|
1124
912
|
f = message.getRoleAccountRefId();
|
|
1125
913
|
if (f !== 0) {
|
|
1126
914
|
writer.writeInt64(
|
|
1127
|
-
10,
|
|
1128
|
-
f
|
|
1129
|
-
);
|
|
1130
|
-
}
|
|
1131
|
-
f = message.getKeyResponsibilitiesList();
|
|
1132
|
-
if (f.length > 0) {
|
|
1133
|
-
writer.writeRepeatedString(
|
|
1134
915
|
11,
|
|
1135
916
|
f
|
|
1136
917
|
);
|
|
@@ -1193,10 +974,10 @@ proto.JobPosition.prototype.setName = function(value) {
|
|
|
1193
974
|
|
|
1194
975
|
|
|
1195
976
|
/**
|
|
1196
|
-
* optional string
|
|
977
|
+
* optional string alias = 4;
|
|
1197
978
|
* @return {string}
|
|
1198
979
|
*/
|
|
1199
|
-
proto.JobPosition.prototype.
|
|
980
|
+
proto.JobPosition.prototype.getAlias = function() {
|
|
1200
981
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1201
982
|
};
|
|
1202
983
|
|
|
@@ -1205,17 +986,35 @@ proto.JobPosition.prototype.getCostCenterCode = function() {
|
|
|
1205
986
|
* @param {string} value
|
|
1206
987
|
* @return {!proto.JobPosition} returns this
|
|
1207
988
|
*/
|
|
1208
|
-
proto.JobPosition.prototype.
|
|
989
|
+
proto.JobPosition.prototype.setAlias = function(value) {
|
|
1209
990
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1210
991
|
};
|
|
1211
992
|
|
|
1212
993
|
|
|
1213
994
|
/**
|
|
1214
|
-
* optional
|
|
995
|
+
* optional string cost_center_code = 5;
|
|
996
|
+
* @return {string}
|
|
997
|
+
*/
|
|
998
|
+
proto.JobPosition.prototype.getCostCenterCode = function() {
|
|
999
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* @param {string} value
|
|
1005
|
+
* @return {!proto.JobPosition} returns this
|
|
1006
|
+
*/
|
|
1007
|
+
proto.JobPosition.prototype.setCostCenterCode = function(value) {
|
|
1008
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* optional int64 parent_ref_id = 6;
|
|
1215
1014
|
* @return {number}
|
|
1216
1015
|
*/
|
|
1217
1016
|
proto.JobPosition.prototype.getParentRefId = function() {
|
|
1218
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1017
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1219
1018
|
};
|
|
1220
1019
|
|
|
1221
1020
|
|
|
@@ -1224,16 +1023,16 @@ proto.JobPosition.prototype.getParentRefId = function() {
|
|
|
1224
1023
|
* @return {!proto.JobPosition} returns this
|
|
1225
1024
|
*/
|
|
1226
1025
|
proto.JobPosition.prototype.setParentRefId = function(value) {
|
|
1227
|
-
return jspb.Message.setProto3IntField(this,
|
|
1026
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1228
1027
|
};
|
|
1229
1028
|
|
|
1230
1029
|
|
|
1231
1030
|
/**
|
|
1232
|
-
* optional int64 organization_ref_id =
|
|
1031
|
+
* optional int64 organization_ref_id = 7;
|
|
1233
1032
|
* @return {number}
|
|
1234
1033
|
*/
|
|
1235
1034
|
proto.JobPosition.prototype.getOrganizationRefId = function() {
|
|
1236
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1237
1036
|
};
|
|
1238
1037
|
|
|
1239
1038
|
|
|
@@ -1242,16 +1041,16 @@ proto.JobPosition.prototype.getOrganizationRefId = function() {
|
|
|
1242
1041
|
* @return {!proto.JobPosition} returns this
|
|
1243
1042
|
*/
|
|
1244
1043
|
proto.JobPosition.prototype.setOrganizationRefId = function(value) {
|
|
1245
|
-
return jspb.Message.setProto3IntField(this,
|
|
1044
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1246
1045
|
};
|
|
1247
1046
|
|
|
1248
1047
|
|
|
1249
1048
|
/**
|
|
1250
|
-
* optional int64 work_location_ref_id =
|
|
1049
|
+
* optional int64 work_location_ref_id = 8;
|
|
1251
1050
|
* @return {number}
|
|
1252
1051
|
*/
|
|
1253
1052
|
proto.JobPosition.prototype.getWorkLocationRefId = function() {
|
|
1254
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1053
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1255
1054
|
};
|
|
1256
1055
|
|
|
1257
1056
|
|
|
@@ -1260,16 +1059,16 @@ proto.JobPosition.prototype.getWorkLocationRefId = function() {
|
|
|
1260
1059
|
* @return {!proto.JobPosition} returns this
|
|
1261
1060
|
*/
|
|
1262
1061
|
proto.JobPosition.prototype.setWorkLocationRefId = function(value) {
|
|
1263
|
-
return jspb.Message.setProto3IntField(this,
|
|
1062
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
1264
1063
|
};
|
|
1265
1064
|
|
|
1266
1065
|
|
|
1267
1066
|
/**
|
|
1268
|
-
* optional string description =
|
|
1067
|
+
* optional string description = 9;
|
|
1269
1068
|
* @return {string}
|
|
1270
1069
|
*/
|
|
1271
1070
|
proto.JobPosition.prototype.getDescription = function() {
|
|
1272
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1273
1072
|
};
|
|
1274
1073
|
|
|
1275
1074
|
|
|
@@ -1278,16 +1077,16 @@ proto.JobPosition.prototype.getDescription = function() {
|
|
|
1278
1077
|
* @return {!proto.JobPosition} returns this
|
|
1279
1078
|
*/
|
|
1280
1079
|
proto.JobPosition.prototype.setDescription = function(value) {
|
|
1281
|
-
return jspb.Message.setProto3StringField(this,
|
|
1080
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1282
1081
|
};
|
|
1283
1082
|
|
|
1284
1083
|
|
|
1285
1084
|
/**
|
|
1286
|
-
* optional int64 companies_ref_id =
|
|
1085
|
+
* optional int64 companies_ref_id = 10;
|
|
1287
1086
|
* @return {number}
|
|
1288
1087
|
*/
|
|
1289
1088
|
proto.JobPosition.prototype.getCompaniesRefId = function() {
|
|
1290
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
1291
1090
|
};
|
|
1292
1091
|
|
|
1293
1092
|
|
|
@@ -1296,16 +1095,16 @@ proto.JobPosition.prototype.getCompaniesRefId = function() {
|
|
|
1296
1095
|
* @return {!proto.JobPosition} returns this
|
|
1297
1096
|
*/
|
|
1298
1097
|
proto.JobPosition.prototype.setCompaniesRefId = function(value) {
|
|
1299
|
-
return jspb.Message.setProto3IntField(this,
|
|
1098
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
1300
1099
|
};
|
|
1301
1100
|
|
|
1302
1101
|
|
|
1303
1102
|
/**
|
|
1304
|
-
* optional int64 role_account_ref_id =
|
|
1103
|
+
* optional int64 role_account_ref_id = 11;
|
|
1305
1104
|
* @return {number}
|
|
1306
1105
|
*/
|
|
1307
1106
|
proto.JobPosition.prototype.getRoleAccountRefId = function() {
|
|
1308
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1107
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
1309
1108
|
};
|
|
1310
1109
|
|
|
1311
1110
|
|
|
@@ -1314,44 +1113,7 @@ proto.JobPosition.prototype.getRoleAccountRefId = function() {
|
|
|
1314
1113
|
* @return {!proto.JobPosition} returns this
|
|
1315
1114
|
*/
|
|
1316
1115
|
proto.JobPosition.prototype.setRoleAccountRefId = function(value) {
|
|
1317
|
-
return jspb.Message.setProto3IntField(this,
|
|
1318
|
-
};
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* repeated string key_responsibilities = 11;
|
|
1323
|
-
* @return {!Array<string>}
|
|
1324
|
-
*/
|
|
1325
|
-
proto.JobPosition.prototype.getKeyResponsibilitiesList = function() {
|
|
1326
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
1327
|
-
};
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
/**
|
|
1331
|
-
* @param {!Array<string>} value
|
|
1332
|
-
* @return {!proto.JobPosition} returns this
|
|
1333
|
-
*/
|
|
1334
|
-
proto.JobPosition.prototype.setKeyResponsibilitiesList = function(value) {
|
|
1335
|
-
return jspb.Message.setField(this, 11, value || []);
|
|
1336
|
-
};
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
* @param {string} value
|
|
1341
|
-
* @param {number=} opt_index
|
|
1342
|
-
* @return {!proto.JobPosition} returns this
|
|
1343
|
-
*/
|
|
1344
|
-
proto.JobPosition.prototype.addKeyResponsibilities = function(value, opt_index) {
|
|
1345
|
-
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
1346
|
-
};
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* Clears the list making it empty but non-null.
|
|
1351
|
-
* @return {!proto.JobPosition} returns this
|
|
1352
|
-
*/
|
|
1353
|
-
proto.JobPosition.prototype.clearKeyResponsibilitiesList = function() {
|
|
1354
|
-
return this.setKeyResponsibilitiesList([]);
|
|
1116
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
1355
1117
|
};
|
|
1356
1118
|
|
|
1357
1119
|
|
|
@@ -1517,7 +1279,7 @@ proto.CreateJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1517
1279
|
*/
|
|
1518
1280
|
proto.CreateJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1519
1281
|
var f, obj = {
|
|
1520
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
1282
|
+
jobPosition: (f = msg.getJobPosition()) && proto.BaseJobPosition.toObject(includeInstance, f)
|
|
1521
1283
|
};
|
|
1522
1284
|
|
|
1523
1285
|
if (includeInstance) {
|
|
@@ -1555,8 +1317,8 @@ proto.CreateJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1555
1317
|
var field = reader.getFieldNumber();
|
|
1556
1318
|
switch (field) {
|
|
1557
1319
|
case 1:
|
|
1558
|
-
var value = new proto.
|
|
1559
|
-
reader.readMessage(value,proto.
|
|
1320
|
+
var value = new proto.BaseJobPosition;
|
|
1321
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
1560
1322
|
msg.setJobPosition(value);
|
|
1561
1323
|
break;
|
|
1562
1324
|
default:
|
|
@@ -1593,24 +1355,24 @@ proto.CreateJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1593
1355
|
writer.writeMessage(
|
|
1594
1356
|
1,
|
|
1595
1357
|
f,
|
|
1596
|
-
proto.
|
|
1358
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
1597
1359
|
);
|
|
1598
1360
|
}
|
|
1599
1361
|
};
|
|
1600
1362
|
|
|
1601
1363
|
|
|
1602
1364
|
/**
|
|
1603
|
-
* optional
|
|
1604
|
-
* @return {?proto.
|
|
1365
|
+
* optional BaseJobPosition job_position = 1;
|
|
1366
|
+
* @return {?proto.BaseJobPosition}
|
|
1605
1367
|
*/
|
|
1606
1368
|
proto.CreateJobPositionRequest.prototype.getJobPosition = function() {
|
|
1607
|
-
return /** @type{?proto.
|
|
1608
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1369
|
+
return /** @type{?proto.BaseJobPosition} */ (
|
|
1370
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPosition, 1));
|
|
1609
1371
|
};
|
|
1610
1372
|
|
|
1611
1373
|
|
|
1612
1374
|
/**
|
|
1613
|
-
* @param {?proto.
|
|
1375
|
+
* @param {?proto.BaseJobPosition|undefined} value
|
|
1614
1376
|
* @return {!proto.CreateJobPositionRequest} returns this
|
|
1615
1377
|
*/
|
|
1616
1378
|
proto.CreateJobPositionRequest.prototype.setJobPosition = function(value) {
|
|
@@ -1669,7 +1431,7 @@ proto.UpdateJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1669
1431
|
proto.UpdateJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1670
1432
|
var f, obj = {
|
|
1671
1433
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1672
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
1434
|
+
jobPosition: (f = msg.getJobPosition()) && proto.BaseJobPosition.toObject(includeInstance, f)
|
|
1673
1435
|
};
|
|
1674
1436
|
|
|
1675
1437
|
if (includeInstance) {
|
|
@@ -1711,8 +1473,8 @@ proto.UpdateJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1711
1473
|
msg.setId(value);
|
|
1712
1474
|
break;
|
|
1713
1475
|
case 2:
|
|
1714
|
-
var value = new proto.
|
|
1715
|
-
reader.readMessage(value,proto.
|
|
1476
|
+
var value = new proto.BaseJobPosition;
|
|
1477
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
1716
1478
|
msg.setJobPosition(value);
|
|
1717
1479
|
break;
|
|
1718
1480
|
default:
|
|
@@ -1756,7 +1518,7 @@ proto.UpdateJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1756
1518
|
writer.writeMessage(
|
|
1757
1519
|
2,
|
|
1758
1520
|
f,
|
|
1759
|
-
proto.
|
|
1521
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
1760
1522
|
);
|
|
1761
1523
|
}
|
|
1762
1524
|
};
|
|
@@ -1781,17 +1543,17 @@ proto.UpdateJobPositionRequest.prototype.setId = function(value) {
|
|
|
1781
1543
|
|
|
1782
1544
|
|
|
1783
1545
|
/**
|
|
1784
|
-
* optional
|
|
1785
|
-
* @return {?proto.
|
|
1546
|
+
* optional BaseJobPosition job_position = 2;
|
|
1547
|
+
* @return {?proto.BaseJobPosition}
|
|
1786
1548
|
*/
|
|
1787
1549
|
proto.UpdateJobPositionRequest.prototype.getJobPosition = function() {
|
|
1788
|
-
return /** @type{?proto.
|
|
1789
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1550
|
+
return /** @type{?proto.BaseJobPosition} */ (
|
|
1551
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPosition, 2));
|
|
1790
1552
|
};
|
|
1791
1553
|
|
|
1792
1554
|
|
|
1793
1555
|
/**
|
|
1794
|
-
* @param {?proto.
|
|
1556
|
+
* @param {?proto.BaseJobPosition|undefined} value
|
|
1795
1557
|
* @return {!proto.UpdateJobPositionRequest} returns this
|
|
1796
1558
|
*/
|
|
1797
1559
|
proto.UpdateJobPositionRequest.prototype.setJobPosition = function(value) {
|