@aldiokta/protocgen 1.0.1 → 1.0.3

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