@aldiokta/protocgen 1.1.19 → 1.1.21

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 (162) 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 +2674 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2937 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +229 -0
  7. package/prisca/v1/bidding/bidding_pb.js +6335 -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 +2907 -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 +3048 -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 +4283 -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 +144 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2497 -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 +3910 -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 +2605 -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 +3762 -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 +2958 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +45 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +1188 -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 +3191 -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 +4180 -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 +2776 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +149 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +2697 -0
  50. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  51. package/prisca/v1/core/messaging/email_template_pb.js +2552 -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 +2926 -0
  56. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  57. package/prisca/v1/core/organization/organization_pb.js +3032 -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 +2545 -0
  60. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +146 -0
  61. package/prisca/v1/core/price_condition/price_condition_pb.js +2654 -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 +2582 -0
  72. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +144 -0
  73. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2105 -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 +2798 -0
  78. package/prisca/v1/core/users/users_grpc_pb.js +45 -0
  79. package/prisca/v1/core/users/users_pb.js +1246 -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 +3972 -0
  82. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  83. package/prisca/v1/core/workflow/workflow_pb.js +7525 -0
  84. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  85. package/prisca/v1/document_type/document_type_pb.js +2746 -0
  86. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  87. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3276 -0
  88. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  89. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  90. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
  91. package/prisca/v1/purchase_order/purchase_order_pb.js +4959 -0
  92. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +523 -0
  93. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
  94. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  95. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2875 -0
  96. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +145 -0
  97. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2139 -0
  98. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +146 -0
  99. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2183 -0
  100. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  101. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
  102. package/prisca/v1/quotation/quotation_grpc_pb.js +152 -0
  103. package/prisca/v1/quotation/quotation_pb.js +2319 -0
  104. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +192 -0
  105. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5703 -0
  106. package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
  107. package/prisca/v1/valuation/valuation_pb.js +7729 -0
  108. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
  109. package/prisca/v1/vendor_domain/vendor_domain_pb.js +6333 -0
  110. package/prisca/v1/account_assignment/account_assignment.proto +0 -79
  111. package/prisca/v1/account_group/account_group.proto +0 -86
  112. package/prisca/v1/bidding/bidding.proto +0 -159
  113. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -87
  114. package/prisca/v1/core/access_manager/access_manager.proto +0 -281
  115. package/prisca/v1/core/auth/auth.proto +0 -150
  116. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
  117. package/prisca/v1/core/company/company.proto +0 -92
  118. package/prisca/v1/core/currency/currency.proto +0 -76
  119. package/prisca/v1/core/department_material/department_material.proto +0 -69
  120. package/prisca/v1/core/employee/employee.proto +0 -129
  121. package/prisca/v1/core/file_upload/file_upload.proto +0 -31
  122. package/prisca/v1/core/incoterm/incoterm.proto +0 -76
  123. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -120
  124. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  125. package/prisca/v1/core/job_position/job_position.proto +0 -113
  126. package/prisca/v1/core/job_title/job_title.proto +0 -89
  127. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -42
  128. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -94
  129. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  130. package/prisca/v1/core/location/location.proto +0 -289
  131. package/prisca/v1/core/material/material.proto +0 -131
  132. package/prisca/v1/core/material_group/material_group.proto +0 -85
  133. package/prisca/v1/core/material_type/material_type.proto +0 -86
  134. package/prisca/v1/core/messaging/email_template.proto +0 -75
  135. package/prisca/v1/core/messaging/messaging.proto +0 -29
  136. package/prisca/v1/core/number_range/number_range.proto +0 -89
  137. package/prisca/v1/core/organization/organization.proto +0 -94
  138. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  139. package/prisca/v1/core/price_condition/price_condition.proto +0 -83
  140. package/prisca/v1/core/procurement/procurement.proto +0 -54
  141. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  142. package/prisca/v1/core/report/report.proto +0 -90
  143. package/prisca/v1/core/report/user_report.proto +0 -74
  144. package/prisca/v1/core/tax_code/tax_code.proto +0 -77
  145. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -64
  146. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
  147. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  148. package/prisca/v1/core/users/users.proto +0 -45
  149. package/prisca/v1/core/work_location/work_location.proto +0 -122
  150. package/prisca/v1/core/workflow/workflow.proto +0 -216
  151. package/prisca/v1/document_type/document_type.proto +0 -80
  152. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -98
  153. package/prisca/v1/global/meta/meta.proto +0 -57
  154. package/prisca/v1/purchase_order/purchase_order.proto +0 -155
  155. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -304
  156. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -87
  157. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -68
  158. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -70
  159. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  160. package/prisca/v1/quotation/quotation.proto +0 -82
  161. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -166
  162. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -225
