@aldiokta/protocgen 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/core/company/company_pb.js +362 -99
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +1 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +157 -104
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +4 -0
- package/prisca/v1/core/job_position/job_position_pb.js +955 -285
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +1 -0
- package/prisca/v1/core/job_title/job_title_pb.js +417 -101
- package/prisca/v1/core/material/material_pb.js +159 -129
- package/prisca/v1/core/material_group/material_group_pb.js +39 -39
- package/prisca/v1/core/material_type/material_type_pb.js +55 -25
- package/prisca/v1/core/organization/organization_grpc_pb.js +3 -0
- package/prisca/v1/core/organization/organization_pb.js +814 -242
- package/prisca/v1/core/organization_level/organization_level_pb.js +40 -70
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +52 -52
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
- package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
- package/prisca/v1/core/work_location/work_location_pb.js +221 -221
- package/prisca/v1/core/workflow/workflow_pb.js +59 -59
|
@@ -23,7 +23,16 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
var prisca_v1_core_organization_organization_pb = require('../../../../prisca/v1/core/organization/organization_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_organization_organization_pb);
|
|
28
|
+
var prisca_v1_core_work_location_work_location_pb = require('../../../../prisca/v1/core/work_location/work_location_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_core_work_location_work_location_pb);
|
|
30
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
32
|
+
var prisca_v1_core_users_role_users_role_pb = require('../../../../prisca/v1/core/users_role/users_role_pb.js');
|
|
33
|
+
goog.object.extend(proto, prisca_v1_core_users_role_users_role_pb);
|
|
26
34
|
goog.exportSymbol('proto.BaseJobPosition', null, global);
|
|
35
|
+
goog.exportSymbol('proto.BaseJobPositionParent', null, global);
|
|
27
36
|
goog.exportSymbol('proto.CreateJobPositionRequest', null, global);
|
|
28
37
|
goog.exportSymbol('proto.CreateJobPositionResponse', null, global);
|
|
29
38
|
goog.exportSymbol('proto.DeleteJobPositionRequest', null, global);
|
|
@@ -56,6 +65,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
56
65
|
*/
|
|
57
66
|
proto.BaseJobPosition.displayName = 'proto.BaseJobPosition';
|
|
58
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Generated by JsPbCodeGenerator.
|
|
70
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
71
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
72
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
73
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
74
|
+
* valid.
|
|
75
|
+
* @extends {jspb.Message}
|
|
76
|
+
* @constructor
|
|
77
|
+
*/
|
|
78
|
+
proto.BaseJobPositionParent = function(opt_data) {
|
|
79
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
|
+
};
|
|
81
|
+
goog.inherits(proto.BaseJobPositionParent, jspb.Message);
|
|
82
|
+
if (goog.DEBUG && !COMPILED) {
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @override
|
|
86
|
+
*/
|
|
87
|
+
proto.BaseJobPositionParent.displayName = 'proto.BaseJobPositionParent';
|
|
88
|
+
}
|
|
59
89
|
/**
|
|
60
90
|
* Generated by JsPbCodeGenerator.
|
|
61
91
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -323,12 +353,13 @@ code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
323
353
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
324
354
|
alias: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
325
355
|
costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
356
|
+
parent: (f = msg.getParent()) && proto.BaseJobPositionParent.toObject(includeInstance, f),
|
|
357
|
+
organizations: (f = msg.getOrganizations()) && prisca_v1_core_organization_organization_pb.BaseOrganization.toObject(includeInstance, f),
|
|
358
|
+
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
329
359
|
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
330
|
-
|
|
331
|
-
|
|
360
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
|
|
361
|
+
role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f),
|
|
362
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
332
363
|
};
|
|
333
364
|
|
|
334
365
|
if (includeInstance) {
|
|
@@ -382,28 +413,37 @@ proto.BaseJobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
382
413
|
msg.setCostCenterCode(value);
|
|
383
414
|
break;
|
|
384
415
|
case 5:
|
|
385
|
-
var value =
|
|
386
|
-
|
|
416
|
+
var value = new proto.BaseJobPositionParent;
|
|
417
|
+
reader.readMessage(value,proto.BaseJobPositionParent.deserializeBinaryFromReader);
|
|
418
|
+
msg.setParent(value);
|
|
387
419
|
break;
|
|
388
420
|
case 6:
|
|
389
|
-
var value =
|
|
390
|
-
|
|
421
|
+
var value = new prisca_v1_core_organization_organization_pb.BaseOrganization;
|
|
422
|
+
reader.readMessage(value,prisca_v1_core_organization_organization_pb.BaseOrganization.deserializeBinaryFromReader);
|
|
423
|
+
msg.setOrganizations(value);
|
|
391
424
|
break;
|
|
392
425
|
case 7:
|
|
393
|
-
var value =
|
|
394
|
-
|
|
426
|
+
var value = new prisca_v1_core_work_location_work_location_pb.WorkLocation;
|
|
427
|
+
reader.readMessage(value,prisca_v1_core_work_location_work_location_pb.WorkLocation.deserializeBinaryFromReader);
|
|
428
|
+
msg.setWorkLocations(value);
|
|
395
429
|
break;
|
|
396
430
|
case 8:
|
|
397
431
|
var value = /** @type {string} */ (reader.readString());
|
|
398
432
|
msg.setDescription(value);
|
|
399
433
|
break;
|
|
400
434
|
case 9:
|
|
401
|
-
var value =
|
|
402
|
-
|
|
435
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
436
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
437
|
+
msg.setCompanies(value);
|
|
403
438
|
break;
|
|
404
439
|
case 10:
|
|
405
|
-
var value =
|
|
406
|
-
|
|
440
|
+
var value = new prisca_v1_core_users_role_users_role_pb.BaseUsersRole;
|
|
441
|
+
reader.readMessage(value,prisca_v1_core_users_role_users_role_pb.BaseUsersRole.deserializeBinaryFromReader);
|
|
442
|
+
msg.setRole(value);
|
|
443
|
+
break;
|
|
444
|
+
case 11:
|
|
445
|
+
var value = /** @type {string} */ (reader.readString());
|
|
446
|
+
msg.setReferencesId(value);
|
|
407
447
|
break;
|
|
408
448
|
default:
|
|
409
449
|
reader.skipField();
|
|
@@ -462,228 +502,888 @@ proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
462
502
|
f
|
|
463
503
|
);
|
|
464
504
|
}
|
|
465
|
-
f = message.
|
|
466
|
-
if (f
|
|
467
|
-
writer.
|
|
505
|
+
f = message.getParent();
|
|
506
|
+
if (f != null) {
|
|
507
|
+
writer.writeMessage(
|
|
468
508
|
5,
|
|
469
|
-
f
|
|
509
|
+
f,
|
|
510
|
+
proto.BaseJobPositionParent.serializeBinaryToWriter
|
|
470
511
|
);
|
|
471
512
|
}
|
|
472
|
-
f = message.
|
|
473
|
-
if (f
|
|
474
|
-
writer.
|
|
513
|
+
f = message.getOrganizations();
|
|
514
|
+
if (f != null) {
|
|
515
|
+
writer.writeMessage(
|
|
475
516
|
6,
|
|
476
|
-
f
|
|
517
|
+
f,
|
|
518
|
+
prisca_v1_core_organization_organization_pb.BaseOrganization.serializeBinaryToWriter
|
|
477
519
|
);
|
|
478
520
|
}
|
|
479
|
-
f = message.
|
|
480
|
-
if (f
|
|
481
|
-
writer.
|
|
521
|
+
f = message.getWorkLocations();
|
|
522
|
+
if (f != null) {
|
|
523
|
+
writer.writeMessage(
|
|
482
524
|
7,
|
|
525
|
+
f,
|
|
526
|
+
prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
|
|
527
|
+
);
|
|
528
|
+
}
|
|
529
|
+
f = message.getDescription();
|
|
530
|
+
if (f.length > 0) {
|
|
531
|
+
writer.writeString(
|
|
532
|
+
8,
|
|
483
533
|
f
|
|
484
534
|
);
|
|
485
535
|
}
|
|
536
|
+
f = message.getCompanies();
|
|
537
|
+
if (f != null) {
|
|
538
|
+
writer.writeMessage(
|
|
539
|
+
9,
|
|
540
|
+
f,
|
|
541
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
f = message.getRole();
|
|
545
|
+
if (f != null) {
|
|
546
|
+
writer.writeMessage(
|
|
547
|
+
10,
|
|
548
|
+
f,
|
|
549
|
+
prisca_v1_core_users_role_users_role_pb.BaseUsersRole.serializeBinaryToWriter
|
|
550
|
+
);
|
|
551
|
+
}
|
|
552
|
+
f = message.getReferencesId();
|
|
553
|
+
if (f.length > 0) {
|
|
554
|
+
writer.writeString(
|
|
555
|
+
11,
|
|
556
|
+
f
|
|
557
|
+
);
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* optional string code = 1;
|
|
564
|
+
* @return {string}
|
|
565
|
+
*/
|
|
566
|
+
proto.BaseJobPosition.prototype.getCode = function() {
|
|
567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* @param {string} value
|
|
573
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
574
|
+
*/
|
|
575
|
+
proto.BaseJobPosition.prototype.setCode = function(value) {
|
|
576
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* optional string name = 2;
|
|
582
|
+
* @return {string}
|
|
583
|
+
*/
|
|
584
|
+
proto.BaseJobPosition.prototype.getName = function() {
|
|
585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* @param {string} value
|
|
591
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
592
|
+
*/
|
|
593
|
+
proto.BaseJobPosition.prototype.setName = function(value) {
|
|
594
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* optional string alias = 3;
|
|
600
|
+
* @return {string}
|
|
601
|
+
*/
|
|
602
|
+
proto.BaseJobPosition.prototype.getAlias = function() {
|
|
603
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @param {string} value
|
|
609
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
610
|
+
*/
|
|
611
|
+
proto.BaseJobPosition.prototype.setAlias = function(value) {
|
|
612
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* optional string cost_center_code = 4;
|
|
618
|
+
* @return {string}
|
|
619
|
+
*/
|
|
620
|
+
proto.BaseJobPosition.prototype.getCostCenterCode = function() {
|
|
621
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @param {string} value
|
|
627
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
628
|
+
*/
|
|
629
|
+
proto.BaseJobPosition.prototype.setCostCenterCode = function(value) {
|
|
630
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* optional BaseJobPositionParent parent = 5;
|
|
636
|
+
* @return {?proto.BaseJobPositionParent}
|
|
637
|
+
*/
|
|
638
|
+
proto.BaseJobPosition.prototype.getParent = function() {
|
|
639
|
+
return /** @type{?proto.BaseJobPositionParent} */ (
|
|
640
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPositionParent, 5));
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* @param {?proto.BaseJobPositionParent|undefined} value
|
|
646
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
647
|
+
*/
|
|
648
|
+
proto.BaseJobPosition.prototype.setParent = function(value) {
|
|
649
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Clears the message field making it undefined.
|
|
655
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
656
|
+
*/
|
|
657
|
+
proto.BaseJobPosition.prototype.clearParent = function() {
|
|
658
|
+
return this.setParent(undefined);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Returns whether this field is set.
|
|
664
|
+
* @return {boolean}
|
|
665
|
+
*/
|
|
666
|
+
proto.BaseJobPosition.prototype.hasParent = function() {
|
|
667
|
+
return jspb.Message.getField(this, 5) != null;
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* optional BaseOrganization organizations = 6;
|
|
673
|
+
* @return {?proto.BaseOrganization}
|
|
674
|
+
*/
|
|
675
|
+
proto.BaseJobPosition.prototype.getOrganizations = function() {
|
|
676
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
677
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_organization_organization_pb.BaseOrganization, 6));
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
683
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
684
|
+
*/
|
|
685
|
+
proto.BaseJobPosition.prototype.setOrganizations = function(value) {
|
|
686
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Clears the message field making it undefined.
|
|
692
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
693
|
+
*/
|
|
694
|
+
proto.BaseJobPosition.prototype.clearOrganizations = function() {
|
|
695
|
+
return this.setOrganizations(undefined);
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* Returns whether this field is set.
|
|
701
|
+
* @return {boolean}
|
|
702
|
+
*/
|
|
703
|
+
proto.BaseJobPosition.prototype.hasOrganizations = function() {
|
|
704
|
+
return jspb.Message.getField(this, 6) != null;
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* optional WorkLocation work_locations = 7;
|
|
710
|
+
* @return {?proto.WorkLocation}
|
|
711
|
+
*/
|
|
712
|
+
proto.BaseJobPosition.prototype.getWorkLocations = function() {
|
|
713
|
+
return /** @type{?proto.WorkLocation} */ (
|
|
714
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 7));
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @param {?proto.WorkLocation|undefined} value
|
|
720
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
721
|
+
*/
|
|
722
|
+
proto.BaseJobPosition.prototype.setWorkLocations = function(value) {
|
|
723
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Clears the message field making it undefined.
|
|
729
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
730
|
+
*/
|
|
731
|
+
proto.BaseJobPosition.prototype.clearWorkLocations = function() {
|
|
732
|
+
return this.setWorkLocations(undefined);
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Returns whether this field is set.
|
|
738
|
+
* @return {boolean}
|
|
739
|
+
*/
|
|
740
|
+
proto.BaseJobPosition.prototype.hasWorkLocations = function() {
|
|
741
|
+
return jspb.Message.getField(this, 7) != null;
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* optional string description = 8;
|
|
747
|
+
* @return {string}
|
|
748
|
+
*/
|
|
749
|
+
proto.BaseJobPosition.prototype.getDescription = function() {
|
|
750
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* @param {string} value
|
|
756
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
757
|
+
*/
|
|
758
|
+
proto.BaseJobPosition.prototype.setDescription = function(value) {
|
|
759
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* optional BaseCompanyParent companies = 9;
|
|
765
|
+
* @return {?proto.BaseCompanyParent}
|
|
766
|
+
*/
|
|
767
|
+
proto.BaseJobPosition.prototype.getCompanies = function() {
|
|
768
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
769
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 9));
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
775
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
776
|
+
*/
|
|
777
|
+
proto.BaseJobPosition.prototype.setCompanies = function(value) {
|
|
778
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Clears the message field making it undefined.
|
|
784
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
785
|
+
*/
|
|
786
|
+
proto.BaseJobPosition.prototype.clearCompanies = function() {
|
|
787
|
+
return this.setCompanies(undefined);
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Returns whether this field is set.
|
|
793
|
+
* @return {boolean}
|
|
794
|
+
*/
|
|
795
|
+
proto.BaseJobPosition.prototype.hasCompanies = function() {
|
|
796
|
+
return jspb.Message.getField(this, 9) != null;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* optional BaseUsersRole role = 10;
|
|
802
|
+
* @return {?proto.BaseUsersRole}
|
|
803
|
+
*/
|
|
804
|
+
proto.BaseJobPosition.prototype.getRole = function() {
|
|
805
|
+
return /** @type{?proto.BaseUsersRole} */ (
|
|
806
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_users_role_users_role_pb.BaseUsersRole, 10));
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {?proto.BaseUsersRole|undefined} value
|
|
812
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
813
|
+
*/
|
|
814
|
+
proto.BaseJobPosition.prototype.setRole = function(value) {
|
|
815
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Clears the message field making it undefined.
|
|
821
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
822
|
+
*/
|
|
823
|
+
proto.BaseJobPosition.prototype.clearRole = function() {
|
|
824
|
+
return this.setRole(undefined);
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Returns whether this field is set.
|
|
830
|
+
* @return {boolean}
|
|
831
|
+
*/
|
|
832
|
+
proto.BaseJobPosition.prototype.hasRole = function() {
|
|
833
|
+
return jspb.Message.getField(this, 10) != null;
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* optional string references_id = 11;
|
|
839
|
+
* @return {string}
|
|
840
|
+
*/
|
|
841
|
+
proto.BaseJobPosition.prototype.getReferencesId = function() {
|
|
842
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* @param {string} value
|
|
848
|
+
* @return {!proto.BaseJobPosition} returns this
|
|
849
|
+
*/
|
|
850
|
+
proto.BaseJobPosition.prototype.setReferencesId = function(value) {
|
|
851
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
859
|
+
/**
|
|
860
|
+
* Creates an object representation of this proto.
|
|
861
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
862
|
+
* Optional fields that are not set will be set to undefined.
|
|
863
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
864
|
+
* For the list of reserved names please see:
|
|
865
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
866
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
867
|
+
* JSPB instance for transitional soy proto support:
|
|
868
|
+
* http://goto/soy-param-migration
|
|
869
|
+
* @return {!Object}
|
|
870
|
+
*/
|
|
871
|
+
proto.BaseJobPositionParent.prototype.toObject = function(opt_includeInstance) {
|
|
872
|
+
return proto.BaseJobPositionParent.toObject(opt_includeInstance, this);
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Static version of the {@see toObject} method.
|
|
878
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
879
|
+
* the JSPB instance for transitional soy proto support:
|
|
880
|
+
* http://goto/soy-param-migration
|
|
881
|
+
* @param {!proto.BaseJobPositionParent} msg The msg instance to transform.
|
|
882
|
+
* @return {!Object}
|
|
883
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
884
|
+
*/
|
|
885
|
+
proto.BaseJobPositionParent.toObject = function(includeInstance, msg) {
|
|
886
|
+
var f, obj = {
|
|
887
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
888
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
889
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
890
|
+
alias: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
891
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
892
|
+
jobPositions: (f = msg.getJobPositions()) && proto.BaseJobPosition.toObject(includeInstance, f),
|
|
893
|
+
organizations: (f = msg.getOrganizations()) && prisca_v1_core_organization_organization_pb.Organization.toObject(includeInstance, f),
|
|
894
|
+
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
895
|
+
description: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
896
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
|
|
897
|
+
role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f)
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
if (includeInstance) {
|
|
901
|
+
obj.$jspbMessageInstance = msg;
|
|
902
|
+
}
|
|
903
|
+
return obj;
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Deserializes binary data (in protobuf wire format).
|
|
910
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
911
|
+
* @return {!proto.BaseJobPositionParent}
|
|
912
|
+
*/
|
|
913
|
+
proto.BaseJobPositionParent.deserializeBinary = function(bytes) {
|
|
914
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
915
|
+
var msg = new proto.BaseJobPositionParent;
|
|
916
|
+
return proto.BaseJobPositionParent.deserializeBinaryFromReader(msg, reader);
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
922
|
+
* given reader into the given message object.
|
|
923
|
+
* @param {!proto.BaseJobPositionParent} msg The message object to deserialize into.
|
|
924
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
925
|
+
* @return {!proto.BaseJobPositionParent}
|
|
926
|
+
*/
|
|
927
|
+
proto.BaseJobPositionParent.deserializeBinaryFromReader = function(msg, reader) {
|
|
928
|
+
while (reader.nextField()) {
|
|
929
|
+
if (reader.isEndGroup()) {
|
|
930
|
+
break;
|
|
931
|
+
}
|
|
932
|
+
var field = reader.getFieldNumber();
|
|
933
|
+
switch (field) {
|
|
934
|
+
case 1:
|
|
935
|
+
var value = /** @type {string} */ (reader.readString());
|
|
936
|
+
msg.setReferencesId(value);
|
|
937
|
+
break;
|
|
938
|
+
case 2:
|
|
939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
940
|
+
msg.setCode(value);
|
|
941
|
+
break;
|
|
942
|
+
case 3:
|
|
943
|
+
var value = /** @type {string} */ (reader.readString());
|
|
944
|
+
msg.setName(value);
|
|
945
|
+
break;
|
|
946
|
+
case 4:
|
|
947
|
+
var value = /** @type {string} */ (reader.readString());
|
|
948
|
+
msg.setAlias(value);
|
|
949
|
+
break;
|
|
950
|
+
case 5:
|
|
951
|
+
var value = /** @type {string} */ (reader.readString());
|
|
952
|
+
msg.setCostCenterCode(value);
|
|
953
|
+
break;
|
|
954
|
+
case 6:
|
|
955
|
+
var value = new proto.BaseJobPosition;
|
|
956
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
957
|
+
msg.setJobPositions(value);
|
|
958
|
+
break;
|
|
959
|
+
case 7:
|
|
960
|
+
var value = new prisca_v1_core_organization_organization_pb.Organization;
|
|
961
|
+
reader.readMessage(value,prisca_v1_core_organization_organization_pb.Organization.deserializeBinaryFromReader);
|
|
962
|
+
msg.setOrganizations(value);
|
|
963
|
+
break;
|
|
964
|
+
case 8:
|
|
965
|
+
var value = new prisca_v1_core_work_location_work_location_pb.WorkLocation;
|
|
966
|
+
reader.readMessage(value,prisca_v1_core_work_location_work_location_pb.WorkLocation.deserializeBinaryFromReader);
|
|
967
|
+
msg.setWorkLocations(value);
|
|
968
|
+
break;
|
|
969
|
+
case 9:
|
|
970
|
+
var value = /** @type {string} */ (reader.readString());
|
|
971
|
+
msg.setDescription(value);
|
|
972
|
+
break;
|
|
973
|
+
case 10:
|
|
974
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
975
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
976
|
+
msg.setCompanies(value);
|
|
977
|
+
break;
|
|
978
|
+
case 11:
|
|
979
|
+
var value = new prisca_v1_core_users_role_users_role_pb.BaseUsersRole;
|
|
980
|
+
reader.readMessage(value,prisca_v1_core_users_role_users_role_pb.BaseUsersRole.deserializeBinaryFromReader);
|
|
981
|
+
msg.setRole(value);
|
|
982
|
+
break;
|
|
983
|
+
default:
|
|
984
|
+
reader.skipField();
|
|
985
|
+
break;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
return msg;
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
994
|
+
* @return {!Uint8Array}
|
|
995
|
+
*/
|
|
996
|
+
proto.BaseJobPositionParent.prototype.serializeBinary = function() {
|
|
997
|
+
var writer = new jspb.BinaryWriter();
|
|
998
|
+
proto.BaseJobPositionParent.serializeBinaryToWriter(this, writer);
|
|
999
|
+
return writer.getResultBuffer();
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1005
|
+
* format), writing to the given BinaryWriter.
|
|
1006
|
+
* @param {!proto.BaseJobPositionParent} message
|
|
1007
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1008
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1009
|
+
*/
|
|
1010
|
+
proto.BaseJobPositionParent.serializeBinaryToWriter = function(message, writer) {
|
|
1011
|
+
var f = undefined;
|
|
1012
|
+
f = message.getReferencesId();
|
|
1013
|
+
if (f.length > 0) {
|
|
1014
|
+
writer.writeString(
|
|
1015
|
+
1,
|
|
1016
|
+
f
|
|
1017
|
+
);
|
|
1018
|
+
}
|
|
1019
|
+
f = message.getCode();
|
|
1020
|
+
if (f.length > 0) {
|
|
1021
|
+
writer.writeString(
|
|
1022
|
+
2,
|
|
1023
|
+
f
|
|
1024
|
+
);
|
|
1025
|
+
}
|
|
1026
|
+
f = message.getName();
|
|
1027
|
+
if (f.length > 0) {
|
|
1028
|
+
writer.writeString(
|
|
1029
|
+
3,
|
|
1030
|
+
f
|
|
1031
|
+
);
|
|
1032
|
+
}
|
|
1033
|
+
f = message.getAlias();
|
|
1034
|
+
if (f.length > 0) {
|
|
1035
|
+
writer.writeString(
|
|
1036
|
+
4,
|
|
1037
|
+
f
|
|
1038
|
+
);
|
|
1039
|
+
}
|
|
1040
|
+
f = message.getCostCenterCode();
|
|
1041
|
+
if (f.length > 0) {
|
|
1042
|
+
writer.writeString(
|
|
1043
|
+
5,
|
|
1044
|
+
f
|
|
1045
|
+
);
|
|
1046
|
+
}
|
|
1047
|
+
f = message.getJobPositions();
|
|
1048
|
+
if (f != null) {
|
|
1049
|
+
writer.writeMessage(
|
|
1050
|
+
6,
|
|
1051
|
+
f,
|
|
1052
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
1053
|
+
);
|
|
1054
|
+
}
|
|
1055
|
+
f = message.getOrganizations();
|
|
1056
|
+
if (f != null) {
|
|
1057
|
+
writer.writeMessage(
|
|
1058
|
+
7,
|
|
1059
|
+
f,
|
|
1060
|
+
prisca_v1_core_organization_organization_pb.Organization.serializeBinaryToWriter
|
|
1061
|
+
);
|
|
1062
|
+
}
|
|
1063
|
+
f = message.getWorkLocations();
|
|
1064
|
+
if (f != null) {
|
|
1065
|
+
writer.writeMessage(
|
|
1066
|
+
8,
|
|
1067
|
+
f,
|
|
1068
|
+
prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
|
|
1069
|
+
);
|
|
1070
|
+
}
|
|
486
1071
|
f = message.getDescription();
|
|
487
1072
|
if (f.length > 0) {
|
|
488
1073
|
writer.writeString(
|
|
489
|
-
8,
|
|
490
|
-
f
|
|
491
|
-
);
|
|
492
|
-
}
|
|
493
|
-
f = message.getCompaniesRefId();
|
|
494
|
-
if (f !== 0) {
|
|
495
|
-
writer.writeInt64(
|
|
496
1074
|
9,
|
|
497
1075
|
f
|
|
498
1076
|
);
|
|
499
1077
|
}
|
|
500
|
-
f = message.
|
|
501
|
-
if (f
|
|
502
|
-
writer.
|
|
1078
|
+
f = message.getCompanies();
|
|
1079
|
+
if (f != null) {
|
|
1080
|
+
writer.writeMessage(
|
|
503
1081
|
10,
|
|
504
|
-
f
|
|
1082
|
+
f,
|
|
1083
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
1084
|
+
);
|
|
1085
|
+
}
|
|
1086
|
+
f = message.getRole();
|
|
1087
|
+
if (f != null) {
|
|
1088
|
+
writer.writeMessage(
|
|
1089
|
+
11,
|
|
1090
|
+
f,
|
|
1091
|
+
prisca_v1_core_users_role_users_role_pb.BaseUsersRole.serializeBinaryToWriter
|
|
505
1092
|
);
|
|
506
1093
|
}
|
|
507
1094
|
};
|
|
508
1095
|
|
|
509
1096
|
|
|
510
1097
|
/**
|
|
511
|
-
* optional string
|
|
1098
|
+
* optional string references_id = 1;
|
|
512
1099
|
* @return {string}
|
|
513
1100
|
*/
|
|
514
|
-
proto.
|
|
1101
|
+
proto.BaseJobPositionParent.prototype.getReferencesId = function() {
|
|
515
1102
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
516
1103
|
};
|
|
517
1104
|
|
|
518
1105
|
|
|
519
1106
|
/**
|
|
520
1107
|
* @param {string} value
|
|
521
|
-
* @return {!proto.
|
|
1108
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
522
1109
|
*/
|
|
523
|
-
proto.
|
|
1110
|
+
proto.BaseJobPositionParent.prototype.setReferencesId = function(value) {
|
|
524
1111
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
525
1112
|
};
|
|
526
1113
|
|
|
527
1114
|
|
|
528
1115
|
/**
|
|
529
|
-
* optional string
|
|
1116
|
+
* optional string code = 2;
|
|
530
1117
|
* @return {string}
|
|
531
1118
|
*/
|
|
532
|
-
proto.
|
|
1119
|
+
proto.BaseJobPositionParent.prototype.getCode = function() {
|
|
533
1120
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
534
1121
|
};
|
|
535
1122
|
|
|
536
1123
|
|
|
537
1124
|
/**
|
|
538
1125
|
* @param {string} value
|
|
539
|
-
* @return {!proto.
|
|
1126
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
540
1127
|
*/
|
|
541
|
-
proto.
|
|
1128
|
+
proto.BaseJobPositionParent.prototype.setCode = function(value) {
|
|
542
1129
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
543
1130
|
};
|
|
544
1131
|
|
|
545
1132
|
|
|
546
1133
|
/**
|
|
547
|
-
* optional string
|
|
1134
|
+
* optional string name = 3;
|
|
548
1135
|
* @return {string}
|
|
549
1136
|
*/
|
|
550
|
-
proto.
|
|
1137
|
+
proto.BaseJobPositionParent.prototype.getName = function() {
|
|
551
1138
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
552
1139
|
};
|
|
553
1140
|
|
|
554
1141
|
|
|
555
1142
|
/**
|
|
556
1143
|
* @param {string} value
|
|
557
|
-
* @return {!proto.
|
|
1144
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
558
1145
|
*/
|
|
559
|
-
proto.
|
|
1146
|
+
proto.BaseJobPositionParent.prototype.setName = function(value) {
|
|
560
1147
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
561
1148
|
};
|
|
562
1149
|
|
|
563
1150
|
|
|
564
1151
|
/**
|
|
565
|
-
* optional string
|
|
1152
|
+
* optional string alias = 4;
|
|
566
1153
|
* @return {string}
|
|
567
1154
|
*/
|
|
568
|
-
proto.
|
|
1155
|
+
proto.BaseJobPositionParent.prototype.getAlias = function() {
|
|
569
1156
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
570
1157
|
};
|
|
571
1158
|
|
|
572
1159
|
|
|
573
1160
|
/**
|
|
574
1161
|
* @param {string} value
|
|
575
|
-
* @return {!proto.
|
|
1162
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
576
1163
|
*/
|
|
577
|
-
proto.
|
|
1164
|
+
proto.BaseJobPositionParent.prototype.setAlias = function(value) {
|
|
578
1165
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
579
1166
|
};
|
|
580
1167
|
|
|
581
1168
|
|
|
582
1169
|
/**
|
|
583
|
-
* optional
|
|
584
|
-
* @return {
|
|
1170
|
+
* optional string cost_center_code = 5;
|
|
1171
|
+
* @return {string}
|
|
585
1172
|
*/
|
|
586
|
-
proto.
|
|
587
|
-
return /** @type {
|
|
1173
|
+
proto.BaseJobPositionParent.prototype.getCostCenterCode = function() {
|
|
1174
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
588
1175
|
};
|
|
589
1176
|
|
|
590
1177
|
|
|
591
1178
|
/**
|
|
592
|
-
* @param {
|
|
593
|
-
* @return {!proto.
|
|
1179
|
+
* @param {string} value
|
|
1180
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
594
1181
|
*/
|
|
595
|
-
proto.
|
|
596
|
-
return jspb.Message.
|
|
1182
|
+
proto.BaseJobPositionParent.prototype.setCostCenterCode = function(value) {
|
|
1183
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
597
1184
|
};
|
|
598
1185
|
|
|
599
1186
|
|
|
600
1187
|
/**
|
|
601
|
-
* optional
|
|
602
|
-
* @return {
|
|
1188
|
+
* optional BaseJobPosition job_positions = 6;
|
|
1189
|
+
* @return {?proto.BaseJobPosition}
|
|
603
1190
|
*/
|
|
604
|
-
proto.
|
|
605
|
-
return /** @type
|
|
1191
|
+
proto.BaseJobPositionParent.prototype.getJobPositions = function() {
|
|
1192
|
+
return /** @type{?proto.BaseJobPosition} */ (
|
|
1193
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPosition, 6));
|
|
606
1194
|
};
|
|
607
1195
|
|
|
608
1196
|
|
|
609
1197
|
/**
|
|
610
|
-
* @param {
|
|
611
|
-
* @return {!proto.
|
|
1198
|
+
* @param {?proto.BaseJobPosition|undefined} value
|
|
1199
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1200
|
+
*/
|
|
1201
|
+
proto.BaseJobPositionParent.prototype.setJobPositions = function(value) {
|
|
1202
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Clears the message field making it undefined.
|
|
1208
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
612
1209
|
*/
|
|
613
|
-
proto.
|
|
614
|
-
return
|
|
1210
|
+
proto.BaseJobPositionParent.prototype.clearJobPositions = function() {
|
|
1211
|
+
return this.setJobPositions(undefined);
|
|
615
1212
|
};
|
|
616
1213
|
|
|
617
1214
|
|
|
618
1215
|
/**
|
|
619
|
-
*
|
|
620
|
-
* @return {
|
|
1216
|
+
* Returns whether this field is set.
|
|
1217
|
+
* @return {boolean}
|
|
621
1218
|
*/
|
|
622
|
-
proto.
|
|
623
|
-
return
|
|
1219
|
+
proto.BaseJobPositionParent.prototype.hasJobPositions = function() {
|
|
1220
|
+
return jspb.Message.getField(this, 6) != null;
|
|
624
1221
|
};
|
|
625
1222
|
|
|
626
1223
|
|
|
627
1224
|
/**
|
|
628
|
-
*
|
|
629
|
-
* @return {
|
|
1225
|
+
* optional Organization organizations = 7;
|
|
1226
|
+
* @return {?proto.Organization}
|
|
630
1227
|
*/
|
|
631
|
-
proto.
|
|
632
|
-
return
|
|
1228
|
+
proto.BaseJobPositionParent.prototype.getOrganizations = function() {
|
|
1229
|
+
return /** @type{?proto.Organization} */ (
|
|
1230
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_organization_organization_pb.Organization, 7));
|
|
633
1231
|
};
|
|
634
1232
|
|
|
635
1233
|
|
|
636
1234
|
/**
|
|
637
|
-
*
|
|
1235
|
+
* @param {?proto.Organization|undefined} value
|
|
1236
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1237
|
+
*/
|
|
1238
|
+
proto.BaseJobPositionParent.prototype.setOrganizations = function(value) {
|
|
1239
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Clears the message field making it undefined.
|
|
1245
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1246
|
+
*/
|
|
1247
|
+
proto.BaseJobPositionParent.prototype.clearOrganizations = function() {
|
|
1248
|
+
return this.setOrganizations(undefined);
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Returns whether this field is set.
|
|
1254
|
+
* @return {boolean}
|
|
1255
|
+
*/
|
|
1256
|
+
proto.BaseJobPositionParent.prototype.hasOrganizations = function() {
|
|
1257
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* optional WorkLocation work_locations = 8;
|
|
1263
|
+
* @return {?proto.WorkLocation}
|
|
1264
|
+
*/
|
|
1265
|
+
proto.BaseJobPositionParent.prototype.getWorkLocations = function() {
|
|
1266
|
+
return /** @type{?proto.WorkLocation} */ (
|
|
1267
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 8));
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* @param {?proto.WorkLocation|undefined} value
|
|
1273
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1274
|
+
*/
|
|
1275
|
+
proto.BaseJobPositionParent.prototype.setWorkLocations = function(value) {
|
|
1276
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* Clears the message field making it undefined.
|
|
1282
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1283
|
+
*/
|
|
1284
|
+
proto.BaseJobPositionParent.prototype.clearWorkLocations = function() {
|
|
1285
|
+
return this.setWorkLocations(undefined);
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Returns whether this field is set.
|
|
1291
|
+
* @return {boolean}
|
|
1292
|
+
*/
|
|
1293
|
+
proto.BaseJobPositionParent.prototype.hasWorkLocations = function() {
|
|
1294
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* optional string description = 9;
|
|
638
1300
|
* @return {string}
|
|
639
1301
|
*/
|
|
640
|
-
proto.
|
|
641
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1302
|
+
proto.BaseJobPositionParent.prototype.getDescription = function() {
|
|
1303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
642
1304
|
};
|
|
643
1305
|
|
|
644
1306
|
|
|
645
1307
|
/**
|
|
646
1308
|
* @param {string} value
|
|
647
|
-
* @return {!proto.
|
|
1309
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
648
1310
|
*/
|
|
649
|
-
proto.
|
|
650
|
-
return jspb.Message.setProto3StringField(this,
|
|
1311
|
+
proto.BaseJobPositionParent.prototype.setDescription = function(value) {
|
|
1312
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
651
1313
|
};
|
|
652
1314
|
|
|
653
1315
|
|
|
654
1316
|
/**
|
|
655
|
-
* optional
|
|
656
|
-
* @return {
|
|
1317
|
+
* optional BaseCompanyParent companies = 10;
|
|
1318
|
+
* @return {?proto.BaseCompanyParent}
|
|
657
1319
|
*/
|
|
658
|
-
proto.
|
|
659
|
-
return /** @type
|
|
1320
|
+
proto.BaseJobPositionParent.prototype.getCompanies = function() {
|
|
1321
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
1322
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 10));
|
|
660
1323
|
};
|
|
661
1324
|
|
|
662
1325
|
|
|
663
1326
|
/**
|
|
664
|
-
* @param {
|
|
665
|
-
* @return {!proto.
|
|
1327
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
1328
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1329
|
+
*/
|
|
1330
|
+
proto.BaseJobPositionParent.prototype.setCompanies = function(value) {
|
|
1331
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Clears the message field making it undefined.
|
|
1337
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1338
|
+
*/
|
|
1339
|
+
proto.BaseJobPositionParent.prototype.clearCompanies = function() {
|
|
1340
|
+
return this.setCompanies(undefined);
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Returns whether this field is set.
|
|
1346
|
+
* @return {boolean}
|
|
666
1347
|
*/
|
|
667
|
-
proto.
|
|
668
|
-
return jspb.Message.
|
|
1348
|
+
proto.BaseJobPositionParent.prototype.hasCompanies = function() {
|
|
1349
|
+
return jspb.Message.getField(this, 10) != null;
|
|
669
1350
|
};
|
|
670
1351
|
|
|
671
1352
|
|
|
672
1353
|
/**
|
|
673
|
-
* optional
|
|
674
|
-
* @return {
|
|
1354
|
+
* optional BaseUsersRole role = 11;
|
|
1355
|
+
* @return {?proto.BaseUsersRole}
|
|
675
1356
|
*/
|
|
676
|
-
proto.
|
|
677
|
-
return /** @type
|
|
1357
|
+
proto.BaseJobPositionParent.prototype.getRole = function() {
|
|
1358
|
+
return /** @type{?proto.BaseUsersRole} */ (
|
|
1359
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_users_role_users_role_pb.BaseUsersRole, 11));
|
|
678
1360
|
};
|
|
679
1361
|
|
|
680
1362
|
|
|
681
1363
|
/**
|
|
682
|
-
* @param {
|
|
683
|
-
* @return {!proto.
|
|
1364
|
+
* @param {?proto.BaseUsersRole|undefined} value
|
|
1365
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1366
|
+
*/
|
|
1367
|
+
proto.BaseJobPositionParent.prototype.setRole = function(value) {
|
|
1368
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* Clears the message field making it undefined.
|
|
1374
|
+
* @return {!proto.BaseJobPositionParent} returns this
|
|
1375
|
+
*/
|
|
1376
|
+
proto.BaseJobPositionParent.prototype.clearRole = function() {
|
|
1377
|
+
return this.setRole(undefined);
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* Returns whether this field is set.
|
|
1383
|
+
* @return {boolean}
|
|
684
1384
|
*/
|
|
685
|
-
proto.
|
|
686
|
-
return jspb.Message.
|
|
1385
|
+
proto.BaseJobPositionParent.prototype.hasRole = function() {
|
|
1386
|
+
return jspb.Message.getField(this, 11) != null;
|
|
687
1387
|
};
|
|
688
1388
|
|
|
689
1389
|
|
|
@@ -719,17 +1419,16 @@ proto.JobPosition.prototype.toObject = function(opt_includeInstance) {
|
|
|
719
1419
|
*/
|
|
720
1420
|
proto.JobPosition.toObject = function(includeInstance, msg) {
|
|
721
1421
|
var f, obj = {
|
|
722
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
723
1422
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
724
1423
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
725
1424
|
alias: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
726
1425
|
costCenterCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
1426
|
+
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1427
|
+
organizationReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1428
|
+
workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
730
1429
|
description: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
731
|
-
|
|
732
|
-
|
|
1430
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1431
|
+
usersRoleReferencesId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
733
1432
|
};
|
|
734
1433
|
|
|
735
1434
|
if (includeInstance) {
|
|
@@ -766,10 +1465,6 @@ proto.JobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
766
1465
|
}
|
|
767
1466
|
var field = reader.getFieldNumber();
|
|
768
1467
|
switch (field) {
|
|
769
|
-
case 1:
|
|
770
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
771
|
-
msg.setId(value);
|
|
772
|
-
break;
|
|
773
1468
|
case 2:
|
|
774
1469
|
var value = /** @type {string} */ (reader.readString());
|
|
775
1470
|
msg.setCode(value);
|
|
@@ -787,28 +1482,28 @@ proto.JobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
787
1482
|
msg.setCostCenterCode(value);
|
|
788
1483
|
break;
|
|
789
1484
|
case 6:
|
|
790
|
-
var value = /** @type {
|
|
791
|
-
msg.
|
|
1485
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1486
|
+
msg.setParentReferencesId(value);
|
|
792
1487
|
break;
|
|
793
1488
|
case 7:
|
|
794
|
-
var value = /** @type {
|
|
795
|
-
msg.
|
|
1489
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1490
|
+
msg.setOrganizationReferencesId(value);
|
|
796
1491
|
break;
|
|
797
1492
|
case 8:
|
|
798
|
-
var value = /** @type {
|
|
799
|
-
msg.
|
|
1493
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1494
|
+
msg.setWorkLocationReferencesId(value);
|
|
800
1495
|
break;
|
|
801
1496
|
case 9:
|
|
802
1497
|
var value = /** @type {string} */ (reader.readString());
|
|
803
1498
|
msg.setDescription(value);
|
|
804
1499
|
break;
|
|
805
1500
|
case 10:
|
|
806
|
-
var value = /** @type {
|
|
807
|
-
msg.
|
|
1501
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1502
|
+
msg.setCompaniesReferencesId(value);
|
|
808
1503
|
break;
|
|
809
1504
|
case 11:
|
|
810
|
-
var value = /** @type {
|
|
811
|
-
msg.
|
|
1505
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1506
|
+
msg.setUsersRoleReferencesId(value);
|
|
812
1507
|
break;
|
|
813
1508
|
default:
|
|
814
1509
|
reader.skipField();
|
|
@@ -839,13 +1534,6 @@ proto.JobPosition.prototype.serializeBinary = function() {
|
|
|
839
1534
|
*/
|
|
840
1535
|
proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
841
1536
|
var f = undefined;
|
|
842
|
-
f = message.getId();
|
|
843
|
-
if (f !== 0) {
|
|
844
|
-
writer.writeInt64(
|
|
845
|
-
1,
|
|
846
|
-
f
|
|
847
|
-
);
|
|
848
|
-
}
|
|
849
1537
|
f = message.getCode();
|
|
850
1538
|
if (f.length > 0) {
|
|
851
1539
|
writer.writeString(
|
|
@@ -874,23 +1562,23 @@ proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
874
1562
|
f
|
|
875
1563
|
);
|
|
876
1564
|
}
|
|
877
|
-
f = message.
|
|
878
|
-
if (f
|
|
879
|
-
writer.
|
|
1565
|
+
f = message.getParentReferencesId();
|
|
1566
|
+
if (f.length > 0) {
|
|
1567
|
+
writer.writeString(
|
|
880
1568
|
6,
|
|
881
1569
|
f
|
|
882
1570
|
);
|
|
883
1571
|
}
|
|
884
|
-
f = message.
|
|
885
|
-
if (f
|
|
886
|
-
writer.
|
|
1572
|
+
f = message.getOrganizationReferencesId();
|
|
1573
|
+
if (f.length > 0) {
|
|
1574
|
+
writer.writeString(
|
|
887
1575
|
7,
|
|
888
1576
|
f
|
|
889
1577
|
);
|
|
890
1578
|
}
|
|
891
|
-
f = message.
|
|
892
|
-
if (f
|
|
893
|
-
writer.
|
|
1579
|
+
f = message.getWorkLocationReferencesId();
|
|
1580
|
+
if (f.length > 0) {
|
|
1581
|
+
writer.writeString(
|
|
894
1582
|
8,
|
|
895
1583
|
f
|
|
896
1584
|
);
|
|
@@ -902,16 +1590,16 @@ proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
902
1590
|
f
|
|
903
1591
|
);
|
|
904
1592
|
}
|
|
905
|
-
f = message.
|
|
906
|
-
if (f
|
|
907
|
-
writer.
|
|
1593
|
+
f = message.getCompaniesReferencesId();
|
|
1594
|
+
if (f.length > 0) {
|
|
1595
|
+
writer.writeString(
|
|
908
1596
|
10,
|
|
909
1597
|
f
|
|
910
1598
|
);
|
|
911
1599
|
}
|
|
912
|
-
f = message.
|
|
913
|
-
if (f
|
|
914
|
-
writer.
|
|
1600
|
+
f = message.getUsersRoleReferencesId();
|
|
1601
|
+
if (f.length > 0) {
|
|
1602
|
+
writer.writeString(
|
|
915
1603
|
11,
|
|
916
1604
|
f
|
|
917
1605
|
);
|
|
@@ -919,24 +1607,6 @@ proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
919
1607
|
};
|
|
920
1608
|
|
|
921
1609
|
|
|
922
|
-
/**
|
|
923
|
-
* optional int64 id = 1;
|
|
924
|
-
* @return {number}
|
|
925
|
-
*/
|
|
926
|
-
proto.JobPosition.prototype.getId = function() {
|
|
927
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* @param {number} value
|
|
933
|
-
* @return {!proto.JobPosition} returns this
|
|
934
|
-
*/
|
|
935
|
-
proto.JobPosition.prototype.setId = function(value) {
|
|
936
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
|
|
940
1610
|
/**
|
|
941
1611
|
* optional string code = 2;
|
|
942
1612
|
* @return {string}
|
|
@@ -1010,56 +1680,56 @@ proto.JobPosition.prototype.setCostCenterCode = function(value) {
|
|
|
1010
1680
|
|
|
1011
1681
|
|
|
1012
1682
|
/**
|
|
1013
|
-
* optional
|
|
1014
|
-
* @return {
|
|
1683
|
+
* optional string parent_references_id = 6;
|
|
1684
|
+
* @return {string}
|
|
1015
1685
|
*/
|
|
1016
|
-
proto.JobPosition.prototype.
|
|
1017
|
-
return /** @type {
|
|
1686
|
+
proto.JobPosition.prototype.getParentReferencesId = function() {
|
|
1687
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1018
1688
|
};
|
|
1019
1689
|
|
|
1020
1690
|
|
|
1021
1691
|
/**
|
|
1022
|
-
* @param {
|
|
1692
|
+
* @param {string} value
|
|
1023
1693
|
* @return {!proto.JobPosition} returns this
|
|
1024
1694
|
*/
|
|
1025
|
-
proto.JobPosition.prototype.
|
|
1026
|
-
return jspb.Message.
|
|
1695
|
+
proto.JobPosition.prototype.setParentReferencesId = function(value) {
|
|
1696
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1027
1697
|
};
|
|
1028
1698
|
|
|
1029
1699
|
|
|
1030
1700
|
/**
|
|
1031
|
-
* optional
|
|
1032
|
-
* @return {
|
|
1701
|
+
* optional string organization_references_id = 7;
|
|
1702
|
+
* @return {string}
|
|
1033
1703
|
*/
|
|
1034
|
-
proto.JobPosition.prototype.
|
|
1035
|
-
return /** @type {
|
|
1704
|
+
proto.JobPosition.prototype.getOrganizationReferencesId = function() {
|
|
1705
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1036
1706
|
};
|
|
1037
1707
|
|
|
1038
1708
|
|
|
1039
1709
|
/**
|
|
1040
|
-
* @param {
|
|
1710
|
+
* @param {string} value
|
|
1041
1711
|
* @return {!proto.JobPosition} returns this
|
|
1042
1712
|
*/
|
|
1043
|
-
proto.JobPosition.prototype.
|
|
1044
|
-
return jspb.Message.
|
|
1713
|
+
proto.JobPosition.prototype.setOrganizationReferencesId = function(value) {
|
|
1714
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1045
1715
|
};
|
|
1046
1716
|
|
|
1047
1717
|
|
|
1048
1718
|
/**
|
|
1049
|
-
* optional
|
|
1050
|
-
* @return {
|
|
1719
|
+
* optional string work_location_references_id = 8;
|
|
1720
|
+
* @return {string}
|
|
1051
1721
|
*/
|
|
1052
|
-
proto.JobPosition.prototype.
|
|
1053
|
-
return /** @type {
|
|
1722
|
+
proto.JobPosition.prototype.getWorkLocationReferencesId = function() {
|
|
1723
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1054
1724
|
};
|
|
1055
1725
|
|
|
1056
1726
|
|
|
1057
1727
|
/**
|
|
1058
|
-
* @param {
|
|
1728
|
+
* @param {string} value
|
|
1059
1729
|
* @return {!proto.JobPosition} returns this
|
|
1060
1730
|
*/
|
|
1061
|
-
proto.JobPosition.prototype.
|
|
1062
|
-
return jspb.Message.
|
|
1731
|
+
proto.JobPosition.prototype.setWorkLocationReferencesId = function(value) {
|
|
1732
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1063
1733
|
};
|
|
1064
1734
|
|
|
1065
1735
|
|
|
@@ -1082,38 +1752,38 @@ proto.JobPosition.prototype.setDescription = function(value) {
|
|
|
1082
1752
|
|
|
1083
1753
|
|
|
1084
1754
|
/**
|
|
1085
|
-
* optional
|
|
1086
|
-
* @return {
|
|
1755
|
+
* optional string companies_references_id = 10;
|
|
1756
|
+
* @return {string}
|
|
1087
1757
|
*/
|
|
1088
|
-
proto.JobPosition.prototype.
|
|
1089
|
-
return /** @type {
|
|
1758
|
+
proto.JobPosition.prototype.getCompaniesReferencesId = function() {
|
|
1759
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1090
1760
|
};
|
|
1091
1761
|
|
|
1092
1762
|
|
|
1093
1763
|
/**
|
|
1094
|
-
* @param {
|
|
1764
|
+
* @param {string} value
|
|
1095
1765
|
* @return {!proto.JobPosition} returns this
|
|
1096
1766
|
*/
|
|
1097
|
-
proto.JobPosition.prototype.
|
|
1098
|
-
return jspb.Message.
|
|
1767
|
+
proto.JobPosition.prototype.setCompaniesReferencesId = function(value) {
|
|
1768
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1099
1769
|
};
|
|
1100
1770
|
|
|
1101
1771
|
|
|
1102
1772
|
/**
|
|
1103
|
-
* optional
|
|
1104
|
-
* @return {
|
|
1773
|
+
* optional string users_role_references_id = 11;
|
|
1774
|
+
* @return {string}
|
|
1105
1775
|
*/
|
|
1106
|
-
proto.JobPosition.prototype.
|
|
1107
|
-
return /** @type {
|
|
1776
|
+
proto.JobPosition.prototype.getUsersRoleReferencesId = function() {
|
|
1777
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1108
1778
|
};
|
|
1109
1779
|
|
|
1110
1780
|
|
|
1111
1781
|
/**
|
|
1112
|
-
* @param {
|
|
1782
|
+
* @param {string} value
|
|
1113
1783
|
* @return {!proto.JobPosition} returns this
|
|
1114
1784
|
*/
|
|
1115
|
-
proto.JobPosition.prototype.
|
|
1116
|
-
return jspb.Message.
|
|
1785
|
+
proto.JobPosition.prototype.setUsersRoleReferencesId = function(value) {
|
|
1786
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1117
1787
|
};
|
|
1118
1788
|
|
|
1119
1789
|
|
|
@@ -1149,7 +1819,7 @@ proto.JobPositionGetByIdRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1149
1819
|
*/
|
|
1150
1820
|
proto.JobPositionGetByIdRequest.toObject = function(includeInstance, msg) {
|
|
1151
1821
|
var f, obj = {
|
|
1152
|
-
|
|
1822
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1153
1823
|
};
|
|
1154
1824
|
|
|
1155
1825
|
if (includeInstance) {
|
|
@@ -1187,8 +1857,8 @@ proto.JobPositionGetByIdRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1187
1857
|
var field = reader.getFieldNumber();
|
|
1188
1858
|
switch (field) {
|
|
1189
1859
|
case 1:
|
|
1190
|
-
var value = /** @type {
|
|
1191
|
-
msg.
|
|
1860
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1861
|
+
msg.setReferencesId(value);
|
|
1192
1862
|
break;
|
|
1193
1863
|
default:
|
|
1194
1864
|
reader.skipField();
|
|
@@ -1219,9 +1889,9 @@ proto.JobPositionGetByIdRequest.prototype.serializeBinary = function() {
|
|
|
1219
1889
|
*/
|
|
1220
1890
|
proto.JobPositionGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1221
1891
|
var f = undefined;
|
|
1222
|
-
f = message.
|
|
1223
|
-
if (f
|
|
1224
|
-
writer.
|
|
1892
|
+
f = message.getReferencesId();
|
|
1893
|
+
if (f.length > 0) {
|
|
1894
|
+
writer.writeString(
|
|
1225
1895
|
1,
|
|
1226
1896
|
f
|
|
1227
1897
|
);
|
|
@@ -1230,20 +1900,20 @@ proto.JobPositionGetByIdRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1230
1900
|
|
|
1231
1901
|
|
|
1232
1902
|
/**
|
|
1233
|
-
* optional
|
|
1234
|
-
* @return {
|
|
1903
|
+
* optional string references_id = 1;
|
|
1904
|
+
* @return {string}
|
|
1235
1905
|
*/
|
|
1236
|
-
proto.JobPositionGetByIdRequest.prototype.
|
|
1237
|
-
return /** @type {
|
|
1906
|
+
proto.JobPositionGetByIdRequest.prototype.getReferencesId = function() {
|
|
1907
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1238
1908
|
};
|
|
1239
1909
|
|
|
1240
1910
|
|
|
1241
1911
|
/**
|
|
1242
|
-
* @param {
|
|
1912
|
+
* @param {string} value
|
|
1243
1913
|
* @return {!proto.JobPositionGetByIdRequest} returns this
|
|
1244
1914
|
*/
|
|
1245
|
-
proto.JobPositionGetByIdRequest.prototype.
|
|
1246
|
-
return jspb.Message.
|
|
1915
|
+
proto.JobPositionGetByIdRequest.prototype.setReferencesId = function(value) {
|
|
1916
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1247
1917
|
};
|
|
1248
1918
|
|
|
1249
1919
|
|
|
@@ -1279,7 +1949,7 @@ proto.CreateJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1279
1949
|
*/
|
|
1280
1950
|
proto.CreateJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1281
1951
|
var f, obj = {
|
|
1282
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
1952
|
+
jobPosition: (f = msg.getJobPosition()) && proto.JobPosition.toObject(includeInstance, f)
|
|
1283
1953
|
};
|
|
1284
1954
|
|
|
1285
1955
|
if (includeInstance) {
|
|
@@ -1317,8 +1987,8 @@ proto.CreateJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1317
1987
|
var field = reader.getFieldNumber();
|
|
1318
1988
|
switch (field) {
|
|
1319
1989
|
case 1:
|
|
1320
|
-
var value = new proto.
|
|
1321
|
-
reader.readMessage(value,proto.
|
|
1990
|
+
var value = new proto.JobPosition;
|
|
1991
|
+
reader.readMessage(value,proto.JobPosition.deserializeBinaryFromReader);
|
|
1322
1992
|
msg.setJobPosition(value);
|
|
1323
1993
|
break;
|
|
1324
1994
|
default:
|
|
@@ -1355,24 +2025,24 @@ proto.CreateJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1355
2025
|
writer.writeMessage(
|
|
1356
2026
|
1,
|
|
1357
2027
|
f,
|
|
1358
|
-
proto.
|
|
2028
|
+
proto.JobPosition.serializeBinaryToWriter
|
|
1359
2029
|
);
|
|
1360
2030
|
}
|
|
1361
2031
|
};
|
|
1362
2032
|
|
|
1363
2033
|
|
|
1364
2034
|
/**
|
|
1365
|
-
* optional
|
|
1366
|
-
* @return {?proto.
|
|
2035
|
+
* optional JobPosition job_position = 1;
|
|
2036
|
+
* @return {?proto.JobPosition}
|
|
1367
2037
|
*/
|
|
1368
2038
|
proto.CreateJobPositionRequest.prototype.getJobPosition = function() {
|
|
1369
|
-
return /** @type{?proto.
|
|
1370
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2039
|
+
return /** @type{?proto.JobPosition} */ (
|
|
2040
|
+
jspb.Message.getWrapperField(this, proto.JobPosition, 1));
|
|
1371
2041
|
};
|
|
1372
2042
|
|
|
1373
2043
|
|
|
1374
2044
|
/**
|
|
1375
|
-
* @param {?proto.
|
|
2045
|
+
* @param {?proto.JobPosition|undefined} value
|
|
1376
2046
|
* @return {!proto.CreateJobPositionRequest} returns this
|
|
1377
2047
|
*/
|
|
1378
2048
|
proto.CreateJobPositionRequest.prototype.setJobPosition = function(value) {
|
|
@@ -1430,8 +2100,8 @@ proto.UpdateJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1430
2100
|
*/
|
|
1431
2101
|
proto.UpdateJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1432
2102
|
var f, obj = {
|
|
1433
|
-
|
|
1434
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
2103
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2104
|
+
jobPosition: (f = msg.getJobPosition()) && proto.JobPosition.toObject(includeInstance, f)
|
|
1435
2105
|
};
|
|
1436
2106
|
|
|
1437
2107
|
if (includeInstance) {
|
|
@@ -1469,12 +2139,12 @@ proto.UpdateJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1469
2139
|
var field = reader.getFieldNumber();
|
|
1470
2140
|
switch (field) {
|
|
1471
2141
|
case 1:
|
|
1472
|
-
var value = /** @type {
|
|
1473
|
-
msg.
|
|
2142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2143
|
+
msg.setReferencesId(value);
|
|
1474
2144
|
break;
|
|
1475
2145
|
case 2:
|
|
1476
|
-
var value = new proto.
|
|
1477
|
-
reader.readMessage(value,proto.
|
|
2146
|
+
var value = new proto.JobPosition;
|
|
2147
|
+
reader.readMessage(value,proto.JobPosition.deserializeBinaryFromReader);
|
|
1478
2148
|
msg.setJobPosition(value);
|
|
1479
2149
|
break;
|
|
1480
2150
|
default:
|
|
@@ -1506,9 +2176,9 @@ proto.UpdateJobPositionRequest.prototype.serializeBinary = function() {
|
|
|
1506
2176
|
*/
|
|
1507
2177
|
proto.UpdateJobPositionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1508
2178
|
var f = undefined;
|
|
1509
|
-
f = message.
|
|
1510
|
-
if (f
|
|
1511
|
-
writer.
|
|
2179
|
+
f = message.getReferencesId();
|
|
2180
|
+
if (f.length > 0) {
|
|
2181
|
+
writer.writeString(
|
|
1512
2182
|
1,
|
|
1513
2183
|
f
|
|
1514
2184
|
);
|
|
@@ -1518,42 +2188,42 @@ proto.UpdateJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1518
2188
|
writer.writeMessage(
|
|
1519
2189
|
2,
|
|
1520
2190
|
f,
|
|
1521
|
-
proto.
|
|
2191
|
+
proto.JobPosition.serializeBinaryToWriter
|
|
1522
2192
|
);
|
|
1523
2193
|
}
|
|
1524
2194
|
};
|
|
1525
2195
|
|
|
1526
2196
|
|
|
1527
2197
|
/**
|
|
1528
|
-
* optional
|
|
1529
|
-
* @return {
|
|
2198
|
+
* optional string references_id = 1;
|
|
2199
|
+
* @return {string}
|
|
1530
2200
|
*/
|
|
1531
|
-
proto.UpdateJobPositionRequest.prototype.
|
|
1532
|
-
return /** @type {
|
|
2201
|
+
proto.UpdateJobPositionRequest.prototype.getReferencesId = function() {
|
|
2202
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1533
2203
|
};
|
|
1534
2204
|
|
|
1535
2205
|
|
|
1536
2206
|
/**
|
|
1537
|
-
* @param {
|
|
2207
|
+
* @param {string} value
|
|
1538
2208
|
* @return {!proto.UpdateJobPositionRequest} returns this
|
|
1539
2209
|
*/
|
|
1540
|
-
proto.UpdateJobPositionRequest.prototype.
|
|
1541
|
-
return jspb.Message.
|
|
2210
|
+
proto.UpdateJobPositionRequest.prototype.setReferencesId = function(value) {
|
|
2211
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1542
2212
|
};
|
|
1543
2213
|
|
|
1544
2214
|
|
|
1545
2215
|
/**
|
|
1546
|
-
* optional
|
|
1547
|
-
* @return {?proto.
|
|
2216
|
+
* optional JobPosition job_position = 2;
|
|
2217
|
+
* @return {?proto.JobPosition}
|
|
1548
2218
|
*/
|
|
1549
2219
|
proto.UpdateJobPositionRequest.prototype.getJobPosition = function() {
|
|
1550
|
-
return /** @type{?proto.
|
|
1551
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2220
|
+
return /** @type{?proto.JobPosition} */ (
|
|
2221
|
+
jspb.Message.getWrapperField(this, proto.JobPosition, 2));
|
|
1552
2222
|
};
|
|
1553
2223
|
|
|
1554
2224
|
|
|
1555
2225
|
/**
|
|
1556
|
-
* @param {?proto.
|
|
2226
|
+
* @param {?proto.JobPosition|undefined} value
|
|
1557
2227
|
* @return {!proto.UpdateJobPositionRequest} returns this
|
|
1558
2228
|
*/
|
|
1559
2229
|
proto.UpdateJobPositionRequest.prototype.setJobPosition = function(value) {
|
|
@@ -1611,7 +2281,7 @@ proto.DeleteJobPositionRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1611
2281
|
*/
|
|
1612
2282
|
proto.DeleteJobPositionRequest.toObject = function(includeInstance, msg) {
|
|
1613
2283
|
var f, obj = {
|
|
1614
|
-
|
|
2284
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1615
2285
|
};
|
|
1616
2286
|
|
|
1617
2287
|
if (includeInstance) {
|
|
@@ -1649,8 +2319,8 @@ proto.DeleteJobPositionRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1649
2319
|
var field = reader.getFieldNumber();
|
|
1650
2320
|
switch (field) {
|
|
1651
2321
|
case 1:
|
|
1652
|
-
var value = /** @type {
|
|
1653
|
-
msg.
|
|
2322
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2323
|
+
msg.setReferencesId(value);
|
|
1654
2324
|
break;
|
|
1655
2325
|
default:
|
|
1656
2326
|
reader.skipField();
|
|
@@ -1681,9 +2351,9 @@ proto.DeleteJobPositionRequest.prototype.serializeBinary = function() {
|
|
|
1681
2351
|
*/
|
|
1682
2352
|
proto.DeleteJobPositionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1683
2353
|
var f = undefined;
|
|
1684
|
-
f = message.
|
|
1685
|
-
if (f
|
|
1686
|
-
writer.
|
|
2354
|
+
f = message.getReferencesId();
|
|
2355
|
+
if (f.length > 0) {
|
|
2356
|
+
writer.writeString(
|
|
1687
2357
|
1,
|
|
1688
2358
|
f
|
|
1689
2359
|
);
|
|
@@ -1692,20 +2362,20 @@ proto.DeleteJobPositionRequest.serializeBinaryToWriter = function(message, write
|
|
|
1692
2362
|
|
|
1693
2363
|
|
|
1694
2364
|
/**
|
|
1695
|
-
* optional
|
|
1696
|
-
* @return {
|
|
2365
|
+
* optional string references_id = 1;
|
|
2366
|
+
* @return {string}
|
|
1697
2367
|
*/
|
|
1698
|
-
proto.DeleteJobPositionRequest.prototype.
|
|
1699
|
-
return /** @type {
|
|
2368
|
+
proto.DeleteJobPositionRequest.prototype.getReferencesId = function() {
|
|
2369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1700
2370
|
};
|
|
1701
2371
|
|
|
1702
2372
|
|
|
1703
2373
|
/**
|
|
1704
|
-
* @param {
|
|
2374
|
+
* @param {string} value
|
|
1705
2375
|
* @return {!proto.DeleteJobPositionRequest} returns this
|
|
1706
2376
|
*/
|
|
1707
|
-
proto.DeleteJobPositionRequest.prototype.
|
|
1708
|
-
return jspb.Message.
|
|
2377
|
+
proto.DeleteJobPositionRequest.prototype.setReferencesId = function(value) {
|
|
2378
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1709
2379
|
};
|
|
1710
2380
|
|
|
1711
2381
|
|
|
@@ -1741,7 +2411,7 @@ proto.DeleteJobPositionResponse.prototype.toObject = function(opt_includeInstanc
|
|
|
1741
2411
|
*/
|
|
1742
2412
|
proto.DeleteJobPositionResponse.toObject = function(includeInstance, msg) {
|
|
1743
2413
|
var f, obj = {
|
|
1744
|
-
|
|
2414
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1745
2415
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1746
2416
|
};
|
|
1747
2417
|
|
|
@@ -1780,8 +2450,8 @@ proto.DeleteJobPositionResponse.deserializeBinaryFromReader = function(msg, read
|
|
|
1780
2450
|
var field = reader.getFieldNumber();
|
|
1781
2451
|
switch (field) {
|
|
1782
2452
|
case 1:
|
|
1783
|
-
var value = /** @type {
|
|
1784
|
-
msg.
|
|
2453
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2454
|
+
msg.setReferencesId(value);
|
|
1785
2455
|
break;
|
|
1786
2456
|
case 2:
|
|
1787
2457
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
@@ -1817,9 +2487,9 @@ proto.DeleteJobPositionResponse.prototype.serializeBinary = function() {
|
|
|
1817
2487
|
*/
|
|
1818
2488
|
proto.DeleteJobPositionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1819
2489
|
var f = undefined;
|
|
1820
|
-
f = message.
|
|
1821
|
-
if (f
|
|
1822
|
-
writer.
|
|
2490
|
+
f = message.getReferencesId();
|
|
2491
|
+
if (f.length > 0) {
|
|
2492
|
+
writer.writeString(
|
|
1823
2493
|
1,
|
|
1824
2494
|
f
|
|
1825
2495
|
);
|
|
@@ -1836,20 +2506,20 @@ proto.DeleteJobPositionResponse.serializeBinaryToWriter = function(message, writ
|
|
|
1836
2506
|
|
|
1837
2507
|
|
|
1838
2508
|
/**
|
|
1839
|
-
* optional
|
|
1840
|
-
* @return {
|
|
2509
|
+
* optional string references_id = 1;
|
|
2510
|
+
* @return {string}
|
|
1841
2511
|
*/
|
|
1842
|
-
proto.DeleteJobPositionResponse.prototype.
|
|
1843
|
-
return /** @type {
|
|
2512
|
+
proto.DeleteJobPositionResponse.prototype.getReferencesId = function() {
|
|
2513
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1844
2514
|
};
|
|
1845
2515
|
|
|
1846
2516
|
|
|
1847
2517
|
/**
|
|
1848
|
-
* @param {
|
|
2518
|
+
* @param {string} value
|
|
1849
2519
|
* @return {!proto.DeleteJobPositionResponse} returns this
|
|
1850
2520
|
*/
|
|
1851
|
-
proto.DeleteJobPositionResponse.prototype.
|
|
1852
|
-
return jspb.Message.
|
|
2521
|
+
proto.DeleteJobPositionResponse.prototype.setReferencesId = function(value) {
|
|
2522
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1853
2523
|
};
|
|
1854
2524
|
|
|
1855
2525
|
|
|
@@ -2334,7 +3004,7 @@ proto.GetListJobPositionResponse.prototype.toObject = function(opt_includeInstan
|
|
|
2334
3004
|
proto.GetListJobPositionResponse.toObject = function(includeInstance, msg) {
|
|
2335
3005
|
var f, obj = {
|
|
2336
3006
|
jobPositionList: jspb.Message.toObjectList(msg.getJobPositionList(),
|
|
2337
|
-
proto.
|
|
3007
|
+
proto.BaseJobPosition.toObject, includeInstance),
|
|
2338
3008
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2339
3009
|
};
|
|
2340
3010
|
|
|
@@ -2373,8 +3043,8 @@ proto.GetListJobPositionResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
2373
3043
|
var field = reader.getFieldNumber();
|
|
2374
3044
|
switch (field) {
|
|
2375
3045
|
case 1:
|
|
2376
|
-
var value = new proto.
|
|
2377
|
-
reader.readMessage(value,proto.
|
|
3046
|
+
var value = new proto.BaseJobPosition;
|
|
3047
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
2378
3048
|
msg.addJobPosition(value);
|
|
2379
3049
|
break;
|
|
2380
3050
|
case 2:
|
|
@@ -2416,7 +3086,7 @@ proto.GetListJobPositionResponse.serializeBinaryToWriter = function(message, wri
|
|
|
2416
3086
|
writer.writeRepeatedMessage(
|
|
2417
3087
|
1,
|
|
2418
3088
|
f,
|
|
2419
|
-
proto.
|
|
3089
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
2420
3090
|
);
|
|
2421
3091
|
}
|
|
2422
3092
|
f = message.getMeta();
|
|
@@ -2431,17 +3101,17 @@ proto.GetListJobPositionResponse.serializeBinaryToWriter = function(message, wri
|
|
|
2431
3101
|
|
|
2432
3102
|
|
|
2433
3103
|
/**
|
|
2434
|
-
* repeated
|
|
2435
|
-
* @return {!Array<!proto.
|
|
3104
|
+
* repeated BaseJobPosition job_position = 1;
|
|
3105
|
+
* @return {!Array<!proto.BaseJobPosition>}
|
|
2436
3106
|
*/
|
|
2437
3107
|
proto.GetListJobPositionResponse.prototype.getJobPositionList = function() {
|
|
2438
|
-
return /** @type{!Array<!proto.
|
|
2439
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
3108
|
+
return /** @type{!Array<!proto.BaseJobPosition>} */ (
|
|
3109
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseJobPosition, 1));
|
|
2440
3110
|
};
|
|
2441
3111
|
|
|
2442
3112
|
|
|
2443
3113
|
/**
|
|
2444
|
-
* @param {!Array<!proto.
|
|
3114
|
+
* @param {!Array<!proto.BaseJobPosition>} value
|
|
2445
3115
|
* @return {!proto.GetListJobPositionResponse} returns this
|
|
2446
3116
|
*/
|
|
2447
3117
|
proto.GetListJobPositionResponse.prototype.setJobPositionList = function(value) {
|
|
@@ -2450,12 +3120,12 @@ proto.GetListJobPositionResponse.prototype.setJobPositionList = function(value)
|
|
|
2450
3120
|
|
|
2451
3121
|
|
|
2452
3122
|
/**
|
|
2453
|
-
* @param {!proto.
|
|
3123
|
+
* @param {!proto.BaseJobPosition=} opt_value
|
|
2454
3124
|
* @param {number=} opt_index
|
|
2455
|
-
* @return {!proto.
|
|
3125
|
+
* @return {!proto.BaseJobPosition}
|
|
2456
3126
|
*/
|
|
2457
3127
|
proto.GetListJobPositionResponse.prototype.addJobPosition = function(opt_value, opt_index) {
|
|
2458
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
3128
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseJobPosition, opt_index);
|
|
2459
3129
|
};
|
|
2460
3130
|
|
|
2461
3131
|
|
|
@@ -2739,7 +3409,7 @@ proto.JobPositionGetByIdResponse.prototype.toObject = function(opt_includeInstan
|
|
|
2739
3409
|
*/
|
|
2740
3410
|
proto.JobPositionGetByIdResponse.toObject = function(includeInstance, msg) {
|
|
2741
3411
|
var f, obj = {
|
|
2742
|
-
jobPosition: (f = msg.getJobPosition()) && proto.
|
|
3412
|
+
jobPosition: (f = msg.getJobPosition()) && proto.BaseJobPosition.toObject(includeInstance, f),
|
|
2743
3413
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2744
3414
|
};
|
|
2745
3415
|
|
|
@@ -2778,8 +3448,8 @@ proto.JobPositionGetByIdResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
2778
3448
|
var field = reader.getFieldNumber();
|
|
2779
3449
|
switch (field) {
|
|
2780
3450
|
case 1:
|
|
2781
|
-
var value = new proto.
|
|
2782
|
-
reader.readMessage(value,proto.
|
|
3451
|
+
var value = new proto.BaseJobPosition;
|
|
3452
|
+
reader.readMessage(value,proto.BaseJobPosition.deserializeBinaryFromReader);
|
|
2783
3453
|
msg.setJobPosition(value);
|
|
2784
3454
|
break;
|
|
2785
3455
|
case 2:
|
|
@@ -2821,7 +3491,7 @@ proto.JobPositionGetByIdResponse.serializeBinaryToWriter = function(message, wri
|
|
|
2821
3491
|
writer.writeMessage(
|
|
2822
3492
|
1,
|
|
2823
3493
|
f,
|
|
2824
|
-
proto.
|
|
3494
|
+
proto.BaseJobPosition.serializeBinaryToWriter
|
|
2825
3495
|
);
|
|
2826
3496
|
}
|
|
2827
3497
|
f = message.getMeta();
|
|
@@ -2836,17 +3506,17 @@ proto.JobPositionGetByIdResponse.serializeBinaryToWriter = function(message, wri
|
|
|
2836
3506
|
|
|
2837
3507
|
|
|
2838
3508
|
/**
|
|
2839
|
-
* optional
|
|
2840
|
-
* @return {?proto.
|
|
3509
|
+
* optional BaseJobPosition job_position = 1;
|
|
3510
|
+
* @return {?proto.BaseJobPosition}
|
|
2841
3511
|
*/
|
|
2842
3512
|
proto.JobPositionGetByIdResponse.prototype.getJobPosition = function() {
|
|
2843
|
-
return /** @type{?proto.
|
|
2844
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3513
|
+
return /** @type{?proto.BaseJobPosition} */ (
|
|
3514
|
+
jspb.Message.getWrapperField(this, proto.BaseJobPosition, 1));
|
|
2845
3515
|
};
|
|
2846
3516
|
|
|
2847
3517
|
|
|
2848
3518
|
/**
|
|
2849
|
-
* @param {?proto.
|
|
3519
|
+
* @param {?proto.BaseJobPosition|undefined} value
|
|
2850
3520
|
* @return {!proto.JobPositionGetByIdResponse} returns this
|
|
2851
3521
|
*/
|
|
2852
3522
|
proto.JobPositionGetByIdResponse.prototype.setJobPosition = function(value) {
|