@aldiokta/protocgen 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/core/job_grade/job_grade_pb.js +308 -36
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +244 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +4256 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +26 -3
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +886 -107
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
goog.exportSymbol('proto.BaseJobGrade', null, global);
|
|
26
27
|
goog.exportSymbol('proto.CreateJobGradeRequest', null, global);
|
|
27
28
|
goog.exportSymbol('proto.CreateJobGradeResponse', null, global);
|
|
28
29
|
goog.exportSymbol('proto.DeleteJobGradeRequest', null, global);
|
|
@@ -55,6 +56,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
55
56
|
*/
|
|
56
57
|
proto.JobGrade.displayName = 'proto.JobGrade';
|
|
57
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Generated by JsPbCodeGenerator.
|
|
61
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
62
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
63
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
64
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
65
|
+
* valid.
|
|
66
|
+
* @extends {jspb.Message}
|
|
67
|
+
* @constructor
|
|
68
|
+
*/
|
|
69
|
+
proto.BaseJobGrade = function(opt_data) {
|
|
70
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
71
|
+
};
|
|
72
|
+
goog.inherits(proto.BaseJobGrade, jspb.Message);
|
|
73
|
+
if (goog.DEBUG && !COMPILED) {
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @override
|
|
77
|
+
*/
|
|
78
|
+
proto.BaseJobGrade.displayName = 'proto.BaseJobGrade';
|
|
79
|
+
}
|
|
58
80
|
/**
|
|
59
81
|
* Generated by JsPbCodeGenerator.
|
|
60
82
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -297,10 +319,10 @@ proto.JobGrade.prototype.toObject = function(opt_includeInstance) {
|
|
|
297
319
|
*/
|
|
298
320
|
proto.JobGrade.toObject = function(includeInstance, msg) {
|
|
299
321
|
var f, obj = {
|
|
300
|
-
code: jspb.Message.getFieldWithDefault(msg,
|
|
301
|
-
name: jspb.Message.getFieldWithDefault(msg,
|
|
302
|
-
description: jspb.Message.getFieldWithDefault(msg,
|
|
303
|
-
companiesRefId: jspb.Message.getFieldWithDefault(msg,
|
|
322
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
323
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
324
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
325
|
+
companiesRefId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
304
326
|
};
|
|
305
327
|
|
|
306
328
|
if (includeInstance) {
|
|
@@ -337,19 +359,19 @@ proto.JobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
337
359
|
}
|
|
338
360
|
var field = reader.getFieldNumber();
|
|
339
361
|
switch (field) {
|
|
340
|
-
case
|
|
362
|
+
case 2:
|
|
341
363
|
var value = /** @type {string} */ (reader.readString());
|
|
342
364
|
msg.setCode(value);
|
|
343
365
|
break;
|
|
344
|
-
case
|
|
366
|
+
case 3:
|
|
345
367
|
var value = /** @type {string} */ (reader.readString());
|
|
346
368
|
msg.setName(value);
|
|
347
369
|
break;
|
|
348
|
-
case
|
|
370
|
+
case 4:
|
|
349
371
|
var value = /** @type {string} */ (reader.readString());
|
|
350
372
|
msg.setDescription(value);
|
|
351
373
|
break;
|
|
352
|
-
case
|
|
374
|
+
case 6:
|
|
353
375
|
var value = /** @type {number} */ (reader.readInt64());
|
|
354
376
|
msg.setCompaniesRefId(value);
|
|
355
377
|
break;
|
|
@@ -385,28 +407,28 @@ proto.JobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
385
407
|
f = message.getCode();
|
|
386
408
|
if (f.length > 0) {
|
|
387
409
|
writer.writeString(
|
|
388
|
-
|
|
410
|
+
2,
|
|
389
411
|
f
|
|
390
412
|
);
|
|
391
413
|
}
|
|
392
414
|
f = message.getName();
|
|
393
415
|
if (f.length > 0) {
|
|
394
416
|
writer.writeString(
|
|
395
|
-
|
|
417
|
+
3,
|
|
396
418
|
f
|
|
397
419
|
);
|
|
398
420
|
}
|
|
399
421
|
f = message.getDescription();
|
|
400
422
|
if (f.length > 0) {
|
|
401
423
|
writer.writeString(
|
|
402
|
-
|
|
424
|
+
4,
|
|
403
425
|
f
|
|
404
426
|
);
|
|
405
427
|
}
|
|
406
428
|
f = message.getCompaniesRefId();
|
|
407
429
|
if (f !== 0) {
|
|
408
430
|
writer.writeInt64(
|
|
409
|
-
|
|
431
|
+
6,
|
|
410
432
|
f
|
|
411
433
|
);
|
|
412
434
|
}
|
|
@@ -414,11 +436,11 @@ proto.JobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
414
436
|
|
|
415
437
|
|
|
416
438
|
/**
|
|
417
|
-
* optional string code =
|
|
439
|
+
* optional string code = 2;
|
|
418
440
|
* @return {string}
|
|
419
441
|
*/
|
|
420
442
|
proto.JobGrade.prototype.getCode = function() {
|
|
421
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
422
444
|
};
|
|
423
445
|
|
|
424
446
|
|
|
@@ -427,16 +449,16 @@ proto.JobGrade.prototype.getCode = function() {
|
|
|
427
449
|
* @return {!proto.JobGrade} returns this
|
|
428
450
|
*/
|
|
429
451
|
proto.JobGrade.prototype.setCode = function(value) {
|
|
430
|
-
return jspb.Message.setProto3StringField(this,
|
|
452
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
431
453
|
};
|
|
432
454
|
|
|
433
455
|
|
|
434
456
|
/**
|
|
435
|
-
* optional string name =
|
|
457
|
+
* optional string name = 3;
|
|
436
458
|
* @return {string}
|
|
437
459
|
*/
|
|
438
460
|
proto.JobGrade.prototype.getName = function() {
|
|
439
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
461
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
440
462
|
};
|
|
441
463
|
|
|
442
464
|
|
|
@@ -445,16 +467,16 @@ proto.JobGrade.prototype.getName = function() {
|
|
|
445
467
|
* @return {!proto.JobGrade} returns this
|
|
446
468
|
*/
|
|
447
469
|
proto.JobGrade.prototype.setName = function(value) {
|
|
448
|
-
return jspb.Message.setProto3StringField(this,
|
|
470
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
449
471
|
};
|
|
450
472
|
|
|
451
473
|
|
|
452
474
|
/**
|
|
453
|
-
* optional string description =
|
|
475
|
+
* optional string description = 4;
|
|
454
476
|
* @return {string}
|
|
455
477
|
*/
|
|
456
478
|
proto.JobGrade.prototype.getDescription = function() {
|
|
457
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
479
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
458
480
|
};
|
|
459
481
|
|
|
460
482
|
|
|
@@ -463,16 +485,16 @@ proto.JobGrade.prototype.getDescription = function() {
|
|
|
463
485
|
* @return {!proto.JobGrade} returns this
|
|
464
486
|
*/
|
|
465
487
|
proto.JobGrade.prototype.setDescription = function(value) {
|
|
466
|
-
return jspb.Message.setProto3StringField(this,
|
|
488
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
467
489
|
};
|
|
468
490
|
|
|
469
491
|
|
|
470
492
|
/**
|
|
471
|
-
* optional int64 companies_ref_id =
|
|
493
|
+
* optional int64 companies_ref_id = 6;
|
|
472
494
|
* @return {number}
|
|
473
495
|
*/
|
|
474
496
|
proto.JobGrade.prototype.getCompaniesRefId = function() {
|
|
475
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
497
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
476
498
|
};
|
|
477
499
|
|
|
478
500
|
|
|
@@ -481,7 +503,257 @@ proto.JobGrade.prototype.getCompaniesRefId = function() {
|
|
|
481
503
|
* @return {!proto.JobGrade} returns this
|
|
482
504
|
*/
|
|
483
505
|
proto.JobGrade.prototype.setCompaniesRefId = function(value) {
|
|
484
|
-
return jspb.Message.setProto3IntField(this,
|
|
506
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
514
|
+
/**
|
|
515
|
+
* Creates an object representation of this proto.
|
|
516
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
517
|
+
* Optional fields that are not set will be set to undefined.
|
|
518
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
519
|
+
* For the list of reserved names please see:
|
|
520
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
521
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
522
|
+
* JSPB instance for transitional soy proto support:
|
|
523
|
+
* http://goto/soy-param-migration
|
|
524
|
+
* @return {!Object}
|
|
525
|
+
*/
|
|
526
|
+
proto.BaseJobGrade.prototype.toObject = function(opt_includeInstance) {
|
|
527
|
+
return proto.BaseJobGrade.toObject(opt_includeInstance, this);
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Static version of the {@see toObject} method.
|
|
533
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
534
|
+
* the JSPB instance for transitional soy proto support:
|
|
535
|
+
* http://goto/soy-param-migration
|
|
536
|
+
* @param {!proto.BaseJobGrade} msg The msg instance to transform.
|
|
537
|
+
* @return {!Object}
|
|
538
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
539
|
+
*/
|
|
540
|
+
proto.BaseJobGrade.toObject = function(includeInstance, msg) {
|
|
541
|
+
var f, obj = {
|
|
542
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
543
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
544
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
545
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
546
|
+
companiesRefId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
if (includeInstance) {
|
|
550
|
+
obj.$jspbMessageInstance = msg;
|
|
551
|
+
}
|
|
552
|
+
return obj;
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Deserializes binary data (in protobuf wire format).
|
|
559
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
560
|
+
* @return {!proto.BaseJobGrade}
|
|
561
|
+
*/
|
|
562
|
+
proto.BaseJobGrade.deserializeBinary = function(bytes) {
|
|
563
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
564
|
+
var msg = new proto.BaseJobGrade;
|
|
565
|
+
return proto.BaseJobGrade.deserializeBinaryFromReader(msg, reader);
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
571
|
+
* given reader into the given message object.
|
|
572
|
+
* @param {!proto.BaseJobGrade} msg The message object to deserialize into.
|
|
573
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
574
|
+
* @return {!proto.BaseJobGrade}
|
|
575
|
+
*/
|
|
576
|
+
proto.BaseJobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
577
|
+
while (reader.nextField()) {
|
|
578
|
+
if (reader.isEndGroup()) {
|
|
579
|
+
break;
|
|
580
|
+
}
|
|
581
|
+
var field = reader.getFieldNumber();
|
|
582
|
+
switch (field) {
|
|
583
|
+
case 1:
|
|
584
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
585
|
+
msg.setId(value);
|
|
586
|
+
break;
|
|
587
|
+
case 2:
|
|
588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
589
|
+
msg.setCode(value);
|
|
590
|
+
break;
|
|
591
|
+
case 3:
|
|
592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
593
|
+
msg.setName(value);
|
|
594
|
+
break;
|
|
595
|
+
case 4:
|
|
596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
597
|
+
msg.setDescription(value);
|
|
598
|
+
break;
|
|
599
|
+
case 6:
|
|
600
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
601
|
+
msg.setCompaniesRefId(value);
|
|
602
|
+
break;
|
|
603
|
+
default:
|
|
604
|
+
reader.skipField();
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return msg;
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
614
|
+
* @return {!Uint8Array}
|
|
615
|
+
*/
|
|
616
|
+
proto.BaseJobGrade.prototype.serializeBinary = function() {
|
|
617
|
+
var writer = new jspb.BinaryWriter();
|
|
618
|
+
proto.BaseJobGrade.serializeBinaryToWriter(this, writer);
|
|
619
|
+
return writer.getResultBuffer();
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
625
|
+
* format), writing to the given BinaryWriter.
|
|
626
|
+
* @param {!proto.BaseJobGrade} message
|
|
627
|
+
* @param {!jspb.BinaryWriter} writer
|
|
628
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
629
|
+
*/
|
|
630
|
+
proto.BaseJobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
631
|
+
var f = undefined;
|
|
632
|
+
f = message.getId();
|
|
633
|
+
if (f !== 0) {
|
|
634
|
+
writer.writeInt64(
|
|
635
|
+
1,
|
|
636
|
+
f
|
|
637
|
+
);
|
|
638
|
+
}
|
|
639
|
+
f = message.getCode();
|
|
640
|
+
if (f.length > 0) {
|
|
641
|
+
writer.writeString(
|
|
642
|
+
2,
|
|
643
|
+
f
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
f = message.getName();
|
|
647
|
+
if (f.length > 0) {
|
|
648
|
+
writer.writeString(
|
|
649
|
+
3,
|
|
650
|
+
f
|
|
651
|
+
);
|
|
652
|
+
}
|
|
653
|
+
f = message.getDescription();
|
|
654
|
+
if (f.length > 0) {
|
|
655
|
+
writer.writeString(
|
|
656
|
+
4,
|
|
657
|
+
f
|
|
658
|
+
);
|
|
659
|
+
}
|
|
660
|
+
f = message.getCompaniesRefId();
|
|
661
|
+
if (f !== 0) {
|
|
662
|
+
writer.writeInt64(
|
|
663
|
+
6,
|
|
664
|
+
f
|
|
665
|
+
);
|
|
666
|
+
}
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* optional int64 id = 1;
|
|
672
|
+
* @return {number}
|
|
673
|
+
*/
|
|
674
|
+
proto.BaseJobGrade.prototype.getId = function() {
|
|
675
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @param {number} value
|
|
681
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
682
|
+
*/
|
|
683
|
+
proto.BaseJobGrade.prototype.setId = function(value) {
|
|
684
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* optional string code = 2;
|
|
690
|
+
* @return {string}
|
|
691
|
+
*/
|
|
692
|
+
proto.BaseJobGrade.prototype.getCode = function() {
|
|
693
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @param {string} value
|
|
699
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
700
|
+
*/
|
|
701
|
+
proto.BaseJobGrade.prototype.setCode = function(value) {
|
|
702
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* optional string name = 3;
|
|
708
|
+
* @return {string}
|
|
709
|
+
*/
|
|
710
|
+
proto.BaseJobGrade.prototype.getName = function() {
|
|
711
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @param {string} value
|
|
717
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
718
|
+
*/
|
|
719
|
+
proto.BaseJobGrade.prototype.setName = function(value) {
|
|
720
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* optional string description = 4;
|
|
726
|
+
* @return {string}
|
|
727
|
+
*/
|
|
728
|
+
proto.BaseJobGrade.prototype.getDescription = function() {
|
|
729
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @param {string} value
|
|
735
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
736
|
+
*/
|
|
737
|
+
proto.BaseJobGrade.prototype.setDescription = function(value) {
|
|
738
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* optional int64 companies_ref_id = 6;
|
|
744
|
+
* @return {number}
|
|
745
|
+
*/
|
|
746
|
+
proto.BaseJobGrade.prototype.getCompaniesRefId = function() {
|
|
747
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* @param {number} value
|
|
753
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
754
|
+
*/
|
|
755
|
+
proto.BaseJobGrade.prototype.setCompaniesRefId = function(value) {
|
|
756
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
485
757
|
};
|
|
486
758
|
|
|
487
759
|
|
|
@@ -1702,7 +1974,7 @@ proto.GetListJobGradeResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
1702
1974
|
proto.GetListJobGradeResponse.toObject = function(includeInstance, msg) {
|
|
1703
1975
|
var f, obj = {
|
|
1704
1976
|
jobGradeList: jspb.Message.toObjectList(msg.getJobGradeList(),
|
|
1705
|
-
proto.
|
|
1977
|
+
proto.BaseJobGrade.toObject, includeInstance),
|
|
1706
1978
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1707
1979
|
};
|
|
1708
1980
|
|
|
@@ -1741,8 +2013,8 @@ proto.GetListJobGradeResponse.deserializeBinaryFromReader = function(msg, reader
|
|
|
1741
2013
|
var field = reader.getFieldNumber();
|
|
1742
2014
|
switch (field) {
|
|
1743
2015
|
case 1:
|
|
1744
|
-
var value = new proto.
|
|
1745
|
-
reader.readMessage(value,proto.
|
|
2016
|
+
var value = new proto.BaseJobGrade;
|
|
2017
|
+
reader.readMessage(value,proto.BaseJobGrade.deserializeBinaryFromReader);
|
|
1746
2018
|
msg.addJobGrade(value);
|
|
1747
2019
|
break;
|
|
1748
2020
|
case 2:
|
|
@@ -1784,7 +2056,7 @@ proto.GetListJobGradeResponse.serializeBinaryToWriter = function(message, writer
|
|
|
1784
2056
|
writer.writeRepeatedMessage(
|
|
1785
2057
|
1,
|
|
1786
2058
|
f,
|
|
1787
|
-
proto.
|
|
2059
|
+
proto.BaseJobGrade.serializeBinaryToWriter
|
|
1788
2060
|
);
|
|
1789
2061
|
}
|
|
1790
2062
|
f = message.getMeta();
|
|
@@ -1799,17 +2071,17 @@ proto.GetListJobGradeResponse.serializeBinaryToWriter = function(message, writer
|
|
|
1799
2071
|
|
|
1800
2072
|
|
|
1801
2073
|
/**
|
|
1802
|
-
* repeated
|
|
1803
|
-
* @return {!Array<!proto.
|
|
2074
|
+
* repeated BaseJobGrade job_grade = 1;
|
|
2075
|
+
* @return {!Array<!proto.BaseJobGrade>}
|
|
1804
2076
|
*/
|
|
1805
2077
|
proto.GetListJobGradeResponse.prototype.getJobGradeList = function() {
|
|
1806
|
-
return /** @type{!Array<!proto.
|
|
1807
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
2078
|
+
return /** @type{!Array<!proto.BaseJobGrade>} */ (
|
|
2079
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseJobGrade, 1));
|
|
1808
2080
|
};
|
|
1809
2081
|
|
|
1810
2082
|
|
|
1811
2083
|
/**
|
|
1812
|
-
* @param {!Array<!proto.
|
|
2084
|
+
* @param {!Array<!proto.BaseJobGrade>} value
|
|
1813
2085
|
* @return {!proto.GetListJobGradeResponse} returns this
|
|
1814
2086
|
*/
|
|
1815
2087
|
proto.GetListJobGradeResponse.prototype.setJobGradeList = function(value) {
|
|
@@ -1818,12 +2090,12 @@ proto.GetListJobGradeResponse.prototype.setJobGradeList = function(value) {
|
|
|
1818
2090
|
|
|
1819
2091
|
|
|
1820
2092
|
/**
|
|
1821
|
-
* @param {!proto.
|
|
2093
|
+
* @param {!proto.BaseJobGrade=} opt_value
|
|
1822
2094
|
* @param {number=} opt_index
|
|
1823
|
-
* @return {!proto.
|
|
2095
|
+
* @return {!proto.BaseJobGrade}
|
|
1824
2096
|
*/
|
|
1825
2097
|
proto.GetListJobGradeResponse.prototype.addJobGrade = function(opt_value, opt_index) {
|
|
1826
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
2098
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseJobGrade, opt_index);
|
|
1827
2099
|
};
|
|
1828
2100
|
|
|
1829
2101
|
|