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