@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
|
@@ -297,29 +297,29 @@ proto.WorkLocation.prototype.toObject = function(opt_includeInstance) {
|
|
|
297
297
|
*/
|
|
298
298
|
proto.WorkLocation.toObject = function(includeInstance, msg) {
|
|
299
299
|
var f, obj = {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
300
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
301
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
302
|
+
locationName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
303
|
+
alias: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
304
|
+
address: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
305
|
+
letterAddressLine1: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
306
|
+
letterAddressLine2: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
307
|
+
letterAddressLine3: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
308
|
+
phoneNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
309
|
+
email: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
310
|
+
npwp: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
311
|
+
npwpAddress: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
312
|
+
latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
313
|
+
longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
314
|
+
radius: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
315
|
+
countryReferencesId: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
316
|
+
regionReferencesId: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
317
|
+
cityReferencesId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
318
|
+
districtReferencesId: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
319
|
+
provinceReferencesId: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
320
|
+
areaReferencesId: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
321
|
+
taxOfficeLocation: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
322
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
323
323
|
};
|
|
324
324
|
|
|
325
325
|
if (includeInstance) {
|
|
@@ -357,96 +357,96 @@ proto.WorkLocation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
357
357
|
var field = reader.getFieldNumber();
|
|
358
358
|
switch (field) {
|
|
359
359
|
case 1:
|
|
360
|
-
var value = /** @type {
|
|
361
|
-
msg.
|
|
360
|
+
var value = /** @type {string} */ (reader.readString());
|
|
361
|
+
msg.setCompaniesReferencesId(value);
|
|
362
362
|
break;
|
|
363
363
|
case 2:
|
|
364
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
365
|
-
msg.setCompaniesRefId(value);
|
|
366
|
-
break;
|
|
367
|
-
case 3:
|
|
368
364
|
var value = /** @type {string} */ (reader.readString());
|
|
369
365
|
msg.setCode(value);
|
|
370
366
|
break;
|
|
371
|
-
case
|
|
367
|
+
case 3:
|
|
372
368
|
var value = /** @type {string} */ (reader.readString());
|
|
373
369
|
msg.setLocationName(value);
|
|
374
370
|
break;
|
|
375
|
-
case
|
|
371
|
+
case 4:
|
|
376
372
|
var value = /** @type {string} */ (reader.readString());
|
|
377
373
|
msg.setAlias(value);
|
|
378
374
|
break;
|
|
379
|
-
case
|
|
375
|
+
case 5:
|
|
380
376
|
var value = /** @type {string} */ (reader.readString());
|
|
381
377
|
msg.setAddress(value);
|
|
382
378
|
break;
|
|
383
|
-
case
|
|
379
|
+
case 6:
|
|
384
380
|
var value = /** @type {string} */ (reader.readString());
|
|
385
381
|
msg.setLetterAddressLine1(value);
|
|
386
382
|
break;
|
|
387
|
-
case
|
|
383
|
+
case 7:
|
|
388
384
|
var value = /** @type {string} */ (reader.readString());
|
|
389
385
|
msg.setLetterAddressLine2(value);
|
|
390
386
|
break;
|
|
391
|
-
case
|
|
387
|
+
case 8:
|
|
392
388
|
var value = /** @type {string} */ (reader.readString());
|
|
393
389
|
msg.setLetterAddressLine3(value);
|
|
394
390
|
break;
|
|
395
|
-
case
|
|
391
|
+
case 9:
|
|
396
392
|
var value = /** @type {string} */ (reader.readString());
|
|
397
393
|
msg.setPhoneNumber(value);
|
|
398
394
|
break;
|
|
399
|
-
case
|
|
395
|
+
case 10:
|
|
400
396
|
var value = /** @type {string} */ (reader.readString());
|
|
401
397
|
msg.setEmail(value);
|
|
402
398
|
break;
|
|
403
|
-
case
|
|
399
|
+
case 11:
|
|
404
400
|
var value = /** @type {string} */ (reader.readString());
|
|
405
401
|
msg.setNpwp(value);
|
|
406
402
|
break;
|
|
407
|
-
case
|
|
403
|
+
case 12:
|
|
408
404
|
var value = /** @type {string} */ (reader.readString());
|
|
409
405
|
msg.setNpwpAddress(value);
|
|
410
406
|
break;
|
|
411
|
-
case
|
|
407
|
+
case 13:
|
|
412
408
|
var value = /** @type {number} */ (reader.readDouble());
|
|
413
409
|
msg.setLatitude(value);
|
|
414
410
|
break;
|
|
415
|
-
case
|
|
411
|
+
case 14:
|
|
416
412
|
var value = /** @type {number} */ (reader.readDouble());
|
|
417
413
|
msg.setLongitude(value);
|
|
418
414
|
break;
|
|
419
|
-
case
|
|
415
|
+
case 15:
|
|
420
416
|
var value = /** @type {number} */ (reader.readInt64());
|
|
421
417
|
msg.setRadius(value);
|
|
422
418
|
break;
|
|
419
|
+
case 16:
|
|
420
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
421
|
+
msg.setCountryReferencesId(value);
|
|
422
|
+
break;
|
|
423
423
|
case 17:
|
|
424
424
|
var value = /** @type {number} */ (reader.readInt64());
|
|
425
|
-
msg.
|
|
425
|
+
msg.setRegionReferencesId(value);
|
|
426
426
|
break;
|
|
427
427
|
case 18:
|
|
428
428
|
var value = /** @type {number} */ (reader.readInt64());
|
|
429
|
-
msg.
|
|
429
|
+
msg.setCityReferencesId(value);
|
|
430
430
|
break;
|
|
431
431
|
case 19:
|
|
432
432
|
var value = /** @type {number} */ (reader.readInt64());
|
|
433
|
-
msg.
|
|
433
|
+
msg.setDistrictReferencesId(value);
|
|
434
434
|
break;
|
|
435
435
|
case 20:
|
|
436
436
|
var value = /** @type {number} */ (reader.readInt64());
|
|
437
|
-
msg.
|
|
437
|
+
msg.setProvinceReferencesId(value);
|
|
438
438
|
break;
|
|
439
439
|
case 21:
|
|
440
440
|
var value = /** @type {number} */ (reader.readInt64());
|
|
441
|
-
msg.
|
|
441
|
+
msg.setAreaReferencesId(value);
|
|
442
442
|
break;
|
|
443
443
|
case 22:
|
|
444
|
-
var value = /** @type {
|
|
445
|
-
msg.
|
|
444
|
+
var value = /** @type {string} */ (reader.readString());
|
|
445
|
+
msg.setTaxOfficeLocation(value);
|
|
446
446
|
break;
|
|
447
447
|
case 23:
|
|
448
448
|
var value = /** @type {string} */ (reader.readString());
|
|
449
|
-
msg.
|
|
449
|
+
msg.setReferencesId(value);
|
|
450
450
|
break;
|
|
451
451
|
default:
|
|
452
452
|
reader.skipField();
|
|
@@ -477,161 +477,161 @@ proto.WorkLocation.prototype.serializeBinary = function() {
|
|
|
477
477
|
*/
|
|
478
478
|
proto.WorkLocation.serializeBinaryToWriter = function(message, writer) {
|
|
479
479
|
var f = undefined;
|
|
480
|
-
f = message.
|
|
481
|
-
if (f
|
|
482
|
-
writer.
|
|
480
|
+
f = message.getCompaniesReferencesId();
|
|
481
|
+
if (f.length > 0) {
|
|
482
|
+
writer.writeString(
|
|
483
483
|
1,
|
|
484
484
|
f
|
|
485
485
|
);
|
|
486
486
|
}
|
|
487
|
-
f = message.getCompaniesRefId();
|
|
488
|
-
if (f !== 0) {
|
|
489
|
-
writer.writeInt64(
|
|
490
|
-
2,
|
|
491
|
-
f
|
|
492
|
-
);
|
|
493
|
-
}
|
|
494
487
|
f = message.getCode();
|
|
495
488
|
if (f.length > 0) {
|
|
496
489
|
writer.writeString(
|
|
497
|
-
|
|
490
|
+
2,
|
|
498
491
|
f
|
|
499
492
|
);
|
|
500
493
|
}
|
|
501
494
|
f = message.getLocationName();
|
|
502
495
|
if (f.length > 0) {
|
|
503
496
|
writer.writeString(
|
|
504
|
-
|
|
497
|
+
3,
|
|
505
498
|
f
|
|
506
499
|
);
|
|
507
500
|
}
|
|
508
501
|
f = message.getAlias();
|
|
509
502
|
if (f.length > 0) {
|
|
510
503
|
writer.writeString(
|
|
511
|
-
|
|
504
|
+
4,
|
|
512
505
|
f
|
|
513
506
|
);
|
|
514
507
|
}
|
|
515
508
|
f = message.getAddress();
|
|
516
509
|
if (f.length > 0) {
|
|
517
510
|
writer.writeString(
|
|
518
|
-
|
|
511
|
+
5,
|
|
519
512
|
f
|
|
520
513
|
);
|
|
521
514
|
}
|
|
522
515
|
f = message.getLetterAddressLine1();
|
|
523
516
|
if (f.length > 0) {
|
|
524
517
|
writer.writeString(
|
|
525
|
-
|
|
518
|
+
6,
|
|
526
519
|
f
|
|
527
520
|
);
|
|
528
521
|
}
|
|
529
522
|
f = message.getLetterAddressLine2();
|
|
530
523
|
if (f.length > 0) {
|
|
531
524
|
writer.writeString(
|
|
532
|
-
|
|
525
|
+
7,
|
|
533
526
|
f
|
|
534
527
|
);
|
|
535
528
|
}
|
|
536
529
|
f = message.getLetterAddressLine3();
|
|
537
530
|
if (f.length > 0) {
|
|
538
531
|
writer.writeString(
|
|
539
|
-
|
|
532
|
+
8,
|
|
540
533
|
f
|
|
541
534
|
);
|
|
542
535
|
}
|
|
543
536
|
f = message.getPhoneNumber();
|
|
544
537
|
if (f.length > 0) {
|
|
545
538
|
writer.writeString(
|
|
546
|
-
|
|
539
|
+
9,
|
|
547
540
|
f
|
|
548
541
|
);
|
|
549
542
|
}
|
|
550
543
|
f = message.getEmail();
|
|
551
544
|
if (f.length > 0) {
|
|
552
545
|
writer.writeString(
|
|
553
|
-
|
|
546
|
+
10,
|
|
554
547
|
f
|
|
555
548
|
);
|
|
556
549
|
}
|
|
557
550
|
f = message.getNpwp();
|
|
558
551
|
if (f.length > 0) {
|
|
559
552
|
writer.writeString(
|
|
560
|
-
|
|
553
|
+
11,
|
|
561
554
|
f
|
|
562
555
|
);
|
|
563
556
|
}
|
|
564
557
|
f = message.getNpwpAddress();
|
|
565
558
|
if (f.length > 0) {
|
|
566
559
|
writer.writeString(
|
|
567
|
-
|
|
560
|
+
12,
|
|
568
561
|
f
|
|
569
562
|
);
|
|
570
563
|
}
|
|
571
564
|
f = message.getLatitude();
|
|
572
565
|
if (f !== 0.0) {
|
|
573
566
|
writer.writeDouble(
|
|
574
|
-
|
|
567
|
+
13,
|
|
575
568
|
f
|
|
576
569
|
);
|
|
577
570
|
}
|
|
578
571
|
f = message.getLongitude();
|
|
579
572
|
if (f !== 0.0) {
|
|
580
573
|
writer.writeDouble(
|
|
581
|
-
|
|
574
|
+
14,
|
|
582
575
|
f
|
|
583
576
|
);
|
|
584
577
|
}
|
|
585
578
|
f = message.getRadius();
|
|
579
|
+
if (f !== 0) {
|
|
580
|
+
writer.writeInt64(
|
|
581
|
+
15,
|
|
582
|
+
f
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
f = message.getCountryReferencesId();
|
|
586
586
|
if (f !== 0) {
|
|
587
587
|
writer.writeInt64(
|
|
588
588
|
16,
|
|
589
589
|
f
|
|
590
590
|
);
|
|
591
591
|
}
|
|
592
|
-
f = message.
|
|
592
|
+
f = message.getRegionReferencesId();
|
|
593
593
|
if (f !== 0) {
|
|
594
594
|
writer.writeInt64(
|
|
595
595
|
17,
|
|
596
596
|
f
|
|
597
597
|
);
|
|
598
598
|
}
|
|
599
|
-
f = message.
|
|
599
|
+
f = message.getCityReferencesId();
|
|
600
600
|
if (f !== 0) {
|
|
601
601
|
writer.writeInt64(
|
|
602
602
|
18,
|
|
603
603
|
f
|
|
604
604
|
);
|
|
605
605
|
}
|
|
606
|
-
f = message.
|
|
606
|
+
f = message.getDistrictReferencesId();
|
|
607
607
|
if (f !== 0) {
|
|
608
608
|
writer.writeInt64(
|
|
609
609
|
19,
|
|
610
610
|
f
|
|
611
611
|
);
|
|
612
612
|
}
|
|
613
|
-
f = message.
|
|
613
|
+
f = message.getProvinceReferencesId();
|
|
614
614
|
if (f !== 0) {
|
|
615
615
|
writer.writeInt64(
|
|
616
616
|
20,
|
|
617
617
|
f
|
|
618
618
|
);
|
|
619
619
|
}
|
|
620
|
-
f = message.
|
|
620
|
+
f = message.getAreaReferencesId();
|
|
621
621
|
if (f !== 0) {
|
|
622
622
|
writer.writeInt64(
|
|
623
623
|
21,
|
|
624
624
|
f
|
|
625
625
|
);
|
|
626
626
|
}
|
|
627
|
-
f = message.
|
|
628
|
-
if (f
|
|
629
|
-
writer.
|
|
627
|
+
f = message.getTaxOfficeLocation();
|
|
628
|
+
if (f.length > 0) {
|
|
629
|
+
writer.writeString(
|
|
630
630
|
22,
|
|
631
631
|
f
|
|
632
632
|
);
|
|
633
633
|
}
|
|
634
|
-
f = message.
|
|
634
|
+
f = message.getReferencesId();
|
|
635
635
|
if (f.length > 0) {
|
|
636
636
|
writer.writeString(
|
|
637
637
|
23,
|
|
@@ -642,46 +642,46 @@ proto.WorkLocation.serializeBinaryToWriter = function(message, writer) {
|
|
|
642
642
|
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
|
-
* optional
|
|
646
|
-
* @return {
|
|
645
|
+
* optional string companies_references_id = 1;
|
|
646
|
+
* @return {string}
|
|
647
647
|
*/
|
|
648
|
-
proto.WorkLocation.prototype.
|
|
649
|
-
return /** @type {
|
|
648
|
+
proto.WorkLocation.prototype.getCompaniesReferencesId = function() {
|
|
649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
650
650
|
};
|
|
651
651
|
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
|
-
* @param {
|
|
654
|
+
* @param {string} value
|
|
655
655
|
* @return {!proto.WorkLocation} returns this
|
|
656
656
|
*/
|
|
657
|
-
proto.WorkLocation.prototype.
|
|
658
|
-
return jspb.Message.
|
|
657
|
+
proto.WorkLocation.prototype.setCompaniesReferencesId = function(value) {
|
|
658
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
659
659
|
};
|
|
660
660
|
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
|
-
* optional
|
|
664
|
-
* @return {
|
|
663
|
+
* optional string code = 2;
|
|
664
|
+
* @return {string}
|
|
665
665
|
*/
|
|
666
|
-
proto.WorkLocation.prototype.
|
|
667
|
-
return /** @type {
|
|
666
|
+
proto.WorkLocation.prototype.getCode = function() {
|
|
667
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
668
668
|
};
|
|
669
669
|
|
|
670
670
|
|
|
671
671
|
/**
|
|
672
|
-
* @param {
|
|
672
|
+
* @param {string} value
|
|
673
673
|
* @return {!proto.WorkLocation} returns this
|
|
674
674
|
*/
|
|
675
|
-
proto.WorkLocation.prototype.
|
|
676
|
-
return jspb.Message.
|
|
675
|
+
proto.WorkLocation.prototype.setCode = function(value) {
|
|
676
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
677
677
|
};
|
|
678
678
|
|
|
679
679
|
|
|
680
680
|
/**
|
|
681
|
-
* optional string
|
|
681
|
+
* optional string location_name = 3;
|
|
682
682
|
* @return {string}
|
|
683
683
|
*/
|
|
684
|
-
proto.WorkLocation.prototype.
|
|
684
|
+
proto.WorkLocation.prototype.getLocationName = function() {
|
|
685
685
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
686
686
|
};
|
|
687
687
|
|
|
@@ -690,16 +690,16 @@ proto.WorkLocation.prototype.getCode = function() {
|
|
|
690
690
|
* @param {string} value
|
|
691
691
|
* @return {!proto.WorkLocation} returns this
|
|
692
692
|
*/
|
|
693
|
-
proto.WorkLocation.prototype.
|
|
693
|
+
proto.WorkLocation.prototype.setLocationName = function(value) {
|
|
694
694
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
695
695
|
};
|
|
696
696
|
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
|
-
* optional string
|
|
699
|
+
* optional string alias = 4;
|
|
700
700
|
* @return {string}
|
|
701
701
|
*/
|
|
702
|
-
proto.WorkLocation.prototype.
|
|
702
|
+
proto.WorkLocation.prototype.getAlias = function() {
|
|
703
703
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
704
704
|
};
|
|
705
705
|
|
|
@@ -708,16 +708,16 @@ proto.WorkLocation.prototype.getLocationName = function() {
|
|
|
708
708
|
* @param {string} value
|
|
709
709
|
* @return {!proto.WorkLocation} returns this
|
|
710
710
|
*/
|
|
711
|
-
proto.WorkLocation.prototype.
|
|
711
|
+
proto.WorkLocation.prototype.setAlias = function(value) {
|
|
712
712
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
713
713
|
};
|
|
714
714
|
|
|
715
715
|
|
|
716
716
|
/**
|
|
717
|
-
* optional string
|
|
717
|
+
* optional string address = 5;
|
|
718
718
|
* @return {string}
|
|
719
719
|
*/
|
|
720
|
-
proto.WorkLocation.prototype.
|
|
720
|
+
proto.WorkLocation.prototype.getAddress = function() {
|
|
721
721
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
722
722
|
};
|
|
723
723
|
|
|
@@ -726,16 +726,16 @@ proto.WorkLocation.prototype.getAlias = function() {
|
|
|
726
726
|
* @param {string} value
|
|
727
727
|
* @return {!proto.WorkLocation} returns this
|
|
728
728
|
*/
|
|
729
|
-
proto.WorkLocation.prototype.
|
|
729
|
+
proto.WorkLocation.prototype.setAddress = function(value) {
|
|
730
730
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
731
731
|
};
|
|
732
732
|
|
|
733
733
|
|
|
734
734
|
/**
|
|
735
|
-
* optional string
|
|
735
|
+
* optional string letter_address_line1 = 6;
|
|
736
736
|
* @return {string}
|
|
737
737
|
*/
|
|
738
|
-
proto.WorkLocation.prototype.
|
|
738
|
+
proto.WorkLocation.prototype.getLetterAddressLine1 = function() {
|
|
739
739
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
740
740
|
};
|
|
741
741
|
|
|
@@ -744,16 +744,16 @@ proto.WorkLocation.prototype.getAddress = function() {
|
|
|
744
744
|
* @param {string} value
|
|
745
745
|
* @return {!proto.WorkLocation} returns this
|
|
746
746
|
*/
|
|
747
|
-
proto.WorkLocation.prototype.
|
|
747
|
+
proto.WorkLocation.prototype.setLetterAddressLine1 = function(value) {
|
|
748
748
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
749
749
|
};
|
|
750
750
|
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
|
-
* optional string
|
|
753
|
+
* optional string letter_address_line2 = 7;
|
|
754
754
|
* @return {string}
|
|
755
755
|
*/
|
|
756
|
-
proto.WorkLocation.prototype.
|
|
756
|
+
proto.WorkLocation.prototype.getLetterAddressLine2 = function() {
|
|
757
757
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
758
758
|
};
|
|
759
759
|
|
|
@@ -762,16 +762,16 @@ proto.WorkLocation.prototype.getLetterAddressLine1 = function() {
|
|
|
762
762
|
* @param {string} value
|
|
763
763
|
* @return {!proto.WorkLocation} returns this
|
|
764
764
|
*/
|
|
765
|
-
proto.WorkLocation.prototype.
|
|
765
|
+
proto.WorkLocation.prototype.setLetterAddressLine2 = function(value) {
|
|
766
766
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
767
767
|
};
|
|
768
768
|
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
|
-
* optional string
|
|
771
|
+
* optional string letter_address_line3 = 8;
|
|
772
772
|
* @return {string}
|
|
773
773
|
*/
|
|
774
|
-
proto.WorkLocation.prototype.
|
|
774
|
+
proto.WorkLocation.prototype.getLetterAddressLine3 = function() {
|
|
775
775
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
776
776
|
};
|
|
777
777
|
|
|
@@ -780,16 +780,16 @@ proto.WorkLocation.prototype.getLetterAddressLine2 = function() {
|
|
|
780
780
|
* @param {string} value
|
|
781
781
|
* @return {!proto.WorkLocation} returns this
|
|
782
782
|
*/
|
|
783
|
-
proto.WorkLocation.prototype.
|
|
783
|
+
proto.WorkLocation.prototype.setLetterAddressLine3 = function(value) {
|
|
784
784
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
785
785
|
};
|
|
786
786
|
|
|
787
787
|
|
|
788
788
|
/**
|
|
789
|
-
* optional string
|
|
789
|
+
* optional string phone_number = 9;
|
|
790
790
|
* @return {string}
|
|
791
791
|
*/
|
|
792
|
-
proto.WorkLocation.prototype.
|
|
792
|
+
proto.WorkLocation.prototype.getPhoneNumber = function() {
|
|
793
793
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
794
794
|
};
|
|
795
795
|
|
|
@@ -798,16 +798,16 @@ proto.WorkLocation.prototype.getLetterAddressLine3 = function() {
|
|
|
798
798
|
* @param {string} value
|
|
799
799
|
* @return {!proto.WorkLocation} returns this
|
|
800
800
|
*/
|
|
801
|
-
proto.WorkLocation.prototype.
|
|
801
|
+
proto.WorkLocation.prototype.setPhoneNumber = function(value) {
|
|
802
802
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
803
803
|
};
|
|
804
804
|
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
|
-
* optional string
|
|
807
|
+
* optional string email = 10;
|
|
808
808
|
* @return {string}
|
|
809
809
|
*/
|
|
810
|
-
proto.WorkLocation.prototype.
|
|
810
|
+
proto.WorkLocation.prototype.getEmail = function() {
|
|
811
811
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
812
812
|
};
|
|
813
813
|
|
|
@@ -816,16 +816,16 @@ proto.WorkLocation.prototype.getPhoneNumber = function() {
|
|
|
816
816
|
* @param {string} value
|
|
817
817
|
* @return {!proto.WorkLocation} returns this
|
|
818
818
|
*/
|
|
819
|
-
proto.WorkLocation.prototype.
|
|
819
|
+
proto.WorkLocation.prototype.setEmail = function(value) {
|
|
820
820
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
821
821
|
};
|
|
822
822
|
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
|
-
* optional string
|
|
825
|
+
* optional string npwp = 11;
|
|
826
826
|
* @return {string}
|
|
827
827
|
*/
|
|
828
|
-
proto.WorkLocation.prototype.
|
|
828
|
+
proto.WorkLocation.prototype.getNpwp = function() {
|
|
829
829
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
830
830
|
};
|
|
831
831
|
|
|
@@ -834,16 +834,16 @@ proto.WorkLocation.prototype.getEmail = function() {
|
|
|
834
834
|
* @param {string} value
|
|
835
835
|
* @return {!proto.WorkLocation} returns this
|
|
836
836
|
*/
|
|
837
|
-
proto.WorkLocation.prototype.
|
|
837
|
+
proto.WorkLocation.prototype.setNpwp = function(value) {
|
|
838
838
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
839
839
|
};
|
|
840
840
|
|
|
841
841
|
|
|
842
842
|
/**
|
|
843
|
-
* optional string
|
|
843
|
+
* optional string npwp_address = 12;
|
|
844
844
|
* @return {string}
|
|
845
845
|
*/
|
|
846
|
-
proto.WorkLocation.prototype.
|
|
846
|
+
proto.WorkLocation.prototype.getNpwpAddress = function() {
|
|
847
847
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
848
848
|
};
|
|
849
849
|
|
|
@@ -852,34 +852,34 @@ proto.WorkLocation.prototype.getNpwp = function() {
|
|
|
852
852
|
* @param {string} value
|
|
853
853
|
* @return {!proto.WorkLocation} returns this
|
|
854
854
|
*/
|
|
855
|
-
proto.WorkLocation.prototype.
|
|
855
|
+
proto.WorkLocation.prototype.setNpwpAddress = function(value) {
|
|
856
856
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
857
857
|
};
|
|
858
858
|
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
|
-
* optional
|
|
862
|
-
* @return {
|
|
861
|
+
* optional double latitude = 13;
|
|
862
|
+
* @return {number}
|
|
863
863
|
*/
|
|
864
|
-
proto.WorkLocation.prototype.
|
|
865
|
-
return /** @type {
|
|
864
|
+
proto.WorkLocation.prototype.getLatitude = function() {
|
|
865
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
866
866
|
};
|
|
867
867
|
|
|
868
868
|
|
|
869
869
|
/**
|
|
870
|
-
* @param {
|
|
870
|
+
* @param {number} value
|
|
871
871
|
* @return {!proto.WorkLocation} returns this
|
|
872
872
|
*/
|
|
873
|
-
proto.WorkLocation.prototype.
|
|
874
|
-
return jspb.Message.
|
|
873
|
+
proto.WorkLocation.prototype.setLatitude = function(value) {
|
|
874
|
+
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
875
875
|
};
|
|
876
876
|
|
|
877
877
|
|
|
878
878
|
/**
|
|
879
|
-
* optional double
|
|
879
|
+
* optional double longitude = 14;
|
|
880
880
|
* @return {number}
|
|
881
881
|
*/
|
|
882
|
-
proto.WorkLocation.prototype.
|
|
882
|
+
proto.WorkLocation.prototype.getLongitude = function() {
|
|
883
883
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
884
884
|
};
|
|
885
885
|
|
|
@@ -888,17 +888,17 @@ proto.WorkLocation.prototype.getLatitude = function() {
|
|
|
888
888
|
* @param {number} value
|
|
889
889
|
* @return {!proto.WorkLocation} returns this
|
|
890
890
|
*/
|
|
891
|
-
proto.WorkLocation.prototype.
|
|
891
|
+
proto.WorkLocation.prototype.setLongitude = function(value) {
|
|
892
892
|
return jspb.Message.setProto3FloatField(this, 14, value);
|
|
893
893
|
};
|
|
894
894
|
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
|
-
* optional
|
|
897
|
+
* optional int64 radius = 15;
|
|
898
898
|
* @return {number}
|
|
899
899
|
*/
|
|
900
|
-
proto.WorkLocation.prototype.
|
|
901
|
-
return /** @type {number} */ (jspb.Message.
|
|
900
|
+
proto.WorkLocation.prototype.getRadius = function() {
|
|
901
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
902
902
|
};
|
|
903
903
|
|
|
904
904
|
|
|
@@ -906,16 +906,16 @@ proto.WorkLocation.prototype.getLongitude = function() {
|
|
|
906
906
|
* @param {number} value
|
|
907
907
|
* @return {!proto.WorkLocation} returns this
|
|
908
908
|
*/
|
|
909
|
-
proto.WorkLocation.prototype.
|
|
910
|
-
return jspb.Message.
|
|
909
|
+
proto.WorkLocation.prototype.setRadius = function(value) {
|
|
910
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
911
911
|
};
|
|
912
912
|
|
|
913
913
|
|
|
914
914
|
/**
|
|
915
|
-
* optional int64
|
|
915
|
+
* optional int64 country_references_id = 16;
|
|
916
916
|
* @return {number}
|
|
917
917
|
*/
|
|
918
|
-
proto.WorkLocation.prototype.
|
|
918
|
+
proto.WorkLocation.prototype.getCountryReferencesId = function() {
|
|
919
919
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
920
920
|
};
|
|
921
921
|
|
|
@@ -924,16 +924,16 @@ proto.WorkLocation.prototype.getRadius = function() {
|
|
|
924
924
|
* @param {number} value
|
|
925
925
|
* @return {!proto.WorkLocation} returns this
|
|
926
926
|
*/
|
|
927
|
-
proto.WorkLocation.prototype.
|
|
927
|
+
proto.WorkLocation.prototype.setCountryReferencesId = function(value) {
|
|
928
928
|
return jspb.Message.setProto3IntField(this, 16, value);
|
|
929
929
|
};
|
|
930
930
|
|
|
931
931
|
|
|
932
932
|
/**
|
|
933
|
-
* optional int64
|
|
933
|
+
* optional int64 region_references_id = 17;
|
|
934
934
|
* @return {number}
|
|
935
935
|
*/
|
|
936
|
-
proto.WorkLocation.prototype.
|
|
936
|
+
proto.WorkLocation.prototype.getRegionReferencesId = function() {
|
|
937
937
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
938
938
|
};
|
|
939
939
|
|
|
@@ -942,16 +942,16 @@ proto.WorkLocation.prototype.getCountryRefId = function() {
|
|
|
942
942
|
* @param {number} value
|
|
943
943
|
* @return {!proto.WorkLocation} returns this
|
|
944
944
|
*/
|
|
945
|
-
proto.WorkLocation.prototype.
|
|
945
|
+
proto.WorkLocation.prototype.setRegionReferencesId = function(value) {
|
|
946
946
|
return jspb.Message.setProto3IntField(this, 17, value);
|
|
947
947
|
};
|
|
948
948
|
|
|
949
949
|
|
|
950
950
|
/**
|
|
951
|
-
* optional int64
|
|
951
|
+
* optional int64 city_references_id = 18;
|
|
952
952
|
* @return {number}
|
|
953
953
|
*/
|
|
954
|
-
proto.WorkLocation.prototype.
|
|
954
|
+
proto.WorkLocation.prototype.getCityReferencesId = function() {
|
|
955
955
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
956
956
|
};
|
|
957
957
|
|
|
@@ -960,16 +960,16 @@ proto.WorkLocation.prototype.getRegionRefId = function() {
|
|
|
960
960
|
* @param {number} value
|
|
961
961
|
* @return {!proto.WorkLocation} returns this
|
|
962
962
|
*/
|
|
963
|
-
proto.WorkLocation.prototype.
|
|
963
|
+
proto.WorkLocation.prototype.setCityReferencesId = function(value) {
|
|
964
964
|
return jspb.Message.setProto3IntField(this, 18, value);
|
|
965
965
|
};
|
|
966
966
|
|
|
967
967
|
|
|
968
968
|
/**
|
|
969
|
-
* optional int64
|
|
969
|
+
* optional int64 district_references_id = 19;
|
|
970
970
|
* @return {number}
|
|
971
971
|
*/
|
|
972
|
-
proto.WorkLocation.prototype.
|
|
972
|
+
proto.WorkLocation.prototype.getDistrictReferencesId = function() {
|
|
973
973
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
974
974
|
};
|
|
975
975
|
|
|
@@ -978,16 +978,16 @@ proto.WorkLocation.prototype.getCityRefId = function() {
|
|
|
978
978
|
* @param {number} value
|
|
979
979
|
* @return {!proto.WorkLocation} returns this
|
|
980
980
|
*/
|
|
981
|
-
proto.WorkLocation.prototype.
|
|
981
|
+
proto.WorkLocation.prototype.setDistrictReferencesId = function(value) {
|
|
982
982
|
return jspb.Message.setProto3IntField(this, 19, value);
|
|
983
983
|
};
|
|
984
984
|
|
|
985
985
|
|
|
986
986
|
/**
|
|
987
|
-
* optional int64
|
|
987
|
+
* optional int64 province_references_id = 20;
|
|
988
988
|
* @return {number}
|
|
989
989
|
*/
|
|
990
|
-
proto.WorkLocation.prototype.
|
|
990
|
+
proto.WorkLocation.prototype.getProvinceReferencesId = function() {
|
|
991
991
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
992
992
|
};
|
|
993
993
|
|
|
@@ -996,16 +996,16 @@ proto.WorkLocation.prototype.getDistrictRefId = function() {
|
|
|
996
996
|
* @param {number} value
|
|
997
997
|
* @return {!proto.WorkLocation} returns this
|
|
998
998
|
*/
|
|
999
|
-
proto.WorkLocation.prototype.
|
|
999
|
+
proto.WorkLocation.prototype.setProvinceReferencesId = function(value) {
|
|
1000
1000
|
return jspb.Message.setProto3IntField(this, 20, value);
|
|
1001
1001
|
};
|
|
1002
1002
|
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
|
-
* optional int64
|
|
1005
|
+
* optional int64 area_references_id = 21;
|
|
1006
1006
|
* @return {number}
|
|
1007
1007
|
*/
|
|
1008
|
-
proto.WorkLocation.prototype.
|
|
1008
|
+
proto.WorkLocation.prototype.getAreaReferencesId = function() {
|
|
1009
1009
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
1010
1010
|
};
|
|
1011
1011
|
|
|
@@ -1014,34 +1014,34 @@ proto.WorkLocation.prototype.getProvinceRefId = function() {
|
|
|
1014
1014
|
* @param {number} value
|
|
1015
1015
|
* @return {!proto.WorkLocation} returns this
|
|
1016
1016
|
*/
|
|
1017
|
-
proto.WorkLocation.prototype.
|
|
1017
|
+
proto.WorkLocation.prototype.setAreaReferencesId = function(value) {
|
|
1018
1018
|
return jspb.Message.setProto3IntField(this, 21, value);
|
|
1019
1019
|
};
|
|
1020
1020
|
|
|
1021
1021
|
|
|
1022
1022
|
/**
|
|
1023
|
-
* optional
|
|
1024
|
-
* @return {
|
|
1023
|
+
* optional string tax_office_location = 22;
|
|
1024
|
+
* @return {string}
|
|
1025
1025
|
*/
|
|
1026
|
-
proto.WorkLocation.prototype.
|
|
1027
|
-
return /** @type {
|
|
1026
|
+
proto.WorkLocation.prototype.getTaxOfficeLocation = function() {
|
|
1027
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
1028
1028
|
};
|
|
1029
1029
|
|
|
1030
1030
|
|
|
1031
1031
|
/**
|
|
1032
|
-
* @param {
|
|
1032
|
+
* @param {string} value
|
|
1033
1033
|
* @return {!proto.WorkLocation} returns this
|
|
1034
1034
|
*/
|
|
1035
|
-
proto.WorkLocation.prototype.
|
|
1036
|
-
return jspb.Message.
|
|
1035
|
+
proto.WorkLocation.prototype.setTaxOfficeLocation = function(value) {
|
|
1036
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
1039
|
|
|
1040
1040
|
/**
|
|
1041
|
-
* optional string
|
|
1041
|
+
* optional string references_id = 23;
|
|
1042
1042
|
* @return {string}
|
|
1043
1043
|
*/
|
|
1044
|
-
proto.WorkLocation.prototype.
|
|
1044
|
+
proto.WorkLocation.prototype.getReferencesId = function() {
|
|
1045
1045
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1046
1046
|
};
|
|
1047
1047
|
|
|
@@ -1050,7 +1050,7 @@ proto.WorkLocation.prototype.getTaxOfficeLocation = function() {
|
|
|
1050
1050
|
* @param {string} value
|
|
1051
1051
|
* @return {!proto.WorkLocation} returns this
|
|
1052
1052
|
*/
|
|
1053
|
-
proto.WorkLocation.prototype.
|
|
1053
|
+
proto.WorkLocation.prototype.setReferencesId = function(value) {
|
|
1054
1054
|
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1055
1055
|
};
|
|
1056
1056
|
|
|
@@ -1087,7 +1087,7 @@ proto.WorkLocationGetByIdRequest.prototype.toObject = function(opt_includeInstan
|
|
|
1087
1087
|
*/
|
|
1088
1088
|
proto.WorkLocationGetByIdRequest.toObject = function(includeInstance, msg) {
|
|
1089
1089
|
var f, obj = {
|
|
1090
|
-
|
|
1090
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1091
1091
|
};
|
|
1092
1092
|
|
|
1093
1093
|
if (includeInstance) {
|
|
@@ -1125,8 +1125,8 @@ proto.WorkLocationGetByIdRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
1125
1125
|
var field = reader.getFieldNumber();
|
|
1126
1126
|
switch (field) {
|
|
1127
1127
|
case 1:
|
|
1128
|
-
var value = /** @type {
|
|
1129
|
-
msg.
|
|
1128
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1129
|
+
msg.setReferencesId(value);
|
|
1130
1130
|
break;
|
|
1131
1131
|
default:
|
|
1132
1132
|
reader.skipField();
|
|
@@ -1157,9 +1157,9 @@ proto.WorkLocationGetByIdRequest.prototype.serializeBinary = function() {
|
|
|
1157
1157
|
*/
|
|
1158
1158
|
proto.WorkLocationGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1159
1159
|
var f = undefined;
|
|
1160
|
-
f = message.
|
|
1161
|
-
if (f
|
|
1162
|
-
writer.
|
|
1160
|
+
f = message.getReferencesId();
|
|
1161
|
+
if (f.length > 0) {
|
|
1162
|
+
writer.writeString(
|
|
1163
1163
|
1,
|
|
1164
1164
|
f
|
|
1165
1165
|
);
|
|
@@ -1168,20 +1168,20 @@ proto.WorkLocationGetByIdRequest.serializeBinaryToWriter = function(message, wri
|
|
|
1168
1168
|
|
|
1169
1169
|
|
|
1170
1170
|
/**
|
|
1171
|
-
* optional
|
|
1172
|
-
* @return {
|
|
1171
|
+
* optional string references_id = 1;
|
|
1172
|
+
* @return {string}
|
|
1173
1173
|
*/
|
|
1174
|
-
proto.WorkLocationGetByIdRequest.prototype.
|
|
1175
|
-
return /** @type {
|
|
1174
|
+
proto.WorkLocationGetByIdRequest.prototype.getReferencesId = function() {
|
|
1175
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1176
1176
|
};
|
|
1177
1177
|
|
|
1178
1178
|
|
|
1179
1179
|
/**
|
|
1180
|
-
* @param {
|
|
1180
|
+
* @param {string} value
|
|
1181
1181
|
* @return {!proto.WorkLocationGetByIdRequest} returns this
|
|
1182
1182
|
*/
|
|
1183
|
-
proto.WorkLocationGetByIdRequest.prototype.
|
|
1184
|
-
return jspb.Message.
|
|
1183
|
+
proto.WorkLocationGetByIdRequest.prototype.setReferencesId = function(value) {
|
|
1184
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1185
1185
|
};
|
|
1186
1186
|
|
|
1187
1187
|
|
|
@@ -1368,7 +1368,7 @@ proto.UpdateWorkLocationRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1368
1368
|
*/
|
|
1369
1369
|
proto.UpdateWorkLocationRequest.toObject = function(includeInstance, msg) {
|
|
1370
1370
|
var f, obj = {
|
|
1371
|
-
|
|
1371
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1372
1372
|
workLocation: (f = msg.getWorkLocation()) && proto.WorkLocation.toObject(includeInstance, f)
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
@@ -1407,8 +1407,8 @@ proto.UpdateWorkLocationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1407
1407
|
var field = reader.getFieldNumber();
|
|
1408
1408
|
switch (field) {
|
|
1409
1409
|
case 1:
|
|
1410
|
-
var value = /** @type {
|
|
1411
|
-
msg.
|
|
1410
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1411
|
+
msg.setReferencesId(value);
|
|
1412
1412
|
break;
|
|
1413
1413
|
case 2:
|
|
1414
1414
|
var value = new proto.WorkLocation;
|
|
@@ -1444,9 +1444,9 @@ proto.UpdateWorkLocationRequest.prototype.serializeBinary = function() {
|
|
|
1444
1444
|
*/
|
|
1445
1445
|
proto.UpdateWorkLocationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1446
1446
|
var f = undefined;
|
|
1447
|
-
f = message.
|
|
1448
|
-
if (f
|
|
1449
|
-
writer.
|
|
1447
|
+
f = message.getReferencesId();
|
|
1448
|
+
if (f.length > 0) {
|
|
1449
|
+
writer.writeString(
|
|
1450
1450
|
1,
|
|
1451
1451
|
f
|
|
1452
1452
|
);
|
|
@@ -1463,20 +1463,20 @@ proto.UpdateWorkLocationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1463
1463
|
|
|
1464
1464
|
|
|
1465
1465
|
/**
|
|
1466
|
-
* optional
|
|
1467
|
-
* @return {
|
|
1466
|
+
* optional string references_id = 1;
|
|
1467
|
+
* @return {string}
|
|
1468
1468
|
*/
|
|
1469
|
-
proto.UpdateWorkLocationRequest.prototype.
|
|
1470
|
-
return /** @type {
|
|
1469
|
+
proto.UpdateWorkLocationRequest.prototype.getReferencesId = function() {
|
|
1470
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1471
1471
|
};
|
|
1472
1472
|
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
|
-
* @param {
|
|
1475
|
+
* @param {string} value
|
|
1476
1476
|
* @return {!proto.UpdateWorkLocationRequest} returns this
|
|
1477
1477
|
*/
|
|
1478
|
-
proto.UpdateWorkLocationRequest.prototype.
|
|
1479
|
-
return jspb.Message.
|
|
1478
|
+
proto.UpdateWorkLocationRequest.prototype.setReferencesId = function(value) {
|
|
1479
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1480
1480
|
};
|
|
1481
1481
|
|
|
1482
1482
|
|
|
@@ -1549,7 +1549,7 @@ proto.DeleteWorkLocationRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1549
1549
|
*/
|
|
1550
1550
|
proto.DeleteWorkLocationRequest.toObject = function(includeInstance, msg) {
|
|
1551
1551
|
var f, obj = {
|
|
1552
|
-
|
|
1552
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1553
1553
|
};
|
|
1554
1554
|
|
|
1555
1555
|
if (includeInstance) {
|
|
@@ -1587,8 +1587,8 @@ proto.DeleteWorkLocationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1587
1587
|
var field = reader.getFieldNumber();
|
|
1588
1588
|
switch (field) {
|
|
1589
1589
|
case 1:
|
|
1590
|
-
var value = /** @type {
|
|
1591
|
-
msg.
|
|
1590
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1591
|
+
msg.setReferencesId(value);
|
|
1592
1592
|
break;
|
|
1593
1593
|
default:
|
|
1594
1594
|
reader.skipField();
|
|
@@ -1619,9 +1619,9 @@ proto.DeleteWorkLocationRequest.prototype.serializeBinary = function() {
|
|
|
1619
1619
|
*/
|
|
1620
1620
|
proto.DeleteWorkLocationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1621
1621
|
var f = undefined;
|
|
1622
|
-
f = message.
|
|
1623
|
-
if (f
|
|
1624
|
-
writer.
|
|
1622
|
+
f = message.getReferencesId();
|
|
1623
|
+
if (f.length > 0) {
|
|
1624
|
+
writer.writeString(
|
|
1625
1625
|
1,
|
|
1626
1626
|
f
|
|
1627
1627
|
);
|
|
@@ -1630,20 +1630,20 @@ proto.DeleteWorkLocationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1630
1630
|
|
|
1631
1631
|
|
|
1632
1632
|
/**
|
|
1633
|
-
* optional
|
|
1634
|
-
* @return {
|
|
1633
|
+
* optional string references_id = 1;
|
|
1634
|
+
* @return {string}
|
|
1635
1635
|
*/
|
|
1636
|
-
proto.DeleteWorkLocationRequest.prototype.
|
|
1637
|
-
return /** @type {
|
|
1636
|
+
proto.DeleteWorkLocationRequest.prototype.getReferencesId = function() {
|
|
1637
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1638
1638
|
};
|
|
1639
1639
|
|
|
1640
1640
|
|
|
1641
1641
|
/**
|
|
1642
|
-
* @param {
|
|
1642
|
+
* @param {string} value
|
|
1643
1643
|
* @return {!proto.DeleteWorkLocationRequest} returns this
|
|
1644
1644
|
*/
|
|
1645
|
-
proto.DeleteWorkLocationRequest.prototype.
|
|
1646
|
-
return jspb.Message.
|
|
1645
|
+
proto.DeleteWorkLocationRequest.prototype.setReferencesId = function(value) {
|
|
1646
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1647
1647
|
};
|
|
1648
1648
|
|
|
1649
1649
|
|
|
@@ -1679,7 +1679,7 @@ proto.DeleteWorkLocationResponse.prototype.toObject = function(opt_includeInstan
|
|
|
1679
1679
|
*/
|
|
1680
1680
|
proto.DeleteWorkLocationResponse.toObject = function(includeInstance, msg) {
|
|
1681
1681
|
var f, obj = {
|
|
1682
|
-
|
|
1682
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1683
1683
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1684
1684
|
};
|
|
1685
1685
|
|
|
@@ -1718,8 +1718,8 @@ proto.DeleteWorkLocationResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
1718
1718
|
var field = reader.getFieldNumber();
|
|
1719
1719
|
switch (field) {
|
|
1720
1720
|
case 1:
|
|
1721
|
-
var value = /** @type {
|
|
1722
|
-
msg.
|
|
1721
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1722
|
+
msg.setReferencesId(value);
|
|
1723
1723
|
break;
|
|
1724
1724
|
case 2:
|
|
1725
1725
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
@@ -1755,9 +1755,9 @@ proto.DeleteWorkLocationResponse.prototype.serializeBinary = function() {
|
|
|
1755
1755
|
*/
|
|
1756
1756
|
proto.DeleteWorkLocationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1757
1757
|
var f = undefined;
|
|
1758
|
-
f = message.
|
|
1759
|
-
if (f
|
|
1760
|
-
writer.
|
|
1758
|
+
f = message.getReferencesId();
|
|
1759
|
+
if (f.length > 0) {
|
|
1760
|
+
writer.writeString(
|
|
1761
1761
|
1,
|
|
1762
1762
|
f
|
|
1763
1763
|
);
|
|
@@ -1774,20 +1774,20 @@ proto.DeleteWorkLocationResponse.serializeBinaryToWriter = function(message, wri
|
|
|
1774
1774
|
|
|
1775
1775
|
|
|
1776
1776
|
/**
|
|
1777
|
-
* optional
|
|
1778
|
-
* @return {
|
|
1777
|
+
* optional string references_id = 1;
|
|
1778
|
+
* @return {string}
|
|
1779
1779
|
*/
|
|
1780
|
-
proto.DeleteWorkLocationResponse.prototype.
|
|
1781
|
-
return /** @type {
|
|
1780
|
+
proto.DeleteWorkLocationResponse.prototype.getReferencesId = function() {
|
|
1781
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1782
1782
|
};
|
|
1783
1783
|
|
|
1784
1784
|
|
|
1785
1785
|
/**
|
|
1786
|
-
* @param {
|
|
1786
|
+
* @param {string} value
|
|
1787
1787
|
* @return {!proto.DeleteWorkLocationResponse} returns this
|
|
1788
1788
|
*/
|
|
1789
|
-
proto.DeleteWorkLocationResponse.prototype.
|
|
1790
|
-
return jspb.Message.
|
|
1789
|
+
proto.DeleteWorkLocationResponse.prototype.setReferencesId = function(value) {
|
|
1790
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1791
1791
|
};
|
|
1792
1792
|
|
|
1793
1793
|
|