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