@aldiokta/protocgen 1.0.51 → 1.0.52
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
CHANGED
|
@@ -324,11 +324,12 @@ proto.PurchasingGroup.toObject = function(includeInstance, msg) {
|
|
|
324
324
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
325
325
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
326
326
|
telephone: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
327
|
+
telephoneNoPurchasingGroup: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
328
|
+
faxNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
329
|
+
extension: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
330
|
+
emailAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
331
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
332
|
+
code: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
332
333
|
};
|
|
333
334
|
|
|
334
335
|
if (includeInstance) {
|
|
@@ -379,21 +380,25 @@ proto.PurchasingGroup.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
379
380
|
break;
|
|
380
381
|
case 4:
|
|
381
382
|
var value = /** @type {string} */ (reader.readString());
|
|
382
|
-
msg.
|
|
383
|
+
msg.setTelephoneNoPurchasingGroup(value);
|
|
383
384
|
break;
|
|
384
385
|
case 5:
|
|
386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
387
|
+
msg.setFaxNumber(value);
|
|
388
|
+
break;
|
|
389
|
+
case 6:
|
|
385
390
|
var value = /** @type {number} */ (reader.readInt64());
|
|
386
391
|
msg.setExtension$(value);
|
|
387
392
|
break;
|
|
388
|
-
case
|
|
393
|
+
case 7:
|
|
389
394
|
var value = /** @type {string} */ (reader.readString());
|
|
390
395
|
msg.setEmailAddress(value);
|
|
391
396
|
break;
|
|
392
|
-
case
|
|
397
|
+
case 8:
|
|
393
398
|
var value = /** @type {string} */ (reader.readString());
|
|
394
399
|
msg.setCompaniesReferencesId(value);
|
|
395
400
|
break;
|
|
396
|
-
case
|
|
401
|
+
case 9:
|
|
397
402
|
var value = /** @type {string} */ (reader.readString());
|
|
398
403
|
msg.setCode(value);
|
|
399
404
|
break;
|
|
@@ -447,38 +452,45 @@ proto.PurchasingGroup.serializeBinaryToWriter = function(message, writer) {
|
|
|
447
452
|
f
|
|
448
453
|
);
|
|
449
454
|
}
|
|
450
|
-
f = message.
|
|
455
|
+
f = message.getTelephoneNoPurchasingGroup();
|
|
451
456
|
if (f.length > 0) {
|
|
452
457
|
writer.writeString(
|
|
453
458
|
4,
|
|
454
459
|
f
|
|
455
460
|
);
|
|
456
461
|
}
|
|
462
|
+
f = message.getFaxNumber();
|
|
463
|
+
if (f.length > 0) {
|
|
464
|
+
writer.writeString(
|
|
465
|
+
5,
|
|
466
|
+
f
|
|
467
|
+
);
|
|
468
|
+
}
|
|
457
469
|
f = message.getExtension$();
|
|
458
470
|
if (f !== 0) {
|
|
459
471
|
writer.writeInt64(
|
|
460
|
-
|
|
472
|
+
6,
|
|
461
473
|
f
|
|
462
474
|
);
|
|
463
475
|
}
|
|
464
476
|
f = message.getEmailAddress();
|
|
465
477
|
if (f.length > 0) {
|
|
466
478
|
writer.writeString(
|
|
467
|
-
|
|
479
|
+
7,
|
|
468
480
|
f
|
|
469
481
|
);
|
|
470
482
|
}
|
|
471
483
|
f = message.getCompaniesReferencesId();
|
|
472
484
|
if (f.length > 0) {
|
|
473
485
|
writer.writeString(
|
|
474
|
-
|
|
486
|
+
8,
|
|
475
487
|
f
|
|
476
488
|
);
|
|
477
489
|
}
|
|
478
490
|
f = message.getCode();
|
|
479
491
|
if (f.length > 0) {
|
|
480
492
|
writer.writeString(
|
|
481
|
-
|
|
493
|
+
9,
|
|
482
494
|
f
|
|
483
495
|
);
|
|
484
496
|
}
|
|
@@ -540,10 +552,10 @@ proto.PurchasingGroup.prototype.setTelephone = function(value) {
|
|
|
540
552
|
|
|
541
553
|
|
|
542
554
|
/**
|
|
543
|
-
* optional string
|
|
555
|
+
* optional string telephone_no_purchasing_group = 4;
|
|
544
556
|
* @return {string}
|
|
545
557
|
*/
|
|
546
|
-
proto.PurchasingGroup.prototype.
|
|
558
|
+
proto.PurchasingGroup.prototype.getTelephoneNoPurchasingGroup = function() {
|
|
547
559
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
548
560
|
};
|
|
549
561
|
|
|
@@ -552,17 +564,35 @@ proto.PurchasingGroup.prototype.getFaxNumber = function() {
|
|
|
552
564
|
* @param {string} value
|
|
553
565
|
* @return {!proto.PurchasingGroup} returns this
|
|
554
566
|
*/
|
|
555
|
-
proto.PurchasingGroup.prototype.
|
|
567
|
+
proto.PurchasingGroup.prototype.setTelephoneNoPurchasingGroup = function(value) {
|
|
556
568
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
557
569
|
};
|
|
558
570
|
|
|
559
571
|
|
|
560
572
|
/**
|
|
561
|
-
* optional
|
|
573
|
+
* optional string fax_number = 5;
|
|
574
|
+
* @return {string}
|
|
575
|
+
*/
|
|
576
|
+
proto.PurchasingGroup.prototype.getFaxNumber = function() {
|
|
577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @param {string} value
|
|
583
|
+
* @return {!proto.PurchasingGroup} returns this
|
|
584
|
+
*/
|
|
585
|
+
proto.PurchasingGroup.prototype.setFaxNumber = function(value) {
|
|
586
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* optional int64 extension = 6;
|
|
562
592
|
* @return {number}
|
|
563
593
|
*/
|
|
564
594
|
proto.PurchasingGroup.prototype.getExtension$ = function() {
|
|
565
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
595
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
566
596
|
};
|
|
567
597
|
|
|
568
598
|
|
|
@@ -571,16 +601,16 @@ proto.PurchasingGroup.prototype.getExtension$ = function() {
|
|
|
571
601
|
* @return {!proto.PurchasingGroup} returns this
|
|
572
602
|
*/
|
|
573
603
|
proto.PurchasingGroup.prototype.setExtension$ = function(value) {
|
|
574
|
-
return jspb.Message.setProto3IntField(this,
|
|
604
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
575
605
|
};
|
|
576
606
|
|
|
577
607
|
|
|
578
608
|
/**
|
|
579
|
-
* optional string email_address =
|
|
609
|
+
* optional string email_address = 7;
|
|
580
610
|
* @return {string}
|
|
581
611
|
*/
|
|
582
612
|
proto.PurchasingGroup.prototype.getEmailAddress = function() {
|
|
583
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
584
614
|
};
|
|
585
615
|
|
|
586
616
|
|
|
@@ -589,16 +619,16 @@ proto.PurchasingGroup.prototype.getEmailAddress = function() {
|
|
|
589
619
|
* @return {!proto.PurchasingGroup} returns this
|
|
590
620
|
*/
|
|
591
621
|
proto.PurchasingGroup.prototype.setEmailAddress = function(value) {
|
|
592
|
-
return jspb.Message.setProto3StringField(this,
|
|
622
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
593
623
|
};
|
|
594
624
|
|
|
595
625
|
|
|
596
626
|
/**
|
|
597
|
-
* optional string companies_references_id =
|
|
627
|
+
* optional string companies_references_id = 8;
|
|
598
628
|
* @return {string}
|
|
599
629
|
*/
|
|
600
630
|
proto.PurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
601
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
631
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
602
632
|
};
|
|
603
633
|
|
|
604
634
|
|
|
@@ -607,16 +637,16 @@ proto.PurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
|
607
637
|
* @return {!proto.PurchasingGroup} returns this
|
|
608
638
|
*/
|
|
609
639
|
proto.PurchasingGroup.prototype.setCompaniesReferencesId = function(value) {
|
|
610
|
-
return jspb.Message.setProto3StringField(this,
|
|
640
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
611
641
|
};
|
|
612
642
|
|
|
613
643
|
|
|
614
644
|
/**
|
|
615
|
-
* optional string code =
|
|
645
|
+
* optional string code = 9;
|
|
616
646
|
* @return {string}
|
|
617
647
|
*/
|
|
618
648
|
proto.PurchasingGroup.prototype.getCode = function() {
|
|
619
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
620
650
|
};
|
|
621
651
|
|
|
622
652
|
|
|
@@ -625,7 +655,7 @@ proto.PurchasingGroup.prototype.getCode = function() {
|
|
|
625
655
|
* @return {!proto.PurchasingGroup} returns this
|
|
626
656
|
*/
|
|
627
657
|
proto.PurchasingGroup.prototype.setCode = function(value) {
|
|
628
|
-
return jspb.Message.setProto3StringField(this,
|
|
658
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
629
659
|
};
|
|
630
660
|
|
|
631
661
|
|
|
@@ -664,12 +694,13 @@ proto.BasePurchasingGroup.toObject = function(includeInstance, msg) {
|
|
|
664
694
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
665
695
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
666
696
|
telephone: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
697
|
+
telephoneNoPurchasingGroup: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
698
|
+
faxNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
699
|
+
extension: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
700
|
+
emailAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
701
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
671
702
|
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.Company.toObject(includeInstance, f),
|
|
672
|
-
code: jspb.Message.getFieldWithDefault(msg,
|
|
703
|
+
code: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
673
704
|
};
|
|
674
705
|
|
|
675
706
|
if (includeInstance) {
|
|
@@ -720,26 +751,30 @@ proto.BasePurchasingGroup.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
720
751
|
break;
|
|
721
752
|
case 4:
|
|
722
753
|
var value = /** @type {string} */ (reader.readString());
|
|
723
|
-
msg.
|
|
754
|
+
msg.setTelephoneNoPurchasingGroup(value);
|
|
724
755
|
break;
|
|
725
756
|
case 5:
|
|
757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
758
|
+
msg.setFaxNumber(value);
|
|
759
|
+
break;
|
|
760
|
+
case 6:
|
|
726
761
|
var value = /** @type {number} */ (reader.readInt64());
|
|
727
762
|
msg.setExtension$(value);
|
|
728
763
|
break;
|
|
729
|
-
case
|
|
764
|
+
case 7:
|
|
730
765
|
var value = /** @type {string} */ (reader.readString());
|
|
731
766
|
msg.setEmailAddress(value);
|
|
732
767
|
break;
|
|
733
|
-
case
|
|
768
|
+
case 8:
|
|
734
769
|
var value = /** @type {string} */ (reader.readString());
|
|
735
770
|
msg.setCompaniesReferencesId(value);
|
|
736
771
|
break;
|
|
737
|
-
case
|
|
772
|
+
case 9:
|
|
738
773
|
var value = new prisca_v1_core_company_company_pb.Company;
|
|
739
774
|
reader.readMessage(value,prisca_v1_core_company_company_pb.Company.deserializeBinaryFromReader);
|
|
740
775
|
msg.setCompany(value);
|
|
741
776
|
break;
|
|
742
|
-
case
|
|
777
|
+
case 10:
|
|
743
778
|
var value = /** @type {string} */ (reader.readString());
|
|
744
779
|
msg.setCode(value);
|
|
745
780
|
break;
|
|
@@ -793,38 +828,45 @@ proto.BasePurchasingGroup.serializeBinaryToWriter = function(message, writer) {
|
|
|
793
828
|
f
|
|
794
829
|
);
|
|
795
830
|
}
|
|
796
|
-
f = message.
|
|
831
|
+
f = message.getTelephoneNoPurchasingGroup();
|
|
797
832
|
if (f.length > 0) {
|
|
798
833
|
writer.writeString(
|
|
799
834
|
4,
|
|
800
835
|
f
|
|
801
836
|
);
|
|
802
837
|
}
|
|
838
|
+
f = message.getFaxNumber();
|
|
839
|
+
if (f.length > 0) {
|
|
840
|
+
writer.writeString(
|
|
841
|
+
5,
|
|
842
|
+
f
|
|
843
|
+
);
|
|
844
|
+
}
|
|
803
845
|
f = message.getExtension$();
|
|
804
846
|
if (f !== 0) {
|
|
805
847
|
writer.writeInt64(
|
|
806
|
-
|
|
848
|
+
6,
|
|
807
849
|
f
|
|
808
850
|
);
|
|
809
851
|
}
|
|
810
852
|
f = message.getEmailAddress();
|
|
811
853
|
if (f.length > 0) {
|
|
812
854
|
writer.writeString(
|
|
813
|
-
|
|
855
|
+
7,
|
|
814
856
|
f
|
|
815
857
|
);
|
|
816
858
|
}
|
|
817
859
|
f = message.getCompaniesReferencesId();
|
|
818
860
|
if (f.length > 0) {
|
|
819
861
|
writer.writeString(
|
|
820
|
-
|
|
862
|
+
8,
|
|
821
863
|
f
|
|
822
864
|
);
|
|
823
865
|
}
|
|
824
866
|
f = message.getCompany();
|
|
825
867
|
if (f != null) {
|
|
826
868
|
writer.writeMessage(
|
|
827
|
-
|
|
869
|
+
9,
|
|
828
870
|
f,
|
|
829
871
|
prisca_v1_core_company_company_pb.Company.serializeBinaryToWriter
|
|
830
872
|
);
|
|
@@ -832,7 +874,7 @@ proto.BasePurchasingGroup.serializeBinaryToWriter = function(message, writer) {
|
|
|
832
874
|
f = message.getCode();
|
|
833
875
|
if (f.length > 0) {
|
|
834
876
|
writer.writeString(
|
|
835
|
-
|
|
877
|
+
10,
|
|
836
878
|
f
|
|
837
879
|
);
|
|
838
880
|
}
|
|
@@ -894,10 +936,10 @@ proto.BasePurchasingGroup.prototype.setTelephone = function(value) {
|
|
|
894
936
|
|
|
895
937
|
|
|
896
938
|
/**
|
|
897
|
-
* optional string
|
|
939
|
+
* optional string telephone_no_purchasing_group = 4;
|
|
898
940
|
* @return {string}
|
|
899
941
|
*/
|
|
900
|
-
proto.BasePurchasingGroup.prototype.
|
|
942
|
+
proto.BasePurchasingGroup.prototype.getTelephoneNoPurchasingGroup = function() {
|
|
901
943
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
902
944
|
};
|
|
903
945
|
|
|
@@ -906,17 +948,35 @@ proto.BasePurchasingGroup.prototype.getFaxNumber = function() {
|
|
|
906
948
|
* @param {string} value
|
|
907
949
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
908
950
|
*/
|
|
909
|
-
proto.BasePurchasingGroup.prototype.
|
|
951
|
+
proto.BasePurchasingGroup.prototype.setTelephoneNoPurchasingGroup = function(value) {
|
|
910
952
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
911
953
|
};
|
|
912
954
|
|
|
913
955
|
|
|
914
956
|
/**
|
|
915
|
-
* optional
|
|
957
|
+
* optional string fax_number = 5;
|
|
958
|
+
* @return {string}
|
|
959
|
+
*/
|
|
960
|
+
proto.BasePurchasingGroup.prototype.getFaxNumber = function() {
|
|
961
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @param {string} value
|
|
967
|
+
* @return {!proto.BasePurchasingGroup} returns this
|
|
968
|
+
*/
|
|
969
|
+
proto.BasePurchasingGroup.prototype.setFaxNumber = function(value) {
|
|
970
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* optional int64 extension = 6;
|
|
916
976
|
* @return {number}
|
|
917
977
|
*/
|
|
918
978
|
proto.BasePurchasingGroup.prototype.getExtension$ = function() {
|
|
919
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
979
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
920
980
|
};
|
|
921
981
|
|
|
922
982
|
|
|
@@ -925,16 +985,16 @@ proto.BasePurchasingGroup.prototype.getExtension$ = function() {
|
|
|
925
985
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
926
986
|
*/
|
|
927
987
|
proto.BasePurchasingGroup.prototype.setExtension$ = function(value) {
|
|
928
|
-
return jspb.Message.setProto3IntField(this,
|
|
988
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
929
989
|
};
|
|
930
990
|
|
|
931
991
|
|
|
932
992
|
/**
|
|
933
|
-
* optional string email_address =
|
|
993
|
+
* optional string email_address = 7;
|
|
934
994
|
* @return {string}
|
|
935
995
|
*/
|
|
936
996
|
proto.BasePurchasingGroup.prototype.getEmailAddress = function() {
|
|
937
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
938
998
|
};
|
|
939
999
|
|
|
940
1000
|
|
|
@@ -943,16 +1003,16 @@ proto.BasePurchasingGroup.prototype.getEmailAddress = function() {
|
|
|
943
1003
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
944
1004
|
*/
|
|
945
1005
|
proto.BasePurchasingGroup.prototype.setEmailAddress = function(value) {
|
|
946
|
-
return jspb.Message.setProto3StringField(this,
|
|
1006
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
947
1007
|
};
|
|
948
1008
|
|
|
949
1009
|
|
|
950
1010
|
/**
|
|
951
|
-
* optional string companies_references_id =
|
|
1011
|
+
* optional string companies_references_id = 8;
|
|
952
1012
|
* @return {string}
|
|
953
1013
|
*/
|
|
954
1014
|
proto.BasePurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
955
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
956
1016
|
};
|
|
957
1017
|
|
|
958
1018
|
|
|
@@ -961,17 +1021,17 @@ proto.BasePurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
|
961
1021
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
962
1022
|
*/
|
|
963
1023
|
proto.BasePurchasingGroup.prototype.setCompaniesReferencesId = function(value) {
|
|
964
|
-
return jspb.Message.setProto3StringField(this,
|
|
1024
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
965
1025
|
};
|
|
966
1026
|
|
|
967
1027
|
|
|
968
1028
|
/**
|
|
969
|
-
* optional Company company =
|
|
1029
|
+
* optional Company company = 9;
|
|
970
1030
|
* @return {?proto.Company}
|
|
971
1031
|
*/
|
|
972
1032
|
proto.BasePurchasingGroup.prototype.getCompany = function() {
|
|
973
1033
|
return /** @type{?proto.Company} */ (
|
|
974
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.Company,
|
|
1034
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.Company, 9));
|
|
975
1035
|
};
|
|
976
1036
|
|
|
977
1037
|
|
|
@@ -980,7 +1040,7 @@ proto.BasePurchasingGroup.prototype.getCompany = function() {
|
|
|
980
1040
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
981
1041
|
*/
|
|
982
1042
|
proto.BasePurchasingGroup.prototype.setCompany = function(value) {
|
|
983
|
-
return jspb.Message.setWrapperField(this,
|
|
1043
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
984
1044
|
};
|
|
985
1045
|
|
|
986
1046
|
|
|
@@ -998,16 +1058,16 @@ proto.BasePurchasingGroup.prototype.clearCompany = function() {
|
|
|
998
1058
|
* @return {boolean}
|
|
999
1059
|
*/
|
|
1000
1060
|
proto.BasePurchasingGroup.prototype.hasCompany = function() {
|
|
1001
|
-
return jspb.Message.getField(this,
|
|
1061
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1002
1062
|
};
|
|
1003
1063
|
|
|
1004
1064
|
|
|
1005
1065
|
/**
|
|
1006
|
-
* optional string code =
|
|
1066
|
+
* optional string code = 10;
|
|
1007
1067
|
* @return {string}
|
|
1008
1068
|
*/
|
|
1009
1069
|
proto.BasePurchasingGroup.prototype.getCode = function() {
|
|
1010
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1011
1071
|
};
|
|
1012
1072
|
|
|
1013
1073
|
|
|
@@ -1016,7 +1076,7 @@ proto.BasePurchasingGroup.prototype.getCode = function() {
|
|
|
1016
1076
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
1017
1077
|
*/
|
|
1018
1078
|
proto.BasePurchasingGroup.prototype.setCode = function(value) {
|
|
1019
|
-
return jspb.Message.setProto3StringField(this,
|
|
1079
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1020
1080
|
};
|
|
1021
1081
|
|
|
1022
1082
|
|