@aldiokta/protocgen 1.1.9 → 1.1.19

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