@aldiokta/protocgen 1.1.22 → 1.1.23

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.proto +81 -0
  3. package/prisca/v1/account_group/account_group.proto +88 -0
  4. package/prisca/v1/bidding/bidding.proto +221 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +281 -0
  7. package/prisca/v1/core/auth/auth.proto +150 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
  9. package/prisca/v1/core/company/company.proto +92 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +129 -0
  13. package/prisca/v1/core/file_upload/file_upload.proto +37 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +85 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +134 -0
  16. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  17. package/prisca/v1/core/job_position/job_position.proto +113 -0
  18. package/prisca/v1/core/job_title/job_title.proto +89 -0
  19. package/prisca/v1/core/line_of_activity/line_of_activity.proto +66 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +96 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +289 -0
  23. package/prisca/v1/core/material/material.proto +131 -0
  24. package/prisca/v1/core/material_group/material_group.proto +85 -0
  25. package/prisca/v1/core/material_type/material_type.proto +95 -0
  26. package/prisca/v1/core/messaging/email_template.proto +75 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/number_range/number_range.proto +89 -0
  29. package/prisca/v1/core/organization/organization.proto +94 -0
  30. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  31. package/prisca/v1/core/price_condition/price_condition.proto +93 -0
  32. package/prisca/v1/core/procurement/procurement.proto +54 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  34. package/prisca/v1/core/report/report.proto +90 -0
  35. package/prisca/v1/core/report/user_report.proto +74 -0
  36. package/prisca/v1/core/tax_code/tax_code.proto +82 -0
  37. package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  40. package/prisca/v1/core/users/users.proto +55 -0
  41. package/prisca/v1/core/work_location/work_location.proto +122 -0
  42. package/prisca/v1/core/workflow/workflow.proto +218 -0
  43. package/prisca/v1/delivery_order/delivery_order.proto +147 -0
  44. package/prisca/v1/document_type/document_type.proto +82 -0
  45. package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
  46. package/prisca/v1/global/meta/meta.proto +57 -0
  47. package/prisca/v1/good_receipt/good_receipt.proto +11 -0
  48. package/prisca/v1/purchase_order/purchase_order.proto +157 -0
  49. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +306 -0
  50. package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
  51. package/prisca/v1/purchasing_organization/purchasing_organization.proto +79 -0
  52. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
  53. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  54. package/prisca/v1/quotation/quotation.proto +118 -0
  55. package/prisca/v1/request_for_quotation/request_for_quotation.proto +174 -0
  56. package/prisca/v1/valuation/valuation.proto +223 -0
  57. package/prisca/v1/vendor_domain/vendor_domain.proto +226 -0
  58. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  59. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
  60. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  61. package/prisca/v1/account_group/account_group_pb.js +0 -2937
  62. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -262
  63. package/prisca/v1/bidding/bidding_pb.js +0 -6944
  64. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  65. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
  66. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  67. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
  68. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
  69. package/prisca/v1/core/auth/auth_pb.js +0 -4497
  70. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  71. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
  72. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  73. package/prisca/v1/core/company/company_pb.js +0 -3100
  74. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  75. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  76. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  77. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  78. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  79. package/prisca/v1/core/employee/employee_pb.js +0 -4335
  80. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
  81. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1052
  82. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -177
  83. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2904
  84. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  85. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -4180
  86. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  87. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2657
  88. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  89. package/prisca/v1/core/job_position/job_position_pb.js +0 -3814
  90. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  91. package/prisca/v1/core/job_title/job_title_pb.js +0 -3010
  92. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  93. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
  94. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
  95. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3251
  96. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  97. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  98. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  99. package/prisca/v1/core/location/location_pb.js +0 -10879
  100. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  101. package/prisca/v1/core/material/material_pb.js +0 -4232
  102. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  103. package/prisca/v1/core/material_group/material_group_pb.js +0 -2828
  104. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -182
  105. package/prisca/v1/core/material_type/material_type_pb.js +0 -3104
  106. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  107. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  108. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  109. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  110. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  111. package/prisca/v1/core/number_range/number_range_pb.js +0 -2978
  112. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  113. package/prisca/v1/core/organization/organization_pb.js +0 -3084
  114. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  115. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2597
  116. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -179
  117. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -3061
  118. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  119. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  120. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  121. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  122. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  123. package/prisca/v1/core/report/report_pb.js +0 -2822
  124. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  125. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  126. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  127. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2732
  128. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -177
  129. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2512
  130. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
  131. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
  132. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  133. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  134. package/prisca/v1/core/users/users_grpc_pb.js +0 -78
  135. package/prisca/v1/core/users/users_pb.js +0 -1653
  136. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  137. package/prisca/v1/core/work_location/work_location_pb.js +0 -4024
  138. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  139. package/prisca/v1/core/workflow/workflow_pb.js +0 -7577
  140. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +0 -229
  141. package/prisca/v1/delivery_order/delivery_order_pb.js +0 -4661
  142. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  143. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  144. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  145. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  146. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  147. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  148. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +0 -1
  149. package/prisca/v1/good_receipt/good_receipt_pb.js +0 -35
  150. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -228
  151. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -5049
  152. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -523
  153. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
  154. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  155. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2927
  156. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -178
  157. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2546
  158. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -179
  159. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2590
  160. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  161. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
  162. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -163
  163. package/prisca/v1/quotation/quotation_pb.js +0 -2796
  164. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -193
  165. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5961
  166. package/prisca/v1/valuation/valuation_grpc_pb.js +0 -365
  167. package/prisca/v1/valuation/valuation_pb.js +0 -7729
  168. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -224
  169. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -6363
