@aldiokta/protocgen 1.1.23 → 1.1.25

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