@aldiokta/protocgen 1.0.54 → 1.0.56

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 (131) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.pb.go +893 -0
  3. package/prisca/v1/account_assignment/account_assignment_grpc.pb.go +274 -0
  4. package/prisca/v1/account_group/account_group.pb.go +955 -0
  5. package/prisca/v1/account_group/account_group_grpc.pb.go +273 -0
  6. package/prisca/v1/chart_of_account/chart_of_account.pb.go +882 -0
  7. package/prisca/v1/chart_of_account/chart_of_account_grpc.pb.go +273 -0
  8. package/prisca/v1/core/auth/auth.proto +129 -0
  9. package/prisca/v1/core/company/company.proto +86 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +120 -0
  13. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  14. package/prisca/v1/core/job_position/job_position.proto +113 -0
  15. package/prisca/v1/core/job_title/job_title.proto +89 -0
  16. package/prisca/v1/core/line_of_approval/line_of_approval.proto +79 -0
  17. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  18. package/prisca/v1/core/location/location.proto +289 -0
  19. package/prisca/v1/core/material/material.proto +129 -0
  20. package/prisca/v1/core/material_group/material_group.proto +79 -0
  21. package/prisca/v1/core/material_type/material_type.proto +77 -0
  22. package/prisca/v1/core/messaging/email_template.proto +75 -0
  23. package/prisca/v1/core/messaging/messaging.proto +28 -0
  24. package/prisca/v1/core/number_range/number_range.proto +83 -0
  25. package/prisca/v1/core/organization/organization.proto +94 -0
  26. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  27. package/prisca/v1/core/procurement/procurement.proto +54 -0
  28. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +131 -0
  29. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  30. package/prisca/v1/core/tax_code/tax_code.proto +79 -0
  31. package/prisca/v1/core/transaction_builder/transaction_builder.proto +262 -0
  32. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  33. package/prisca/v1/core/users/users.proto +22 -0
  34. package/prisca/v1/core/users_role/users_role.proto +72 -0
  35. package/prisca/v1/core/work_location/work_location.proto +122 -0
  36. package/prisca/v1/core/workflow/workflow.proto +197 -0
  37. package/prisca/v1/document_type/document_type.pb.go +952 -0
  38. package/prisca/v1/document_type/document_type_grpc.pb.go +273 -0
  39. package/prisca/v1/general_ledger_account/general_ledger_account.pb.go +1146 -0
  40. package/prisca/v1/general_ledger_account/general_ledger_account_grpc.pb.go +274 -0
  41. package/prisca/v1/global/meta/meta.proto +57 -0
  42. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.pb.go +2674 -0
  43. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +388 -0
  44. package/prisca/v1/purchasing_group/purchasing_group.pb.go +1004 -0
  45. package/prisca/v1/purchasing_group/purchasing_group_grpc.pb.go +274 -0
  46. package/prisca/v1/purchasing_organization/purchasing_organization.pb.go +775 -0
  47. package/prisca/v1/purchasing_organization/purchasing_organization_grpc.pb.go +236 -0
  48. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.pb.go +805 -0
  49. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc.pb.go +236 -0
  50. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.pb.go +906 -0
  51. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc.pb.go +236 -0
  52. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -177
  53. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2522
  54. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -178
  55. package/prisca/v1/account_group/account_group_pb.js +0 -2755
  56. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -177
  57. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2522
  58. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -345
  59. package/prisca/v1/core/auth/auth_pb.js +0 -3593
  60. package/prisca/v1/core/company/company_grpc_pb.js +0 -177
  61. package/prisca/v1/core/company/company_pb.js +0 -2875
  62. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  63. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  64. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  65. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  66. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -184
  67. package/prisca/v1/core/employee/employee_pb.js +0 -3877
  68. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  69. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  70. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  71. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  72. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  73. package/prisca/v1/core/job_title/job_title_pb.js +0 -2928
  74. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -177
  75. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -2612
  76. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  77. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  78. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  79. package/prisca/v1/core/location/location_pb.js +0 -10879
  80. package/prisca/v1/core/material/material_grpc_pb.js +0 -181
  81. package/prisca/v1/core/material/material_pb.js +0 -4106
  82. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -177
  83. package/prisca/v1/core/material_group/material_group_pb.js +0 -2582
  84. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -148
  85. package/prisca/v1/core/material_type/material_type_pb.js +0 -2392
  86. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  87. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  88. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -45
  89. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  90. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -177
  91. package/prisca/v1/core/number_range/number_range_pb.js +0 -2732
  92. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  93. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  94. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  95. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  96. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  97. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  98. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  99. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  100. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  101. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  102. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  103. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  104. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -421
  105. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -8965
  106. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  107. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  108. package/prisca/v1/core/users/users_grpc_pb.js +0 -1
  109. package/prisca/v1/core/users/users_pb.js +0 -626
  110. package/prisca/v1/core/users_role/users_role_grpc_pb.js +0 -177
  111. package/prisca/v1/core/users_role/users_role_pb.js +0 -2372
  112. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  113. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  114. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -180
  115. package/prisca/v1/core/workflow/workflow_pb.js +0 -6589
  116. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  117. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  118. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  119. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  120. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  121. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  122. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -267
  123. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -7825
  124. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  125. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
  126. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
  127. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
  128. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
  129. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
  130. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -146
  131. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2536