@@ -1,2796 +0,0 @@
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.UpdateQuotationRequest', null, global);
50
- goog.exportSymbol('proto.UpdateQuotationResponse', null, global);
51
- goog.exportSymbol('proto.UpdateSetWinner', null, global);
52
- /**
53
- * Generated by JsPbCodeGenerator.
54
- * @param {Array=} opt_data Optional initial data array, typically from a
55
- * server response, or constructed directly in Javascript. The array is used
56
- * in place and becomes part of the constructed object. It is not cloned.
57
- * If no data is provided, the constructed object will be empty, but still
58
- * valid.
59
- * @extends {jspb.Message}
60
- * @constructor
61
- */
62
- proto.BaseEditQuantityQuotationItem = function(opt_data) {
63
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
64
- };
65
- goog.inherits(proto.BaseEditQuantityQuotationItem, jspb.Message);
66
- if (goog.DEBUG && !COMPILED) {
67
- /**
68
- * @public
69
- * @override
70
- */
71
- proto.BaseEditQuantityQuotationItem.displayName = 'proto.BaseEditQuantityQuotationItem';
72
- }
73
- /**
74
- * Generated by JsPbCodeGenerator.
75
- * @param {Array=} opt_data Optional initial data array, typically from a
76
- * server response, or constructed directly in Javascript. The array is used
77
- * in place and becomes part of the constructed object. It is not cloned.
78
- * If no data is provided, the constructed object will be empty, but still
79
- * valid.
80
- * @extends {jspb.Message}
81
- * @constructor
82
- */
83
- proto.UpdateSetWinner = function(opt_data) {
84
- jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateSetWinner.repeatedFields_, null);
85
- };
86
- goog.inherits(proto.UpdateSetWinner, jspb.Message);
87
- if (goog.DEBUG && !COMPILED) {
88
- /**
89
- * @public
90
- * @override
91
- */
92
- proto.UpdateSetWinner.displayName = 'proto.UpdateSetWinner';
93
- }
94
- /**
95
- * Generated by JsPbCodeGenerator.
96
- * @param {Array=} opt_data Optional initial data array, typically from a
97
- * server response, or constructed directly in Javascript. The array is used
98
- * in place and becomes part of the constructed object. It is not cloned.
99
- * If no data is provided, the constructed object will be empty, but still
100
- * valid.
101
- * @extends {jspb.Message}
102
- * @constructor
103
- */
104
- proto.BaseQuotationRequest = function(opt_data) {
105
- jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseQuotationRequest.repeatedFields_, null);
106
- };
107
- goog.inherits(proto.BaseQuotationRequest, jspb.Message);
108
- if (goog.DEBUG && !COMPILED) {
109
- /**
110
- * @public
111
- * @override
112
- */
113
- proto.BaseQuotationRequest.displayName = 'proto.BaseQuotationRequest';
114
- }
115
- /**
116
- * Generated by JsPbCodeGenerator.
117
- * @param {Array=} opt_data Optional initial data array, typically from a
118
- * server response, or constructed directly in Javascript. The array is used
119
- * in place and becomes part of the constructed object. It is not cloned.
120
- * If no data is provided, the constructed object will be empty, but still
121
- * valid.
122
- * @extends {jspb.Message}
123
- * @constructor
124
- */
125
- proto.GetQuotationByIdRequest = function(opt_data) {
126
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
127
- };
128
- goog.inherits(proto.GetQuotationByIdRequest, jspb.Message);
129
- if (goog.DEBUG && !COMPILED) {
130
- /**
131
- * @public
132
- * @override
133
- */
134
- proto.GetQuotationByIdRequest.displayName = 'proto.GetQuotationByIdRequest';
135
- }
136
- /**
137
- * Generated by JsPbCodeGenerator.
138
- * @param {Array=} opt_data Optional initial data array, typically from a
139
- * server response, or constructed directly in Javascript. The array is used
140
- * in place and becomes part of the constructed object. It is not cloned.
141
- * If no data is provided, the constructed object will be empty, but still
142
- * valid.
143
- * @extends {jspb.Message}
144
- * @constructor
145
- */
146
- proto.UpdateQuotationRequest = function(opt_data) {
147
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
148
- };
149
- goog.inherits(proto.UpdateQuotationRequest, jspb.Message);
150
- if (goog.DEBUG && !COMPILED) {
151
- /**
152
- * @public
153
- * @override
154
- */
155
- proto.UpdateQuotationRequest.displayName = 'proto.UpdateQuotationRequest';
156
- }
157
- /**
158
- * Generated by JsPbCodeGenerator.
159
- * @param {Array=} opt_data Optional initial data array, typically from a
160
- * server response, or constructed directly in Javascript. The array is used
161
- * in place and becomes part of the constructed object. It is not cloned.
162
- * If no data is provided, the constructed object will be empty, but still
163
- * valid.
164
- * @extends {jspb.Message}
165
- * @constructor
166
- */
167
- proto.GetListQuotationRequest = function(opt_data) {
168
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
169
- };
170
- goog.inherits(proto.GetListQuotationRequest, jspb.Message);
171
- if (goog.DEBUG && !COMPILED) {
172
- /**
173
- * @public
174
- * @override
175
- */
176
- proto.GetListQuotationRequest.displayName = 'proto.GetListQuotationRequest';
177
- }
178
- /**
179
- * Generated by JsPbCodeGenerator.
180
- * @param {Array=} opt_data Optional initial data array, typically from a
181
- * server response, or constructed directly in Javascript. The array is used
182
- * in place and becomes part of the constructed object. It is not cloned.
183
- * If no data is provided, the constructed object will be empty, but still
184
- * valid.
185
- * @extends {jspb.Message}
186
- * @constructor
187
- */
188
- proto.GetQuotationByIdResponse = function(opt_data) {
189
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
190
- };
191
- goog.inherits(proto.GetQuotationByIdResponse, jspb.Message);
192
- if (goog.DEBUG && !COMPILED) {
193
- /**
194
- * @public
195
- * @override
196
- */
197
- proto.GetQuotationByIdResponse.displayName = 'proto.GetQuotationByIdResponse';
198
- }
199
- /**
200
- * Generated by JsPbCodeGenerator.
201
- * @param {Array=} opt_data Optional initial data array, typically from a
202
- * server response, or constructed directly in Javascript. The array is used
203
- * in place and becomes part of the constructed object. It is not cloned.
204
- * If no data is provided, the constructed object will be empty, but still
205
- * valid.
206
- * @extends {jspb.Message}
207
- * @constructor
208
- */
209
- proto.GetQuotationDetailResponse = function(opt_data) {
210
- jspb.Message.initialize(this, opt_data, 0, -1, proto.GetQuotationDetailResponse.repeatedFields_, null);
211
- };
212
- goog.inherits(proto.GetQuotationDetailResponse, jspb.Message);
213
- if (goog.DEBUG && !COMPILED) {
214
- /**
215
- * @public
216
- * @override
217
- */
218
- proto.GetQuotationDetailResponse.displayName = 'proto.GetQuotationDetailResponse';
219
- }
220
- /**
221
- * Generated by JsPbCodeGenerator.
222
- * @param {Array=} opt_data Optional initial data array, typically from a
223
- * server response, or constructed directly in Javascript. The array is used
224
- * in place and becomes part of the constructed object. It is not cloned.
225
- * If no data is provided, the constructed object will be empty, but still
226
- * valid.
227
- * @extends {jspb.Message}
228
- * @constructor
229
- */
230
- proto.GetListQuotationResponse = function(opt_data) {
231
- jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListQuotationResponse.repeatedFields_, null);
232
- };
233
- goog.inherits(proto.GetListQuotationResponse, jspb.Message);
234
- if (goog.DEBUG && !COMPILED) {
235
- /**
236
- * @public
237
- * @override
238
- */
239
- proto.GetListQuotationResponse.displayName = 'proto.GetListQuotationResponse';
240
- }
241
- /**
242
- * Generated by JsPbCodeGenerator.
243
- * @param {Array=} opt_data Optional initial data array, typically from a
244
- * server response, or constructed directly in Javascript. The array is used
245
- * in place and becomes part of the constructed object. It is not cloned.
246
- * If no data is provided, the constructed object will be empty, but still
247
- * valid.
248
- * @extends {jspb.Message}
249
- * @constructor
250
- */
251
- proto.UpdateQuotationResponse = function(opt_data) {
252
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
253
- };
254
- goog.inherits(proto.UpdateQuotationResponse, jspb.Message);
255
- if (goog.DEBUG && !COMPILED) {
256
- /**
257
- * @public
258
- * @override
259
- */
260
- proto.UpdateQuotationResponse.displayName = 'proto.UpdateQuotationResponse';
261
- }
262
-
263
-
264
-
265
- if (jspb.Message.GENERATE_TO_OBJECT) {
266
- /**
267
- * Creates an object representation of this proto.
268
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
269
- * Optional fields that are not set will be set to undefined.
270
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
271
- * For the list of reserved names please see:
272
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
273
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
274
- * JSPB instance for transitional soy proto support:
275
- * http://goto/soy-param-migration
276
- * @return {!Object}
277
- */
278
- proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeInstance) {
279
- return proto.BaseEditQuantityQuotationItem.toObject(opt_includeInstance, this);
280
- };
281
-
282
-
283
- /**
284
- * Static version of the {@see toObject} method.
285
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
286
- * the JSPB instance for transitional soy proto support:
287
- * http://goto/soy-param-migration
288
- * @param {!proto.BaseEditQuantityQuotationItem} msg The msg instance to transform.
289
- * @return {!Object}
290
- * @suppress {unusedLocalVariables} f is only used for nested messages
291
- */
292
- proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
293
- var f, obj = {
294
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
295
- quantity: jspb.Message.getFieldWithDefault(msg, 2, 0)
296
- };
297
-
298
- if (includeInstance) {
299
- obj.$jspbMessageInstance = msg;
300
- }
301
- return obj;
302
- };
303
- }
304
-
305
-
306
- /**
307
- * Deserializes binary data (in protobuf wire format).
308
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
309
- * @return {!proto.BaseEditQuantityQuotationItem}
310
- */
311
- proto.BaseEditQuantityQuotationItem.deserializeBinary = function(bytes) {
312
- var reader = new jspb.BinaryReader(bytes);
313
- var msg = new proto.BaseEditQuantityQuotationItem;
314
- return proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader(msg, reader);
315
- };
316
-
317
-
318
- /**
319
- * Deserializes binary data (in protobuf wire format) from the
320
- * given reader into the given message object.
321
- * @param {!proto.BaseEditQuantityQuotationItem} msg The message object to deserialize into.
322
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
323
- * @return {!proto.BaseEditQuantityQuotationItem}
324
- */
325
- proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg, reader) {
326
- while (reader.nextField()) {
327
- if (reader.isEndGroup()) {
328
- break;
329
- }
330
- var field = reader.getFieldNumber();
331
- switch (field) {
332
- case 1:
333
- var value = /** @type {string} */ (reader.readString());
334
- msg.setReferencesId(value);
335
- break;
336
- case 2:
337
- var value = /** @type {number} */ (reader.readInt64());
338
- msg.setQuantity(value);
339
- break;
340
- default:
341
- reader.skipField();
342
- break;
343
- }
344
- }
345
- return msg;
346
- };
347
-
348
-
349
- /**
350
- * Serializes the message to binary data (in protobuf wire format).
351
- * @return {!Uint8Array}
352
- */
353
- proto.BaseEditQuantityQuotationItem.prototype.serializeBinary = function() {
354
- var writer = new jspb.BinaryWriter();
355
- proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter(this, writer);
356
- return writer.getResultBuffer();
357
- };
358
-
359
-
360
- /**
361
- * Serializes the given message to binary data (in protobuf wire
362
- * format), writing to the given BinaryWriter.
363
- * @param {!proto.BaseEditQuantityQuotationItem} message
364
- * @param {!jspb.BinaryWriter} writer
365
- * @suppress {unusedLocalVariables} f is only used for nested messages
366
- */
367
- proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message, writer) {
368
- var f = undefined;
369
- f = message.getReferencesId();
370
- if (f.length > 0) {
371
- writer.writeString(
372
- 1,
373
- f
374
- );
375
- }
376
- f = message.getQuantity();
377
- if (f !== 0) {
378
- writer.writeInt64(
379
- 2,
380
- f
381
- );
382
- }
383
- };
384
-
385
-
386
- /**
387
- * optional string references_id = 1;
388
- * @return {string}
389
- */
390
- proto.BaseEditQuantityQuotationItem.prototype.getReferencesId = function() {
391
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
392
- };
393
-
394
-
395
- /**
396
- * @param {string} value
397
- * @return {!proto.BaseEditQuantityQuotationItem} returns this
398
- */
399
- proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value) {
400
- return jspb.Message.setProto3StringField(this, 1, value);
401
- };
402
-
403
-
404
- /**
405
- * optional int64 quantity = 2;
406
- * @return {number}
407
- */
408
- proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
409
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
410
- };
411
-
412
-
413
- /**
414
- * @param {number} value
415
- * @return {!proto.BaseEditQuantityQuotationItem} returns this
416
- */
417
- proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
418
- return jspb.Message.setProto3IntField(this, 2, value);
419
- };
420
-
421
-
422
-
423
- /**
424
- * List of repeated fields within this message type.
425
- * @private {!Array<number>}
426
- * @const
427
- */
428
- proto.UpdateSetWinner.repeatedFields_ = [3];
429
-
430
-
431
-
432
- if (jspb.Message.GENERATE_TO_OBJECT) {
433
- /**
434
- * Creates an object representation of this proto.
435
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
436
- * Optional fields that are not set will be set to undefined.
437
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
438
- * For the list of reserved names please see:
439
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
440
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
441
- * JSPB instance for transitional soy proto support:
442
- * http://goto/soy-param-migration
443
- * @return {!Object}
444
- */
445
- proto.UpdateSetWinner.prototype.toObject = function(opt_includeInstance) {
446
- return proto.UpdateSetWinner.toObject(opt_includeInstance, this);
447
- };
448
-
449
-
450
- /**
451
- * Static version of the {@see toObject} method.
452
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
453
- * the JSPB instance for transitional soy proto support:
454
- * http://goto/soy-param-migration
455
- * @param {!proto.UpdateSetWinner} msg The msg instance to transform.
456
- * @return {!Object}
457
- * @suppress {unusedLocalVariables} f is only used for nested messages
458
- */
459
- proto.UpdateSetWinner.toObject = function(includeInstance, msg) {
460
- var f, obj = {
461
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
462
- justification: jspb.Message.getFieldWithDefault(msg, 2, ""),
463
- itemTransactionList: jspb.Message.toObjectList(msg.getItemTransactionList(),
464
- proto.BaseEditQuantityQuotationItem.toObject, includeInstance)
465
- };
466
-
467
- if (includeInstance) {
468
- obj.$jspbMessageInstance = msg;
469
- }
470
- return obj;
471
- };
472
- }
473
-
474
-
475
- /**
476
- * Deserializes binary data (in protobuf wire format).
477
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
478
- * @return {!proto.UpdateSetWinner}
479
- */
480
- proto.UpdateSetWinner.deserializeBinary = function(bytes) {
481
- var reader = new jspb.BinaryReader(bytes);
482
- var msg = new proto.UpdateSetWinner;
483
- return proto.UpdateSetWinner.deserializeBinaryFromReader(msg, reader);
484
- };
485
-
486
-
487
- /**
488
- * Deserializes binary data (in protobuf wire format) from the
489
- * given reader into the given message object.
490
- * @param {!proto.UpdateSetWinner} msg The message object to deserialize into.
491
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
492
- * @return {!proto.UpdateSetWinner}
493
- */
494
- proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
495
- while (reader.nextField()) {
496
- if (reader.isEndGroup()) {
497
- break;
498
- }
499
- var field = reader.getFieldNumber();
500
- switch (field) {
501
- case 1:
502
- var value = /** @type {string} */ (reader.readString());
503
- msg.setReferencesId(value);
504
- break;
505
- case 2:
506
- var value = /** @type {string} */ (reader.readString());
507
- msg.setJustification(value);
508
- break;
509
- case 3:
510
- var value = new proto.BaseEditQuantityQuotationItem;
511
- reader.readMessage(value,proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader);
512
- msg.addItemTransaction(value);
513
- break;
514
- default:
515
- reader.skipField();
516
- break;
517
- }
518
- }
519
- return msg;
520
- };
521
-
522
-
523
- /**
524
- * Serializes the message to binary data (in protobuf wire format).
525
- * @return {!Uint8Array}
526
- */
527
- proto.UpdateSetWinner.prototype.serializeBinary = function() {
528
- var writer = new jspb.BinaryWriter();
529
- proto.UpdateSetWinner.serializeBinaryToWriter(this, writer);
530
- return writer.getResultBuffer();
531
- };
532
-
533
-
534
- /**
535
- * Serializes the given message to binary data (in protobuf wire
536
- * format), writing to the given BinaryWriter.
537
- * @param {!proto.UpdateSetWinner} message
538
- * @param {!jspb.BinaryWriter} writer
539
- * @suppress {unusedLocalVariables} f is only used for nested messages
540
- */
541
- proto.UpdateSetWinner.serializeBinaryToWriter = function(message, writer) {
542
- var f = undefined;
543
- f = message.getReferencesId();
544
- if (f.length > 0) {
545
- writer.writeString(
546
- 1,
547
- f
548
- );
549
- }
550
- f = message.getJustification();
551
- if (f.length > 0) {
552
- writer.writeString(
553
- 2,
554
- f
555
- );
556
- }
557
- f = message.getItemTransactionList();
558
- if (f.length > 0) {
559
- writer.writeRepeatedMessage(
560
- 3,
561
- f,
562
- proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter
563
- );
564
- }
565
- };
566
-
567
-
568
- /**
569
- * optional string references_id = 1;
570
- * @return {string}
571
- */
572
- proto.UpdateSetWinner.prototype.getReferencesId = function() {
573
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
574
- };
575
-
576
-
577
- /**
578
- * @param {string} value
579
- * @return {!proto.UpdateSetWinner} returns this
580
- */
581
- proto.UpdateSetWinner.prototype.setReferencesId = function(value) {
582
- return jspb.Message.setProto3StringField(this, 1, value);
583
- };
584
-
585
-
586
- /**
587
- * optional string justification = 2;
588
- * @return {string}
589
- */
590
- proto.UpdateSetWinner.prototype.getJustification = function() {
591
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
592
- };
593
-
594
-
595
- /**
596
- * @param {string} value
597
- * @return {!proto.UpdateSetWinner} returns this
598
- */
599
- proto.UpdateSetWinner.prototype.setJustification = function(value) {
600
- return jspb.Message.setProto3StringField(this, 2, value);
601
- };
602
-
603
-
604
- /**
605
- * repeated BaseEditQuantityQuotationItem item_transaction = 3;
606
- * @return {!Array<!proto.BaseEditQuantityQuotationItem>}
607
- */
608
- proto.UpdateSetWinner.prototype.getItemTransactionList = function() {
609
- return /** @type{!Array<!proto.BaseEditQuantityQuotationItem>} */ (
610
- jspb.Message.getRepeatedWrapperField(this, proto.BaseEditQuantityQuotationItem, 3));
611
- };
612
-
613
-
614
- /**
615
- * @param {!Array<!proto.BaseEditQuantityQuotationItem>} value
616
- * @return {!proto.UpdateSetWinner} returns this
617
- */
618
- proto.UpdateSetWinner.prototype.setItemTransactionList = function(value) {
619
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
620
- };
621
-
622
-
623
- /**
624
- * @param {!proto.BaseEditQuantityQuotationItem=} opt_value
625
- * @param {number=} opt_index
626
- * @return {!proto.BaseEditQuantityQuotationItem}
627
- */
628
- proto.UpdateSetWinner.prototype.addItemTransaction = function(opt_value, opt_index) {
629
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.BaseEditQuantityQuotationItem, opt_index);
630
- };
631
-
632
-
633
- /**
634
- * Clears the list making it empty but non-null.
635
- * @return {!proto.UpdateSetWinner} returns this
636
- */
637
- proto.UpdateSetWinner.prototype.clearItemTransactionList = function() {
638
- return this.setItemTransactionList([]);
639
- };
640
-
641
-
642
-
643
- /**
644
- * List of repeated fields within this message type.
645
- * @private {!Array<number>}
646
- * @const
647
- */
648
- proto.BaseQuotationRequest.repeatedFields_ = [20,22];
649
-
650
-
651
-
652
- if (jspb.Message.GENERATE_TO_OBJECT) {
653
- /**
654
- * Creates an object representation of this proto.
655
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
656
- * Optional fields that are not set will be set to undefined.
657
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
658
- * For the list of reserved names please see:
659
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
660
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
661
- * JSPB instance for transitional soy proto support:
662
- * http://goto/soy-param-migration
663
- * @return {!Object}
664
- */
665
- proto.BaseQuotationRequest.prototype.toObject = function(opt_includeInstance) {
666
- return proto.BaseQuotationRequest.toObject(opt_includeInstance, this);
667
- };
668
-
669
-
670
- /**
671
- * Static version of the {@see toObject} method.
672
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
673
- * the JSPB instance for transitional soy proto support:
674
- * http://goto/soy-param-migration
675
- * @param {!proto.BaseQuotationRequest} msg The msg instance to transform.
676
- * @return {!Object}
677
- * @suppress {unusedLocalVariables} f is only used for nested messages
678
- */
679
- proto.BaseQuotationRequest.toObject = function(includeInstance, msg) {
680
- var f, obj = {
681
- description: jspb.Message.getFieldWithDefault(msg, 1, ""),
682
- detail: jspb.Message.getFieldWithDefault(msg, 2, ""),
683
- prQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
684
- remainingQuantityPo: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
685
- replacement: jspb.Message.getFieldWithDefault(msg, 5, ""),
686
- quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
687
- price: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
688
- vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
689
- biddingReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
690
- termOfPayment: jspb.Message.getFieldWithDefault(msg, 10, ""),
691
- deliveryDate: jspb.Message.getFieldWithDefault(msg, 11, ""),
692
- deliveryPoint: jspb.Message.getFieldWithDefault(msg, 12, ""),
693
- vendorSource: jspb.Message.getFieldWithDefault(msg, 13, ""),
694
- setWinner: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
695
- notesForVendor: jspb.Message.getFieldWithDefault(msg, 15, ""),
696
- termOfCondition: jspb.Message.getFieldWithDefault(msg, 16, ""),
697
- customTransaction: jspb.Message.getFieldWithDefault(msg, 17, ""),
698
- plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
699
- department: jspb.Message.getFieldWithDefault(msg, 19, ""),
700
- itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
701
- prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
702
- visible: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
703
- filesList: jspb.Message.toObjectList(msg.getFilesList(),
704
- prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
705
- };
706
-
707
- if (includeInstance) {
708
- obj.$jspbMessageInstance = msg;
709
- }
710
- return obj;
711
- };
712
- }
713
-
714
-
715
- /**
716
- * Deserializes binary data (in protobuf wire format).
717
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
718
- * @return {!proto.BaseQuotationRequest}
719
- */
720
- proto.BaseQuotationRequest.deserializeBinary = function(bytes) {
721
- var reader = new jspb.BinaryReader(bytes);
722
- var msg = new proto.BaseQuotationRequest;
723
- return proto.BaseQuotationRequest.deserializeBinaryFromReader(msg, reader);
724
- };
725
-
726
-
727
- /**
728
- * Deserializes binary data (in protobuf wire format) from the
729
- * given reader into the given message object.
730
- * @param {!proto.BaseQuotationRequest} msg The message object to deserialize into.
731
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
732
- * @return {!proto.BaseQuotationRequest}
733
- */
734
- proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
735
- while (reader.nextField()) {
736
- if (reader.isEndGroup()) {
737
- break;
738
- }
739
- var field = reader.getFieldNumber();
740
- switch (field) {
741
- case 1:
742
- var value = /** @type {string} */ (reader.readString());
743
- msg.setDescription(value);
744
- break;
745
- case 2:
746
- var value = /** @type {string} */ (reader.readString());
747
- msg.setDetail(value);
748
- break;
749
- case 3:
750
- var value = /** @type {number} */ (reader.readFloat());
751
- msg.setPrQuantity(value);
752
- break;
753
- case 4:
754
- var value = /** @type {number} */ (reader.readFloat());
755
- msg.setRemainingQuantityPo(value);
756
- break;
757
- case 5:
758
- var value = /** @type {string} */ (reader.readString());
759
- msg.setReplacement(value);
760
- break;
761
- case 6:
762
- var value = /** @type {number} */ (reader.readFloat());
763
- msg.setQuantity(value);
764
- break;
765
- case 7:
766
- var value = /** @type {number} */ (reader.readFloat());
767
- msg.setPrice(value);
768
- break;
769
- case 8:
770
- var value = /** @type {string} */ (reader.readString());
771
- msg.setVendorReferencesId(value);
772
- break;
773
- case 9:
774
- var value = /** @type {string} */ (reader.readString());
775
- msg.setBiddingReferencesId(value);
776
- break;
777
- case 10:
778
- var value = /** @type {string} */ (reader.readString());
779
- msg.setTermOfPayment(value);
780
- break;
781
- case 11:
782
- var value = /** @type {string} */ (reader.readString());
783
- msg.setDeliveryDate(value);
784
- break;
785
- case 12:
786
- var value = /** @type {string} */ (reader.readString());
787
- msg.setDeliveryPoint(value);
788
- break;
789
- case 13:
790
- var value = /** @type {string} */ (reader.readString());
791
- msg.setVendorSource(value);
792
- break;
793
- case 14:
794
- var value = /** @type {boolean} */ (reader.readBool());
795
- msg.setSetWinner(value);
796
- break;
797
- case 15:
798
- var value = /** @type {string} */ (reader.readString());
799
- msg.setNotesForVendor(value);
800
- break;
801
- case 16:
802
- var value = /** @type {string} */ (reader.readString());
803
- msg.setTermOfCondition(value);
804
- break;
805
- case 17:
806
- var value = /** @type {string} */ (reader.readString());
807
- msg.setCustomTransaction(value);
808
- break;
809
- case 18:
810
- var value = /** @type {string} */ (reader.readString());
811
- msg.setPlant(value);
812
- break;
813
- case 19:
814
- var value = /** @type {string} */ (reader.readString());
815
- msg.setDepartment(value);
816
- break;
817
- case 20:
818
- var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
819
- reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
820
- msg.addItemTransactions(value);
821
- break;
822
- case 21:
823
- var value = /** @type {boolean} */ (reader.readBool());
824
- msg.setVisible(value);
825
- break;
826
- case 22:
827
- var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
828
- reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
829
- msg.addFiles(value);
830
- break;
831
- default:
832
- reader.skipField();
833
- break;
834
- }
835
- }
836
- return msg;
837
- };
838
-
839
-
840
- /**
841
- * Serializes the message to binary data (in protobuf wire format).
842
- * @return {!Uint8Array}
843
- */
844
- proto.BaseQuotationRequest.prototype.serializeBinary = function() {
845
- var writer = new jspb.BinaryWriter();
846
- proto.BaseQuotationRequest.serializeBinaryToWriter(this, writer);
847
- return writer.getResultBuffer();
848
- };
849
-
850
-
851
- /**
852
- * Serializes the given message to binary data (in protobuf wire
853
- * format), writing to the given BinaryWriter.
854
- * @param {!proto.BaseQuotationRequest} message
855
- * @param {!jspb.BinaryWriter} writer
856
- * @suppress {unusedLocalVariables} f is only used for nested messages
857
- */
858
- proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
859
- var f = undefined;
860
- f = message.getDescription();
861
- if (f.length > 0) {
862
- writer.writeString(
863
- 1,
864
- f
865
- );
866
- }
867
- f = message.getDetail();
868
- if (f.length > 0) {
869
- writer.writeString(
870
- 2,
871
- f
872
- );
873
- }
874
- f = message.getPrQuantity();
875
- if (f !== 0.0) {
876
- writer.writeFloat(
877
- 3,
878
- f
879
- );
880
- }
881
- f = message.getRemainingQuantityPo();
882
- if (f !== 0.0) {
883
- writer.writeFloat(
884
- 4,
885
- f
886
- );
887
- }
888
- f = message.getReplacement();
889
- if (f.length > 0) {
890
- writer.writeString(
891
- 5,
892
- f
893
- );
894
- }
895
- f = message.getQuantity();
896
- if (f !== 0.0) {
897
- writer.writeFloat(
898
- 6,
899
- f
900
- );
901
- }
902
- f = message.getPrice();
903
- if (f !== 0.0) {
904
- writer.writeFloat(
905
- 7,
906
- f
907
- );
908
- }
909
- f = message.getVendorReferencesId();
910
- if (f.length > 0) {
911
- writer.writeString(
912
- 8,
913
- f
914
- );
915
- }
916
- f = message.getBiddingReferencesId();
917
- if (f.length > 0) {
918
- writer.writeString(
919
- 9,
920
- f
921
- );
922
- }
923
- f = message.getTermOfPayment();
924
- if (f.length > 0) {
925
- writer.writeString(
926
- 10,
927
- f
928
- );
929
- }
930
- f = message.getDeliveryDate();
931
- if (f.length > 0) {
932
- writer.writeString(
933
- 11,
934
- f
935
- );
936
- }
937
- f = message.getDeliveryPoint();
938
- if (f.length > 0) {
939
- writer.writeString(
940
- 12,
941
- f
942
- );
943
- }
944
- f = message.getVendorSource();
945
- if (f.length > 0) {
946
- writer.writeString(
947
- 13,
948
- f
949
- );
950
- }
951
- f = message.getSetWinner();
952
- if (f) {
953
- writer.writeBool(
954
- 14,
955
- f
956
- );
957
- }
958
- f = message.getNotesForVendor();
959
- if (f.length > 0) {
960
- writer.writeString(
961
- 15,
962
- f
963
- );
964
- }
965
- f = message.getTermOfCondition();
966
- if (f.length > 0) {
967
- writer.writeString(
968
- 16,
969
- f
970
- );
971
- }
972
- f = message.getCustomTransaction();
973
- if (f.length > 0) {
974
- writer.writeString(
975
- 17,
976
- f
977
- );
978
- }
979
- f = message.getPlant();
980
- if (f.length > 0) {
981
- writer.writeString(
982
- 18,
983
- f
984
- );
985
- }
986
- f = message.getDepartment();
987
- if (f.length > 0) {
988
- writer.writeString(
989
- 19,
990
- f
991
- );
992
- }
993
- f = message.getItemTransactionsList();
994
- if (f.length > 0) {
995
- writer.writeRepeatedMessage(
996
- 20,
997
- f,
998
- prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
999
- );
1000
- }
1001
- f = message.getVisible();
1002
- if (f) {
1003
- writer.writeBool(
1004
- 21,
1005
- f
1006
- );
1007
- }
1008
- f = message.getFilesList();
1009
- if (f.length > 0) {
1010
- writer.writeRepeatedMessage(
1011
- 22,
1012
- f,
1013
- prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1014
- );
1015
- }
1016
- };
1017
-
1018
-
1019
- /**
1020
- * optional string description = 1;
1021
- * @return {string}
1022
- */
1023
- proto.BaseQuotationRequest.prototype.getDescription = function() {
1024
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1025
- };
1026
-
1027
-
1028
- /**
1029
- * @param {string} value
1030
- * @return {!proto.BaseQuotationRequest} returns this
1031
- */
1032
- proto.BaseQuotationRequest.prototype.setDescription = function(value) {
1033
- return jspb.Message.setProto3StringField(this, 1, value);
1034
- };
1035
-
1036
-
1037
- /**
1038
- * optional string detail = 2;
1039
- * @return {string}
1040
- */
1041
- proto.BaseQuotationRequest.prototype.getDetail = function() {
1042
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1043
- };
1044
-
1045
-
1046
- /**
1047
- * @param {string} value
1048
- * @return {!proto.BaseQuotationRequest} returns this
1049
- */
1050
- proto.BaseQuotationRequest.prototype.setDetail = function(value) {
1051
- return jspb.Message.setProto3StringField(this, 2, value);
1052
- };
1053
-
1054
-
1055
- /**
1056
- * optional float pr_quantity = 3;
1057
- * @return {number}
1058
- */
1059
- proto.BaseQuotationRequest.prototype.getPrQuantity = function() {
1060
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
1061
- };
1062
-
1063
-
1064
- /**
1065
- * @param {number} value
1066
- * @return {!proto.BaseQuotationRequest} returns this
1067
- */
1068
- proto.BaseQuotationRequest.prototype.setPrQuantity = function(value) {
1069
- return jspb.Message.setProto3FloatField(this, 3, value);
1070
- };
1071
-
1072
-
1073
- /**
1074
- * optional float remaining_quantity_po = 4;
1075
- * @return {number}
1076
- */
1077
- proto.BaseQuotationRequest.prototype.getRemainingQuantityPo = function() {
1078
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
1079
- };
1080
-
1081
-
1082
- /**
1083
- * @param {number} value
1084
- * @return {!proto.BaseQuotationRequest} returns this
1085
- */
1086
- proto.BaseQuotationRequest.prototype.setRemainingQuantityPo = function(value) {
1087
- return jspb.Message.setProto3FloatField(this, 4, value);
1088
- };
1089
-
1090
-
1091
- /**
1092
- * optional string replacement = 5;
1093
- * @return {string}
1094
- */
1095
- proto.BaseQuotationRequest.prototype.getReplacement = function() {
1096
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1097
- };
1098
-
1099
-
1100
- /**
1101
- * @param {string} value
1102
- * @return {!proto.BaseQuotationRequest} returns this
1103
- */
1104
- proto.BaseQuotationRequest.prototype.setReplacement = function(value) {
1105
- return jspb.Message.setProto3StringField(this, 5, value);
1106
- };
1107
-
1108
-
1109
- /**
1110
- * optional float quantity = 6;
1111
- * @return {number}
1112
- */
1113
- proto.BaseQuotationRequest.prototype.getQuantity = function() {
1114
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
1115
- };
1116
-
1117
-
1118
- /**
1119
- * @param {number} value
1120
- * @return {!proto.BaseQuotationRequest} returns this
1121
- */
1122
- proto.BaseQuotationRequest.prototype.setQuantity = function(value) {
1123
- return jspb.Message.setProto3FloatField(this, 6, value);
1124
- };
1125
-
1126
-
1127
- /**
1128
- * optional float price = 7;
1129
- * @return {number}
1130
- */
1131
- proto.BaseQuotationRequest.prototype.getPrice = function() {
1132
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
1133
- };
1134
-
1135
-
1136
- /**
1137
- * @param {number} value
1138
- * @return {!proto.BaseQuotationRequest} returns this
1139
- */
1140
- proto.BaseQuotationRequest.prototype.setPrice = function(value) {
1141
- return jspb.Message.setProto3FloatField(this, 7, value);
1142
- };
1143
-
1144
-
1145
- /**
1146
- * optional string vendor_references_id = 8;
1147
- * @return {string}
1148
- */
1149
- proto.BaseQuotationRequest.prototype.getVendorReferencesId = function() {
1150
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1151
- };
1152
-
1153
-
1154
- /**
1155
- * @param {string} value
1156
- * @return {!proto.BaseQuotationRequest} returns this
1157
- */
1158
- proto.BaseQuotationRequest.prototype.setVendorReferencesId = function(value) {
1159
- return jspb.Message.setProto3StringField(this, 8, value);
1160
- };
1161
-
1162
-
1163
- /**
1164
- * optional string bidding_references_id = 9;
1165
- * @return {string}
1166
- */
1167
- proto.BaseQuotationRequest.prototype.getBiddingReferencesId = function() {
1168
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1169
- };
1170
-
1171
-
1172
- /**
1173
- * @param {string} value
1174
- * @return {!proto.BaseQuotationRequest} returns this
1175
- */
1176
- proto.BaseQuotationRequest.prototype.setBiddingReferencesId = function(value) {
1177
- return jspb.Message.setProto3StringField(this, 9, value);
1178
- };
1179
-
1180
-
1181
- /**
1182
- * optional string term_of_payment = 10;
1183
- * @return {string}
1184
- */
1185
- proto.BaseQuotationRequest.prototype.getTermOfPayment = function() {
1186
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1187
- };
1188
-
1189
-
1190
- /**
1191
- * @param {string} value
1192
- * @return {!proto.BaseQuotationRequest} returns this
1193
- */
1194
- proto.BaseQuotationRequest.prototype.setTermOfPayment = function(value) {
1195
- return jspb.Message.setProto3StringField(this, 10, value);
1196
- };
1197
-
1198
-
1199
- /**
1200
- * optional string delivery_date = 11;
1201
- * @return {string}
1202
- */
1203
- proto.BaseQuotationRequest.prototype.getDeliveryDate = function() {
1204
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1205
- };
1206
-
1207
-
1208
- /**
1209
- * @param {string} value
1210
- * @return {!proto.BaseQuotationRequest} returns this
1211
- */
1212
- proto.BaseQuotationRequest.prototype.setDeliveryDate = function(value) {
1213
- return jspb.Message.setProto3StringField(this, 11, value);
1214
- };
1215
-
1216
-
1217
- /**
1218
- * optional string delivery_point = 12;
1219
- * @return {string}
1220
- */
1221
- proto.BaseQuotationRequest.prototype.getDeliveryPoint = function() {
1222
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1223
- };
1224
-
1225
-
1226
- /**
1227
- * @param {string} value
1228
- * @return {!proto.BaseQuotationRequest} returns this
1229
- */
1230
- proto.BaseQuotationRequest.prototype.setDeliveryPoint = function(value) {
1231
- return jspb.Message.setProto3StringField(this, 12, value);
1232
- };
1233
-
1234
-
1235
- /**
1236
- * optional string vendor_source = 13;
1237
- * @return {string}
1238
- */
1239
- proto.BaseQuotationRequest.prototype.getVendorSource = function() {
1240
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1241
- };
1242
-
1243
-
1244
- /**
1245
- * @param {string} value
1246
- * @return {!proto.BaseQuotationRequest} returns this
1247
- */
1248
- proto.BaseQuotationRequest.prototype.setVendorSource = function(value) {
1249
- return jspb.Message.setProto3StringField(this, 13, value);
1250
- };
1251
-
1252
-
1253
- /**
1254
- * optional bool set_winner = 14;
1255
- * @return {boolean}
1256
- */
1257
- proto.BaseQuotationRequest.prototype.getSetWinner = function() {
1258
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
1259
- };
1260
-
1261
-
1262
- /**
1263
- * @param {boolean} value
1264
- * @return {!proto.BaseQuotationRequest} returns this
1265
- */
1266
- proto.BaseQuotationRequest.prototype.setSetWinner = function(value) {
1267
- return jspb.Message.setProto3BooleanField(this, 14, value);
1268
- };
1269
-
1270
-
1271
- /**
1272
- * optional string notes_for_vendor = 15;
1273
- * @return {string}
1274
- */
1275
- proto.BaseQuotationRequest.prototype.getNotesForVendor = function() {
1276
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1277
- };
1278
-
1279
-
1280
- /**
1281
- * @param {string} value
1282
- * @return {!proto.BaseQuotationRequest} returns this
1283
- */
1284
- proto.BaseQuotationRequest.prototype.setNotesForVendor = function(value) {
1285
- return jspb.Message.setProto3StringField(this, 15, value);
1286
- };
1287
-
1288
-
1289
- /**
1290
- * optional string term_of_condition = 16;
1291
- * @return {string}
1292
- */
1293
- proto.BaseQuotationRequest.prototype.getTermOfCondition = function() {
1294
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1295
- };
1296
-
1297
-
1298
- /**
1299
- * @param {string} value
1300
- * @return {!proto.BaseQuotationRequest} returns this
1301
- */
1302
- proto.BaseQuotationRequest.prototype.setTermOfCondition = function(value) {
1303
- return jspb.Message.setProto3StringField(this, 16, value);
1304
- };
1305
-
1306
-
1307
- /**
1308
- * optional string custom_transaction = 17;
1309
- * @return {string}
1310
- */
1311
- proto.BaseQuotationRequest.prototype.getCustomTransaction = function() {
1312
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1313
- };
1314
-
1315
-
1316
- /**
1317
- * @param {string} value
1318
- * @return {!proto.BaseQuotationRequest} returns this
1319
- */
1320
- proto.BaseQuotationRequest.prototype.setCustomTransaction = function(value) {
1321
- return jspb.Message.setProto3StringField(this, 17, value);
1322
- };
1323
-
1324
-
1325
- /**
1326
- * optional string plant = 18;
1327
- * @return {string}
1328
- */
1329
- proto.BaseQuotationRequest.prototype.getPlant = function() {
1330
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
1331
- };
1332
-
1333
-
1334
- /**
1335
- * @param {string} value
1336
- * @return {!proto.BaseQuotationRequest} returns this
1337
- */
1338
- proto.BaseQuotationRequest.prototype.setPlant = function(value) {
1339
- return jspb.Message.setProto3StringField(this, 18, value);
1340
- };
1341
-
1342
-
1343
- /**
1344
- * optional string department = 19;
1345
- * @return {string}
1346
- */
1347
- proto.BaseQuotationRequest.prototype.getDepartment = function() {
1348
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
1349
- };
1350
-
1351
-
1352
- /**
1353
- * @param {string} value
1354
- * @return {!proto.BaseQuotationRequest} returns this
1355
- */
1356
- proto.BaseQuotationRequest.prototype.setDepartment = function(value) {
1357
- return jspb.Message.setProto3StringField(this, 19, value);
1358
- };
1359
-
1360
-
1361
- /**
1362
- * repeated ItemTransaction item_transactions = 20;
1363
- * @return {!Array<!proto.ItemTransaction>}
1364
- */
1365
- proto.BaseQuotationRequest.prototype.getItemTransactionsList = function() {
1366
- return /** @type{!Array<!proto.ItemTransaction>} */ (
1367
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 20));
1368
- };
1369
-
1370
-
1371
- /**
1372
- * @param {!Array<!proto.ItemTransaction>} value
1373
- * @return {!proto.BaseQuotationRequest} returns this
1374
- */
1375
- proto.BaseQuotationRequest.prototype.setItemTransactionsList = function(value) {
1376
- return jspb.Message.setRepeatedWrapperField(this, 20, value);
1377
- };
1378
-
1379
-
1380
- /**
1381
- * @param {!proto.ItemTransaction=} opt_value
1382
- * @param {number=} opt_index
1383
- * @return {!proto.ItemTransaction}
1384
- */
1385
- proto.BaseQuotationRequest.prototype.addItemTransactions = function(opt_value, opt_index) {
1386
- return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.ItemTransaction, opt_index);
1387
- };
1388
-
1389
-
1390
- /**
1391
- * Clears the list making it empty but non-null.
1392
- * @return {!proto.BaseQuotationRequest} returns this
1393
- */
1394
- proto.BaseQuotationRequest.prototype.clearItemTransactionsList = function() {
1395
- return this.setItemTransactionsList([]);
1396
- };
1397
-
1398
-
1399
- /**
1400
- * optional bool visible = 21;
1401
- * @return {boolean}
1402
- */
1403
- proto.BaseQuotationRequest.prototype.getVisible = function() {
1404
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
1405
- };
1406
-
1407
-
1408
- /**
1409
- * @param {boolean} value
1410
- * @return {!proto.BaseQuotationRequest} returns this
1411
- */
1412
- proto.BaseQuotationRequest.prototype.setVisible = function(value) {
1413
- return jspb.Message.setProto3BooleanField(this, 21, value);
1414
- };
1415
-
1416
-
1417
- /**
1418
- * repeated FileUploadReferencesReq files = 22;
1419
- * @return {!Array<!proto.FileUploadReferencesReq>}
1420
- */
1421
- proto.BaseQuotationRequest.prototype.getFilesList = function() {
1422
- return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1423
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 22));
1424
- };
1425
-
1426
-
1427
- /**
1428
- * @param {!Array<!proto.FileUploadReferencesReq>} value
1429
- * @return {!proto.BaseQuotationRequest} returns this
1430
- */
1431
- proto.BaseQuotationRequest.prototype.setFilesList = function(value) {
1432
- return jspb.Message.setRepeatedWrapperField(this, 22, value);
1433
- };
1434
-
1435
-
1436
- /**
1437
- * @param {!proto.FileUploadReferencesReq=} opt_value
1438
- * @param {number=} opt_index
1439
- * @return {!proto.FileUploadReferencesReq}
1440
- */
1441
- proto.BaseQuotationRequest.prototype.addFiles = function(opt_value, opt_index) {
1442
- return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.FileUploadReferencesReq, opt_index);
1443
- };
1444
-
1445
-
1446
- /**
1447
- * Clears the list making it empty but non-null.
1448
- * @return {!proto.BaseQuotationRequest} returns this
1449
- */
1450
- proto.BaseQuotationRequest.prototype.clearFilesList = function() {
1451
- return this.setFilesList([]);
1452
- };
1453
-
1454
-
1455
-
1456
-
1457
-
1458
- if (jspb.Message.GENERATE_TO_OBJECT) {
1459
- /**
1460
- * Creates an object representation of this proto.
1461
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1462
- * Optional fields that are not set will be set to undefined.
1463
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1464
- * For the list of reserved names please see:
1465
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1466
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1467
- * JSPB instance for transitional soy proto support:
1468
- * http://goto/soy-param-migration
1469
- * @return {!Object}
1470
- */
1471
- proto.GetQuotationByIdRequest.prototype.toObject = function(opt_includeInstance) {
1472
- return proto.GetQuotationByIdRequest.toObject(opt_includeInstance, this);
1473
- };
1474
-
1475
-
1476
- /**
1477
- * Static version of the {@see toObject} method.
1478
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1479
- * the JSPB instance for transitional soy proto support:
1480
- * http://goto/soy-param-migration
1481
- * @param {!proto.GetQuotationByIdRequest} msg The msg instance to transform.
1482
- * @return {!Object}
1483
- * @suppress {unusedLocalVariables} f is only used for nested messages
1484
- */
1485
- proto.GetQuotationByIdRequest.toObject = function(includeInstance, msg) {
1486
- var f, obj = {
1487
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1488
- };
1489
-
1490
- if (includeInstance) {
1491
- obj.$jspbMessageInstance = msg;
1492
- }
1493
- return obj;
1494
- };
1495
- }
1496
-
1497
-
1498
- /**
1499
- * Deserializes binary data (in protobuf wire format).
1500
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1501
- * @return {!proto.GetQuotationByIdRequest}
1502
- */
1503
- proto.GetQuotationByIdRequest.deserializeBinary = function(bytes) {
1504
- var reader = new jspb.BinaryReader(bytes);
1505
- var msg = new proto.GetQuotationByIdRequest;
1506
- return proto.GetQuotationByIdRequest.deserializeBinaryFromReader(msg, reader);
1507
- };
1508
-
1509
-
1510
- /**
1511
- * Deserializes binary data (in protobuf wire format) from the
1512
- * given reader into the given message object.
1513
- * @param {!proto.GetQuotationByIdRequest} msg The message object to deserialize into.
1514
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1515
- * @return {!proto.GetQuotationByIdRequest}
1516
- */
1517
- proto.GetQuotationByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
1518
- while (reader.nextField()) {
1519
- if (reader.isEndGroup()) {
1520
- break;
1521
- }
1522
- var field = reader.getFieldNumber();
1523
- switch (field) {
1524
- case 1:
1525
- var value = /** @type {string} */ (reader.readString());
1526
- msg.setReferencesId(value);
1527
- break;
1528
- default:
1529
- reader.skipField();
1530
- break;
1531
- }
1532
- }
1533
- return msg;
1534
- };
1535
-
1536
-
1537
- /**
1538
- * Serializes the message to binary data (in protobuf wire format).
1539
- * @return {!Uint8Array}
1540
- */
1541
- proto.GetQuotationByIdRequest.prototype.serializeBinary = function() {
1542
- var writer = new jspb.BinaryWriter();
1543
- proto.GetQuotationByIdRequest.serializeBinaryToWriter(this, writer);
1544
- return writer.getResultBuffer();
1545
- };
1546
-
1547
-
1548
- /**
1549
- * Serializes the given message to binary data (in protobuf wire
1550
- * format), writing to the given BinaryWriter.
1551
- * @param {!proto.GetQuotationByIdRequest} message
1552
- * @param {!jspb.BinaryWriter} writer
1553
- * @suppress {unusedLocalVariables} f is only used for nested messages
1554
- */
1555
- proto.GetQuotationByIdRequest.serializeBinaryToWriter = function(message, writer) {
1556
- var f = undefined;
1557
- f = message.getReferencesId();
1558
- if (f.length > 0) {
1559
- writer.writeString(
1560
- 1,
1561
- f
1562
- );
1563
- }
1564
- };
1565
-
1566
-
1567
- /**
1568
- * optional string references_id = 1;
1569
- * @return {string}
1570
- */
1571
- proto.GetQuotationByIdRequest.prototype.getReferencesId = function() {
1572
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1573
- };
1574
-
1575
-
1576
- /**
1577
- * @param {string} value
1578
- * @return {!proto.GetQuotationByIdRequest} returns this
1579
- */
1580
- proto.GetQuotationByIdRequest.prototype.setReferencesId = function(value) {
1581
- return jspb.Message.setProto3StringField(this, 1, value);
1582
- };
1583
-
1584
-
1585
-
1586
-
1587
-
1588
- if (jspb.Message.GENERATE_TO_OBJECT) {
1589
- /**
1590
- * Creates an object representation of this proto.
1591
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1592
- * Optional fields that are not set will be set to undefined.
1593
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1594
- * For the list of reserved names please see:
1595
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1596
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1597
- * JSPB instance for transitional soy proto support:
1598
- * http://goto/soy-param-migration
1599
- * @return {!Object}
1600
- */
1601
- proto.UpdateQuotationRequest.prototype.toObject = function(opt_includeInstance) {
1602
- return proto.UpdateQuotationRequest.toObject(opt_includeInstance, this);
1603
- };
1604
-
1605
-
1606
- /**
1607
- * Static version of the {@see toObject} method.
1608
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1609
- * the JSPB instance for transitional soy proto support:
1610
- * http://goto/soy-param-migration
1611
- * @param {!proto.UpdateQuotationRequest} msg The msg instance to transform.
1612
- * @return {!Object}
1613
- * @suppress {unusedLocalVariables} f is only used for nested messages
1614
- */
1615
- proto.UpdateQuotationRequest.toObject = function(includeInstance, msg) {
1616
- var f, obj = {
1617
- baseQuotation: (f = msg.getBaseQuotation()) && proto.BaseQuotationRequest.toObject(includeInstance, f),
1618
- referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
1619
- };
1620
-
1621
- if (includeInstance) {
1622
- obj.$jspbMessageInstance = msg;
1623
- }
1624
- return obj;
1625
- };
1626
- }
1627
-
1628
-
1629
- /**
1630
- * Deserializes binary data (in protobuf wire format).
1631
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1632
- * @return {!proto.UpdateQuotationRequest}
1633
- */
1634
- proto.UpdateQuotationRequest.deserializeBinary = function(bytes) {
1635
- var reader = new jspb.BinaryReader(bytes);
1636
- var msg = new proto.UpdateQuotationRequest;
1637
- return proto.UpdateQuotationRequest.deserializeBinaryFromReader(msg, reader);
1638
- };
1639
-
1640
-
1641
- /**
1642
- * Deserializes binary data (in protobuf wire format) from the
1643
- * given reader into the given message object.
1644
- * @param {!proto.UpdateQuotationRequest} msg The message object to deserialize into.
1645
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1646
- * @return {!proto.UpdateQuotationRequest}
1647
- */
1648
- proto.UpdateQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
1649
- while (reader.nextField()) {
1650
- if (reader.isEndGroup()) {
1651
- break;
1652
- }
1653
- var field = reader.getFieldNumber();
1654
- switch (field) {
1655
- case 1:
1656
- var value = new proto.BaseQuotationRequest;
1657
- reader.readMessage(value,proto.BaseQuotationRequest.deserializeBinaryFromReader);
1658
- msg.setBaseQuotation(value);
1659
- break;
1660
- case 2:
1661
- var value = /** @type {string} */ (reader.readString());
1662
- msg.setReferencesId(value);
1663
- break;
1664
- default:
1665
- reader.skipField();
1666
- break;
1667
- }
1668
- }
1669
- return msg;
1670
- };
1671
-
1672
-
1673
- /**
1674
- * Serializes the message to binary data (in protobuf wire format).
1675
- * @return {!Uint8Array}
1676
- */
1677
- proto.UpdateQuotationRequest.prototype.serializeBinary = function() {
1678
- var writer = new jspb.BinaryWriter();
1679
- proto.UpdateQuotationRequest.serializeBinaryToWriter(this, writer);
1680
- return writer.getResultBuffer();
1681
- };
1682
-
1683
-
1684
- /**
1685
- * Serializes the given message to binary data (in protobuf wire
1686
- * format), writing to the given BinaryWriter.
1687
- * @param {!proto.UpdateQuotationRequest} message
1688
- * @param {!jspb.BinaryWriter} writer
1689
- * @suppress {unusedLocalVariables} f is only used for nested messages
1690
- */
1691
- proto.UpdateQuotationRequest.serializeBinaryToWriter = function(message, writer) {
1692
- var f = undefined;
1693
- f = message.getBaseQuotation();
1694
- if (f != null) {
1695
- writer.writeMessage(
1696
- 1,
1697
- f,
1698
- proto.BaseQuotationRequest.serializeBinaryToWriter
1699
- );
1700
- }
1701
- f = message.getReferencesId();
1702
- if (f.length > 0) {
1703
- writer.writeString(
1704
- 2,
1705
- f
1706
- );
1707
- }
1708
- };
1709
-
1710
-
1711
- /**
1712
- * optional BaseQuotationRequest base_quotation = 1;
1713
- * @return {?proto.BaseQuotationRequest}
1714
- */
1715
- proto.UpdateQuotationRequest.prototype.getBaseQuotation = function() {
1716
- return /** @type{?proto.BaseQuotationRequest} */ (
1717
- jspb.Message.getWrapperField(this, proto.BaseQuotationRequest, 1));
1718
- };
1719
-
1720
-
1721
- /**
1722
- * @param {?proto.BaseQuotationRequest|undefined} value
1723
- * @return {!proto.UpdateQuotationRequest} returns this
1724
- */
1725
- proto.UpdateQuotationRequest.prototype.setBaseQuotation = function(value) {
1726
- return jspb.Message.setWrapperField(this, 1, value);
1727
- };
1728
-
1729
-
1730
- /**
1731
- * Clears the message field making it undefined.
1732
- * @return {!proto.UpdateQuotationRequest} returns this
1733
- */
1734
- proto.UpdateQuotationRequest.prototype.clearBaseQuotation = function() {
1735
- return this.setBaseQuotation(undefined);
1736
- };
1737
-
1738
-
1739
- /**
1740
- * Returns whether this field is set.
1741
- * @return {boolean}
1742
- */
1743
- proto.UpdateQuotationRequest.prototype.hasBaseQuotation = function() {
1744
- return jspb.Message.getField(this, 1) != null;
1745
- };
1746
-
1747
-
1748
- /**
1749
- * optional string references_id = 2;
1750
- * @return {string}
1751
- */
1752
- proto.UpdateQuotationRequest.prototype.getReferencesId = function() {
1753
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1754
- };
1755
-
1756
-
1757
- /**
1758
- * @param {string} value
1759
- * @return {!proto.UpdateQuotationRequest} returns this
1760
- */
1761
- proto.UpdateQuotationRequest.prototype.setReferencesId = function(value) {
1762
- return jspb.Message.setProto3StringField(this, 2, value);
1763
- };
1764
-
1765
-
1766
-
1767
-
1768
-
1769
- if (jspb.Message.GENERATE_TO_OBJECT) {
1770
- /**
1771
- * Creates an object representation of this proto.
1772
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1773
- * Optional fields that are not set will be set to undefined.
1774
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1775
- * For the list of reserved names please see:
1776
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1777
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1778
- * JSPB instance for transitional soy proto support:
1779
- * http://goto/soy-param-migration
1780
- * @return {!Object}
1781
- */
1782
- proto.GetListQuotationRequest.prototype.toObject = function(opt_includeInstance) {
1783
- return proto.GetListQuotationRequest.toObject(opt_includeInstance, this);
1784
- };
1785
-
1786
-
1787
- /**
1788
- * Static version of the {@see toObject} method.
1789
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1790
- * the JSPB instance for transitional soy proto support:
1791
- * http://goto/soy-param-migration
1792
- * @param {!proto.GetListQuotationRequest} msg The msg instance to transform.
1793
- * @return {!Object}
1794
- * @suppress {unusedLocalVariables} f is only used for nested messages
1795
- */
1796
- proto.GetListQuotationRequest.toObject = function(includeInstance, msg) {
1797
- var f, obj = {
1798
- pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1799
- query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1800
- };
1801
-
1802
- if (includeInstance) {
1803
- obj.$jspbMessageInstance = msg;
1804
- }
1805
- return obj;
1806
- };
1807
- }
1808
-
1809
-
1810
- /**
1811
- * Deserializes binary data (in protobuf wire format).
1812
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1813
- * @return {!proto.GetListQuotationRequest}
1814
- */
1815
- proto.GetListQuotationRequest.deserializeBinary = function(bytes) {
1816
- var reader = new jspb.BinaryReader(bytes);
1817
- var msg = new proto.GetListQuotationRequest;
1818
- return proto.GetListQuotationRequest.deserializeBinaryFromReader(msg, reader);
1819
- };
1820
-
1821
-
1822
- /**
1823
- * Deserializes binary data (in protobuf wire format) from the
1824
- * given reader into the given message object.
1825
- * @param {!proto.GetListQuotationRequest} msg The message object to deserialize into.
1826
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1827
- * @return {!proto.GetListQuotationRequest}
1828
- */
1829
- proto.GetListQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
1830
- while (reader.nextField()) {
1831
- if (reader.isEndGroup()) {
1832
- break;
1833
- }
1834
- var field = reader.getFieldNumber();
1835
- switch (field) {
1836
- case 1:
1837
- var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1838
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1839
- msg.setPagination(value);
1840
- break;
1841
- case 2:
1842
- var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1843
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1844
- msg.setQuery(value);
1845
- break;
1846
- default:
1847
- reader.skipField();
1848
- break;
1849
- }
1850
- }
1851
- return msg;
1852
- };
1853
-
1854
-
1855
- /**
1856
- * Serializes the message to binary data (in protobuf wire format).
1857
- * @return {!Uint8Array}
1858
- */
1859
- proto.GetListQuotationRequest.prototype.serializeBinary = function() {
1860
- var writer = new jspb.BinaryWriter();
1861
- proto.GetListQuotationRequest.serializeBinaryToWriter(this, writer);
1862
- return writer.getResultBuffer();
1863
- };
1864
-
1865
-
1866
- /**
1867
- * Serializes the given message to binary data (in protobuf wire
1868
- * format), writing to the given BinaryWriter.
1869
- * @param {!proto.GetListQuotationRequest} message
1870
- * @param {!jspb.BinaryWriter} writer
1871
- * @suppress {unusedLocalVariables} f is only used for nested messages
1872
- */
1873
- proto.GetListQuotationRequest.serializeBinaryToWriter = function(message, writer) {
1874
- var f = undefined;
1875
- f = message.getPagination();
1876
- if (f != null) {
1877
- writer.writeMessage(
1878
- 1,
1879
- f,
1880
- prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1881
- );
1882
- }
1883
- f = message.getQuery();
1884
- if (f != null) {
1885
- writer.writeMessage(
1886
- 2,
1887
- f,
1888
- prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1889
- );
1890
- }
1891
- };
1892
-
1893
-
1894
- /**
1895
- * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1896
- * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1897
- */
1898
- proto.GetListQuotationRequest.prototype.getPagination = function() {
1899
- return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1900
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1901
- };
1902
-
1903
-
1904
- /**
1905
- * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1906
- * @return {!proto.GetListQuotationRequest} returns this
1907
- */
1908
- proto.GetListQuotationRequest.prototype.setPagination = function(value) {
1909
- return jspb.Message.setWrapperField(this, 1, value);
1910
- };
1911
-
1912
-
1913
- /**
1914
- * Clears the message field making it undefined.
1915
- * @return {!proto.GetListQuotationRequest} returns this
1916
- */
1917
- proto.GetListQuotationRequest.prototype.clearPagination = function() {
1918
- return this.setPagination(undefined);
1919
- };
1920
-
1921
-
1922
- /**
1923
- * Returns whether this field is set.
1924
- * @return {boolean}
1925
- */
1926
- proto.GetListQuotationRequest.prototype.hasPagination = function() {
1927
- return jspb.Message.getField(this, 1) != null;
1928
- };
1929
-
1930
-
1931
- /**
1932
- * optional prisca.v1.global.meta.FilterRequest query = 2;
1933
- * @return {?proto.prisca.v1.global.meta.FilterRequest}
1934
- */
1935
- proto.GetListQuotationRequest.prototype.getQuery = function() {
1936
- return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1937
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1938
- };
1939
-
1940
-
1941
- /**
1942
- * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1943
- * @return {!proto.GetListQuotationRequest} returns this
1944
- */
1945
- proto.GetListQuotationRequest.prototype.setQuery = function(value) {
1946
- return jspb.Message.setWrapperField(this, 2, value);
1947
- };
1948
-
1949
-
1950
- /**
1951
- * Clears the message field making it undefined.
1952
- * @return {!proto.GetListQuotationRequest} returns this
1953
- */
1954
- proto.GetListQuotationRequest.prototype.clearQuery = function() {
1955
- return this.setQuery(undefined);
1956
- };
1957
-
1958
-
1959
- /**
1960
- * Returns whether this field is set.
1961
- * @return {boolean}
1962
- */
1963
- proto.GetListQuotationRequest.prototype.hasQuery = function() {
1964
- return jspb.Message.getField(this, 2) != null;
1965
- };
1966
-
1967
-
1968
-
1969
-
1970
-
1971
- if (jspb.Message.GENERATE_TO_OBJECT) {
1972
- /**
1973
- * Creates an object representation of this proto.
1974
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1975
- * Optional fields that are not set will be set to undefined.
1976
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1977
- * For the list of reserved names please see:
1978
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1979
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1980
- * JSPB instance for transitional soy proto support:
1981
- * http://goto/soy-param-migration
1982
- * @return {!Object}
1983
- */
1984
- proto.GetQuotationByIdResponse.prototype.toObject = function(opt_includeInstance) {
1985
- return proto.GetQuotationByIdResponse.toObject(opt_includeInstance, this);
1986
- };
1987
-
1988
-
1989
- /**
1990
- * Static version of the {@see toObject} method.
1991
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1992
- * the JSPB instance for transitional soy proto support:
1993
- * http://goto/soy-param-migration
1994
- * @param {!proto.GetQuotationByIdResponse} msg The msg instance to transform.
1995
- * @return {!Object}
1996
- * @suppress {unusedLocalVariables} f is only used for nested messages
1997
- */
1998
- proto.GetQuotationByIdResponse.toObject = function(includeInstance, msg) {
1999
- var f, obj = {
2000
- quotation: (f = msg.getQuotation()) && prisca_v1_bidding_bidding_pb.Quotation.toObject(includeInstance, f),
2001
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2002
- };
2003
-
2004
- if (includeInstance) {
2005
- obj.$jspbMessageInstance = msg;
2006
- }
2007
- return obj;
2008
- };
2009
- }
2010
-
2011
-
2012
- /**
2013
- * Deserializes binary data (in protobuf wire format).
2014
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2015
- * @return {!proto.GetQuotationByIdResponse}
2016
- */
2017
- proto.GetQuotationByIdResponse.deserializeBinary = function(bytes) {
2018
- var reader = new jspb.BinaryReader(bytes);
2019
- var msg = new proto.GetQuotationByIdResponse;
2020
- return proto.GetQuotationByIdResponse.deserializeBinaryFromReader(msg, reader);
2021
- };
2022
-
2023
-
2024
- /**
2025
- * Deserializes binary data (in protobuf wire format) from the
2026
- * given reader into the given message object.
2027
- * @param {!proto.GetQuotationByIdResponse} msg The message object to deserialize into.
2028
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2029
- * @return {!proto.GetQuotationByIdResponse}
2030
- */
2031
- proto.GetQuotationByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2032
- while (reader.nextField()) {
2033
- if (reader.isEndGroup()) {
2034
- break;
2035
- }
2036
- var field = reader.getFieldNumber();
2037
- switch (field) {
2038
- case 1:
2039
- var value = new prisca_v1_bidding_bidding_pb.Quotation;
2040
- reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
2041
- msg.setQuotation(value);
2042
- break;
2043
- case 2:
2044
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2045
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2046
- msg.setMeta(value);
2047
- break;
2048
- default:
2049
- reader.skipField();
2050
- break;
2051
- }
2052
- }
2053
- return msg;
2054
- };
2055
-
2056
-
2057
- /**
2058
- * Serializes the message to binary data (in protobuf wire format).
2059
- * @return {!Uint8Array}
2060
- */
2061
- proto.GetQuotationByIdResponse.prototype.serializeBinary = function() {
2062
- var writer = new jspb.BinaryWriter();
2063
- proto.GetQuotationByIdResponse.serializeBinaryToWriter(this, writer);
2064
- return writer.getResultBuffer();
2065
- };
2066
-
2067
-
2068
- /**
2069
- * Serializes the given message to binary data (in protobuf wire
2070
- * format), writing to the given BinaryWriter.
2071
- * @param {!proto.GetQuotationByIdResponse} message
2072
- * @param {!jspb.BinaryWriter} writer
2073
- * @suppress {unusedLocalVariables} f is only used for nested messages
2074
- */
2075
- proto.GetQuotationByIdResponse.serializeBinaryToWriter = function(message, writer) {
2076
- var f = undefined;
2077
- f = message.getQuotation();
2078
- if (f != null) {
2079
- writer.writeMessage(
2080
- 1,
2081
- f,
2082
- prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
2083
- );
2084
- }
2085
- f = message.getMeta();
2086
- if (f != null) {
2087
- writer.writeMessage(
2088
- 2,
2089
- f,
2090
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2091
- );
2092
- }
2093
- };
2094
-
2095
-
2096
- /**
2097
- * optional Quotation quotation = 1;
2098
- * @return {?proto.Quotation}
2099
- */
2100
- proto.GetQuotationByIdResponse.prototype.getQuotation = function() {
2101
- return /** @type{?proto.Quotation} */ (
2102
- jspb.Message.getWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
2103
- };
2104
-
2105
-
2106
- /**
2107
- * @param {?proto.Quotation|undefined} value
2108
- * @return {!proto.GetQuotationByIdResponse} returns this
2109
- */
2110
- proto.GetQuotationByIdResponse.prototype.setQuotation = function(value) {
2111
- return jspb.Message.setWrapperField(this, 1, value);
2112
- };
2113
-
2114
-
2115
- /**
2116
- * Clears the message field making it undefined.
2117
- * @return {!proto.GetQuotationByIdResponse} returns this
2118
- */
2119
- proto.GetQuotationByIdResponse.prototype.clearQuotation = function() {
2120
- return this.setQuotation(undefined);
2121
- };
2122
-
2123
-
2124
- /**
2125
- * Returns whether this field is set.
2126
- * @return {boolean}
2127
- */
2128
- proto.GetQuotationByIdResponse.prototype.hasQuotation = function() {
2129
- return jspb.Message.getField(this, 1) != null;
2130
- };
2131
-
2132
-
2133
- /**
2134
- * optional prisca.v1.global.meta.Meta meta = 2;
2135
- * @return {?proto.prisca.v1.global.meta.Meta}
2136
- */
2137
- proto.GetQuotationByIdResponse.prototype.getMeta = function() {
2138
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2139
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2140
- };
2141
-
2142
-
2143
- /**
2144
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2145
- * @return {!proto.GetQuotationByIdResponse} returns this
2146
- */
2147
- proto.GetQuotationByIdResponse.prototype.setMeta = function(value) {
2148
- return jspb.Message.setWrapperField(this, 2, value);
2149
- };
2150
-
2151
-
2152
- /**
2153
- * Clears the message field making it undefined.
2154
- * @return {!proto.GetQuotationByIdResponse} returns this
2155
- */
2156
- proto.GetQuotationByIdResponse.prototype.clearMeta = function() {
2157
- return this.setMeta(undefined);
2158
- };
2159
-
2160
-
2161
- /**
2162
- * Returns whether this field is set.
2163
- * @return {boolean}
2164
- */
2165
- proto.GetQuotationByIdResponse.prototype.hasMeta = function() {
2166
- return jspb.Message.getField(this, 2) != null;
2167
- };
2168
-
2169
-
2170
-
2171
- /**
2172
- * List of repeated fields within this message type.
2173
- * @private {!Array<number>}
2174
- * @const
2175
- */
2176
- proto.GetQuotationDetailResponse.repeatedFields_ = [1,2];
2177
-
2178
-
2179
-
2180
- if (jspb.Message.GENERATE_TO_OBJECT) {
2181
- /**
2182
- * Creates an object representation of this proto.
2183
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2184
- * Optional fields that are not set will be set to undefined.
2185
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2186
- * For the list of reserved names please see:
2187
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2188
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2189
- * JSPB instance for transitional soy proto support:
2190
- * http://goto/soy-param-migration
2191
- * @return {!Object}
2192
- */
2193
- proto.GetQuotationDetailResponse.prototype.toObject = function(opt_includeInstance) {
2194
- return proto.GetQuotationDetailResponse.toObject(opt_includeInstance, this);
2195
- };
2196
-
2197
-
2198
- /**
2199
- * Static version of the {@see toObject} method.
2200
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2201
- * the JSPB instance for transitional soy proto support:
2202
- * http://goto/soy-param-migration
2203
- * @param {!proto.GetQuotationDetailResponse} msg The msg instance to transform.
2204
- * @return {!Object}
2205
- * @suppress {unusedLocalVariables} f is only used for nested messages
2206
- */
2207
- proto.GetQuotationDetailResponse.toObject = function(includeInstance, msg) {
2208
- var f, obj = {
2209
- transactionBuilderList: jspb.Message.toObjectList(msg.getTransactionBuilderList(),
2210
- prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
2211
- transactionBuilderItemsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemsList(),
2212
- prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.toObject, includeInstance)
2213
- };
2214
-
2215
- if (includeInstance) {
2216
- obj.$jspbMessageInstance = msg;
2217
- }
2218
- return obj;
2219
- };
2220
- }
2221
-
2222
-
2223
- /**
2224
- * Deserializes binary data (in protobuf wire format).
2225
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2226
- * @return {!proto.GetQuotationDetailResponse}
2227
- */
2228
- proto.GetQuotationDetailResponse.deserializeBinary = function(bytes) {
2229
- var reader = new jspb.BinaryReader(bytes);
2230
- var msg = new proto.GetQuotationDetailResponse;
2231
- return proto.GetQuotationDetailResponse.deserializeBinaryFromReader(msg, reader);
2232
- };
2233
-
2234
-
2235
- /**
2236
- * Deserializes binary data (in protobuf wire format) from the
2237
- * given reader into the given message object.
2238
- * @param {!proto.GetQuotationDetailResponse} msg The message object to deserialize into.
2239
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2240
- * @return {!proto.GetQuotationDetailResponse}
2241
- */
2242
- proto.GetQuotationDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
2243
- while (reader.nextField()) {
2244
- if (reader.isEndGroup()) {
2245
- break;
2246
- }
2247
- var field = reader.getFieldNumber();
2248
- switch (field) {
2249
- case 1:
2250
- var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
2251
- reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
2252
- msg.addTransactionBuilder(value);
2253
- break;
2254
- case 2:
2255
- var value = new prisca_v1_bidding_bidding_pb.GetQuotationItemPreload;
2256
- reader.readMessage(value,prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.deserializeBinaryFromReader);
2257
- msg.addTransactionBuilderItems(value);
2258
- break;
2259
- default:
2260
- reader.skipField();
2261
- break;
2262
- }
2263
- }
2264
- return msg;
2265
- };
2266
-
2267
-
2268
- /**
2269
- * Serializes the message to binary data (in protobuf wire format).
2270
- * @return {!Uint8Array}
2271
- */
2272
- proto.GetQuotationDetailResponse.prototype.serializeBinary = function() {
2273
- var writer = new jspb.BinaryWriter();
2274
- proto.GetQuotationDetailResponse.serializeBinaryToWriter(this, writer);
2275
- return writer.getResultBuffer();
2276
- };
2277
-
2278
-
2279
- /**
2280
- * Serializes the given message to binary data (in protobuf wire
2281
- * format), writing to the given BinaryWriter.
2282
- * @param {!proto.GetQuotationDetailResponse} message
2283
- * @param {!jspb.BinaryWriter} writer
2284
- * @suppress {unusedLocalVariables} f is only used for nested messages
2285
- */
2286
- proto.GetQuotationDetailResponse.serializeBinaryToWriter = function(message, writer) {
2287
- var f = undefined;
2288
- f = message.getTransactionBuilderList();
2289
- if (f.length > 0) {
2290
- writer.writeRepeatedMessage(
2291
- 1,
2292
- f,
2293
- prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
2294
- );
2295
- }
2296
- f = message.getTransactionBuilderItemsList();
2297
- if (f.length > 0) {
2298
- writer.writeRepeatedMessage(
2299
- 2,
2300
- f,
2301
- prisca_v1_bidding_bidding_pb.GetQuotationItemPreload.serializeBinaryToWriter
2302
- );
2303
- }
2304
- };
2305
-
2306
-
2307
- /**
2308
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
2309
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
2310
- */
2311
- proto.GetQuotationDetailResponse.prototype.getTransactionBuilderList = function() {
2312
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
2313
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
2314
- };
2315
-
2316
-
2317
- /**
2318
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
2319
- * @return {!proto.GetQuotationDetailResponse} returns this
2320
- */
2321
- proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(value) {
2322
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2323
- };
2324
-
2325
-
2326
- /**
2327
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
2328
- * @param {number=} opt_index
2329
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
2330
- */
2331
- proto.GetQuotationDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
2332
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
2333
- };
2334
-
2335
-
2336
- /**
2337
- * Clears the list making it empty but non-null.
2338
- * @return {!proto.GetQuotationDetailResponse} returns this
2339
- */
2340
- proto.GetQuotationDetailResponse.prototype.clearTransactionBuilderList = function() {
2341
- return this.setTransactionBuilderList([]);
2342
- };
2343
-
2344
-
2345
- /**
2346
- * repeated GetQuotationItemPreload transaction_builder_items = 2;
2347
- * @return {!Array<!proto.GetQuotationItemPreload>}
2348
- */
2349
- proto.GetQuotationDetailResponse.prototype.getTransactionBuilderItemsList = function() {
2350
- return /** @type{!Array<!proto.GetQuotationItemPreload>} */ (
2351
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_bidding_bidding_pb.GetQuotationItemPreload, 2));
2352
- };
2353
-
2354
-
2355
- /**
2356
- * @param {!Array<!proto.GetQuotationItemPreload>} value
2357
- * @return {!proto.GetQuotationDetailResponse} returns this
2358
- */
2359
- proto.GetQuotationDetailResponse.prototype.setTransactionBuilderItemsList = function(value) {
2360
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
2361
- };
2362
-
2363
-
2364
- /**
2365
- * @param {!proto.GetQuotationItemPreload=} opt_value
2366
- * @param {number=} opt_index
2367
- * @return {!proto.GetQuotationItemPreload}
2368
- */
2369
- proto.GetQuotationDetailResponse.prototype.addTransactionBuilderItems = function(opt_value, opt_index) {
2370
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.GetQuotationItemPreload, opt_index);
2371
- };
2372
-
2373
-
2374
- /**
2375
- * Clears the list making it empty but non-null.
2376
- * @return {!proto.GetQuotationDetailResponse} returns this
2377
- */
2378
- proto.GetQuotationDetailResponse.prototype.clearTransactionBuilderItemsList = function() {
2379
- return this.setTransactionBuilderItemsList([]);
2380
- };
2381
-
2382
-
2383
-
2384
- /**
2385
- * List of repeated fields within this message type.
2386
- * @private {!Array<number>}
2387
- * @const
2388
- */
2389
- proto.GetListQuotationResponse.repeatedFields_ = [1];
2390
-
2391
-
2392
-
2393
- if (jspb.Message.GENERATE_TO_OBJECT) {
2394
- /**
2395
- * Creates an object representation of this proto.
2396
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2397
- * Optional fields that are not set will be set to undefined.
2398
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2399
- * For the list of reserved names please see:
2400
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2401
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2402
- * JSPB instance for transitional soy proto support:
2403
- * http://goto/soy-param-migration
2404
- * @return {!Object}
2405
- */
2406
- proto.GetListQuotationResponse.prototype.toObject = function(opt_includeInstance) {
2407
- return proto.GetListQuotationResponse.toObject(opt_includeInstance, this);
2408
- };
2409
-
2410
-
2411
- /**
2412
- * Static version of the {@see toObject} method.
2413
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2414
- * the JSPB instance for transitional soy proto support:
2415
- * http://goto/soy-param-migration
2416
- * @param {!proto.GetListQuotationResponse} msg The msg instance to transform.
2417
- * @return {!Object}
2418
- * @suppress {unusedLocalVariables} f is only used for nested messages
2419
- */
2420
- proto.GetListQuotationResponse.toObject = function(includeInstance, msg) {
2421
- var f, obj = {
2422
- quotationsList: jspb.Message.toObjectList(msg.getQuotationsList(),
2423
- prisca_v1_bidding_bidding_pb.Quotation.toObject, includeInstance),
2424
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2425
- };
2426
-
2427
- if (includeInstance) {
2428
- obj.$jspbMessageInstance = msg;
2429
- }
2430
- return obj;
2431
- };
2432
- }
2433
-
2434
-
2435
- /**
2436
- * Deserializes binary data (in protobuf wire format).
2437
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2438
- * @return {!proto.GetListQuotationResponse}
2439
- */
2440
- proto.GetListQuotationResponse.deserializeBinary = function(bytes) {
2441
- var reader = new jspb.BinaryReader(bytes);
2442
- var msg = new proto.GetListQuotationResponse;
2443
- return proto.GetListQuotationResponse.deserializeBinaryFromReader(msg, reader);
2444
- };
2445
-
2446
-
2447
- /**
2448
- * Deserializes binary data (in protobuf wire format) from the
2449
- * given reader into the given message object.
2450
- * @param {!proto.GetListQuotationResponse} msg The message object to deserialize into.
2451
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2452
- * @return {!proto.GetListQuotationResponse}
2453
- */
2454
- proto.GetListQuotationResponse.deserializeBinaryFromReader = function(msg, reader) {
2455
- while (reader.nextField()) {
2456
- if (reader.isEndGroup()) {
2457
- break;
2458
- }
2459
- var field = reader.getFieldNumber();
2460
- switch (field) {
2461
- case 1:
2462
- var value = new prisca_v1_bidding_bidding_pb.Quotation;
2463
- reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
2464
- msg.addQuotations(value);
2465
- break;
2466
- case 2:
2467
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2468
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2469
- msg.setMeta(value);
2470
- break;
2471
- default:
2472
- reader.skipField();
2473
- break;
2474
- }
2475
- }
2476
- return msg;
2477
- };
2478
-
2479
-
2480
- /**
2481
- * Serializes the message to binary data (in protobuf wire format).
2482
- * @return {!Uint8Array}
2483
- */
2484
- proto.GetListQuotationResponse.prototype.serializeBinary = function() {
2485
- var writer = new jspb.BinaryWriter();
2486
- proto.GetListQuotationResponse.serializeBinaryToWriter(this, writer);
2487
- return writer.getResultBuffer();
2488
- };
2489
-
2490
-
2491
- /**
2492
- * Serializes the given message to binary data (in protobuf wire
2493
- * format), writing to the given BinaryWriter.
2494
- * @param {!proto.GetListQuotationResponse} message
2495
- * @param {!jspb.BinaryWriter} writer
2496
- * @suppress {unusedLocalVariables} f is only used for nested messages
2497
- */
2498
- proto.GetListQuotationResponse.serializeBinaryToWriter = function(message, writer) {
2499
- var f = undefined;
2500
- f = message.getQuotationsList();
2501
- if (f.length > 0) {
2502
- writer.writeRepeatedMessage(
2503
- 1,
2504
- f,
2505
- prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
2506
- );
2507
- }
2508
- f = message.getMeta();
2509
- if (f != null) {
2510
- writer.writeMessage(
2511
- 2,
2512
- f,
2513
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2514
- );
2515
- }
2516
- };
2517
-
2518
-
2519
- /**
2520
- * repeated Quotation quotations = 1;
2521
- * @return {!Array<!proto.Quotation>}
2522
- */
2523
- proto.GetListQuotationResponse.prototype.getQuotationsList = function() {
2524
- return /** @type{!Array<!proto.Quotation>} */ (
2525
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
2526
- };
2527
-
2528
-
2529
- /**
2530
- * @param {!Array<!proto.Quotation>} value
2531
- * @return {!proto.GetListQuotationResponse} returns this
2532
- */
2533
- proto.GetListQuotationResponse.prototype.setQuotationsList = function(value) {
2534
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2535
- };
2536
-
2537
-
2538
- /**
2539
- * @param {!proto.Quotation=} opt_value
2540
- * @param {number=} opt_index
2541
- * @return {!proto.Quotation}
2542
- */
2543
- proto.GetListQuotationResponse.prototype.addQuotations = function(opt_value, opt_index) {
2544
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Quotation, opt_index);
2545
- };
2546
-
2547
-
2548
- /**
2549
- * Clears the list making it empty but non-null.
2550
- * @return {!proto.GetListQuotationResponse} returns this
2551
- */
2552
- proto.GetListQuotationResponse.prototype.clearQuotationsList = function() {
2553
- return this.setQuotationsList([]);
2554
- };
2555
-
2556
-
2557
- /**
2558
- * optional prisca.v1.global.meta.Meta meta = 2;
2559
- * @return {?proto.prisca.v1.global.meta.Meta}
2560
- */
2561
- proto.GetListQuotationResponse.prototype.getMeta = function() {
2562
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2563
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2564
- };
2565
-
2566
-
2567
- /**
2568
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2569
- * @return {!proto.GetListQuotationResponse} returns this
2570
- */
2571
- proto.GetListQuotationResponse.prototype.setMeta = function(value) {
2572
- return jspb.Message.setWrapperField(this, 2, value);
2573
- };
2574
-
2575
-
2576
- /**
2577
- * Clears the message field making it undefined.
2578
- * @return {!proto.GetListQuotationResponse} returns this
2579
- */
2580
- proto.GetListQuotationResponse.prototype.clearMeta = function() {
2581
- return this.setMeta(undefined);
2582
- };
2583
-
2584
-
2585
- /**
2586
- * Returns whether this field is set.
2587
- * @return {boolean}
2588
- */
2589
- proto.GetListQuotationResponse.prototype.hasMeta = function() {
2590
- return jspb.Message.getField(this, 2) != null;
2591
- };
2592
-
2593
-
2594
-
2595
-
2596
-
2597
- if (jspb.Message.GENERATE_TO_OBJECT) {
2598
- /**
2599
- * Creates an object representation of this proto.
2600
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2601
- * Optional fields that are not set will be set to undefined.
2602
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2603
- * For the list of reserved names please see:
2604
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2605
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2606
- * JSPB instance for transitional soy proto support:
2607
- * http://goto/soy-param-migration
2608
- * @return {!Object}
2609
- */
2610
- proto.UpdateQuotationResponse.prototype.toObject = function(opt_includeInstance) {
2611
- return proto.UpdateQuotationResponse.toObject(opt_includeInstance, this);
2612
- };
2613
-
2614
-
2615
- /**
2616
- * Static version of the {@see toObject} method.
2617
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2618
- * the JSPB instance for transitional soy proto support:
2619
- * http://goto/soy-param-migration
2620
- * @param {!proto.UpdateQuotationResponse} msg The msg instance to transform.
2621
- * @return {!Object}
2622
- * @suppress {unusedLocalVariables} f is only used for nested messages
2623
- */
2624
- proto.UpdateQuotationResponse.toObject = function(includeInstance, msg) {
2625
- var f, obj = {
2626
- quotation: (f = msg.getQuotation()) && prisca_v1_bidding_bidding_pb.Quotation.toObject(includeInstance, f),
2627
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2628
- };
2629
-
2630
- if (includeInstance) {
2631
- obj.$jspbMessageInstance = msg;
2632
- }
2633
- return obj;
2634
- };
2635
- }
2636
-
2637
-
2638
- /**
2639
- * Deserializes binary data (in protobuf wire format).
2640
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2641
- * @return {!proto.UpdateQuotationResponse}
2642
- */
2643
- proto.UpdateQuotationResponse.deserializeBinary = function(bytes) {
2644
- var reader = new jspb.BinaryReader(bytes);
2645
- var msg = new proto.UpdateQuotationResponse;
2646
- return proto.UpdateQuotationResponse.deserializeBinaryFromReader(msg, reader);
2647
- };
2648
-
2649
-
2650
- /**
2651
- * Deserializes binary data (in protobuf wire format) from the
2652
- * given reader into the given message object.
2653
- * @param {!proto.UpdateQuotationResponse} msg The message object to deserialize into.
2654
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2655
- * @return {!proto.UpdateQuotationResponse}
2656
- */
2657
- proto.UpdateQuotationResponse.deserializeBinaryFromReader = function(msg, reader) {
2658
- while (reader.nextField()) {
2659
- if (reader.isEndGroup()) {
2660
- break;
2661
- }
2662
- var field = reader.getFieldNumber();
2663
- switch (field) {
2664
- case 1:
2665
- var value = new prisca_v1_bidding_bidding_pb.Quotation;
2666
- reader.readMessage(value,prisca_v1_bidding_bidding_pb.Quotation.deserializeBinaryFromReader);
2667
- msg.setQuotation(value);
2668
- break;
2669
- case 2:
2670
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2671
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2672
- msg.setMeta(value);
2673
- break;
2674
- default:
2675
- reader.skipField();
2676
- break;
2677
- }
2678
- }
2679
- return msg;
2680
- };
2681
-
2682
-
2683
- /**
2684
- * Serializes the message to binary data (in protobuf wire format).
2685
- * @return {!Uint8Array}
2686
- */
2687
- proto.UpdateQuotationResponse.prototype.serializeBinary = function() {
2688
- var writer = new jspb.BinaryWriter();
2689
- proto.UpdateQuotationResponse.serializeBinaryToWriter(this, writer);
2690
- return writer.getResultBuffer();
2691
- };
2692
-
2693
-
2694
- /**
2695
- * Serializes the given message to binary data (in protobuf wire
2696
- * format), writing to the given BinaryWriter.
2697
- * @param {!proto.UpdateQuotationResponse} message
2698
- * @param {!jspb.BinaryWriter} writer
2699
- * @suppress {unusedLocalVariables} f is only used for nested messages
2700
- */
2701
- proto.UpdateQuotationResponse.serializeBinaryToWriter = function(message, writer) {
2702
- var f = undefined;
2703
- f = message.getQuotation();
2704
- if (f != null) {
2705
- writer.writeMessage(
2706
- 1,
2707
- f,
2708
- prisca_v1_bidding_bidding_pb.Quotation.serializeBinaryToWriter
2709
- );
2710
- }
2711
- f = message.getMeta();
2712
- if (f != null) {
2713
- writer.writeMessage(
2714
- 2,
2715
- f,
2716
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2717
- );
2718
- }
2719
- };
2720
-
2721
-
2722
- /**
2723
- * optional Quotation quotation = 1;
2724
- * @return {?proto.Quotation}
2725
- */
2726
- proto.UpdateQuotationResponse.prototype.getQuotation = function() {
2727
- return /** @type{?proto.Quotation} */ (
2728
- jspb.Message.getWrapperField(this, prisca_v1_bidding_bidding_pb.Quotation, 1));
2729
- };
2730
-
2731
-
2732
- /**
2733
- * @param {?proto.Quotation|undefined} value
2734
- * @return {!proto.UpdateQuotationResponse} returns this
2735
- */
2736
- proto.UpdateQuotationResponse.prototype.setQuotation = function(value) {
2737
- return jspb.Message.setWrapperField(this, 1, value);
2738
- };
2739
-
2740
-
2741
- /**
2742
- * Clears the message field making it undefined.
2743
- * @return {!proto.UpdateQuotationResponse} returns this
2744
- */
2745
- proto.UpdateQuotationResponse.prototype.clearQuotation = function() {
2746
- return this.setQuotation(undefined);
2747
- };
2748
-
2749
-
2750
- /**
2751
- * Returns whether this field is set.
2752
- * @return {boolean}
2753
- */
2754
- proto.UpdateQuotationResponse.prototype.hasQuotation = function() {
2755
- return jspb.Message.getField(this, 1) != null;
2756
- };
2757
-
2758
-
2759
- /**
2760
- * optional prisca.v1.global.meta.Meta meta = 2;
2761
- * @return {?proto.prisca.v1.global.meta.Meta}
2762
- */
2763
- proto.UpdateQuotationResponse.prototype.getMeta = function() {
2764
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2765
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2766
- };
2767
-
2768
-
2769
- /**
2770
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2771
- * @return {!proto.UpdateQuotationResponse} returns this
2772
- */
2773
- proto.UpdateQuotationResponse.prototype.setMeta = function(value) {
2774
- return jspb.Message.setWrapperField(this, 2, value);
2775
- };
2776
-
2777
-
2778
- /**
2779
- * Clears the message field making it undefined.
2780
- * @return {!proto.UpdateQuotationResponse} returns this
2781
- */
2782
- proto.UpdateQuotationResponse.prototype.clearMeta = function() {
2783
- return this.setMeta(undefined);
2784
- };
2785
-
2786
-
2787
- /**
2788
- * Returns whether this field is set.
2789
- * @return {boolean}
2790
- */
2791
- proto.UpdateQuotationResponse.prototype.hasMeta = function() {
2792
- return jspb.Message.getField(this, 2) != null;
2793
- };
2794
-
2795
-
2796
- goog.object.extend(exports, proto);