@aldiokta/protocgen 1.1.20 → 1.1.21
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/bidding/bidding_grpc_pb.js +69 -13
- package/prisca/v1/bidding/bidding_pb.js +833 -114
- package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +31 -1
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +373 -403
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
- package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
- package/prisca/v1/valuation/valuation_pb.js +7729 -0
|
@@ -38,6 +38,7 @@ goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
|
38
38
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
39
39
|
goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
|
|
40
40
|
goog.exportSymbol('proto.Bidding', null, global);
|
|
41
|
+
goog.exportSymbol('proto.CreateBiddingRequest', null, global);
|
|
41
42
|
goog.exportSymbol('proto.GetBiddingByIdRequest', null, global);
|
|
42
43
|
goog.exportSymbol('proto.GetBiddingByIdResponse', null, global);
|
|
43
44
|
goog.exportSymbol('proto.GetBiddingDetailResponse', null, global);
|
|
@@ -50,10 +51,13 @@ goog.exportSymbol('proto.Quotation', null, global);
|
|
|
50
51
|
goog.exportSymbol('proto.RequestBidding', null, global);
|
|
51
52
|
goog.exportSymbol('proto.RequestBiddingBase', null, global);
|
|
52
53
|
goog.exportSymbol('proto.RequestGetListBidding', null, global);
|
|
54
|
+
goog.exportSymbol('proto.RequestPO', null, global);
|
|
53
55
|
goog.exportSymbol('proto.ResponseBidding', null, global);
|
|
54
56
|
goog.exportSymbol('proto.ResponseDetailBiddingByReferences', null, global);
|
|
55
57
|
goog.exportSymbol('proto.ResponseGetListBidding', null, global);
|
|
58
|
+
goog.exportSymbol('proto.ResponseRequestPo', null, global);
|
|
56
59
|
goog.exportSymbol('proto.UpdateBiddingReq', null, global);
|
|
60
|
+
goog.exportSymbol('proto.UpdateBiddingStatusReq', null, global);
|
|
57
61
|
/**
|
|
58
62
|
* Generated by JsPbCodeGenerator.
|
|
59
63
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -117,6 +121,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
117
121
|
*/
|
|
118
122
|
proto.RequestBiddingBase.displayName = 'proto.RequestBiddingBase';
|
|
119
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Generated by JsPbCodeGenerator.
|
|
126
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
127
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
128
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
129
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
130
|
+
* valid.
|
|
131
|
+
* @extends {jspb.Message}
|
|
132
|
+
* @constructor
|
|
133
|
+
*/
|
|
134
|
+
proto.UpdateBiddingStatusReq = function(opt_data) {
|
|
135
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
136
|
+
};
|
|
137
|
+
goog.inherits(proto.UpdateBiddingStatusReq, jspb.Message);
|
|
138
|
+
if (goog.DEBUG && !COMPILED) {
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @override
|
|
142
|
+
*/
|
|
143
|
+
proto.UpdateBiddingStatusReq.displayName = 'proto.UpdateBiddingStatusReq';
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Generated by JsPbCodeGenerator.
|
|
147
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
148
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
149
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
150
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
151
|
+
* valid.
|
|
152
|
+
* @extends {jspb.Message}
|
|
153
|
+
* @constructor
|
|
154
|
+
*/
|
|
155
|
+
proto.CreateBiddingRequest = function(opt_data) {
|
|
156
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
157
|
+
};
|
|
158
|
+
goog.inherits(proto.CreateBiddingRequest, jspb.Message);
|
|
159
|
+
if (goog.DEBUG && !COMPILED) {
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* @override
|
|
163
|
+
*/
|
|
164
|
+
proto.CreateBiddingRequest.displayName = 'proto.CreateBiddingRequest';
|
|
165
|
+
}
|
|
120
166
|
/**
|
|
121
167
|
* Generated by JsPbCodeGenerator.
|
|
122
168
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -411,13 +457,55 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
411
457
|
*/
|
|
412
458
|
proto.GetQuotationVendorPreload.displayName = 'proto.GetQuotationVendorPreload';
|
|
413
459
|
}
|
|
460
|
+
/**
|
|
461
|
+
* Generated by JsPbCodeGenerator.
|
|
462
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
463
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
464
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
465
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
466
|
+
* valid.
|
|
467
|
+
* @extends {jspb.Message}
|
|
468
|
+
* @constructor
|
|
469
|
+
*/
|
|
470
|
+
proto.RequestPO = function(opt_data) {
|
|
471
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
472
|
+
};
|
|
473
|
+
goog.inherits(proto.RequestPO, jspb.Message);
|
|
474
|
+
if (goog.DEBUG && !COMPILED) {
|
|
475
|
+
/**
|
|
476
|
+
* @public
|
|
477
|
+
* @override
|
|
478
|
+
*/
|
|
479
|
+
proto.RequestPO.displayName = 'proto.RequestPO';
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Generated by JsPbCodeGenerator.
|
|
483
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
484
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
485
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
486
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
487
|
+
* valid.
|
|
488
|
+
* @extends {jspb.Message}
|
|
489
|
+
* @constructor
|
|
490
|
+
*/
|
|
491
|
+
proto.ResponseRequestPo = function(opt_data) {
|
|
492
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
493
|
+
};
|
|
494
|
+
goog.inherits(proto.ResponseRequestPo, jspb.Message);
|
|
495
|
+
if (goog.DEBUG && !COMPILED) {
|
|
496
|
+
/**
|
|
497
|
+
* @public
|
|
498
|
+
* @override
|
|
499
|
+
*/
|
|
500
|
+
proto.ResponseRequestPo.displayName = 'proto.ResponseRequestPo';
|
|
501
|
+
}
|
|
414
502
|
|
|
415
503
|
/**
|
|
416
504
|
* List of repeated fields within this message type.
|
|
417
505
|
* @private {!Array<number>}
|
|
418
506
|
* @const
|
|
419
507
|
*/
|
|
420
|
-
proto.Quotation.repeatedFields_ = [
|
|
508
|
+
proto.Quotation.repeatedFields_ = [29];
|
|
421
509
|
|
|
422
510
|
|
|
423
511
|
|
|
@@ -469,21 +557,23 @@ deliveryDate: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
|
469
557
|
deliveryPoint: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
470
558
|
vendorSource: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
471
559
|
setWinner: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
560
|
+
isScored: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
561
|
+
notesForVendor: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
562
|
+
termOfCondition: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
563
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
564
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
565
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
566
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
567
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
568
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
480
569
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
481
570
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
482
571
|
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
483
572
|
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
484
573
|
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
485
|
-
visible: jspb.Message.getBooleanFieldWithDefault(msg,
|
|
486
|
-
bidding: (f = msg.getBidding()) && proto.Bidding.toObject(includeInstance, f)
|
|
574
|
+
visible: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
|
|
575
|
+
bidding: (f = msg.getBidding()) && proto.Bidding.toObject(includeInstance, f),
|
|
576
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 35, "")
|
|
487
577
|
};
|
|
488
578
|
|
|
489
579
|
if (includeInstance) {
|
|
@@ -597,66 +687,74 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
597
687
|
msg.setSetWinner(value);
|
|
598
688
|
break;
|
|
599
689
|
case 20:
|
|
690
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
691
|
+
msg.setIsScored(value);
|
|
692
|
+
break;
|
|
693
|
+
case 21:
|
|
600
694
|
var value = /** @type {string} */ (reader.readString());
|
|
601
695
|
msg.setNotesForVendor(value);
|
|
602
696
|
break;
|
|
603
|
-
case
|
|
697
|
+
case 22:
|
|
604
698
|
var value = /** @type {string} */ (reader.readString());
|
|
605
699
|
msg.setTermOfCondition(value);
|
|
606
700
|
break;
|
|
607
|
-
case
|
|
701
|
+
case 23:
|
|
608
702
|
var value = /** @type {string} */ (reader.readString());
|
|
609
703
|
msg.setCustomTransaction(value);
|
|
610
704
|
break;
|
|
611
|
-
case
|
|
705
|
+
case 24:
|
|
612
706
|
var value = /** @type {string} */ (reader.readString());
|
|
613
707
|
msg.setReferencesId(value);
|
|
614
708
|
break;
|
|
615
|
-
case
|
|
709
|
+
case 25:
|
|
616
710
|
var value = /** @type {string} */ (reader.readString());
|
|
617
711
|
msg.setCreatedBy(value);
|
|
618
712
|
break;
|
|
619
|
-
case
|
|
713
|
+
case 26:
|
|
620
714
|
var value = /** @type {string} */ (reader.readString());
|
|
621
715
|
msg.setUpdatedBy(value);
|
|
622
716
|
break;
|
|
623
|
-
case
|
|
717
|
+
case 27:
|
|
624
718
|
var value = /** @type {string} */ (reader.readString());
|
|
625
719
|
msg.setCreatedAt(value);
|
|
626
720
|
break;
|
|
627
|
-
case
|
|
721
|
+
case 28:
|
|
628
722
|
var value = /** @type {string} */ (reader.readString());
|
|
629
723
|
msg.setUpdatedAt(value);
|
|
630
724
|
break;
|
|
631
|
-
case
|
|
725
|
+
case 29:
|
|
632
726
|
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
|
|
633
727
|
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
|
|
634
728
|
msg.addItemTransactions(value);
|
|
635
729
|
break;
|
|
636
|
-
case
|
|
730
|
+
case 30:
|
|
637
731
|
var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
|
|
638
732
|
reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
|
|
639
733
|
msg.setVendor(value);
|
|
640
734
|
break;
|
|
641
|
-
case
|
|
735
|
+
case 31:
|
|
642
736
|
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
643
737
|
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
644
738
|
msg.setCreatedByEmployee(value);
|
|
645
739
|
break;
|
|
646
|
-
case
|
|
740
|
+
case 32:
|
|
647
741
|
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
648
742
|
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
649
743
|
msg.setUpdatedByEmployee(value);
|
|
650
744
|
break;
|
|
651
|
-
case
|
|
745
|
+
case 33:
|
|
652
746
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
653
747
|
msg.setVisible(value);
|
|
654
748
|
break;
|
|
655
|
-
case
|
|
749
|
+
case 34:
|
|
656
750
|
var value = new proto.Bidding;
|
|
657
751
|
reader.readMessage(value,proto.Bidding.deserializeBinaryFromReader);
|
|
658
752
|
msg.setBidding(value);
|
|
659
753
|
break;
|
|
754
|
+
case 35:
|
|
755
|
+
var value = /** @type {string} */ (reader.readString());
|
|
756
|
+
msg.setCompaniesReferencesId(value);
|
|
757
|
+
break;
|
|
660
758
|
default:
|
|
661
759
|
reader.skipField();
|
|
662
760
|
break;
|
|
@@ -819,66 +917,73 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
819
917
|
f
|
|
820
918
|
);
|
|
821
919
|
}
|
|
920
|
+
f = message.getIsScored();
|
|
921
|
+
if (f) {
|
|
922
|
+
writer.writeBool(
|
|
923
|
+
20,
|
|
924
|
+
f
|
|
925
|
+
);
|
|
926
|
+
}
|
|
822
927
|
f = message.getNotesForVendor();
|
|
823
928
|
if (f.length > 0) {
|
|
824
929
|
writer.writeString(
|
|
825
|
-
|
|
930
|
+
21,
|
|
826
931
|
f
|
|
827
932
|
);
|
|
828
933
|
}
|
|
829
934
|
f = message.getTermOfCondition();
|
|
830
935
|
if (f.length > 0) {
|
|
831
936
|
writer.writeString(
|
|
832
|
-
|
|
937
|
+
22,
|
|
833
938
|
f
|
|
834
939
|
);
|
|
835
940
|
}
|
|
836
941
|
f = message.getCustomTransaction();
|
|
837
942
|
if (f.length > 0) {
|
|
838
943
|
writer.writeString(
|
|
839
|
-
|
|
944
|
+
23,
|
|
840
945
|
f
|
|
841
946
|
);
|
|
842
947
|
}
|
|
843
948
|
f = message.getReferencesId();
|
|
844
949
|
if (f.length > 0) {
|
|
845
950
|
writer.writeString(
|
|
846
|
-
|
|
951
|
+
24,
|
|
847
952
|
f
|
|
848
953
|
);
|
|
849
954
|
}
|
|
850
955
|
f = message.getCreatedBy();
|
|
851
956
|
if (f.length > 0) {
|
|
852
957
|
writer.writeString(
|
|
853
|
-
|
|
958
|
+
25,
|
|
854
959
|
f
|
|
855
960
|
);
|
|
856
961
|
}
|
|
857
962
|
f = message.getUpdatedBy();
|
|
858
963
|
if (f.length > 0) {
|
|
859
964
|
writer.writeString(
|
|
860
|
-
|
|
965
|
+
26,
|
|
861
966
|
f
|
|
862
967
|
);
|
|
863
968
|
}
|
|
864
969
|
f = message.getCreatedAt();
|
|
865
970
|
if (f.length > 0) {
|
|
866
971
|
writer.writeString(
|
|
867
|
-
|
|
972
|
+
27,
|
|
868
973
|
f
|
|
869
974
|
);
|
|
870
975
|
}
|
|
871
976
|
f = message.getUpdatedAt();
|
|
872
977
|
if (f.length > 0) {
|
|
873
978
|
writer.writeString(
|
|
874
|
-
|
|
979
|
+
28,
|
|
875
980
|
f
|
|
876
981
|
);
|
|
877
982
|
}
|
|
878
983
|
f = message.getItemTransactionsList();
|
|
879
984
|
if (f.length > 0) {
|
|
880
985
|
writer.writeRepeatedMessage(
|
|
881
|
-
|
|
986
|
+
29,
|
|
882
987
|
f,
|
|
883
988
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
|
|
884
989
|
);
|
|
@@ -886,7 +991,7 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
886
991
|
f = message.getVendor();
|
|
887
992
|
if (f != null) {
|
|
888
993
|
writer.writeMessage(
|
|
889
|
-
|
|
994
|
+
30,
|
|
890
995
|
f,
|
|
891
996
|
prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
|
|
892
997
|
);
|
|
@@ -894,7 +999,7 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
894
999
|
f = message.getCreatedByEmployee();
|
|
895
1000
|
if (f != null) {
|
|
896
1001
|
writer.writeMessage(
|
|
897
|
-
|
|
1002
|
+
31,
|
|
898
1003
|
f,
|
|
899
1004
|
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
900
1005
|
);
|
|
@@ -902,7 +1007,7 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
902
1007
|
f = message.getUpdatedByEmployee();
|
|
903
1008
|
if (f != null) {
|
|
904
1009
|
writer.writeMessage(
|
|
905
|
-
|
|
1010
|
+
32,
|
|
906
1011
|
f,
|
|
907
1012
|
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
908
1013
|
);
|
|
@@ -910,18 +1015,25 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
910
1015
|
f = message.getVisible();
|
|
911
1016
|
if (f) {
|
|
912
1017
|
writer.writeBool(
|
|
913
|
-
|
|
1018
|
+
33,
|
|
914
1019
|
f
|
|
915
1020
|
);
|
|
916
1021
|
}
|
|
917
1022
|
f = message.getBidding();
|
|
918
1023
|
if (f != null) {
|
|
919
1024
|
writer.writeMessage(
|
|
920
|
-
|
|
1025
|
+
34,
|
|
921
1026
|
f,
|
|
922
1027
|
proto.Bidding.serializeBinaryToWriter
|
|
923
1028
|
);
|
|
924
1029
|
}
|
|
1030
|
+
f = message.getCompaniesReferencesId();
|
|
1031
|
+
if (f.length > 0) {
|
|
1032
|
+
writer.writeString(
|
|
1033
|
+
35,
|
|
1034
|
+
f
|
|
1035
|
+
);
|
|
1036
|
+
}
|
|
925
1037
|
};
|
|
926
1038
|
|
|
927
1039
|
|
|
@@ -1268,11 +1380,29 @@ proto.Quotation.prototype.setSetWinner = function(value) {
|
|
|
1268
1380
|
|
|
1269
1381
|
|
|
1270
1382
|
/**
|
|
1271
|
-
* optional
|
|
1383
|
+
* optional bool is_scored = 20;
|
|
1384
|
+
* @return {boolean}
|
|
1385
|
+
*/
|
|
1386
|
+
proto.Quotation.prototype.getIsScored = function() {
|
|
1387
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false));
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* @param {boolean} value
|
|
1393
|
+
* @return {!proto.Quotation} returns this
|
|
1394
|
+
*/
|
|
1395
|
+
proto.Quotation.prototype.setIsScored = function(value) {
|
|
1396
|
+
return jspb.Message.setProto3BooleanField(this, 20, value);
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* optional string notes_for_vendor = 21;
|
|
1272
1402
|
* @return {string}
|
|
1273
1403
|
*/
|
|
1274
1404
|
proto.Quotation.prototype.getNotesForVendor = function() {
|
|
1275
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1405
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1276
1406
|
};
|
|
1277
1407
|
|
|
1278
1408
|
|
|
@@ -1281,16 +1411,16 @@ proto.Quotation.prototype.getNotesForVendor = function() {
|
|
|
1281
1411
|
* @return {!proto.Quotation} returns this
|
|
1282
1412
|
*/
|
|
1283
1413
|
proto.Quotation.prototype.setNotesForVendor = function(value) {
|
|
1284
|
-
return jspb.Message.setProto3StringField(this,
|
|
1414
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1285
1415
|
};
|
|
1286
1416
|
|
|
1287
1417
|
|
|
1288
1418
|
/**
|
|
1289
|
-
* optional string term_of_condition =
|
|
1419
|
+
* optional string term_of_condition = 22;
|
|
1290
1420
|
* @return {string}
|
|
1291
1421
|
*/
|
|
1292
1422
|
proto.Quotation.prototype.getTermOfCondition = function() {
|
|
1293
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1423
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
1294
1424
|
};
|
|
1295
1425
|
|
|
1296
1426
|
|
|
@@ -1299,16 +1429,16 @@ proto.Quotation.prototype.getTermOfCondition = function() {
|
|
|
1299
1429
|
* @return {!proto.Quotation} returns this
|
|
1300
1430
|
*/
|
|
1301
1431
|
proto.Quotation.prototype.setTermOfCondition = function(value) {
|
|
1302
|
-
return jspb.Message.setProto3StringField(this,
|
|
1432
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
1303
1433
|
};
|
|
1304
1434
|
|
|
1305
1435
|
|
|
1306
1436
|
/**
|
|
1307
|
-
* optional string custom_transaction =
|
|
1437
|
+
* optional string custom_transaction = 23;
|
|
1308
1438
|
* @return {string}
|
|
1309
1439
|
*/
|
|
1310
1440
|
proto.Quotation.prototype.getCustomTransaction = function() {
|
|
1311
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1312
1442
|
};
|
|
1313
1443
|
|
|
1314
1444
|
|
|
@@ -1317,16 +1447,16 @@ proto.Quotation.prototype.getCustomTransaction = function() {
|
|
|
1317
1447
|
* @return {!proto.Quotation} returns this
|
|
1318
1448
|
*/
|
|
1319
1449
|
proto.Quotation.prototype.setCustomTransaction = function(value) {
|
|
1320
|
-
return jspb.Message.setProto3StringField(this,
|
|
1450
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1321
1451
|
};
|
|
1322
1452
|
|
|
1323
1453
|
|
|
1324
1454
|
/**
|
|
1325
|
-
* optional string references_id =
|
|
1455
|
+
* optional string references_id = 24;
|
|
1326
1456
|
* @return {string}
|
|
1327
1457
|
*/
|
|
1328
1458
|
proto.Quotation.prototype.getReferencesId = function() {
|
|
1329
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1459
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
1330
1460
|
};
|
|
1331
1461
|
|
|
1332
1462
|
|
|
@@ -1335,16 +1465,16 @@ proto.Quotation.prototype.getReferencesId = function() {
|
|
|
1335
1465
|
* @return {!proto.Quotation} returns this
|
|
1336
1466
|
*/
|
|
1337
1467
|
proto.Quotation.prototype.setReferencesId = function(value) {
|
|
1338
|
-
return jspb.Message.setProto3StringField(this,
|
|
1468
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
1339
1469
|
};
|
|
1340
1470
|
|
|
1341
1471
|
|
|
1342
1472
|
/**
|
|
1343
|
-
* optional string created_by =
|
|
1473
|
+
* optional string created_by = 25;
|
|
1344
1474
|
* @return {string}
|
|
1345
1475
|
*/
|
|
1346
1476
|
proto.Quotation.prototype.getCreatedBy = function() {
|
|
1347
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1477
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
1348
1478
|
};
|
|
1349
1479
|
|
|
1350
1480
|
|
|
@@ -1353,16 +1483,16 @@ proto.Quotation.prototype.getCreatedBy = function() {
|
|
|
1353
1483
|
* @return {!proto.Quotation} returns this
|
|
1354
1484
|
*/
|
|
1355
1485
|
proto.Quotation.prototype.setCreatedBy = function(value) {
|
|
1356
|
-
return jspb.Message.setProto3StringField(this,
|
|
1486
|
+
return jspb.Message.setProto3StringField(this, 25, value);
|
|
1357
1487
|
};
|
|
1358
1488
|
|
|
1359
1489
|
|
|
1360
1490
|
/**
|
|
1361
|
-
* optional string updated_by =
|
|
1491
|
+
* optional string updated_by = 26;
|
|
1362
1492
|
* @return {string}
|
|
1363
1493
|
*/
|
|
1364
1494
|
proto.Quotation.prototype.getUpdatedBy = function() {
|
|
1365
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
1366
1496
|
};
|
|
1367
1497
|
|
|
1368
1498
|
|
|
@@ -1371,16 +1501,16 @@ proto.Quotation.prototype.getUpdatedBy = function() {
|
|
|
1371
1501
|
* @return {!proto.Quotation} returns this
|
|
1372
1502
|
*/
|
|
1373
1503
|
proto.Quotation.prototype.setUpdatedBy = function(value) {
|
|
1374
|
-
return jspb.Message.setProto3StringField(this,
|
|
1504
|
+
return jspb.Message.setProto3StringField(this, 26, value);
|
|
1375
1505
|
};
|
|
1376
1506
|
|
|
1377
1507
|
|
|
1378
1508
|
/**
|
|
1379
|
-
* optional string created_at =
|
|
1509
|
+
* optional string created_at = 27;
|
|
1380
1510
|
* @return {string}
|
|
1381
1511
|
*/
|
|
1382
1512
|
proto.Quotation.prototype.getCreatedAt = function() {
|
|
1383
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1513
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
1384
1514
|
};
|
|
1385
1515
|
|
|
1386
1516
|
|
|
@@ -1389,16 +1519,16 @@ proto.Quotation.prototype.getCreatedAt = function() {
|
|
|
1389
1519
|
* @return {!proto.Quotation} returns this
|
|
1390
1520
|
*/
|
|
1391
1521
|
proto.Quotation.prototype.setCreatedAt = function(value) {
|
|
1392
|
-
return jspb.Message.setProto3StringField(this,
|
|
1522
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
1393
1523
|
};
|
|
1394
1524
|
|
|
1395
1525
|
|
|
1396
1526
|
/**
|
|
1397
|
-
* optional string updated_at =
|
|
1527
|
+
* optional string updated_at = 28;
|
|
1398
1528
|
* @return {string}
|
|
1399
1529
|
*/
|
|
1400
1530
|
proto.Quotation.prototype.getUpdatedAt = function() {
|
|
1401
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1531
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
1402
1532
|
};
|
|
1403
1533
|
|
|
1404
1534
|
|
|
@@ -1407,17 +1537,17 @@ proto.Quotation.prototype.getUpdatedAt = function() {
|
|
|
1407
1537
|
* @return {!proto.Quotation} returns this
|
|
1408
1538
|
*/
|
|
1409
1539
|
proto.Quotation.prototype.setUpdatedAt = function(value) {
|
|
1410
|
-
return jspb.Message.setProto3StringField(this,
|
|
1540
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
1411
1541
|
};
|
|
1412
1542
|
|
|
1413
1543
|
|
|
1414
1544
|
/**
|
|
1415
|
-
* repeated ItemTransaction item_transactions =
|
|
1545
|
+
* repeated ItemTransaction item_transactions = 29;
|
|
1416
1546
|
* @return {!Array<!proto.ItemTransaction>}
|
|
1417
1547
|
*/
|
|
1418
1548
|
proto.Quotation.prototype.getItemTransactionsList = function() {
|
|
1419
1549
|
return /** @type{!Array<!proto.ItemTransaction>} */ (
|
|
1420
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction,
|
|
1550
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 29));
|
|
1421
1551
|
};
|
|
1422
1552
|
|
|
1423
1553
|
|
|
@@ -1426,7 +1556,7 @@ proto.Quotation.prototype.getItemTransactionsList = function() {
|
|
|
1426
1556
|
* @return {!proto.Quotation} returns this
|
|
1427
1557
|
*/
|
|
1428
1558
|
proto.Quotation.prototype.setItemTransactionsList = function(value) {
|
|
1429
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
1559
|
+
return jspb.Message.setRepeatedWrapperField(this, 29, value);
|
|
1430
1560
|
};
|
|
1431
1561
|
|
|
1432
1562
|
|
|
@@ -1436,7 +1566,7 @@ proto.Quotation.prototype.setItemTransactionsList = function(value) {
|
|
|
1436
1566
|
* @return {!proto.ItemTransaction}
|
|
1437
1567
|
*/
|
|
1438
1568
|
proto.Quotation.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
1439
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
1569
|
+
return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.ItemTransaction, opt_index);
|
|
1440
1570
|
};
|
|
1441
1571
|
|
|
1442
1572
|
|
|
@@ -1450,12 +1580,12 @@ proto.Quotation.prototype.clearItemTransactionsList = function() {
|
|
|
1450
1580
|
|
|
1451
1581
|
|
|
1452
1582
|
/**
|
|
1453
|
-
* optional Vendor vendor =
|
|
1583
|
+
* optional Vendor vendor = 30;
|
|
1454
1584
|
* @return {?proto.Vendor}
|
|
1455
1585
|
*/
|
|
1456
1586
|
proto.Quotation.prototype.getVendor = function() {
|
|
1457
1587
|
return /** @type{?proto.Vendor} */ (
|
|
1458
|
-
jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor,
|
|
1588
|
+
jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 30));
|
|
1459
1589
|
};
|
|
1460
1590
|
|
|
1461
1591
|
|
|
@@ -1464,7 +1594,7 @@ proto.Quotation.prototype.getVendor = function() {
|
|
|
1464
1594
|
* @return {!proto.Quotation} returns this
|
|
1465
1595
|
*/
|
|
1466
1596
|
proto.Quotation.prototype.setVendor = function(value) {
|
|
1467
|
-
return jspb.Message.setWrapperField(this,
|
|
1597
|
+
return jspb.Message.setWrapperField(this, 30, value);
|
|
1468
1598
|
};
|
|
1469
1599
|
|
|
1470
1600
|
|
|
@@ -1482,17 +1612,17 @@ proto.Quotation.prototype.clearVendor = function() {
|
|
|
1482
1612
|
* @return {boolean}
|
|
1483
1613
|
*/
|
|
1484
1614
|
proto.Quotation.prototype.hasVendor = function() {
|
|
1485
|
-
return jspb.Message.getField(this,
|
|
1615
|
+
return jspb.Message.getField(this, 30) != null;
|
|
1486
1616
|
};
|
|
1487
1617
|
|
|
1488
1618
|
|
|
1489
1619
|
/**
|
|
1490
|
-
* optional Employee created_by_employee =
|
|
1620
|
+
* optional Employee created_by_employee = 31;
|
|
1491
1621
|
* @return {?proto.Employee}
|
|
1492
1622
|
*/
|
|
1493
1623
|
proto.Quotation.prototype.getCreatedByEmployee = function() {
|
|
1494
1624
|
return /** @type{?proto.Employee} */ (
|
|
1495
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee,
|
|
1625
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 31));
|
|
1496
1626
|
};
|
|
1497
1627
|
|
|
1498
1628
|
|
|
@@ -1501,7 +1631,7 @@ proto.Quotation.prototype.getCreatedByEmployee = function() {
|
|
|
1501
1631
|
* @return {!proto.Quotation} returns this
|
|
1502
1632
|
*/
|
|
1503
1633
|
proto.Quotation.prototype.setCreatedByEmployee = function(value) {
|
|
1504
|
-
return jspb.Message.setWrapperField(this,
|
|
1634
|
+
return jspb.Message.setWrapperField(this, 31, value);
|
|
1505
1635
|
};
|
|
1506
1636
|
|
|
1507
1637
|
|
|
@@ -1519,17 +1649,17 @@ proto.Quotation.prototype.clearCreatedByEmployee = function() {
|
|
|
1519
1649
|
* @return {boolean}
|
|
1520
1650
|
*/
|
|
1521
1651
|
proto.Quotation.prototype.hasCreatedByEmployee = function() {
|
|
1522
|
-
return jspb.Message.getField(this,
|
|
1652
|
+
return jspb.Message.getField(this, 31) != null;
|
|
1523
1653
|
};
|
|
1524
1654
|
|
|
1525
1655
|
|
|
1526
1656
|
/**
|
|
1527
|
-
* optional Employee updated_by_employee =
|
|
1657
|
+
* optional Employee updated_by_employee = 32;
|
|
1528
1658
|
* @return {?proto.Employee}
|
|
1529
1659
|
*/
|
|
1530
1660
|
proto.Quotation.prototype.getUpdatedByEmployee = function() {
|
|
1531
1661
|
return /** @type{?proto.Employee} */ (
|
|
1532
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee,
|
|
1662
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 32));
|
|
1533
1663
|
};
|
|
1534
1664
|
|
|
1535
1665
|
|
|
@@ -1538,7 +1668,7 @@ proto.Quotation.prototype.getUpdatedByEmployee = function() {
|
|
|
1538
1668
|
* @return {!proto.Quotation} returns this
|
|
1539
1669
|
*/
|
|
1540
1670
|
proto.Quotation.prototype.setUpdatedByEmployee = function(value) {
|
|
1541
|
-
return jspb.Message.setWrapperField(this,
|
|
1671
|
+
return jspb.Message.setWrapperField(this, 32, value);
|
|
1542
1672
|
};
|
|
1543
1673
|
|
|
1544
1674
|
|
|
@@ -1556,16 +1686,16 @@ proto.Quotation.prototype.clearUpdatedByEmployee = function() {
|
|
|
1556
1686
|
* @return {boolean}
|
|
1557
1687
|
*/
|
|
1558
1688
|
proto.Quotation.prototype.hasUpdatedByEmployee = function() {
|
|
1559
|
-
return jspb.Message.getField(this,
|
|
1689
|
+
return jspb.Message.getField(this, 32) != null;
|
|
1560
1690
|
};
|
|
1561
1691
|
|
|
1562
1692
|
|
|
1563
1693
|
/**
|
|
1564
|
-
* optional bool visible =
|
|
1694
|
+
* optional bool visible = 33;
|
|
1565
1695
|
* @return {boolean}
|
|
1566
1696
|
*/
|
|
1567
1697
|
proto.Quotation.prototype.getVisible = function() {
|
|
1568
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
1698
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false));
|
|
1569
1699
|
};
|
|
1570
1700
|
|
|
1571
1701
|
|
|
@@ -1574,17 +1704,17 @@ proto.Quotation.prototype.getVisible = function() {
|
|
|
1574
1704
|
* @return {!proto.Quotation} returns this
|
|
1575
1705
|
*/
|
|
1576
1706
|
proto.Quotation.prototype.setVisible = function(value) {
|
|
1577
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
1707
|
+
return jspb.Message.setProto3BooleanField(this, 33, value);
|
|
1578
1708
|
};
|
|
1579
1709
|
|
|
1580
1710
|
|
|
1581
1711
|
/**
|
|
1582
|
-
* optional Bidding bidding =
|
|
1712
|
+
* optional Bidding bidding = 34;
|
|
1583
1713
|
* @return {?proto.Bidding}
|
|
1584
1714
|
*/
|
|
1585
1715
|
proto.Quotation.prototype.getBidding = function() {
|
|
1586
1716
|
return /** @type{?proto.Bidding} */ (
|
|
1587
|
-
jspb.Message.getWrapperField(this, proto.Bidding,
|
|
1717
|
+
jspb.Message.getWrapperField(this, proto.Bidding, 34));
|
|
1588
1718
|
};
|
|
1589
1719
|
|
|
1590
1720
|
|
|
@@ -1593,7 +1723,7 @@ proto.Quotation.prototype.getBidding = function() {
|
|
|
1593
1723
|
* @return {!proto.Quotation} returns this
|
|
1594
1724
|
*/
|
|
1595
1725
|
proto.Quotation.prototype.setBidding = function(value) {
|
|
1596
|
-
return jspb.Message.setWrapperField(this,
|
|
1726
|
+
return jspb.Message.setWrapperField(this, 34, value);
|
|
1597
1727
|
};
|
|
1598
1728
|
|
|
1599
1729
|
|
|
@@ -1611,7 +1741,25 @@ proto.Quotation.prototype.clearBidding = function() {
|
|
|
1611
1741
|
* @return {boolean}
|
|
1612
1742
|
*/
|
|
1613
1743
|
proto.Quotation.prototype.hasBidding = function() {
|
|
1614
|
-
return jspb.Message.getField(this,
|
|
1744
|
+
return jspb.Message.getField(this, 34) != null;
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* optional string companies_references_id = 35;
|
|
1750
|
+
* @return {string}
|
|
1751
|
+
*/
|
|
1752
|
+
proto.Quotation.prototype.getCompaniesReferencesId = function() {
|
|
1753
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* @param {string} value
|
|
1759
|
+
* @return {!proto.Quotation} returns this
|
|
1760
|
+
*/
|
|
1761
|
+
proto.Quotation.prototype.setCompaniesReferencesId = function(value) {
|
|
1762
|
+
return jspb.Message.setProto3StringField(this, 35, value);
|
|
1615
1763
|
};
|
|
1616
1764
|
|
|
1617
1765
|
|
|
@@ -3006,8 +3154,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3006
3154
|
* http://goto/soy-param-migration
|
|
3007
3155
|
* @return {!Object}
|
|
3008
3156
|
*/
|
|
3009
|
-
proto.
|
|
3010
|
-
return proto.
|
|
3157
|
+
proto.UpdateBiddingStatusReq.prototype.toObject = function(opt_includeInstance) {
|
|
3158
|
+
return proto.UpdateBiddingStatusReq.toObject(opt_includeInstance, this);
|
|
3011
3159
|
};
|
|
3012
3160
|
|
|
3013
3161
|
|
|
@@ -3016,13 +3164,14 @@ proto.RequestBidding.prototype.toObject = function(opt_includeInstance) {
|
|
|
3016
3164
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3017
3165
|
* the JSPB instance for transitional soy proto support:
|
|
3018
3166
|
* http://goto/soy-param-migration
|
|
3019
|
-
* @param {!proto.
|
|
3167
|
+
* @param {!proto.UpdateBiddingStatusReq} msg The msg instance to transform.
|
|
3020
3168
|
* @return {!Object}
|
|
3021
3169
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3022
3170
|
*/
|
|
3023
|
-
proto.
|
|
3171
|
+
proto.UpdateBiddingStatusReq.toObject = function(includeInstance, msg) {
|
|
3024
3172
|
var f, obj = {
|
|
3025
|
-
|
|
3173
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3174
|
+
status: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3026
3175
|
};
|
|
3027
3176
|
|
|
3028
3177
|
if (includeInstance) {
|
|
@@ -3036,23 +3185,23 @@ requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObje
|
|
|
3036
3185
|
/**
|
|
3037
3186
|
* Deserializes binary data (in protobuf wire format).
|
|
3038
3187
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3039
|
-
* @return {!proto.
|
|
3188
|
+
* @return {!proto.UpdateBiddingStatusReq}
|
|
3040
3189
|
*/
|
|
3041
|
-
proto.
|
|
3190
|
+
proto.UpdateBiddingStatusReq.deserializeBinary = function(bytes) {
|
|
3042
3191
|
var reader = new jspb.BinaryReader(bytes);
|
|
3043
|
-
var msg = new proto.
|
|
3044
|
-
return proto.
|
|
3192
|
+
var msg = new proto.UpdateBiddingStatusReq;
|
|
3193
|
+
return proto.UpdateBiddingStatusReq.deserializeBinaryFromReader(msg, reader);
|
|
3045
3194
|
};
|
|
3046
3195
|
|
|
3047
3196
|
|
|
3048
3197
|
/**
|
|
3049
3198
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3050
3199
|
* given reader into the given message object.
|
|
3051
|
-
* @param {!proto.
|
|
3200
|
+
* @param {!proto.UpdateBiddingStatusReq} msg The message object to deserialize into.
|
|
3052
3201
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3053
|
-
* @return {!proto.
|
|
3202
|
+
* @return {!proto.UpdateBiddingStatusReq}
|
|
3054
3203
|
*/
|
|
3055
|
-
proto.
|
|
3204
|
+
proto.UpdateBiddingStatusReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
3056
3205
|
while (reader.nextField()) {
|
|
3057
3206
|
if (reader.isEndGroup()) {
|
|
3058
3207
|
break;
|
|
@@ -3060,9 +3209,12 @@ proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3060
3209
|
var field = reader.getFieldNumber();
|
|
3061
3210
|
switch (field) {
|
|
3062
3211
|
case 1:
|
|
3063
|
-
var value =
|
|
3064
|
-
|
|
3065
|
-
|
|
3212
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3213
|
+
msg.setReferencesId(value);
|
|
3214
|
+
break;
|
|
3215
|
+
case 2:
|
|
3216
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3217
|
+
msg.setStatus(value);
|
|
3066
3218
|
break;
|
|
3067
3219
|
default:
|
|
3068
3220
|
reader.skipField();
|
|
@@ -3077,9 +3229,9 @@ proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3077
3229
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3078
3230
|
* @return {!Uint8Array}
|
|
3079
3231
|
*/
|
|
3080
|
-
proto.
|
|
3232
|
+
proto.UpdateBiddingStatusReq.prototype.serializeBinary = function() {
|
|
3081
3233
|
var writer = new jspb.BinaryWriter();
|
|
3082
|
-
proto.
|
|
3234
|
+
proto.UpdateBiddingStatusReq.serializeBinaryToWriter(this, writer);
|
|
3083
3235
|
return writer.getResultBuffer();
|
|
3084
3236
|
};
|
|
3085
3237
|
|
|
@@ -3087,30 +3239,316 @@ proto.RequestBidding.prototype.serializeBinary = function() {
|
|
|
3087
3239
|
/**
|
|
3088
3240
|
* Serializes the given message to binary data (in protobuf wire
|
|
3089
3241
|
* format), writing to the given BinaryWriter.
|
|
3090
|
-
* @param {!proto.
|
|
3242
|
+
* @param {!proto.UpdateBiddingStatusReq} message
|
|
3091
3243
|
* @param {!jspb.BinaryWriter} writer
|
|
3092
3244
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3093
3245
|
*/
|
|
3094
|
-
proto.
|
|
3246
|
+
proto.UpdateBiddingStatusReq.serializeBinaryToWriter = function(message, writer) {
|
|
3095
3247
|
var f = undefined;
|
|
3096
|
-
f = message.
|
|
3097
|
-
if (f
|
|
3098
|
-
writer.
|
|
3248
|
+
f = message.getReferencesId();
|
|
3249
|
+
if (f.length > 0) {
|
|
3250
|
+
writer.writeString(
|
|
3099
3251
|
1,
|
|
3100
|
-
f
|
|
3101
|
-
|
|
3252
|
+
f
|
|
3253
|
+
);
|
|
3254
|
+
}
|
|
3255
|
+
f = message.getStatus();
|
|
3256
|
+
if (f.length > 0) {
|
|
3257
|
+
writer.writeString(
|
|
3258
|
+
2,
|
|
3259
|
+
f
|
|
3102
3260
|
);
|
|
3103
3261
|
}
|
|
3104
3262
|
};
|
|
3105
3263
|
|
|
3106
3264
|
|
|
3107
3265
|
/**
|
|
3108
|
-
* optional
|
|
3109
|
-
* @return {
|
|
3266
|
+
* optional string references_id = 1;
|
|
3267
|
+
* @return {string}
|
|
3110
3268
|
*/
|
|
3111
|
-
proto.
|
|
3112
|
-
return /** @type{
|
|
3113
|
-
|
|
3269
|
+
proto.UpdateBiddingStatusReq.prototype.getReferencesId = function() {
|
|
3270
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* @param {string} value
|
|
3276
|
+
* @return {!proto.UpdateBiddingStatusReq} returns this
|
|
3277
|
+
*/
|
|
3278
|
+
proto.UpdateBiddingStatusReq.prototype.setReferencesId = function(value) {
|
|
3279
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3280
|
+
};
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
/**
|
|
3284
|
+
* optional string status = 2;
|
|
3285
|
+
* @return {string}
|
|
3286
|
+
*/
|
|
3287
|
+
proto.UpdateBiddingStatusReq.prototype.getStatus = function() {
|
|
3288
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* @param {string} value
|
|
3294
|
+
* @return {!proto.UpdateBiddingStatusReq} returns this
|
|
3295
|
+
*/
|
|
3296
|
+
proto.UpdateBiddingStatusReq.prototype.setStatus = function(value) {
|
|
3297
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3298
|
+
};
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3305
|
+
/**
|
|
3306
|
+
* Creates an object representation of this proto.
|
|
3307
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3308
|
+
* Optional fields that are not set will be set to undefined.
|
|
3309
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3310
|
+
* For the list of reserved names please see:
|
|
3311
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3312
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3313
|
+
* JSPB instance for transitional soy proto support:
|
|
3314
|
+
* http://goto/soy-param-migration
|
|
3315
|
+
* @return {!Object}
|
|
3316
|
+
*/
|
|
3317
|
+
proto.CreateBiddingRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3318
|
+
return proto.CreateBiddingRequest.toObject(opt_includeInstance, this);
|
|
3319
|
+
};
|
|
3320
|
+
|
|
3321
|
+
|
|
3322
|
+
/**
|
|
3323
|
+
* Static version of the {@see toObject} method.
|
|
3324
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3325
|
+
* the JSPB instance for transitional soy proto support:
|
|
3326
|
+
* http://goto/soy-param-migration
|
|
3327
|
+
* @param {!proto.CreateBiddingRequest} msg The msg instance to transform.
|
|
3328
|
+
* @return {!Object}
|
|
3329
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3330
|
+
*/
|
|
3331
|
+
proto.CreateBiddingRequest.toObject = function(includeInstance, msg) {
|
|
3332
|
+
var f, obj = {
|
|
3333
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3334
|
+
};
|
|
3335
|
+
|
|
3336
|
+
if (includeInstance) {
|
|
3337
|
+
obj.$jspbMessageInstance = msg;
|
|
3338
|
+
}
|
|
3339
|
+
return obj;
|
|
3340
|
+
};
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3343
|
+
|
|
3344
|
+
/**
|
|
3345
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3346
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3347
|
+
* @return {!proto.CreateBiddingRequest}
|
|
3348
|
+
*/
|
|
3349
|
+
proto.CreateBiddingRequest.deserializeBinary = function(bytes) {
|
|
3350
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3351
|
+
var msg = new proto.CreateBiddingRequest;
|
|
3352
|
+
return proto.CreateBiddingRequest.deserializeBinaryFromReader(msg, reader);
|
|
3353
|
+
};
|
|
3354
|
+
|
|
3355
|
+
|
|
3356
|
+
/**
|
|
3357
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3358
|
+
* given reader into the given message object.
|
|
3359
|
+
* @param {!proto.CreateBiddingRequest} msg The message object to deserialize into.
|
|
3360
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3361
|
+
* @return {!proto.CreateBiddingRequest}
|
|
3362
|
+
*/
|
|
3363
|
+
proto.CreateBiddingRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3364
|
+
while (reader.nextField()) {
|
|
3365
|
+
if (reader.isEndGroup()) {
|
|
3366
|
+
break;
|
|
3367
|
+
}
|
|
3368
|
+
var field = reader.getFieldNumber();
|
|
3369
|
+
switch (field) {
|
|
3370
|
+
case 1:
|
|
3371
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3372
|
+
msg.setReferencesId(value);
|
|
3373
|
+
break;
|
|
3374
|
+
default:
|
|
3375
|
+
reader.skipField();
|
|
3376
|
+
break;
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3379
|
+
return msg;
|
|
3380
|
+
};
|
|
3381
|
+
|
|
3382
|
+
|
|
3383
|
+
/**
|
|
3384
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3385
|
+
* @return {!Uint8Array}
|
|
3386
|
+
*/
|
|
3387
|
+
proto.CreateBiddingRequest.prototype.serializeBinary = function() {
|
|
3388
|
+
var writer = new jspb.BinaryWriter();
|
|
3389
|
+
proto.CreateBiddingRequest.serializeBinaryToWriter(this, writer);
|
|
3390
|
+
return writer.getResultBuffer();
|
|
3391
|
+
};
|
|
3392
|
+
|
|
3393
|
+
|
|
3394
|
+
/**
|
|
3395
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3396
|
+
* format), writing to the given BinaryWriter.
|
|
3397
|
+
* @param {!proto.CreateBiddingRequest} message
|
|
3398
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3399
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3400
|
+
*/
|
|
3401
|
+
proto.CreateBiddingRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3402
|
+
var f = undefined;
|
|
3403
|
+
f = message.getReferencesId();
|
|
3404
|
+
if (f.length > 0) {
|
|
3405
|
+
writer.writeString(
|
|
3406
|
+
1,
|
|
3407
|
+
f
|
|
3408
|
+
);
|
|
3409
|
+
}
|
|
3410
|
+
};
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
/**
|
|
3414
|
+
* optional string references_id = 1;
|
|
3415
|
+
* @return {string}
|
|
3416
|
+
*/
|
|
3417
|
+
proto.CreateBiddingRequest.prototype.getReferencesId = function() {
|
|
3418
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
/**
|
|
3423
|
+
* @param {string} value
|
|
3424
|
+
* @return {!proto.CreateBiddingRequest} returns this
|
|
3425
|
+
*/
|
|
3426
|
+
proto.CreateBiddingRequest.prototype.setReferencesId = function(value) {
|
|
3427
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3428
|
+
};
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
|
|
3434
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3435
|
+
/**
|
|
3436
|
+
* Creates an object representation of this proto.
|
|
3437
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3438
|
+
* Optional fields that are not set will be set to undefined.
|
|
3439
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3440
|
+
* For the list of reserved names please see:
|
|
3441
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3442
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3443
|
+
* JSPB instance for transitional soy proto support:
|
|
3444
|
+
* http://goto/soy-param-migration
|
|
3445
|
+
* @return {!Object}
|
|
3446
|
+
*/
|
|
3447
|
+
proto.RequestBidding.prototype.toObject = function(opt_includeInstance) {
|
|
3448
|
+
return proto.RequestBidding.toObject(opt_includeInstance, this);
|
|
3449
|
+
};
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* Static version of the {@see toObject} method.
|
|
3454
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3455
|
+
* the JSPB instance for transitional soy proto support:
|
|
3456
|
+
* http://goto/soy-param-migration
|
|
3457
|
+
* @param {!proto.RequestBidding} msg The msg instance to transform.
|
|
3458
|
+
* @return {!Object}
|
|
3459
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3460
|
+
*/
|
|
3461
|
+
proto.RequestBidding.toObject = function(includeInstance, msg) {
|
|
3462
|
+
var f, obj = {
|
|
3463
|
+
requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObject(includeInstance, f)
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
if (includeInstance) {
|
|
3467
|
+
obj.$jspbMessageInstance = msg;
|
|
3468
|
+
}
|
|
3469
|
+
return obj;
|
|
3470
|
+
};
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3476
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3477
|
+
* @return {!proto.RequestBidding}
|
|
3478
|
+
*/
|
|
3479
|
+
proto.RequestBidding.deserializeBinary = function(bytes) {
|
|
3480
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3481
|
+
var msg = new proto.RequestBidding;
|
|
3482
|
+
return proto.RequestBidding.deserializeBinaryFromReader(msg, reader);
|
|
3483
|
+
};
|
|
3484
|
+
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3488
|
+
* given reader into the given message object.
|
|
3489
|
+
* @param {!proto.RequestBidding} msg The message object to deserialize into.
|
|
3490
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3491
|
+
* @return {!proto.RequestBidding}
|
|
3492
|
+
*/
|
|
3493
|
+
proto.RequestBidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
3494
|
+
while (reader.nextField()) {
|
|
3495
|
+
if (reader.isEndGroup()) {
|
|
3496
|
+
break;
|
|
3497
|
+
}
|
|
3498
|
+
var field = reader.getFieldNumber();
|
|
3499
|
+
switch (field) {
|
|
3500
|
+
case 1:
|
|
3501
|
+
var value = new proto.RequestBiddingBase;
|
|
3502
|
+
reader.readMessage(value,proto.RequestBiddingBase.deserializeBinaryFromReader);
|
|
3503
|
+
msg.setRequestBidding(value);
|
|
3504
|
+
break;
|
|
3505
|
+
default:
|
|
3506
|
+
reader.skipField();
|
|
3507
|
+
break;
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
return msg;
|
|
3511
|
+
};
|
|
3512
|
+
|
|
3513
|
+
|
|
3514
|
+
/**
|
|
3515
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3516
|
+
* @return {!Uint8Array}
|
|
3517
|
+
*/
|
|
3518
|
+
proto.RequestBidding.prototype.serializeBinary = function() {
|
|
3519
|
+
var writer = new jspb.BinaryWriter();
|
|
3520
|
+
proto.RequestBidding.serializeBinaryToWriter(this, writer);
|
|
3521
|
+
return writer.getResultBuffer();
|
|
3522
|
+
};
|
|
3523
|
+
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3527
|
+
* format), writing to the given BinaryWriter.
|
|
3528
|
+
* @param {!proto.RequestBidding} message
|
|
3529
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3530
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3531
|
+
*/
|
|
3532
|
+
proto.RequestBidding.serializeBinaryToWriter = function(message, writer) {
|
|
3533
|
+
var f = undefined;
|
|
3534
|
+
f = message.getRequestBidding();
|
|
3535
|
+
if (f != null) {
|
|
3536
|
+
writer.writeMessage(
|
|
3537
|
+
1,
|
|
3538
|
+
f,
|
|
3539
|
+
proto.RequestBiddingBase.serializeBinaryToWriter
|
|
3540
|
+
);
|
|
3541
|
+
}
|
|
3542
|
+
};
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* optional RequestBiddingBase request_bidding = 1;
|
|
3547
|
+
* @return {?proto.RequestBiddingBase}
|
|
3548
|
+
*/
|
|
3549
|
+
proto.RequestBidding.prototype.getRequestBidding = function() {
|
|
3550
|
+
return /** @type{?proto.RequestBiddingBase} */ (
|
|
3551
|
+
jspb.Message.getWrapperField(this, proto.RequestBiddingBase, 1));
|
|
3114
3552
|
};
|
|
3115
3553
|
|
|
3116
3554
|
|
|
@@ -5613,4 +6051,285 @@ proto.GetQuotationVendorPreload.prototype.clearTransactionBuilderVendorList = fu
|
|
|
5613
6051
|
};
|
|
5614
6052
|
|
|
5615
6053
|
|
|
6054
|
+
|
|
6055
|
+
|
|
6056
|
+
|
|
6057
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6058
|
+
/**
|
|
6059
|
+
* Creates an object representation of this proto.
|
|
6060
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6061
|
+
* Optional fields that are not set will be set to undefined.
|
|
6062
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6063
|
+
* For the list of reserved names please see:
|
|
6064
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6065
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6066
|
+
* JSPB instance for transitional soy proto support:
|
|
6067
|
+
* http://goto/soy-param-migration
|
|
6068
|
+
* @return {!Object}
|
|
6069
|
+
*/
|
|
6070
|
+
proto.RequestPO.prototype.toObject = function(opt_includeInstance) {
|
|
6071
|
+
return proto.RequestPO.toObject(opt_includeInstance, this);
|
|
6072
|
+
};
|
|
6073
|
+
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* Static version of the {@see toObject} method.
|
|
6077
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6078
|
+
* the JSPB instance for transitional soy proto support:
|
|
6079
|
+
* http://goto/soy-param-migration
|
|
6080
|
+
* @param {!proto.RequestPO} msg The msg instance to transform.
|
|
6081
|
+
* @return {!Object}
|
|
6082
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6083
|
+
*/
|
|
6084
|
+
proto.RequestPO.toObject = function(includeInstance, msg) {
|
|
6085
|
+
var f, obj = {
|
|
6086
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6087
|
+
};
|
|
6088
|
+
|
|
6089
|
+
if (includeInstance) {
|
|
6090
|
+
obj.$jspbMessageInstance = msg;
|
|
6091
|
+
}
|
|
6092
|
+
return obj;
|
|
6093
|
+
};
|
|
6094
|
+
}
|
|
6095
|
+
|
|
6096
|
+
|
|
6097
|
+
/**
|
|
6098
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6099
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6100
|
+
* @return {!proto.RequestPO}
|
|
6101
|
+
*/
|
|
6102
|
+
proto.RequestPO.deserializeBinary = function(bytes) {
|
|
6103
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6104
|
+
var msg = new proto.RequestPO;
|
|
6105
|
+
return proto.RequestPO.deserializeBinaryFromReader(msg, reader);
|
|
6106
|
+
};
|
|
6107
|
+
|
|
6108
|
+
|
|
6109
|
+
/**
|
|
6110
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6111
|
+
* given reader into the given message object.
|
|
6112
|
+
* @param {!proto.RequestPO} msg The message object to deserialize into.
|
|
6113
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6114
|
+
* @return {!proto.RequestPO}
|
|
6115
|
+
*/
|
|
6116
|
+
proto.RequestPO.deserializeBinaryFromReader = function(msg, reader) {
|
|
6117
|
+
while (reader.nextField()) {
|
|
6118
|
+
if (reader.isEndGroup()) {
|
|
6119
|
+
break;
|
|
6120
|
+
}
|
|
6121
|
+
var field = reader.getFieldNumber();
|
|
6122
|
+
switch (field) {
|
|
6123
|
+
case 1:
|
|
6124
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6125
|
+
msg.setReferencesId(value);
|
|
6126
|
+
break;
|
|
6127
|
+
default:
|
|
6128
|
+
reader.skipField();
|
|
6129
|
+
break;
|
|
6130
|
+
}
|
|
6131
|
+
}
|
|
6132
|
+
return msg;
|
|
6133
|
+
};
|
|
6134
|
+
|
|
6135
|
+
|
|
6136
|
+
/**
|
|
6137
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6138
|
+
* @return {!Uint8Array}
|
|
6139
|
+
*/
|
|
6140
|
+
proto.RequestPO.prototype.serializeBinary = function() {
|
|
6141
|
+
var writer = new jspb.BinaryWriter();
|
|
6142
|
+
proto.RequestPO.serializeBinaryToWriter(this, writer);
|
|
6143
|
+
return writer.getResultBuffer();
|
|
6144
|
+
};
|
|
6145
|
+
|
|
6146
|
+
|
|
6147
|
+
/**
|
|
6148
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6149
|
+
* format), writing to the given BinaryWriter.
|
|
6150
|
+
* @param {!proto.RequestPO} message
|
|
6151
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6152
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6153
|
+
*/
|
|
6154
|
+
proto.RequestPO.serializeBinaryToWriter = function(message, writer) {
|
|
6155
|
+
var f = undefined;
|
|
6156
|
+
f = message.getReferencesId();
|
|
6157
|
+
if (f.length > 0) {
|
|
6158
|
+
writer.writeString(
|
|
6159
|
+
1,
|
|
6160
|
+
f
|
|
6161
|
+
);
|
|
6162
|
+
}
|
|
6163
|
+
};
|
|
6164
|
+
|
|
6165
|
+
|
|
6166
|
+
/**
|
|
6167
|
+
* optional string references_id = 1;
|
|
6168
|
+
* @return {string}
|
|
6169
|
+
*/
|
|
6170
|
+
proto.RequestPO.prototype.getReferencesId = function() {
|
|
6171
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6172
|
+
};
|
|
6173
|
+
|
|
6174
|
+
|
|
6175
|
+
/**
|
|
6176
|
+
* @param {string} value
|
|
6177
|
+
* @return {!proto.RequestPO} returns this
|
|
6178
|
+
*/
|
|
6179
|
+
proto.RequestPO.prototype.setReferencesId = function(value) {
|
|
6180
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6181
|
+
};
|
|
6182
|
+
|
|
6183
|
+
|
|
6184
|
+
|
|
6185
|
+
|
|
6186
|
+
|
|
6187
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6188
|
+
/**
|
|
6189
|
+
* Creates an object representation of this proto.
|
|
6190
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6191
|
+
* Optional fields that are not set will be set to undefined.
|
|
6192
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6193
|
+
* For the list of reserved names please see:
|
|
6194
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6195
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6196
|
+
* JSPB instance for transitional soy proto support:
|
|
6197
|
+
* http://goto/soy-param-migration
|
|
6198
|
+
* @return {!Object}
|
|
6199
|
+
*/
|
|
6200
|
+
proto.ResponseRequestPo.prototype.toObject = function(opt_includeInstance) {
|
|
6201
|
+
return proto.ResponseRequestPo.toObject(opt_includeInstance, this);
|
|
6202
|
+
};
|
|
6203
|
+
|
|
6204
|
+
|
|
6205
|
+
/**
|
|
6206
|
+
* Static version of the {@see toObject} method.
|
|
6207
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6208
|
+
* the JSPB instance for transitional soy proto support:
|
|
6209
|
+
* http://goto/soy-param-migration
|
|
6210
|
+
* @param {!proto.ResponseRequestPo} msg The msg instance to transform.
|
|
6211
|
+
* @return {!Object}
|
|
6212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6213
|
+
*/
|
|
6214
|
+
proto.ResponseRequestPo.toObject = function(includeInstance, msg) {
|
|
6215
|
+
var f, obj = {
|
|
6216
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
6217
|
+
};
|
|
6218
|
+
|
|
6219
|
+
if (includeInstance) {
|
|
6220
|
+
obj.$jspbMessageInstance = msg;
|
|
6221
|
+
}
|
|
6222
|
+
return obj;
|
|
6223
|
+
};
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6226
|
+
|
|
6227
|
+
/**
|
|
6228
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6229
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6230
|
+
* @return {!proto.ResponseRequestPo}
|
|
6231
|
+
*/
|
|
6232
|
+
proto.ResponseRequestPo.deserializeBinary = function(bytes) {
|
|
6233
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6234
|
+
var msg = new proto.ResponseRequestPo;
|
|
6235
|
+
return proto.ResponseRequestPo.deserializeBinaryFromReader(msg, reader);
|
|
6236
|
+
};
|
|
6237
|
+
|
|
6238
|
+
|
|
6239
|
+
/**
|
|
6240
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6241
|
+
* given reader into the given message object.
|
|
6242
|
+
* @param {!proto.ResponseRequestPo} msg The message object to deserialize into.
|
|
6243
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6244
|
+
* @return {!proto.ResponseRequestPo}
|
|
6245
|
+
*/
|
|
6246
|
+
proto.ResponseRequestPo.deserializeBinaryFromReader = function(msg, reader) {
|
|
6247
|
+
while (reader.nextField()) {
|
|
6248
|
+
if (reader.isEndGroup()) {
|
|
6249
|
+
break;
|
|
6250
|
+
}
|
|
6251
|
+
var field = reader.getFieldNumber();
|
|
6252
|
+
switch (field) {
|
|
6253
|
+
case 2:
|
|
6254
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
6255
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
6256
|
+
msg.setMeta(value);
|
|
6257
|
+
break;
|
|
6258
|
+
default:
|
|
6259
|
+
reader.skipField();
|
|
6260
|
+
break;
|
|
6261
|
+
}
|
|
6262
|
+
}
|
|
6263
|
+
return msg;
|
|
6264
|
+
};
|
|
6265
|
+
|
|
6266
|
+
|
|
6267
|
+
/**
|
|
6268
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6269
|
+
* @return {!Uint8Array}
|
|
6270
|
+
*/
|
|
6271
|
+
proto.ResponseRequestPo.prototype.serializeBinary = function() {
|
|
6272
|
+
var writer = new jspb.BinaryWriter();
|
|
6273
|
+
proto.ResponseRequestPo.serializeBinaryToWriter(this, writer);
|
|
6274
|
+
return writer.getResultBuffer();
|
|
6275
|
+
};
|
|
6276
|
+
|
|
6277
|
+
|
|
6278
|
+
/**
|
|
6279
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6280
|
+
* format), writing to the given BinaryWriter.
|
|
6281
|
+
* @param {!proto.ResponseRequestPo} message
|
|
6282
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6283
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6284
|
+
*/
|
|
6285
|
+
proto.ResponseRequestPo.serializeBinaryToWriter = function(message, writer) {
|
|
6286
|
+
var f = undefined;
|
|
6287
|
+
f = message.getMeta();
|
|
6288
|
+
if (f != null) {
|
|
6289
|
+
writer.writeMessage(
|
|
6290
|
+
2,
|
|
6291
|
+
f,
|
|
6292
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
6293
|
+
);
|
|
6294
|
+
}
|
|
6295
|
+
};
|
|
6296
|
+
|
|
6297
|
+
|
|
6298
|
+
/**
|
|
6299
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
6300
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
6301
|
+
*/
|
|
6302
|
+
proto.ResponseRequestPo.prototype.getMeta = function() {
|
|
6303
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
6304
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
6305
|
+
};
|
|
6306
|
+
|
|
6307
|
+
|
|
6308
|
+
/**
|
|
6309
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
6310
|
+
* @return {!proto.ResponseRequestPo} returns this
|
|
6311
|
+
*/
|
|
6312
|
+
proto.ResponseRequestPo.prototype.setMeta = function(value) {
|
|
6313
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
6314
|
+
};
|
|
6315
|
+
|
|
6316
|
+
|
|
6317
|
+
/**
|
|
6318
|
+
* Clears the message field making it undefined.
|
|
6319
|
+
* @return {!proto.ResponseRequestPo} returns this
|
|
6320
|
+
*/
|
|
6321
|
+
proto.ResponseRequestPo.prototype.clearMeta = function() {
|
|
6322
|
+
return this.setMeta(undefined);
|
|
6323
|
+
};
|
|
6324
|
+
|
|
6325
|
+
|
|
6326
|
+
/**
|
|
6327
|
+
* Returns whether this field is set.
|
|
6328
|
+
* @return {boolean}
|
|
6329
|
+
*/
|
|
6330
|
+
proto.ResponseRequestPo.prototype.hasMeta = function() {
|
|
6331
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6332
|
+
};
|
|
6333
|
+
|
|
6334
|
+
|
|
5616
6335
|
goog.object.extend(exports, proto);
|