@aldiokta/protocgen 1.1.23 → 1.1.24

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.
Files changed (169) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +199 -0
  3. package/prisca/v1/account_assignment/account_assignment_pb.js +2726 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2989 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +294 -0
  7. package/prisca/v1/bidding/bidding_pb.js +7488 -0
  8. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
  9. package/prisca/v1/chart_of_account/chart_of_account_pb.js +2959 -0
  10. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +544 -0
  11. package/prisca/v1/core/access_manager/access_manager_pb.js +9383 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +423 -0
  13. package/prisca/v1/core/auth/auth_pb.js +4497 -0
  14. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
  15. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +178 -0
  17. package/prisca/v1/core/company/company_pb.js +3100 -0
  18. package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
  19. package/prisca/v1/core/currency/currency_pb.js +2522 -0
  20. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  21. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  22. package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
  23. package/prisca/v1/core/employee/employee_pb.js +4335 -0
  24. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
  25. package/prisca/v1/core/file_upload/file_upload_pb.js +1052 -0
  26. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +177 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2904 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
  29. package/prisca/v1/core/item_transaction/item_transaction_pb.js +4270 -0
  30. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  31. package/prisca/v1/core/job_grade/job_grade_pb.js +2657 -0
  32. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  33. package/prisca/v1/core/job_position/job_position_pb.js +3814 -0
  34. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  35. package/prisca/v1/core/job_title/job_title_pb.js +3010 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +78 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +2087 -0
  38. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +200 -0
  39. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3251 -0
  40. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  41. package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
  42. package/prisca/v1/core/location/location_grpc_pb.js +837 -0
  43. package/prisca/v1/core/location/location_pb.js +10879 -0
  44. package/prisca/v1/core/material/material_grpc_pb.js +182 -0
  45. package/prisca/v1/core/material/material_pb.js +4232 -0
  46. package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
  47. package/prisca/v1/core/material_group/material_group_pb.js +2828 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +182 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +3104 -0
  50. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  51. package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
  52. package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
  53. package/prisca/v1/core/messaging/messaging_pb.js +896 -0
  54. package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
  55. package/prisca/v1/core/number_range/number_range_pb.js +2978 -0
  56. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  57. package/prisca/v1/core/organization/organization_pb.js +3084 -0
  58. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  59. package/prisca/v1/core/organization_level/organization_level_pb.js +2597 -0
  60. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +179 -0
  61. package/prisca/v1/core/price_condition/price_condition_pb.js +3061 -0
  62. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  63. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  64. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  65. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  66. package/prisca/v1/core/report/report_grpc_pb.js +200 -0
  67. package/prisca/v1/core/report/report_pb.js +2822 -0
  68. package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
  69. package/prisca/v1/core/report/user_report_pb.js +2452 -0
  70. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
  71. package/prisca/v1/core/tax_code/tax_code_pb.js +2784 -0
  72. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +177 -0
  73. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2512 -0
  74. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +498 -0
  75. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +10976 -0
  76. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  77. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2850 -0
  78. package/prisca/v1/core/users/users_grpc_pb.js +78 -0
  79. package/prisca/v1/core/users/users_pb.js +1653 -0
  80. package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
  81. package/prisca/v1/core/work_location/work_location_pb.js +4024 -0
  82. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  83. package/prisca/v1/core/workflow/workflow_pb.js +7577 -0
  84. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  85. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  86. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  87. package/prisca/v1/document_type/document_type_pb.js +2798 -0
  88. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  89. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3328 -0
  90. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  91. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  92. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  93. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  94. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
  95. package/prisca/v1/purchase_order/purchase_order_pb.js +5049 -0
  96. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +523 -0
  97. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
  98. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  99. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2927 -0
  100. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +178 -0
  101. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2546 -0
  102. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +179 -0
  103. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2590 -0
  104. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  105. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
  106. package/prisca/v1/quotation/quotation_grpc_pb.js +207 -0
  107. package/prisca/v1/quotation/quotation_pb.js +3582 -0
  108. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +193 -0
  109. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5961 -0
  110. package/prisca/v1/valuation/valuation_grpc_pb.js +366 -0
  111. package/prisca/v1/valuation/valuation_pb.js +7812 -0
  112. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
  113. package/prisca/v1/vendor_domain/vendor_domain_pb.js +6363 -0
  114. package/prisca/v1/account_assignment/account_assignment.proto +0 -81
  115. package/prisca/v1/account_group/account_group.proto +0 -88
  116. package/prisca/v1/bidding/bidding.proto +0 -221
  117. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -89
  118. package/prisca/v1/core/access_manager/access_manager.proto +0 -281
  119. package/prisca/v1/core/auth/auth.proto +0 -150
  120. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
  121. package/prisca/v1/core/company/company.proto +0 -92
  122. package/prisca/v1/core/currency/currency.proto +0 -76
  123. package/prisca/v1/core/department_material/department_material.proto +0 -69
  124. package/prisca/v1/core/employee/employee.proto +0 -129
  125. package/prisca/v1/core/file_upload/file_upload.proto +0 -37
  126. package/prisca/v1/core/incoterm/incoterm.proto +0 -85
  127. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -134
  128. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  129. package/prisca/v1/core/job_position/job_position.proto +0 -113
  130. package/prisca/v1/core/job_title/job_title.proto +0 -89
  131. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -66
  132. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -96
  133. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  134. package/prisca/v1/core/location/location.proto +0 -289
  135. package/prisca/v1/core/material/material.proto +0 -131
  136. package/prisca/v1/core/material_group/material_group.proto +0 -85
  137. package/prisca/v1/core/material_type/material_type.proto +0 -95
  138. package/prisca/v1/core/messaging/email_template.proto +0 -75
  139. package/prisca/v1/core/messaging/messaging.proto +0 -29
  140. package/prisca/v1/core/number_range/number_range.proto +0 -89
  141. package/prisca/v1/core/organization/organization.proto +0 -94
  142. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  143. package/prisca/v1/core/price_condition/price_condition.proto +0 -93
  144. package/prisca/v1/core/procurement/procurement.proto +0 -54
  145. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  146. package/prisca/v1/core/report/report.proto +0 -90
  147. package/prisca/v1/core/report/user_report.proto +0 -74
  148. package/prisca/v1/core/tax_code/tax_code.proto +0 -82
  149. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -74
  150. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
  151. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  152. package/prisca/v1/core/users/users.proto +0 -55
  153. package/prisca/v1/core/work_location/work_location.proto +0 -122
  154. package/prisca/v1/core/workflow/workflow.proto +0 -218
  155. package/prisca/v1/delivery_order/delivery_order.proto +0 -147
  156. package/prisca/v1/document_type/document_type.proto +0 -82
  157. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -100
  158. package/prisca/v1/global/meta/meta.proto +0 -57
  159. package/prisca/v1/good_receipt/good_receipt.proto +0 -11
  160. package/prisca/v1/purchase_order/purchase_order.proto +0 -157
  161. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -306
  162. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -89
  163. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -79
  164. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -81
  165. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  166. package/prisca/v1/quotation/quotation.proto +0 -118
  167. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -174
  168. package/prisca/v1/valuation/valuation.proto +0 -223
  169. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -226