@@ -1,2928 +0,0 @@
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
- company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
603
- };
604
-
605
- if (includeInstance) {
606
- obj.$jspbMessageInstance = msg;
607
- }
608
- return obj;
609
- };
610
- }
611
-
612
-
613
- /**
614
- * Deserializes binary data (in protobuf wire format).
615
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
616
- * @return {!proto.BaseJobTitle}
617
- */
618
- proto.BaseJobTitle.deserializeBinary = function(bytes) {
619
- var reader = new jspb.BinaryReader(bytes);
620
- var msg = new proto.BaseJobTitle;
621
- return proto.BaseJobTitle.deserializeBinaryFromReader(msg, reader);
622
- };
623
-
624
-
625
- /**
626
- * Deserializes binary data (in protobuf wire format) from the
627
- * given reader into the given message object.
628
- * @param {!proto.BaseJobTitle} msg The message object to deserialize into.
629
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
630
- * @return {!proto.BaseJobTitle}
631
- */
632
- proto.BaseJobTitle.deserializeBinaryFromReader = function(msg, reader) {
633
- while (reader.nextField()) {
634
- if (reader.isEndGroup()) {
635
- break;
636
- }
637
- var field = reader.getFieldNumber();
638
- switch (field) {
639
- case 1:
640
- var value = /** @type {string} */ (reader.readString());
641
- msg.setReferencesId(value);
642
- break;
643
- case 2:
644
- var value = /** @type {string} */ (reader.readString());
645
- msg.setCode(value);
646
- break;
647
- case 3:
648
- var value = /** @type {string} */ (reader.readString());
649
- msg.setName(value);
650
- break;
651
- case 4:
652
- var value = /** @type {string} */ (reader.readString());
653
- msg.setDescription(value);
654
- break;
655
- case 5:
656
- var value = /** @type {string} */ (reader.readString());
657
- msg.setParentReferencesId(value);
658
- break;
659
- case 6:
660
- var value = new proto.BaseJobTitleParent;
661
- reader.readMessage(value,proto.BaseJobTitleParent.deserializeBinaryFromReader);
662
- msg.setParent(value);
663
- break;
664
- case 7:
665
- var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
666
- reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
667
- msg.setCompany(value);
668
- break;
669
- default:
670
- reader.skipField();
671
- break;
672
- }
673
- }
674
- return msg;
675
- };
676
-
677
-
678
- /**
679
- * Serializes the message to binary data (in protobuf wire format).
680
- * @return {!Uint8Array}
681
- */
682
- proto.BaseJobTitle.prototype.serializeBinary = function() {
683
- var writer = new jspb.BinaryWriter();
684
- proto.BaseJobTitle.serializeBinaryToWriter(this, writer);
685
- return writer.getResultBuffer();
686
- };
687
-
688
-
689
- /**
690
- * Serializes the given message to binary data (in protobuf wire
691
- * format), writing to the given BinaryWriter.
692
- * @param {!proto.BaseJobTitle} message
693
- * @param {!jspb.BinaryWriter} writer
694
- * @suppress {unusedLocalVariables} f is only used for nested messages
695
- */
696
- proto.BaseJobTitle.serializeBinaryToWriter = function(message, writer) {
697
- var f = undefined;
698
- f = message.getReferencesId();
699
- if (f.length > 0) {
700
- writer.writeString(
701
- 1,
702
- f
703
- );
704
- }
705
- f = message.getCode();
706
- if (f.length > 0) {
707
- writer.writeString(
708
- 2,
709
- f
710
- );
711
- }
712
- f = message.getName();
713
- if (f.length > 0) {
714
- writer.writeString(
715
- 3,
716
- f
717
- );
718
- }
719
- f = message.getDescription();
720
- if (f.length > 0) {
721
- writer.writeString(
722
- 4,
723
- f
724
- );
725
- }
726
- f = message.getParentReferencesId();
727
- if (f.length > 0) {
728
- writer.writeString(
729
- 5,
730
- f
731
- );
732
- }
733
- f = message.getParent();
734
- if (f != null) {
735
- writer.writeMessage(
736
- 6,
737
- f,
738
- proto.BaseJobTitleParent.serializeBinaryToWriter
739
- );
740
- }
741
- f = message.getCompany();
742
- if (f != null) {
743
- writer.writeMessage(
744
- 7,
745
- f,
746
- prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
747
- );
748
- }
749
- };
750
-
751
-
752
- /**
753
- * optional string references_id = 1;
754
- * @return {string}
755
- */
756
- proto.BaseJobTitle.prototype.getReferencesId = function() {
757
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
758
- };
759
-
760
-
761
- /**
762
- * @param {string} value
763
- * @return {!proto.BaseJobTitle} returns this
764
- */
765
- proto.BaseJobTitle.prototype.setReferencesId = function(value) {
766
- return jspb.Message.setProto3StringField(this, 1, value);
767
- };
768
-
769
-
770
- /**
771
- * optional string code = 2;
772
- * @return {string}
773
- */
774
- proto.BaseJobTitle.prototype.getCode = function() {
775
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
776
- };
777
-
778
-
779
- /**
780
- * @param {string} value
781
- * @return {!proto.BaseJobTitle} returns this
782
- */
783
- proto.BaseJobTitle.prototype.setCode = function(value) {
784
- return jspb.Message.setProto3StringField(this, 2, value);
785
- };
786
-
787
-
788
- /**
789
- * optional string name = 3;
790
- * @return {string}
791
- */
792
- proto.BaseJobTitle.prototype.getName = function() {
793
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
794
- };
795
-
796
-
797
- /**
798
- * @param {string} value
799
- * @return {!proto.BaseJobTitle} returns this
800
- */
801
- proto.BaseJobTitle.prototype.setName = function(value) {
802
- return jspb.Message.setProto3StringField(this, 3, value);
803
- };
804
-
805
-
806
- /**
807
- * optional string description = 4;
808
- * @return {string}
809
- */
810
- proto.BaseJobTitle.prototype.getDescription = function() {
811
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
812
- };
813
-
814
-
815
- /**
816
- * @param {string} value
817
- * @return {!proto.BaseJobTitle} returns this
818
- */
819
- proto.BaseJobTitle.prototype.setDescription = function(value) {
820
- return jspb.Message.setProto3StringField(this, 4, value);
821
- };
822
-
823
-
824
- /**
825
- * optional string parent_references_id = 5;
826
- * @return {string}
827
- */
828
- proto.BaseJobTitle.prototype.getParentReferencesId = function() {
829
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
830
- };
831
-
832
-
833
- /**
834
- * @param {string} value
835
- * @return {!proto.BaseJobTitle} returns this
836
- */
837
- proto.BaseJobTitle.prototype.setParentReferencesId = function(value) {
838
- return jspb.Message.setProto3StringField(this, 5, value);
839
- };
840
-
841
-
842
- /**
843
- * optional BaseJobTitleParent parent = 6;
844
- * @return {?proto.BaseJobTitleParent}
845
- */
846
- proto.BaseJobTitle.prototype.getParent = function() {
847
- return /** @type{?proto.BaseJobTitleParent} */ (
848
- jspb.Message.getWrapperField(this, proto.BaseJobTitleParent, 6));
849
- };
850
-
851
-
852
- /**
853
- * @param {?proto.BaseJobTitleParent|undefined} value
854
- * @return {!proto.BaseJobTitle} returns this
855
- */
856
- proto.BaseJobTitle.prototype.setParent = function(value) {
857
- return jspb.Message.setWrapperField(this, 6, value);
858
- };
859
-
860
-
861
- /**
862
- * Clears the message field making it undefined.
863
- * @return {!proto.BaseJobTitle} returns this
864
- */
865
- proto.BaseJobTitle.prototype.clearParent = function() {
866
- return this.setParent(undefined);
867
- };
868
-
869
-
870
- /**
871
- * Returns whether this field is set.
872
- * @return {boolean}
873
- */
874
- proto.BaseJobTitle.prototype.hasParent = function() {
875
- return jspb.Message.getField(this, 6) != null;
876
- };
877
-
878
-
879
- /**
880
- * optional BaseCompanyParent company = 7;
881
- * @return {?proto.BaseCompanyParent}
882
- */
883
- proto.BaseJobTitle.prototype.getCompany = function() {
884
- return /** @type{?proto.BaseCompanyParent} */ (
885
- jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 7));
886
- };
887
-
888
-
889
- /**
890
- * @param {?proto.BaseCompanyParent|undefined} value
891
- * @return {!proto.BaseJobTitle} returns this
892
- */
893
- proto.BaseJobTitle.prototype.setCompany = function(value) {
894
- return jspb.Message.setWrapperField(this, 7, value);
895
- };
896
-
897
-
898
- /**
899
- * Clears the message field making it undefined.
900
- * @return {!proto.BaseJobTitle} returns this
901
- */
902
- proto.BaseJobTitle.prototype.clearCompany = function() {
903
- return this.setCompany(undefined);
904
- };
905
-
906
-
907
- /**
908
- * Returns whether this field is set.
909
- * @return {boolean}
910
- */
911
- proto.BaseJobTitle.prototype.hasCompany = function() {
912
- return jspb.Message.getField(this, 7) != null;
913
- };
914
-
915
-
916
-
917
-
918
-
919
- if (jspb.Message.GENERATE_TO_OBJECT) {
920
- /**
921
- * Creates an object representation of this proto.
922
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
923
- * Optional fields that are not set will be set to undefined.
924
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
925
- * For the list of reserved names please see:
926
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
927
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
928
- * JSPB instance for transitional soy proto support:
929
- * http://goto/soy-param-migration
930
- * @return {!Object}
931
- */
932
- proto.BaseJobTitleParent.prototype.toObject = function(opt_includeInstance) {
933
- return proto.BaseJobTitleParent.toObject(opt_includeInstance, this);
934
- };
935
-
936
-
937
- /**
938
- * Static version of the {@see toObject} method.
939
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
940
- * the JSPB instance for transitional soy proto support:
941
- * http://goto/soy-param-migration
942
- * @param {!proto.BaseJobTitleParent} msg The msg instance to transform.
943
- * @return {!Object}
944
- * @suppress {unusedLocalVariables} f is only used for nested messages
945
- */
946
- proto.BaseJobTitleParent.toObject = function(includeInstance, msg) {
947
- var f, obj = {
948
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
949
- code: jspb.Message.getFieldWithDefault(msg, 2, ""),
950
- name: jspb.Message.getFieldWithDefault(msg, 3, ""),
951
- description: jspb.Message.getFieldWithDefault(msg, 4, "")
952
- };
953
-
954
- if (includeInstance) {
955
- obj.$jspbMessageInstance = msg;
956
- }
957
- return obj;
958
- };
959
- }
960
-
961
-
962
- /**
963
- * Deserializes binary data (in protobuf wire format).
964
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
965
- * @return {!proto.BaseJobTitleParent}
966
- */
967
- proto.BaseJobTitleParent.deserializeBinary = function(bytes) {
968
- var reader = new jspb.BinaryReader(bytes);
969
- var msg = new proto.BaseJobTitleParent;
970
- return proto.BaseJobTitleParent.deserializeBinaryFromReader(msg, reader);
971
- };
972
-
973
-
974
- /**
975
- * Deserializes binary data (in protobuf wire format) from the
976
- * given reader into the given message object.
977
- * @param {!proto.BaseJobTitleParent} msg The message object to deserialize into.
978
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
979
- * @return {!proto.BaseJobTitleParent}
980
- */
981
- proto.BaseJobTitleParent.deserializeBinaryFromReader = function(msg, reader) {
982
- while (reader.nextField()) {
983
- if (reader.isEndGroup()) {
984
- break;
985
- }
986
- var field = reader.getFieldNumber();
987
- switch (field) {
988
- case 1:
989
- var value = /** @type {string} */ (reader.readString());
990
- msg.setReferencesId(value);
991
- break;
992
- case 2:
993
- var value = /** @type {string} */ (reader.readString());
994
- msg.setCode(value);
995
- break;
996
- case 3:
997
- var value = /** @type {string} */ (reader.readString());
998
- msg.setName(value);
999
- break;
1000
- case 4:
1001
- var value = /** @type {string} */ (reader.readString());
1002
- msg.setDescription(value);
1003
- break;
1004
- default:
1005
- reader.skipField();
1006
- break;
1007
- }
1008
- }
1009
- return msg;
1010
- };
1011
-
1012
-
1013
- /**
1014
- * Serializes the message to binary data (in protobuf wire format).
1015
- * @return {!Uint8Array}
1016
- */
1017
- proto.BaseJobTitleParent.prototype.serializeBinary = function() {
1018
- var writer = new jspb.BinaryWriter();
1019
- proto.BaseJobTitleParent.serializeBinaryToWriter(this, writer);
1020
- return writer.getResultBuffer();
1021
- };
1022
-
1023
-
1024
- /**
1025
- * Serializes the given message to binary data (in protobuf wire
1026
- * format), writing to the given BinaryWriter.
1027
- * @param {!proto.BaseJobTitleParent} message
1028
- * @param {!jspb.BinaryWriter} writer
1029
- * @suppress {unusedLocalVariables} f is only used for nested messages
1030
- */
1031
- proto.BaseJobTitleParent.serializeBinaryToWriter = function(message, writer) {
1032
- var f = undefined;
1033
- f = message.getReferencesId();
1034
- if (f.length > 0) {
1035
- writer.writeString(
1036
- 1,
1037
- f
1038
- );
1039
- }
1040
- f = message.getCode();
1041
- if (f.length > 0) {
1042
- writer.writeString(
1043
- 2,
1044
- f
1045
- );
1046
- }
1047
- f = message.getName();
1048
- if (f.length > 0) {
1049
- writer.writeString(
1050
- 3,
1051
- f
1052
- );
1053
- }
1054
- f = message.getDescription();
1055
- if (f.length > 0) {
1056
- writer.writeString(
1057
- 4,
1058
- f
1059
- );
1060
- }
1061
- };
1062
-
1063
-
1064
- /**
1065
- * optional string references_id = 1;
1066
- * @return {string}
1067
- */
1068
- proto.BaseJobTitleParent.prototype.getReferencesId = function() {
1069
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1070
- };
1071
-
1072
-
1073
- /**
1074
- * @param {string} value
1075
- * @return {!proto.BaseJobTitleParent} returns this
1076
- */
1077
- proto.BaseJobTitleParent.prototype.setReferencesId = function(value) {
1078
- return jspb.Message.setProto3StringField(this, 1, value);
1079
- };
1080
-
1081
-
1082
- /**
1083
- * optional string code = 2;
1084
- * @return {string}
1085
- */
1086
- proto.BaseJobTitleParent.prototype.getCode = function() {
1087
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1088
- };
1089
-
1090
-
1091
- /**
1092
- * @param {string} value
1093
- * @return {!proto.BaseJobTitleParent} returns this
1094
- */
1095
- proto.BaseJobTitleParent.prototype.setCode = function(value) {
1096
- return jspb.Message.setProto3StringField(this, 2, value);
1097
- };
1098
-
1099
-
1100
- /**
1101
- * optional string name = 3;
1102
- * @return {string}
1103
- */
1104
- proto.BaseJobTitleParent.prototype.getName = function() {
1105
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1106
- };
1107
-
1108
-
1109
- /**
1110
- * @param {string} value
1111
- * @return {!proto.BaseJobTitleParent} returns this
1112
- */
1113
- proto.BaseJobTitleParent.prototype.setName = function(value) {
1114
- return jspb.Message.setProto3StringField(this, 3, value);
1115
- };
1116
-
1117
-
1118
- /**
1119
- * optional string description = 4;
1120
- * @return {string}
1121
- */
1122
- proto.BaseJobTitleParent.prototype.getDescription = function() {
1123
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1124
- };
1125
-
1126
-
1127
- /**
1128
- * @param {string} value
1129
- * @return {!proto.BaseJobTitleParent} returns this
1130
- */
1131
- proto.BaseJobTitleParent.prototype.setDescription = function(value) {
1132
- return jspb.Message.setProto3StringField(this, 4, value);
1133
- };
1134
-
1135
-
1136
-
1137
-
1138
-
1139
- if (jspb.Message.GENERATE_TO_OBJECT) {
1140
- /**
1141
- * Creates an object representation of this proto.
1142
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1143
- * Optional fields that are not set will be set to undefined.
1144
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1145
- * For the list of reserved names please see:
1146
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1147
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1148
- * JSPB instance for transitional soy proto support:
1149
- * http://goto/soy-param-migration
1150
- * @return {!Object}
1151
- */
1152
- proto.JobTitleGetByIdRequest.prototype.toObject = function(opt_includeInstance) {
1153
- return proto.JobTitleGetByIdRequest.toObject(opt_includeInstance, this);
1154
- };
1155
-
1156
-
1157
- /**
1158
- * Static version of the {@see toObject} method.
1159
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1160
- * the JSPB instance for transitional soy proto support:
1161
- * http://goto/soy-param-migration
1162
- * @param {!proto.JobTitleGetByIdRequest} msg The msg instance to transform.
1163
- * @return {!Object}
1164
- * @suppress {unusedLocalVariables} f is only used for nested messages
1165
- */
1166
- proto.JobTitleGetByIdRequest.toObject = function(includeInstance, msg) {
1167
- var f, obj = {
1168
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1169
- };
1170
-
1171
- if (includeInstance) {
1172
- obj.$jspbMessageInstance = msg;
1173
- }
1174
- return obj;
1175
- };
1176
- }
1177
-
1178
-
1179
- /**
1180
- * Deserializes binary data (in protobuf wire format).
1181
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1182
- * @return {!proto.JobTitleGetByIdRequest}
1183
- */
1184
- proto.JobTitleGetByIdRequest.deserializeBinary = function(bytes) {
1185
- var reader = new jspb.BinaryReader(bytes);
1186
- var msg = new proto.JobTitleGetByIdRequest;
1187
- return proto.JobTitleGetByIdRequest.deserializeBinaryFromReader(msg, reader);
1188
- };
1189
-
1190
-
1191
- /**
1192
- * Deserializes binary data (in protobuf wire format) from the
1193
- * given reader into the given message object.
1194
- * @param {!proto.JobTitleGetByIdRequest} msg The message object to deserialize into.
1195
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1196
- * @return {!proto.JobTitleGetByIdRequest}
1197
- */
1198
- proto.JobTitleGetByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
1199
- while (reader.nextField()) {
1200
- if (reader.isEndGroup()) {
1201
- break;
1202
- }
1203
- var field = reader.getFieldNumber();
1204
- switch (field) {
1205
- case 1:
1206
- var value = /** @type {string} */ (reader.readString());
1207
- msg.setReferencesId(value);
1208
- break;
1209
- default:
1210
- reader.skipField();
1211
- break;
1212
- }
1213
- }
1214
- return msg;
1215
- };
1216
-
1217
-
1218
- /**
1219
- * Serializes the message to binary data (in protobuf wire format).
1220
- * @return {!Uint8Array}
1221
- */
1222
- proto.JobTitleGetByIdRequest.prototype.serializeBinary = function() {
1223
- var writer = new jspb.BinaryWriter();
1224
- proto.JobTitleGetByIdRequest.serializeBinaryToWriter(this, writer);
1225
- return writer.getResultBuffer();
1226
- };
1227
-
1228
-
1229
- /**
1230
- * Serializes the given message to binary data (in protobuf wire
1231
- * format), writing to the given BinaryWriter.
1232
- * @param {!proto.JobTitleGetByIdRequest} message
1233
- * @param {!jspb.BinaryWriter} writer
1234
- * @suppress {unusedLocalVariables} f is only used for nested messages
1235
- */
1236
- proto.JobTitleGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
1237
- var f = undefined;
1238
- f = message.getReferencesId();
1239
- if (f.length > 0) {
1240
- writer.writeString(
1241
- 1,
1242
- f
1243
- );
1244
- }
1245
- };
1246
-
1247
-
1248
- /**
1249
- * optional string references_id = 1;
1250
- * @return {string}
1251
- */
1252
- proto.JobTitleGetByIdRequest.prototype.getReferencesId = function() {
1253
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1254
- };
1255
-
1256
-
1257
- /**
1258
- * @param {string} value
1259
- * @return {!proto.JobTitleGetByIdRequest} returns this
1260
- */
1261
- proto.JobTitleGetByIdRequest.prototype.setReferencesId = function(value) {
1262
- return jspb.Message.setProto3StringField(this, 1, value);
1263
- };
1264
-
1265
-
1266
-
1267
-
1268
-
1269
- if (jspb.Message.GENERATE_TO_OBJECT) {
1270
- /**
1271
- * Creates an object representation of this proto.
1272
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1273
- * Optional fields that are not set will be set to undefined.
1274
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1275
- * For the list of reserved names please see:
1276
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1277
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1278
- * JSPB instance for transitional soy proto support:
1279
- * http://goto/soy-param-migration
1280
- * @return {!Object}
1281
- */
1282
- proto.CreateJobTitleRequest.prototype.toObject = function(opt_includeInstance) {
1283
- return proto.CreateJobTitleRequest.toObject(opt_includeInstance, this);
1284
- };
1285
-
1286
-
1287
- /**
1288
- * Static version of the {@see toObject} method.
1289
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1290
- * the JSPB instance for transitional soy proto support:
1291
- * http://goto/soy-param-migration
1292
- * @param {!proto.CreateJobTitleRequest} msg The msg instance to transform.
1293
- * @return {!Object}
1294
- * @suppress {unusedLocalVariables} f is only used for nested messages
1295
- */
1296
- proto.CreateJobTitleRequest.toObject = function(includeInstance, msg) {
1297
- var f, obj = {
1298
- jobTitle: (f = msg.getJobTitle()) && proto.JobTitle.toObject(includeInstance, f)
1299
- };
1300
-
1301
- if (includeInstance) {
1302
- obj.$jspbMessageInstance = msg;
1303
- }
1304
- return obj;
1305
- };
1306
- }
1307
-
1308
-
1309
- /**
1310
- * Deserializes binary data (in protobuf wire format).
1311
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1312
- * @return {!proto.CreateJobTitleRequest}
1313
- */
1314
- proto.CreateJobTitleRequest.deserializeBinary = function(bytes) {
1315
- var reader = new jspb.BinaryReader(bytes);
1316
- var msg = new proto.CreateJobTitleRequest;
1317
- return proto.CreateJobTitleRequest.deserializeBinaryFromReader(msg, reader);
1318
- };
1319
-
1320
-
1321
- /**
1322
- * Deserializes binary data (in protobuf wire format) from the
1323
- * given reader into the given message object.
1324
- * @param {!proto.CreateJobTitleRequest} msg The message object to deserialize into.
1325
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1326
- * @return {!proto.CreateJobTitleRequest}
1327
- */
1328
- proto.CreateJobTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
1329
- while (reader.nextField()) {
1330
- if (reader.isEndGroup()) {
1331
- break;
1332
- }
1333
- var field = reader.getFieldNumber();
1334
- switch (field) {
1335
- case 1:
1336
- var value = new proto.JobTitle;
1337
- reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
1338
- msg.setJobTitle(value);
1339
- break;
1340
- default:
1341
- reader.skipField();
1342
- break;
1343
- }
1344
- }
1345
- return msg;
1346
- };
1347
-
1348
-
1349
- /**
1350
- * Serializes the message to binary data (in protobuf wire format).
1351
- * @return {!Uint8Array}
1352
- */
1353
- proto.CreateJobTitleRequest.prototype.serializeBinary = function() {
1354
- var writer = new jspb.BinaryWriter();
1355
- proto.CreateJobTitleRequest.serializeBinaryToWriter(this, writer);
1356
- return writer.getResultBuffer();
1357
- };
1358
-
1359
-
1360
- /**
1361
- * Serializes the given message to binary data (in protobuf wire
1362
- * format), writing to the given BinaryWriter.
1363
- * @param {!proto.CreateJobTitleRequest} message
1364
- * @param {!jspb.BinaryWriter} writer
1365
- * @suppress {unusedLocalVariables} f is only used for nested messages
1366
- */
1367
- proto.CreateJobTitleRequest.serializeBinaryToWriter = function(message, writer) {
1368
- var f = undefined;
1369
- f = message.getJobTitle();
1370
- if (f != null) {
1371
- writer.writeMessage(
1372
- 1,
1373
- f,
1374
- proto.JobTitle.serializeBinaryToWriter
1375
- );
1376
- }
1377
- };
1378
-
1379
-
1380
- /**
1381
- * optional JobTitle job_title = 1;
1382
- * @return {?proto.JobTitle}
1383
- */
1384
- proto.CreateJobTitleRequest.prototype.getJobTitle = function() {
1385
- return /** @type{?proto.JobTitle} */ (
1386
- jspb.Message.getWrapperField(this, proto.JobTitle, 1));
1387
- };
1388
-
1389
-
1390
- /**
1391
- * @param {?proto.JobTitle|undefined} value
1392
- * @return {!proto.CreateJobTitleRequest} returns this
1393
- */
1394
- proto.CreateJobTitleRequest.prototype.setJobTitle = function(value) {
1395
- return jspb.Message.setWrapperField(this, 1, value);
1396
- };
1397
-
1398
-
1399
- /**
1400
- * Clears the message field making it undefined.
1401
- * @return {!proto.CreateJobTitleRequest} returns this
1402
- */
1403
- proto.CreateJobTitleRequest.prototype.clearJobTitle = function() {
1404
- return this.setJobTitle(undefined);
1405
- };
1406
-
1407
-
1408
- /**
1409
- * Returns whether this field is set.
1410
- * @return {boolean}
1411
- */
1412
- proto.CreateJobTitleRequest.prototype.hasJobTitle = function() {
1413
- return jspb.Message.getField(this, 1) != null;
1414
- };
1415
-
1416
-
1417
-
1418
-
1419
-
1420
- if (jspb.Message.GENERATE_TO_OBJECT) {
1421
- /**
1422
- * Creates an object representation of this proto.
1423
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1424
- * Optional fields that are not set will be set to undefined.
1425
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1426
- * For the list of reserved names please see:
1427
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1428
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1429
- * JSPB instance for transitional soy proto support:
1430
- * http://goto/soy-param-migration
1431
- * @return {!Object}
1432
- */
1433
- proto.UpdateJobTitleRequest.prototype.toObject = function(opt_includeInstance) {
1434
- return proto.UpdateJobTitleRequest.toObject(opt_includeInstance, this);
1435
- };
1436
-
1437
-
1438
- /**
1439
- * Static version of the {@see toObject} method.
1440
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1441
- * the JSPB instance for transitional soy proto support:
1442
- * http://goto/soy-param-migration
1443
- * @param {!proto.UpdateJobTitleRequest} msg The msg instance to transform.
1444
- * @return {!Object}
1445
- * @suppress {unusedLocalVariables} f is only used for nested messages
1446
- */
1447
- proto.UpdateJobTitleRequest.toObject = function(includeInstance, msg) {
1448
- var f, obj = {
1449
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1450
- jobTitle: (f = msg.getJobTitle()) && proto.JobTitle.toObject(includeInstance, f)
1451
- };
1452
-
1453
- if (includeInstance) {
1454
- obj.$jspbMessageInstance = msg;
1455
- }
1456
- return obj;
1457
- };
1458
- }
1459
-
1460
-
1461
- /**
1462
- * Deserializes binary data (in protobuf wire format).
1463
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1464
- * @return {!proto.UpdateJobTitleRequest}
1465
- */
1466
- proto.UpdateJobTitleRequest.deserializeBinary = function(bytes) {
1467
- var reader = new jspb.BinaryReader(bytes);
1468
- var msg = new proto.UpdateJobTitleRequest;
1469
- return proto.UpdateJobTitleRequest.deserializeBinaryFromReader(msg, reader);
1470
- };
1471
-
1472
-
1473
- /**
1474
- * Deserializes binary data (in protobuf wire format) from the
1475
- * given reader into the given message object.
1476
- * @param {!proto.UpdateJobTitleRequest} msg The message object to deserialize into.
1477
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1478
- * @return {!proto.UpdateJobTitleRequest}
1479
- */
1480
- proto.UpdateJobTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
1481
- while (reader.nextField()) {
1482
- if (reader.isEndGroup()) {
1483
- break;
1484
- }
1485
- var field = reader.getFieldNumber();
1486
- switch (field) {
1487
- case 1:
1488
- var value = /** @type {string} */ (reader.readString());
1489
- msg.setReferencesId(value);
1490
- break;
1491
- case 2:
1492
- var value = new proto.JobTitle;
1493
- reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
1494
- msg.setJobTitle(value);
1495
- break;
1496
- default:
1497
- reader.skipField();
1498
- break;
1499
- }
1500
- }
1501
- return msg;
1502
- };
1503
-
1504
-
1505
- /**
1506
- * Serializes the message to binary data (in protobuf wire format).
1507
- * @return {!Uint8Array}
1508
- */
1509
- proto.UpdateJobTitleRequest.prototype.serializeBinary = function() {
1510
- var writer = new jspb.BinaryWriter();
1511
- proto.UpdateJobTitleRequest.serializeBinaryToWriter(this, writer);
1512
- return writer.getResultBuffer();
1513
- };
1514
-
1515
-
1516
- /**
1517
- * Serializes the given message to binary data (in protobuf wire
1518
- * format), writing to the given BinaryWriter.
1519
- * @param {!proto.UpdateJobTitleRequest} message
1520
- * @param {!jspb.BinaryWriter} writer
1521
- * @suppress {unusedLocalVariables} f is only used for nested messages
1522
- */
1523
- proto.UpdateJobTitleRequest.serializeBinaryToWriter = function(message, writer) {
1524
- var f = undefined;
1525
- f = message.getReferencesId();
1526
- if (f.length > 0) {
1527
- writer.writeString(
1528
- 1,
1529
- f
1530
- );
1531
- }
1532
- f = message.getJobTitle();
1533
- if (f != null) {
1534
- writer.writeMessage(
1535
- 2,
1536
- f,
1537
- proto.JobTitle.serializeBinaryToWriter
1538
- );
1539
- }
1540
- };
1541
-
1542
-
1543
- /**
1544
- * optional string references_id = 1;
1545
- * @return {string}
1546
- */
1547
- proto.UpdateJobTitleRequest.prototype.getReferencesId = function() {
1548
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1549
- };
1550
-
1551
-
1552
- /**
1553
- * @param {string} value
1554
- * @return {!proto.UpdateJobTitleRequest} returns this
1555
- */
1556
- proto.UpdateJobTitleRequest.prototype.setReferencesId = function(value) {
1557
- return jspb.Message.setProto3StringField(this, 1, value);
1558
- };
1559
-
1560
-
1561
- /**
1562
- * optional JobTitle job_title = 2;
1563
- * @return {?proto.JobTitle}
1564
- */
1565
- proto.UpdateJobTitleRequest.prototype.getJobTitle = function() {
1566
- return /** @type{?proto.JobTitle} */ (
1567
- jspb.Message.getWrapperField(this, proto.JobTitle, 2));
1568
- };
1569
-
1570
-
1571
- /**
1572
- * @param {?proto.JobTitle|undefined} value
1573
- * @return {!proto.UpdateJobTitleRequest} returns this
1574
- */
1575
- proto.UpdateJobTitleRequest.prototype.setJobTitle = function(value) {
1576
- return jspb.Message.setWrapperField(this, 2, value);
1577
- };
1578
-
1579
-
1580
- /**
1581
- * Clears the message field making it undefined.
1582
- * @return {!proto.UpdateJobTitleRequest} returns this
1583
- */
1584
- proto.UpdateJobTitleRequest.prototype.clearJobTitle = function() {
1585
- return this.setJobTitle(undefined);
1586
- };
1587
-
1588
-
1589
- /**
1590
- * Returns whether this field is set.
1591
- * @return {boolean}
1592
- */
1593
- proto.UpdateJobTitleRequest.prototype.hasJobTitle = function() {
1594
- return jspb.Message.getField(this, 2) != null;
1595
- };
1596
-
1597
-
1598
-
1599
-
1600
-
1601
- if (jspb.Message.GENERATE_TO_OBJECT) {
1602
- /**
1603
- * Creates an object representation of this proto.
1604
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1605
- * Optional fields that are not set will be set to undefined.
1606
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1607
- * For the list of reserved names please see:
1608
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1609
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1610
- * JSPB instance for transitional soy proto support:
1611
- * http://goto/soy-param-migration
1612
- * @return {!Object}
1613
- */
1614
- proto.DeleteJobTitleRequest.prototype.toObject = function(opt_includeInstance) {
1615
- return proto.DeleteJobTitleRequest.toObject(opt_includeInstance, this);
1616
- };
1617
-
1618
-
1619
- /**
1620
- * Static version of the {@see toObject} method.
1621
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1622
- * the JSPB instance for transitional soy proto support:
1623
- * http://goto/soy-param-migration
1624
- * @param {!proto.DeleteJobTitleRequest} msg The msg instance to transform.
1625
- * @return {!Object}
1626
- * @suppress {unusedLocalVariables} f is only used for nested messages
1627
- */
1628
- proto.DeleteJobTitleRequest.toObject = function(includeInstance, msg) {
1629
- var f, obj = {
1630
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1631
- };
1632
-
1633
- if (includeInstance) {
1634
- obj.$jspbMessageInstance = msg;
1635
- }
1636
- return obj;
1637
- };
1638
- }
1639
-
1640
-
1641
- /**
1642
- * Deserializes binary data (in protobuf wire format).
1643
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1644
- * @return {!proto.DeleteJobTitleRequest}
1645
- */
1646
- proto.DeleteJobTitleRequest.deserializeBinary = function(bytes) {
1647
- var reader = new jspb.BinaryReader(bytes);
1648
- var msg = new proto.DeleteJobTitleRequest;
1649
- return proto.DeleteJobTitleRequest.deserializeBinaryFromReader(msg, reader);
1650
- };
1651
-
1652
-
1653
- /**
1654
- * Deserializes binary data (in protobuf wire format) from the
1655
- * given reader into the given message object.
1656
- * @param {!proto.DeleteJobTitleRequest} msg The message object to deserialize into.
1657
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1658
- * @return {!proto.DeleteJobTitleRequest}
1659
- */
1660
- proto.DeleteJobTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
1661
- while (reader.nextField()) {
1662
- if (reader.isEndGroup()) {
1663
- break;
1664
- }
1665
- var field = reader.getFieldNumber();
1666
- switch (field) {
1667
- case 1:
1668
- var value = /** @type {number} */ (reader.readInt64());
1669
- msg.setId(value);
1670
- break;
1671
- default:
1672
- reader.skipField();
1673
- break;
1674
- }
1675
- }
1676
- return msg;
1677
- };
1678
-
1679
-
1680
- /**
1681
- * Serializes the message to binary data (in protobuf wire format).
1682
- * @return {!Uint8Array}
1683
- */
1684
- proto.DeleteJobTitleRequest.prototype.serializeBinary = function() {
1685
- var writer = new jspb.BinaryWriter();
1686
- proto.DeleteJobTitleRequest.serializeBinaryToWriter(this, writer);
1687
- return writer.getResultBuffer();
1688
- };
1689
-
1690
-
1691
- /**
1692
- * Serializes the given message to binary data (in protobuf wire
1693
- * format), writing to the given BinaryWriter.
1694
- * @param {!proto.DeleteJobTitleRequest} message
1695
- * @param {!jspb.BinaryWriter} writer
1696
- * @suppress {unusedLocalVariables} f is only used for nested messages
1697
- */
1698
- proto.DeleteJobTitleRequest.serializeBinaryToWriter = function(message, writer) {
1699
- var f = undefined;
1700
- f = message.getId();
1701
- if (f !== 0) {
1702
- writer.writeInt64(
1703
- 1,
1704
- f
1705
- );
1706
- }
1707
- };
1708
-
1709
-
1710
- /**
1711
- * optional int64 id = 1;
1712
- * @return {number}
1713
- */
1714
- proto.DeleteJobTitleRequest.prototype.getId = function() {
1715
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1716
- };
1717
-
1718
-
1719
- /**
1720
- * @param {number} value
1721
- * @return {!proto.DeleteJobTitleRequest} returns this
1722
- */
1723
- proto.DeleteJobTitleRequest.prototype.setId = function(value) {
1724
- return jspb.Message.setProto3IntField(this, 1, value);
1725
- };
1726
-
1727
-
1728
-
1729
-
1730
-
1731
- if (jspb.Message.GENERATE_TO_OBJECT) {
1732
- /**
1733
- * Creates an object representation of this proto.
1734
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1735
- * Optional fields that are not set will be set to undefined.
1736
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1737
- * For the list of reserved names please see:
1738
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1739
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1740
- * JSPB instance for transitional soy proto support:
1741
- * http://goto/soy-param-migration
1742
- * @return {!Object}
1743
- */
1744
- proto.DeleteJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
1745
- return proto.DeleteJobTitleResponse.toObject(opt_includeInstance, this);
1746
- };
1747
-
1748
-
1749
- /**
1750
- * Static version of the {@see toObject} method.
1751
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1752
- * the JSPB instance for transitional soy proto support:
1753
- * http://goto/soy-param-migration
1754
- * @param {!proto.DeleteJobTitleResponse} msg The msg instance to transform.
1755
- * @return {!Object}
1756
- * @suppress {unusedLocalVariables} f is only used for nested messages
1757
- */
1758
- proto.DeleteJobTitleResponse.toObject = function(includeInstance, msg) {
1759
- var f, obj = {
1760
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1761
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1762
- };
1763
-
1764
- if (includeInstance) {
1765
- obj.$jspbMessageInstance = msg;
1766
- }
1767
- return obj;
1768
- };
1769
- }
1770
-
1771
-
1772
- /**
1773
- * Deserializes binary data (in protobuf wire format).
1774
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1775
- * @return {!proto.DeleteJobTitleResponse}
1776
- */
1777
- proto.DeleteJobTitleResponse.deserializeBinary = function(bytes) {
1778
- var reader = new jspb.BinaryReader(bytes);
1779
- var msg = new proto.DeleteJobTitleResponse;
1780
- return proto.DeleteJobTitleResponse.deserializeBinaryFromReader(msg, reader);
1781
- };
1782
-
1783
-
1784
- /**
1785
- * Deserializes binary data (in protobuf wire format) from the
1786
- * given reader into the given message object.
1787
- * @param {!proto.DeleteJobTitleResponse} msg The message object to deserialize into.
1788
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1789
- * @return {!proto.DeleteJobTitleResponse}
1790
- */
1791
- proto.DeleteJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
1792
- while (reader.nextField()) {
1793
- if (reader.isEndGroup()) {
1794
- break;
1795
- }
1796
- var field = reader.getFieldNumber();
1797
- switch (field) {
1798
- case 1:
1799
- var value = /** @type {number} */ (reader.readInt64());
1800
- msg.setId(value);
1801
- break;
1802
- case 2:
1803
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1804
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1805
- msg.setMeta(value);
1806
- break;
1807
- default:
1808
- reader.skipField();
1809
- break;
1810
- }
1811
- }
1812
- return msg;
1813
- };
1814
-
1815
-
1816
- /**
1817
- * Serializes the message to binary data (in protobuf wire format).
1818
- * @return {!Uint8Array}
1819
- */
1820
- proto.DeleteJobTitleResponse.prototype.serializeBinary = function() {
1821
- var writer = new jspb.BinaryWriter();
1822
- proto.DeleteJobTitleResponse.serializeBinaryToWriter(this, writer);
1823
- return writer.getResultBuffer();
1824
- };
1825
-
1826
-
1827
- /**
1828
- * Serializes the given message to binary data (in protobuf wire
1829
- * format), writing to the given BinaryWriter.
1830
- * @param {!proto.DeleteJobTitleResponse} message
1831
- * @param {!jspb.BinaryWriter} writer
1832
- * @suppress {unusedLocalVariables} f is only used for nested messages
1833
- */
1834
- proto.DeleteJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
1835
- var f = undefined;
1836
- f = message.getId();
1837
- if (f !== 0) {
1838
- writer.writeInt64(
1839
- 1,
1840
- f
1841
- );
1842
- }
1843
- f = message.getMeta();
1844
- if (f != null) {
1845
- writer.writeMessage(
1846
- 2,
1847
- f,
1848
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1849
- );
1850
- }
1851
- };
1852
-
1853
-
1854
- /**
1855
- * optional int64 id = 1;
1856
- * @return {number}
1857
- */
1858
- proto.DeleteJobTitleResponse.prototype.getId = function() {
1859
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1860
- };
1861
-
1862
-
1863
- /**
1864
- * @param {number} value
1865
- * @return {!proto.DeleteJobTitleResponse} returns this
1866
- */
1867
- proto.DeleteJobTitleResponse.prototype.setId = function(value) {
1868
- return jspb.Message.setProto3IntField(this, 1, value);
1869
- };
1870
-
1871
-
1872
- /**
1873
- * optional prisca.v1.global.meta.Meta meta = 2;
1874
- * @return {?proto.prisca.v1.global.meta.Meta}
1875
- */
1876
- proto.DeleteJobTitleResponse.prototype.getMeta = function() {
1877
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1878
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1879
- };
1880
-
1881
-
1882
- /**
1883
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1884
- * @return {!proto.DeleteJobTitleResponse} returns this
1885
- */
1886
- proto.DeleteJobTitleResponse.prototype.setMeta = function(value) {
1887
- return jspb.Message.setWrapperField(this, 2, value);
1888
- };
1889
-
1890
-
1891
- /**
1892
- * Clears the message field making it undefined.
1893
- * @return {!proto.DeleteJobTitleResponse} returns this
1894
- */
1895
- proto.DeleteJobTitleResponse.prototype.clearMeta = function() {
1896
- return this.setMeta(undefined);
1897
- };
1898
-
1899
-
1900
- /**
1901
- * Returns whether this field is set.
1902
- * @return {boolean}
1903
- */
1904
- proto.DeleteJobTitleResponse.prototype.hasMeta = function() {
1905
- return jspb.Message.getField(this, 2) != null;
1906
- };
1907
-
1908
-
1909
-
1910
-
1911
-
1912
- if (jspb.Message.GENERATE_TO_OBJECT) {
1913
- /**
1914
- * Creates an object representation of this proto.
1915
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1916
- * Optional fields that are not set will be set to undefined.
1917
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1918
- * For the list of reserved names please see:
1919
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1920
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1921
- * JSPB instance for transitional soy proto support:
1922
- * http://goto/soy-param-migration
1923
- * @return {!Object}
1924
- */
1925
- proto.GetListJobTitleRequest.prototype.toObject = function(opt_includeInstance) {
1926
- return proto.GetListJobTitleRequest.toObject(opt_includeInstance, this);
1927
- };
1928
-
1929
-
1930
- /**
1931
- * Static version of the {@see toObject} method.
1932
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1933
- * the JSPB instance for transitional soy proto support:
1934
- * http://goto/soy-param-migration
1935
- * @param {!proto.GetListJobTitleRequest} msg The msg instance to transform.
1936
- * @return {!Object}
1937
- * @suppress {unusedLocalVariables} f is only used for nested messages
1938
- */
1939
- proto.GetListJobTitleRequest.toObject = function(includeInstance, msg) {
1940
- var f, obj = {
1941
- pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1942
- query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1943
- };
1944
-
1945
- if (includeInstance) {
1946
- obj.$jspbMessageInstance = msg;
1947
- }
1948
- return obj;
1949
- };
1950
- }
1951
-
1952
-
1953
- /**
1954
- * Deserializes binary data (in protobuf wire format).
1955
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1956
- * @return {!proto.GetListJobTitleRequest}
1957
- */
1958
- proto.GetListJobTitleRequest.deserializeBinary = function(bytes) {
1959
- var reader = new jspb.BinaryReader(bytes);
1960
- var msg = new proto.GetListJobTitleRequest;
1961
- return proto.GetListJobTitleRequest.deserializeBinaryFromReader(msg, reader);
1962
- };
1963
-
1964
-
1965
- /**
1966
- * Deserializes binary data (in protobuf wire format) from the
1967
- * given reader into the given message object.
1968
- * @param {!proto.GetListJobTitleRequest} msg The message object to deserialize into.
1969
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1970
- * @return {!proto.GetListJobTitleRequest}
1971
- */
1972
- proto.GetListJobTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
1973
- while (reader.nextField()) {
1974
- if (reader.isEndGroup()) {
1975
- break;
1976
- }
1977
- var field = reader.getFieldNumber();
1978
- switch (field) {
1979
- case 1:
1980
- var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1981
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1982
- msg.setPagination(value);
1983
- break;
1984
- case 2:
1985
- var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1986
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1987
- msg.setQuery(value);
1988
- break;
1989
- default:
1990
- reader.skipField();
1991
- break;
1992
- }
1993
- }
1994
- return msg;
1995
- };
1996
-
1997
-
1998
- /**
1999
- * Serializes the message to binary data (in protobuf wire format).
2000
- * @return {!Uint8Array}
2001
- */
2002
- proto.GetListJobTitleRequest.prototype.serializeBinary = function() {
2003
- var writer = new jspb.BinaryWriter();
2004
- proto.GetListJobTitleRequest.serializeBinaryToWriter(this, writer);
2005
- return writer.getResultBuffer();
2006
- };
2007
-
2008
-
2009
- /**
2010
- * Serializes the given message to binary data (in protobuf wire
2011
- * format), writing to the given BinaryWriter.
2012
- * @param {!proto.GetListJobTitleRequest} message
2013
- * @param {!jspb.BinaryWriter} writer
2014
- * @suppress {unusedLocalVariables} f is only used for nested messages
2015
- */
2016
- proto.GetListJobTitleRequest.serializeBinaryToWriter = function(message, writer) {
2017
- var f = undefined;
2018
- f = message.getPagination();
2019
- if (f != null) {
2020
- writer.writeMessage(
2021
- 1,
2022
- f,
2023
- prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
2024
- );
2025
- }
2026
- f = message.getQuery();
2027
- if (f != null) {
2028
- writer.writeMessage(
2029
- 2,
2030
- f,
2031
- prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
2032
- );
2033
- }
2034
- };
2035
-
2036
-
2037
- /**
2038
- * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
2039
- * @return {?proto.prisca.v1.global.meta.PaginationRequest}
2040
- */
2041
- proto.GetListJobTitleRequest.prototype.getPagination = function() {
2042
- return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
2043
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
2044
- };
2045
-
2046
-
2047
- /**
2048
- * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
2049
- * @return {!proto.GetListJobTitleRequest} returns this
2050
- */
2051
- proto.GetListJobTitleRequest.prototype.setPagination = function(value) {
2052
- return jspb.Message.setWrapperField(this, 1, value);
2053
- };
2054
-
2055
-
2056
- /**
2057
- * Clears the message field making it undefined.
2058
- * @return {!proto.GetListJobTitleRequest} returns this
2059
- */
2060
- proto.GetListJobTitleRequest.prototype.clearPagination = function() {
2061
- return this.setPagination(undefined);
2062
- };
2063
-
2064
-
2065
- /**
2066
- * Returns whether this field is set.
2067
- * @return {boolean}
2068
- */
2069
- proto.GetListJobTitleRequest.prototype.hasPagination = function() {
2070
- return jspb.Message.getField(this, 1) != null;
2071
- };
2072
-
2073
-
2074
- /**
2075
- * optional prisca.v1.global.meta.FilterRequest query = 2;
2076
- * @return {?proto.prisca.v1.global.meta.FilterRequest}
2077
- */
2078
- proto.GetListJobTitleRequest.prototype.getQuery = function() {
2079
- return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
2080
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
2081
- };
2082
-
2083
-
2084
- /**
2085
- * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
2086
- * @return {!proto.GetListJobTitleRequest} returns this
2087
- */
2088
- proto.GetListJobTitleRequest.prototype.setQuery = function(value) {
2089
- return jspb.Message.setWrapperField(this, 2, value);
2090
- };
2091
-
2092
-
2093
- /**
2094
- * Clears the message field making it undefined.
2095
- * @return {!proto.GetListJobTitleRequest} returns this
2096
- */
2097
- proto.GetListJobTitleRequest.prototype.clearQuery = function() {
2098
- return this.setQuery(undefined);
2099
- };
2100
-
2101
-
2102
- /**
2103
- * Returns whether this field is set.
2104
- * @return {boolean}
2105
- */
2106
- proto.GetListJobTitleRequest.prototype.hasQuery = function() {
2107
- return jspb.Message.getField(this, 2) != null;
2108
- };
2109
-
2110
-
2111
-
2112
-
2113
-
2114
- if (jspb.Message.GENERATE_TO_OBJECT) {
2115
- /**
2116
- * Creates an object representation of this proto.
2117
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2118
- * Optional fields that are not set will be set to undefined.
2119
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2120
- * For the list of reserved names please see:
2121
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2122
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2123
- * JSPB instance for transitional soy proto support:
2124
- * http://goto/soy-param-migration
2125
- * @return {!Object}
2126
- */
2127
- proto.CreateJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
2128
- return proto.CreateJobTitleResponse.toObject(opt_includeInstance, this);
2129
- };
2130
-
2131
-
2132
- /**
2133
- * Static version of the {@see toObject} method.
2134
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2135
- * the JSPB instance for transitional soy proto support:
2136
- * http://goto/soy-param-migration
2137
- * @param {!proto.CreateJobTitleResponse} msg The msg instance to transform.
2138
- * @return {!Object}
2139
- * @suppress {unusedLocalVariables} f is only used for nested messages
2140
- */
2141
- proto.CreateJobTitleResponse.toObject = function(includeInstance, msg) {
2142
- var f, obj = {
2143
- jobTitle: (f = msg.getJobTitle()) && proto.JobTitle.toObject(includeInstance, f),
2144
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2145
- };
2146
-
2147
- if (includeInstance) {
2148
- obj.$jspbMessageInstance = msg;
2149
- }
2150
- return obj;
2151
- };
2152
- }
2153
-
2154
-
2155
- /**
2156
- * Deserializes binary data (in protobuf wire format).
2157
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2158
- * @return {!proto.CreateJobTitleResponse}
2159
- */
2160
- proto.CreateJobTitleResponse.deserializeBinary = function(bytes) {
2161
- var reader = new jspb.BinaryReader(bytes);
2162
- var msg = new proto.CreateJobTitleResponse;
2163
- return proto.CreateJobTitleResponse.deserializeBinaryFromReader(msg, reader);
2164
- };
2165
-
2166
-
2167
- /**
2168
- * Deserializes binary data (in protobuf wire format) from the
2169
- * given reader into the given message object.
2170
- * @param {!proto.CreateJobTitleResponse} msg The message object to deserialize into.
2171
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2172
- * @return {!proto.CreateJobTitleResponse}
2173
- */
2174
- proto.CreateJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
2175
- while (reader.nextField()) {
2176
- if (reader.isEndGroup()) {
2177
- break;
2178
- }
2179
- var field = reader.getFieldNumber();
2180
- switch (field) {
2181
- case 1:
2182
- var value = new proto.JobTitle;
2183
- reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
2184
- msg.setJobTitle(value);
2185
- break;
2186
- case 2:
2187
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2188
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2189
- msg.setMeta(value);
2190
- break;
2191
- default:
2192
- reader.skipField();
2193
- break;
2194
- }
2195
- }
2196
- return msg;
2197
- };
2198
-
2199
-
2200
- /**
2201
- * Serializes the message to binary data (in protobuf wire format).
2202
- * @return {!Uint8Array}
2203
- */
2204
- proto.CreateJobTitleResponse.prototype.serializeBinary = function() {
2205
- var writer = new jspb.BinaryWriter();
2206
- proto.CreateJobTitleResponse.serializeBinaryToWriter(this, writer);
2207
- return writer.getResultBuffer();
2208
- };
2209
-
2210
-
2211
- /**
2212
- * Serializes the given message to binary data (in protobuf wire
2213
- * format), writing to the given BinaryWriter.
2214
- * @param {!proto.CreateJobTitleResponse} message
2215
- * @param {!jspb.BinaryWriter} writer
2216
- * @suppress {unusedLocalVariables} f is only used for nested messages
2217
- */
2218
- proto.CreateJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
2219
- var f = undefined;
2220
- f = message.getJobTitle();
2221
- if (f != null) {
2222
- writer.writeMessage(
2223
- 1,
2224
- f,
2225
- proto.JobTitle.serializeBinaryToWriter
2226
- );
2227
- }
2228
- f = message.getMeta();
2229
- if (f != null) {
2230
- writer.writeMessage(
2231
- 2,
2232
- f,
2233
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2234
- );
2235
- }
2236
- };
2237
-
2238
-
2239
- /**
2240
- * optional JobTitle job_title = 1;
2241
- * @return {?proto.JobTitle}
2242
- */
2243
- proto.CreateJobTitleResponse.prototype.getJobTitle = function() {
2244
- return /** @type{?proto.JobTitle} */ (
2245
- jspb.Message.getWrapperField(this, proto.JobTitle, 1));
2246
- };
2247
-
2248
-
2249
- /**
2250
- * @param {?proto.JobTitle|undefined} value
2251
- * @return {!proto.CreateJobTitleResponse} returns this
2252
- */
2253
- proto.CreateJobTitleResponse.prototype.setJobTitle = function(value) {
2254
- return jspb.Message.setWrapperField(this, 1, value);
2255
- };
2256
-
2257
-
2258
- /**
2259
- * Clears the message field making it undefined.
2260
- * @return {!proto.CreateJobTitleResponse} returns this
2261
- */
2262
- proto.CreateJobTitleResponse.prototype.clearJobTitle = function() {
2263
- return this.setJobTitle(undefined);
2264
- };
2265
-
2266
-
2267
- /**
2268
- * Returns whether this field is set.
2269
- * @return {boolean}
2270
- */
2271
- proto.CreateJobTitleResponse.prototype.hasJobTitle = function() {
2272
- return jspb.Message.getField(this, 1) != null;
2273
- };
2274
-
2275
-
2276
- /**
2277
- * optional prisca.v1.global.meta.Meta meta = 2;
2278
- * @return {?proto.prisca.v1.global.meta.Meta}
2279
- */
2280
- proto.CreateJobTitleResponse.prototype.getMeta = function() {
2281
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2282
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2283
- };
2284
-
2285
-
2286
- /**
2287
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2288
- * @return {!proto.CreateJobTitleResponse} returns this
2289
- */
2290
- proto.CreateJobTitleResponse.prototype.setMeta = function(value) {
2291
- return jspb.Message.setWrapperField(this, 2, value);
2292
- };
2293
-
2294
-
2295
- /**
2296
- * Clears the message field making it undefined.
2297
- * @return {!proto.CreateJobTitleResponse} returns this
2298
- */
2299
- proto.CreateJobTitleResponse.prototype.clearMeta = function() {
2300
- return this.setMeta(undefined);
2301
- };
2302
-
2303
-
2304
- /**
2305
- * Returns whether this field is set.
2306
- * @return {boolean}
2307
- */
2308
- proto.CreateJobTitleResponse.prototype.hasMeta = function() {
2309
- return jspb.Message.getField(this, 2) != null;
2310
- };
2311
-
2312
-
2313
-
2314
- /**
2315
- * List of repeated fields within this message type.
2316
- * @private {!Array<number>}
2317
- * @const
2318
- */
2319
- proto.GetListJobTitleResponse.repeatedFields_ = [1];
2320
-
2321
-
2322
-
2323
- if (jspb.Message.GENERATE_TO_OBJECT) {
2324
- /**
2325
- * Creates an object representation of this proto.
2326
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2327
- * Optional fields that are not set will be set to undefined.
2328
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2329
- * For the list of reserved names please see:
2330
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2331
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2332
- * JSPB instance for transitional soy proto support:
2333
- * http://goto/soy-param-migration
2334
- * @return {!Object}
2335
- */
2336
- proto.GetListJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
2337
- return proto.GetListJobTitleResponse.toObject(opt_includeInstance, this);
2338
- };
2339
-
2340
-
2341
- /**
2342
- * Static version of the {@see toObject} method.
2343
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2344
- * the JSPB instance for transitional soy proto support:
2345
- * http://goto/soy-param-migration
2346
- * @param {!proto.GetListJobTitleResponse} msg The msg instance to transform.
2347
- * @return {!Object}
2348
- * @suppress {unusedLocalVariables} f is only used for nested messages
2349
- */
2350
- proto.GetListJobTitleResponse.toObject = function(includeInstance, msg) {
2351
- var f, obj = {
2352
- jobTitleList: jspb.Message.toObjectList(msg.getJobTitleList(),
2353
- proto.BaseJobTitle.toObject, includeInstance),
2354
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2355
- };
2356
-
2357
- if (includeInstance) {
2358
- obj.$jspbMessageInstance = msg;
2359
- }
2360
- return obj;
2361
- };
2362
- }
2363
-
2364
-
2365
- /**
2366
- * Deserializes binary data (in protobuf wire format).
2367
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2368
- * @return {!proto.GetListJobTitleResponse}
2369
- */
2370
- proto.GetListJobTitleResponse.deserializeBinary = function(bytes) {
2371
- var reader = new jspb.BinaryReader(bytes);
2372
- var msg = new proto.GetListJobTitleResponse;
2373
- return proto.GetListJobTitleResponse.deserializeBinaryFromReader(msg, reader);
2374
- };
2375
-
2376
-
2377
- /**
2378
- * Deserializes binary data (in protobuf wire format) from the
2379
- * given reader into the given message object.
2380
- * @param {!proto.GetListJobTitleResponse} msg The message object to deserialize into.
2381
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2382
- * @return {!proto.GetListJobTitleResponse}
2383
- */
2384
- proto.GetListJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
2385
- while (reader.nextField()) {
2386
- if (reader.isEndGroup()) {
2387
- break;
2388
- }
2389
- var field = reader.getFieldNumber();
2390
- switch (field) {
2391
- case 1:
2392
- var value = new proto.BaseJobTitle;
2393
- reader.readMessage(value,proto.BaseJobTitle.deserializeBinaryFromReader);
2394
- msg.addJobTitle(value);
2395
- break;
2396
- case 2:
2397
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2398
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2399
- msg.setMeta(value);
2400
- break;
2401
- default:
2402
- reader.skipField();
2403
- break;
2404
- }
2405
- }
2406
- return msg;
2407
- };
2408
-
2409
-
2410
- /**
2411
- * Serializes the message to binary data (in protobuf wire format).
2412
- * @return {!Uint8Array}
2413
- */
2414
- proto.GetListJobTitleResponse.prototype.serializeBinary = function() {
2415
- var writer = new jspb.BinaryWriter();
2416
- proto.GetListJobTitleResponse.serializeBinaryToWriter(this, writer);
2417
- return writer.getResultBuffer();
2418
- };
2419
-
2420
-
2421
- /**
2422
- * Serializes the given message to binary data (in protobuf wire
2423
- * format), writing to the given BinaryWriter.
2424
- * @param {!proto.GetListJobTitleResponse} message
2425
- * @param {!jspb.BinaryWriter} writer
2426
- * @suppress {unusedLocalVariables} f is only used for nested messages
2427
- */
2428
- proto.GetListJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
2429
- var f = undefined;
2430
- f = message.getJobTitleList();
2431
- if (f.length > 0) {
2432
- writer.writeRepeatedMessage(
2433
- 1,
2434
- f,
2435
- proto.BaseJobTitle.serializeBinaryToWriter
2436
- );
2437
- }
2438
- f = message.getMeta();
2439
- if (f != null) {
2440
- writer.writeMessage(
2441
- 2,
2442
- f,
2443
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2444
- );
2445
- }
2446
- };
2447
-
2448
-
2449
- /**
2450
- * repeated BaseJobTitle job_title = 1;
2451
- * @return {!Array<!proto.BaseJobTitle>}
2452
- */
2453
- proto.GetListJobTitleResponse.prototype.getJobTitleList = function() {
2454
- return /** @type{!Array<!proto.BaseJobTitle>} */ (
2455
- jspb.Message.getRepeatedWrapperField(this, proto.BaseJobTitle, 1));
2456
- };
2457
-
2458
-
2459
- /**
2460
- * @param {!Array<!proto.BaseJobTitle>} value
2461
- * @return {!proto.GetListJobTitleResponse} returns this
2462
- */
2463
- proto.GetListJobTitleResponse.prototype.setJobTitleList = function(value) {
2464
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2465
- };
2466
-
2467
-
2468
- /**
2469
- * @param {!proto.BaseJobTitle=} opt_value
2470
- * @param {number=} opt_index
2471
- * @return {!proto.BaseJobTitle}
2472
- */
2473
- proto.GetListJobTitleResponse.prototype.addJobTitle = function(opt_value, opt_index) {
2474
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseJobTitle, opt_index);
2475
- };
2476
-
2477
-
2478
- /**
2479
- * Clears the list making it empty but non-null.
2480
- * @return {!proto.GetListJobTitleResponse} returns this
2481
- */
2482
- proto.GetListJobTitleResponse.prototype.clearJobTitleList = function() {
2483
- return this.setJobTitleList([]);
2484
- };
2485
-
2486
-
2487
- /**
2488
- * optional prisca.v1.global.meta.Meta meta = 2;
2489
- * @return {?proto.prisca.v1.global.meta.Meta}
2490
- */
2491
- proto.GetListJobTitleResponse.prototype.getMeta = function() {
2492
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2493
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2494
- };
2495
-
2496
-
2497
- /**
2498
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2499
- * @return {!proto.GetListJobTitleResponse} returns this
2500
- */
2501
- proto.GetListJobTitleResponse.prototype.setMeta = function(value) {
2502
- return jspb.Message.setWrapperField(this, 2, value);
2503
- };
2504
-
2505
-
2506
- /**
2507
- * Clears the message field making it undefined.
2508
- * @return {!proto.GetListJobTitleResponse} returns this
2509
- */
2510
- proto.GetListJobTitleResponse.prototype.clearMeta = function() {
2511
- return this.setMeta(undefined);
2512
- };
2513
-
2514
-
2515
- /**
2516
- * Returns whether this field is set.
2517
- * @return {boolean}
2518
- */
2519
- proto.GetListJobTitleResponse.prototype.hasMeta = function() {
2520
- return jspb.Message.getField(this, 2) != null;
2521
- };
2522
-
2523
-
2524
-
2525
-
2526
-
2527
- if (jspb.Message.GENERATE_TO_OBJECT) {
2528
- /**
2529
- * Creates an object representation of this proto.
2530
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2531
- * Optional fields that are not set will be set to undefined.
2532
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2533
- * For the list of reserved names please see:
2534
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2535
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2536
- * JSPB instance for transitional soy proto support:
2537
- * http://goto/soy-param-migration
2538
- * @return {!Object}
2539
- */
2540
- proto.UpdateJobTitleResponse.prototype.toObject = function(opt_includeInstance) {
2541
- return proto.UpdateJobTitleResponse.toObject(opt_includeInstance, this);
2542
- };
2543
-
2544
-
2545
- /**
2546
- * Static version of the {@see toObject} method.
2547
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2548
- * the JSPB instance for transitional soy proto support:
2549
- * http://goto/soy-param-migration
2550
- * @param {!proto.UpdateJobTitleResponse} msg The msg instance to transform.
2551
- * @return {!Object}
2552
- * @suppress {unusedLocalVariables} f is only used for nested messages
2553
- */
2554
- proto.UpdateJobTitleResponse.toObject = function(includeInstance, msg) {
2555
- var f, obj = {
2556
- jobTitle: (f = msg.getJobTitle()) && proto.JobTitle.toObject(includeInstance, f),
2557
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2558
- };
2559
-
2560
- if (includeInstance) {
2561
- obj.$jspbMessageInstance = msg;
2562
- }
2563
- return obj;
2564
- };
2565
- }
2566
-
2567
-
2568
- /**
2569
- * Deserializes binary data (in protobuf wire format).
2570
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2571
- * @return {!proto.UpdateJobTitleResponse}
2572
- */
2573
- proto.UpdateJobTitleResponse.deserializeBinary = function(bytes) {
2574
- var reader = new jspb.BinaryReader(bytes);
2575
- var msg = new proto.UpdateJobTitleResponse;
2576
- return proto.UpdateJobTitleResponse.deserializeBinaryFromReader(msg, reader);
2577
- };
2578
-
2579
-
2580
- /**
2581
- * Deserializes binary data (in protobuf wire format) from the
2582
- * given reader into the given message object.
2583
- * @param {!proto.UpdateJobTitleResponse} msg The message object to deserialize into.
2584
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2585
- * @return {!proto.UpdateJobTitleResponse}
2586
- */
2587
- proto.UpdateJobTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
2588
- while (reader.nextField()) {
2589
- if (reader.isEndGroup()) {
2590
- break;
2591
- }
2592
- var field = reader.getFieldNumber();
2593
- switch (field) {
2594
- case 1:
2595
- var value = new proto.JobTitle;
2596
- reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
2597
- msg.setJobTitle(value);
2598
- break;
2599
- case 2:
2600
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2601
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2602
- msg.setMeta(value);
2603
- break;
2604
- default:
2605
- reader.skipField();
2606
- break;
2607
- }
2608
- }
2609
- return msg;
2610
- };
2611
-
2612
-
2613
- /**
2614
- * Serializes the message to binary data (in protobuf wire format).
2615
- * @return {!Uint8Array}
2616
- */
2617
- proto.UpdateJobTitleResponse.prototype.serializeBinary = function() {
2618
- var writer = new jspb.BinaryWriter();
2619
- proto.UpdateJobTitleResponse.serializeBinaryToWriter(this, writer);
2620
- return writer.getResultBuffer();
2621
- };
2622
-
2623
-
2624
- /**
2625
- * Serializes the given message to binary data (in protobuf wire
2626
- * format), writing to the given BinaryWriter.
2627
- * @param {!proto.UpdateJobTitleResponse} message
2628
- * @param {!jspb.BinaryWriter} writer
2629
- * @suppress {unusedLocalVariables} f is only used for nested messages
2630
- */
2631
- proto.UpdateJobTitleResponse.serializeBinaryToWriter = function(message, writer) {
2632
- var f = undefined;
2633
- f = message.getJobTitle();
2634
- if (f != null) {
2635
- writer.writeMessage(
2636
- 1,
2637
- f,
2638
- proto.JobTitle.serializeBinaryToWriter
2639
- );
2640
- }
2641
- f = message.getMeta();
2642
- if (f != null) {
2643
- writer.writeMessage(
2644
- 2,
2645
- f,
2646
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2647
- );
2648
- }
2649
- };
2650
-
2651
-
2652
- /**
2653
- * optional JobTitle job_title = 1;
2654
- * @return {?proto.JobTitle}
2655
- */
2656
- proto.UpdateJobTitleResponse.prototype.getJobTitle = function() {
2657
- return /** @type{?proto.JobTitle} */ (
2658
- jspb.Message.getWrapperField(this, proto.JobTitle, 1));
2659
- };
2660
-
2661
-
2662
- /**
2663
- * @param {?proto.JobTitle|undefined} value
2664
- * @return {!proto.UpdateJobTitleResponse} returns this
2665
- */
2666
- proto.UpdateJobTitleResponse.prototype.setJobTitle = function(value) {
2667
- return jspb.Message.setWrapperField(this, 1, value);
2668
- };
2669
-
2670
-
2671
- /**
2672
- * Clears the message field making it undefined.
2673
- * @return {!proto.UpdateJobTitleResponse} returns this
2674
- */
2675
- proto.UpdateJobTitleResponse.prototype.clearJobTitle = function() {
2676
- return this.setJobTitle(undefined);
2677
- };
2678
-
2679
-
2680
- /**
2681
- * Returns whether this field is set.
2682
- * @return {boolean}
2683
- */
2684
- proto.UpdateJobTitleResponse.prototype.hasJobTitle = function() {
2685
- return jspb.Message.getField(this, 1) != null;
2686
- };
2687
-
2688
-
2689
- /**
2690
- * optional prisca.v1.global.meta.Meta meta = 2;
2691
- * @return {?proto.prisca.v1.global.meta.Meta}
2692
- */
2693
- proto.UpdateJobTitleResponse.prototype.getMeta = function() {
2694
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2695
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2696
- };
2697
-
2698
-
2699
- /**
2700
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2701
- * @return {!proto.UpdateJobTitleResponse} returns this
2702
- */
2703
- proto.UpdateJobTitleResponse.prototype.setMeta = function(value) {
2704
- return jspb.Message.setWrapperField(this, 2, value);
2705
- };
2706
-
2707
-
2708
- /**
2709
- * Clears the message field making it undefined.
2710
- * @return {!proto.UpdateJobTitleResponse} returns this
2711
- */
2712
- proto.UpdateJobTitleResponse.prototype.clearMeta = function() {
2713
- return this.setMeta(undefined);
2714
- };
2715
-
2716
-
2717
- /**
2718
- * Returns whether this field is set.
2719
- * @return {boolean}
2720
- */
2721
- proto.UpdateJobTitleResponse.prototype.hasMeta = function() {
2722
- return jspb.Message.getField(this, 2) != null;
2723
- };
2724
-
2725
-
2726
-
2727
-
2728
-
2729
- if (jspb.Message.GENERATE_TO_OBJECT) {
2730
- /**
2731
- * Creates an object representation of this proto.
2732
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2733
- * Optional fields that are not set will be set to undefined.
2734
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2735
- * For the list of reserved names please see:
2736
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2737
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2738
- * JSPB instance for transitional soy proto support:
2739
- * http://goto/soy-param-migration
2740
- * @return {!Object}
2741
- */
2742
- proto.JobTitleGetByIdResponse.prototype.toObject = function(opt_includeInstance) {
2743
- return proto.JobTitleGetByIdResponse.toObject(opt_includeInstance, this);
2744
- };
2745
-
2746
-
2747
- /**
2748
- * Static version of the {@see toObject} method.
2749
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2750
- * the JSPB instance for transitional soy proto support:
2751
- * http://goto/soy-param-migration
2752
- * @param {!proto.JobTitleGetByIdResponse} msg The msg instance to transform.
2753
- * @return {!Object}
2754
- * @suppress {unusedLocalVariables} f is only used for nested messages
2755
- */
2756
- proto.JobTitleGetByIdResponse.toObject = function(includeInstance, msg) {
2757
- var f, obj = {
2758
- jobTitle: (f = msg.getJobTitle()) && proto.BaseJobTitle.toObject(includeInstance, f),
2759
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2760
- };
2761
-
2762
- if (includeInstance) {
2763
- obj.$jspbMessageInstance = msg;
2764
- }
2765
- return obj;
2766
- };
2767
- }
2768
-
2769
-
2770
- /**
2771
- * Deserializes binary data (in protobuf wire format).
2772
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2773
- * @return {!proto.JobTitleGetByIdResponse}
2774
- */
2775
- proto.JobTitleGetByIdResponse.deserializeBinary = function(bytes) {
2776
- var reader = new jspb.BinaryReader(bytes);
2777
- var msg = new proto.JobTitleGetByIdResponse;
2778
- return proto.JobTitleGetByIdResponse.deserializeBinaryFromReader(msg, reader);
2779
- };
2780
-
2781
-
2782
- /**
2783
- * Deserializes binary data (in protobuf wire format) from the
2784
- * given reader into the given message object.
2785
- * @param {!proto.JobTitleGetByIdResponse} msg The message object to deserialize into.
2786
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2787
- * @return {!proto.JobTitleGetByIdResponse}
2788
- */
2789
- proto.JobTitleGetByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2790
- while (reader.nextField()) {
2791
- if (reader.isEndGroup()) {
2792
- break;
2793
- }
2794
- var field = reader.getFieldNumber();
2795
- switch (field) {
2796
- case 1:
2797
- var value = new proto.BaseJobTitle;
2798
- reader.readMessage(value,proto.BaseJobTitle.deserializeBinaryFromReader);
2799
- msg.setJobTitle(value);
2800
- break;
2801
- case 2:
2802
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2803
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2804
- msg.setMeta(value);
2805
- break;
2806
- default:
2807
- reader.skipField();
2808
- break;
2809
- }
2810
- }
2811
- return msg;
2812
- };
2813
-
2814
-
2815
- /**
2816
- * Serializes the message to binary data (in protobuf wire format).
2817
- * @return {!Uint8Array}
2818
- */
2819
- proto.JobTitleGetByIdResponse.prototype.serializeBinary = function() {
2820
- var writer = new jspb.BinaryWriter();
2821
- proto.JobTitleGetByIdResponse.serializeBinaryToWriter(this, writer);
2822
- return writer.getResultBuffer();
2823
- };
2824
-
2825
-
2826
- /**
2827
- * Serializes the given message to binary data (in protobuf wire
2828
- * format), writing to the given BinaryWriter.
2829
- * @param {!proto.JobTitleGetByIdResponse} message
2830
- * @param {!jspb.BinaryWriter} writer
2831
- * @suppress {unusedLocalVariables} f is only used for nested messages
2832
- */
2833
- proto.JobTitleGetByIdResponse.serializeBinaryToWriter = function(message, writer) {
2834
- var f = undefined;
2835
- f = message.getJobTitle();
2836
- if (f != null) {
2837
- writer.writeMessage(
2838
- 1,
2839
- f,
2840
- proto.BaseJobTitle.serializeBinaryToWriter
2841
- );
2842
- }
2843
- f = message.getMeta();
2844
- if (f != null) {
2845
- writer.writeMessage(
2846
- 2,
2847
- f,
2848
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2849
- );
2850
- }
2851
- };
2852
-
2853
-
2854
- /**
2855
- * optional BaseJobTitle job_title = 1;
2856
- * @return {?proto.BaseJobTitle}
2857
- */
2858
- proto.JobTitleGetByIdResponse.prototype.getJobTitle = function() {
2859
- return /** @type{?proto.BaseJobTitle} */ (
2860
- jspb.Message.getWrapperField(this, proto.BaseJobTitle, 1));
2861
- };
2862
-
2863
-
2864
- /**
2865
- * @param {?proto.BaseJobTitle|undefined} value
2866
- * @return {!proto.JobTitleGetByIdResponse} returns this
2867
- */
2868
- proto.JobTitleGetByIdResponse.prototype.setJobTitle = function(value) {
2869
- return jspb.Message.setWrapperField(this, 1, value);
2870
- };
2871
-
2872
-
2873
- /**
2874
- * Clears the message field making it undefined.
2875
- * @return {!proto.JobTitleGetByIdResponse} returns this
2876
- */
2877
- proto.JobTitleGetByIdResponse.prototype.clearJobTitle = function() {
2878
- return this.setJobTitle(undefined);
2879
- };
2880
-
2881
-
2882
- /**
2883
- * Returns whether this field is set.
2884
- * @return {boolean}
2885
- */
2886
- proto.JobTitleGetByIdResponse.prototype.hasJobTitle = function() {
2887
- return jspb.Message.getField(this, 1) != null;
2888
- };
2889
-
2890
-
2891
- /**
2892
- * optional prisca.v1.global.meta.Meta meta = 2;
2893
- * @return {?proto.prisca.v1.global.meta.Meta}
2894
- */
2895
- proto.JobTitleGetByIdResponse.prototype.getMeta = function() {
2896
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2897
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2898
- };
2899
-
2900
-
2901
- /**
2902
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2903
- * @return {!proto.JobTitleGetByIdResponse} returns this
2904
- */
2905
- proto.JobTitleGetByIdResponse.prototype.setMeta = function(value) {
2906
- return jspb.Message.setWrapperField(this, 2, value);
2907
- };
2908
-
2909
-
2910
- /**
2911
- * Clears the message field making it undefined.
2912
- * @return {!proto.JobTitleGetByIdResponse} returns this
2913
- */
2914
- proto.JobTitleGetByIdResponse.prototype.clearMeta = function() {
2915
- return this.setMeta(undefined);
2916
- };
2917
-
2918
-
2919
- /**
2920
- * Returns whether this field is set.
2921
- * @return {boolean}
2922
- */
2923
- proto.JobTitleGetByIdResponse.prototype.hasMeta = function() {
2924
- return jspb.Message.getField(this, 2) != null;
2925
- };
2926
-
2927
-
2928
- goog.object.extend(exports, proto);