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