@@ -0,0 +1,3582 @@
1
+ // source: prisca/v1/quotation/quotation.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
25
+ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
26
+ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendor_domain/vendor_domain_pb.js');
27
+ goog.object.extend(proto, prisca_v1_vendor_domain_vendor_domain_pb);
28
+ var prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb = require('../../../prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js');
29
+ goog.object.extend(proto, prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb);
30
+ var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
31
+ goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder_pb);
32
+ var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
33
+ goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
34
+ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
35
+ goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
36
+ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
37
+ goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
38
+ var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
39
+ goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
40
+ var prisca_v1_bidding_bidding_pb = require('../../../prisca/v1/bidding/bidding_pb.js');
41
+ goog.object.extend(proto, prisca_v1_bidding_bidding_pb);
42
+ goog.exportSymbol('proto.BaseEditQuantityQuotationItem', null, global);
43
+ goog.exportSymbol('proto.BaseQuotationRequest', null, global);
44
+ goog.exportSymbol('proto.GetListQuotationRequest', null, global);
45
+ goog.exportSymbol('proto.GetListQuotationResponse', null, global);
46
+ goog.exportSymbol('proto.GetQuotationByIdRequest', null, global);
47
+ goog.exportSymbol('proto.GetQuotationByIdResponse', null, global);
48
+ goog.exportSymbol('proto.GetQuotationDetailResponse', null, global);
49
+ goog.exportSymbol('proto.SetItemQuotation', null, global);
50
+ goog.exportSymbol('proto.SetQuotationRequest', null, global);
51
+ goog.exportSymbol('proto.UnSetWinnerRequest', null, global);
52
+ goog.exportSymbol('proto.UpdateQuotationRequest', null, global);
53
+ goog.exportSymbol('proto.UpdateQuotationResponse', null, global);
54
+ goog.exportSymbol('proto.UpdateSetWinner', null, global);
55
+ /**
56
+ * Generated by JsPbCodeGenerator.
57
+ * @param {Array=} opt_data Optional initial data array, typically from a
58
+ * server response, or constructed directly in Javascript. The array is used
59
+ * in place and becomes part of the constructed object. It is not cloned.
60
+ * If no data is provided, the constructed object will be empty, but still
61
+ * valid.
62
+ * @extends {jspb.Message}
63
+ * @constructor
64
+ */
65
+ proto.BaseEditQuantityQuotationItem = function(opt_data) {
66
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
67
+ };
68
+ goog.inherits(proto.BaseEditQuantityQuotationItem, jspb.Message);
69
+ if (goog.DEBUG && !COMPILED) {
70
+ /**
71
+ * @public
72
+ * @override
73
+ */
74
+ proto.BaseEditQuantityQuotationItem.displayName = 'proto.BaseEditQuantityQuotationItem';
75
+ }
76
+ /**
77
+ * Generated by JsPbCodeGenerator.
78
+ * @param {Array=} opt_data Optional initial data array, typically from a
79
+ * server response, or constructed directly in Javascript. The array is used
80
+ * in place and becomes part of the constructed object. It is not cloned.
81
+ * If no data is provided, the constructed object will be empty, but still
82
+ * valid.
83
+ * @extends {jspb.Message}
84
+ * @constructor
85
+ */
86
+ proto.UpdateSetWinner = function(opt_data) {
87
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateSetWinner.repeatedFields_, null);
88
+ };
89
+ goog.inherits(proto.UpdateSetWinner, jspb.Message);
90
+ if (goog.DEBUG && !COMPILED) {
91
+ /**
92
+ * @public
93
+ * @override
94
+ */
95
+ proto.UpdateSetWinner.displayName = 'proto.UpdateSetWinner';
96
+ }
97
+ /**
98
+ * Generated by JsPbCodeGenerator.
99
+ * @param {Array=} opt_data Optional initial data array, typically from a
100
+ * server response, or constructed directly in Javascript. The array is used
101
+ * in place and becomes part of the constructed object. It is not cloned.
102
+ * If no data is provided, the constructed object will be empty, but still
103
+ * valid.
104
+ * @extends {jspb.Message}
105
+ * @constructor
106
+ */
107
+ proto.BaseQuotationRequest = function(opt_data) {
108
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseQuotationRequest.repeatedFields_, null);
109
+ };
110
+ goog.inherits(proto.BaseQuotationRequest, jspb.Message);
111
+ if (goog.DEBUG && !COMPILED) {
112
+ /**
113
+ * @public
114
+ * @override
115
+ */
116
+ proto.BaseQuotationRequest.displayName = 'proto.BaseQuotationRequest';
117
+ }
118
+ /**
119
+ * Generated by JsPbCodeGenerator.
120
+ * @param {Array=} opt_data Optional initial data array, typically from a
121
+ * server response, or constructed directly in Javascript. The array is used
122
+ * in place and becomes part of the constructed object. It is not cloned.
123
+ * If no data is provided, the constructed object will be empty, but still
124
+ * valid.
125
+ * @extends {jspb.Message}
126
+ * @constructor
127
+ */
128
+ proto.GetQuotationByIdRequest = function(opt_data) {
129
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
130
+ };
131
+ goog.inherits(proto.GetQuotationByIdRequest, jspb.Message);
132
+ if (goog.DEBUG && !COMPILED) {
133
+ /**
134
+ * @public
135
+ * @override
136
+ */
137
+ proto.GetQuotationByIdRequest.displayName = 'proto.GetQuotationByIdRequest';
138
+ }
139
+ /**
140
+ * Generated by JsPbCodeGenerator.
141
+ * @param {Array=} opt_data Optional initial data array, typically from a
142
+ * server response, or constructed directly in Javascript. The array is used
143
+ * in place and becomes part of the constructed object. It is not cloned.
144
+ * If no data is provided, the constructed object will be empty, but still
145
+ * valid.
146
+ * @extends {jspb.Message}
147
+ * @constructor
148
+ */
149
+ proto.UnSetWinnerRequest = function(opt_data) {
150
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
151
+ };
152
+ goog.inherits(proto.UnSetWinnerRequest, jspb.Message);
153
+ if (goog.DEBUG && !COMPILED) {
154
+ /**
155
+ * @public
156
+ * @override
157
+ */
158
+ proto.UnSetWinnerRequest.displayName = 'proto.UnSetWinnerRequest';
159
+ }
160
+ /**
161
+ * Generated by JsPbCodeGenerator.
162
+ * @param {Array=} opt_data Optional initial data array, typically from a
163
+ * server response, or constructed directly in Javascript. The array is used
164
+ * in place and becomes part of the constructed object. It is not cloned.
165
+ * If no data is provided, the constructed object will be empty, but still
166
+ * valid.
167
+ * @extends {jspb.Message}
168
+ * @constructor
169
+ */
170
+ proto.UpdateQuotationRequest = function(opt_data) {
171
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
172
+ };
173
+ goog.inherits(proto.UpdateQuotationRequest, jspb.Message);
174
+ if (goog.DEBUG && !COMPILED) {
175
+ /**
176
+ * @public
177
+ * @override
178
+ */
179
+ proto.UpdateQuotationRequest.displayName = 'proto.UpdateQuotationRequest';
180
+ }
181
+ /**
182
+ * Generated by JsPbCodeGenerator.
183
+ * @param {Array=} opt_data Optional initial data array, typically from a
184
+ * server response, or constructed directly in Javascript. The array is used
185
+ * in place and becomes part of the constructed object. It is not cloned.
186
+ * If no data is provided, the constructed object will be empty, but still
187
+ * valid.
188
+ * @extends {jspb.Message}
189
+ * @constructor
190
+ */
191
+ proto.GetListQuotationRequest = function(opt_data) {
192
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
193
+ };
194
+ goog.inherits(proto.GetListQuotationRequest, jspb.Message);
195
+ if (goog.DEBUG && !COMPILED) {
196
+ /**
197
+ * @public
198
+ * @override
199
+ */
200
+ proto.GetListQuotationRequest.displayName = 'proto.GetListQuotationRequest';
201
+ }
202
+ /**
203
+ * Generated by JsPbCodeGenerator.
204
+ * @param {Array=} opt_data Optional initial data array, typically from a
205
+ * server response, or constructed directly in Javascript. The array is used
206
+ * in place and becomes part of the constructed object. It is not cloned.
207
+ * If no data is provided, the constructed object will be empty, but still
208
+ * valid.
209
+ * @extends {jspb.Message}
210
+ * @constructor
211
+ */
212
+ proto.SetItemQuotation = function(opt_data) {
213
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.SetItemQuotation.repeatedFields_, null);
214
+ };
215
+ goog.inherits(proto.SetItemQuotation, jspb.Message);
216
+ if (goog.DEBUG && !COMPILED) {
217
+ /**
218
+ * @public
219
+ * @override
220
+ */
221
+ proto.SetItemQuotation.displayName = 'proto.SetItemQuotation';
222
+ }
223
+ /**
224
+ * Generated by JsPbCodeGenerator.
225
+ * @param {Array=} opt_data Optional initial data array, typically from a
226
+ * server response, or constructed directly in Javascript. The array is used
227
+ * in place and becomes part of the constructed object. It is not cloned.
228
+ * If no data is provided, the constructed object will be empty, but still
229
+ * valid.
230
+ * @extends {jspb.Message}
231
+ * @constructor
232
+ */
233
+ proto.SetQuotationRequest = function(opt_data) {
234
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.SetQuotationRequest.repeatedFields_, null);
235
+ };
236
+ goog.inherits(proto.SetQuotationRequest, jspb.Message);
237
+ if (goog.DEBUG && !COMPILED) {
238
+ /**
239
+ * @public
240
+ * @override
241
+ */
242
+ proto.SetQuotationRequest.displayName = 'proto.SetQuotationRequest';
243
+ }
244
+ /**
245
+ * Generated by JsPbCodeGenerator.
246
+ * @param {Array=} opt_data Optional initial data array, typically from a
247
+ * server response, or constructed directly in Javascript. The array is used
248
+ * in place and becomes part of the constructed object. It is not cloned.
249
+ * If no data is provided, the constructed object will be empty, but still
250
+ * valid.
251
+ * @extends {jspb.Message}
252
+ * @constructor
253
+ */
254
+ proto.GetQuotationByIdResponse = function(opt_data) {
255
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
256
+ };
257
+ goog.inherits(proto.GetQuotationByIdResponse, jspb.Message);
258
+ if (goog.DEBUG && !COMPILED) {
259
+ /**
260
+ * @public
261
+ * @override
262
+ */
263
+ proto.GetQuotationByIdResponse.displayName = 'proto.GetQuotationByIdResponse';
264
+ }
265
+ /**
266
+ * Generated by JsPbCodeGenerator.
267
+ * @param {Array=} opt_data Optional initial data array, typically from a
268
+ * server response, or constructed directly in Javascript. The array is used
269
+ * in place and becomes part of the constructed object. It is not cloned.
270
+ * If no data is provided, the constructed object will be empty, but still
271
+ * valid.
272
+ * @extends {jspb.Message}
273
+ * @constructor
274
+ */
275
+ proto.GetQuotationDetailResponse = function(opt_data) {
276
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetQuotationDetailResponse.repeatedFields_, null);
277
+ };
278
+ goog.inherits(proto.GetQuotationDetailResponse, jspb.Message);
279
+ if (goog.DEBUG && !COMPILED) {
280
+ /**
281
+ * @public
282
+ * @override
283
+ */
284
+ proto.GetQuotationDetailResponse.displayName = 'proto.GetQuotationDetailResponse';
285
+ }
286
+ /**
287
+ * Generated by JsPbCodeGenerator.
288
+ * @param {Array=} opt_data Optional initial data array, typically from a
289
+ * server response, or constructed directly in Javascript. The array is used
290
+ * in place and becomes part of the constructed object. It is not cloned.
291
+ * If no data is provided, the constructed object will be empty, but still
292
+ * valid.
293
+ * @extends {jspb.Message}
294
+ * @constructor
295
+ */
296
+ proto.GetListQuotationResponse = function(opt_data) {
297
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListQuotationResponse.repeatedFields_, null);
298
+ };
299
+ goog.inherits(proto.GetListQuotationResponse, jspb.Message);
300
+ if (goog.DEBUG && !COMPILED) {
301
+ /**
302
+ * @public
303
+ * @override
304
+ */
305
+ proto.GetListQuotationResponse.displayName = 'proto.GetListQuotationResponse';
306
+ }
307
+ /**
308
+ * Generated by JsPbCodeGenerator.
309
+ * @param {Array=} opt_data Optional initial data array, typically from a
310
+ * server response, or constructed directly in Javascript. The array is used
311
+ * in place and becomes part of the constructed object. It is not cloned.
312
+ * If no data is provided, the constructed object will be empty, but still
313
+ * valid.
314
+ * @extends {jspb.Message}
315
+ * @constructor
316
+ */
317
+ proto.UpdateQuotationResponse = function(opt_data) {
318
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
319
+ };
320
+ goog.inherits(proto.UpdateQuotationResponse, jspb.Message);
321
+ if (goog.DEBUG && !COMPILED) {
322
+ /**
323
+ * @public
324
+ * @override
325
+ */
326
+ proto.UpdateQuotationResponse.displayName = 'proto.UpdateQuotationResponse';
327
+ }
328
+
329
+
330
+
331
+ if (jspb.Message.GENERATE_TO_OBJECT) {
332
+ /**
333
+ * Creates an object representation of this proto.
334
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
335
+ * Optional fields that are not set will be set to undefined.
336
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
337
+ * For the list of reserved names please see:
338
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
339
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
340
+ * JSPB instance for transitional soy proto support:
341
+ * http://goto/soy-param-migration
342
+ * @return {!Object}
343
+ */
344
+ proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeInstance) {
345
+ return proto.BaseEditQuantityQuotationItem.toObject(opt_includeInstance, this);
346
+ };
347
+
348
+
349
+ /**
350
+ * Static version of the {@see toObject} method.
351
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
352
+ * the JSPB instance for transitional soy proto support:
353
+ * http://goto/soy-param-migration
354
+ * @param {!proto.BaseEditQuantityQuotationItem} msg The msg instance to transform.
355
+ * @return {!Object}
356
+ * @suppress {unusedLocalVariables} f is only used for nested messages
357
+ */
358
+ proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
359
+ var f, obj = {
360
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
361
+ quantity: jspb.Message.getFieldWithDefault(msg, 2, 0)
362
+ };
363
+
364
+ if (includeInstance) {
365
+ obj.$jspbMessageInstance = msg;
366
+ }
367
+ return obj;
368
+ };
369
+ }
370
+
371
+
372
+ /**
373
+ * Deserializes binary data (in protobuf wire format).
374
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
375
+ * @return {!proto.BaseEditQuantityQuotationItem}
376
+ */
377
+ proto.BaseEditQuantityQuotationItem.deserializeBinary = function(bytes) {
378
+ var reader = new jspb.BinaryReader(bytes);
379
+ var msg = new proto.BaseEditQuantityQuotationItem;
380
+ return proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader(msg, reader);
381
+ };
382
+
383
+
384
+ /**
385
+ * Deserializes binary data (in protobuf wire format) from the
386
+ * given reader into the given message object.
387
+ * @param {!proto.BaseEditQuantityQuotationItem} msg The message object to deserialize into.
388
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
389
+ * @return {!proto.BaseEditQuantityQuotationItem}
390
+ */
391
+ proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg, reader) {
392
+ while (reader.nextField()) {
393
+ if (reader.isEndGroup()) {
394
+ break;
395
+ }
396
+ var field = reader.getFieldNumber();
397
+ switch (field) {
398
+ case 1:
399
+ var value = /** @type {string} */ (reader.readString());
400
+ msg.setReferencesId(value);
401
+ break;
402
+ case 2:
403
+ var value = /** @type {number} */ (reader.readInt64());
404
+ msg.setQuantity(value);
405
+ break;
406
+ default:
407
+ reader.skipField();
408
+ break;
409
+ }
410
+ }
411
+ return msg;
412
+ };
413
+
414
+
415
+ /**
416
+ * Serializes the message to binary data (in protobuf wire format).
417
+ * @return {!Uint8Array}
418
+ */
419
+ proto.BaseEditQuantityQuotationItem.prototype.serializeBinary = function() {
420
+ var writer = new jspb.BinaryWriter();
421
+ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter(this, writer);
422
+ return writer.getResultBuffer();
423
+ };
424
+
425
+
426
+ /**
427
+ * Serializes the given message to binary data (in protobuf wire
428
+ * format), writing to the given BinaryWriter.
429
+ * @param {!proto.BaseEditQuantityQuotationItem} message
430
+ * @param {!jspb.BinaryWriter} writer
431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
432
+ */
433
+ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message, writer) {
434
+ var f = undefined;
435
+ f = message.getReferencesId();
436
+ if (f.length > 0) {
437
+ writer.writeString(
438
+ 1,
439
+ f
440
+ );
441
+ }
442
+ f = message.getQuantity();
443
+ if (f !== 0) {
444
+ writer.writeInt64(
445
+ 2,
446
+ f
447
+ );
448
+ }
449
+ };
450
+
451
+
452
+ /**
453
+ * optional string references_id = 1;
454
+ * @return {string}
455
+ */
456
+ proto.BaseEditQuantityQuotationItem.prototype.getReferencesId = function() {
457
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
458
+ };
459
+
460
+
461
+ /**
462
+ * @param {string} value
463
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
464
+ */
465
+ proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value) {
466
+ return jspb.Message.setProto3StringField(this, 1, value);
467
+ };
468
+
469
+
470
+ /**
471
+ * optional int64 quantity = 2;
472
+ * @return {number}
473
+ */
474
+ proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
475
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
476
+ };
477
+
478
+
479
+ /**
480
+ * @param {number} value
481
+ * @return {!proto.BaseEditQuantityQuotationItem} returns this
482
+ */
483
+ proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
484
+ return jspb.Message.setProto3IntField(this, 2, value);
485
+ };
486
+
487
+
488
+
489
+ /**
490
+ * List of repeated fields within this message type.
491
+ * @private {!Array<number>}
492
+ * @const
493
+ */
494
+ proto.UpdateSetWinner.repeatedFields_ = [4];
495
+
496
+
497
+
498
+ if (jspb.Message.GENERATE_TO_OBJECT) {
499
+ /**
500
+ * Creates an object representation of this proto.
501
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
502
+ * Optional fields that are not set will be set to undefined.
503
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
504
+ * For the list of reserved names please see:
505
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
506
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
507
+ * JSPB instance for transitional soy proto support:
508
+ * http://goto/soy-param-migration
509
+ * @return {!Object}
510
+ */
511
+ proto.UpdateSetWinner.prototype.toObject = function(opt_includeInstance) {
512
+ return proto.UpdateSetWinner.toObject(opt_includeInstance, this);
513
+ };
514
+
515
+
516
+ /**
517
+ * Static version of the {@see toObject} method.
518
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
519
+ * the JSPB instance for transitional soy proto support:
520
+ * http://goto/soy-param-migration
521
+ * @param {!proto.UpdateSetWinner} msg The msg instance to transform.
522
+ * @return {!Object}
523
+ * @suppress {unusedLocalVariables} f is only used for nested messages
524
+ */
525
+ proto.UpdateSetWinner.toObject = function(includeInstance, msg) {
526
+ var f, obj = {
527
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
528
+ termAndCondition: jspb.Message.getFieldWithDefault(msg, 2, ""),
529
+ justification: jspb.Message.getFieldWithDefault(msg, 3, ""),
530
+ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
531
+ proto.BaseEditQuantityQuotationItem.toObject, includeInstance)
532
+ };
533
+
534
+ if (includeInstance) {
535
+ obj.$jspbMessageInstance = msg;
536
+ }
537
+ return obj;
538
+ };
539
+ }
540
+
541
+
542
+ /**
543
+ * Deserializes binary data (in protobuf wire format).
544
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
545
+ * @return {!proto.UpdateSetWinner}
546
+ */
547
+ proto.UpdateSetWinner.deserializeBinary = function(bytes) {
548
+ var reader = new jspb.BinaryReader(bytes);
549
+ var msg = new proto.UpdateSetWinner;
550
+ return proto.UpdateSetWinner.deserializeBinaryFromReader(msg, reader);
551
+ };
552
+
553
+
554
+ /**
555
+ * Deserializes binary data (in protobuf wire format) from the
556
+ * given reader into the given message object.
557
+ * @param {!proto.UpdateSetWinner} msg The message object to deserialize into.
558
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
559
+ * @return {!proto.UpdateSetWinner}
560
+ */
561
+ proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
562
+ while (reader.nextField()) {
563
+ if (reader.isEndGroup()) {
564
+ break;
565
+ }
566
+ var field = reader.getFieldNumber();
567
+ switch (field) {
568
+ case 1:
569
+ var value = /** @type {string} */ (reader.readString());
570
+ msg.setReferencesId(value);
571
+ break;
572
+ case 2:
573
+ var value = /** @type {string} */ (reader.readString());
574
+ msg.setTermAndCondition(value);
575
+ break;
576
+ case 3:
577
+ var value = /** @type {string} */ (reader.readString());
578
+ msg.setJustification(value);
579
+ break;
580
+ case 4:
581
+ var value = new proto.BaseEditQuantityQuotationItem;
582
+ reader.readMessage(value,proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader);
583
+ msg.addItemTransactions(value);
584
+ break;
585
+ default:
586
+ reader.skipField();
587
+ break;
588
+ }
589
+ }
590
+ return msg;
591
+ };
592
+
593
+
594
+ /**
595
+ * Serializes the message to binary data (in protobuf wire format).
596
+ * @return {!Uint8Array}
597
+ */
598
+ proto.UpdateSetWinner.prototype.serializeBinary = function() {
599
+ var writer = new jspb.BinaryWriter();
600
+ proto.UpdateSetWinner.serializeBinaryToWriter(this, writer);
601
+ return writer.getResultBuffer();
602
+ };
603
+
604
+
605
+ /**
606
+ * Serializes the given message to binary data (in protobuf wire
607
+ * format), writing to the given BinaryWriter.
608
+ * @param {!proto.UpdateSetWinner} message
609
+ * @param {!jspb.BinaryWriter} writer
610
+ * @suppress {unusedLocalVariables} f is only used for nested messages
611
+ */
612
+ proto.UpdateSetWinner.serializeBinaryToWriter = function(message, writer) {
613
+ var f = undefined;
614
+ f = message.getReferencesId();
615
+ if (f.length > 0) {
616
+ writer.writeString(
617
+ 1,
618
+ f
619
+ );
620
+ }
621
+ f = message.getTermAndCondition();
622
+ if (f.length > 0) {
623
+ writer.writeString(
624
+ 2,
625
+ f
626
+ );
627
+ }
628
+ f = message.getJustification();
629
+ if (f.length > 0) {
630
+ writer.writeString(
631
+ 3,
632
+ f
633
+ );
634
+ }
635
+ f = message.getItemTransactionsList();
636
+ if (f.length > 0) {
637
+ writer.writeRepeatedMessage(
638
+ 4,
639
+ f,
640
+ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter
641
+ );
642
+ }
643
+ };
644
+
645
+
646
+ /**
647
+ * optional string references_id = 1;
648
+ * @return {string}
649
+ */
650
+ proto.UpdateSetWinner.prototype.getReferencesId = function() {
651
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
652
+ };
653
+
654
+
655
+ /**
656
+ * @param {string} value
657
+ * @return {!proto.UpdateSetWinner} returns this
658
+ */
659
+ proto.UpdateSetWinner.prototype.setReferencesId = function(value) {
660
+ return jspb.Message.setProto3StringField(this, 1, value);
661
+ };
662
+
663
+
664
+ /**
665
+ * optional string term_and_condition = 2;
666
+ * @return {string}
667
+ */
668
+ proto.UpdateSetWinner.prototype.getTermAndCondition = function() {
669
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
670
+ };
671
+
672
+
673
+ /**
674
+ * @param {string} value
675
+ * @return {!proto.UpdateSetWinner} returns this
676
+ */
677
+ proto.UpdateSetWinner.prototype.setTermAndCondition = function(value) {
678
+ return jspb.Message.setProto3StringField(this, 2, value);
679
+ };
680
+
681
+
682
+ /**
683
+ * optional string justification = 3;
684
+ * @return {string}
685
+ */
686
+ proto.UpdateSetWinner.prototype.getJustification = function() {
687
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
688
+ };
689
+
690
+
691
+ /**
692
+ * @param {string} value
693
+ * @return {!proto.UpdateSetWinner} returns this
694
+ */
695
+ proto.UpdateSetWinner.prototype.setJustification = function(value) {
696
+ return jspb.Message.setProto3StringField(this, 3, value);
697
+ };
698
+
699
+
700
+ /**
701
+ * repeated BaseEditQuantityQuotationItem item_transactions = 4;
702
+ * @return {!Array<!proto.BaseEditQuantityQuotationItem>}
703
+ */
704
+ proto.UpdateSetWinner.prototype.getItemTransactionsList = function() {
705
+ return /** @type{!Array<!proto.BaseEditQuantityQuotationItem>} */ (
706
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseEditQuantityQuotationItem, 4));
707
+ };
708
+
709
+
710
+ /**
711
+ * @param {!Array<!proto.BaseEditQuantityQuotationItem>} value
712
+ * @return {!proto.UpdateSetWinner} returns this
713
+ */
714
+ proto.UpdateSetWinner.prototype.setItemTransactionsList = function(value) {
715
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
716
+ };
717
+
718
+
719
+ /**
720
+ * @param {!proto.BaseEditQuantityQuotationItem=} opt_value
721
+ * @param {number=} opt_index
722
+ * @return {!proto.BaseEditQuantityQuotationItem}
723
+ */
724
+ proto.UpdateSetWinner.prototype.addItemTransactions = function(opt_value, opt_index) {
725
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.BaseEditQuantityQuotationItem, opt_index);
726
+ };
727
+
728
+
729
+ /**
730
+ * Clears the list making it empty but non-null.
731
+ * @return {!proto.UpdateSetWinner} returns this
732
+ */
733
+ proto.UpdateSetWinner.prototype.clearItemTransactionsList = function() {
734
+ return this.setItemTransactionsList([]);
735
+ };
736
+
737
+
738
+
739
+ /**
740
+ * List of repeated fields within this message type.
741
+ * @private {!Array<number>}
742
+ * @const
743
+ */
744
+ proto.BaseQuotationRequest.repeatedFields_ = [20,22];
745
+
746
+
747
+
748
+ if (jspb.Message.GENERATE_TO_OBJECT) {
749
+ /**
750
+ * Creates an object representation of this proto.
751
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
752
+ * Optional fields that are not set will be set to undefined.
753
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
754
+ * For the list of reserved names please see:
755
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
756
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
757
+ * JSPB instance for transitional soy proto support:
758
+ * http://goto/soy-param-migration
759
+ * @return {!Object}
760
+ */
761
+ proto.BaseQuotationRequest.prototype.toObject = function(opt_includeInstance) {
762
+ return proto.BaseQuotationRequest.toObject(opt_includeInstance, this);
763
+ };
764
+
765
+
766
+ /**
767
+ * Static version of the {@see toObject} method.
768
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
769
+ * the JSPB instance for transitional soy proto support:
770
+ * http://goto/soy-param-migration
771
+ * @param {!proto.BaseQuotationRequest} msg The msg instance to transform.
772
+ * @return {!Object}
773
+ * @suppress {unusedLocalVariables} f is only used for nested messages
774
+ */
775
+ proto.BaseQuotationRequest.toObject = function(includeInstance, msg) {
776
+ var f, obj = {
777
+ description: jspb.Message.getFieldWithDefault(msg, 1, ""),
778
+ detail: jspb.Message.getFieldWithDefault(msg, 2, ""),
779
+ prQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
780
+ remainingQuantityPo: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
781
+ replacement: jspb.Message.getFieldWithDefault(msg, 5, ""),
782
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
783
+ price: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
784
+ vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
785
+ biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
786
+ termOfPayment: jspb.Message.getFieldWithDefault(msg, 10, ""),
787
+ deliveryDate: jspb.Message.getFieldWithDefault(msg, 11, ""),
788
+ deliveryPoint: jspb.Message.getFieldWithDefault(msg, 12, ""),
789
+ vendorSource: jspb.Message.getFieldWithDefault(msg, 13, ""),
790
+ setWinner: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
791
+ notesForVendor: jspb.Message.getFieldWithDefault(msg, 15, ""),
792
+ termOfCondition: jspb.Message.getFieldWithDefault(msg, 16, ""),
793
+ customTransaction: jspb.Message.getFieldWithDefault(msg, 17, ""),
794
+ plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
795
+ department: jspb.Message.getFieldWithDefault(msg, 19, ""),
796
+ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
797
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
798
+ visible: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
799
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
800
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
801
+ };
802
+
803
+ if (includeInstance) {
804
+ obj.$jspbMessageInstance = msg;
805
+ }
806
+ return obj;
807
+ };
808
+ }
809
+
810
+
811
+ /**
812
+ * Deserializes binary data (in protobuf wire format).
813
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
814
+ * @return {!proto.BaseQuotationRequest}
815
+ */
816
+ proto.BaseQuotationRequest.deserializeBinary = function(bytes) {
817
+ var reader = new jspb.BinaryReader(bytes);
818
+ var msg = new proto.BaseQuotationRequest;
819
+ return proto.BaseQuotationRequest.deserializeBinaryFromReader(msg, reader);
820
+ };
821
+
822
+
823
+ /**
824
+ * Deserializes binary data (in protobuf wire format) from the
825
+ * given reader into the given message object.
826
+ * @param {!proto.BaseQuotationRequest} msg The message object to deserialize into.
827
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
828
+ * @return {!proto.BaseQuotationRequest}
829
+ */
830
+ proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
831
+ while (reader.nextField()) {
832
+ if (reader.isEndGroup()) {
833
+ break;
834
+ }
835
+ var field = reader.getFieldNumber();
836
+ switch (field) {
837
+ case 1:
838
+ var value = /** @type {string} */ (reader.readString());
839
+ msg.setDescription(value);
840
+ break;
841
+ case 2:
842
+ var value = /** @type {string} */ (reader.readString());
843
+ msg.setDetail(value);
844
+ break;
845
+ case 3:
846
+ var value = /** @type {number} */ (reader.readFloat());
847
+ msg.setPrQuantity(value);
848
+ break;
849
+ case 4:
850
+ var value = /** @type {number} */ (reader.readFloat());
851
+ msg.setRemainingQuantityPo(value);
852
+ break;
853
+ case 5:
854
+ var value = /** @type {string} */ (reader.readString());
855
+ msg.setReplacement(value);
856
+ break;
857
+ case 6:
858
+ var value = /** @type {number} */ (reader.readFloat());
859
+ msg.setQuantity(value);
860
+ break;
861
+ case 7:
862
+ var value = /** @type {number} */ (reader.readFloat());
863
+ msg.setPrice(value);
864
+ break;
865
+ case 8:
866
+ var value = /** @type {string} */ (reader.readString());
867
+ msg.setVendorReferencesId(value);
868
+ break;
869
+ case 9:
870
+ var value = /** @type {string} */ (reader.readString());
871
+ msg.setBiddingReferencesId(value);
872
+ break;
873
+ case 10:
874
+ var value = /** @type {string} */ (reader.readString());
875
+ msg.setTermOfPayment(value);
876
+ break;
877
+ case 11:
878
+ var value = /** @type {string} */ (reader.readString());
879
+ msg.setDeliveryDate(value);
880
+ break;
881
+ case 12:
882
+ var value = /** @type {string} */ (reader.readString());
883
+ msg.setDeliveryPoint(value);
884
+ break;
885
+ case 13:
886
+ var value = /** @type {string} */ (reader.readString());
887
+ msg.setVendorSource(value);
888
+ break;
889
+ case 14:
890
+ var value = /** @type {boolean} */ (reader.readBool());
891
+ msg.setSetWinner(value);
892
+ break;
893
+ case 15:
894
+ var value = /** @type {string} */ (reader.readString());
895
+ msg.setNotesForVendor(value);
896
+ break;
897
+ case 16:
898
+ var value = /** @type {string} */ (reader.readString());
899
+ msg.setTermOfCondition(value);
900
+ break;
901
+ case 17:
902
+ var value = /** @type {string} */ (reader.readString());
903
+ msg.setCustomTransaction(value);
904
+ break;
905
+ case 18:
906
+ var value = /** @type {string} */ (reader.readString());
907
+ msg.setPlant(value);
908
+ break;
909
+ case 19:
910
+ var value = /** @type {string} */ (reader.readString());
911
+ msg.setDepartment(value);
912
+ break;
913
+ case 20:
914
+ var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
915
+ reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
916
+ msg.addItemTransactions(value);
917
+ break;
918
+ case 21:
919
+ var value = /** @type {boolean} */ (reader.readBool());
920
+ msg.setVisible(value);
921
+ break;
922
+ case 22:
923
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
924
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
925
+ msg.addFiles(value);
926
+ break;
927
+ default:
928
+ reader.skipField();
929
+ break;
930
+ }
931
+ }
932
+ return msg;
933
+ };
934
+
935
+
936
+ /**
937
+ * Serializes the message to binary data (in protobuf wire format).
938
+ * @return {!Uint8Array}
939
+ */
940
+ proto.BaseQuotationRequest.prototype.serializeBinary = function() {
941
+ var writer = new jspb.BinaryWriter();
942
+ proto.BaseQuotationRequest.serializeBinaryToWriter(this, writer);
943
+ return writer.getResultBuffer();
944
+ };
945
+
946
+
947
+ /**
948
+ * Serializes the given message to binary data (in protobuf wire
949
+ * format), writing to the given BinaryWriter.
950
+ * @param {!proto.BaseQuotationRequest} message
951
+ * @param {!jspb.BinaryWriter} writer
952
+ * @suppress {unusedLocalVariables} f is only used for nested messages
953
+ */
954
+ proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
955
+ var f = undefined;
956
+ f = message.getDescription();
957
+ if (f.length > 0) {
958
+ writer.writeString(
959
+ 1,
960
+ f
961
+ );
962
+ }
963
+ f = message.getDetail();
964
+ if (f.length > 0) {
965
+ writer.writeString(
966
+ 2,
967
+ f
968
+ );
969
+ }
970
+ f = message.getPrQuantity();
971
+ if (f !== 0.0) {
972
+ writer.writeFloat(
973
+ 3,
974
+ f
975
+ );
976
+ }
977
+ f = message.getRemainingQuantityPo();
978
+ if (f !== 0.0) {
979
+ writer.writeFloat(
980
+ 4,
981
+ f
982
+ );
983
+ }
984
+ f = message.getReplacement();
985
+ if (f.length > 0) {
986
+ writer.writeString(
987
+ 5,
988
+ f
989
+ );
990
+ }
991
+ f = message.getQuantity();
992
+ if (f !== 0.0) {
993
+ writer.writeFloat(
994
+ 6,
995
+ f
996
+ );
997
+ }
998
+ f = message.getPrice();
999
+ if (f !== 0.0) {
1000
+ writer.writeFloat(
1001
+ 7,
1002
+ f
1003
+ );
1004
+ }
1005
+ f = message.getVendorReferencesId();
1006
+ if (f.length > 0) {
1007
+ writer.writeString(
1008
+ 8,
1009
+ f
1010
+ );
1011
+ }
1012
+ f = message.getBiddingReferencesId();
1013
+ if (f.length > 0) {
1014
+ writer.writeString(
1015
+ 9,
1016
+ f
1017
+ );
1018
+ }
1019
+ f = message.getTermOfPayment();
1020
+ if (f.length > 0) {
1021
+ writer.writeString(
1022
+ 10,
1023
+ f
1024
+ );
1025
+ }
1026
+ f = message.getDeliveryDate();
1027
+ if (f.length > 0) {
1028
+ writer.writeString(
1029
+ 11,
1030
+ f
1031
+ );
1032
+ }
1033
+ f = message.getDeliveryPoint();
1034
+ if (f.length > 0) {
1035
+ writer.writeString(
1036
+ 12,
1037
+ f
1038
+ );
1039
+ }
1040
+ f = message.getVendorSource();
1041
+ if (f.length > 0) {
1042
+ writer.writeString(
1043
+ 13,
1044
+ f
1045
+ );
1046
+ }
1047
+ f = message.getSetWinner();
1048
+ if (f) {
1049
+ writer.writeBool(
1050
+ 14,
1051
+ f
1052
+ );
1053
+ }
1054
+ f = message.getNotesForVendor();
1055
+ if (f.length > 0) {
1056
+ writer.writeString(
1057
+ 15,
1058
+ f
1059
+ );
1060
+ }
1061
+ f = message.getTermOfCondition();
1062
+ if (f.length > 0) {
1063
+ writer.writeString(
1064
+ 16,
1065
+ f
1066
+ );
1067
+ }
1068
+ f = message.getCustomTransaction();
1069
+ if (f.length > 0) {
1070
+ writer.writeString(
1071
+ 17,
1072
+ f
1073
+ );
1074
+ }
1075
+ f = message.getPlant();
1076
+ if (f.length > 0) {
1077
+ writer.writeString(
1078
+ 18,
1079
+ f
1080
+ );
1081
+ }
1082
+ f = message.getDepartment();
1083
+ if (f.length > 0) {
1084
+ writer.writeString(
1085
+ 19,
1086
+ f
1087
+ );
1088
+ }
1089
+ f = message.getItemTransactionsList();
1090
+ if (f.length > 0) {
1091
+ writer.writeRepeatedMessage(
1092
+ 20,
1093
+ f,
1094
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
1095
+ );
1096
+ }
1097
+ f = message.getVisible();
1098
+ if (f) {
1099
+ writer.writeBool(
1100
+ 21,
1101
+ f
1102
+ );
1103
+ }
1104
+ f = message.getFilesList();
1105
+ if (f.length > 0) {
1106
+ writer.writeRepeatedMessage(
1107
+ 22,
1108
+ f,
1109
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1110
+ );
1111
+ }
1112
+ };
1113
+
1114
+
1115
+ /**
1116
+ * optional string description = 1;
1117
+ * @return {string}
1118
+ */
1119
+ proto.BaseQuotationRequest.prototype.getDescription = function() {
1120
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1121
+ };
1122
+
1123
+
1124
+ /**
1125
+ * @param {string} value
1126
+ * @return {!proto.BaseQuotationRequest} returns this
1127
+ */
1128
+ proto.BaseQuotationRequest.prototype.setDescription = function(value) {
1129
+ return jspb.Message.setProto3StringField(this, 1, value);
1130
+ };
1131
+
1132
+
1133
+ /**
1134
+ * optional string detail = 2;
1135
+ * @return {string}
1136
+ */
1137
+ proto.BaseQuotationRequest.prototype.getDetail = function() {
1138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1139
+ };
1140
+
1141
+
1142
+ /**
1143
+ * @param {string} value
1144
+ * @return {!proto.BaseQuotationRequest} returns this
1145
+ */
1146
+ proto.BaseQuotationRequest.prototype.setDetail = function(value) {
1147
+ return jspb.Message.setProto3StringField(this, 2, value);
1148
+ };
1149
+
1150
+
1151
+ /**
1152
+ * optional float pr_quantity = 3;
1153
+ * @return {number}
1154
+ */
1155
+ proto.BaseQuotationRequest.prototype.getPrQuantity = function() {
1156
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
1157
+ };
1158
+
1159
+
1160
+ /**
1161
+ * @param {number} value
1162
+ * @return {!proto.BaseQuotationRequest} returns this
1163
+ */
1164
+ proto.BaseQuotationRequest.prototype.setPrQuantity = function(value) {
1165
+ return jspb.Message.setProto3FloatField(this, 3, value);
1166
+ };
1167
+
1168
+
1169
+ /**
1170
+ * optional float remaining_quantity_po = 4;
1171
+ * @return {number}
1172
+ */
1173
+ proto.BaseQuotationRequest.prototype.getRemainingQuantityPo = function() {
1174
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
1175
+ };
1176
+
1177
+
1178
+ /**
1179
+ * @param {number} value
1180
+ * @return {!proto.BaseQuotationRequest} returns this
1181
+ */
1182
+ proto.BaseQuotationRequest.prototype.setRemainingQuantityPo = function(value) {
1183
+ return jspb.Message.setProto3FloatField(this, 4, value);
1184
+ };
1185
+
1186
+
1187
+ /**
1188
+ * optional string replacement = 5;
1189
+ * @return {string}
1190
+ */
1191
+ proto.BaseQuotationRequest.prototype.getReplacement = function() {
1192
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1193
+ };
1194
+
1195
+
1196
+ /**
1197
+ * @param {string} value
1198
+ * @return {!proto.BaseQuotationRequest} returns this
1199
+ */
1200
+ proto.BaseQuotationRequest.prototype.setReplacement = function(value) {
1201
+ return jspb.Message.setProto3StringField(this, 5, value);
1202
+ };
1203
+
1204
+
1205
+ /**
1206
+ * optional float quantity = 6;
1207
+ * @return {number}
1208
+ */
1209
+ proto.BaseQuotationRequest.prototype.getQuantity = function() {
1210
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
1211
+ };
1212
+
1213
+
1214
+ /**
1215
+ * @param {number} value
1216
+ * @return {!proto.BaseQuotationRequest} returns this
1217
+ */
1218
+ proto.BaseQuotationRequest.prototype.setQuantity = function(value) {
1219
+ return jspb.Message.setProto3FloatField(this, 6, value);
1220
+ };
1221
+
1222
+
1223
+ /**
1224
+ * optional float price = 7;
1225
+ * @return {number}
1226
+ */
1227
+ proto.BaseQuotationRequest.prototype.getPrice = function() {
1228
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
1229
+ };
1230
+
1231
+
1232
+ /**
1233
+ * @param {number} value
1234
+ * @return {!proto.BaseQuotationRequest} returns this
1235
+ */
1236
+ proto.BaseQuotationRequest.prototype.setPrice = function(value) {
1237
+ return jspb.Message.setProto3FloatField(this, 7, value);
1238
+ };
1239
+
1240
+
1241
+ /**
1242
+ * optional string vendor_references_id = 8;
1243
+ * @return {string}
1244
+ */
1245
+ proto.BaseQuotationRequest.prototype.getVendorReferencesId = function() {
1246
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1247
+ };
1248
+
1249
+
1250
+ /**
1251
+ * @param {string} value
1252
+ * @return {!proto.BaseQuotationRequest} returns this
1253
+ */
1254
+ proto.BaseQuotationRequest.prototype.setVendorReferencesId = function(value) {
1255
+ return jspb.Message.setProto3StringField(this, 8, value);
1256
+ };
1257
+
1258
+
1259
+ /**
1260
+ * optional string bidding_references_id = 9;
1261
+ * @return {string}
1262
+ */
1263
+ proto.BaseQuotationRequest.prototype.getBiddingReferencesId = function() {
1264
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1265
+ };
1266
+
1267
+
1268
+ /**
1269
+ * @param {string} value
1270
+ * @return {!proto.BaseQuotationRequest} returns this
1271
+ */
1272
+ proto.BaseQuotationRequest.prototype.setBiddingReferencesId = function(value) {
1273
+ return jspb.Message.setProto3StringField(this, 9, value);
1274
+ };
1275
+
1276
+
1277
+ /**
1278
+ * optional string term_of_payment = 10;
1279
+ * @return {string}
1280
+ */
1281
+ proto.BaseQuotationRequest.prototype.getTermOfPayment = function() {
1282
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1283
+ };
1284
+
1285
+
1286
+ /**
1287
+ * @param {string} value
1288
+ * @return {!proto.BaseQuotationRequest} returns this
1289
+ */
1290
+ proto.BaseQuotationRequest.prototype.setTermOfPayment = function(value) {
1291
+ return jspb.Message.setProto3StringField(this, 10, value);
1292
+ };
1293
+
1294
+
1295
+ /**
1296
+ * optional string delivery_date = 11;
1297
+ * @return {string}
1298
+ */
1299
+ proto.BaseQuotationRequest.prototype.getDeliveryDate = function() {
1300
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1301
+ };
1302
+
1303
+
1304
+ /**
1305
+ * @param {string} value
1306
+ * @return {!proto.BaseQuotationRequest} returns this
1307
+ */
1308
+ proto.BaseQuotationRequest.prototype.setDeliveryDate = function(value) {
1309
+ return jspb.Message.setProto3StringField(this, 11, value);
1310
+ };
1311
+
1312
+
1313
+ /**
1314
+ * optional string delivery_point = 12;
1315
+ * @return {string}
1316
+ */
1317
+ proto.BaseQuotationRequest.prototype.getDeliveryPoint = function() {
1318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1319
+ };
1320
+
1321
+
1322
+ /**
1323
+ * @param {string} value
1324
+ * @return {!proto.BaseQuotationRequest} returns this
1325
+ */
1326
+ proto.BaseQuotationRequest.prototype.setDeliveryPoint = function(value) {
1327
+ return jspb.Message.setProto3StringField(this, 12, value);
1328
+ };
1329
+
1330
+
1331
+ /**
1332
+ * optional string vendor_source = 13;
1333
+ * @return {string}
1334
+ */
1335
+ proto.BaseQuotationRequest.prototype.getVendorSource = function() {
1336
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1337
+ };
1338
+
1339
+
1340
+ /**
1341
+ * @param {string} value
1342
+ * @return {!proto.BaseQuotationRequest} returns this
1343
+ */
1344
+ proto.BaseQuotationRequest.prototype.setVendorSource = function(value) {
1345
+ return jspb.Message.setProto3StringField(this, 13, value);
1346
+ };
1347
+
1348
+
1349
+ /**
1350
+ * optional bool set_winner = 14;
1351
+ * @return {boolean}
1352
+ */
1353
+ proto.BaseQuotationRequest.prototype.getSetWinner = function() {
1354
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
1355
+ };
1356
+
1357
+
1358
+ /**
1359
+ * @param {boolean} value
1360
+ * @return {!proto.BaseQuotationRequest} returns this
1361
+ */
1362
+ proto.BaseQuotationRequest.prototype.setSetWinner = function(value) {
1363
+ return jspb.Message.setProto3BooleanField(this, 14, value);
1364
+ };
1365
+
1366
+
1367
+ /**
1368
+ * optional string notes_for_vendor = 15;
1369
+ * @return {string}
1370
+ */
1371
+ proto.BaseQuotationRequest.prototype.getNotesForVendor = function() {
1372
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1373
+ };
1374
+
1375
+
1376
+ /**
1377
+ * @param {string} value
1378
+ * @return {!proto.BaseQuotationRequest} returns this
1379
+ */
1380
+ proto.BaseQuotationRequest.prototype.setNotesForVendor = function(value) {
1381
+ return jspb.Message.setProto3StringField(this, 15, value);
1382
+ };
1383
+
1384
+
1385
+ /**
1386
+ * optional string term_of_condition = 16;
1387
+ * @return {string}
1388
+ */
1389
+ proto.BaseQuotationRequest.prototype.getTermOfCondition = function() {
1390
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1391
+ };
1392
+
1393
+
1394
+ /**
1395
+ * @param {string} value
1396
+ * @return {!proto.BaseQuotationRequest} returns this
1397
+ */
1398
+ proto.BaseQuotationRequest.prototype.setTermOfCondition = function(value) {
1399
+ return jspb.Message.setProto3StringField(this, 16, value);
1400
+ };
1401
+
1402
+
1403
+ /**
1404
+ * optional string custom_transaction = 17;
1405
+ * @return {string}
1406
+ */
1407
+ proto.BaseQuotationRequest.prototype.getCustomTransaction = function() {
1408
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1409
+ };
1410
+
1411
+
1412
+ /**
1413
+ * @param {string} value
1414
+ * @return {!proto.BaseQuotationRequest} returns this
1415
+ */
1416
+ proto.BaseQuotationRequest.prototype.setCustomTransaction = function(value) {
1417
+ return jspb.Message.setProto3StringField(this, 17, value);
1418
+ };
1419
+
1420
+
1421
+ /**
1422
+ * optional string plant = 18;
1423
+ * @return {string}
1424
+ */
1425
+ proto.BaseQuotationRequest.prototype.getPlant = function() {
1426
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
1427
+ };
1428
+
1429
+
1430
+ /**
1431
+ * @param {string} value
1432
+ * @return {!proto.BaseQuotationRequest} returns this
1433
+ */
1434
+ proto.BaseQuotationRequest.prototype.setPlant = function(value) {
1435
+ return jspb.Message.setProto3StringField(this, 18, value);
1436
+ };
1437
+
1438
+
1439
+ /**
1440
+ * optional string department = 19;
1441
+ * @return {string}
1442
+ */
1443
+ proto.BaseQuotationRequest.prototype.getDepartment = function() {
1444
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
1445
+ };
1446
+
1447
+
1448
+ /**
1449
+ * @param {string} value
1450
+ * @return {!proto.BaseQuotationRequest} returns this
1451
+ */
1452
+ proto.BaseQuotationRequest.prototype.setDepartment = function(value) {
1453
+ return jspb.Message.setProto3StringField(this, 19, value);
1454
+ };
1455
+
1456
+
1457
+ /**
1458
+ * repeated ItemTransaction item_transactions = 20;
1459
+ * @return {!Array<!proto.ItemTransaction>}
1460
+ */
1461
+ proto.BaseQuotationRequest.prototype.getItemTransactionsList = function() {
1462
+ return /** @type{!Array<!proto.ItemTransaction>} */ (
1463
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 20));
1464
+ };
1465
+
1466
+
1467
+ /**
1468
+ * @param {!Array<!proto.ItemTransaction>} value
1469
+ * @return {!proto.BaseQuotationRequest} returns this
1470
+ */
1471
+ proto.BaseQuotationRequest.prototype.setItemTransactionsList = function(value) {
1472
+ return jspb.Message.setRepeatedWrapperField(this, 20, value);
1473
+ };
1474
+
1475
+
1476
+ /**
1477
+ * @param {!proto.ItemTransaction=} opt_value
1478
+ * @param {number=} opt_index
1479
+ * @return {!proto.ItemTransaction}
1480
+ */
1481
+ proto.BaseQuotationRequest.prototype.addItemTransactions = function(opt_value, opt_index) {
1482
+ return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.ItemTransaction, opt_index);
1483
+ };
1484
+
1485
+
1486
+ /**
1487
+ * Clears the list making it empty but non-null.
1488
+ * @return {!proto.BaseQuotationRequest} returns this
1489
+ */
1490
+ proto.BaseQuotationRequest.prototype.clearItemTransactionsList = function() {
1491
+ return this.setItemTransactionsList([]);
1492
+ };
1493
+
1494
+
1495
+ /**
1496
+ * optional bool visible = 21;
1497
+ * @return {boolean}
1498
+ */
1499
+ proto.BaseQuotationRequest.prototype.getVisible = function() {
1500
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
1501
+ };
1502
+
1503
+
1504
+ /**
1505
+ * @param {boolean} value
1506
+ * @return {!proto.BaseQuotationRequest} returns this
1507
+ */
1508
+ proto.BaseQuotationRequest.prototype.setVisible = function(value) {
1509
+ return jspb.Message.setProto3BooleanField(this, 21, value);
1510
+ };
1511
+
1512
+
1513
+ /**
1514
+ * repeated FileUploadReferencesReq files = 22;
1515
+ * @return {!Array<!proto.FileUploadReferencesReq>}
1516
+ */
1517
+ proto.BaseQuotationRequest.prototype.getFilesList = function() {
1518
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1519
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 22));
1520
+ };
1521
+
1522
+
1523
+ /**
1524
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
1525
+ * @return {!proto.BaseQuotationRequest} returns this
1526
+ */
1527
+ proto.BaseQuotationRequest.prototype.setFilesList = function(value) {
1528
+ return jspb.Message.setRepeatedWrapperField(this, 22, value);
1529
+ };
1530
+
1531
+
1532
+ /**
1533
+ * @param {!proto.FileUploadReferencesReq=} opt_value
1534
+ * @param {number=} opt_index
1535
+ * @return {!proto.FileUploadReferencesReq}
1536
+ */
1537
+ proto.BaseQuotationRequest.prototype.addFiles = function(opt_value, opt_index) {
1538
+ return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.FileUploadReferencesReq, opt_index);
1539
+ };
1540
+
1541
+
1542
+ /**
1543
+ * Clears the list making it empty but non-null.
1544
+ * @return {!proto.BaseQuotationRequest} returns this
1545
+ */
1546
+ proto.BaseQuotationRequest.prototype.clearFilesList = function() {
1547
+ return this.setFilesList([]);
1548
+ };
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1555
+ /**
1556
+ * Creates an object representation of this proto.
1557
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1558
+ * Optional fields that are not set will be set to undefined.
1559
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1560
+ * For the list of reserved names please see:
1561
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1562
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1563
+ * JSPB instance for transitional soy proto support:
1564
+ * http://goto/soy-param-migration
1565
+ * @return {!Object}
1566
+ */
1567
+ proto.GetQuotationByIdRequest.prototype.toObject = function(opt_includeInstance) {
1568
+ return proto.GetQuotationByIdRequest.toObject(opt_includeInstance, this);
1569
+ };
1570
+
1571
+
1572
+ /**
1573
+ * Static version of the {@see toObject} method.
1574
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1575
+ * the JSPB instance for transitional soy proto support:
1576
+ * http://goto/soy-param-migration
1577
+ * @param {!proto.GetQuotationByIdRequest} msg The msg instance to transform.
1578
+ * @return {!Object}
1579
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1580
+ */
1581
+ proto.GetQuotationByIdRequest.toObject = function(includeInstance, msg) {
1582
+ var f, obj = {
1583
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1584
+ };
1585
+
1586
+ if (includeInstance) {
1587
+ obj.$jspbMessageInstance = msg;
1588
+ }
1589
+ return obj;
1590
+ };
1591
+ }
1592
+
1593
+
1594
+ /**
1595
+ * Deserializes binary data (in protobuf wire format).
1596
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1597
+ * @return {!proto.GetQuotationByIdRequest}
1598
+ */
1599
+ proto.GetQuotationByIdRequest.deserializeBinary = function(bytes) {
1600
+ var reader = new jspb.BinaryReader(bytes);
1601
+ var msg = new proto.GetQuotationByIdRequest;
1602
+ return proto.GetQuotationByIdRequest.deserializeBinaryFromReader(msg, reader);
1603
+ };
1604
+
1605
+
1606
+ /**
1607
+ * Deserializes binary data (in protobuf wire format) from the
1608
+ * given reader into the given message object.
1609
+ * @param {!proto.GetQuotationByIdRequest} msg The message object to deserialize into.
1610
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1611
+ * @return {!proto.GetQuotationByIdRequest}
1612
+ */
1613
+ proto.GetQuotationByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
1614
+ while (reader.nextField()) {
1615
+ if (reader.isEndGroup()) {
1616
+ break;
1617
+ }
1618
+ var field = reader.getFieldNumber();
1619
+ switch (field) {
1620
+ case 1:
1621
+ var value = /** @type {string} */ (reader.readString());
1622
+ msg.setReferencesId(value);
1623
+ break;
1624
+ default:
1625
+ reader.skipField();
1626
+ break;
1627
+ }
1628
+ }
1629
+ return msg;
1630
+ };
1631
+
1632
+
1633
+ /**
1634
+ * Serializes the message to binary data (in protobuf wire format).
1635
+ * @return {!Uint8Array}
1636
+ */
1637
+ proto.GetQuotationByIdRequest.prototype.serializeBinary = function() {
1638
+ var writer = new jspb.BinaryWriter();
1639
+ proto.GetQuotationByIdRequest.serializeBinaryToWriter(this, writer);
1640
+ return writer.getResultBuffer();
1641
+ };
1642
+
1643
+
1644
+ /**
1645
+ * Serializes the given message to binary data (in protobuf wire
1646
+ * format), writing to the given BinaryWriter.
1647
+ * @param {!proto.GetQuotationByIdRequest} message
1648
+ * @param {!jspb.BinaryWriter} writer
1649
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1650
+ */
1651
+ proto.GetQuotationByIdRequest.serializeBinaryToWriter = function(message, writer) {
1652
+ var f = undefined;
1653
+ f = message.getReferencesId();
1654
+ if (f.length > 0) {
1655
+ writer.writeString(
1656
+ 1,
1657
+ f
1658
+ );
1659
+ }
1660
+ };
1661
+
1662
+
1663
+ /**
1664
+ * optional string references_id = 1;
1665
+ * @return {string}
1666
+ */
1667
+ proto.GetQuotationByIdRequest.prototype.getReferencesId = function() {
1668
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1669
+ };
1670
+
1671
+
1672
+ /**
1673
+ * @param {string} value
1674
+ * @return {!proto.GetQuotationByIdRequest} returns this
1675
+ */
1676
+ proto.GetQuotationByIdRequest.prototype.setReferencesId = function(value) {
1677
+ return jspb.Message.setProto3StringField(this, 1, value);
1678
+ };
1679
+
1680
+
1681
+
1682
+
1683
+
1684
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1685
+ /**
1686
+ * Creates an object representation of this proto.
1687
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1688
+ * Optional fields that are not set will be set to undefined.
1689
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1690
+ * For the list of reserved names please see:
1691
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1692
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1693
+ * JSPB instance for transitional soy proto support:
1694
+ * http://goto/soy-param-migration
1695
+ * @return {!Object}
1696
+ */
1697
+ proto.UnSetWinnerRequest.prototype.toObject = function(opt_includeInstance) {
1698
+ return proto.UnSetWinnerRequest.toObject(opt_includeInstance, this);
1699
+ };
1700
+
1701
+
1702
+ /**
1703
+ * Static version of the {@see toObject} method.
1704
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1705
+ * the JSPB instance for transitional soy proto support:
1706
+ * http://goto/soy-param-migration
1707
+ * @param {!proto.UnSetWinnerRequest} msg The msg instance to transform.
1708
+ * @return {!Object}
1709
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1710
+ */
1711
+ proto.UnSetWinnerRequest.toObject = function(includeInstance, msg) {
1712
+ var f, obj = {
1713
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1714
+ };
1715
+
1716
+ if (includeInstance) {
1717
+ obj.$jspbMessageInstance = msg;
1718
+ }
1719
+ return obj;
1720
+ };
1721
+ }
1722
+
1723
+
1724
+ /**
1725
+ * Deserializes binary data (in protobuf wire format).
1726
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1727
+ * @return {!proto.UnSetWinnerRequest}
1728
+ */
1729
+ proto.UnSetWinnerRequest.deserializeBinary = function(bytes) {
1730
+ var reader = new jspb.BinaryReader(bytes);
1731
+ var msg = new proto.UnSetWinnerRequest;
1732
+ return proto.UnSetWinnerRequest.deserializeBinaryFromReader(msg, reader);
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * Deserializes binary data (in protobuf wire format) from the
1738
+ * given reader into the given message object.
1739
+ * @param {!proto.UnSetWinnerRequest} msg The message object to deserialize into.
1740
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1741
+ * @return {!proto.UnSetWinnerRequest}
1742
+ */
1743
+ proto.UnSetWinnerRequest.deserializeBinaryFromReader = function(msg, reader) {
1744
+ while (reader.nextField()) {
1745
+ if (reader.isEndGroup()) {
1746
+ break;
1747
+ }
1748
+ var field = reader.getFieldNumber();
1749
+ switch (field) {
1750
+ case 1:
1751
+ var value = /** @type {string} */ (reader.readString());
1752
+ msg.setReferencesId(value);
1753
+ break;
1754
+ default:
1755
+ reader.skipField();
1756
+ break;
1757
+ }
1758
+ }
1759
+ return msg;
1760
+ };
1761
+
1762
+
1763
+ /**
1764
+ * Serializes the message to binary data (in protobuf wire format).
1765
+ * @return {!Uint8Array}
1766
+ */
1767
+ proto.UnSetWinnerRequest.prototype.serializeBinary = function() {
1768
+ var writer = new jspb.BinaryWriter();
1769
+ proto.UnSetWinnerRequest.serializeBinaryToWriter(this, writer);
1770
+ return writer.getResultBuffer();
1771
+ };
1772
+
1773
+
1774
+ /**
1775
+ * Serializes the given message to binary data (in protobuf wire
1776
+ * format), writing to the given BinaryWriter.
1777
+ * @param {!proto.UnSetWinnerRequest} message
1778
+ * @param {!jspb.BinaryWriter} writer
1779
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1780
+ */
1781
+ proto.UnSetWinnerRequest.serializeBinaryToWriter = function(message, writer) {
1782
+ var f = undefined;
1783
+ f = message.getReferencesId();
1784
+ if (f.length > 0) {
1785
+ writer.writeString(
1786
+ 1,
1787
+ f
1788
+ );
1789
+ }
1790
+ };
1791
+
1792
+
1793
+ /**
1794
+ * optional string references_id = 1;
1795
+ * @return {string}
1796
+ */
1797
+ proto.UnSetWinnerRequest.prototype.getReferencesId = function() {
1798
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1799
+ };
1800
+
1801
+
1802
+ /**
1803
+ * @param {string} value
1804
+ * @return {!proto.UnSetWinnerRequest} returns this
1805
+ */
1806
+ proto.UnSetWinnerRequest.prototype.setReferencesId = function(value) {
1807
+ return jspb.Message.setProto3StringField(this, 1, value);
1808
+ };
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1815
+ /**
1816
+ * Creates an object representation of this proto.
1817
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1818
+ * Optional fields that are not set will be set to undefined.
1819
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1820
+ * For the list of reserved names please see:
1821
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1822
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1823
+ * JSPB instance for transitional soy proto support:
1824
+ * http://goto/soy-param-migration
1825
+ * @return {!Object}
1826
+ */
1827
+ proto.UpdateQuotationRequest.prototype.toObject = function(opt_includeInstance) {
1828
+ return proto.UpdateQuotationRequest.toObject(opt_includeInstance, this);
1829
+ };
1830
+
1831
+
1832
+ /**
1833
+ * Static version of the {@see toObject} method.
1834
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1835
+ * the JSPB instance for transitional soy proto support:
1836
+ * http://goto/soy-param-migration
1837
+ * @param {!proto.UpdateQuotationRequest} msg The msg instance to transform.
1838
+ * @return {!Object}
1839
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1840
+ */
1841
+ proto.UpdateQuotationRequest.toObject = function(includeInstance, msg) {
1842
+ var f, obj = {
1843
+ baseQuotation: (f = msg.getBaseQuotation()) && proto.BaseQuotationRequest.toObject(includeInstance, f),
1844
+ referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
1845
+ };
1846
+
1847
+ if (includeInstance) {
1848
+ obj.$jspbMessageInstance = msg;
1849
+ }
1850
+ return obj;
1851
+ };
1852
+ }
1853
+
1854
+
1855
+ /**
1856
+ * Deserializes binary data (in protobuf wire format).
1857
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1858
+ * @return {!proto.UpdateQuotationRequest}
1859
+ */
1860
+ proto.UpdateQuotationRequest.deserializeBinary = function(bytes) {
1861
+ var reader = new jspb.BinaryReader(bytes);
1862
+ var msg = new proto.UpdateQuotationRequest;
1863
+ return proto.UpdateQuotationRequest.deserializeBinaryFromReader(msg, reader);
1864
+ };
1865
+
1866
+
1867
+ /**
1868
+ * Deserializes binary data (in protobuf wire format) from the
1869
+ * given reader into the given message object.
1870
+ * @param {!proto.UpdateQuotationRequest} msg The message object to deserialize into.
1871
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1872
+ * @return {!proto.UpdateQuotationRequest}
1873
+ */
1874
+ proto.UpdateQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
1875
+ while (reader.nextField()) {
1876
+ if (reader.isEndGroup()) {
1877
+ break;
1878
+ }
1879
+ var field = reader.getFieldNumber();
1880
+ switch (field) {
1881
+ case 1:
1882
+ var value = new proto.BaseQuotationRequest;
1883
+ reader.readMessage(value,proto.BaseQuotationRequest.deserializeBinaryFromReader);
1884
+ msg.setBaseQuotation(value);
1885
+ break;
1886
+ case 2:
1887
+ var value = /** @type {string} */ (reader.readString());
1888
+ msg.setReferencesId(value);
1889
+ break;
1890
+ default:
1891
+ reader.skipField();
1892
+ break;
1893
+ }
1894
+ }
1895
+ return msg;
1896
+ };
1897
+
1898
+
1899
+ /**
1900
+ * Serializes the message to binary data (in protobuf wire format).
1901
+ * @return {!Uint8Array}
1902
+ */
1903
+ proto.UpdateQuotationRequest.prototype.serializeBinary = function() {
1904
+ var writer = new jspb.BinaryWriter();
1905
+ proto.UpdateQuotationRequest.serializeBinaryToWriter(this, writer);
1906
+ return writer.getResultBuffer();
1907
+ };
1908
+
1909
+
1910
+ /**
1911
+ * Serializes the given message to binary data (in protobuf wire
1912
+ * format), writing to the given BinaryWriter.
1913
+ * @param {!proto.UpdateQuotationRequest} message
1914
+ * @param {!jspb.BinaryWriter} writer
1915
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1916
+ */
1917
+ proto.UpdateQuotationRequest.serializeBinaryToWriter = function(message, writer) {
1918
+ var f = undefined;
1919
+ f = message.getBaseQuotation();
1920
+ if (f != null) {
1921
+ writer.writeMessage(
1922
+ 1,
1923
+ f,
1924
+ proto.BaseQuotationRequest.serializeBinaryToWriter
1925
+ );
1926
+ }
1927
+ f = message.getReferencesId();
1928
+ if (f.length > 0) {
1929
+ writer.writeString(
1930
+ 2,
1931
+ f
1932
+ );
1933
+ }
1934
+ };
1935
+
1936
+
1937
+ /**
1938
+ * optional BaseQuotationRequest base_quotation = 1;
1939
+ * @return {?proto.BaseQuotationRequest}
1940
+ */
1941
+ proto.UpdateQuotationRequest.prototype.getBaseQuotation = function() {
1942
+ return /** @type{?proto.BaseQuotationRequest} */ (
1943
+ jspb.Message.getWrapperField(this, proto.BaseQuotationRequest, 1));
1944
+ };
1945
+
1946
+
1947
+ /**
1948
+ * @param {?proto.BaseQuotationRequest|undefined} value
1949
+ * @return {!proto.UpdateQuotationRequest} returns this
1950
+ */
1951
+ proto.UpdateQuotationRequest.prototype.setBaseQuotation = function(value) {
1952
+ return jspb.Message.setWrapperField(this, 1, value);
1953
+ };
1954
+
1955
+
1956
+ /**
1957
+ * Clears the message field making it undefined.
1958
+ * @return {!proto.UpdateQuotationRequest} returns this
1959
+ */
1960
+ proto.UpdateQuotationRequest.prototype.clearBaseQuotation = function() {
1961
+ return this.setBaseQuotation(undefined);
1962
+ };
1963
+
1964
+
1965
+ /**
1966
+ * Returns whether this field is set.
1967
+ * @return {boolean}
1968
+ */
1969
+ proto.UpdateQuotationRequest.prototype.hasBaseQuotation = function() {
1970
+ return jspb.Message.getField(this, 1) != null;
1971
+ };
1972
+
1973
+
1974
+ /**
1975
+ * optional string references_id = 2;
1976
+ * @return {string}
1977
+ */
1978
+ proto.UpdateQuotationRequest.prototype.getReferencesId = function() {
1979
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1980
+ };
1981
+
1982
+
1983
+ /**
1984
+ * @param {string} value
1985
+ * @return {!proto.UpdateQuotationRequest} returns this
1986
+ */
1987
+ proto.UpdateQuotationRequest.prototype.setReferencesId = function(value) {
1988
+ return jspb.Message.setProto3StringField(this, 2, value);
1989
+ };
1990
+
1991
+
1992
+
1993
+
1994
+
1995
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1996
+ /**
1997
+ * Creates an object representation of this proto.
1998
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1999
+ * Optional fields that are not set will be set to undefined.
2000
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2001
+ * For the list of reserved names please see:
2002
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2003
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2004
+ * JSPB instance for transitional soy proto support:
2005
+ * http://goto/soy-param-migration
2006
+ * @return {!Object}
2007
+ */
2008
+ proto.GetListQuotationRequest.prototype.toObject = function(opt_includeInstance) {
2009
+ return proto.GetListQuotationRequest.toObject(opt_includeInstance, this);
2010
+ };
2011
+
2012
+
2013
+ /**
2014
+ * Static version of the {@see toObject} method.
2015
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2016
+ * the JSPB instance for transitional soy proto support:
2017
+ * http://goto/soy-param-migration
2018
+ * @param {!proto.GetListQuotationRequest} msg The msg instance to transform.
2019
+ * @return {!Object}
2020
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2021
+ */
2022
+ proto.GetListQuotationRequest.toObject = function(includeInstance, msg) {
2023
+ var f, obj = {
2024
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
2025
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
2026
+ };
2027
+
2028
+ if (includeInstance) {
2029
+ obj.$jspbMessageInstance = msg;
2030
+ }
2031
+ return obj;
2032
+ };
2033
+ }
2034
+
2035
+
2036
+ /**
2037
+ * Deserializes binary data (in protobuf wire format).
2038
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2039
+ * @return {!proto.GetListQuotationRequest}
2040
+ */
2041
+ proto.GetListQuotationRequest.deserializeBinary = function(bytes) {
2042
+ var reader = new jspb.BinaryReader(bytes);
2043
+ var msg = new proto.GetListQuotationRequest;
2044
+ return proto.GetListQuotationRequest.deserializeBinaryFromReader(msg, reader);
2045
+ };
2046
+
2047
+
2048
+ /**
2049
+ * Deserializes binary data (in protobuf wire format) from the
2050
+ * given reader into the given message object.
2051
+ * @param {!proto.GetListQuotationRequest} msg The message object to deserialize into.
2052
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2053
+ * @return {!proto.GetListQuotationRequest}
2054
+ */
2055
+ proto.GetListQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
2056
+ while (reader.nextField()) {
2057
+ if (reader.isEndGroup()) {
2058
+ break;
2059
+ }
2060
+ var field = reader.getFieldNumber();
2061
+ switch (field) {
2062
+ case 1:
2063
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
2064
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
2065
+ msg.setPagination(value);
2066
+ break;
2067
+ case 2:
2068
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
2069
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
2070
+ msg.setQuery(value);
2071
+ break;
2072
+ default:
2073
+ reader.skipField();
2074
+ break;
2075
+ }
2076
+ }
2077
+ return msg;
2078
+ };
2079
+
2080
+
2081
+ /**
2082
+ * Serializes the message to binary data (in protobuf wire format).
2083
+ * @return {!Uint8Array}
2084
+ */
2085
+ proto.GetListQuotationRequest.prototype.serializeBinary = function() {
2086
+ var writer = new jspb.BinaryWriter();
2087
+ proto.GetListQuotationRequest.serializeBinaryToWriter(this, writer);
2088
+ return writer.getResultBuffer();
2089
+ };
2090
+
2091
+
2092
+ /**
2093
+ * Serializes the given message to binary data (in protobuf wire
2094
+ * format), writing to the given BinaryWriter.
2095
+ * @param {!proto.GetListQuotationRequest} message
2096
+ * @param {!jspb.BinaryWriter} writer
2097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2098
+ */
2099
+ proto.GetListQuotationRequest.serializeBinaryToWriter = function(message, writer) {
2100
+ var f = undefined;
2101
+ f = message.getPagination();
2102
+ if (f != null) {
2103
+ writer.writeMessage(
2104
+ 1,
2105
+ f,
2106
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
2107
+ );
2108
+ }
2109
+ f = message.getQuery();
2110
+ if (f != null) {
2111
+ writer.writeMessage(
2112
+ 2,
2113
+ f,
2114
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
2115
+ );
2116
+ }
2117
+ };
2118
+
2119
+
2120
+ /**
2121
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
2122
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
2123
+ */
2124
+ proto.GetListQuotationRequest.prototype.getPagination = function() {
2125
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
2126
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
2127
+ };
2128
+
2129
+
2130
+ /**
2131
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
2132
+ * @return {!proto.GetListQuotationRequest} returns this
2133
+ */
2134
+ proto.GetListQuotationRequest.prototype.setPagination = function(value) {
2135
+ return jspb.Message.setWrapperField(this, 1, value);
2136
+ };
2137
+
2138
+
2139
+ /**
2140
+ * Clears the message field making it undefined.
2141
+ * @return {!proto.GetListQuotationRequest} returns this
2142
+ */
2143
+ proto.GetListQuotationRequest.prototype.clearPagination = function() {
2144
+ return this.setPagination(undefined);
2145
+ };
2146
+
2147
+
2148
+ /**
2149
+ * Returns whether this field is set.
2150
+ * @return {boolean}
2151
+ */
2152
+ proto.GetListQuotationRequest.prototype.hasPagination = function() {
2153
+ return jspb.Message.getField(this, 1) != null;
2154
+ };
2155
+
2156
+
2157
+ /**
2158
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
2159
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
2160
+ */
2161
+ proto.GetListQuotationRequest.prototype.getQuery = function() {
2162
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
2163
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
2164
+ };
2165
+
2166
+
2167
+ /**
2168
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
2169
+ * @return {!proto.GetListQuotationRequest} returns this
2170
+ */
2171
+ proto.GetListQuotationRequest.prototype.setQuery = function(value) {
2172
+ return jspb.Message.setWrapperField(this, 2, value);
2173
+ };
2174
+
2175
+
2176
+ /**
2177
+ * Clears the message field making it undefined.
2178
+ * @return {!proto.GetListQuotationRequest} returns this
2179
+ */
2180
+ proto.GetListQuotationRequest.prototype.clearQuery = function() {
2181
+ return this.setQuery(undefined);
2182
+ };
2183
+
2184
+
2185
+ /**
2186
+ * Returns whether this field is set.
2187
+ * @return {boolean}
2188
+ */
2189
+ proto.GetListQuotationRequest.prototype.hasQuery = function() {
2190
+ return jspb.Message.getField(this, 2) != null;
2191
+ };
2192
+
2193
+
2194
+
2195
+ /**
2196
+ * List of repeated fields within this message type.
2197
+ * @private {!Array<number>}
2198
+ * @const
2199
+ */
2200
+ proto.SetItemQuotation.repeatedFields_ = [6];
2201
+
2202
+
2203
+
2204
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2205
+ /**
2206
+ * Creates an object representation of this proto.
2207
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2208
+ * Optional fields that are not set will be set to undefined.
2209
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2210
+ * For the list of reserved names please see:
2211
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2212
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2213
+ * JSPB instance for transitional soy proto support:
2214
+ * http://goto/soy-param-migration
2215
+ * @return {!Object}
2216
+ */
2217
+ proto.SetItemQuotation.prototype.toObject = function(opt_includeInstance) {
2218
+ return proto.SetItemQuotation.toObject(opt_includeInstance, this);
2219
+ };
2220
+
2221
+
2222
+ /**
2223
+ * Static version of the {@see toObject} method.
2224
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2225
+ * the JSPB instance for transitional soy proto support:
2226
+ * http://goto/soy-param-migration
2227
+ * @param {!proto.SetItemQuotation} msg The msg instance to transform.
2228
+ * @return {!Object}
2229
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2230
+ */
2231
+ proto.SetItemQuotation.toObject = function(includeInstance, msg) {
2232
+ var f, obj = {
2233
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2234
+ detailDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
2235
+ replacement: jspb.Message.getFieldWithDefault(msg, 3, ""),
2236
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
2237
+ deliveryDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
2238
+ itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
2239
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.toObject, includeInstance)
2240
+ };
2241
+
2242
+ if (includeInstance) {
2243
+ obj.$jspbMessageInstance = msg;
2244
+ }
2245
+ return obj;
2246
+ };
2247
+ }
2248
+
2249
+
2250
+ /**
2251
+ * Deserializes binary data (in protobuf wire format).
2252
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2253
+ * @return {!proto.SetItemQuotation}
2254
+ */
2255
+ proto.SetItemQuotation.deserializeBinary = function(bytes) {
2256
+ var reader = new jspb.BinaryReader(bytes);
2257
+ var msg = new proto.SetItemQuotation;
2258
+ return proto.SetItemQuotation.deserializeBinaryFromReader(msg, reader);
2259
+ };
2260
+
2261
+
2262
+ /**
2263
+ * Deserializes binary data (in protobuf wire format) from the
2264
+ * given reader into the given message object.
2265
+ * @param {!proto.SetItemQuotation} msg The message object to deserialize into.
2266
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2267
+ * @return {!proto.SetItemQuotation}
2268
+ */
2269
+ proto.SetItemQuotation.deserializeBinaryFromReader = function(msg, reader) {
2270
+ while (reader.nextField()) {
2271
+ if (reader.isEndGroup()) {
2272
+ break;
2273
+ }
2274
+ var field = reader.getFieldNumber();
2275
+ switch (field) {
2276
+ case 1:
2277
+ var value = /** @type {string} */ (reader.readString());
2278
+ msg.setReferencesId(value);
2279
+ break;
2280
+ case 2:
2281
+ var value = /** @type {string} */ (reader.readString());
2282
+ msg.setDetailDescription(value);
2283
+ break;
2284
+ case 3:
2285
+ var value = /** @type {string} */ (reader.readString());
2286
+ msg.setReplacement(value);
2287
+ break;
2288
+ case 4:
2289
+ var value = /** @type {number} */ (reader.readFloat());
2290
+ msg.setQuantity(value);
2291
+ break;
2292
+ case 5:
2293
+ var value = /** @type {string} */ (reader.readString());
2294
+ msg.setDeliveryDate(value);
2295
+ break;
2296
+ case 6:
2297
+ var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition;
2298
+ reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.deserializeBinaryFromReader);
2299
+ msg.addItemTransactionPriceCondition(value);
2300
+ break;
2301
+ default:
2302
+ reader.skipField();
2303
+ break;
2304
+ }
2305
+ }
2306
+ return msg;
2307
+ };
2308
+
2309
+
2310
+ /**
2311
+ * Serializes the message to binary data (in protobuf wire format).
2312
+ * @return {!Uint8Array}
2313
+ */
2314
+ proto.SetItemQuotation.prototype.serializeBinary = function() {
2315
+ var writer = new jspb.BinaryWriter();
2316
+ proto.SetItemQuotation.serializeBinaryToWriter(this, writer);
2317
+ return writer.getResultBuffer();
2318
+ };
2319
+
2320
+
2321
+ /**
2322
+ * Serializes the given message to binary data (in protobuf wire
2323
+ * format), writing to the given BinaryWriter.
2324
+ * @param {!proto.SetItemQuotation} message
2325
+ * @param {!jspb.BinaryWriter} writer
2326
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2327
+ */
2328
+ proto.SetItemQuotation.serializeBinaryToWriter = function(message, writer) {
2329
+ var f = undefined;
2330
+ f = message.getReferencesId();
2331
+ if (f.length > 0) {
2332
+ writer.writeString(
2333
+ 1,
2334
+ f
2335
+ );
2336
+ }
2337
+ f = message.getDetailDescription();
2338
+ if (f.length > 0) {
2339
+ writer.writeString(
2340
+ 2,
2341
+ f
2342
+ );
2343
+ }
2344
+ f = message.getReplacement();
2345
+ if (f.length > 0) {
2346
+ writer.writeString(
2347
+ 3,
2348
+ f
2349
+ );
2350
+ }
2351
+ f = message.getQuantity();
2352
+ if (f !== 0.0) {
2353
+ writer.writeFloat(
2354
+ 4,
2355
+ f
2356
+ );
2357
+ }
2358
+ f = message.getDeliveryDate();
2359
+ if (f.length > 0) {
2360
+ writer.writeString(
2361
+ 5,
2362
+ f
2363
+ );
2364
+ }
2365
+ f = message.getItemTransactionPriceConditionList();
2366
+ if (f.length > 0) {
2367
+ writer.writeRepeatedMessage(
2368
+ 6,
2369
+ f,
2370
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.serializeBinaryToWriter
2371
+ );
2372
+ }
2373
+ };
2374
+
2375
+
2376
+ /**
2377
+ * optional string references_id = 1;
2378
+ * @return {string}
2379
+ */
2380
+ proto.SetItemQuotation.prototype.getReferencesId = function() {
2381
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2382
+ };
2383
+
2384
+
2385
+ /**
2386
+ * @param {string} value
2387
+ * @return {!proto.SetItemQuotation} returns this
2388
+ */
2389
+ proto.SetItemQuotation.prototype.setReferencesId = function(value) {
2390
+ return jspb.Message.setProto3StringField(this, 1, value);
2391
+ };
2392
+
2393
+
2394
+ /**
2395
+ * optional string detail_description = 2;
2396
+ * @return {string}
2397
+ */
2398
+ proto.SetItemQuotation.prototype.getDetailDescription = function() {
2399
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2400
+ };
2401
+
2402
+
2403
+ /**
2404
+ * @param {string} value
2405
+ * @return {!proto.SetItemQuotation} returns this
2406
+ */
2407
+ proto.SetItemQuotation.prototype.setDetailDescription = function(value) {
2408
+ return jspb.Message.setProto3StringField(this, 2, value);
2409
+ };
2410
+
2411
+
2412
+ /**
2413
+ * optional string replacement = 3;
2414
+ * @return {string}
2415
+ */
2416
+ proto.SetItemQuotation.prototype.getReplacement = function() {
2417
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2418
+ };
2419
+
2420
+
2421
+ /**
2422
+ * @param {string} value
2423
+ * @return {!proto.SetItemQuotation} returns this
2424
+ */
2425
+ proto.SetItemQuotation.prototype.setReplacement = function(value) {
2426
+ return jspb.Message.setProto3StringField(this, 3, value);
2427
+ };
2428
+
2429
+
2430
+ /**
2431
+ * optional float quantity = 4;
2432
+ * @return {number}
2433
+ */
2434
+ proto.SetItemQuotation.prototype.getQuantity = function() {
2435
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
2436
+ };
2437
+
2438
+
2439
+ /**
2440
+ * @param {number} value
2441
+ * @return {!proto.SetItemQuotation} returns this
2442
+ */
2443
+ proto.SetItemQuotation.prototype.setQuantity = function(value) {
2444
+ return jspb.Message.setProto3FloatField(this, 4, value);
2445
+ };
2446
+
2447
+
2448
+ /**
2449
+ * optional string delivery_date = 5;
2450
+ * @return {string}
2451
+ */
2452
+ proto.SetItemQuotation.prototype.getDeliveryDate = function() {
2453
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2454
+ };
2455
+
2456
+
2457
+ /**
2458
+ * @param {string} value
2459
+ * @return {!proto.SetItemQuotation} returns this
2460
+ */
2461
+ proto.SetItemQuotation.prototype.setDeliveryDate = function(value) {
2462
+ return jspb.Message.setProto3StringField(this, 5, value);
2463
+ };
2464
+
2465
+
2466
+ /**
2467
+ * repeated ItemTransactionPriceCondition item_transaction_price_condition = 6;
2468
+ * @return {!Array<!proto.ItemTransactionPriceCondition>}
2469
+ */
2470
+ proto.SetItemQuotation.prototype.getItemTransactionPriceConditionList = function() {
2471
+ return /** @type{!Array<!proto.ItemTransactionPriceCondition>} */ (
2472
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition, 6));
2473
+ };
2474
+
2475
+
2476
+ /**
2477
+ * @param {!Array<!proto.ItemTransactionPriceCondition>} value
2478
+ * @return {!proto.SetItemQuotation} returns this
2479
+ */
2480
+ proto.SetItemQuotation.prototype.setItemTransactionPriceConditionList = function(value) {
2481
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
2482
+ };
2483
+
2484
+
2485
+ /**
2486
+ * @param {!proto.ItemTransactionPriceCondition=} opt_value
2487
+ * @param {number=} opt_index
2488
+ * @return {!proto.ItemTransactionPriceCondition}
2489
+ */
2490
+ proto.SetItemQuotation.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
2491
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.ItemTransactionPriceCondition, opt_index);
2492
+ };
2493
+
2494
+
2495
+ /**
2496
+ * Clears the list making it empty but non-null.
2497
+ * @return {!proto.SetItemQuotation} returns this
2498
+ */
2499
+ proto.SetItemQuotation.prototype.clearItemTransactionPriceConditionList = function() {
2500
+ return this.setItemTransactionPriceConditionList([]);
2501
+ };
2502
+
2503
+
2504
+
2505
+ /**
2506
+ * List of repeated fields within this message type.
2507
+ * @private {!Array<number>}
2508
+ * @const
2509
+ */
2510
+ proto.SetQuotationRequest.repeatedFields_ = [4];
2511
+
2512
+
2513
+
2514
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2515
+ /**
2516
+ * Creates an object representation of this proto.
2517
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2518
+ * Optional fields that are not set will be set to undefined.
2519
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2520
+ * For the list of reserved names please see:
2521
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2522
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2523
+ * JSPB instance for transitional soy proto support:
2524
+ * http://goto/soy-param-migration
2525
+ * @return {!Object}
2526
+ */
2527
+ proto.SetQuotationRequest.prototype.toObject = function(opt_includeInstance) {
2528
+ return proto.SetQuotationRequest.toObject(opt_includeInstance, this);
2529
+ };
2530
+
2531
+
2532
+ /**
2533
+ * Static version of the {@see toObject} method.
2534
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2535
+ * the JSPB instance for transitional soy proto support:
2536
+ * http://goto/soy-param-migration
2537
+ * @param {!proto.SetQuotationRequest} msg The msg instance to transform.
2538
+ * @return {!Object}
2539
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2540
+ */
2541
+ proto.SetQuotationRequest.toObject = function(includeInstance, msg) {
2542
+ var f, obj = {
2543
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2544
+ termOfPayment: jspb.Message.getFieldWithDefault(msg, 2, ""),
2545
+ termOfCondition: jspb.Message.getFieldWithDefault(msg, 3, ""),
2546
+ setItemQuotationsList: jspb.Message.toObjectList(msg.getSetItemQuotationsList(),
2547
+ proto.SetItemQuotation.toObject, includeInstance)
2548
+ };
2549
+
2550
+ if (includeInstance) {
2551
+ obj.$jspbMessageInstance = msg;
2552
+ }
2553
+ return obj;
2554
+ };
2555
+ }
2556
+
2557
+
2558
+ /**
2559
+ * Deserializes binary data (in protobuf wire format).
2560
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2561
+ * @return {!proto.SetQuotationRequest}
2562
+ */
2563
+ proto.SetQuotationRequest.deserializeBinary = function(bytes) {
2564
+ var reader = new jspb.BinaryReader(bytes);
2565
+ var msg = new proto.SetQuotationRequest;
2566
+ return proto.SetQuotationRequest.deserializeBinaryFromReader(msg, reader);
2567
+ };
2568
+
2569
+
2570
+ /**
2571
+ * Deserializes binary data (in protobuf wire format) from the
2572
+ * given reader into the given message object.
2573
+ * @param {!proto.SetQuotationRequest} msg The message object to deserialize into.
2574
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2575
+ * @return {!proto.SetQuotationRequest}
2576
+ */
2577
+ proto.SetQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
2578
+ while (reader.nextField()) {
2579
+ if (reader.isEndGroup()) {
2580
+ break;
2581
+ }
2582
+ var field = reader.getFieldNumber();
2583
+ switch (field) {
2584
+ case 1:
2585
+ var value = /** @type {string} */ (reader.readString());
2586
+ msg.setReferencesId(value);
2587
+ break;
2588
+ case 2:
2589
+ var value = /** @type {string} */ (reader.readString());
2590
+ msg.setTermOfPayment(value);
2591
+ break;
2592
+ case 3:
2593
+ var value = /** @type {string} */ (reader.readString());
2594
+ msg.setTermOfCondition(value);
2595
+ break;
2596
+ case 4:
2597
+ var value = new proto.SetItemQuotation;
2598
+ reader.readMessage(value,proto.SetItemQuotation.deserializeBinaryFromReader);
2599
+ msg.addSetItemQuotations(value);
2600
+ break;
2601
+ default:
2602
+ reader.skipField();
2603
+ break;
2604
+ }
2605
+ }
2606
+ return msg;
2607
+ };
2608
+
2609
+
2610
+ /**
2611
+ * Serializes the message to binary data (in protobuf wire format).
2612
+ * @return {!Uint8Array}
2613
+ */
2614
+ proto.SetQuotationRequest.prototype.serializeBinary = function() {
2615
+ var writer = new jspb.BinaryWriter();
2616
+ proto.SetQuotationRequest.serializeBinaryToWriter(this, writer);
2617
+ return writer.getResultBuffer();
2618
+ };
2619
+
2620
+
2621
+ /**
2622
+ * Serializes the given message to binary data (in protobuf wire
2623
+ * format), writing to the given BinaryWriter.
2624
+ * @param {!proto.SetQuotationRequest} message
2625
+ * @param {!jspb.BinaryWriter} writer
2626
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2627
+ */
2628
+ proto.SetQuotationRequest.serializeBinaryToWriter = function(message, writer) {
2629
+ var f = undefined;
2630
+ f = message.getReferencesId();
2631
+ if (f.length > 0) {
2632
+ writer.writeString(
2633
+ 1,
2634
+ f
2635
+ );
2636
+ }
2637
+ f = message.getTermOfPayment();
2638
+ if (f.length > 0) {
2639
+ writer.writeString(
2640
+ 2,
2641
+ f
2642
+ );
2643
+ }
2644
+ f = message.getTermOfCondition();
2645
+ if (f.length > 0) {
2646
+ writer.writeString(
2647
+ 3,
2648
+ f
2649
+ );
2650
+ }
2651
+ f = message.getSetItemQuotationsList();
2652
+ if (f.length > 0) {
2653
+ writer.writeRepeatedMessage(
2654
+ 4,
2655
+ f,
2656
+ proto.SetItemQuotation.serializeBinaryToWriter
2657
+ );
2658
+ }
2659
+ };
2660
+
2661
+
2662
+ /**
2663
+ * optional string references_id = 1;
2664
+ * @return {string}
2665
+ */
2666
+ proto.SetQuotationRequest.prototype.getReferencesId = function() {
2667
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2668
+ };
2669
+
2670
+
2671
+ /**
2672
+ * @param {string} value
2673
+ * @return {!proto.SetQuotationRequest} returns this
2674
+ */
2675
+ proto.SetQuotationRequest.prototype.setReferencesId = function(value) {
2676
+ return jspb.Message.setProto3StringField(this, 1, value);
2677
+ };
2678
+
2679
+
2680
+ /**
2681
+ * optional string term_of_payment = 2;
2682
+ * @return {string}
2683
+ */
2684
+ proto.SetQuotationRequest.prototype.getTermOfPayment = function() {
2685
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2686
+ };
2687
+
2688
+
2689
+ /**
2690
+ * @param {string} value
2691
+ * @return {!proto.SetQuotationRequest} returns this
2692
+ */
2693
+ proto.SetQuotationRequest.prototype.setTermOfPayment = function(value) {
2694
+ return jspb.Message.setProto3StringField(this, 2, value);
2695
+ };
2696
+
2697
+
2698
+ /**
2699
+ * optional string term_of_condition = 3;
2700
+ * @return {string}
2701
+ */
2702
+ proto.SetQuotationRequest.prototype.getTermOfCondition = function() {
2703
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2704
+ };
2705
+
2706
+
2707
+ /**
2708
+ * @param {string} value
2709
+ * @return {!proto.SetQuotationRequest} returns this
2710
+ */
2711
+ proto.SetQuotationRequest.prototype.setTermOfCondition = function(value) {
2712
+ return jspb.Message.setProto3StringField(this, 3, value);
2713
+ };
2714
+
2715
+
2716
+ /**
2717
+ * repeated SetItemQuotation set_item_quotations = 4;
2718
+ * @return {!Array<!proto.SetItemQuotation>}
2719
+ */
2720
+ proto.SetQuotationRequest.prototype.getSetItemQuotationsList = function() {
2721
+ return /** @type{!Array<!proto.SetItemQuotation>} */ (
2722
+ jspb.Message.getRepeatedWrapperField(this, proto.SetItemQuotation, 4));
2723
+ };
2724
+
2725
+
2726
+ /**
2727
+ * @param {!Array<!proto.SetItemQuotation>} value
2728
+ * @return {!proto.SetQuotationRequest} returns this
2729
+ */
2730
+ proto.SetQuotationRequest.prototype.setSetItemQuotationsList = function(value) {
2731
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
2732
+ };
2733
+
2734
+
2735
+ /**
2736
+ * @param {!proto.SetItemQuotation=} opt_value
2737
+ * @param {number=} opt_index
2738
+ * @return {!proto.SetItemQuotation}
2739
+ */
2740
+ proto.SetQuotationRequest.prototype.addSetItemQuotations = function(opt_value, opt_index) {
2741
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.SetItemQuotation, opt_index);
2742
+ };
2743
+
2744
+
2745
+ /**
2746
+ * Clears the list making it empty but non-null.
2747
+ * @return {!proto.SetQuotationRequest} returns this
2748
+ */
2749
+ proto.SetQuotationRequest.prototype.clearSetItemQuotationsList = function() {
2750
+ return this.setSetItemQuotationsList([]);
2751
+ };
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2758
+ /**
2759
+ * Creates an object representation of this proto.
2760
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2761
+ * Optional fields that are not set will be set to undefined.
2762
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2763
+ * For the list of reserved names please see:
2764
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2765
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2766
+ * JSPB instance for transitional soy proto support:
2767
+ * http://goto/soy-param-migration
2768
+ * @return {!Object}
2769
+ */
2770
+ proto.GetQuotationByIdResponse.prototype.toObject = function(opt_includeInstance) {
2771
+ return proto.GetQuotationByIdResponse.toObject(opt_includeInstance, this);
2772
+ };
2773
+
2774
+
2775
+ /**
2776
+ * Static version of the {@see toObject} method.
2777
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2778
+ * the JSPB instance for transitional soy proto support:
2779
+ * http://goto/soy-param-migration
2780
+ * @param {!proto.GetQuotationByIdResponse} msg The msg instance to transform.
2781
+ * @return {!Object}
2782
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2783
+ */
2784
+ proto.GetQuotationByIdResponse.toObject = function(includeInstance, msg) {
2785
+ var f, obj = {
2786
+ quotation: (f = msg.getQuotation()) && prisca_v1_bidding_bidding_pb.Quotation.toObject(includeInstance, f),
2787
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2788
+ };
2789
+
2790
+ if (includeInstance) {
2791
+ obj.$jspbMessageInstance = msg;
2792
+ }
2793
+ return obj;
2794
+ };
2795
+ }
2796
+
2797
+
2798
+ /**
2799
+ * Deserializes binary data (in protobuf wire format).
2800
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2801
+ * @return {!proto.GetQuotationByIdResponse}
2802
+ */
2803
+ proto.GetQuotationByIdResponse.deserializeBinary = function(bytes) {
2804
+ var reader = new jspb.BinaryReader(bytes);
2805
+ var msg = new proto.GetQuotationByIdResponse;
2806
+ return proto.GetQuotationByIdResponse.deserializeBinaryFromReader(msg, reader);
2807
+ };
2808
+
2809
+
2810
+ /**
2811
+ * Deserializes binary data (in protobuf wire format) from the
2812
+ * given reader into the given message object.
2813
+ * @param {!proto.GetQuotationByIdResponse} msg The message object to deserialize into.
2814
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2815
+ * @return {!proto.GetQuotationByIdResponse}
2816
+ */
2817
+ proto.GetQuotationByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2818
+ while (reader.nextField()) {
2819
+ if (reader.isEndGroup()) {
2820
+ break;
2821
+ }
2822
+ var field = reader.getFieldNumber();
2823
+ switch (field) {
2824
+ case 1:
2825
+ var value = new prisca_v1_bidding_bidding_pb.Quotation;
2826
+ reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
2827
+ msg.setQuotation(value);
2828
+ break;
2829
+ case 2:
2830
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2831
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2832
+ msg.setMeta(value);
2833
+ break;
2834
+ default:
2835
+ reader.skipField();
2836
+ break;
2837
+ }
2838
+ }
2839
+ return msg;
2840
+ };
2841
+
2842
+
2843
+ /**
2844
+ * Serializes the message to binary data (in protobuf wire format).
2845
+ * @return {!Uint8Array}
2846
+ */
2847
+ proto.GetQuotationByIdResponse.prototype.serializeBinary = function() {
2848
+ var writer = new jspb.BinaryWriter();
2849
+ proto.GetQuotationByIdResponse.serializeBinaryToWriter(this, writer);
2850
+ return writer.getResultBuffer();
2851
+ };
2852
+
2853
+
2854
+ /**
2855
+ * Serializes the given message to binary data (in protobuf wire
2856
+ * format), writing to the given BinaryWriter.
2857
+ * @param {!proto.GetQuotationByIdResponse} message
2858
+ * @param {!jspb.BinaryWriter} writer
2859
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2860
+ */
2861
+ proto.GetQuotationByIdResponse.serializeBinaryToWriter = function(message, writer) {
2862
+ var f = undefined;
2863
+ f = message.getQuotation();
2864
+ if (f != null) {
2865
+ writer.writeMessage(
2866
+ 1,
2867
+ f,
2868
+ prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
2869
+ );
2870
+ }
2871
+ f = message.getMeta();
2872
+ if (f != null) {
2873
+ writer.writeMessage(
2874
+ 2,
2875
+ f,
2876
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2877
+ );
2878
+ }
2879
+ };
2880
+
2881
+
2882
+ /**
2883
+ * optional Quotation quotation = 1;
2884
+ * @return {?proto.Quotation}
2885
+ */
2886
+ proto.GetQuotationByIdResponse.prototype.getQuotation = function() {
2887
+ return /** @type{?proto.Quotation} */ (
2888
+ jspb.Message.getWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
2889
+ };
2890
+
2891
+
2892
+ /**
2893
+ * @param {?proto.Quotation|undefined} value
2894
+ * @return {!proto.GetQuotationByIdResponse} returns this
2895
+ */
2896
+ proto.GetQuotationByIdResponse.prototype.setQuotation = function(value) {
2897
+ return jspb.Message.setWrapperField(this, 1, value);
2898
+ };
2899
+
2900
+
2901
+ /**
2902
+ * Clears the message field making it undefined.
2903
+ * @return {!proto.GetQuotationByIdResponse} returns this
2904
+ */
2905
+ proto.GetQuotationByIdResponse.prototype.clearQuotation = function() {
2906
+ return this.setQuotation(undefined);
2907
+ };
2908
+
2909
+
2910
+ /**
2911
+ * Returns whether this field is set.
2912
+ * @return {boolean}
2913
+ */
2914
+ proto.GetQuotationByIdResponse.prototype.hasQuotation = function() {
2915
+ return jspb.Message.getField(this, 1) != null;
2916
+ };
2917
+
2918
+
2919
+ /**
2920
+ * optional prisca.v1.global.meta.Meta meta = 2;
2921
+ * @return {?proto.prisca.v1.global.meta.Meta}
2922
+ */
2923
+ proto.GetQuotationByIdResponse.prototype.getMeta = function() {
2924
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2925
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2926
+ };
2927
+
2928
+
2929
+ /**
2930
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2931
+ * @return {!proto.GetQuotationByIdResponse} returns this
2932
+ */
2933
+ proto.GetQuotationByIdResponse.prototype.setMeta = function(value) {
2934
+ return jspb.Message.setWrapperField(this, 2, value);
2935
+ };
2936
+
2937
+
2938
+ /**
2939
+ * Clears the message field making it undefined.
2940
+ * @return {!proto.GetQuotationByIdResponse} returns this
2941
+ */
2942
+ proto.GetQuotationByIdResponse.prototype.clearMeta = function() {
2943
+ return this.setMeta(undefined);
2944
+ };
2945
+
2946
+
2947
+ /**
2948
+ * Returns whether this field is set.
2949
+ * @return {boolean}
2950
+ */
2951
+ proto.GetQuotationByIdResponse.prototype.hasMeta = function() {
2952
+ return jspb.Message.getField(this, 2) != null;
2953
+ };
2954
+
2955
+
2956
+
2957
+ /**
2958
+ * List of repeated fields within this message type.
2959
+ * @private {!Array<number>}
2960
+ * @const
2961
+ */
2962
+ proto.GetQuotationDetailResponse.repeatedFields_ = [1,2];
2963
+
2964
+
2965
+
2966
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2967
+ /**
2968
+ * Creates an object representation of this proto.
2969
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2970
+ * Optional fields that are not set will be set to undefined.
2971
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2972
+ * For the list of reserved names please see:
2973
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2974
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2975
+ * JSPB instance for transitional soy proto support:
2976
+ * http://goto/soy-param-migration
2977
+ * @return {!Object}
2978
+ */
2979
+ proto.GetQuotationDetailResponse.prototype.toObject = function(opt_includeInstance) {
2980
+ return proto.GetQuotationDetailResponse.toObject(opt_includeInstance, this);
2981
+ };
2982
+
2983
+
2984
+ /**
2985
+ * Static version of the {@see toObject} method.
2986
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2987
+ * the JSPB instance for transitional soy proto support:
2988
+ * http://goto/soy-param-migration
2989
+ * @param {!proto.GetQuotationDetailResponse} msg The msg instance to transform.
2990
+ * @return {!Object}
2991
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2992
+ */
2993
+ proto.GetQuotationDetailResponse.toObject = function(includeInstance, msg) {
2994
+ var f, obj = {
2995
+ transactionBuilderList: jspb.Message.toObjectList(msg.getTransactionBuilderList(),
2996
+ prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
2997
+ transactionBuilderItemsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemsList(),
2998
+ prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.toObject, includeInstance)
2999
+ };
3000
+
3001
+ if (includeInstance) {
3002
+ obj.$jspbMessageInstance = msg;
3003
+ }
3004
+ return obj;
3005
+ };
3006
+ }
3007
+
3008
+
3009
+ /**
3010
+ * Deserializes binary data (in protobuf wire format).
3011
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3012
+ * @return {!proto.GetQuotationDetailResponse}
3013
+ */
3014
+ proto.GetQuotationDetailResponse.deserializeBinary = function(bytes) {
3015
+ var reader = new jspb.BinaryReader(bytes);
3016
+ var msg = new proto.GetQuotationDetailResponse;
3017
+ return proto.GetQuotationDetailResponse.deserializeBinaryFromReader(msg, reader);
3018
+ };
3019
+
3020
+
3021
+ /**
3022
+ * Deserializes binary data (in protobuf wire format) from the
3023
+ * given reader into the given message object.
3024
+ * @param {!proto.GetQuotationDetailResponse} msg The message object to deserialize into.
3025
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3026
+ * @return {!proto.GetQuotationDetailResponse}
3027
+ */
3028
+ proto.GetQuotationDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
3029
+ while (reader.nextField()) {
3030
+ if (reader.isEndGroup()) {
3031
+ break;
3032
+ }
3033
+ var field = reader.getFieldNumber();
3034
+ switch (field) {
3035
+ case 1:
3036
+ var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
3037
+ reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
3038
+ msg.addTransactionBuilder(value);
3039
+ break;
3040
+ case 2:
3041
+ var value = new prisca_v1_bidding_bidding_pb.GetQuotationItemPreload;
3042
+ reader.readMessage(value,prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.deserializeBinaryFromReader);
3043
+ msg.addTransactionBuilderItems(value);
3044
+ break;
3045
+ default:
3046
+ reader.skipField();
3047
+ break;
3048
+ }
3049
+ }
3050
+ return msg;
3051
+ };
3052
+
3053
+
3054
+ /**
3055
+ * Serializes the message to binary data (in protobuf wire format).
3056
+ * @return {!Uint8Array}
3057
+ */
3058
+ proto.GetQuotationDetailResponse.prototype.serializeBinary = function() {
3059
+ var writer = new jspb.BinaryWriter();
3060
+ proto.GetQuotationDetailResponse.serializeBinaryToWriter(this, writer);
3061
+ return writer.getResultBuffer();
3062
+ };
3063
+
3064
+
3065
+ /**
3066
+ * Serializes the given message to binary data (in protobuf wire
3067
+ * format), writing to the given BinaryWriter.
3068
+ * @param {!proto.GetQuotationDetailResponse} message
3069
+ * @param {!jspb.BinaryWriter} writer
3070
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3071
+ */
3072
+ proto.GetQuotationDetailResponse.serializeBinaryToWriter = function(message, writer) {
3073
+ var f = undefined;
3074
+ f = message.getTransactionBuilderList();
3075
+ if (f.length > 0) {
3076
+ writer.writeRepeatedMessage(
3077
+ 1,
3078
+ f,
3079
+ prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
3080
+ );
3081
+ }
3082
+ f = message.getTransactionBuilderItemsList();
3083
+ if (f.length > 0) {
3084
+ writer.writeRepeatedMessage(
3085
+ 2,
3086
+ f,
3087
+ prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.serializeBinaryToWriter
3088
+ );
3089
+ }
3090
+ };
3091
+
3092
+
3093
+ /**
3094
+ * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
3095
+ * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
3096
+ */
3097
+ proto.GetQuotationDetailResponse.prototype.getTransactionBuilderList = function() {
3098
+ return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
3099
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
3100
+ };
3101
+
3102
+
3103
+ /**
3104
+ * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
3105
+ * @return {!proto.GetQuotationDetailResponse} returns this
3106
+ */
3107
+ proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(value) {
3108
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3109
+ };
3110
+
3111
+
3112
+ /**
3113
+ * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
3114
+ * @param {number=} opt_index
3115
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
3116
+ */
3117
+ proto.GetQuotationDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
3118
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
3119
+ };
3120
+
3121
+
3122
+ /**
3123
+ * Clears the list making it empty but non-null.
3124
+ * @return {!proto.GetQuotationDetailResponse} returns this
3125
+ */
3126
+ proto.GetQuotationDetailResponse.prototype.clearTransactionBuilderList = function() {
3127
+ return this.setTransactionBuilderList([]);
3128
+ };
3129
+
3130
+
3131
+ /**
3132
+ * repeated GetQuotationItemPreload transaction_builder_items = 2;
3133
+ * @return {!Array<!proto.GetQuotationItemPreload>}
3134
+ */
3135
+ proto.GetQuotationDetailResponse.prototype.getTransactionBuilderItemsList = function() {
3136
+ return /** @type{!Array<!proto.GetQuotationItemPreload>} */ (
3137
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_bidding_bidding_pb.GetQuotationItemPreload, 2));
3138
+ };
3139
+
3140
+
3141
+ /**
3142
+ * @param {!Array<!proto.GetQuotationItemPreload>} value
3143
+ * @return {!proto.GetQuotationDetailResponse} returns this
3144
+ */
3145
+ proto.GetQuotationDetailResponse.prototype.setTransactionBuilderItemsList = function(value) {
3146
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
3147
+ };
3148
+
3149
+
3150
+ /**
3151
+ * @param {!proto.GetQuotationItemPreload=} opt_value
3152
+ * @param {number=} opt_index
3153
+ * @return {!proto.GetQuotationItemPreload}
3154
+ */
3155
+ proto.GetQuotationDetailResponse.prototype.addTransactionBuilderItems = function(opt_value, opt_index) {
3156
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.GetQuotationItemPreload, opt_index);
3157
+ };
3158
+
3159
+
3160
+ /**
3161
+ * Clears the list making it empty but non-null.
3162
+ * @return {!proto.GetQuotationDetailResponse} returns this
3163
+ */
3164
+ proto.GetQuotationDetailResponse.prototype.clearTransactionBuilderItemsList = function() {
3165
+ return this.setTransactionBuilderItemsList([]);
3166
+ };
3167
+
3168
+
3169
+
3170
+ /**
3171
+ * List of repeated fields within this message type.
3172
+ * @private {!Array<number>}
3173
+ * @const
3174
+ */
3175
+ proto.GetListQuotationResponse.repeatedFields_ = [1];
3176
+
3177
+
3178
+
3179
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3180
+ /**
3181
+ * Creates an object representation of this proto.
3182
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3183
+ * Optional fields that are not set will be set to undefined.
3184
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3185
+ * For the list of reserved names please see:
3186
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3187
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3188
+ * JSPB instance for transitional soy proto support:
3189
+ * http://goto/soy-param-migration
3190
+ * @return {!Object}
3191
+ */
3192
+ proto.GetListQuotationResponse.prototype.toObject = function(opt_includeInstance) {
3193
+ return proto.GetListQuotationResponse.toObject(opt_includeInstance, this);
3194
+ };
3195
+
3196
+
3197
+ /**
3198
+ * Static version of the {@see toObject} method.
3199
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3200
+ * the JSPB instance for transitional soy proto support:
3201
+ * http://goto/soy-param-migration
3202
+ * @param {!proto.GetListQuotationResponse} msg The msg instance to transform.
3203
+ * @return {!Object}
3204
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3205
+ */
3206
+ proto.GetListQuotationResponse.toObject = function(includeInstance, msg) {
3207
+ var f, obj = {
3208
+ quotationsList: jspb.Message.toObjectList(msg.getQuotationsList(),
3209
+ prisca_v1_bidding_bidding_pb.Quotation.toObject, includeInstance),
3210
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3211
+ };
3212
+
3213
+ if (includeInstance) {
3214
+ obj.$jspbMessageInstance = msg;
3215
+ }
3216
+ return obj;
3217
+ };
3218
+ }
3219
+
3220
+
3221
+ /**
3222
+ * Deserializes binary data (in protobuf wire format).
3223
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3224
+ * @return {!proto.GetListQuotationResponse}
3225
+ */
3226
+ proto.GetListQuotationResponse.deserializeBinary = function(bytes) {
3227
+ var reader = new jspb.BinaryReader(bytes);
3228
+ var msg = new proto.GetListQuotationResponse;
3229
+ return proto.GetListQuotationResponse.deserializeBinaryFromReader(msg, reader);
3230
+ };
3231
+
3232
+
3233
+ /**
3234
+ * Deserializes binary data (in protobuf wire format) from the
3235
+ * given reader into the given message object.
3236
+ * @param {!proto.GetListQuotationResponse} msg The message object to deserialize into.
3237
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3238
+ * @return {!proto.GetListQuotationResponse}
3239
+ */
3240
+ proto.GetListQuotationResponse.deserializeBinaryFromReader = function(msg, reader) {
3241
+ while (reader.nextField()) {
3242
+ if (reader.isEndGroup()) {
3243
+ break;
3244
+ }
3245
+ var field = reader.getFieldNumber();
3246
+ switch (field) {
3247
+ case 1:
3248
+ var value = new prisca_v1_bidding_bidding_pb.Quotation;
3249
+ reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
3250
+ msg.addQuotations(value);
3251
+ break;
3252
+ case 2:
3253
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
3254
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
3255
+ msg.setMeta(value);
3256
+ break;
3257
+ default:
3258
+ reader.skipField();
3259
+ break;
3260
+ }
3261
+ }
3262
+ return msg;
3263
+ };
3264
+
3265
+
3266
+ /**
3267
+ * Serializes the message to binary data (in protobuf wire format).
3268
+ * @return {!Uint8Array}
3269
+ */
3270
+ proto.GetListQuotationResponse.prototype.serializeBinary = function() {
3271
+ var writer = new jspb.BinaryWriter();
3272
+ proto.GetListQuotationResponse.serializeBinaryToWriter(this, writer);
3273
+ return writer.getResultBuffer();
3274
+ };
3275
+
3276
+
3277
+ /**
3278
+ * Serializes the given message to binary data (in protobuf wire
3279
+ * format), writing to the given BinaryWriter.
3280
+ * @param {!proto.GetListQuotationResponse} message
3281
+ * @param {!jspb.BinaryWriter} writer
3282
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3283
+ */
3284
+ proto.GetListQuotationResponse.serializeBinaryToWriter = function(message, writer) {
3285
+ var f = undefined;
3286
+ f = message.getQuotationsList();
3287
+ if (f.length > 0) {
3288
+ writer.writeRepeatedMessage(
3289
+ 1,
3290
+ f,
3291
+ prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
3292
+ );
3293
+ }
3294
+ f = message.getMeta();
3295
+ if (f != null) {
3296
+ writer.writeMessage(
3297
+ 2,
3298
+ f,
3299
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
3300
+ );
3301
+ }
3302
+ };
3303
+
3304
+
3305
+ /**
3306
+ * repeated Quotation quotations = 1;
3307
+ * @return {!Array<!proto.Quotation>}
3308
+ */
3309
+ proto.GetListQuotationResponse.prototype.getQuotationsList = function() {
3310
+ return /** @type{!Array<!proto.Quotation>} */ (
3311
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
3312
+ };
3313
+
3314
+
3315
+ /**
3316
+ * @param {!Array<!proto.Quotation>} value
3317
+ * @return {!proto.GetListQuotationResponse} returns this
3318
+ */
3319
+ proto.GetListQuotationResponse.prototype.setQuotationsList = function(value) {
3320
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3321
+ };
3322
+
3323
+
3324
+ /**
3325
+ * @param {!proto.Quotation=} opt_value
3326
+ * @param {number=} opt_index
3327
+ * @return {!proto.Quotation}
3328
+ */
3329
+ proto.GetListQuotationResponse.prototype.addQuotations = function(opt_value, opt_index) {
3330
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Quotation, opt_index);
3331
+ };
3332
+
3333
+
3334
+ /**
3335
+ * Clears the list making it empty but non-null.
3336
+ * @return {!proto.GetListQuotationResponse} returns this
3337
+ */
3338
+ proto.GetListQuotationResponse.prototype.clearQuotationsList = function() {
3339
+ return this.setQuotationsList([]);
3340
+ };
3341
+
3342
+
3343
+ /**
3344
+ * optional prisca.v1.global.meta.Meta meta = 2;
3345
+ * @return {?proto.prisca.v1.global.meta.Meta}
3346
+ */
3347
+ proto.GetListQuotationResponse.prototype.getMeta = function() {
3348
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
3349
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
3350
+ };
3351
+
3352
+
3353
+ /**
3354
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
3355
+ * @return {!proto.GetListQuotationResponse} returns this
3356
+ */
3357
+ proto.GetListQuotationResponse.prototype.setMeta = function(value) {
3358
+ return jspb.Message.setWrapperField(this, 2, value);
3359
+ };
3360
+
3361
+
3362
+ /**
3363
+ * Clears the message field making it undefined.
3364
+ * @return {!proto.GetListQuotationResponse} returns this
3365
+ */
3366
+ proto.GetListQuotationResponse.prototype.clearMeta = function() {
3367
+ return this.setMeta(undefined);
3368
+ };
3369
+
3370
+
3371
+ /**
3372
+ * Returns whether this field is set.
3373
+ * @return {boolean}
3374
+ */
3375
+ proto.GetListQuotationResponse.prototype.hasMeta = function() {
3376
+ return jspb.Message.getField(this, 2) != null;
3377
+ };
3378
+
3379
+
3380
+
3381
+
3382
+
3383
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3384
+ /**
3385
+ * Creates an object representation of this proto.
3386
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3387
+ * Optional fields that are not set will be set to undefined.
3388
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3389
+ * For the list of reserved names please see:
3390
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3391
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3392
+ * JSPB instance for transitional soy proto support:
3393
+ * http://goto/soy-param-migration
3394
+ * @return {!Object}
3395
+ */
3396
+ proto.UpdateQuotationResponse.prototype.toObject = function(opt_includeInstance) {
3397
+ return proto.UpdateQuotationResponse.toObject(opt_includeInstance, this);
3398
+ };
3399
+
3400
+
3401
+ /**
3402
+ * Static version of the {@see toObject} method.
3403
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3404
+ * the JSPB instance for transitional soy proto support:
3405
+ * http://goto/soy-param-migration
3406
+ * @param {!proto.UpdateQuotationResponse} msg The msg instance to transform.
3407
+ * @return {!Object}
3408
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3409
+ */
3410
+ proto.UpdateQuotationResponse.toObject = function(includeInstance, msg) {
3411
+ var f, obj = {
3412
+ quotation: (f = msg.getQuotation()) && prisca_v1_bidding_bidding_pb.Quotation.toObject(includeInstance, f),
3413
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3414
+ };
3415
+
3416
+ if (includeInstance) {
3417
+ obj.$jspbMessageInstance = msg;
3418
+ }
3419
+ return obj;
3420
+ };
3421
+ }
3422
+
3423
+
3424
+ /**
3425
+ * Deserializes binary data (in protobuf wire format).
3426
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3427
+ * @return {!proto.UpdateQuotationResponse}
3428
+ */
3429
+ proto.UpdateQuotationResponse.deserializeBinary = function(bytes) {
3430
+ var reader = new jspb.BinaryReader(bytes);
3431
+ var msg = new proto.UpdateQuotationResponse;
3432
+ return proto.UpdateQuotationResponse.deserializeBinaryFromReader(msg, reader);
3433
+ };
3434
+
3435
+
3436
+ /**
3437
+ * Deserializes binary data (in protobuf wire format) from the
3438
+ * given reader into the given message object.
3439
+ * @param {!proto.UpdateQuotationResponse} msg The message object to deserialize into.
3440
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3441
+ * @return {!proto.UpdateQuotationResponse}
3442
+ */
3443
+ proto.UpdateQuotationResponse.deserializeBinaryFromReader = function(msg, reader) {
3444
+ while (reader.nextField()) {
3445
+ if (reader.isEndGroup()) {
3446
+ break;
3447
+ }
3448
+ var field = reader.getFieldNumber();
3449
+ switch (field) {
3450
+ case 1:
3451
+ var value = new prisca_v1_bidding_bidding_pb.Quotation;
3452
+ reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
3453
+ msg.setQuotation(value);
3454
+ break;
3455
+ case 2:
3456
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
3457
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
3458
+ msg.setMeta(value);
3459
+ break;
3460
+ default:
3461
+ reader.skipField();
3462
+ break;
3463
+ }
3464
+ }
3465
+ return msg;
3466
+ };
3467
+
3468
+
3469
+ /**
3470
+ * Serializes the message to binary data (in protobuf wire format).
3471
+ * @return {!Uint8Array}
3472
+ */
3473
+ proto.UpdateQuotationResponse.prototype.serializeBinary = function() {
3474
+ var writer = new jspb.BinaryWriter();
3475
+ proto.UpdateQuotationResponse.serializeBinaryToWriter(this, writer);
3476
+ return writer.getResultBuffer();
3477
+ };
3478
+
3479
+
3480
+ /**
3481
+ * Serializes the given message to binary data (in protobuf wire
3482
+ * format), writing to the given BinaryWriter.
3483
+ * @param {!proto.UpdateQuotationResponse} message
3484
+ * @param {!jspb.BinaryWriter} writer
3485
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3486
+ */
3487
+ proto.UpdateQuotationResponse.serializeBinaryToWriter = function(message, writer) {
3488
+ var f = undefined;
3489
+ f = message.getQuotation();
3490
+ if (f != null) {
3491
+ writer.writeMessage(
3492
+ 1,
3493
+ f,
3494
+ prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
3495
+ );
3496
+ }
3497
+ f = message.getMeta();
3498
+ if (f != null) {
3499
+ writer.writeMessage(
3500
+ 2,
3501
+ f,
3502
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
3503
+ );
3504
+ }
3505
+ };
3506
+
3507
+
3508
+ /**
3509
+ * optional Quotation quotation = 1;
3510
+ * @return {?proto.Quotation}
3511
+ */
3512
+ proto.UpdateQuotationResponse.prototype.getQuotation = function() {
3513
+ return /** @type{?proto.Quotation} */ (
3514
+ jspb.Message.getWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
3515
+ };
3516
+
3517
+
3518
+ /**
3519
+ * @param {?proto.Quotation|undefined} value
3520
+ * @return {!proto.UpdateQuotationResponse} returns this
3521
+ */
3522
+ proto.UpdateQuotationResponse.prototype.setQuotation = function(value) {
3523
+ return jspb.Message.setWrapperField(this, 1, value);
3524
+ };
3525
+
3526
+
3527
+ /**
3528
+ * Clears the message field making it undefined.
3529
+ * @return {!proto.UpdateQuotationResponse} returns this
3530
+ */
3531
+ proto.UpdateQuotationResponse.prototype.clearQuotation = function() {
3532
+ return this.setQuotation(undefined);
3533
+ };
3534
+
3535
+
3536
+ /**
3537
+ * Returns whether this field is set.
3538
+ * @return {boolean}
3539
+ */
3540
+ proto.UpdateQuotationResponse.prototype.hasQuotation = function() {
3541
+ return jspb.Message.getField(this, 1) != null;
3542
+ };
3543
+
3544
+
3545
+ /**
3546
+ * optional prisca.v1.global.meta.Meta meta = 2;
3547
+ * @return {?proto.prisca.v1.global.meta.Meta}
3548
+ */
3549
+ proto.UpdateQuotationResponse.prototype.getMeta = function() {
3550
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
3551
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
3552
+ };
3553
+
3554
+
3555
+ /**
3556
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
3557
+ * @return {!proto.UpdateQuotationResponse} returns this
3558
+ */
3559
+ proto.UpdateQuotationResponse.prototype.setMeta = function(value) {
3560
+ return jspb.Message.setWrapperField(this, 2, value);
3561
+ };
3562
+
3563
+
3564
+ /**
3565
+ * Clears the message field making it undefined.
3566
+ * @return {!proto.UpdateQuotationResponse} returns this
3567
+ */
3568
+ proto.UpdateQuotationResponse.prototype.clearMeta = function() {
3569
+ return this.setMeta(undefined);
3570
+ };
3571
+
3572
+
3573
+ /**
3574
+ * Returns whether this field is set.
3575
+ * @return {boolean}
3576
+ */
3577
+ proto.UpdateQuotationResponse.prototype.hasMeta = function() {
3578
+ return jspb.Message.getField(this, 2) != null;
3579
+ };
3580
+
3581
+
3582
+ goog.object.extend(exports, proto);