@@ -0,0 +1,2958 @@
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, null, 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, null, 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
+
1631
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1632
+ /**
1633
+ * Creates an object representation of this proto.
1634
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1635
+ * Optional fields that are not set will be set to undefined.
1636
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1637
+ * For the list of reserved names please see:
1638
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1639
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1640
+ * JSPB instance for transitional soy proto support:
1641
+ * http://goto/soy-param-migration
1642
+ * @return {!Object}
1643
+ */
1644
+ proto.DeleteJobTitleRequest.prototype.toObject = function(opt_includeInstance) {
1645
+ return proto.DeleteJobTitleRequest.toObject(opt_includeInstance, this);
1646
+ };
1647
+
1648
+
1649
+ /**
1650
+ * Static version of the {@see toObject} method.
1651
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1652
+ * the JSPB instance for transitional soy proto support:
1653
+ * http://goto/soy-param-migration
1654
+ * @param {!proto.DeleteJobTitleRequest} msg The msg instance to transform.
1655
+ * @return {!Object}
1656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1657
+ */
1658
+ proto.DeleteJobTitleRequest.toObject = function(includeInstance, msg) {
1659
+ var f, obj = {
1660
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1661
+ };
1662
+
1663
+ if (includeInstance) {
1664
+ obj.$jspbMessageInstance = msg;
1665
+ }
1666
+ return obj;
1667
+ };
1668
+ }
1669
+
1670
+
1671
+ /**
1672
+ * Deserializes binary data (in protobuf wire format).
1673
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1674
+ * @return {!proto.DeleteJobTitleRequest}
1675
+ */
1676
+ proto.DeleteJobTitleRequest.deserializeBinary = function(bytes) {
1677
+ var reader = new jspb.BinaryReader(bytes);
1678
+ var msg = new proto.DeleteJobTitleRequest;
1679
+ return proto.DeleteJobTitleRequest.deserializeBinaryFromReader(msg, reader);
1680
+ };
1681
+
1682
+
1683
+ /**
1684
+ * Deserializes binary data (in protobuf wire format) from the
1685
+ * given reader into the given message object.
1686
+ * @param {!proto.DeleteJobTitleRequest} msg The message object to deserialize into.
1687
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1688
+ * @return {!proto.DeleteJobTitleRequest}
1689
+ */
1690
+ proto.DeleteJobTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
1691
+ while (reader.nextField()) {
1692
+ if (reader.isEndGroup()) {
1693
+ break;
1694
+ }
1695
+ var field = reader.getFieldNumber();
1696
+ switch (field) {
1697
+ case 1:
1698
+ var value = /** @type {number} */ (reader.readInt64());
1699
+ msg.setId(value);
1700
+ break;
1701
+ default:
1702
+ reader.skipField();
1703
+ break;
1704
+ }
1705
+ }
1706
+ return msg;
1707
+ };
1708
+
1709
+
1710
+ /**
1711
+ * Serializes the message to binary data (in protobuf wire format).
1712
+ * @return {!Uint8Array}
1713
+ */
1714
+ proto.DeleteJobTitleRequest.prototype.serializeBinary = function() {
1715
+ var writer = new jspb.BinaryWriter();
1716
+ proto.DeleteJobTitleRequest.serializeBinaryToWriter(this, writer);
1717
+ return writer.getResultBuffer();
1718
+ };
1719
+
1720
+
1721
+ /**
1722
+ * Serializes the given message to binary data (in protobuf wire
1723
+ * format), writing to the given BinaryWriter.
1724
+ * @param {!proto.DeleteJobTitleRequest} message
1725
+ * @param {!jspb.BinaryWriter} writer
1726
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1727
+ */
1728
+ proto.DeleteJobTitleRequest.serializeBinaryToWriter = function(message, writer) {
1729
+ var f = undefined;
1730
+ f = message.getId();
1731
+ if (f !== 0) {
1732
+ writer.writeInt64(
1733
+ 1,
1734
+ f
1735
+ );
1736
+ }
1737
+ };
1738
+
1739
+
1740
+ /**
1741
+ * optional int64 id = 1;
1742
+ * @return {number}
1743
+ */
1744
+ proto.DeleteJobTitleRequest.prototype.getId = function() {
1745
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1746
+ };
1747
+
1748
+
1749
+ /**
1750
+ * @param {number} value
1751
+ * @return {!proto.DeleteJobTitleRequest} returns this
1752
+ */
1753
+ proto.DeleteJobTitleRequest.prototype.setId = function(value) {
1754
+ return jspb.Message.setProto3IntField(this, 1, value);
1755
+ };
1756
+
1757
+
1758
+
1759
+
1760
+
1761
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1762
+ /**
1763
+ * Creates an object representation of this proto.
1764
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1765
+ * Optional fields that are not set will be set to undefined.
1766
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1767
+ * For the list of reserved names please see:
1768
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1769
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1770
+ * JSPB instance for transitional soy proto support:
1771
+ * http://goto/soy-param-migration
1772
+ * @return {!Object}
1773
+ */
1774
+ proto.DeleteJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
1775
+ return proto.DeleteJobTitleResponse.toObject(opt_includeInstance, this);
1776
+ };
1777
+
1778
+
1779
+ /**
1780
+ * Static version of the {@see toObject} method.
1781
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1782
+ * the JSPB instance for transitional soy proto support:
1783
+ * http://goto/soy-param-migration
1784
+ * @param {!proto.DeleteJobTitleResponse} msg The msg instance to transform.
1785
+ * @return {!Object}
1786
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1787
+ */
1788
+ proto.DeleteJobTitleResponse.toObject = function(includeInstance, msg) {
1789
+ var f, obj = {
1790
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1791
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1792
+ };
1793
+
1794
+ if (includeInstance) {
1795
+ obj.$jspbMessageInstance = msg;
1796
+ }
1797
+ return obj;
1798
+ };
1799
+ }
1800
+
1801
+
1802
+ /**
1803
+ * Deserializes binary data (in protobuf wire format).
1804
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1805
+ * @return {!proto.DeleteJobTitleResponse}
1806
+ */
1807
+ proto.DeleteJobTitleResponse.deserializeBinary = function(bytes) {
1808
+ var reader = new jspb.BinaryReader(bytes);
1809
+ var msg = new proto.DeleteJobTitleResponse;
1810
+ return proto.DeleteJobTitleResponse.deserializeBinaryFromReader(msg, reader);
1811
+ };
1812
+
1813
+
1814
+ /**
1815
+ * Deserializes binary data (in protobuf wire format) from the
1816
+ * given reader into the given message object.
1817
+ * @param {!proto.DeleteJobTitleResponse} msg The message object to deserialize into.
1818
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1819
+ * @return {!proto.DeleteJobTitleResponse}
1820
+ */
1821
+ proto.DeleteJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
1822
+ while (reader.nextField()) {
1823
+ if (reader.isEndGroup()) {
1824
+ break;
1825
+ }
1826
+ var field = reader.getFieldNumber();
1827
+ switch (field) {
1828
+ case 1:
1829
+ var value = /** @type {number} */ (reader.readInt64());
1830
+ msg.setId(value);
1831
+ break;
1832
+ case 2:
1833
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1834
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1835
+ msg.setMeta(value);
1836
+ break;
1837
+ default:
1838
+ reader.skipField();
1839
+ break;
1840
+ }
1841
+ }
1842
+ return msg;
1843
+ };
1844
+
1845
+
1846
+ /**
1847
+ * Serializes the message to binary data (in protobuf wire format).
1848
+ * @return {!Uint8Array}
1849
+ */
1850
+ proto.DeleteJobTitleResponse.prototype.serializeBinary = function() {
1851
+ var writer = new jspb.BinaryWriter();
1852
+ proto.DeleteJobTitleResponse.serializeBinaryToWriter(this, writer);
1853
+ return writer.getResultBuffer();
1854
+ };
1855
+
1856
+
1857
+ /**
1858
+ * Serializes the given message to binary data (in protobuf wire
1859
+ * format), writing to the given BinaryWriter.
1860
+ * @param {!proto.DeleteJobTitleResponse} message
1861
+ * @param {!jspb.BinaryWriter} writer
1862
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1863
+ */
1864
+ proto.DeleteJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
1865
+ var f = undefined;
1866
+ f = message.getId();
1867
+ if (f !== 0) {
1868
+ writer.writeInt64(
1869
+ 1,
1870
+ f
1871
+ );
1872
+ }
1873
+ f = message.getMeta();
1874
+ if (f != null) {
1875
+ writer.writeMessage(
1876
+ 2,
1877
+ f,
1878
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1879
+ );
1880
+ }
1881
+ };
1882
+
1883
+
1884
+ /**
1885
+ * optional int64 id = 1;
1886
+ * @return {number}
1887
+ */
1888
+ proto.DeleteJobTitleResponse.prototype.getId = function() {
1889
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1890
+ };
1891
+
1892
+
1893
+ /**
1894
+ * @param {number} value
1895
+ * @return {!proto.DeleteJobTitleResponse} returns this
1896
+ */
1897
+ proto.DeleteJobTitleResponse.prototype.setId = function(value) {
1898
+ return jspb.Message.setProto3IntField(this, 1, value);
1899
+ };
1900
+
1901
+
1902
+ /**
1903
+ * optional prisca.v1.global.meta.Meta meta = 2;
1904
+ * @return {?proto.prisca.v1.global.meta.Meta}
1905
+ */
1906
+ proto.DeleteJobTitleResponse.prototype.getMeta = function() {
1907
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1908
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1909
+ };
1910
+
1911
+
1912
+ /**
1913
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1914
+ * @return {!proto.DeleteJobTitleResponse} returns this
1915
+ */
1916
+ proto.DeleteJobTitleResponse.prototype.setMeta = function(value) {
1917
+ return jspb.Message.setWrapperField(this, 2, value);
1918
+ };
1919
+
1920
+
1921
+ /**
1922
+ * Clears the message field making it undefined.
1923
+ * @return {!proto.DeleteJobTitleResponse} returns this
1924
+ */
1925
+ proto.DeleteJobTitleResponse.prototype.clearMeta = function() {
1926
+ return this.setMeta(undefined);
1927
+ };
1928
+
1929
+
1930
+ /**
1931
+ * Returns whether this field is set.
1932
+ * @return {boolean}
1933
+ */
1934
+ proto.DeleteJobTitleResponse.prototype.hasMeta = function() {
1935
+ return jspb.Message.getField(this, 2) != null;
1936
+ };
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1943
+ /**
1944
+ * Creates an object representation of this proto.
1945
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1946
+ * Optional fields that are not set will be set to undefined.
1947
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1948
+ * For the list of reserved names please see:
1949
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1950
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1951
+ * JSPB instance for transitional soy proto support:
1952
+ * http://goto/soy-param-migration
1953
+ * @return {!Object}
1954
+ */
1955
+ proto.GetListJobTitleRequest.prototype.toObject = function(opt_includeInstance) {
1956
+ return proto.GetListJobTitleRequest.toObject(opt_includeInstance, this);
1957
+ };
1958
+
1959
+
1960
+ /**
1961
+ * Static version of the {@see toObject} method.
1962
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1963
+ * the JSPB instance for transitional soy proto support:
1964
+ * http://goto/soy-param-migration
1965
+ * @param {!proto.GetListJobTitleRequest} msg The msg instance to transform.
1966
+ * @return {!Object}
1967
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1968
+ */
1969
+ proto.GetListJobTitleRequest.toObject = function(includeInstance, msg) {
1970
+ var f, obj = {
1971
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1972
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1973
+ };
1974
+
1975
+ if (includeInstance) {
1976
+ obj.$jspbMessageInstance = msg;
1977
+ }
1978
+ return obj;
1979
+ };
1980
+ }
1981
+
1982
+
1983
+ /**
1984
+ * Deserializes binary data (in protobuf wire format).
1985
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1986
+ * @return {!proto.GetListJobTitleRequest}
1987
+ */
1988
+ proto.GetListJobTitleRequest.deserializeBinary = function(bytes) {
1989
+ var reader = new jspb.BinaryReader(bytes);
1990
+ var msg = new proto.GetListJobTitleRequest;
1991
+ return proto.GetListJobTitleRequest.deserializeBinaryFromReader(msg, reader);
1992
+ };
1993
+
1994
+
1995
+ /**
1996
+ * Deserializes binary data (in protobuf wire format) from the
1997
+ * given reader into the given message object.
1998
+ * @param {!proto.GetListJobTitleRequest} msg The message object to deserialize into.
1999
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2000
+ * @return {!proto.GetListJobTitleRequest}
2001
+ */
2002
+ proto.GetListJobTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
2003
+ while (reader.nextField()) {
2004
+ if (reader.isEndGroup()) {
2005
+ break;
2006
+ }
2007
+ var field = reader.getFieldNumber();
2008
+ switch (field) {
2009
+ case 1:
2010
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
2011
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
2012
+ msg.setPagination(value);
2013
+ break;
2014
+ case 2:
2015
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
2016
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
2017
+ msg.setQuery(value);
2018
+ break;
2019
+ default:
2020
+ reader.skipField();
2021
+ break;
2022
+ }
2023
+ }
2024
+ return msg;
2025
+ };
2026
+
2027
+
2028
+ /**
2029
+ * Serializes the message to binary data (in protobuf wire format).
2030
+ * @return {!Uint8Array}
2031
+ */
2032
+ proto.GetListJobTitleRequest.prototype.serializeBinary = function() {
2033
+ var writer = new jspb.BinaryWriter();
2034
+ proto.GetListJobTitleRequest.serializeBinaryToWriter(this, writer);
2035
+ return writer.getResultBuffer();
2036
+ };
2037
+
2038
+
2039
+ /**
2040
+ * Serializes the given message to binary data (in protobuf wire
2041
+ * format), writing to the given BinaryWriter.
2042
+ * @param {!proto.GetListJobTitleRequest} message
2043
+ * @param {!jspb.BinaryWriter} writer
2044
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2045
+ */
2046
+ proto.GetListJobTitleRequest.serializeBinaryToWriter = function(message, writer) {
2047
+ var f = undefined;
2048
+ f = message.getPagination();
2049
+ if (f != null) {
2050
+ writer.writeMessage(
2051
+ 1,
2052
+ f,
2053
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
2054
+ );
2055
+ }
2056
+ f = message.getQuery();
2057
+ if (f != null) {
2058
+ writer.writeMessage(
2059
+ 2,
2060
+ f,
2061
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
2062
+ );
2063
+ }
2064
+ };
2065
+
2066
+
2067
+ /**
2068
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
2069
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
2070
+ */
2071
+ proto.GetListJobTitleRequest.prototype.getPagination = function() {
2072
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
2073
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
2074
+ };
2075
+
2076
+
2077
+ /**
2078
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
2079
+ * @return {!proto.GetListJobTitleRequest} returns this
2080
+ */
2081
+ proto.GetListJobTitleRequest.prototype.setPagination = function(value) {
2082
+ return jspb.Message.setWrapperField(this, 1, value);
2083
+ };
2084
+
2085
+
2086
+ /**
2087
+ * Clears the message field making it undefined.
2088
+ * @return {!proto.GetListJobTitleRequest} returns this
2089
+ */
2090
+ proto.GetListJobTitleRequest.prototype.clearPagination = function() {
2091
+ return this.setPagination(undefined);
2092
+ };
2093
+
2094
+
2095
+ /**
2096
+ * Returns whether this field is set.
2097
+ * @return {boolean}
2098
+ */
2099
+ proto.GetListJobTitleRequest.prototype.hasPagination = function() {
2100
+ return jspb.Message.getField(this, 1) != null;
2101
+ };
2102
+
2103
+
2104
+ /**
2105
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
2106
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
2107
+ */
2108
+ proto.GetListJobTitleRequest.prototype.getQuery = function() {
2109
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
2110
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
2111
+ };
2112
+
2113
+
2114
+ /**
2115
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
2116
+ * @return {!proto.GetListJobTitleRequest} returns this
2117
+ */
2118
+ proto.GetListJobTitleRequest.prototype.setQuery = function(value) {
2119
+ return jspb.Message.setWrapperField(this, 2, value);
2120
+ };
2121
+
2122
+
2123
+ /**
2124
+ * Clears the message field making it undefined.
2125
+ * @return {!proto.GetListJobTitleRequest} returns this
2126
+ */
2127
+ proto.GetListJobTitleRequest.prototype.clearQuery = function() {
2128
+ return this.setQuery(undefined);
2129
+ };
2130
+
2131
+
2132
+ /**
2133
+ * Returns whether this field is set.
2134
+ * @return {boolean}
2135
+ */
2136
+ proto.GetListJobTitleRequest.prototype.hasQuery = function() {
2137
+ return jspb.Message.getField(this, 2) != null;
2138
+ };
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2145
+ /**
2146
+ * Creates an object representation of this proto.
2147
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2148
+ * Optional fields that are not set will be set to undefined.
2149
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2150
+ * For the list of reserved names please see:
2151
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2152
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2153
+ * JSPB instance for transitional soy proto support:
2154
+ * http://goto/soy-param-migration
2155
+ * @return {!Object}
2156
+ */
2157
+ proto.CreateJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
2158
+ return proto.CreateJobTitleResponse.toObject(opt_includeInstance, this);
2159
+ };
2160
+
2161
+
2162
+ /**
2163
+ * Static version of the {@see toObject} method.
2164
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2165
+ * the JSPB instance for transitional soy proto support:
2166
+ * http://goto/soy-param-migration
2167
+ * @param {!proto.CreateJobTitleResponse} msg The msg instance to transform.
2168
+ * @return {!Object}
2169
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2170
+ */
2171
+ proto.CreateJobTitleResponse.toObject = function(includeInstance, msg) {
2172
+ var f, obj = {
2173
+ jobTitle: (f = msg.getJobTitle()) && proto.JobTitle.toObject(includeInstance, f),
2174
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2175
+ };
2176
+
2177
+ if (includeInstance) {
2178
+ obj.$jspbMessageInstance = msg;
2179
+ }
2180
+ return obj;
2181
+ };
2182
+ }
2183
+
2184
+
2185
+ /**
2186
+ * Deserializes binary data (in protobuf wire format).
2187
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2188
+ * @return {!proto.CreateJobTitleResponse}
2189
+ */
2190
+ proto.CreateJobTitleResponse.deserializeBinary = function(bytes) {
2191
+ var reader = new jspb.BinaryReader(bytes);
2192
+ var msg = new proto.CreateJobTitleResponse;
2193
+ return proto.CreateJobTitleResponse.deserializeBinaryFromReader(msg, reader);
2194
+ };
2195
+
2196
+
2197
+ /**
2198
+ * Deserializes binary data (in protobuf wire format) from the
2199
+ * given reader into the given message object.
2200
+ * @param {!proto.CreateJobTitleResponse} msg The message object to deserialize into.
2201
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2202
+ * @return {!proto.CreateJobTitleResponse}
2203
+ */
2204
+ proto.CreateJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
2205
+ while (reader.nextField()) {
2206
+ if (reader.isEndGroup()) {
2207
+ break;
2208
+ }
2209
+ var field = reader.getFieldNumber();
2210
+ switch (field) {
2211
+ case 1:
2212
+ var value = new proto.JobTitle;
2213
+ reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
2214
+ msg.setJobTitle(value);
2215
+ break;
2216
+ case 2:
2217
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2218
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2219
+ msg.setMeta(value);
2220
+ break;
2221
+ default:
2222
+ reader.skipField();
2223
+ break;
2224
+ }
2225
+ }
2226
+ return msg;
2227
+ };
2228
+
2229
+
2230
+ /**
2231
+ * Serializes the message to binary data (in protobuf wire format).
2232
+ * @return {!Uint8Array}
2233
+ */
2234
+ proto.CreateJobTitleResponse.prototype.serializeBinary = function() {
2235
+ var writer = new jspb.BinaryWriter();
2236
+ proto.CreateJobTitleResponse.serializeBinaryToWriter(this, writer);
2237
+ return writer.getResultBuffer();
2238
+ };
2239
+
2240
+
2241
+ /**
2242
+ * Serializes the given message to binary data (in protobuf wire
2243
+ * format), writing to the given BinaryWriter.
2244
+ * @param {!proto.CreateJobTitleResponse} message
2245
+ * @param {!jspb.BinaryWriter} writer
2246
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2247
+ */
2248
+ proto.CreateJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
2249
+ var f = undefined;
2250
+ f = message.getJobTitle();
2251
+ if (f != null) {
2252
+ writer.writeMessage(
2253
+ 1,
2254
+ f,
2255
+ proto.JobTitle.serializeBinaryToWriter
2256
+ );
2257
+ }
2258
+ f = message.getMeta();
2259
+ if (f != null) {
2260
+ writer.writeMessage(
2261
+ 2,
2262
+ f,
2263
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2264
+ );
2265
+ }
2266
+ };
2267
+
2268
+
2269
+ /**
2270
+ * optional JobTitle job_title = 1;
2271
+ * @return {?proto.JobTitle}
2272
+ */
2273
+ proto.CreateJobTitleResponse.prototype.getJobTitle = function() {
2274
+ return /** @type{?proto.JobTitle} */ (
2275
+ jspb.Message.getWrapperField(this, proto.JobTitle, 1));
2276
+ };
2277
+
2278
+
2279
+ /**
2280
+ * @param {?proto.JobTitle|undefined} value
2281
+ * @return {!proto.CreateJobTitleResponse} returns this
2282
+ */
2283
+ proto.CreateJobTitleResponse.prototype.setJobTitle = function(value) {
2284
+ return jspb.Message.setWrapperField(this, 1, value);
2285
+ };
2286
+
2287
+
2288
+ /**
2289
+ * Clears the message field making it undefined.
2290
+ * @return {!proto.CreateJobTitleResponse} returns this
2291
+ */
2292
+ proto.CreateJobTitleResponse.prototype.clearJobTitle = function() {
2293
+ return this.setJobTitle(undefined);
2294
+ };
2295
+
2296
+
2297
+ /**
2298
+ * Returns whether this field is set.
2299
+ * @return {boolean}
2300
+ */
2301
+ proto.CreateJobTitleResponse.prototype.hasJobTitle = function() {
2302
+ return jspb.Message.getField(this, 1) != null;
2303
+ };
2304
+
2305
+
2306
+ /**
2307
+ * optional prisca.v1.global.meta.Meta meta = 2;
2308
+ * @return {?proto.prisca.v1.global.meta.Meta}
2309
+ */
2310
+ proto.CreateJobTitleResponse.prototype.getMeta = function() {
2311
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2312
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2313
+ };
2314
+
2315
+
2316
+ /**
2317
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2318
+ * @return {!proto.CreateJobTitleResponse} returns this
2319
+ */
2320
+ proto.CreateJobTitleResponse.prototype.setMeta = function(value) {
2321
+ return jspb.Message.setWrapperField(this, 2, value);
2322
+ };
2323
+
2324
+
2325
+ /**
2326
+ * Clears the message field making it undefined.
2327
+ * @return {!proto.CreateJobTitleResponse} returns this
2328
+ */
2329
+ proto.CreateJobTitleResponse.prototype.clearMeta = function() {
2330
+ return this.setMeta(undefined);
2331
+ };
2332
+
2333
+
2334
+ /**
2335
+ * Returns whether this field is set.
2336
+ * @return {boolean}
2337
+ */
2338
+ proto.CreateJobTitleResponse.prototype.hasMeta = function() {
2339
+ return jspb.Message.getField(this, 2) != null;
2340
+ };
2341
+
2342
+
2343
+
2344
+ /**
2345
+ * List of repeated fields within this message type.
2346
+ * @private {!Array<number>}
2347
+ * @const
2348
+ */
2349
+ proto.GetListJobTitleResponse.repeatedFields_ = [1];
2350
+
2351
+
2352
+
2353
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2354
+ /**
2355
+ * Creates an object representation of this proto.
2356
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2357
+ * Optional fields that are not set will be set to undefined.
2358
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2359
+ * For the list of reserved names please see:
2360
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2361
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2362
+ * JSPB instance for transitional soy proto support:
2363
+ * http://goto/soy-param-migration
2364
+ * @return {!Object}
2365
+ */
2366
+ proto.GetListJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
2367
+ return proto.GetListJobTitleResponse.toObject(opt_includeInstance, this);
2368
+ };
2369
+
2370
+
2371
+ /**
2372
+ * Static version of the {@see toObject} method.
2373
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2374
+ * the JSPB instance for transitional soy proto support:
2375
+ * http://goto/soy-param-migration
2376
+ * @param {!proto.GetListJobTitleResponse} msg The msg instance to transform.
2377
+ * @return {!Object}
2378
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2379
+ */
2380
+ proto.GetListJobTitleResponse.toObject = function(includeInstance, msg) {
2381
+ var f, obj = {
2382
+ jobTitleList: jspb.Message.toObjectList(msg.getJobTitleList(),
2383
+ proto.BaseJobTitle.toObject, includeInstance),
2384
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2385
+ };
2386
+
2387
+ if (includeInstance) {
2388
+ obj.$jspbMessageInstance = msg;
2389
+ }
2390
+ return obj;
2391
+ };
2392
+ }
2393
+
2394
+
2395
+ /**
2396
+ * Deserializes binary data (in protobuf wire format).
2397
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2398
+ * @return {!proto.GetListJobTitleResponse}
2399
+ */
2400
+ proto.GetListJobTitleResponse.deserializeBinary = function(bytes) {
2401
+ var reader = new jspb.BinaryReader(bytes);
2402
+ var msg = new proto.GetListJobTitleResponse;
2403
+ return proto.GetListJobTitleResponse.deserializeBinaryFromReader(msg, reader);
2404
+ };
2405
+
2406
+
2407
+ /**
2408
+ * Deserializes binary data (in protobuf wire format) from the
2409
+ * given reader into the given message object.
2410
+ * @param {!proto.GetListJobTitleResponse} msg The message object to deserialize into.
2411
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2412
+ * @return {!proto.GetListJobTitleResponse}
2413
+ */
2414
+ proto.GetListJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
2415
+ while (reader.nextField()) {
2416
+ if (reader.isEndGroup()) {
2417
+ break;
2418
+ }
2419
+ var field = reader.getFieldNumber();
2420
+ switch (field) {
2421
+ case 1:
2422
+ var value = new proto.BaseJobTitle;
2423
+ reader.readMessage(value,proto.BaseJobTitle.deserializeBinaryFromReader);
2424
+ msg.addJobTitle(value);
2425
+ break;
2426
+ case 2:
2427
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2428
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2429
+ msg.setMeta(value);
2430
+ break;
2431
+ default:
2432
+ reader.skipField();
2433
+ break;
2434
+ }
2435
+ }
2436
+ return msg;
2437
+ };
2438
+
2439
+
2440
+ /**
2441
+ * Serializes the message to binary data (in protobuf wire format).
2442
+ * @return {!Uint8Array}
2443
+ */
2444
+ proto.GetListJobTitleResponse.prototype.serializeBinary = function() {
2445
+ var writer = new jspb.BinaryWriter();
2446
+ proto.GetListJobTitleResponse.serializeBinaryToWriter(this, writer);
2447
+ return writer.getResultBuffer();
2448
+ };
2449
+
2450
+
2451
+ /**
2452
+ * Serializes the given message to binary data (in protobuf wire
2453
+ * format), writing to the given BinaryWriter.
2454
+ * @param {!proto.GetListJobTitleResponse} message
2455
+ * @param {!jspb.BinaryWriter} writer
2456
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2457
+ */
2458
+ proto.GetListJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
2459
+ var f = undefined;
2460
+ f = message.getJobTitleList();
2461
+ if (f.length > 0) {
2462
+ writer.writeRepeatedMessage(
2463
+ 1,
2464
+ f,
2465
+ proto.BaseJobTitle.serializeBinaryToWriter
2466
+ );
2467
+ }
2468
+ f = message.getMeta();
2469
+ if (f != null) {
2470
+ writer.writeMessage(
2471
+ 2,
2472
+ f,
2473
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2474
+ );
2475
+ }
2476
+ };
2477
+
2478
+
2479
+ /**
2480
+ * repeated BaseJobTitle job_title = 1;
2481
+ * @return {!Array<!proto.BaseJobTitle>}
2482
+ */
2483
+ proto.GetListJobTitleResponse.prototype.getJobTitleList = function() {
2484
+ return /** @type{!Array<!proto.BaseJobTitle>} */ (
2485
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseJobTitle, 1));
2486
+ };
2487
+
2488
+
2489
+ /**
2490
+ * @param {!Array<!proto.BaseJobTitle>} value
2491
+ * @return {!proto.GetListJobTitleResponse} returns this
2492
+ */
2493
+ proto.GetListJobTitleResponse.prototype.setJobTitleList = function(value) {
2494
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2495
+ };
2496
+
2497
+
2498
+ /**
2499
+ * @param {!proto.BaseJobTitle=} opt_value
2500
+ * @param {number=} opt_index
2501
+ * @return {!proto.BaseJobTitle}
2502
+ */
2503
+ proto.GetListJobTitleResponse.prototype.addJobTitle = function(opt_value, opt_index) {
2504
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseJobTitle, opt_index);
2505
+ };
2506
+
2507
+
2508
+ /**
2509
+ * Clears the list making it empty but non-null.
2510
+ * @return {!proto.GetListJobTitleResponse} returns this
2511
+ */
2512
+ proto.GetListJobTitleResponse.prototype.clearJobTitleList = function() {
2513
+ return this.setJobTitleList([]);
2514
+ };
2515
+
2516
+
2517
+ /**
2518
+ * optional prisca.v1.global.meta.Meta meta = 2;
2519
+ * @return {?proto.prisca.v1.global.meta.Meta}
2520
+ */
2521
+ proto.GetListJobTitleResponse.prototype.getMeta = function() {
2522
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2523
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2524
+ };
2525
+
2526
+
2527
+ /**
2528
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2529
+ * @return {!proto.GetListJobTitleResponse} returns this
2530
+ */
2531
+ proto.GetListJobTitleResponse.prototype.setMeta = function(value) {
2532
+ return jspb.Message.setWrapperField(this, 2, value);
2533
+ };
2534
+
2535
+
2536
+ /**
2537
+ * Clears the message field making it undefined.
2538
+ * @return {!proto.GetListJobTitleResponse} returns this
2539
+ */
2540
+ proto.GetListJobTitleResponse.prototype.clearMeta = function() {
2541
+ return this.setMeta(undefined);
2542
+ };
2543
+
2544
+
2545
+ /**
2546
+ * Returns whether this field is set.
2547
+ * @return {boolean}
2548
+ */
2549
+ proto.GetListJobTitleResponse.prototype.hasMeta = function() {
2550
+ return jspb.Message.getField(this, 2) != null;
2551
+ };
2552
+
2553
+
2554
+
2555
+
2556
+
2557
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2558
+ /**
2559
+ * Creates an object representation of this proto.
2560
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2561
+ * Optional fields that are not set will be set to undefined.
2562
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2563
+ * For the list of reserved names please see:
2564
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2565
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2566
+ * JSPB instance for transitional soy proto support:
2567
+ * http://goto/soy-param-migration
2568
+ * @return {!Object}
2569
+ */
2570
+ proto.UpdateJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
2571
+ return proto.UpdateJobTitleResponse.toObject(opt_includeInstance, this);
2572
+ };
2573
+
2574
+
2575
+ /**
2576
+ * Static version of the {@see toObject} method.
2577
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2578
+ * the JSPB instance for transitional soy proto support:
2579
+ * http://goto/soy-param-migration
2580
+ * @param {!proto.UpdateJobTitleResponse} msg The msg instance to transform.
2581
+ * @return {!Object}
2582
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2583
+ */
2584
+ proto.UpdateJobTitleResponse.toObject = function(includeInstance, msg) {
2585
+ var f, obj = {
2586
+ jobTitle: (f = msg.getJobTitle()) && proto.JobTitle.toObject(includeInstance, f),
2587
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2588
+ };
2589
+
2590
+ if (includeInstance) {
2591
+ obj.$jspbMessageInstance = msg;
2592
+ }
2593
+ return obj;
2594
+ };
2595
+ }
2596
+
2597
+
2598
+ /**
2599
+ * Deserializes binary data (in protobuf wire format).
2600
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2601
+ * @return {!proto.UpdateJobTitleResponse}
2602
+ */
2603
+ proto.UpdateJobTitleResponse.deserializeBinary = function(bytes) {
2604
+ var reader = new jspb.BinaryReader(bytes);
2605
+ var msg = new proto.UpdateJobTitleResponse;
2606
+ return proto.UpdateJobTitleResponse.deserializeBinaryFromReader(msg, reader);
2607
+ };
2608
+
2609
+
2610
+ /**
2611
+ * Deserializes binary data (in protobuf wire format) from the
2612
+ * given reader into the given message object.
2613
+ * @param {!proto.UpdateJobTitleResponse} msg The message object to deserialize into.
2614
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2615
+ * @return {!proto.UpdateJobTitleResponse}
2616
+ */
2617
+ proto.UpdateJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
2618
+ while (reader.nextField()) {
2619
+ if (reader.isEndGroup()) {
2620
+ break;
2621
+ }
2622
+ var field = reader.getFieldNumber();
2623
+ switch (field) {
2624
+ case 1:
2625
+ var value = new proto.JobTitle;
2626
+ reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
2627
+ msg.setJobTitle(value);
2628
+ break;
2629
+ case 2:
2630
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2631
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2632
+ msg.setMeta(value);
2633
+ break;
2634
+ default:
2635
+ reader.skipField();
2636
+ break;
2637
+ }
2638
+ }
2639
+ return msg;
2640
+ };
2641
+
2642
+
2643
+ /**
2644
+ * Serializes the message to binary data (in protobuf wire format).
2645
+ * @return {!Uint8Array}
2646
+ */
2647
+ proto.UpdateJobTitleResponse.prototype.serializeBinary = function() {
2648
+ var writer = new jspb.BinaryWriter();
2649
+ proto.UpdateJobTitleResponse.serializeBinaryToWriter(this, writer);
2650
+ return writer.getResultBuffer();
2651
+ };
2652
+
2653
+
2654
+ /**
2655
+ * Serializes the given message to binary data (in protobuf wire
2656
+ * format), writing to the given BinaryWriter.
2657
+ * @param {!proto.UpdateJobTitleResponse} message
2658
+ * @param {!jspb.BinaryWriter} writer
2659
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2660
+ */
2661
+ proto.UpdateJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
2662
+ var f = undefined;
2663
+ f = message.getJobTitle();
2664
+ if (f != null) {
2665
+ writer.writeMessage(
2666
+ 1,
2667
+ f,
2668
+ proto.JobTitle.serializeBinaryToWriter
2669
+ );
2670
+ }
2671
+ f = message.getMeta();
2672
+ if (f != null) {
2673
+ writer.writeMessage(
2674
+ 2,
2675
+ f,
2676
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2677
+ );
2678
+ }
2679
+ };
2680
+
2681
+
2682
+ /**
2683
+ * optional JobTitle job_title = 1;
2684
+ * @return {?proto.JobTitle}
2685
+ */
2686
+ proto.UpdateJobTitleResponse.prototype.getJobTitle = function() {
2687
+ return /** @type{?proto.JobTitle} */ (
2688
+ jspb.Message.getWrapperField(this, proto.JobTitle, 1));
2689
+ };
2690
+
2691
+
2692
+ /**
2693
+ * @param {?proto.JobTitle|undefined} value
2694
+ * @return {!proto.UpdateJobTitleResponse} returns this
2695
+ */
2696
+ proto.UpdateJobTitleResponse.prototype.setJobTitle = function(value) {
2697
+ return jspb.Message.setWrapperField(this, 1, value);
2698
+ };
2699
+
2700
+
2701
+ /**
2702
+ * Clears the message field making it undefined.
2703
+ * @return {!proto.UpdateJobTitleResponse} returns this
2704
+ */
2705
+ proto.UpdateJobTitleResponse.prototype.clearJobTitle = function() {
2706
+ return this.setJobTitle(undefined);
2707
+ };
2708
+
2709
+
2710
+ /**
2711
+ * Returns whether this field is set.
2712
+ * @return {boolean}
2713
+ */
2714
+ proto.UpdateJobTitleResponse.prototype.hasJobTitle = function() {
2715
+ return jspb.Message.getField(this, 1) != null;
2716
+ };
2717
+
2718
+
2719
+ /**
2720
+ * optional prisca.v1.global.meta.Meta meta = 2;
2721
+ * @return {?proto.prisca.v1.global.meta.Meta}
2722
+ */
2723
+ proto.UpdateJobTitleResponse.prototype.getMeta = function() {
2724
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2725
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2726
+ };
2727
+
2728
+
2729
+ /**
2730
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2731
+ * @return {!proto.UpdateJobTitleResponse} returns this
2732
+ */
2733
+ proto.UpdateJobTitleResponse.prototype.setMeta = function(value) {
2734
+ return jspb.Message.setWrapperField(this, 2, value);
2735
+ };
2736
+
2737
+
2738
+ /**
2739
+ * Clears the message field making it undefined.
2740
+ * @return {!proto.UpdateJobTitleResponse} returns this
2741
+ */
2742
+ proto.UpdateJobTitleResponse.prototype.clearMeta = function() {
2743
+ return this.setMeta(undefined);
2744
+ };
2745
+
2746
+
2747
+ /**
2748
+ * Returns whether this field is set.
2749
+ * @return {boolean}
2750
+ */
2751
+ proto.UpdateJobTitleResponse.prototype.hasMeta = function() {
2752
+ return jspb.Message.getField(this, 2) != null;
2753
+ };
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2760
+ /**
2761
+ * Creates an object representation of this proto.
2762
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2763
+ * Optional fields that are not set will be set to undefined.
2764
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2765
+ * For the list of reserved names please see:
2766
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2767
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2768
+ * JSPB instance for transitional soy proto support:
2769
+ * http://goto/soy-param-migration
2770
+ * @return {!Object}
2771
+ */
2772
+ proto.JobTitleGetByIdResponse.prototype.toObject = function(opt_includeInstance) {
2773
+ return proto.JobTitleGetByIdResponse.toObject(opt_includeInstance, this);
2774
+ };
2775
+
2776
+
2777
+ /**
2778
+ * Static version of the {@see toObject} method.
2779
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2780
+ * the JSPB instance for transitional soy proto support:
2781
+ * http://goto/soy-param-migration
2782
+ * @param {!proto.JobTitleGetByIdResponse} msg The msg instance to transform.
2783
+ * @return {!Object}
2784
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2785
+ */
2786
+ proto.JobTitleGetByIdResponse.toObject = function(includeInstance, msg) {
2787
+ var f, obj = {
2788
+ jobTitle: (f = msg.getJobTitle()) && proto.BaseJobTitle.toObject(includeInstance, f),
2789
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2790
+ };
2791
+
2792
+ if (includeInstance) {
2793
+ obj.$jspbMessageInstance = msg;
2794
+ }
2795
+ return obj;
2796
+ };
2797
+ }
2798
+
2799
+
2800
+ /**
2801
+ * Deserializes binary data (in protobuf wire format).
2802
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2803
+ * @return {!proto.JobTitleGetByIdResponse}
2804
+ */
2805
+ proto.JobTitleGetByIdResponse.deserializeBinary = function(bytes) {
2806
+ var reader = new jspb.BinaryReader(bytes);
2807
+ var msg = new proto.JobTitleGetByIdResponse;
2808
+ return proto.JobTitleGetByIdResponse.deserializeBinaryFromReader(msg, reader);
2809
+ };
2810
+
2811
+
2812
+ /**
2813
+ * Deserializes binary data (in protobuf wire format) from the
2814
+ * given reader into the given message object.
2815
+ * @param {!proto.JobTitleGetByIdResponse} msg The message object to deserialize into.
2816
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2817
+ * @return {!proto.JobTitleGetByIdResponse}
2818
+ */
2819
+ proto.JobTitleGetByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2820
+ while (reader.nextField()) {
2821
+ if (reader.isEndGroup()) {
2822
+ break;
2823
+ }
2824
+ var field = reader.getFieldNumber();
2825
+ switch (field) {
2826
+ case 1:
2827
+ var value = new proto.BaseJobTitle;
2828
+ reader.readMessage(value,proto.BaseJobTitle.deserializeBinaryFromReader);
2829
+ msg.setJobTitle(value);
2830
+ break;
2831
+ case 2:
2832
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2833
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2834
+ msg.setMeta(value);
2835
+ break;
2836
+ default:
2837
+ reader.skipField();
2838
+ break;
2839
+ }
2840
+ }
2841
+ return msg;
2842
+ };
2843
+
2844
+
2845
+ /**
2846
+ * Serializes the message to binary data (in protobuf wire format).
2847
+ * @return {!Uint8Array}
2848
+ */
2849
+ proto.JobTitleGetByIdResponse.prototype.serializeBinary = function() {
2850
+ var writer = new jspb.BinaryWriter();
2851
+ proto.JobTitleGetByIdResponse.serializeBinaryToWriter(this, writer);
2852
+ return writer.getResultBuffer();
2853
+ };
2854
+
2855
+
2856
+ /**
2857
+ * Serializes the given message to binary data (in protobuf wire
2858
+ * format), writing to the given BinaryWriter.
2859
+ * @param {!proto.JobTitleGetByIdResponse} message
2860
+ * @param {!jspb.BinaryWriter} writer
2861
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2862
+ */
2863
+ proto.JobTitleGetByIdResponse.serializeBinaryToWriter = function(message, writer) {
2864
+ var f = undefined;
2865
+ f = message.getJobTitle();
2866
+ if (f != null) {
2867
+ writer.writeMessage(
2868
+ 1,
2869
+ f,
2870
+ proto.BaseJobTitle.serializeBinaryToWriter
2871
+ );
2872
+ }
2873
+ f = message.getMeta();
2874
+ if (f != null) {
2875
+ writer.writeMessage(
2876
+ 2,
2877
+ f,
2878
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2879
+ );
2880
+ }
2881
+ };
2882
+
2883
+
2884
+ /**
2885
+ * optional BaseJobTitle job_title = 1;
2886
+ * @return {?proto.BaseJobTitle}
2887
+ */
2888
+ proto.JobTitleGetByIdResponse.prototype.getJobTitle = function() {
2889
+ return /** @type{?proto.BaseJobTitle} */ (
2890
+ jspb.Message.getWrapperField(this, proto.BaseJobTitle, 1));
2891
+ };
2892
+
2893
+
2894
+ /**
2895
+ * @param {?proto.BaseJobTitle|undefined} value
2896
+ * @return {!proto.JobTitleGetByIdResponse} returns this
2897
+ */
2898
+ proto.JobTitleGetByIdResponse.prototype.setJobTitle = function(value) {
2899
+ return jspb.Message.setWrapperField(this, 1, value);
2900
+ };
2901
+
2902
+
2903
+ /**
2904
+ * Clears the message field making it undefined.
2905
+ * @return {!proto.JobTitleGetByIdResponse} returns this
2906
+ */
2907
+ proto.JobTitleGetByIdResponse.prototype.clearJobTitle = function() {
2908
+ return this.setJobTitle(undefined);
2909
+ };
2910
+
2911
+
2912
+ /**
2913
+ * Returns whether this field is set.
2914
+ * @return {boolean}
2915
+ */
2916
+ proto.JobTitleGetByIdResponse.prototype.hasJobTitle = function() {
2917
+ return jspb.Message.getField(this, 1) != null;
2918
+ };
2919
+
2920
+
2921
+ /**
2922
+ * optional prisca.v1.global.meta.Meta meta = 2;
2923
+ * @return {?proto.prisca.v1.global.meta.Meta}
2924
+ */
2925
+ proto.JobTitleGetByIdResponse.prototype.getMeta = function() {
2926
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2927
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2928
+ };
2929
+
2930
+
2931
+ /**
2932
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2933
+ * @return {!proto.JobTitleGetByIdResponse} returns this
2934
+ */
2935
+ proto.JobTitleGetByIdResponse.prototype.setMeta = function(value) {
2936
+ return jspb.Message.setWrapperField(this, 2, value);
2937
+ };
2938
+
2939
+
2940
+ /**
2941
+ * Clears the message field making it undefined.
2942
+ * @return {!proto.JobTitleGetByIdResponse} returns this
2943
+ */
2944
+ proto.JobTitleGetByIdResponse.prototype.clearMeta = function() {
2945
+ return this.setMeta(undefined);
2946
+ };
2947
+
2948
+
2949
+ /**
2950
+ * Returns whether this field is set.
2951
+ * @return {boolean}
2952
+ */
2953
+ proto.JobTitleGetByIdResponse.prototype.hasMeta = function() {
2954
+ return jspb.Message.getField(this, 2) != null;
2955
+ };
2956
+
2957
+
2958
+ goog.object.extend(exports, proto);