@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,2139 +0,0 @@
1
- // source: prisca/v1/purchasing_organization/purchasing_organization.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_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
27
- goog.object.extend(proto, prisca_v1_core_company_company_pb);
28
- goog.exportSymbol('proto.CreatePurchasingOrganizationRequest', null, global);
29
- goog.exportSymbol('proto.CreatePurchasingOrganizationResponse', null, global);
30
- goog.exportSymbol('proto.GetListPurchasingOrganizationRequest', null, global);
31
- goog.exportSymbol('proto.GetListPurchasingOrganizationResponse', null, global);
32
- goog.exportSymbol('proto.PurOrg', null, global);
33
- goog.exportSymbol('proto.PurchasingOrganization', null, global);
34
- goog.exportSymbol('proto.PurchasingOrganizationGetByIdRequest', null, global);
35
- goog.exportSymbol('proto.PurchasingOrganizationGetByIdResponse', null, global);
36
- goog.exportSymbol('proto.UpdatePurchasingOrganizationRequest', null, global);
37
- goog.exportSymbol('proto.UpdatePurchasingOrganizationResponse', null, global);
38
- /**
39
- * Generated by JsPbCodeGenerator.
40
- * @param {Array=} opt_data Optional initial data array, typically from a
41
- * server response, or constructed directly in Javascript. The array is used
42
- * in place and becomes part of the constructed object. It is not cloned.
43
- * If no data is provided, the constructed object will be empty, but still
44
- * valid.
45
- * @extends {jspb.Message}
46
- * @constructor
47
- */
48
- proto.PurchasingOrganization = function(opt_data) {
49
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
50
- };
51
- goog.inherits(proto.PurchasingOrganization, jspb.Message);
52
- if (goog.DEBUG && !COMPILED) {
53
- /**
54
- * @public
55
- * @override
56
- */
57
- proto.PurchasingOrganization.displayName = 'proto.PurchasingOrganization';
58
- }
59
- /**
60
- * Generated by JsPbCodeGenerator.
61
- * @param {Array=} opt_data Optional initial data array, typically from a
62
- * server response, or constructed directly in Javascript. The array is used
63
- * in place and becomes part of the constructed object. It is not cloned.
64
- * If no data is provided, the constructed object will be empty, but still
65
- * valid.
66
- * @extends {jspb.Message}
67
- * @constructor
68
- */
69
- proto.PurOrg = function(opt_data) {
70
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
71
- };
72
- goog.inherits(proto.PurOrg, jspb.Message);
73
- if (goog.DEBUG && !COMPILED) {
74
- /**
75
- * @public
76
- * @override
77
- */
78
- proto.PurOrg.displayName = 'proto.PurOrg';
79
- }
80
- /**
81
- * Generated by JsPbCodeGenerator.
82
- * @param {Array=} opt_data Optional initial data array, typically from a
83
- * server response, or constructed directly in Javascript. The array is used
84
- * in place and becomes part of the constructed object. It is not cloned.
85
- * If no data is provided, the constructed object will be empty, but still
86
- * valid.
87
- * @extends {jspb.Message}
88
- * @constructor
89
- */
90
- proto.PurchasingOrganizationGetByIdRequest = function(opt_data) {
91
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
92
- };
93
- goog.inherits(proto.PurchasingOrganizationGetByIdRequest, jspb.Message);
94
- if (goog.DEBUG && !COMPILED) {
95
- /**
96
- * @public
97
- * @override
98
- */
99
- proto.PurchasingOrganizationGetByIdRequest.displayName = 'proto.PurchasingOrganizationGetByIdRequest';
100
- }
101
- /**
102
- * Generated by JsPbCodeGenerator.
103
- * @param {Array=} opt_data Optional initial data array, typically from a
104
- * server response, or constructed directly in Javascript. The array is used
105
- * in place and becomes part of the constructed object. It is not cloned.
106
- * If no data is provided, the constructed object will be empty, but still
107
- * valid.
108
- * @extends {jspb.Message}
109
- * @constructor
110
- */
111
- proto.CreatePurchasingOrganizationRequest = function(opt_data) {
112
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
113
- };
114
- goog.inherits(proto.CreatePurchasingOrganizationRequest, jspb.Message);
115
- if (goog.DEBUG && !COMPILED) {
116
- /**
117
- * @public
118
- * @override
119
- */
120
- proto.CreatePurchasingOrganizationRequest.displayName = 'proto.CreatePurchasingOrganizationRequest';
121
- }
122
- /**
123
- * Generated by JsPbCodeGenerator.
124
- * @param {Array=} opt_data Optional initial data array, typically from a
125
- * server response, or constructed directly in Javascript. The array is used
126
- * in place and becomes part of the constructed object. It is not cloned.
127
- * If no data is provided, the constructed object will be empty, but still
128
- * valid.
129
- * @extends {jspb.Message}
130
- * @constructor
131
- */
132
- proto.UpdatePurchasingOrganizationRequest = function(opt_data) {
133
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
134
- };
135
- goog.inherits(proto.UpdatePurchasingOrganizationRequest, jspb.Message);
136
- if (goog.DEBUG && !COMPILED) {
137
- /**
138
- * @public
139
- * @override
140
- */
141
- proto.UpdatePurchasingOrganizationRequest.displayName = 'proto.UpdatePurchasingOrganizationRequest';
142
- }
143
- /**
144
- * Generated by JsPbCodeGenerator.
145
- * @param {Array=} opt_data Optional initial data array, typically from a
146
- * server response, or constructed directly in Javascript. The array is used
147
- * in place and becomes part of the constructed object. It is not cloned.
148
- * If no data is provided, the constructed object will be empty, but still
149
- * valid.
150
- * @extends {jspb.Message}
151
- * @constructor
152
- */
153
- proto.GetListPurchasingOrganizationRequest = function(opt_data) {
154
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
155
- };
156
- goog.inherits(proto.GetListPurchasingOrganizationRequest, jspb.Message);
157
- if (goog.DEBUG && !COMPILED) {
158
- /**
159
- * @public
160
- * @override
161
- */
162
- proto.GetListPurchasingOrganizationRequest.displayName = 'proto.GetListPurchasingOrganizationRequest';
163
- }
164
- /**
165
- * Generated by JsPbCodeGenerator.
166
- * @param {Array=} opt_data Optional initial data array, typically from a
167
- * server response, or constructed directly in Javascript. The array is used
168
- * in place and becomes part of the constructed object. It is not cloned.
169
- * If no data is provided, the constructed object will be empty, but still
170
- * valid.
171
- * @extends {jspb.Message}
172
- * @constructor
173
- */
174
- proto.CreatePurchasingOrganizationResponse = function(opt_data) {
175
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
176
- };
177
- goog.inherits(proto.CreatePurchasingOrganizationResponse, jspb.Message);
178
- if (goog.DEBUG && !COMPILED) {
179
- /**
180
- * @public
181
- * @override
182
- */
183
- proto.CreatePurchasingOrganizationResponse.displayName = 'proto.CreatePurchasingOrganizationResponse';
184
- }
185
- /**
186
- * Generated by JsPbCodeGenerator.
187
- * @param {Array=} opt_data Optional initial data array, typically from a
188
- * server response, or constructed directly in Javascript. The array is used
189
- * in place and becomes part of the constructed object. It is not cloned.
190
- * If no data is provided, the constructed object will be empty, but still
191
- * valid.
192
- * @extends {jspb.Message}
193
- * @constructor
194
- */
195
- proto.GetListPurchasingOrganizationResponse = function(opt_data) {
196
- jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListPurchasingOrganizationResponse.repeatedFields_, null);
197
- };
198
- goog.inherits(proto.GetListPurchasingOrganizationResponse, jspb.Message);
199
- if (goog.DEBUG && !COMPILED) {
200
- /**
201
- * @public
202
- * @override
203
- */
204
- proto.GetListPurchasingOrganizationResponse.displayName = 'proto.GetListPurchasingOrganizationResponse';
205
- }
206
- /**
207
- * Generated by JsPbCodeGenerator.
208
- * @param {Array=} opt_data Optional initial data array, typically from a
209
- * server response, or constructed directly in Javascript. The array is used
210
- * in place and becomes part of the constructed object. It is not cloned.
211
- * If no data is provided, the constructed object will be empty, but still
212
- * valid.
213
- * @extends {jspb.Message}
214
- * @constructor
215
- */
216
- proto.UpdatePurchasingOrganizationResponse = function(opt_data) {
217
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
218
- };
219
- goog.inherits(proto.UpdatePurchasingOrganizationResponse, jspb.Message);
220
- if (goog.DEBUG && !COMPILED) {
221
- /**
222
- * @public
223
- * @override
224
- */
225
- proto.UpdatePurchasingOrganizationResponse.displayName = 'proto.UpdatePurchasingOrganizationResponse';
226
- }
227
- /**
228
- * Generated by JsPbCodeGenerator.
229
- * @param {Array=} opt_data Optional initial data array, typically from a
230
- * server response, or constructed directly in Javascript. The array is used
231
- * in place and becomes part of the constructed object. It is not cloned.
232
- * If no data is provided, the constructed object will be empty, but still
233
- * valid.
234
- * @extends {jspb.Message}
235
- * @constructor
236
- */
237
- proto.PurchasingOrganizationGetByIdResponse = function(opt_data) {
238
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
239
- };
240
- goog.inherits(proto.PurchasingOrganizationGetByIdResponse, jspb.Message);
241
- if (goog.DEBUG && !COMPILED) {
242
- /**
243
- * @public
244
- * @override
245
- */
246
- proto.PurchasingOrganizationGetByIdResponse.displayName = 'proto.PurchasingOrganizationGetByIdResponse';
247
- }
248
-
249
-
250
-
251
- if (jspb.Message.GENERATE_TO_OBJECT) {
252
- /**
253
- * Creates an object representation of this proto.
254
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
255
- * Optional fields that are not set will be set to undefined.
256
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
257
- * For the list of reserved names please see:
258
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
259
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
260
- * JSPB instance for transitional soy proto support:
261
- * http://goto/soy-param-migration
262
- * @return {!Object}
263
- */
264
- proto.PurchasingOrganization.prototype.toObject = function(opt_includeInstance) {
265
- return proto.PurchasingOrganization.toObject(opt_includeInstance, this);
266
- };
267
-
268
-
269
- /**
270
- * Static version of the {@see toObject} method.
271
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
272
- * the JSPB instance for transitional soy proto support:
273
- * http://goto/soy-param-migration
274
- * @param {!proto.PurchasingOrganization} msg The msg instance to transform.
275
- * @return {!Object}
276
- * @suppress {unusedLocalVariables} f is only used for nested messages
277
- */
278
- proto.PurchasingOrganization.toObject = function(includeInstance, msg) {
279
- var f, obj = {
280
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
281
- description: jspb.Message.getFieldWithDefault(msg, 2, ""),
282
- code: jspb.Message.getFieldWithDefault(msg, 3, ""),
283
- validity: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
284
- };
285
-
286
- if (includeInstance) {
287
- obj.$jspbMessageInstance = msg;
288
- }
289
- return obj;
290
- };
291
- }
292
-
293
-
294
- /**
295
- * Deserializes binary data (in protobuf wire format).
296
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
297
- * @return {!proto.PurchasingOrganization}
298
- */
299
- proto.PurchasingOrganization.deserializeBinary = function(bytes) {
300
- var reader = new jspb.BinaryReader(bytes);
301
- var msg = new proto.PurchasingOrganization;
302
- return proto.PurchasingOrganization.deserializeBinaryFromReader(msg, reader);
303
- };
304
-
305
-
306
- /**
307
- * Deserializes binary data (in protobuf wire format) from the
308
- * given reader into the given message object.
309
- * @param {!proto.PurchasingOrganization} msg The message object to deserialize into.
310
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
311
- * @return {!proto.PurchasingOrganization}
312
- */
313
- proto.PurchasingOrganization.deserializeBinaryFromReader = function(msg, reader) {
314
- while (reader.nextField()) {
315
- if (reader.isEndGroup()) {
316
- break;
317
- }
318
- var field = reader.getFieldNumber();
319
- switch (field) {
320
- case 1:
321
- var value = /** @type {string} */ (reader.readString());
322
- msg.setReferencesId(value);
323
- break;
324
- case 2:
325
- var value = /** @type {string} */ (reader.readString());
326
- msg.setDescription(value);
327
- break;
328
- case 3:
329
- var value = /** @type {string} */ (reader.readString());
330
- msg.setCode(value);
331
- break;
332
- case 4:
333
- var value = /** @type {boolean} */ (reader.readBool());
334
- msg.setValidity(value);
335
- break;
336
- default:
337
- reader.skipField();
338
- break;
339
- }
340
- }
341
- return msg;
342
- };
343
-
344
-
345
- /**
346
- * Serializes the message to binary data (in protobuf wire format).
347
- * @return {!Uint8Array}
348
- */
349
- proto.PurchasingOrganization.prototype.serializeBinary = function() {
350
- var writer = new jspb.BinaryWriter();
351
- proto.PurchasingOrganization.serializeBinaryToWriter(this, writer);
352
- return writer.getResultBuffer();
353
- };
354
-
355
-
356
- /**
357
- * Serializes the given message to binary data (in protobuf wire
358
- * format), writing to the given BinaryWriter.
359
- * @param {!proto.PurchasingOrganization} message
360
- * @param {!jspb.BinaryWriter} writer
361
- * @suppress {unusedLocalVariables} f is only used for nested messages
362
- */
363
- proto.PurchasingOrganization.serializeBinaryToWriter = function(message, writer) {
364
- var f = undefined;
365
- f = message.getReferencesId();
366
- if (f.length > 0) {
367
- writer.writeString(
368
- 1,
369
- f
370
- );
371
- }
372
- f = message.getDescription();
373
- if (f.length > 0) {
374
- writer.writeString(
375
- 2,
376
- f
377
- );
378
- }
379
- f = message.getCode();
380
- if (f.length > 0) {
381
- writer.writeString(
382
- 3,
383
- f
384
- );
385
- }
386
- f = message.getValidity();
387
- if (f) {
388
- writer.writeBool(
389
- 4,
390
- f
391
- );
392
- }
393
- };
394
-
395
-
396
- /**
397
- * optional string references_id = 1;
398
- * @return {string}
399
- */
400
- proto.PurchasingOrganization.prototype.getReferencesId = function() {
401
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
402
- };
403
-
404
-
405
- /**
406
- * @param {string} value
407
- * @return {!proto.PurchasingOrganization} returns this
408
- */
409
- proto.PurchasingOrganization.prototype.setReferencesId = function(value) {
410
- return jspb.Message.setProto3StringField(this, 1, value);
411
- };
412
-
413
-
414
- /**
415
- * optional string description = 2;
416
- * @return {string}
417
- */
418
- proto.PurchasingOrganization.prototype.getDescription = function() {
419
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
420
- };
421
-
422
-
423
- /**
424
- * @param {string} value
425
- * @return {!proto.PurchasingOrganization} returns this
426
- */
427
- proto.PurchasingOrganization.prototype.setDescription = function(value) {
428
- return jspb.Message.setProto3StringField(this, 2, value);
429
- };
430
-
431
-
432
- /**
433
- * optional string code = 3;
434
- * @return {string}
435
- */
436
- proto.PurchasingOrganization.prototype.getCode = function() {
437
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
438
- };
439
-
440
-
441
- /**
442
- * @param {string} value
443
- * @return {!proto.PurchasingOrganization} returns this
444
- */
445
- proto.PurchasingOrganization.prototype.setCode = function(value) {
446
- return jspb.Message.setProto3StringField(this, 3, value);
447
- };
448
-
449
-
450
- /**
451
- * optional bool validity = 4;
452
- * @return {boolean}
453
- */
454
- proto.PurchasingOrganization.prototype.getValidity = function() {
455
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
456
- };
457
-
458
-
459
- /**
460
- * @param {boolean} value
461
- * @return {!proto.PurchasingOrganization} returns this
462
- */
463
- proto.PurchasingOrganization.prototype.setValidity = function(value) {
464
- return jspb.Message.setProto3BooleanField(this, 4, value);
465
- };
466
-
467
-
468
-
469
-
470
-
471
- if (jspb.Message.GENERATE_TO_OBJECT) {
472
- /**
473
- * Creates an object representation of this proto.
474
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
475
- * Optional fields that are not set will be set to undefined.
476
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
477
- * For the list of reserved names please see:
478
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
479
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
480
- * JSPB instance for transitional soy proto support:
481
- * http://goto/soy-param-migration
482
- * @return {!Object}
483
- */
484
- proto.PurOrg.prototype.toObject = function(opt_includeInstance) {
485
- return proto.PurOrg.toObject(opt_includeInstance, this);
486
- };
487
-
488
-
489
- /**
490
- * Static version of the {@see toObject} method.
491
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
492
- * the JSPB instance for transitional soy proto support:
493
- * http://goto/soy-param-migration
494
- * @param {!proto.PurOrg} msg The msg instance to transform.
495
- * @return {!Object}
496
- * @suppress {unusedLocalVariables} f is only used for nested messages
497
- */
498
- proto.PurOrg.toObject = function(includeInstance, msg) {
499
- var f, obj = {
500
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
501
- code: jspb.Message.getFieldWithDefault(msg, 2, ""),
502
- name: jspb.Message.getFieldWithDefault(msg, 3, "")
503
- };
504
-
505
- if (includeInstance) {
506
- obj.$jspbMessageInstance = msg;
507
- }
508
- return obj;
509
- };
510
- }
511
-
512
-
513
- /**
514
- * Deserializes binary data (in protobuf wire format).
515
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
516
- * @return {!proto.PurOrg}
517
- */
518
- proto.PurOrg.deserializeBinary = function(bytes) {
519
- var reader = new jspb.BinaryReader(bytes);
520
- var msg = new proto.PurOrg;
521
- return proto.PurOrg.deserializeBinaryFromReader(msg, reader);
522
- };
523
-
524
-
525
- /**
526
- * Deserializes binary data (in protobuf wire format) from the
527
- * given reader into the given message object.
528
- * @param {!proto.PurOrg} msg The message object to deserialize into.
529
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
530
- * @return {!proto.PurOrg}
531
- */
532
- proto.PurOrg.deserializeBinaryFromReader = function(msg, reader) {
533
- while (reader.nextField()) {
534
- if (reader.isEndGroup()) {
535
- break;
536
- }
537
- var field = reader.getFieldNumber();
538
- switch (field) {
539
- case 1:
540
- var value = /** @type {string} */ (reader.readString());
541
- msg.setReferencesId(value);
542
- break;
543
- case 2:
544
- var value = /** @type {string} */ (reader.readString());
545
- msg.setCode(value);
546
- break;
547
- case 3:
548
- var value = /** @type {string} */ (reader.readString());
549
- msg.setName(value);
550
- break;
551
- default:
552
- reader.skipField();
553
- break;
554
- }
555
- }
556
- return msg;
557
- };
558
-
559
-
560
- /**
561
- * Serializes the message to binary data (in protobuf wire format).
562
- * @return {!Uint8Array}
563
- */
564
- proto.PurOrg.prototype.serializeBinary = function() {
565
- var writer = new jspb.BinaryWriter();
566
- proto.PurOrg.serializeBinaryToWriter(this, writer);
567
- return writer.getResultBuffer();
568
- };
569
-
570
-
571
- /**
572
- * Serializes the given message to binary data (in protobuf wire
573
- * format), writing to the given BinaryWriter.
574
- * @param {!proto.PurOrg} message
575
- * @param {!jspb.BinaryWriter} writer
576
- * @suppress {unusedLocalVariables} f is only used for nested messages
577
- */
578
- proto.PurOrg.serializeBinaryToWriter = function(message, writer) {
579
- var f = undefined;
580
- f = message.getReferencesId();
581
- if (f.length > 0) {
582
- writer.writeString(
583
- 1,
584
- f
585
- );
586
- }
587
- f = message.getCode();
588
- if (f.length > 0) {
589
- writer.writeString(
590
- 2,
591
- f
592
- );
593
- }
594
- f = message.getName();
595
- if (f.length > 0) {
596
- writer.writeString(
597
- 3,
598
- f
599
- );
600
- }
601
- };
602
-
603
-
604
- /**
605
- * optional string references_id = 1;
606
- * @return {string}
607
- */
608
- proto.PurOrg.prototype.getReferencesId = function() {
609
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
610
- };
611
-
612
-
613
- /**
614
- * @param {string} value
615
- * @return {!proto.PurOrg} returns this
616
- */
617
- proto.PurOrg.prototype.setReferencesId = function(value) {
618
- return jspb.Message.setProto3StringField(this, 1, value);
619
- };
620
-
621
-
622
- /**
623
- * optional string code = 2;
624
- * @return {string}
625
- */
626
- proto.PurOrg.prototype.getCode = function() {
627
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
628
- };
629
-
630
-
631
- /**
632
- * @param {string} value
633
- * @return {!proto.PurOrg} returns this
634
- */
635
- proto.PurOrg.prototype.setCode = function(value) {
636
- return jspb.Message.setProto3StringField(this, 2, value);
637
- };
638
-
639
-
640
- /**
641
- * optional string name = 3;
642
- * @return {string}
643
- */
644
- proto.PurOrg.prototype.getName = function() {
645
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
646
- };
647
-
648
-
649
- /**
650
- * @param {string} value
651
- * @return {!proto.PurOrg} returns this
652
- */
653
- proto.PurOrg.prototype.setName = function(value) {
654
- return jspb.Message.setProto3StringField(this, 3, value);
655
- };
656
-
657
-
658
-
659
-
660
-
661
- if (jspb.Message.GENERATE_TO_OBJECT) {
662
- /**
663
- * Creates an object representation of this proto.
664
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
665
- * Optional fields that are not set will be set to undefined.
666
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
667
- * For the list of reserved names please see:
668
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
669
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
670
- * JSPB instance for transitional soy proto support:
671
- * http://goto/soy-param-migration
672
- * @return {!Object}
673
- */
674
- proto.PurchasingOrganizationGetByIdRequest.prototype.toObject = function(opt_includeInstance) {
675
- return proto.PurchasingOrganizationGetByIdRequest.toObject(opt_includeInstance, this);
676
- };
677
-
678
-
679
- /**
680
- * Static version of the {@see toObject} method.
681
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
682
- * the JSPB instance for transitional soy proto support:
683
- * http://goto/soy-param-migration
684
- * @param {!proto.PurchasingOrganizationGetByIdRequest} msg The msg instance to transform.
685
- * @return {!Object}
686
- * @suppress {unusedLocalVariables} f is only used for nested messages
687
- */
688
- proto.PurchasingOrganizationGetByIdRequest.toObject = function(includeInstance, msg) {
689
- var f, obj = {
690
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
691
- };
692
-
693
- if (includeInstance) {
694
- obj.$jspbMessageInstance = msg;
695
- }
696
- return obj;
697
- };
698
- }
699
-
700
-
701
- /**
702
- * Deserializes binary data (in protobuf wire format).
703
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
704
- * @return {!proto.PurchasingOrganizationGetByIdRequest}
705
- */
706
- proto.PurchasingOrganizationGetByIdRequest.deserializeBinary = function(bytes) {
707
- var reader = new jspb.BinaryReader(bytes);
708
- var msg = new proto.PurchasingOrganizationGetByIdRequest;
709
- return proto.PurchasingOrganizationGetByIdRequest.deserializeBinaryFromReader(msg, reader);
710
- };
711
-
712
-
713
- /**
714
- * Deserializes binary data (in protobuf wire format) from the
715
- * given reader into the given message object.
716
- * @param {!proto.PurchasingOrganizationGetByIdRequest} msg The message object to deserialize into.
717
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
718
- * @return {!proto.PurchasingOrganizationGetByIdRequest}
719
- */
720
- proto.PurchasingOrganizationGetByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
721
- while (reader.nextField()) {
722
- if (reader.isEndGroup()) {
723
- break;
724
- }
725
- var field = reader.getFieldNumber();
726
- switch (field) {
727
- case 1:
728
- var value = /** @type {string} */ (reader.readString());
729
- msg.setReferencesId(value);
730
- break;
731
- default:
732
- reader.skipField();
733
- break;
734
- }
735
- }
736
- return msg;
737
- };
738
-
739
-
740
- /**
741
- * Serializes the message to binary data (in protobuf wire format).
742
- * @return {!Uint8Array}
743
- */
744
- proto.PurchasingOrganizationGetByIdRequest.prototype.serializeBinary = function() {
745
- var writer = new jspb.BinaryWriter();
746
- proto.PurchasingOrganizationGetByIdRequest.serializeBinaryToWriter(this, writer);
747
- return writer.getResultBuffer();
748
- };
749
-
750
-
751
- /**
752
- * Serializes the given message to binary data (in protobuf wire
753
- * format), writing to the given BinaryWriter.
754
- * @param {!proto.PurchasingOrganizationGetByIdRequest} message
755
- * @param {!jspb.BinaryWriter} writer
756
- * @suppress {unusedLocalVariables} f is only used for nested messages
757
- */
758
- proto.PurchasingOrganizationGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
759
- var f = undefined;
760
- f = message.getReferencesId();
761
- if (f.length > 0) {
762
- writer.writeString(
763
- 1,
764
- f
765
- );
766
- }
767
- };
768
-
769
-
770
- /**
771
- * optional string references_id = 1;
772
- * @return {string}
773
- */
774
- proto.PurchasingOrganizationGetByIdRequest.prototype.getReferencesId = function() {
775
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
776
- };
777
-
778
-
779
- /**
780
- * @param {string} value
781
- * @return {!proto.PurchasingOrganizationGetByIdRequest} returns this
782
- */
783
- proto.PurchasingOrganizationGetByIdRequest.prototype.setReferencesId = function(value) {
784
- return jspb.Message.setProto3StringField(this, 1, value);
785
- };
786
-
787
-
788
-
789
-
790
-
791
- if (jspb.Message.GENERATE_TO_OBJECT) {
792
- /**
793
- * Creates an object representation of this proto.
794
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
795
- * Optional fields that are not set will be set to undefined.
796
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
797
- * For the list of reserved names please see:
798
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
799
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
800
- * JSPB instance for transitional soy proto support:
801
- * http://goto/soy-param-migration
802
- * @return {!Object}
803
- */
804
- proto.CreatePurchasingOrganizationRequest.prototype.toObject = function(opt_includeInstance) {
805
- return proto.CreatePurchasingOrganizationRequest.toObject(opt_includeInstance, this);
806
- };
807
-
808
-
809
- /**
810
- * Static version of the {@see toObject} method.
811
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
812
- * the JSPB instance for transitional soy proto support:
813
- * http://goto/soy-param-migration
814
- * @param {!proto.CreatePurchasingOrganizationRequest} msg The msg instance to transform.
815
- * @return {!Object}
816
- * @suppress {unusedLocalVariables} f is only used for nested messages
817
- */
818
- proto.CreatePurchasingOrganizationRequest.toObject = function(includeInstance, msg) {
819
- var f, obj = {
820
- purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f)
821
- };
822
-
823
- if (includeInstance) {
824
- obj.$jspbMessageInstance = msg;
825
- }
826
- return obj;
827
- };
828
- }
829
-
830
-
831
- /**
832
- * Deserializes binary data (in protobuf wire format).
833
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
834
- * @return {!proto.CreatePurchasingOrganizationRequest}
835
- */
836
- proto.CreatePurchasingOrganizationRequest.deserializeBinary = function(bytes) {
837
- var reader = new jspb.BinaryReader(bytes);
838
- var msg = new proto.CreatePurchasingOrganizationRequest;
839
- return proto.CreatePurchasingOrganizationRequest.deserializeBinaryFromReader(msg, reader);
840
- };
841
-
842
-
843
- /**
844
- * Deserializes binary data (in protobuf wire format) from the
845
- * given reader into the given message object.
846
- * @param {!proto.CreatePurchasingOrganizationRequest} msg The message object to deserialize into.
847
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
848
- * @return {!proto.CreatePurchasingOrganizationRequest}
849
- */
850
- proto.CreatePurchasingOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) {
851
- while (reader.nextField()) {
852
- if (reader.isEndGroup()) {
853
- break;
854
- }
855
- var field = reader.getFieldNumber();
856
- switch (field) {
857
- case 1:
858
- var value = new proto.PurchasingOrganization;
859
- reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
860
- msg.setPurchasingOrganization(value);
861
- break;
862
- default:
863
- reader.skipField();
864
- break;
865
- }
866
- }
867
- return msg;
868
- };
869
-
870
-
871
- /**
872
- * Serializes the message to binary data (in protobuf wire format).
873
- * @return {!Uint8Array}
874
- */
875
- proto.CreatePurchasingOrganizationRequest.prototype.serializeBinary = function() {
876
- var writer = new jspb.BinaryWriter();
877
- proto.CreatePurchasingOrganizationRequest.serializeBinaryToWriter(this, writer);
878
- return writer.getResultBuffer();
879
- };
880
-
881
-
882
- /**
883
- * Serializes the given message to binary data (in protobuf wire
884
- * format), writing to the given BinaryWriter.
885
- * @param {!proto.CreatePurchasingOrganizationRequest} message
886
- * @param {!jspb.BinaryWriter} writer
887
- * @suppress {unusedLocalVariables} f is only used for nested messages
888
- */
889
- proto.CreatePurchasingOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
890
- var f = undefined;
891
- f = message.getPurchasingOrganization();
892
- if (f != null) {
893
- writer.writeMessage(
894
- 1,
895
- f,
896
- proto.PurchasingOrganization.serializeBinaryToWriter
897
- );
898
- }
899
- };
900
-
901
-
902
- /**
903
- * optional PurchasingOrganization purchasing_organization = 1;
904
- * @return {?proto.PurchasingOrganization}
905
- */
906
- proto.CreatePurchasingOrganizationRequest.prototype.getPurchasingOrganization = function() {
907
- return /** @type{?proto.PurchasingOrganization} */ (
908
- jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 1));
909
- };
910
-
911
-
912
- /**
913
- * @param {?proto.PurchasingOrganization|undefined} value
914
- * @return {!proto.CreatePurchasingOrganizationRequest} returns this
915
- */
916
- proto.CreatePurchasingOrganizationRequest.prototype.setPurchasingOrganization = function(value) {
917
- return jspb.Message.setWrapperField(this, 1, value);
918
- };
919
-
920
-
921
- /**
922
- * Clears the message field making it undefined.
923
- * @return {!proto.CreatePurchasingOrganizationRequest} returns this
924
- */
925
- proto.CreatePurchasingOrganizationRequest.prototype.clearPurchasingOrganization = function() {
926
- return this.setPurchasingOrganization(undefined);
927
- };
928
-
929
-
930
- /**
931
- * Returns whether this field is set.
932
- * @return {boolean}
933
- */
934
- proto.CreatePurchasingOrganizationRequest.prototype.hasPurchasingOrganization = function() {
935
- return jspb.Message.getField(this, 1) != null;
936
- };
937
-
938
-
939
-
940
-
941
-
942
- if (jspb.Message.GENERATE_TO_OBJECT) {
943
- /**
944
- * Creates an object representation of this proto.
945
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
946
- * Optional fields that are not set will be set to undefined.
947
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
948
- * For the list of reserved names please see:
949
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
950
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
951
- * JSPB instance for transitional soy proto support:
952
- * http://goto/soy-param-migration
953
- * @return {!Object}
954
- */
955
- proto.UpdatePurchasingOrganizationRequest.prototype.toObject = function(opt_includeInstance) {
956
- return proto.UpdatePurchasingOrganizationRequest.toObject(opt_includeInstance, this);
957
- };
958
-
959
-
960
- /**
961
- * Static version of the {@see toObject} method.
962
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
963
- * the JSPB instance for transitional soy proto support:
964
- * http://goto/soy-param-migration
965
- * @param {!proto.UpdatePurchasingOrganizationRequest} msg The msg instance to transform.
966
- * @return {!Object}
967
- * @suppress {unusedLocalVariables} f is only used for nested messages
968
- */
969
- proto.UpdatePurchasingOrganizationRequest.toObject = function(includeInstance, msg) {
970
- var f, obj = {
971
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
972
- purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f)
973
- };
974
-
975
- if (includeInstance) {
976
- obj.$jspbMessageInstance = msg;
977
- }
978
- return obj;
979
- };
980
- }
981
-
982
-
983
- /**
984
- * Deserializes binary data (in protobuf wire format).
985
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
986
- * @return {!proto.UpdatePurchasingOrganizationRequest}
987
- */
988
- proto.UpdatePurchasingOrganizationRequest.deserializeBinary = function(bytes) {
989
- var reader = new jspb.BinaryReader(bytes);
990
- var msg = new proto.UpdatePurchasingOrganizationRequest;
991
- return proto.UpdatePurchasingOrganizationRequest.deserializeBinaryFromReader(msg, reader);
992
- };
993
-
994
-
995
- /**
996
- * Deserializes binary data (in protobuf wire format) from the
997
- * given reader into the given message object.
998
- * @param {!proto.UpdatePurchasingOrganizationRequest} msg The message object to deserialize into.
999
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1000
- * @return {!proto.UpdatePurchasingOrganizationRequest}
1001
- */
1002
- proto.UpdatePurchasingOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) {
1003
- while (reader.nextField()) {
1004
- if (reader.isEndGroup()) {
1005
- break;
1006
- }
1007
- var field = reader.getFieldNumber();
1008
- switch (field) {
1009
- case 1:
1010
- var value = /** @type {string} */ (reader.readString());
1011
- msg.setReferencesId(value);
1012
- break;
1013
- case 2:
1014
- var value = new proto.PurchasingOrganization;
1015
- reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
1016
- msg.setPurchasingOrganization(value);
1017
- break;
1018
- default:
1019
- reader.skipField();
1020
- break;
1021
- }
1022
- }
1023
- return msg;
1024
- };
1025
-
1026
-
1027
- /**
1028
- * Serializes the message to binary data (in protobuf wire format).
1029
- * @return {!Uint8Array}
1030
- */
1031
- proto.UpdatePurchasingOrganizationRequest.prototype.serializeBinary = function() {
1032
- var writer = new jspb.BinaryWriter();
1033
- proto.UpdatePurchasingOrganizationRequest.serializeBinaryToWriter(this, writer);
1034
- return writer.getResultBuffer();
1035
- };
1036
-
1037
-
1038
- /**
1039
- * Serializes the given message to binary data (in protobuf wire
1040
- * format), writing to the given BinaryWriter.
1041
- * @param {!proto.UpdatePurchasingOrganizationRequest} message
1042
- * @param {!jspb.BinaryWriter} writer
1043
- * @suppress {unusedLocalVariables} f is only used for nested messages
1044
- */
1045
- proto.UpdatePurchasingOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
1046
- var f = undefined;
1047
- f = message.getReferencesId();
1048
- if (f.length > 0) {
1049
- writer.writeString(
1050
- 1,
1051
- f
1052
- );
1053
- }
1054
- f = message.getPurchasingOrganization();
1055
- if (f != null) {
1056
- writer.writeMessage(
1057
- 2,
1058
- f,
1059
- proto.PurchasingOrganization.serializeBinaryToWriter
1060
- );
1061
- }
1062
- };
1063
-
1064
-
1065
- /**
1066
- * optional string references_id = 1;
1067
- * @return {string}
1068
- */
1069
- proto.UpdatePurchasingOrganizationRequest.prototype.getReferencesId = function() {
1070
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1071
- };
1072
-
1073
-
1074
- /**
1075
- * @param {string} value
1076
- * @return {!proto.UpdatePurchasingOrganizationRequest} returns this
1077
- */
1078
- proto.UpdatePurchasingOrganizationRequest.prototype.setReferencesId = function(value) {
1079
- return jspb.Message.setProto3StringField(this, 1, value);
1080
- };
1081
-
1082
-
1083
- /**
1084
- * optional PurchasingOrganization purchasing_organization = 2;
1085
- * @return {?proto.PurchasingOrganization}
1086
- */
1087
- proto.UpdatePurchasingOrganizationRequest.prototype.getPurchasingOrganization = function() {
1088
- return /** @type{?proto.PurchasingOrganization} */ (
1089
- jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 2));
1090
- };
1091
-
1092
-
1093
- /**
1094
- * @param {?proto.PurchasingOrganization|undefined} value
1095
- * @return {!proto.UpdatePurchasingOrganizationRequest} returns this
1096
- */
1097
- proto.UpdatePurchasingOrganizationRequest.prototype.setPurchasingOrganization = function(value) {
1098
- return jspb.Message.setWrapperField(this, 2, value);
1099
- };
1100
-
1101
-
1102
- /**
1103
- * Clears the message field making it undefined.
1104
- * @return {!proto.UpdatePurchasingOrganizationRequest} returns this
1105
- */
1106
- proto.UpdatePurchasingOrganizationRequest.prototype.clearPurchasingOrganization = function() {
1107
- return this.setPurchasingOrganization(undefined);
1108
- };
1109
-
1110
-
1111
- /**
1112
- * Returns whether this field is set.
1113
- * @return {boolean}
1114
- */
1115
- proto.UpdatePurchasingOrganizationRequest.prototype.hasPurchasingOrganization = function() {
1116
- return jspb.Message.getField(this, 2) != null;
1117
- };
1118
-
1119
-
1120
-
1121
-
1122
-
1123
- if (jspb.Message.GENERATE_TO_OBJECT) {
1124
- /**
1125
- * Creates an object representation of this proto.
1126
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1127
- * Optional fields that are not set will be set to undefined.
1128
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1129
- * For the list of reserved names please see:
1130
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1131
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1132
- * JSPB instance for transitional soy proto support:
1133
- * http://goto/soy-param-migration
1134
- * @return {!Object}
1135
- */
1136
- proto.GetListPurchasingOrganizationRequest.prototype.toObject = function(opt_includeInstance) {
1137
- return proto.GetListPurchasingOrganizationRequest.toObject(opt_includeInstance, this);
1138
- };
1139
-
1140
-
1141
- /**
1142
- * Static version of the {@see toObject} method.
1143
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1144
- * the JSPB instance for transitional soy proto support:
1145
- * http://goto/soy-param-migration
1146
- * @param {!proto.GetListPurchasingOrganizationRequest} msg The msg instance to transform.
1147
- * @return {!Object}
1148
- * @suppress {unusedLocalVariables} f is only used for nested messages
1149
- */
1150
- proto.GetListPurchasingOrganizationRequest.toObject = function(includeInstance, msg) {
1151
- var f, obj = {
1152
- pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1153
- query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1154
- };
1155
-
1156
- if (includeInstance) {
1157
- obj.$jspbMessageInstance = msg;
1158
- }
1159
- return obj;
1160
- };
1161
- }
1162
-
1163
-
1164
- /**
1165
- * Deserializes binary data (in protobuf wire format).
1166
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1167
- * @return {!proto.GetListPurchasingOrganizationRequest}
1168
- */
1169
- proto.GetListPurchasingOrganizationRequest.deserializeBinary = function(bytes) {
1170
- var reader = new jspb.BinaryReader(bytes);
1171
- var msg = new proto.GetListPurchasingOrganizationRequest;
1172
- return proto.GetListPurchasingOrganizationRequest.deserializeBinaryFromReader(msg, reader);
1173
- };
1174
-
1175
-
1176
- /**
1177
- * Deserializes binary data (in protobuf wire format) from the
1178
- * given reader into the given message object.
1179
- * @param {!proto.GetListPurchasingOrganizationRequest} msg The message object to deserialize into.
1180
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1181
- * @return {!proto.GetListPurchasingOrganizationRequest}
1182
- */
1183
- proto.GetListPurchasingOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) {
1184
- while (reader.nextField()) {
1185
- if (reader.isEndGroup()) {
1186
- break;
1187
- }
1188
- var field = reader.getFieldNumber();
1189
- switch (field) {
1190
- case 1:
1191
- var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1192
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1193
- msg.setPagination(value);
1194
- break;
1195
- case 2:
1196
- var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1197
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1198
- msg.setQuery(value);
1199
- break;
1200
- default:
1201
- reader.skipField();
1202
- break;
1203
- }
1204
- }
1205
- return msg;
1206
- };
1207
-
1208
-
1209
- /**
1210
- * Serializes the message to binary data (in protobuf wire format).
1211
- * @return {!Uint8Array}
1212
- */
1213
- proto.GetListPurchasingOrganizationRequest.prototype.serializeBinary = function() {
1214
- var writer = new jspb.BinaryWriter();
1215
- proto.GetListPurchasingOrganizationRequest.serializeBinaryToWriter(this, writer);
1216
- return writer.getResultBuffer();
1217
- };
1218
-
1219
-
1220
- /**
1221
- * Serializes the given message to binary data (in protobuf wire
1222
- * format), writing to the given BinaryWriter.
1223
- * @param {!proto.GetListPurchasingOrganizationRequest} message
1224
- * @param {!jspb.BinaryWriter} writer
1225
- * @suppress {unusedLocalVariables} f is only used for nested messages
1226
- */
1227
- proto.GetListPurchasingOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
1228
- var f = undefined;
1229
- f = message.getPagination();
1230
- if (f != null) {
1231
- writer.writeMessage(
1232
- 1,
1233
- f,
1234
- prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1235
- );
1236
- }
1237
- f = message.getQuery();
1238
- if (f != null) {
1239
- writer.writeMessage(
1240
- 2,
1241
- f,
1242
- prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1243
- );
1244
- }
1245
- };
1246
-
1247
-
1248
- /**
1249
- * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1250
- * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1251
- */
1252
- proto.GetListPurchasingOrganizationRequest.prototype.getPagination = function() {
1253
- return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1254
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1255
- };
1256
-
1257
-
1258
- /**
1259
- * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1260
- * @return {!proto.GetListPurchasingOrganizationRequest} returns this
1261
- */
1262
- proto.GetListPurchasingOrganizationRequest.prototype.setPagination = function(value) {
1263
- return jspb.Message.setWrapperField(this, 1, value);
1264
- };
1265
-
1266
-
1267
- /**
1268
- * Clears the message field making it undefined.
1269
- * @return {!proto.GetListPurchasingOrganizationRequest} returns this
1270
- */
1271
- proto.GetListPurchasingOrganizationRequest.prototype.clearPagination = function() {
1272
- return this.setPagination(undefined);
1273
- };
1274
-
1275
-
1276
- /**
1277
- * Returns whether this field is set.
1278
- * @return {boolean}
1279
- */
1280
- proto.GetListPurchasingOrganizationRequest.prototype.hasPagination = function() {
1281
- return jspb.Message.getField(this, 1) != null;
1282
- };
1283
-
1284
-
1285
- /**
1286
- * optional prisca.v1.global.meta.FilterRequest query = 2;
1287
- * @return {?proto.prisca.v1.global.meta.FilterRequest}
1288
- */
1289
- proto.GetListPurchasingOrganizationRequest.prototype.getQuery = function() {
1290
- return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1291
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1292
- };
1293
-
1294
-
1295
- /**
1296
- * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1297
- * @return {!proto.GetListPurchasingOrganizationRequest} returns this
1298
- */
1299
- proto.GetListPurchasingOrganizationRequest.prototype.setQuery = function(value) {
1300
- return jspb.Message.setWrapperField(this, 2, value);
1301
- };
1302
-
1303
-
1304
- /**
1305
- * Clears the message field making it undefined.
1306
- * @return {!proto.GetListPurchasingOrganizationRequest} returns this
1307
- */
1308
- proto.GetListPurchasingOrganizationRequest.prototype.clearQuery = function() {
1309
- return this.setQuery(undefined);
1310
- };
1311
-
1312
-
1313
- /**
1314
- * Returns whether this field is set.
1315
- * @return {boolean}
1316
- */
1317
- proto.GetListPurchasingOrganizationRequest.prototype.hasQuery = function() {
1318
- return jspb.Message.getField(this, 2) != null;
1319
- };
1320
-
1321
-
1322
-
1323
-
1324
-
1325
- if (jspb.Message.GENERATE_TO_OBJECT) {
1326
- /**
1327
- * Creates an object representation of this proto.
1328
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1329
- * Optional fields that are not set will be set to undefined.
1330
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1331
- * For the list of reserved names please see:
1332
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1333
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1334
- * JSPB instance for transitional soy proto support:
1335
- * http://goto/soy-param-migration
1336
- * @return {!Object}
1337
- */
1338
- proto.CreatePurchasingOrganizationResponse.prototype.toObject = function(opt_includeInstance) {
1339
- return proto.CreatePurchasingOrganizationResponse.toObject(opt_includeInstance, this);
1340
- };
1341
-
1342
-
1343
- /**
1344
- * Static version of the {@see toObject} method.
1345
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1346
- * the JSPB instance for transitional soy proto support:
1347
- * http://goto/soy-param-migration
1348
- * @param {!proto.CreatePurchasingOrganizationResponse} msg The msg instance to transform.
1349
- * @return {!Object}
1350
- * @suppress {unusedLocalVariables} f is only used for nested messages
1351
- */
1352
- proto.CreatePurchasingOrganizationResponse.toObject = function(includeInstance, msg) {
1353
- var f, obj = {
1354
- purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f),
1355
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1356
- };
1357
-
1358
- if (includeInstance) {
1359
- obj.$jspbMessageInstance = msg;
1360
- }
1361
- return obj;
1362
- };
1363
- }
1364
-
1365
-
1366
- /**
1367
- * Deserializes binary data (in protobuf wire format).
1368
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1369
- * @return {!proto.CreatePurchasingOrganizationResponse}
1370
- */
1371
- proto.CreatePurchasingOrganizationResponse.deserializeBinary = function(bytes) {
1372
- var reader = new jspb.BinaryReader(bytes);
1373
- var msg = new proto.CreatePurchasingOrganizationResponse;
1374
- return proto.CreatePurchasingOrganizationResponse.deserializeBinaryFromReader(msg, reader);
1375
- };
1376
-
1377
-
1378
- /**
1379
- * Deserializes binary data (in protobuf wire format) from the
1380
- * given reader into the given message object.
1381
- * @param {!proto.CreatePurchasingOrganizationResponse} msg The message object to deserialize into.
1382
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1383
- * @return {!proto.CreatePurchasingOrganizationResponse}
1384
- */
1385
- proto.CreatePurchasingOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) {
1386
- while (reader.nextField()) {
1387
- if (reader.isEndGroup()) {
1388
- break;
1389
- }
1390
- var field = reader.getFieldNumber();
1391
- switch (field) {
1392
- case 1:
1393
- var value = new proto.PurchasingOrganization;
1394
- reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
1395
- msg.setPurchasingOrganization(value);
1396
- break;
1397
- case 2:
1398
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1399
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1400
- msg.setMeta(value);
1401
- break;
1402
- default:
1403
- reader.skipField();
1404
- break;
1405
- }
1406
- }
1407
- return msg;
1408
- };
1409
-
1410
-
1411
- /**
1412
- * Serializes the message to binary data (in protobuf wire format).
1413
- * @return {!Uint8Array}
1414
- */
1415
- proto.CreatePurchasingOrganizationResponse.prototype.serializeBinary = function() {
1416
- var writer = new jspb.BinaryWriter();
1417
- proto.CreatePurchasingOrganizationResponse.serializeBinaryToWriter(this, writer);
1418
- return writer.getResultBuffer();
1419
- };
1420
-
1421
-
1422
- /**
1423
- * Serializes the given message to binary data (in protobuf wire
1424
- * format), writing to the given BinaryWriter.
1425
- * @param {!proto.CreatePurchasingOrganizationResponse} message
1426
- * @param {!jspb.BinaryWriter} writer
1427
- * @suppress {unusedLocalVariables} f is only used for nested messages
1428
- */
1429
- proto.CreatePurchasingOrganizationResponse.serializeBinaryToWriter = function(message, writer) {
1430
- var f = undefined;
1431
- f = message.getPurchasingOrganization();
1432
- if (f != null) {
1433
- writer.writeMessage(
1434
- 1,
1435
- f,
1436
- proto.PurchasingOrganization.serializeBinaryToWriter
1437
- );
1438
- }
1439
- f = message.getMeta();
1440
- if (f != null) {
1441
- writer.writeMessage(
1442
- 2,
1443
- f,
1444
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1445
- );
1446
- }
1447
- };
1448
-
1449
-
1450
- /**
1451
- * optional PurchasingOrganization purchasing_organization = 1;
1452
- * @return {?proto.PurchasingOrganization}
1453
- */
1454
- proto.CreatePurchasingOrganizationResponse.prototype.getPurchasingOrganization = function() {
1455
- return /** @type{?proto.PurchasingOrganization} */ (
1456
- jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 1));
1457
- };
1458
-
1459
-
1460
- /**
1461
- * @param {?proto.PurchasingOrganization|undefined} value
1462
- * @return {!proto.CreatePurchasingOrganizationResponse} returns this
1463
- */
1464
- proto.CreatePurchasingOrganizationResponse.prototype.setPurchasingOrganization = function(value) {
1465
- return jspb.Message.setWrapperField(this, 1, value);
1466
- };
1467
-
1468
-
1469
- /**
1470
- * Clears the message field making it undefined.
1471
- * @return {!proto.CreatePurchasingOrganizationResponse} returns this
1472
- */
1473
- proto.CreatePurchasingOrganizationResponse.prototype.clearPurchasingOrganization = function() {
1474
- return this.setPurchasingOrganization(undefined);
1475
- };
1476
-
1477
-
1478
- /**
1479
- * Returns whether this field is set.
1480
- * @return {boolean}
1481
- */
1482
- proto.CreatePurchasingOrganizationResponse.prototype.hasPurchasingOrganization = function() {
1483
- return jspb.Message.getField(this, 1) != null;
1484
- };
1485
-
1486
-
1487
- /**
1488
- * optional prisca.v1.global.meta.Meta meta = 2;
1489
- * @return {?proto.prisca.v1.global.meta.Meta}
1490
- */
1491
- proto.CreatePurchasingOrganizationResponse.prototype.getMeta = function() {
1492
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1493
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1494
- };
1495
-
1496
-
1497
- /**
1498
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1499
- * @return {!proto.CreatePurchasingOrganizationResponse} returns this
1500
- */
1501
- proto.CreatePurchasingOrganizationResponse.prototype.setMeta = function(value) {
1502
- return jspb.Message.setWrapperField(this, 2, value);
1503
- };
1504
-
1505
-
1506
- /**
1507
- * Clears the message field making it undefined.
1508
- * @return {!proto.CreatePurchasingOrganizationResponse} returns this
1509
- */
1510
- proto.CreatePurchasingOrganizationResponse.prototype.clearMeta = function() {
1511
- return this.setMeta(undefined);
1512
- };
1513
-
1514
-
1515
- /**
1516
- * Returns whether this field is set.
1517
- * @return {boolean}
1518
- */
1519
- proto.CreatePurchasingOrganizationResponse.prototype.hasMeta = function() {
1520
- return jspb.Message.getField(this, 2) != null;
1521
- };
1522
-
1523
-
1524
-
1525
- /**
1526
- * List of repeated fields within this message type.
1527
- * @private {!Array<number>}
1528
- * @const
1529
- */
1530
- proto.GetListPurchasingOrganizationResponse.repeatedFields_ = [1];
1531
-
1532
-
1533
-
1534
- if (jspb.Message.GENERATE_TO_OBJECT) {
1535
- /**
1536
- * Creates an object representation of this proto.
1537
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1538
- * Optional fields that are not set will be set to undefined.
1539
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1540
- * For the list of reserved names please see:
1541
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1542
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1543
- * JSPB instance for transitional soy proto support:
1544
- * http://goto/soy-param-migration
1545
- * @return {!Object}
1546
- */
1547
- proto.GetListPurchasingOrganizationResponse.prototype.toObject = function(opt_includeInstance) {
1548
- return proto.GetListPurchasingOrganizationResponse.toObject(opt_includeInstance, this);
1549
- };
1550
-
1551
-
1552
- /**
1553
- * Static version of the {@see toObject} method.
1554
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1555
- * the JSPB instance for transitional soy proto support:
1556
- * http://goto/soy-param-migration
1557
- * @param {!proto.GetListPurchasingOrganizationResponse} msg The msg instance to transform.
1558
- * @return {!Object}
1559
- * @suppress {unusedLocalVariables} f is only used for nested messages
1560
- */
1561
- proto.GetListPurchasingOrganizationResponse.toObject = function(includeInstance, msg) {
1562
- var f, obj = {
1563
- purchasingOrganizationList: jspb.Message.toObjectList(msg.getPurchasingOrganizationList(),
1564
- proto.PurchasingOrganization.toObject, includeInstance),
1565
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1566
- };
1567
-
1568
- if (includeInstance) {
1569
- obj.$jspbMessageInstance = msg;
1570
- }
1571
- return obj;
1572
- };
1573
- }
1574
-
1575
-
1576
- /**
1577
- * Deserializes binary data (in protobuf wire format).
1578
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1579
- * @return {!proto.GetListPurchasingOrganizationResponse}
1580
- */
1581
- proto.GetListPurchasingOrganizationResponse.deserializeBinary = function(bytes) {
1582
- var reader = new jspb.BinaryReader(bytes);
1583
- var msg = new proto.GetListPurchasingOrganizationResponse;
1584
- return proto.GetListPurchasingOrganizationResponse.deserializeBinaryFromReader(msg, reader);
1585
- };
1586
-
1587
-
1588
- /**
1589
- * Deserializes binary data (in protobuf wire format) from the
1590
- * given reader into the given message object.
1591
- * @param {!proto.GetListPurchasingOrganizationResponse} msg The message object to deserialize into.
1592
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1593
- * @return {!proto.GetListPurchasingOrganizationResponse}
1594
- */
1595
- proto.GetListPurchasingOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) {
1596
- while (reader.nextField()) {
1597
- if (reader.isEndGroup()) {
1598
- break;
1599
- }
1600
- var field = reader.getFieldNumber();
1601
- switch (field) {
1602
- case 1:
1603
- var value = new proto.PurchasingOrganization;
1604
- reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
1605
- msg.addPurchasingOrganization(value);
1606
- break;
1607
- case 2:
1608
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1609
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1610
- msg.setMeta(value);
1611
- break;
1612
- default:
1613
- reader.skipField();
1614
- break;
1615
- }
1616
- }
1617
- return msg;
1618
- };
1619
-
1620
-
1621
- /**
1622
- * Serializes the message to binary data (in protobuf wire format).
1623
- * @return {!Uint8Array}
1624
- */
1625
- proto.GetListPurchasingOrganizationResponse.prototype.serializeBinary = function() {
1626
- var writer = new jspb.BinaryWriter();
1627
- proto.GetListPurchasingOrganizationResponse.serializeBinaryToWriter(this, writer);
1628
- return writer.getResultBuffer();
1629
- };
1630
-
1631
-
1632
- /**
1633
- * Serializes the given message to binary data (in protobuf wire
1634
- * format), writing to the given BinaryWriter.
1635
- * @param {!proto.GetListPurchasingOrganizationResponse} message
1636
- * @param {!jspb.BinaryWriter} writer
1637
- * @suppress {unusedLocalVariables} f is only used for nested messages
1638
- */
1639
- proto.GetListPurchasingOrganizationResponse.serializeBinaryToWriter = function(message, writer) {
1640
- var f = undefined;
1641
- f = message.getPurchasingOrganizationList();
1642
- if (f.length > 0) {
1643
- writer.writeRepeatedMessage(
1644
- 1,
1645
- f,
1646
- proto.PurchasingOrganization.serializeBinaryToWriter
1647
- );
1648
- }
1649
- f = message.getMeta();
1650
- if (f != null) {
1651
- writer.writeMessage(
1652
- 2,
1653
- f,
1654
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1655
- );
1656
- }
1657
- };
1658
-
1659
-
1660
- /**
1661
- * repeated PurchasingOrganization purchasing_organization = 1;
1662
- * @return {!Array<!proto.PurchasingOrganization>}
1663
- */
1664
- proto.GetListPurchasingOrganizationResponse.prototype.getPurchasingOrganizationList = function() {
1665
- return /** @type{!Array<!proto.PurchasingOrganization>} */ (
1666
- jspb.Message.getRepeatedWrapperField(this, proto.PurchasingOrganization, 1));
1667
- };
1668
-
1669
-
1670
- /**
1671
- * @param {!Array<!proto.PurchasingOrganization>} value
1672
- * @return {!proto.GetListPurchasingOrganizationResponse} returns this
1673
- */
1674
- proto.GetListPurchasingOrganizationResponse.prototype.setPurchasingOrganizationList = function(value) {
1675
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1676
- };
1677
-
1678
-
1679
- /**
1680
- * @param {!proto.PurchasingOrganization=} opt_value
1681
- * @param {number=} opt_index
1682
- * @return {!proto.PurchasingOrganization}
1683
- */
1684
- proto.GetListPurchasingOrganizationResponse.prototype.addPurchasingOrganization = function(opt_value, opt_index) {
1685
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PurchasingOrganization, opt_index);
1686
- };
1687
-
1688
-
1689
- /**
1690
- * Clears the list making it empty but non-null.
1691
- * @return {!proto.GetListPurchasingOrganizationResponse} returns this
1692
- */
1693
- proto.GetListPurchasingOrganizationResponse.prototype.clearPurchasingOrganizationList = function() {
1694
- return this.setPurchasingOrganizationList([]);
1695
- };
1696
-
1697
-
1698
- /**
1699
- * optional prisca.v1.global.meta.Meta meta = 2;
1700
- * @return {?proto.prisca.v1.global.meta.Meta}
1701
- */
1702
- proto.GetListPurchasingOrganizationResponse.prototype.getMeta = function() {
1703
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1704
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1705
- };
1706
-
1707
-
1708
- /**
1709
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1710
- * @return {!proto.GetListPurchasingOrganizationResponse} returns this
1711
- */
1712
- proto.GetListPurchasingOrganizationResponse.prototype.setMeta = function(value) {
1713
- return jspb.Message.setWrapperField(this, 2, value);
1714
- };
1715
-
1716
-
1717
- /**
1718
- * Clears the message field making it undefined.
1719
- * @return {!proto.GetListPurchasingOrganizationResponse} returns this
1720
- */
1721
- proto.GetListPurchasingOrganizationResponse.prototype.clearMeta = function() {
1722
- return this.setMeta(undefined);
1723
- };
1724
-
1725
-
1726
- /**
1727
- * Returns whether this field is set.
1728
- * @return {boolean}
1729
- */
1730
- proto.GetListPurchasingOrganizationResponse.prototype.hasMeta = function() {
1731
- return jspb.Message.getField(this, 2) != null;
1732
- };
1733
-
1734
-
1735
-
1736
-
1737
-
1738
- if (jspb.Message.GENERATE_TO_OBJECT) {
1739
- /**
1740
- * Creates an object representation of this proto.
1741
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1742
- * Optional fields that are not set will be set to undefined.
1743
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1744
- * For the list of reserved names please see:
1745
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1746
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1747
- * JSPB instance for transitional soy proto support:
1748
- * http://goto/soy-param-migration
1749
- * @return {!Object}
1750
- */
1751
- proto.UpdatePurchasingOrganizationResponse.prototype.toObject = function(opt_includeInstance) {
1752
- return proto.UpdatePurchasingOrganizationResponse.toObject(opt_includeInstance, this);
1753
- };
1754
-
1755
-
1756
- /**
1757
- * Static version of the {@see toObject} method.
1758
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1759
- * the JSPB instance for transitional soy proto support:
1760
- * http://goto/soy-param-migration
1761
- * @param {!proto.UpdatePurchasingOrganizationResponse} msg The msg instance to transform.
1762
- * @return {!Object}
1763
- * @suppress {unusedLocalVariables} f is only used for nested messages
1764
- */
1765
- proto.UpdatePurchasingOrganizationResponse.toObject = function(includeInstance, msg) {
1766
- var f, obj = {
1767
- purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f),
1768
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1769
- };
1770
-
1771
- if (includeInstance) {
1772
- obj.$jspbMessageInstance = msg;
1773
- }
1774
- return obj;
1775
- };
1776
- }
1777
-
1778
-
1779
- /**
1780
- * Deserializes binary data (in protobuf wire format).
1781
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1782
- * @return {!proto.UpdatePurchasingOrganizationResponse}
1783
- */
1784
- proto.UpdatePurchasingOrganizationResponse.deserializeBinary = function(bytes) {
1785
- var reader = new jspb.BinaryReader(bytes);
1786
- var msg = new proto.UpdatePurchasingOrganizationResponse;
1787
- return proto.UpdatePurchasingOrganizationResponse.deserializeBinaryFromReader(msg, reader);
1788
- };
1789
-
1790
-
1791
- /**
1792
- * Deserializes binary data (in protobuf wire format) from the
1793
- * given reader into the given message object.
1794
- * @param {!proto.UpdatePurchasingOrganizationResponse} msg The message object to deserialize into.
1795
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1796
- * @return {!proto.UpdatePurchasingOrganizationResponse}
1797
- */
1798
- proto.UpdatePurchasingOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) {
1799
- while (reader.nextField()) {
1800
- if (reader.isEndGroup()) {
1801
- break;
1802
- }
1803
- var field = reader.getFieldNumber();
1804
- switch (field) {
1805
- case 1:
1806
- var value = new proto.PurchasingOrganization;
1807
- reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
1808
- msg.setPurchasingOrganization(value);
1809
- break;
1810
- case 2:
1811
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1812
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1813
- msg.setMeta(value);
1814
- break;
1815
- default:
1816
- reader.skipField();
1817
- break;
1818
- }
1819
- }
1820
- return msg;
1821
- };
1822
-
1823
-
1824
- /**
1825
- * Serializes the message to binary data (in protobuf wire format).
1826
- * @return {!Uint8Array}
1827
- */
1828
- proto.UpdatePurchasingOrganizationResponse.prototype.serializeBinary = function() {
1829
- var writer = new jspb.BinaryWriter();
1830
- proto.UpdatePurchasingOrganizationResponse.serializeBinaryToWriter(this, writer);
1831
- return writer.getResultBuffer();
1832
- };
1833
-
1834
-
1835
- /**
1836
- * Serializes the given message to binary data (in protobuf wire
1837
- * format), writing to the given BinaryWriter.
1838
- * @param {!proto.UpdatePurchasingOrganizationResponse} message
1839
- * @param {!jspb.BinaryWriter} writer
1840
- * @suppress {unusedLocalVariables} f is only used for nested messages
1841
- */
1842
- proto.UpdatePurchasingOrganizationResponse.serializeBinaryToWriter = function(message, writer) {
1843
- var f = undefined;
1844
- f = message.getPurchasingOrganization();
1845
- if (f != null) {
1846
- writer.writeMessage(
1847
- 1,
1848
- f,
1849
- proto.PurchasingOrganization.serializeBinaryToWriter
1850
- );
1851
- }
1852
- f = message.getMeta();
1853
- if (f != null) {
1854
- writer.writeMessage(
1855
- 2,
1856
- f,
1857
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1858
- );
1859
- }
1860
- };
1861
-
1862
-
1863
- /**
1864
- * optional PurchasingOrganization purchasing_organization = 1;
1865
- * @return {?proto.PurchasingOrganization}
1866
- */
1867
- proto.UpdatePurchasingOrganizationResponse.prototype.getPurchasingOrganization = function() {
1868
- return /** @type{?proto.PurchasingOrganization} */ (
1869
- jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 1));
1870
- };
1871
-
1872
-
1873
- /**
1874
- * @param {?proto.PurchasingOrganization|undefined} value
1875
- * @return {!proto.UpdatePurchasingOrganizationResponse} returns this
1876
- */
1877
- proto.UpdatePurchasingOrganizationResponse.prototype.setPurchasingOrganization = function(value) {
1878
- return jspb.Message.setWrapperField(this, 1, value);
1879
- };
1880
-
1881
-
1882
- /**
1883
- * Clears the message field making it undefined.
1884
- * @return {!proto.UpdatePurchasingOrganizationResponse} returns this
1885
- */
1886
- proto.UpdatePurchasingOrganizationResponse.prototype.clearPurchasingOrganization = function() {
1887
- return this.setPurchasingOrganization(undefined);
1888
- };
1889
-
1890
-
1891
- /**
1892
- * Returns whether this field is set.
1893
- * @return {boolean}
1894
- */
1895
- proto.UpdatePurchasingOrganizationResponse.prototype.hasPurchasingOrganization = function() {
1896
- return jspb.Message.getField(this, 1) != null;
1897
- };
1898
-
1899
-
1900
- /**
1901
- * optional prisca.v1.global.meta.Meta meta = 2;
1902
- * @return {?proto.prisca.v1.global.meta.Meta}
1903
- */
1904
- proto.UpdatePurchasingOrganizationResponse.prototype.getMeta = function() {
1905
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1906
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1907
- };
1908
-
1909
-
1910
- /**
1911
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1912
- * @return {!proto.UpdatePurchasingOrganizationResponse} returns this
1913
- */
1914
- proto.UpdatePurchasingOrganizationResponse.prototype.setMeta = function(value) {
1915
- return jspb.Message.setWrapperField(this, 2, value);
1916
- };
1917
-
1918
-
1919
- /**
1920
- * Clears the message field making it undefined.
1921
- * @return {!proto.UpdatePurchasingOrganizationResponse} returns this
1922
- */
1923
- proto.UpdatePurchasingOrganizationResponse.prototype.clearMeta = function() {
1924
- return this.setMeta(undefined);
1925
- };
1926
-
1927
-
1928
- /**
1929
- * Returns whether this field is set.
1930
- * @return {boolean}
1931
- */
1932
- proto.UpdatePurchasingOrganizationResponse.prototype.hasMeta = function() {
1933
- return jspb.Message.getField(this, 2) != null;
1934
- };
1935
-
1936
-
1937
-
1938
-
1939
-
1940
- if (jspb.Message.GENERATE_TO_OBJECT) {
1941
- /**
1942
- * Creates an object representation of this proto.
1943
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1944
- * Optional fields that are not set will be set to undefined.
1945
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1946
- * For the list of reserved names please see:
1947
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1948
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1949
- * JSPB instance for transitional soy proto support:
1950
- * http://goto/soy-param-migration
1951
- * @return {!Object}
1952
- */
1953
- proto.PurchasingOrganizationGetByIdResponse.prototype.toObject = function(opt_includeInstance) {
1954
- return proto.PurchasingOrganizationGetByIdResponse.toObject(opt_includeInstance, this);
1955
- };
1956
-
1957
-
1958
- /**
1959
- * Static version of the {@see toObject} method.
1960
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1961
- * the JSPB instance for transitional soy proto support:
1962
- * http://goto/soy-param-migration
1963
- * @param {!proto.PurchasingOrganizationGetByIdResponse} msg The msg instance to transform.
1964
- * @return {!Object}
1965
- * @suppress {unusedLocalVariables} f is only used for nested messages
1966
- */
1967
- proto.PurchasingOrganizationGetByIdResponse.toObject = function(includeInstance, msg) {
1968
- var f, obj = {
1969
- purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f),
1970
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1971
- };
1972
-
1973
- if (includeInstance) {
1974
- obj.$jspbMessageInstance = msg;
1975
- }
1976
- return obj;
1977
- };
1978
- }
1979
-
1980
-
1981
- /**
1982
- * Deserializes binary data (in protobuf wire format).
1983
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1984
- * @return {!proto.PurchasingOrganizationGetByIdResponse}
1985
- */
1986
- proto.PurchasingOrganizationGetByIdResponse.deserializeBinary = function(bytes) {
1987
- var reader = new jspb.BinaryReader(bytes);
1988
- var msg = new proto.PurchasingOrganizationGetByIdResponse;
1989
- return proto.PurchasingOrganizationGetByIdResponse.deserializeBinaryFromReader(msg, reader);
1990
- };
1991
-
1992
-
1993
- /**
1994
- * Deserializes binary data (in protobuf wire format) from the
1995
- * given reader into the given message object.
1996
- * @param {!proto.PurchasingOrganizationGetByIdResponse} msg The message object to deserialize into.
1997
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1998
- * @return {!proto.PurchasingOrganizationGetByIdResponse}
1999
- */
2000
- proto.PurchasingOrganizationGetByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2001
- while (reader.nextField()) {
2002
- if (reader.isEndGroup()) {
2003
- break;
2004
- }
2005
- var field = reader.getFieldNumber();
2006
- switch (field) {
2007
- case 1:
2008
- var value = new proto.PurchasingOrganization;
2009
- reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
2010
- msg.setPurchasingOrganization(value);
2011
- break;
2012
- case 2:
2013
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2014
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2015
- msg.setMeta(value);
2016
- break;
2017
- default:
2018
- reader.skipField();
2019
- break;
2020
- }
2021
- }
2022
- return msg;
2023
- };
2024
-
2025
-
2026
- /**
2027
- * Serializes the message to binary data (in protobuf wire format).
2028
- * @return {!Uint8Array}
2029
- */
2030
- proto.PurchasingOrganizationGetByIdResponse.prototype.serializeBinary = function() {
2031
- var writer = new jspb.BinaryWriter();
2032
- proto.PurchasingOrganizationGetByIdResponse.serializeBinaryToWriter(this, writer);
2033
- return writer.getResultBuffer();
2034
- };
2035
-
2036
-
2037
- /**
2038
- * Serializes the given message to binary data (in protobuf wire
2039
- * format), writing to the given BinaryWriter.
2040
- * @param {!proto.PurchasingOrganizationGetByIdResponse} message
2041
- * @param {!jspb.BinaryWriter} writer
2042
- * @suppress {unusedLocalVariables} f is only used for nested messages
2043
- */
2044
- proto.PurchasingOrganizationGetByIdResponse.serializeBinaryToWriter = function(message, writer) {
2045
- var f = undefined;
2046
- f = message.getPurchasingOrganization();
2047
- if (f != null) {
2048
- writer.writeMessage(
2049
- 1,
2050
- f,
2051
- proto.PurchasingOrganization.serializeBinaryToWriter
2052
- );
2053
- }
2054
- f = message.getMeta();
2055
- if (f != null) {
2056
- writer.writeMessage(
2057
- 2,
2058
- f,
2059
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2060
- );
2061
- }
2062
- };
2063
-
2064
-
2065
- /**
2066
- * optional PurchasingOrganization purchasing_organization = 1;
2067
- * @return {?proto.PurchasingOrganization}
2068
- */
2069
- proto.PurchasingOrganizationGetByIdResponse.prototype.getPurchasingOrganization = function() {
2070
- return /** @type{?proto.PurchasingOrganization} */ (
2071
- jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 1));
2072
- };
2073
-
2074
-
2075
- /**
2076
- * @param {?proto.PurchasingOrganization|undefined} value
2077
- * @return {!proto.PurchasingOrganizationGetByIdResponse} returns this
2078
- */
2079
- proto.PurchasingOrganizationGetByIdResponse.prototype.setPurchasingOrganization = function(value) {
2080
- return jspb.Message.setWrapperField(this, 1, value);
2081
- };
2082
-
2083
-
2084
- /**
2085
- * Clears the message field making it undefined.
2086
- * @return {!proto.PurchasingOrganizationGetByIdResponse} returns this
2087
- */
2088
- proto.PurchasingOrganizationGetByIdResponse.prototype.clearPurchasingOrganization = function() {
2089
- return this.setPurchasingOrganization(undefined);
2090
- };
2091
-
2092
-
2093
- /**
2094
- * Returns whether this field is set.
2095
- * @return {boolean}
2096
- */
2097
- proto.PurchasingOrganizationGetByIdResponse.prototype.hasPurchasingOrganization = function() {
2098
- return jspb.Message.getField(this, 1) != null;
2099
- };
2100
-
2101
-
2102
- /**
2103
- * optional prisca.v1.global.meta.Meta meta = 2;
2104
- * @return {?proto.prisca.v1.global.meta.Meta}
2105
- */
2106
- proto.PurchasingOrganizationGetByIdResponse.prototype.getMeta = function() {
2107
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2108
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2109
- };
2110
-
2111
-
2112
- /**
2113
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2114
- * @return {!proto.PurchasingOrganizationGetByIdResponse} returns this
2115
- */
2116
- proto.PurchasingOrganizationGetByIdResponse.prototype.setMeta = function(value) {
2117
- return jspb.Message.setWrapperField(this, 2, value);
2118
- };
2119
-
2120
-
2121
- /**
2122
- * Clears the message field making it undefined.
2123
- * @return {!proto.PurchasingOrganizationGetByIdResponse} returns this
2124
- */
2125
- proto.PurchasingOrganizationGetByIdResponse.prototype.clearMeta = function() {
2126
- return this.setMeta(undefined);
2127
- };
2128
-
2129
-
2130
- /**
2131
- * Returns whether this field is set.
2132
- * @return {boolean}
2133
- */
2134
- proto.PurchasingOrganizationGetByIdResponse.prototype.hasMeta = function() {
2135
- return jspb.Message.getField(this, 2) != null;
2136
- };
2137
-
2138
-
2139
- goog.object.extend(exports, proto);