@aldiokta/protocgen 1.0.76 → 1.0.77
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.
- package/package.json +1 -1
- package/prisca/v1/core/employee/employee_grpc_pb.js +63 -63
- package/prisca/v1/core/employee/employee_pb.js +604 -604
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +4 -4
- package/prisca/v1/core/material/material_pb.js +8 -8
- package/prisca/v1/core/material_group/material_group_pb.js +8 -8
- package/prisca/v1/core/material_type/material_type_pb.js +8 -8
- package/prisca/v1/core/number_range/number_range_pb.js +8 -8
- package/prisca/v1/core/workflow/workflow_pb.js +15 -15
|
@@ -37,20 +37,20 @@ var prisca_v1_core_location_location_pb = require('../../../../prisca/v1/core/lo
|
|
|
37
37
|
goog.object.extend(proto, prisca_v1_core_location_location_pb);
|
|
38
38
|
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
39
39
|
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
40
|
-
goog.exportSymbol('proto.
|
|
41
|
-
goog.exportSymbol('proto.
|
|
42
|
-
goog.exportSymbol('proto.
|
|
43
|
-
goog.exportSymbol('proto.
|
|
44
|
-
goog.exportSymbol('proto.
|
|
45
|
-
goog.exportSymbol('proto.
|
|
46
|
-
goog.exportSymbol('proto.
|
|
47
|
-
goog.exportSymbol('proto.
|
|
48
|
-
goog.exportSymbol('proto.
|
|
49
|
-
goog.exportSymbol('proto.
|
|
50
|
-
goog.exportSymbol('proto.
|
|
51
|
-
goog.exportSymbol('proto.
|
|
52
|
-
goog.exportSymbol('proto.
|
|
53
|
-
goog.exportSymbol('proto.
|
|
40
|
+
goog.exportSymbol('proto.BaseEmployee', null, global);
|
|
41
|
+
goog.exportSymbol('proto.BaseEmployeeDefault', null, global);
|
|
42
|
+
goog.exportSymbol('proto.CreateEmployeeDefaultRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.CreateEmployeeRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.CreateEmployeeResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.DeleteEmployeeRequest', null, global);
|
|
46
|
+
goog.exportSymbol('proto.DeleteEmployeeResponse', null, global);
|
|
47
|
+
goog.exportSymbol('proto.Employee', null, global);
|
|
48
|
+
goog.exportSymbol('proto.EmployeeGetByIdResponse', null, global);
|
|
49
|
+
goog.exportSymbol('proto.GetEmployeeByIdRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.GetListEmployeeRequest', null, global);
|
|
51
|
+
goog.exportSymbol('proto.GetListEmployeeResponse', null, global);
|
|
52
|
+
goog.exportSymbol('proto.UpdateEmployeeRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.UpdateEmployeeResponse', null, global);
|
|
54
54
|
/**
|
|
55
55
|
* Generated by JsPbCodeGenerator.
|
|
56
56
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -61,16 +61,16 @@ goog.exportSymbol('proto.prisca.v1.core.employee.UpdateEmployeeResponse', null,
|
|
|
61
61
|
* @extends {jspb.Message}
|
|
62
62
|
* @constructor
|
|
63
63
|
*/
|
|
64
|
-
proto.
|
|
64
|
+
proto.Employee = function(opt_data) {
|
|
65
65
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
66
66
|
};
|
|
67
|
-
goog.inherits(proto.
|
|
67
|
+
goog.inherits(proto.Employee, jspb.Message);
|
|
68
68
|
if (goog.DEBUG && !COMPILED) {
|
|
69
69
|
/**
|
|
70
70
|
* @public
|
|
71
71
|
* @override
|
|
72
72
|
*/
|
|
73
|
-
proto.
|
|
73
|
+
proto.Employee.displayName = 'proto.Employee';
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* Generated by JsPbCodeGenerator.
|
|
@@ -82,16 +82,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
82
82
|
* @extends {jspb.Message}
|
|
83
83
|
* @constructor
|
|
84
84
|
*/
|
|
85
|
-
proto.
|
|
85
|
+
proto.BaseEmployee = function(opt_data) {
|
|
86
86
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
87
87
|
};
|
|
88
|
-
goog.inherits(proto.
|
|
88
|
+
goog.inherits(proto.BaseEmployee, jspb.Message);
|
|
89
89
|
if (goog.DEBUG && !COMPILED) {
|
|
90
90
|
/**
|
|
91
91
|
* @public
|
|
92
92
|
* @override
|
|
93
93
|
*/
|
|
94
|
-
proto.
|
|
94
|
+
proto.BaseEmployee.displayName = 'proto.BaseEmployee';
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Generated by JsPbCodeGenerator.
|
|
@@ -103,16 +103,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
103
103
|
* @extends {jspb.Message}
|
|
104
104
|
* @constructor
|
|
105
105
|
*/
|
|
106
|
-
proto.
|
|
106
|
+
proto.BaseEmployeeDefault = function(opt_data) {
|
|
107
107
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
108
108
|
};
|
|
109
|
-
goog.inherits(proto.
|
|
109
|
+
goog.inherits(proto.BaseEmployeeDefault, jspb.Message);
|
|
110
110
|
if (goog.DEBUG && !COMPILED) {
|
|
111
111
|
/**
|
|
112
112
|
* @public
|
|
113
113
|
* @override
|
|
114
114
|
*/
|
|
115
|
-
proto.
|
|
115
|
+
proto.BaseEmployeeDefault.displayName = 'proto.BaseEmployeeDefault';
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
118
|
* Generated by JsPbCodeGenerator.
|
|
@@ -124,16 +124,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
124
124
|
* @extends {jspb.Message}
|
|
125
125
|
* @constructor
|
|
126
126
|
*/
|
|
127
|
-
proto.
|
|
127
|
+
proto.GetEmployeeByIdRequest = function(opt_data) {
|
|
128
128
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
129
129
|
};
|
|
130
|
-
goog.inherits(proto.
|
|
130
|
+
goog.inherits(proto.GetEmployeeByIdRequest, jspb.Message);
|
|
131
131
|
if (goog.DEBUG && !COMPILED) {
|
|
132
132
|
/**
|
|
133
133
|
* @public
|
|
134
134
|
* @override
|
|
135
135
|
*/
|
|
136
|
-
proto.
|
|
136
|
+
proto.GetEmployeeByIdRequest.displayName = 'proto.GetEmployeeByIdRequest';
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
139
|
* Generated by JsPbCodeGenerator.
|
|
@@ -145,16 +145,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
145
145
|
* @extends {jspb.Message}
|
|
146
146
|
* @constructor
|
|
147
147
|
*/
|
|
148
|
-
proto.
|
|
148
|
+
proto.CreateEmployeeDefaultRequest = function(opt_data) {
|
|
149
149
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
150
150
|
};
|
|
151
|
-
goog.inherits(proto.
|
|
151
|
+
goog.inherits(proto.CreateEmployeeDefaultRequest, jspb.Message);
|
|
152
152
|
if (goog.DEBUG && !COMPILED) {
|
|
153
153
|
/**
|
|
154
154
|
* @public
|
|
155
155
|
* @override
|
|
156
156
|
*/
|
|
157
|
-
proto.
|
|
157
|
+
proto.CreateEmployeeDefaultRequest.displayName = 'proto.CreateEmployeeDefaultRequest';
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* Generated by JsPbCodeGenerator.
|
|
@@ -166,16 +166,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
166
166
|
* @extends {jspb.Message}
|
|
167
167
|
* @constructor
|
|
168
168
|
*/
|
|
169
|
-
proto.
|
|
169
|
+
proto.CreateEmployeeRequest = function(opt_data) {
|
|
170
170
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
171
171
|
};
|
|
172
|
-
goog.inherits(proto.
|
|
172
|
+
goog.inherits(proto.CreateEmployeeRequest, jspb.Message);
|
|
173
173
|
if (goog.DEBUG && !COMPILED) {
|
|
174
174
|
/**
|
|
175
175
|
* @public
|
|
176
176
|
* @override
|
|
177
177
|
*/
|
|
178
|
-
proto.
|
|
178
|
+
proto.CreateEmployeeRequest.displayName = 'proto.CreateEmployeeRequest';
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
181
|
* Generated by JsPbCodeGenerator.
|
|
@@ -187,16 +187,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
187
187
|
* @extends {jspb.Message}
|
|
188
188
|
* @constructor
|
|
189
189
|
*/
|
|
190
|
-
proto.
|
|
190
|
+
proto.UpdateEmployeeRequest = function(opt_data) {
|
|
191
191
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
192
192
|
};
|
|
193
|
-
goog.inherits(proto.
|
|
193
|
+
goog.inherits(proto.UpdateEmployeeRequest, jspb.Message);
|
|
194
194
|
if (goog.DEBUG && !COMPILED) {
|
|
195
195
|
/**
|
|
196
196
|
* @public
|
|
197
197
|
* @override
|
|
198
198
|
*/
|
|
199
|
-
proto.
|
|
199
|
+
proto.UpdateEmployeeRequest.displayName = 'proto.UpdateEmployeeRequest';
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* Generated by JsPbCodeGenerator.
|
|
@@ -208,16 +208,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
208
208
|
* @extends {jspb.Message}
|
|
209
209
|
* @constructor
|
|
210
210
|
*/
|
|
211
|
-
proto.
|
|
211
|
+
proto.DeleteEmployeeRequest = function(opt_data) {
|
|
212
212
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
213
213
|
};
|
|
214
|
-
goog.inherits(proto.
|
|
214
|
+
goog.inherits(proto.DeleteEmployeeRequest, jspb.Message);
|
|
215
215
|
if (goog.DEBUG && !COMPILED) {
|
|
216
216
|
/**
|
|
217
217
|
* @public
|
|
218
218
|
* @override
|
|
219
219
|
*/
|
|
220
|
-
proto.
|
|
220
|
+
proto.DeleteEmployeeRequest.displayName = 'proto.DeleteEmployeeRequest';
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
223
|
* Generated by JsPbCodeGenerator.
|
|
@@ -229,16 +229,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
229
229
|
* @extends {jspb.Message}
|
|
230
230
|
* @constructor
|
|
231
231
|
*/
|
|
232
|
-
proto.
|
|
232
|
+
proto.GetListEmployeeRequest = function(opt_data) {
|
|
233
233
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
234
234
|
};
|
|
235
|
-
goog.inherits(proto.
|
|
235
|
+
goog.inherits(proto.GetListEmployeeRequest, jspb.Message);
|
|
236
236
|
if (goog.DEBUG && !COMPILED) {
|
|
237
237
|
/**
|
|
238
238
|
* @public
|
|
239
239
|
* @override
|
|
240
240
|
*/
|
|
241
|
-
proto.
|
|
241
|
+
proto.GetListEmployeeRequest.displayName = 'proto.GetListEmployeeRequest';
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
244
|
* Generated by JsPbCodeGenerator.
|
|
@@ -250,16 +250,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
250
250
|
* @extends {jspb.Message}
|
|
251
251
|
* @constructor
|
|
252
252
|
*/
|
|
253
|
-
proto.
|
|
253
|
+
proto.CreateEmployeeResponse = function(opt_data) {
|
|
254
254
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
255
255
|
};
|
|
256
|
-
goog.inherits(proto.
|
|
256
|
+
goog.inherits(proto.CreateEmployeeResponse, jspb.Message);
|
|
257
257
|
if (goog.DEBUG && !COMPILED) {
|
|
258
258
|
/**
|
|
259
259
|
* @public
|
|
260
260
|
* @override
|
|
261
261
|
*/
|
|
262
|
-
proto.
|
|
262
|
+
proto.CreateEmployeeResponse.displayName = 'proto.CreateEmployeeResponse';
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Generated by JsPbCodeGenerator.
|
|
@@ -271,16 +271,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
271
271
|
* @extends {jspb.Message}
|
|
272
272
|
* @constructor
|
|
273
273
|
*/
|
|
274
|
-
proto.
|
|
275
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
274
|
+
proto.GetListEmployeeResponse = function(opt_data) {
|
|
275
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListEmployeeResponse.repeatedFields_, null);
|
|
276
276
|
};
|
|
277
|
-
goog.inherits(proto.
|
|
277
|
+
goog.inherits(proto.GetListEmployeeResponse, jspb.Message);
|
|
278
278
|
if (goog.DEBUG && !COMPILED) {
|
|
279
279
|
/**
|
|
280
280
|
* @public
|
|
281
281
|
* @override
|
|
282
282
|
*/
|
|
283
|
-
proto.
|
|
283
|
+
proto.GetListEmployeeResponse.displayName = 'proto.GetListEmployeeResponse';
|
|
284
284
|
}
|
|
285
285
|
/**
|
|
286
286
|
* Generated by JsPbCodeGenerator.
|
|
@@ -292,16 +292,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
292
292
|
* @extends {jspb.Message}
|
|
293
293
|
* @constructor
|
|
294
294
|
*/
|
|
295
|
-
proto.
|
|
295
|
+
proto.UpdateEmployeeResponse = function(opt_data) {
|
|
296
296
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
297
297
|
};
|
|
298
|
-
goog.inherits(proto.
|
|
298
|
+
goog.inherits(proto.UpdateEmployeeResponse, jspb.Message);
|
|
299
299
|
if (goog.DEBUG && !COMPILED) {
|
|
300
300
|
/**
|
|
301
301
|
* @public
|
|
302
302
|
* @override
|
|
303
303
|
*/
|
|
304
|
-
proto.
|
|
304
|
+
proto.UpdateEmployeeResponse.displayName = 'proto.UpdateEmployeeResponse';
|
|
305
305
|
}
|
|
306
306
|
/**
|
|
307
307
|
* Generated by JsPbCodeGenerator.
|
|
@@ -313,16 +313,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
313
313
|
* @extends {jspb.Message}
|
|
314
314
|
* @constructor
|
|
315
315
|
*/
|
|
316
|
-
proto.
|
|
316
|
+
proto.EmployeeGetByIdResponse = function(opt_data) {
|
|
317
317
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
318
318
|
};
|
|
319
|
-
goog.inherits(proto.
|
|
319
|
+
goog.inherits(proto.EmployeeGetByIdResponse, jspb.Message);
|
|
320
320
|
if (goog.DEBUG && !COMPILED) {
|
|
321
321
|
/**
|
|
322
322
|
* @public
|
|
323
323
|
* @override
|
|
324
324
|
*/
|
|
325
|
-
proto.
|
|
325
|
+
proto.EmployeeGetByIdResponse.displayName = 'proto.EmployeeGetByIdResponse';
|
|
326
326
|
}
|
|
327
327
|
/**
|
|
328
328
|
* Generated by JsPbCodeGenerator.
|
|
@@ -334,16 +334,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
334
334
|
* @extends {jspb.Message}
|
|
335
335
|
* @constructor
|
|
336
336
|
*/
|
|
337
|
-
proto.
|
|
337
|
+
proto.DeleteEmployeeResponse = function(opt_data) {
|
|
338
338
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
339
339
|
};
|
|
340
|
-
goog.inherits(proto.
|
|
340
|
+
goog.inherits(proto.DeleteEmployeeResponse, jspb.Message);
|
|
341
341
|
if (goog.DEBUG && !COMPILED) {
|
|
342
342
|
/**
|
|
343
343
|
* @public
|
|
344
344
|
* @override
|
|
345
345
|
*/
|
|
346
|
-
proto.
|
|
346
|
+
proto.DeleteEmployeeResponse.displayName = 'proto.DeleteEmployeeResponse';
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
|
|
@@ -361,8 +361,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
361
361
|
* http://goto/soy-param-migration
|
|
362
362
|
* @return {!Object}
|
|
363
363
|
*/
|
|
364
|
-
proto.
|
|
365
|
-
return proto.
|
|
364
|
+
proto.Employee.prototype.toObject = function(opt_includeInstance) {
|
|
365
|
+
return proto.Employee.toObject(opt_includeInstance, this);
|
|
366
366
|
};
|
|
367
367
|
|
|
368
368
|
|
|
@@ -371,11 +371,11 @@ proto.prisca.v1.core.employee.Employee.prototype.toObject = function(opt_include
|
|
|
371
371
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
372
372
|
* the JSPB instance for transitional soy proto support:
|
|
373
373
|
* http://goto/soy-param-migration
|
|
374
|
-
* @param {!proto.
|
|
374
|
+
* @param {!proto.Employee} msg The msg instance to transform.
|
|
375
375
|
* @return {!Object}
|
|
376
376
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
377
377
|
*/
|
|
378
|
-
proto.
|
|
378
|
+
proto.Employee.toObject = function(includeInstance, msg) {
|
|
379
379
|
var f, obj = {
|
|
380
380
|
nik: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
381
381
|
fullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -418,23 +418,23 @@ companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCom
|
|
|
418
418
|
/**
|
|
419
419
|
* Deserializes binary data (in protobuf wire format).
|
|
420
420
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
421
|
-
* @return {!proto.
|
|
421
|
+
* @return {!proto.Employee}
|
|
422
422
|
*/
|
|
423
|
-
proto.
|
|
423
|
+
proto.Employee.deserializeBinary = function(bytes) {
|
|
424
424
|
var reader = new jspb.BinaryReader(bytes);
|
|
425
|
-
var msg = new proto.
|
|
426
|
-
return proto.
|
|
425
|
+
var msg = new proto.Employee;
|
|
426
|
+
return proto.Employee.deserializeBinaryFromReader(msg, reader);
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* Deserializes binary data (in protobuf wire format) from the
|
|
432
432
|
* given reader into the given message object.
|
|
433
|
-
* @param {!proto.
|
|
433
|
+
* @param {!proto.Employee} msg The message object to deserialize into.
|
|
434
434
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
435
|
-
* @return {!proto.
|
|
435
|
+
* @return {!proto.Employee}
|
|
436
436
|
*/
|
|
437
|
-
proto.
|
|
437
|
+
proto.Employee.deserializeBinaryFromReader = function(msg, reader) {
|
|
438
438
|
while (reader.nextField()) {
|
|
439
439
|
if (reader.isEndGroup()) {
|
|
440
440
|
break;
|
|
@@ -577,9 +577,9 @@ proto.prisca.v1.core.employee.Employee.deserializeBinaryFromReader = function(ms
|
|
|
577
577
|
* Serializes the message to binary data (in protobuf wire format).
|
|
578
578
|
* @return {!Uint8Array}
|
|
579
579
|
*/
|
|
580
|
-
proto.
|
|
580
|
+
proto.Employee.prototype.serializeBinary = function() {
|
|
581
581
|
var writer = new jspb.BinaryWriter();
|
|
582
|
-
proto.
|
|
582
|
+
proto.Employee.serializeBinaryToWriter(this, writer);
|
|
583
583
|
return writer.getResultBuffer();
|
|
584
584
|
};
|
|
585
585
|
|
|
@@ -587,11 +587,11 @@ proto.prisca.v1.core.employee.Employee.prototype.serializeBinary = function() {
|
|
|
587
587
|
/**
|
|
588
588
|
* Serializes the given message to binary data (in protobuf wire
|
|
589
589
|
* format), writing to the given BinaryWriter.
|
|
590
|
-
* @param {!proto.
|
|
590
|
+
* @param {!proto.Employee} message
|
|
591
591
|
* @param {!jspb.BinaryWriter} writer
|
|
592
592
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
593
593
|
*/
|
|
594
|
-
proto.
|
|
594
|
+
proto.Employee.serializeBinaryToWriter = function(message, writer) {
|
|
595
595
|
var f = undefined;
|
|
596
596
|
f = message.getNik();
|
|
597
597
|
if (f.length > 0) {
|
|
@@ -807,16 +807,16 @@ proto.prisca.v1.core.employee.Employee.serializeBinaryToWriter = function(messag
|
|
|
807
807
|
* optional string nik = 1;
|
|
808
808
|
* @return {string}
|
|
809
809
|
*/
|
|
810
|
-
proto.
|
|
810
|
+
proto.Employee.prototype.getNik = function() {
|
|
811
811
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
812
812
|
};
|
|
813
813
|
|
|
814
814
|
|
|
815
815
|
/**
|
|
816
816
|
* @param {string} value
|
|
817
|
-
* @return {!proto.
|
|
817
|
+
* @return {!proto.Employee} returns this
|
|
818
818
|
*/
|
|
819
|
-
proto.
|
|
819
|
+
proto.Employee.prototype.setNik = function(value) {
|
|
820
820
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
821
821
|
};
|
|
822
822
|
|
|
@@ -825,16 +825,16 @@ proto.prisca.v1.core.employee.Employee.prototype.setNik = function(value) {
|
|
|
825
825
|
* optional string full_name = 2;
|
|
826
826
|
* @return {string}
|
|
827
827
|
*/
|
|
828
|
-
proto.
|
|
828
|
+
proto.Employee.prototype.getFullName = function() {
|
|
829
829
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
830
830
|
};
|
|
831
831
|
|
|
832
832
|
|
|
833
833
|
/**
|
|
834
834
|
* @param {string} value
|
|
835
|
-
* @return {!proto.
|
|
835
|
+
* @return {!proto.Employee} returns this
|
|
836
836
|
*/
|
|
837
|
-
proto.
|
|
837
|
+
proto.Employee.prototype.setFullName = function(value) {
|
|
838
838
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
839
839
|
};
|
|
840
840
|
|
|
@@ -843,16 +843,16 @@ proto.prisca.v1.core.employee.Employee.prototype.setFullName = function(value) {
|
|
|
843
843
|
* optional string address = 3;
|
|
844
844
|
* @return {string}
|
|
845
845
|
*/
|
|
846
|
-
proto.
|
|
846
|
+
proto.Employee.prototype.getAddress = function() {
|
|
847
847
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
848
848
|
};
|
|
849
849
|
|
|
850
850
|
|
|
851
851
|
/**
|
|
852
852
|
* @param {string} value
|
|
853
|
-
* @return {!proto.
|
|
853
|
+
* @return {!proto.Employee} returns this
|
|
854
854
|
*/
|
|
855
|
-
proto.
|
|
855
|
+
proto.Employee.prototype.setAddress = function(value) {
|
|
856
856
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
857
857
|
};
|
|
858
858
|
|
|
@@ -861,16 +861,16 @@ proto.prisca.v1.core.employee.Employee.prototype.setAddress = function(value) {
|
|
|
861
861
|
* optional string email = 4;
|
|
862
862
|
* @return {string}
|
|
863
863
|
*/
|
|
864
|
-
proto.
|
|
864
|
+
proto.Employee.prototype.getEmail = function() {
|
|
865
865
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
866
866
|
};
|
|
867
867
|
|
|
868
868
|
|
|
869
869
|
/**
|
|
870
870
|
* @param {string} value
|
|
871
|
-
* @return {!proto.
|
|
871
|
+
* @return {!proto.Employee} returns this
|
|
872
872
|
*/
|
|
873
|
-
proto.
|
|
873
|
+
proto.Employee.prototype.setEmail = function(value) {
|
|
874
874
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
875
875
|
};
|
|
876
876
|
|
|
@@ -879,16 +879,16 @@ proto.prisca.v1.core.employee.Employee.prototype.setEmail = function(value) {
|
|
|
879
879
|
* optional string phone_number = 5;
|
|
880
880
|
* @return {string}
|
|
881
881
|
*/
|
|
882
|
-
proto.
|
|
882
|
+
proto.Employee.prototype.getPhoneNumber = function() {
|
|
883
883
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
884
884
|
};
|
|
885
885
|
|
|
886
886
|
|
|
887
887
|
/**
|
|
888
888
|
* @param {string} value
|
|
889
|
-
* @return {!proto.
|
|
889
|
+
* @return {!proto.Employee} returns this
|
|
890
890
|
*/
|
|
891
|
-
proto.
|
|
891
|
+
proto.Employee.prototype.setPhoneNumber = function(value) {
|
|
892
892
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
893
893
|
};
|
|
894
894
|
|
|
@@ -897,16 +897,16 @@ proto.prisca.v1.core.employee.Employee.prototype.setPhoneNumber = function(value
|
|
|
897
897
|
* optional string organization_references_id = 6;
|
|
898
898
|
* @return {string}
|
|
899
899
|
*/
|
|
900
|
-
proto.
|
|
900
|
+
proto.Employee.prototype.getOrganizationReferencesId = function() {
|
|
901
901
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
902
902
|
};
|
|
903
903
|
|
|
904
904
|
|
|
905
905
|
/**
|
|
906
906
|
* @param {string} value
|
|
907
|
-
* @return {!proto.
|
|
907
|
+
* @return {!proto.Employee} returns this
|
|
908
908
|
*/
|
|
909
|
-
proto.
|
|
909
|
+
proto.Employee.prototype.setOrganizationReferencesId = function(value) {
|
|
910
910
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
911
911
|
};
|
|
912
912
|
|
|
@@ -915,7 +915,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setOrganizationReferencesId = f
|
|
|
915
915
|
* optional BaseOrganization organizations = 7;
|
|
916
916
|
* @return {?proto.BaseOrganization}
|
|
917
917
|
*/
|
|
918
|
-
proto.
|
|
918
|
+
proto.Employee.prototype.getOrganizations = function() {
|
|
919
919
|
return /** @type{?proto.BaseOrganization} */ (
|
|
920
920
|
jspb.Message.getWrapperField(this, prisca_v1_core_organization_organization_pb.BaseOrganization, 7));
|
|
921
921
|
};
|
|
@@ -923,18 +923,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getOrganizations = function() {
|
|
|
923
923
|
|
|
924
924
|
/**
|
|
925
925
|
* @param {?proto.BaseOrganization|undefined} value
|
|
926
|
-
* @return {!proto.
|
|
926
|
+
* @return {!proto.Employee} returns this
|
|
927
927
|
*/
|
|
928
|
-
proto.
|
|
928
|
+
proto.Employee.prototype.setOrganizations = function(value) {
|
|
929
929
|
return jspb.Message.setWrapperField(this, 7, value);
|
|
930
930
|
};
|
|
931
931
|
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
934
|
* Clears the message field making it undefined.
|
|
935
|
-
* @return {!proto.
|
|
935
|
+
* @return {!proto.Employee} returns this
|
|
936
936
|
*/
|
|
937
|
-
proto.
|
|
937
|
+
proto.Employee.prototype.clearOrganizations = function() {
|
|
938
938
|
return this.setOrganizations(undefined);
|
|
939
939
|
};
|
|
940
940
|
|
|
@@ -943,7 +943,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearOrganizations = function()
|
|
|
943
943
|
* Returns whether this field is set.
|
|
944
944
|
* @return {boolean}
|
|
945
945
|
*/
|
|
946
|
-
proto.
|
|
946
|
+
proto.Employee.prototype.hasOrganizations = function() {
|
|
947
947
|
return jspb.Message.getField(this, 7) != null;
|
|
948
948
|
};
|
|
949
949
|
|
|
@@ -952,16 +952,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasOrganizations = function() {
|
|
|
952
952
|
* optional string work_location_references_id = 8;
|
|
953
953
|
* @return {string}
|
|
954
954
|
*/
|
|
955
|
-
proto.
|
|
955
|
+
proto.Employee.prototype.getWorkLocationReferencesId = function() {
|
|
956
956
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
957
957
|
};
|
|
958
958
|
|
|
959
959
|
|
|
960
960
|
/**
|
|
961
961
|
* @param {string} value
|
|
962
|
-
* @return {!proto.
|
|
962
|
+
* @return {!proto.Employee} returns this
|
|
963
963
|
*/
|
|
964
|
-
proto.
|
|
964
|
+
proto.Employee.prototype.setWorkLocationReferencesId = function(value) {
|
|
965
965
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
966
966
|
};
|
|
967
967
|
|
|
@@ -970,7 +970,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setWorkLocationReferencesId = f
|
|
|
970
970
|
* optional WorkLocation work_locations = 9;
|
|
971
971
|
* @return {?proto.WorkLocation}
|
|
972
972
|
*/
|
|
973
|
-
proto.
|
|
973
|
+
proto.Employee.prototype.getWorkLocations = function() {
|
|
974
974
|
return /** @type{?proto.WorkLocation} */ (
|
|
975
975
|
jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 9));
|
|
976
976
|
};
|
|
@@ -978,18 +978,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getWorkLocations = function() {
|
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* @param {?proto.WorkLocation|undefined} value
|
|
981
|
-
* @return {!proto.
|
|
981
|
+
* @return {!proto.Employee} returns this
|
|
982
982
|
*/
|
|
983
|
-
proto.
|
|
983
|
+
proto.Employee.prototype.setWorkLocations = function(value) {
|
|
984
984
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
985
985
|
};
|
|
986
986
|
|
|
987
987
|
|
|
988
988
|
/**
|
|
989
989
|
* Clears the message field making it undefined.
|
|
990
|
-
* @return {!proto.
|
|
990
|
+
* @return {!proto.Employee} returns this
|
|
991
991
|
*/
|
|
992
|
-
proto.
|
|
992
|
+
proto.Employee.prototype.clearWorkLocations = function() {
|
|
993
993
|
return this.setWorkLocations(undefined);
|
|
994
994
|
};
|
|
995
995
|
|
|
@@ -998,7 +998,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearWorkLocations = function()
|
|
|
998
998
|
* Returns whether this field is set.
|
|
999
999
|
* @return {boolean}
|
|
1000
1000
|
*/
|
|
1001
|
-
proto.
|
|
1001
|
+
proto.Employee.prototype.hasWorkLocations = function() {
|
|
1002
1002
|
return jspb.Message.getField(this, 9) != null;
|
|
1003
1003
|
};
|
|
1004
1004
|
|
|
@@ -1007,16 +1007,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasWorkLocations = function() {
|
|
|
1007
1007
|
* optional string job_position_references_id = 10;
|
|
1008
1008
|
* @return {string}
|
|
1009
1009
|
*/
|
|
1010
|
-
proto.
|
|
1010
|
+
proto.Employee.prototype.getJobPositionReferencesId = function() {
|
|
1011
1011
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1012
1012
|
};
|
|
1013
1013
|
|
|
1014
1014
|
|
|
1015
1015
|
/**
|
|
1016
1016
|
* @param {string} value
|
|
1017
|
-
* @return {!proto.
|
|
1017
|
+
* @return {!proto.Employee} returns this
|
|
1018
1018
|
*/
|
|
1019
|
-
proto.
|
|
1019
|
+
proto.Employee.prototype.setJobPositionReferencesId = function(value) {
|
|
1020
1020
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
@@ -1025,7 +1025,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setJobPositionReferencesId = fu
|
|
|
1025
1025
|
* optional JobPosition job_positions = 11;
|
|
1026
1026
|
* @return {?proto.JobPosition}
|
|
1027
1027
|
*/
|
|
1028
|
-
proto.
|
|
1028
|
+
proto.Employee.prototype.getJobPositions = function() {
|
|
1029
1029
|
return /** @type{?proto.JobPosition} */ (
|
|
1030
1030
|
jspb.Message.getWrapperField(this, prisca_v1_core_job_position_job_position_pb.JobPosition, 11));
|
|
1031
1031
|
};
|
|
@@ -1033,18 +1033,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getJobPositions = function() {
|
|
|
1033
1033
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* @param {?proto.JobPosition|undefined} value
|
|
1036
|
-
* @return {!proto.
|
|
1036
|
+
* @return {!proto.Employee} returns this
|
|
1037
1037
|
*/
|
|
1038
|
-
proto.
|
|
1038
|
+
proto.Employee.prototype.setJobPositions = function(value) {
|
|
1039
1039
|
return jspb.Message.setWrapperField(this, 11, value);
|
|
1040
1040
|
};
|
|
1041
1041
|
|
|
1042
1042
|
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Clears the message field making it undefined.
|
|
1045
|
-
* @return {!proto.
|
|
1045
|
+
* @return {!proto.Employee} returns this
|
|
1046
1046
|
*/
|
|
1047
|
-
proto.
|
|
1047
|
+
proto.Employee.prototype.clearJobPositions = function() {
|
|
1048
1048
|
return this.setJobPositions(undefined);
|
|
1049
1049
|
};
|
|
1050
1050
|
|
|
@@ -1053,7 +1053,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearJobPositions = function()
|
|
|
1053
1053
|
* Returns whether this field is set.
|
|
1054
1054
|
* @return {boolean}
|
|
1055
1055
|
*/
|
|
1056
|
-
proto.
|
|
1056
|
+
proto.Employee.prototype.hasJobPositions = function() {
|
|
1057
1057
|
return jspb.Message.getField(this, 11) != null;
|
|
1058
1058
|
};
|
|
1059
1059
|
|
|
@@ -1062,16 +1062,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasJobPositions = function() {
|
|
|
1062
1062
|
* optional string job_grade_references_id = 12;
|
|
1063
1063
|
* @return {string}
|
|
1064
1064
|
*/
|
|
1065
|
-
proto.
|
|
1065
|
+
proto.Employee.prototype.getJobGradeReferencesId = function() {
|
|
1066
1066
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
1069
|
|
|
1070
1070
|
/**
|
|
1071
1071
|
* @param {string} value
|
|
1072
|
-
* @return {!proto.
|
|
1072
|
+
* @return {!proto.Employee} returns this
|
|
1073
1073
|
*/
|
|
1074
|
-
proto.
|
|
1074
|
+
proto.Employee.prototype.setJobGradeReferencesId = function(value) {
|
|
1075
1075
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1076
1076
|
};
|
|
1077
1077
|
|
|
@@ -1080,7 +1080,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setJobGradeReferencesId = funct
|
|
|
1080
1080
|
* optional JobGrade job_grades = 13;
|
|
1081
1081
|
* @return {?proto.JobGrade}
|
|
1082
1082
|
*/
|
|
1083
|
-
proto.
|
|
1083
|
+
proto.Employee.prototype.getJobGrades = function() {
|
|
1084
1084
|
return /** @type{?proto.JobGrade} */ (
|
|
1085
1085
|
jspb.Message.getWrapperField(this, prisca_v1_core_job_grade_job_grade_pb.JobGrade, 13));
|
|
1086
1086
|
};
|
|
@@ -1088,18 +1088,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getJobGrades = function() {
|
|
|
1088
1088
|
|
|
1089
1089
|
/**
|
|
1090
1090
|
* @param {?proto.JobGrade|undefined} value
|
|
1091
|
-
* @return {!proto.
|
|
1091
|
+
* @return {!proto.Employee} returns this
|
|
1092
1092
|
*/
|
|
1093
|
-
proto.
|
|
1093
|
+
proto.Employee.prototype.setJobGrades = function(value) {
|
|
1094
1094
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
1097
|
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Clears the message field making it undefined.
|
|
1100
|
-
* @return {!proto.
|
|
1100
|
+
* @return {!proto.Employee} returns this
|
|
1101
1101
|
*/
|
|
1102
|
-
proto.
|
|
1102
|
+
proto.Employee.prototype.clearJobGrades = function() {
|
|
1103
1103
|
return this.setJobGrades(undefined);
|
|
1104
1104
|
};
|
|
1105
1105
|
|
|
@@ -1108,7 +1108,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearJobGrades = function() {
|
|
|
1108
1108
|
* Returns whether this field is set.
|
|
1109
1109
|
* @return {boolean}
|
|
1110
1110
|
*/
|
|
1111
|
-
proto.
|
|
1111
|
+
proto.Employee.prototype.hasJobGrades = function() {
|
|
1112
1112
|
return jspb.Message.getField(this, 13) != null;
|
|
1113
1113
|
};
|
|
1114
1114
|
|
|
@@ -1117,16 +1117,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasJobGrades = function() {
|
|
|
1117
1117
|
* optional string job_title_references_id = 14;
|
|
1118
1118
|
* @return {string}
|
|
1119
1119
|
*/
|
|
1120
|
-
proto.
|
|
1120
|
+
proto.Employee.prototype.getJobTitleReferencesId = function() {
|
|
1121
1121
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
1122
1122
|
};
|
|
1123
1123
|
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
1126
1126
|
* @param {string} value
|
|
1127
|
-
* @return {!proto.
|
|
1127
|
+
* @return {!proto.Employee} returns this
|
|
1128
1128
|
*/
|
|
1129
|
-
proto.
|
|
1129
|
+
proto.Employee.prototype.setJobTitleReferencesId = function(value) {
|
|
1130
1130
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
1131
1131
|
};
|
|
1132
1132
|
|
|
@@ -1135,7 +1135,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setJobTitleReferencesId = funct
|
|
|
1135
1135
|
* optional JobTitle job_titles = 15;
|
|
1136
1136
|
* @return {?proto.JobTitle}
|
|
1137
1137
|
*/
|
|
1138
|
-
proto.
|
|
1138
|
+
proto.Employee.prototype.getJobTitles = function() {
|
|
1139
1139
|
return /** @type{?proto.JobTitle} */ (
|
|
1140
1140
|
jspb.Message.getWrapperField(this, prisca_v1_core_job_title_job_title_pb.JobTitle, 15));
|
|
1141
1141
|
};
|
|
@@ -1143,18 +1143,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getJobTitles = function() {
|
|
|
1143
1143
|
|
|
1144
1144
|
/**
|
|
1145
1145
|
* @param {?proto.JobTitle|undefined} value
|
|
1146
|
-
* @return {!proto.
|
|
1146
|
+
* @return {!proto.Employee} returns this
|
|
1147
1147
|
*/
|
|
1148
|
-
proto.
|
|
1148
|
+
proto.Employee.prototype.setJobTitles = function(value) {
|
|
1149
1149
|
return jspb.Message.setWrapperField(this, 15, value);
|
|
1150
1150
|
};
|
|
1151
1151
|
|
|
1152
1152
|
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Clears the message field making it undefined.
|
|
1155
|
-
* @return {!proto.
|
|
1155
|
+
* @return {!proto.Employee} returns this
|
|
1156
1156
|
*/
|
|
1157
|
-
proto.
|
|
1157
|
+
proto.Employee.prototype.clearJobTitles = function() {
|
|
1158
1158
|
return this.setJobTitles(undefined);
|
|
1159
1159
|
};
|
|
1160
1160
|
|
|
@@ -1163,7 +1163,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearJobTitles = function() {
|
|
|
1163
1163
|
* Returns whether this field is set.
|
|
1164
1164
|
* @return {boolean}
|
|
1165
1165
|
*/
|
|
1166
|
-
proto.
|
|
1166
|
+
proto.Employee.prototype.hasJobTitles = function() {
|
|
1167
1167
|
return jspb.Message.getField(this, 15) != null;
|
|
1168
1168
|
};
|
|
1169
1169
|
|
|
@@ -1172,16 +1172,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasJobTitles = function() {
|
|
|
1172
1172
|
* optional string references_id = 16;
|
|
1173
1173
|
* @return {string}
|
|
1174
1174
|
*/
|
|
1175
|
-
proto.
|
|
1175
|
+
proto.Employee.prototype.getReferencesId = function() {
|
|
1176
1176
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
1177
1177
|
};
|
|
1178
1178
|
|
|
1179
1179
|
|
|
1180
1180
|
/**
|
|
1181
1181
|
* @param {string} value
|
|
1182
|
-
* @return {!proto.
|
|
1182
|
+
* @return {!proto.Employee} returns this
|
|
1183
1183
|
*/
|
|
1184
|
-
proto.
|
|
1184
|
+
proto.Employee.prototype.setReferencesId = function(value) {
|
|
1185
1185
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1186
1186
|
};
|
|
1187
1187
|
|
|
@@ -1190,16 +1190,16 @@ proto.prisca.v1.core.employee.Employee.prototype.setReferencesId = function(valu
|
|
|
1190
1190
|
* optional string country_references_id = 17;
|
|
1191
1191
|
* @return {string}
|
|
1192
1192
|
*/
|
|
1193
|
-
proto.
|
|
1193
|
+
proto.Employee.prototype.getCountryReferencesId = function() {
|
|
1194
1194
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1195
1195
|
};
|
|
1196
1196
|
|
|
1197
1197
|
|
|
1198
1198
|
/**
|
|
1199
1199
|
* @param {string} value
|
|
1200
|
-
* @return {!proto.
|
|
1200
|
+
* @return {!proto.Employee} returns this
|
|
1201
1201
|
*/
|
|
1202
|
-
proto.
|
|
1202
|
+
proto.Employee.prototype.setCountryReferencesId = function(value) {
|
|
1203
1203
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1204
1204
|
};
|
|
1205
1205
|
|
|
@@ -1208,7 +1208,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setCountryReferencesId = functi
|
|
|
1208
1208
|
* optional Country country = 18;
|
|
1209
1209
|
* @return {?proto.Country}
|
|
1210
1210
|
*/
|
|
1211
|
-
proto.
|
|
1211
|
+
proto.Employee.prototype.getCountry = function() {
|
|
1212
1212
|
return /** @type{?proto.Country} */ (
|
|
1213
1213
|
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.Country, 18));
|
|
1214
1214
|
};
|
|
@@ -1216,18 +1216,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getCountry = function() {
|
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
1218
1218
|
* @param {?proto.Country|undefined} value
|
|
1219
|
-
* @return {!proto.
|
|
1219
|
+
* @return {!proto.Employee} returns this
|
|
1220
1220
|
*/
|
|
1221
|
-
proto.
|
|
1221
|
+
proto.Employee.prototype.setCountry = function(value) {
|
|
1222
1222
|
return jspb.Message.setWrapperField(this, 18, value);
|
|
1223
1223
|
};
|
|
1224
1224
|
|
|
1225
1225
|
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Clears the message field making it undefined.
|
|
1228
|
-
* @return {!proto.
|
|
1228
|
+
* @return {!proto.Employee} returns this
|
|
1229
1229
|
*/
|
|
1230
|
-
proto.
|
|
1230
|
+
proto.Employee.prototype.clearCountry = function() {
|
|
1231
1231
|
return this.setCountry(undefined);
|
|
1232
1232
|
};
|
|
1233
1233
|
|
|
@@ -1236,7 +1236,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearCountry = function() {
|
|
|
1236
1236
|
* Returns whether this field is set.
|
|
1237
1237
|
* @return {boolean}
|
|
1238
1238
|
*/
|
|
1239
|
-
proto.
|
|
1239
|
+
proto.Employee.prototype.hasCountry = function() {
|
|
1240
1240
|
return jspb.Message.getField(this, 18) != null;
|
|
1241
1241
|
};
|
|
1242
1242
|
|
|
@@ -1245,16 +1245,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasCountry = function() {
|
|
|
1245
1245
|
* optional string village_references_id = 19;
|
|
1246
1246
|
* @return {string}
|
|
1247
1247
|
*/
|
|
1248
|
-
proto.
|
|
1248
|
+
proto.Employee.prototype.getVillageReferencesId = function() {
|
|
1249
1249
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1250
1250
|
};
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
1253
|
/**
|
|
1254
1254
|
* @param {string} value
|
|
1255
|
-
* @return {!proto.
|
|
1255
|
+
* @return {!proto.Employee} returns this
|
|
1256
1256
|
*/
|
|
1257
|
-
proto.
|
|
1257
|
+
proto.Employee.prototype.setVillageReferencesId = function(value) {
|
|
1258
1258
|
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1259
1259
|
};
|
|
1260
1260
|
|
|
@@ -1263,7 +1263,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setVillageReferencesId = functi
|
|
|
1263
1263
|
* optional Village village = 20;
|
|
1264
1264
|
* @return {?proto.Village}
|
|
1265
1265
|
*/
|
|
1266
|
-
proto.
|
|
1266
|
+
proto.Employee.prototype.getVillage = function() {
|
|
1267
1267
|
return /** @type{?proto.Village} */ (
|
|
1268
1268
|
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.Village, 20));
|
|
1269
1269
|
};
|
|
@@ -1271,18 +1271,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getVillage = function() {
|
|
|
1271
1271
|
|
|
1272
1272
|
/**
|
|
1273
1273
|
* @param {?proto.Village|undefined} value
|
|
1274
|
-
* @return {!proto.
|
|
1274
|
+
* @return {!proto.Employee} returns this
|
|
1275
1275
|
*/
|
|
1276
|
-
proto.
|
|
1276
|
+
proto.Employee.prototype.setVillage = function(value) {
|
|
1277
1277
|
return jspb.Message.setWrapperField(this, 20, value);
|
|
1278
1278
|
};
|
|
1279
1279
|
|
|
1280
1280
|
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Clears the message field making it undefined.
|
|
1283
|
-
* @return {!proto.
|
|
1283
|
+
* @return {!proto.Employee} returns this
|
|
1284
1284
|
*/
|
|
1285
|
-
proto.
|
|
1285
|
+
proto.Employee.prototype.clearVillage = function() {
|
|
1286
1286
|
return this.setVillage(undefined);
|
|
1287
1287
|
};
|
|
1288
1288
|
|
|
@@ -1291,7 +1291,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearVillage = function() {
|
|
|
1291
1291
|
* Returns whether this field is set.
|
|
1292
1292
|
* @return {boolean}
|
|
1293
1293
|
*/
|
|
1294
|
-
proto.
|
|
1294
|
+
proto.Employee.prototype.hasVillage = function() {
|
|
1295
1295
|
return jspb.Message.getField(this, 20) != null;
|
|
1296
1296
|
};
|
|
1297
1297
|
|
|
@@ -1300,16 +1300,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasVillage = function() {
|
|
|
1300
1300
|
* optional string city_references_id = 21;
|
|
1301
1301
|
* @return {string}
|
|
1302
1302
|
*/
|
|
1303
|
-
proto.
|
|
1303
|
+
proto.Employee.prototype.getCityReferencesId = function() {
|
|
1304
1304
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1305
1305
|
};
|
|
1306
1306
|
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
1309
1309
|
* @param {string} value
|
|
1310
|
-
* @return {!proto.
|
|
1310
|
+
* @return {!proto.Employee} returns this
|
|
1311
1311
|
*/
|
|
1312
|
-
proto.
|
|
1312
|
+
proto.Employee.prototype.setCityReferencesId = function(value) {
|
|
1313
1313
|
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1314
1314
|
};
|
|
1315
1315
|
|
|
@@ -1318,7 +1318,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setCityReferencesId = function(
|
|
|
1318
1318
|
* optional City city = 22;
|
|
1319
1319
|
* @return {?proto.City}
|
|
1320
1320
|
*/
|
|
1321
|
-
proto.
|
|
1321
|
+
proto.Employee.prototype.getCity = function() {
|
|
1322
1322
|
return /** @type{?proto.City} */ (
|
|
1323
1323
|
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.City, 22));
|
|
1324
1324
|
};
|
|
@@ -1326,18 +1326,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getCity = function() {
|
|
|
1326
1326
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* @param {?proto.City|undefined} value
|
|
1329
|
-
* @return {!proto.
|
|
1329
|
+
* @return {!proto.Employee} returns this
|
|
1330
1330
|
*/
|
|
1331
|
-
proto.
|
|
1331
|
+
proto.Employee.prototype.setCity = function(value) {
|
|
1332
1332
|
return jspb.Message.setWrapperField(this, 22, value);
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
1335
|
|
|
1336
1336
|
/**
|
|
1337
1337
|
* Clears the message field making it undefined.
|
|
1338
|
-
* @return {!proto.
|
|
1338
|
+
* @return {!proto.Employee} returns this
|
|
1339
1339
|
*/
|
|
1340
|
-
proto.
|
|
1340
|
+
proto.Employee.prototype.clearCity = function() {
|
|
1341
1341
|
return this.setCity(undefined);
|
|
1342
1342
|
};
|
|
1343
1343
|
|
|
@@ -1346,7 +1346,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearCity = function() {
|
|
|
1346
1346
|
* Returns whether this field is set.
|
|
1347
1347
|
* @return {boolean}
|
|
1348
1348
|
*/
|
|
1349
|
-
proto.
|
|
1349
|
+
proto.Employee.prototype.hasCity = function() {
|
|
1350
1350
|
return jspb.Message.getField(this, 22) != null;
|
|
1351
1351
|
};
|
|
1352
1352
|
|
|
@@ -1355,16 +1355,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasCity = function() {
|
|
|
1355
1355
|
* optional string district_references_id = 23;
|
|
1356
1356
|
* @return {string}
|
|
1357
1357
|
*/
|
|
1358
|
-
proto.
|
|
1358
|
+
proto.Employee.prototype.getDistrictReferencesId = function() {
|
|
1359
1359
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1360
1360
|
};
|
|
1361
1361
|
|
|
1362
1362
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* @param {string} value
|
|
1365
|
-
* @return {!proto.
|
|
1365
|
+
* @return {!proto.Employee} returns this
|
|
1366
1366
|
*/
|
|
1367
|
-
proto.
|
|
1367
|
+
proto.Employee.prototype.setDistrictReferencesId = function(value) {
|
|
1368
1368
|
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1369
1369
|
};
|
|
1370
1370
|
|
|
@@ -1373,7 +1373,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setDistrictReferencesId = funct
|
|
|
1373
1373
|
* optional District district = 24;
|
|
1374
1374
|
* @return {?proto.District}
|
|
1375
1375
|
*/
|
|
1376
|
-
proto.
|
|
1376
|
+
proto.Employee.prototype.getDistrict = function() {
|
|
1377
1377
|
return /** @type{?proto.District} */ (
|
|
1378
1378
|
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.District, 24));
|
|
1379
1379
|
};
|
|
@@ -1381,18 +1381,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getDistrict = function() {
|
|
|
1381
1381
|
|
|
1382
1382
|
/**
|
|
1383
1383
|
* @param {?proto.District|undefined} value
|
|
1384
|
-
* @return {!proto.
|
|
1384
|
+
* @return {!proto.Employee} returns this
|
|
1385
1385
|
*/
|
|
1386
|
-
proto.
|
|
1386
|
+
proto.Employee.prototype.setDistrict = function(value) {
|
|
1387
1387
|
return jspb.Message.setWrapperField(this, 24, value);
|
|
1388
1388
|
};
|
|
1389
1389
|
|
|
1390
1390
|
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Clears the message field making it undefined.
|
|
1393
|
-
* @return {!proto.
|
|
1393
|
+
* @return {!proto.Employee} returns this
|
|
1394
1394
|
*/
|
|
1395
|
-
proto.
|
|
1395
|
+
proto.Employee.prototype.clearDistrict = function() {
|
|
1396
1396
|
return this.setDistrict(undefined);
|
|
1397
1397
|
};
|
|
1398
1398
|
|
|
@@ -1401,7 +1401,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearDistrict = function() {
|
|
|
1401
1401
|
* Returns whether this field is set.
|
|
1402
1402
|
* @return {boolean}
|
|
1403
1403
|
*/
|
|
1404
|
-
proto.
|
|
1404
|
+
proto.Employee.prototype.hasDistrict = function() {
|
|
1405
1405
|
return jspb.Message.getField(this, 24) != null;
|
|
1406
1406
|
};
|
|
1407
1407
|
|
|
@@ -1410,16 +1410,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasDistrict = function() {
|
|
|
1410
1410
|
* optional string province_references_id = 25;
|
|
1411
1411
|
* @return {string}
|
|
1412
1412
|
*/
|
|
1413
|
-
proto.
|
|
1413
|
+
proto.Employee.prototype.getProvinceReferencesId = function() {
|
|
1414
1414
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
1417
|
|
|
1418
1418
|
/**
|
|
1419
1419
|
* @param {string} value
|
|
1420
|
-
* @return {!proto.
|
|
1420
|
+
* @return {!proto.Employee} returns this
|
|
1421
1421
|
*/
|
|
1422
|
-
proto.
|
|
1422
|
+
proto.Employee.prototype.setProvinceReferencesId = function(value) {
|
|
1423
1423
|
return jspb.Message.setProto3StringField(this, 25, value);
|
|
1424
1424
|
};
|
|
1425
1425
|
|
|
@@ -1428,7 +1428,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setProvinceReferencesId = funct
|
|
|
1428
1428
|
* optional Province province = 26;
|
|
1429
1429
|
* @return {?proto.Province}
|
|
1430
1430
|
*/
|
|
1431
|
-
proto.
|
|
1431
|
+
proto.Employee.prototype.getProvince = function() {
|
|
1432
1432
|
return /** @type{?proto.Province} */ (
|
|
1433
1433
|
jspb.Message.getWrapperField(this, prisca_v1_core_location_location_pb.Province, 26));
|
|
1434
1434
|
};
|
|
@@ -1436,18 +1436,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getProvince = function() {
|
|
|
1436
1436
|
|
|
1437
1437
|
/**
|
|
1438
1438
|
* @param {?proto.Province|undefined} value
|
|
1439
|
-
* @return {!proto.
|
|
1439
|
+
* @return {!proto.Employee} returns this
|
|
1440
1440
|
*/
|
|
1441
|
-
proto.
|
|
1441
|
+
proto.Employee.prototype.setProvince = function(value) {
|
|
1442
1442
|
return jspb.Message.setWrapperField(this, 26, value);
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
1445
|
|
|
1446
1446
|
/**
|
|
1447
1447
|
* Clears the message field making it undefined.
|
|
1448
|
-
* @return {!proto.
|
|
1448
|
+
* @return {!proto.Employee} returns this
|
|
1449
1449
|
*/
|
|
1450
|
-
proto.
|
|
1450
|
+
proto.Employee.prototype.clearProvince = function() {
|
|
1451
1451
|
return this.setProvince(undefined);
|
|
1452
1452
|
};
|
|
1453
1453
|
|
|
@@ -1456,7 +1456,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearProvince = function() {
|
|
|
1456
1456
|
* Returns whether this field is set.
|
|
1457
1457
|
* @return {boolean}
|
|
1458
1458
|
*/
|
|
1459
|
-
proto.
|
|
1459
|
+
proto.Employee.prototype.hasProvince = function() {
|
|
1460
1460
|
return jspb.Message.getField(this, 26) != null;
|
|
1461
1461
|
};
|
|
1462
1462
|
|
|
@@ -1465,16 +1465,16 @@ proto.prisca.v1.core.employee.Employee.prototype.hasProvince = function() {
|
|
|
1465
1465
|
* optional string companies_references_id = 27;
|
|
1466
1466
|
* @return {string}
|
|
1467
1467
|
*/
|
|
1468
|
-
proto.
|
|
1468
|
+
proto.Employee.prototype.getCompaniesReferencesId = function() {
|
|
1469
1469
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
1470
1470
|
};
|
|
1471
1471
|
|
|
1472
1472
|
|
|
1473
1473
|
/**
|
|
1474
1474
|
* @param {string} value
|
|
1475
|
-
* @return {!proto.
|
|
1475
|
+
* @return {!proto.Employee} returns this
|
|
1476
1476
|
*/
|
|
1477
|
-
proto.
|
|
1477
|
+
proto.Employee.prototype.setCompaniesReferencesId = function(value) {
|
|
1478
1478
|
return jspb.Message.setProto3StringField(this, 27, value);
|
|
1479
1479
|
};
|
|
1480
1480
|
|
|
@@ -1483,7 +1483,7 @@ proto.prisca.v1.core.employee.Employee.prototype.setCompaniesReferencesId = func
|
|
|
1483
1483
|
* optional BaseCompanyParent companies = 28;
|
|
1484
1484
|
* @return {?proto.BaseCompanyParent}
|
|
1485
1485
|
*/
|
|
1486
|
-
proto.
|
|
1486
|
+
proto.Employee.prototype.getCompanies = function() {
|
|
1487
1487
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
1488
1488
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 28));
|
|
1489
1489
|
};
|
|
@@ -1491,18 +1491,18 @@ proto.prisca.v1.core.employee.Employee.prototype.getCompanies = function() {
|
|
|
1491
1491
|
|
|
1492
1492
|
/**
|
|
1493
1493
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
1494
|
-
* @return {!proto.
|
|
1494
|
+
* @return {!proto.Employee} returns this
|
|
1495
1495
|
*/
|
|
1496
|
-
proto.
|
|
1496
|
+
proto.Employee.prototype.setCompanies = function(value) {
|
|
1497
1497
|
return jspb.Message.setWrapperField(this, 28, value);
|
|
1498
1498
|
};
|
|
1499
1499
|
|
|
1500
1500
|
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Clears the message field making it undefined.
|
|
1503
|
-
* @return {!proto.
|
|
1503
|
+
* @return {!proto.Employee} returns this
|
|
1504
1504
|
*/
|
|
1505
|
-
proto.
|
|
1505
|
+
proto.Employee.prototype.clearCompanies = function() {
|
|
1506
1506
|
return this.setCompanies(undefined);
|
|
1507
1507
|
};
|
|
1508
1508
|
|
|
@@ -1511,7 +1511,7 @@ proto.prisca.v1.core.employee.Employee.prototype.clearCompanies = function() {
|
|
|
1511
1511
|
* Returns whether this field is set.
|
|
1512
1512
|
* @return {boolean}
|
|
1513
1513
|
*/
|
|
1514
|
-
proto.
|
|
1514
|
+
proto.Employee.prototype.hasCompanies = function() {
|
|
1515
1515
|
return jspb.Message.getField(this, 28) != null;
|
|
1516
1516
|
};
|
|
1517
1517
|
|
|
@@ -1532,8 +1532,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1532
1532
|
* http://goto/soy-param-migration
|
|
1533
1533
|
* @return {!Object}
|
|
1534
1534
|
*/
|
|
1535
|
-
proto.
|
|
1536
|
-
return proto.
|
|
1535
|
+
proto.BaseEmployee.prototype.toObject = function(opt_includeInstance) {
|
|
1536
|
+
return proto.BaseEmployee.toObject(opt_includeInstance, this);
|
|
1537
1537
|
};
|
|
1538
1538
|
|
|
1539
1539
|
|
|
@@ -1542,11 +1542,11 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.toObject = function(opt_inc
|
|
|
1542
1542
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1543
1543
|
* the JSPB instance for transitional soy proto support:
|
|
1544
1544
|
* http://goto/soy-param-migration
|
|
1545
|
-
* @param {!proto.
|
|
1545
|
+
* @param {!proto.BaseEmployee} msg The msg instance to transform.
|
|
1546
1546
|
* @return {!Object}
|
|
1547
1547
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1548
1548
|
*/
|
|
1549
|
-
proto.
|
|
1549
|
+
proto.BaseEmployee.toObject = function(includeInstance, msg) {
|
|
1550
1550
|
var f, obj = {
|
|
1551
1551
|
nik: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1552
1552
|
fullName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -1578,23 +1578,23 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
|
1578
1578
|
/**
|
|
1579
1579
|
* Deserializes binary data (in protobuf wire format).
|
|
1580
1580
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1581
|
-
* @return {!proto.
|
|
1581
|
+
* @return {!proto.BaseEmployee}
|
|
1582
1582
|
*/
|
|
1583
|
-
proto.
|
|
1583
|
+
proto.BaseEmployee.deserializeBinary = function(bytes) {
|
|
1584
1584
|
var reader = new jspb.BinaryReader(bytes);
|
|
1585
|
-
var msg = new proto.
|
|
1586
|
-
return proto.
|
|
1585
|
+
var msg = new proto.BaseEmployee;
|
|
1586
|
+
return proto.BaseEmployee.deserializeBinaryFromReader(msg, reader);
|
|
1587
1587
|
};
|
|
1588
1588
|
|
|
1589
1589
|
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1592
1592
|
* given reader into the given message object.
|
|
1593
|
-
* @param {!proto.
|
|
1593
|
+
* @param {!proto.BaseEmployee} msg The message object to deserialize into.
|
|
1594
1594
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1595
|
-
* @return {!proto.
|
|
1595
|
+
* @return {!proto.BaseEmployee}
|
|
1596
1596
|
*/
|
|
1597
|
-
proto.
|
|
1597
|
+
proto.BaseEmployee.deserializeBinaryFromReader = function(msg, reader) {
|
|
1598
1598
|
while (reader.nextField()) {
|
|
1599
1599
|
if (reader.isEndGroup()) {
|
|
1600
1600
|
break;
|
|
@@ -1682,9 +1682,9 @@ proto.prisca.v1.core.employee.BaseEmployee.deserializeBinaryFromReader = functio
|
|
|
1682
1682
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1683
1683
|
* @return {!Uint8Array}
|
|
1684
1684
|
*/
|
|
1685
|
-
proto.
|
|
1685
|
+
proto.BaseEmployee.prototype.serializeBinary = function() {
|
|
1686
1686
|
var writer = new jspb.BinaryWriter();
|
|
1687
|
-
proto.
|
|
1687
|
+
proto.BaseEmployee.serializeBinaryToWriter(this, writer);
|
|
1688
1688
|
return writer.getResultBuffer();
|
|
1689
1689
|
};
|
|
1690
1690
|
|
|
@@ -1692,11 +1692,11 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.serializeBinary = function(
|
|
|
1692
1692
|
/**
|
|
1693
1693
|
* Serializes the given message to binary data (in protobuf wire
|
|
1694
1694
|
* format), writing to the given BinaryWriter.
|
|
1695
|
-
* @param {!proto.
|
|
1695
|
+
* @param {!proto.BaseEmployee} message
|
|
1696
1696
|
* @param {!jspb.BinaryWriter} writer
|
|
1697
1697
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1698
1698
|
*/
|
|
1699
|
-
proto.
|
|
1699
|
+
proto.BaseEmployee.serializeBinaryToWriter = function(message, writer) {
|
|
1700
1700
|
var f = undefined;
|
|
1701
1701
|
f = message.getNik();
|
|
1702
1702
|
if (f.length > 0) {
|
|
@@ -1824,16 +1824,16 @@ proto.prisca.v1.core.employee.BaseEmployee.serializeBinaryToWriter = function(me
|
|
|
1824
1824
|
* optional string nik = 1;
|
|
1825
1825
|
* @return {string}
|
|
1826
1826
|
*/
|
|
1827
|
-
proto.
|
|
1827
|
+
proto.BaseEmployee.prototype.getNik = function() {
|
|
1828
1828
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1829
1829
|
};
|
|
1830
1830
|
|
|
1831
1831
|
|
|
1832
1832
|
/**
|
|
1833
1833
|
* @param {string} value
|
|
1834
|
-
* @return {!proto.
|
|
1834
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1835
1835
|
*/
|
|
1836
|
-
proto.
|
|
1836
|
+
proto.BaseEmployee.prototype.setNik = function(value) {
|
|
1837
1837
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1838
1838
|
};
|
|
1839
1839
|
|
|
@@ -1842,16 +1842,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setNik = function(value) {
|
|
|
1842
1842
|
* optional string full_name = 2;
|
|
1843
1843
|
* @return {string}
|
|
1844
1844
|
*/
|
|
1845
|
-
proto.
|
|
1845
|
+
proto.BaseEmployee.prototype.getFullName = function() {
|
|
1846
1846
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1847
1847
|
};
|
|
1848
1848
|
|
|
1849
1849
|
|
|
1850
1850
|
/**
|
|
1851
1851
|
* @param {string} value
|
|
1852
|
-
* @return {!proto.
|
|
1852
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1853
1853
|
*/
|
|
1854
|
-
proto.
|
|
1854
|
+
proto.BaseEmployee.prototype.setFullName = function(value) {
|
|
1855
1855
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1856
1856
|
};
|
|
1857
1857
|
|
|
@@ -1860,16 +1860,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setFullName = function(valu
|
|
|
1860
1860
|
* optional string address = 3;
|
|
1861
1861
|
* @return {string}
|
|
1862
1862
|
*/
|
|
1863
|
-
proto.
|
|
1863
|
+
proto.BaseEmployee.prototype.getAddress = function() {
|
|
1864
1864
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1865
1865
|
};
|
|
1866
1866
|
|
|
1867
1867
|
|
|
1868
1868
|
/**
|
|
1869
1869
|
* @param {string} value
|
|
1870
|
-
* @return {!proto.
|
|
1870
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1871
1871
|
*/
|
|
1872
|
-
proto.
|
|
1872
|
+
proto.BaseEmployee.prototype.setAddress = function(value) {
|
|
1873
1873
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1874
1874
|
};
|
|
1875
1875
|
|
|
@@ -1878,16 +1878,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setAddress = function(value
|
|
|
1878
1878
|
* optional string email = 4;
|
|
1879
1879
|
* @return {string}
|
|
1880
1880
|
*/
|
|
1881
|
-
proto.
|
|
1881
|
+
proto.BaseEmployee.prototype.getEmail = function() {
|
|
1882
1882
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1883
1883
|
};
|
|
1884
1884
|
|
|
1885
1885
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* @param {string} value
|
|
1888
|
-
* @return {!proto.
|
|
1888
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1889
1889
|
*/
|
|
1890
|
-
proto.
|
|
1890
|
+
proto.BaseEmployee.prototype.setEmail = function(value) {
|
|
1891
1891
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1892
1892
|
};
|
|
1893
1893
|
|
|
@@ -1896,16 +1896,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setEmail = function(value)
|
|
|
1896
1896
|
* optional string phone_number = 5;
|
|
1897
1897
|
* @return {string}
|
|
1898
1898
|
*/
|
|
1899
|
-
proto.
|
|
1899
|
+
proto.BaseEmployee.prototype.getPhoneNumber = function() {
|
|
1900
1900
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1901
1901
|
};
|
|
1902
1902
|
|
|
1903
1903
|
|
|
1904
1904
|
/**
|
|
1905
1905
|
* @param {string} value
|
|
1906
|
-
* @return {!proto.
|
|
1906
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1907
1907
|
*/
|
|
1908
|
-
proto.
|
|
1908
|
+
proto.BaseEmployee.prototype.setPhoneNumber = function(value) {
|
|
1909
1909
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1910
1910
|
};
|
|
1911
1911
|
|
|
@@ -1914,16 +1914,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setPhoneNumber = function(v
|
|
|
1914
1914
|
* optional string organization_references_id = 6;
|
|
1915
1915
|
* @return {string}
|
|
1916
1916
|
*/
|
|
1917
|
-
proto.
|
|
1917
|
+
proto.BaseEmployee.prototype.getOrganizationReferencesId = function() {
|
|
1918
1918
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1919
1919
|
};
|
|
1920
1920
|
|
|
1921
1921
|
|
|
1922
1922
|
/**
|
|
1923
1923
|
* @param {string} value
|
|
1924
|
-
* @return {!proto.
|
|
1924
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1925
1925
|
*/
|
|
1926
|
-
proto.
|
|
1926
|
+
proto.BaseEmployee.prototype.setOrganizationReferencesId = function(value) {
|
|
1927
1927
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1928
1928
|
};
|
|
1929
1929
|
|
|
@@ -1932,16 +1932,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setOrganizationReferencesId
|
|
|
1932
1932
|
* optional string work_location_references_id = 7;
|
|
1933
1933
|
* @return {string}
|
|
1934
1934
|
*/
|
|
1935
|
-
proto.
|
|
1935
|
+
proto.BaseEmployee.prototype.getWorkLocationReferencesId = function() {
|
|
1936
1936
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1937
1937
|
};
|
|
1938
1938
|
|
|
1939
1939
|
|
|
1940
1940
|
/**
|
|
1941
1941
|
* @param {string} value
|
|
1942
|
-
* @return {!proto.
|
|
1942
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1943
1943
|
*/
|
|
1944
|
-
proto.
|
|
1944
|
+
proto.BaseEmployee.prototype.setWorkLocationReferencesId = function(value) {
|
|
1945
1945
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1946
1946
|
};
|
|
1947
1947
|
|
|
@@ -1950,16 +1950,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setWorkLocationReferencesId
|
|
|
1950
1950
|
* optional string job_position_references_id = 8;
|
|
1951
1951
|
* @return {string}
|
|
1952
1952
|
*/
|
|
1953
|
-
proto.
|
|
1953
|
+
proto.BaseEmployee.prototype.getJobPositionReferencesId = function() {
|
|
1954
1954
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1955
1955
|
};
|
|
1956
1956
|
|
|
1957
1957
|
|
|
1958
1958
|
/**
|
|
1959
1959
|
* @param {string} value
|
|
1960
|
-
* @return {!proto.
|
|
1960
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1961
1961
|
*/
|
|
1962
|
-
proto.
|
|
1962
|
+
proto.BaseEmployee.prototype.setJobPositionReferencesId = function(value) {
|
|
1963
1963
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1964
1964
|
};
|
|
1965
1965
|
|
|
@@ -1968,16 +1968,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setJobPositionReferencesId
|
|
|
1968
1968
|
* optional string job_grade_references_id = 9;
|
|
1969
1969
|
* @return {string}
|
|
1970
1970
|
*/
|
|
1971
|
-
proto.
|
|
1971
|
+
proto.BaseEmployee.prototype.getJobGradeReferencesId = function() {
|
|
1972
1972
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1973
1973
|
};
|
|
1974
1974
|
|
|
1975
1975
|
|
|
1976
1976
|
/**
|
|
1977
1977
|
* @param {string} value
|
|
1978
|
-
* @return {!proto.
|
|
1978
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1979
1979
|
*/
|
|
1980
|
-
proto.
|
|
1980
|
+
proto.BaseEmployee.prototype.setJobGradeReferencesId = function(value) {
|
|
1981
1981
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1982
1982
|
};
|
|
1983
1983
|
|
|
@@ -1986,16 +1986,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setJobGradeReferencesId = f
|
|
|
1986
1986
|
* optional string job_title_references_id = 10;
|
|
1987
1987
|
* @return {string}
|
|
1988
1988
|
*/
|
|
1989
|
-
proto.
|
|
1989
|
+
proto.BaseEmployee.prototype.getJobTitleReferencesId = function() {
|
|
1990
1990
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1991
1991
|
};
|
|
1992
1992
|
|
|
1993
1993
|
|
|
1994
1994
|
/**
|
|
1995
1995
|
* @param {string} value
|
|
1996
|
-
* @return {!proto.
|
|
1996
|
+
* @return {!proto.BaseEmployee} returns this
|
|
1997
1997
|
*/
|
|
1998
|
-
proto.
|
|
1998
|
+
proto.BaseEmployee.prototype.setJobTitleReferencesId = function(value) {
|
|
1999
1999
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2000
2000
|
};
|
|
2001
2001
|
|
|
@@ -2004,16 +2004,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setJobTitleReferencesId = f
|
|
|
2004
2004
|
* optional string references_id = 11;
|
|
2005
2005
|
* @return {string}
|
|
2006
2006
|
*/
|
|
2007
|
-
proto.
|
|
2007
|
+
proto.BaseEmployee.prototype.getReferencesId = function() {
|
|
2008
2008
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2009
2009
|
};
|
|
2010
2010
|
|
|
2011
2011
|
|
|
2012
2012
|
/**
|
|
2013
2013
|
* @param {string} value
|
|
2014
|
-
* @return {!proto.
|
|
2014
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2015
2015
|
*/
|
|
2016
|
-
proto.
|
|
2016
|
+
proto.BaseEmployee.prototype.setReferencesId = function(value) {
|
|
2017
2017
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2018
2018
|
};
|
|
2019
2019
|
|
|
@@ -2022,16 +2022,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setReferencesId = function(
|
|
|
2022
2022
|
* optional string country_references_id = 12;
|
|
2023
2023
|
* @return {string}
|
|
2024
2024
|
*/
|
|
2025
|
-
proto.
|
|
2025
|
+
proto.BaseEmployee.prototype.getCountryReferencesId = function() {
|
|
2026
2026
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
2027
2027
|
};
|
|
2028
2028
|
|
|
2029
2029
|
|
|
2030
2030
|
/**
|
|
2031
2031
|
* @param {string} value
|
|
2032
|
-
* @return {!proto.
|
|
2032
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2033
2033
|
*/
|
|
2034
|
-
proto.
|
|
2034
|
+
proto.BaseEmployee.prototype.setCountryReferencesId = function(value) {
|
|
2035
2035
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
2036
2036
|
};
|
|
2037
2037
|
|
|
@@ -2040,16 +2040,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setCountryReferencesId = fu
|
|
|
2040
2040
|
* optional string village_references_id = 13;
|
|
2041
2041
|
* @return {string}
|
|
2042
2042
|
*/
|
|
2043
|
-
proto.
|
|
2043
|
+
proto.BaseEmployee.prototype.getVillageReferencesId = function() {
|
|
2044
2044
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
2045
2045
|
};
|
|
2046
2046
|
|
|
2047
2047
|
|
|
2048
2048
|
/**
|
|
2049
2049
|
* @param {string} value
|
|
2050
|
-
* @return {!proto.
|
|
2050
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2051
2051
|
*/
|
|
2052
|
-
proto.
|
|
2052
|
+
proto.BaseEmployee.prototype.setVillageReferencesId = function(value) {
|
|
2053
2053
|
return jspb.Message.setProto3StringField(this, 13, value);
|
|
2054
2054
|
};
|
|
2055
2055
|
|
|
@@ -2058,16 +2058,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setVillageReferencesId = fu
|
|
|
2058
2058
|
* optional string city_references_id = 14;
|
|
2059
2059
|
* @return {string}
|
|
2060
2060
|
*/
|
|
2061
|
-
proto.
|
|
2061
|
+
proto.BaseEmployee.prototype.getCityReferencesId = function() {
|
|
2062
2062
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
2063
2063
|
};
|
|
2064
2064
|
|
|
2065
2065
|
|
|
2066
2066
|
/**
|
|
2067
2067
|
* @param {string} value
|
|
2068
|
-
* @return {!proto.
|
|
2068
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2069
2069
|
*/
|
|
2070
|
-
proto.
|
|
2070
|
+
proto.BaseEmployee.prototype.setCityReferencesId = function(value) {
|
|
2071
2071
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
2072
2072
|
};
|
|
2073
2073
|
|
|
@@ -2076,16 +2076,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setCityReferencesId = funct
|
|
|
2076
2076
|
* optional string district_references_id = 15;
|
|
2077
2077
|
* @return {string}
|
|
2078
2078
|
*/
|
|
2079
|
-
proto.
|
|
2079
|
+
proto.BaseEmployee.prototype.getDistrictReferencesId = function() {
|
|
2080
2080
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
2081
2081
|
};
|
|
2082
2082
|
|
|
2083
2083
|
|
|
2084
2084
|
/**
|
|
2085
2085
|
* @param {string} value
|
|
2086
|
-
* @return {!proto.
|
|
2086
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2087
2087
|
*/
|
|
2088
|
-
proto.
|
|
2088
|
+
proto.BaseEmployee.prototype.setDistrictReferencesId = function(value) {
|
|
2089
2089
|
return jspb.Message.setProto3StringField(this, 15, value);
|
|
2090
2090
|
};
|
|
2091
2091
|
|
|
@@ -2094,16 +2094,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setDistrictReferencesId = f
|
|
|
2094
2094
|
* optional string province_references_id = 16;
|
|
2095
2095
|
* @return {string}
|
|
2096
2096
|
*/
|
|
2097
|
-
proto.
|
|
2097
|
+
proto.BaseEmployee.prototype.getProvinceReferencesId = function() {
|
|
2098
2098
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2099
2099
|
};
|
|
2100
2100
|
|
|
2101
2101
|
|
|
2102
2102
|
/**
|
|
2103
2103
|
* @param {string} value
|
|
2104
|
-
* @return {!proto.
|
|
2104
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2105
2105
|
*/
|
|
2106
|
-
proto.
|
|
2106
|
+
proto.BaseEmployee.prototype.setProvinceReferencesId = function(value) {
|
|
2107
2107
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2108
2108
|
};
|
|
2109
2109
|
|
|
@@ -2112,16 +2112,16 @@ proto.prisca.v1.core.employee.BaseEmployee.prototype.setProvinceReferencesId = f
|
|
|
2112
2112
|
* optional string companies_references_id = 17;
|
|
2113
2113
|
* @return {string}
|
|
2114
2114
|
*/
|
|
2115
|
-
proto.
|
|
2115
|
+
proto.BaseEmployee.prototype.getCompaniesReferencesId = function() {
|
|
2116
2116
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
2117
2117
|
};
|
|
2118
2118
|
|
|
2119
2119
|
|
|
2120
2120
|
/**
|
|
2121
2121
|
* @param {string} value
|
|
2122
|
-
* @return {!proto.
|
|
2122
|
+
* @return {!proto.BaseEmployee} returns this
|
|
2123
2123
|
*/
|
|
2124
|
-
proto.
|
|
2124
|
+
proto.BaseEmployee.prototype.setCompaniesReferencesId = function(value) {
|
|
2125
2125
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
2126
2126
|
};
|
|
2127
2127
|
|
|
@@ -2142,8 +2142,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2142
2142
|
* http://goto/soy-param-migration
|
|
2143
2143
|
* @return {!Object}
|
|
2144
2144
|
*/
|
|
2145
|
-
proto.
|
|
2146
|
-
return proto.
|
|
2145
|
+
proto.BaseEmployeeDefault.prototype.toObject = function(opt_includeInstance) {
|
|
2146
|
+
return proto.BaseEmployeeDefault.toObject(opt_includeInstance, this);
|
|
2147
2147
|
};
|
|
2148
2148
|
|
|
2149
2149
|
|
|
@@ -2152,11 +2152,11 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.prototype.toObject = function(
|
|
|
2152
2152
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2153
2153
|
* the JSPB instance for transitional soy proto support:
|
|
2154
2154
|
* http://goto/soy-param-migration
|
|
2155
|
-
* @param {!proto.
|
|
2155
|
+
* @param {!proto.BaseEmployeeDefault} msg The msg instance to transform.
|
|
2156
2156
|
* @return {!Object}
|
|
2157
2157
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2158
2158
|
*/
|
|
2159
|
-
proto.
|
|
2159
|
+
proto.BaseEmployeeDefault.toObject = function(includeInstance, msg) {
|
|
2160
2160
|
var f, obj = {
|
|
2161
2161
|
fullName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2162
2162
|
email: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -2174,23 +2174,23 @@ companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCom
|
|
|
2174
2174
|
/**
|
|
2175
2175
|
* Deserializes binary data (in protobuf wire format).
|
|
2176
2176
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2177
|
-
* @return {!proto.
|
|
2177
|
+
* @return {!proto.BaseEmployeeDefault}
|
|
2178
2178
|
*/
|
|
2179
|
-
proto.
|
|
2179
|
+
proto.BaseEmployeeDefault.deserializeBinary = function(bytes) {
|
|
2180
2180
|
var reader = new jspb.BinaryReader(bytes);
|
|
2181
|
-
var msg = new proto.
|
|
2182
|
-
return proto.
|
|
2181
|
+
var msg = new proto.BaseEmployeeDefault;
|
|
2182
|
+
return proto.BaseEmployeeDefault.deserializeBinaryFromReader(msg, reader);
|
|
2183
2183
|
};
|
|
2184
2184
|
|
|
2185
2185
|
|
|
2186
2186
|
/**
|
|
2187
2187
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2188
2188
|
* given reader into the given message object.
|
|
2189
|
-
* @param {!proto.
|
|
2189
|
+
* @param {!proto.BaseEmployeeDefault} msg The message object to deserialize into.
|
|
2190
2190
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2191
|
-
* @return {!proto.
|
|
2191
|
+
* @return {!proto.BaseEmployeeDefault}
|
|
2192
2192
|
*/
|
|
2193
|
-
proto.
|
|
2193
|
+
proto.BaseEmployeeDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
2194
2194
|
while (reader.nextField()) {
|
|
2195
2195
|
if (reader.isEndGroup()) {
|
|
2196
2196
|
break;
|
|
@@ -2223,9 +2223,9 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.deserializeBinaryFromReader =
|
|
|
2223
2223
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2224
2224
|
* @return {!Uint8Array}
|
|
2225
2225
|
*/
|
|
2226
|
-
proto.
|
|
2226
|
+
proto.BaseEmployeeDefault.prototype.serializeBinary = function() {
|
|
2227
2227
|
var writer = new jspb.BinaryWriter();
|
|
2228
|
-
proto.
|
|
2228
|
+
proto.BaseEmployeeDefault.serializeBinaryToWriter(this, writer);
|
|
2229
2229
|
return writer.getResultBuffer();
|
|
2230
2230
|
};
|
|
2231
2231
|
|
|
@@ -2233,11 +2233,11 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.prototype.serializeBinary = fu
|
|
|
2233
2233
|
/**
|
|
2234
2234
|
* Serializes the given message to binary data (in protobuf wire
|
|
2235
2235
|
* format), writing to the given BinaryWriter.
|
|
2236
|
-
* @param {!proto.
|
|
2236
|
+
* @param {!proto.BaseEmployeeDefault} message
|
|
2237
2237
|
* @param {!jspb.BinaryWriter} writer
|
|
2238
2238
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2239
2239
|
*/
|
|
2240
|
-
proto.
|
|
2240
|
+
proto.BaseEmployeeDefault.serializeBinaryToWriter = function(message, writer) {
|
|
2241
2241
|
var f = undefined;
|
|
2242
2242
|
f = message.getFullName();
|
|
2243
2243
|
if (f.length > 0) {
|
|
@@ -2268,16 +2268,16 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.serializeBinaryToWriter = func
|
|
|
2268
2268
|
* optional string full_name = 1;
|
|
2269
2269
|
* @return {string}
|
|
2270
2270
|
*/
|
|
2271
|
-
proto.
|
|
2271
|
+
proto.BaseEmployeeDefault.prototype.getFullName = function() {
|
|
2272
2272
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2273
2273
|
};
|
|
2274
2274
|
|
|
2275
2275
|
|
|
2276
2276
|
/**
|
|
2277
2277
|
* @param {string} value
|
|
2278
|
-
* @return {!proto.
|
|
2278
|
+
* @return {!proto.BaseEmployeeDefault} returns this
|
|
2279
2279
|
*/
|
|
2280
|
-
proto.
|
|
2280
|
+
proto.BaseEmployeeDefault.prototype.setFullName = function(value) {
|
|
2281
2281
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2282
2282
|
};
|
|
2283
2283
|
|
|
@@ -2286,16 +2286,16 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.prototype.setFullName = functi
|
|
|
2286
2286
|
* optional string email = 2;
|
|
2287
2287
|
* @return {string}
|
|
2288
2288
|
*/
|
|
2289
|
-
proto.
|
|
2289
|
+
proto.BaseEmployeeDefault.prototype.getEmail = function() {
|
|
2290
2290
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2291
2291
|
};
|
|
2292
2292
|
|
|
2293
2293
|
|
|
2294
2294
|
/**
|
|
2295
2295
|
* @param {string} value
|
|
2296
|
-
* @return {!proto.
|
|
2296
|
+
* @return {!proto.BaseEmployeeDefault} returns this
|
|
2297
2297
|
*/
|
|
2298
|
-
proto.
|
|
2298
|
+
proto.BaseEmployeeDefault.prototype.setEmail = function(value) {
|
|
2299
2299
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2300
2300
|
};
|
|
2301
2301
|
|
|
@@ -2304,7 +2304,7 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.prototype.setEmail = function(
|
|
|
2304
2304
|
* optional BaseCompanyParent companies = 3;
|
|
2305
2305
|
* @return {?proto.BaseCompanyParent}
|
|
2306
2306
|
*/
|
|
2307
|
-
proto.
|
|
2307
|
+
proto.BaseEmployeeDefault.prototype.getCompanies = function() {
|
|
2308
2308
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
2309
2309
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 3));
|
|
2310
2310
|
};
|
|
@@ -2312,18 +2312,18 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.prototype.getCompanies = funct
|
|
|
2312
2312
|
|
|
2313
2313
|
/**
|
|
2314
2314
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
2315
|
-
* @return {!proto.
|
|
2315
|
+
* @return {!proto.BaseEmployeeDefault} returns this
|
|
2316
2316
|
*/
|
|
2317
|
-
proto.
|
|
2317
|
+
proto.BaseEmployeeDefault.prototype.setCompanies = function(value) {
|
|
2318
2318
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
2319
2319
|
};
|
|
2320
2320
|
|
|
2321
2321
|
|
|
2322
2322
|
/**
|
|
2323
2323
|
* Clears the message field making it undefined.
|
|
2324
|
-
* @return {!proto.
|
|
2324
|
+
* @return {!proto.BaseEmployeeDefault} returns this
|
|
2325
2325
|
*/
|
|
2326
|
-
proto.
|
|
2326
|
+
proto.BaseEmployeeDefault.prototype.clearCompanies = function() {
|
|
2327
2327
|
return this.setCompanies(undefined);
|
|
2328
2328
|
};
|
|
2329
2329
|
|
|
@@ -2332,7 +2332,7 @@ proto.prisca.v1.core.employee.BaseEmployeeDefault.prototype.clearCompanies = fun
|
|
|
2332
2332
|
* Returns whether this field is set.
|
|
2333
2333
|
* @return {boolean}
|
|
2334
2334
|
*/
|
|
2335
|
-
proto.
|
|
2335
|
+
proto.BaseEmployeeDefault.prototype.hasCompanies = function() {
|
|
2336
2336
|
return jspb.Message.getField(this, 3) != null;
|
|
2337
2337
|
};
|
|
2338
2338
|
|
|
@@ -2353,8 +2353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2353
2353
|
* http://goto/soy-param-migration
|
|
2354
2354
|
* @return {!Object}
|
|
2355
2355
|
*/
|
|
2356
|
-
proto.
|
|
2357
|
-
return proto.
|
|
2356
|
+
proto.GetEmployeeByIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2357
|
+
return proto.GetEmployeeByIdRequest.toObject(opt_includeInstance, this);
|
|
2358
2358
|
};
|
|
2359
2359
|
|
|
2360
2360
|
|
|
@@ -2363,11 +2363,11 @@ proto.prisca.v1.core.employee.GetEmployeeByIdRequest.prototype.toObject = functi
|
|
|
2363
2363
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2364
2364
|
* the JSPB instance for transitional soy proto support:
|
|
2365
2365
|
* http://goto/soy-param-migration
|
|
2366
|
-
* @param {!proto.
|
|
2366
|
+
* @param {!proto.GetEmployeeByIdRequest} msg The msg instance to transform.
|
|
2367
2367
|
* @return {!Object}
|
|
2368
2368
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2369
2369
|
*/
|
|
2370
|
-
proto.
|
|
2370
|
+
proto.GetEmployeeByIdRequest.toObject = function(includeInstance, msg) {
|
|
2371
2371
|
var f, obj = {
|
|
2372
2372
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2373
2373
|
};
|
|
@@ -2383,23 +2383,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Deserializes binary data (in protobuf wire format).
|
|
2385
2385
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2386
|
-
* @return {!proto.
|
|
2386
|
+
* @return {!proto.GetEmployeeByIdRequest}
|
|
2387
2387
|
*/
|
|
2388
|
-
proto.
|
|
2388
|
+
proto.GetEmployeeByIdRequest.deserializeBinary = function(bytes) {
|
|
2389
2389
|
var reader = new jspb.BinaryReader(bytes);
|
|
2390
|
-
var msg = new proto.
|
|
2391
|
-
return proto.
|
|
2390
|
+
var msg = new proto.GetEmployeeByIdRequest;
|
|
2391
|
+
return proto.GetEmployeeByIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2392
2392
|
};
|
|
2393
2393
|
|
|
2394
2394
|
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2397
2397
|
* given reader into the given message object.
|
|
2398
|
-
* @param {!proto.
|
|
2398
|
+
* @param {!proto.GetEmployeeByIdRequest} msg The message object to deserialize into.
|
|
2399
2399
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2400
|
-
* @return {!proto.
|
|
2400
|
+
* @return {!proto.GetEmployeeByIdRequest}
|
|
2401
2401
|
*/
|
|
2402
|
-
proto.
|
|
2402
|
+
proto.GetEmployeeByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2403
2403
|
while (reader.nextField()) {
|
|
2404
2404
|
if (reader.isEndGroup()) {
|
|
2405
2405
|
break;
|
|
@@ -2423,9 +2423,9 @@ proto.prisca.v1.core.employee.GetEmployeeByIdRequest.deserializeBinaryFromReader
|
|
|
2423
2423
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2424
2424
|
* @return {!Uint8Array}
|
|
2425
2425
|
*/
|
|
2426
|
-
proto.
|
|
2426
|
+
proto.GetEmployeeByIdRequest.prototype.serializeBinary = function() {
|
|
2427
2427
|
var writer = new jspb.BinaryWriter();
|
|
2428
|
-
proto.
|
|
2428
|
+
proto.GetEmployeeByIdRequest.serializeBinaryToWriter(this, writer);
|
|
2429
2429
|
return writer.getResultBuffer();
|
|
2430
2430
|
};
|
|
2431
2431
|
|
|
@@ -2433,11 +2433,11 @@ proto.prisca.v1.core.employee.GetEmployeeByIdRequest.prototype.serializeBinary =
|
|
|
2433
2433
|
/**
|
|
2434
2434
|
* Serializes the given message to binary data (in protobuf wire
|
|
2435
2435
|
* format), writing to the given BinaryWriter.
|
|
2436
|
-
* @param {!proto.
|
|
2436
|
+
* @param {!proto.GetEmployeeByIdRequest} message
|
|
2437
2437
|
* @param {!jspb.BinaryWriter} writer
|
|
2438
2438
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2439
2439
|
*/
|
|
2440
|
-
proto.
|
|
2440
|
+
proto.GetEmployeeByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2441
2441
|
var f = undefined;
|
|
2442
2442
|
f = message.getReferencesId();
|
|
2443
2443
|
if (f.length > 0) {
|
|
@@ -2453,16 +2453,16 @@ proto.prisca.v1.core.employee.GetEmployeeByIdRequest.serializeBinaryToWriter = f
|
|
|
2453
2453
|
* optional string references_id = 1;
|
|
2454
2454
|
* @return {string}
|
|
2455
2455
|
*/
|
|
2456
|
-
proto.
|
|
2456
|
+
proto.GetEmployeeByIdRequest.prototype.getReferencesId = function() {
|
|
2457
2457
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2458
2458
|
};
|
|
2459
2459
|
|
|
2460
2460
|
|
|
2461
2461
|
/**
|
|
2462
2462
|
* @param {string} value
|
|
2463
|
-
* @return {!proto.
|
|
2463
|
+
* @return {!proto.GetEmployeeByIdRequest} returns this
|
|
2464
2464
|
*/
|
|
2465
|
-
proto.
|
|
2465
|
+
proto.GetEmployeeByIdRequest.prototype.setReferencesId = function(value) {
|
|
2466
2466
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2467
2467
|
};
|
|
2468
2468
|
|
|
@@ -2483,8 +2483,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2483
2483
|
* http://goto/soy-param-migration
|
|
2484
2484
|
* @return {!Object}
|
|
2485
2485
|
*/
|
|
2486
|
-
proto.
|
|
2487
|
-
return proto.
|
|
2486
|
+
proto.CreateEmployeeDefaultRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2487
|
+
return proto.CreateEmployeeDefaultRequest.toObject(opt_includeInstance, this);
|
|
2488
2488
|
};
|
|
2489
2489
|
|
|
2490
2490
|
|
|
@@ -2493,13 +2493,13 @@ proto.prisca.v1.core.employee.CreateEmployeeDefaultRequest.prototype.toObject =
|
|
|
2493
2493
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2494
2494
|
* the JSPB instance for transitional soy proto support:
|
|
2495
2495
|
* http://goto/soy-param-migration
|
|
2496
|
-
* @param {!proto.
|
|
2496
|
+
* @param {!proto.CreateEmployeeDefaultRequest} msg The msg instance to transform.
|
|
2497
2497
|
* @return {!Object}
|
|
2498
2498
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2499
2499
|
*/
|
|
2500
|
-
proto.
|
|
2500
|
+
proto.CreateEmployeeDefaultRequest.toObject = function(includeInstance, msg) {
|
|
2501
2501
|
var f, obj = {
|
|
2502
|
-
employee: (f = msg.getEmployee()) && proto.
|
|
2502
|
+
employee: (f = msg.getEmployee()) && proto.BaseEmployeeDefault.toObject(includeInstance, f)
|
|
2503
2503
|
};
|
|
2504
2504
|
|
|
2505
2505
|
if (includeInstance) {
|
|
@@ -2513,23 +2513,23 @@ employee: (f = msg.getEmployee()) && proto.prisca.v1.core.employee.BaseEmployeeD
|
|
|
2513
2513
|
/**
|
|
2514
2514
|
* Deserializes binary data (in protobuf wire format).
|
|
2515
2515
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2516
|
-
* @return {!proto.
|
|
2516
|
+
* @return {!proto.CreateEmployeeDefaultRequest}
|
|
2517
2517
|
*/
|
|
2518
|
-
proto.
|
|
2518
|
+
proto.CreateEmployeeDefaultRequest.deserializeBinary = function(bytes) {
|
|
2519
2519
|
var reader = new jspb.BinaryReader(bytes);
|
|
2520
|
-
var msg = new proto.
|
|
2521
|
-
return proto.
|
|
2520
|
+
var msg = new proto.CreateEmployeeDefaultRequest;
|
|
2521
|
+
return proto.CreateEmployeeDefaultRequest.deserializeBinaryFromReader(msg, reader);
|
|
2522
2522
|
};
|
|
2523
2523
|
|
|
2524
2524
|
|
|
2525
2525
|
/**
|
|
2526
2526
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2527
2527
|
* given reader into the given message object.
|
|
2528
|
-
* @param {!proto.
|
|
2528
|
+
* @param {!proto.CreateEmployeeDefaultRequest} msg The message object to deserialize into.
|
|
2529
2529
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2530
|
-
* @return {!proto.
|
|
2530
|
+
* @return {!proto.CreateEmployeeDefaultRequest}
|
|
2531
2531
|
*/
|
|
2532
|
-
proto.
|
|
2532
|
+
proto.CreateEmployeeDefaultRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2533
2533
|
while (reader.nextField()) {
|
|
2534
2534
|
if (reader.isEndGroup()) {
|
|
2535
2535
|
break;
|
|
@@ -2537,8 +2537,8 @@ proto.prisca.v1.core.employee.CreateEmployeeDefaultRequest.deserializeBinaryFrom
|
|
|
2537
2537
|
var field = reader.getFieldNumber();
|
|
2538
2538
|
switch (field) {
|
|
2539
2539
|
case 1:
|
|
2540
|
-
var value = new proto.
|
|
2541
|
-
reader.readMessage(value,proto.
|
|
2540
|
+
var value = new proto.BaseEmployeeDefault;
|
|
2541
|
+
reader.readMessage(value,proto.BaseEmployeeDefault.deserializeBinaryFromReader);
|
|
2542
2542
|
msg.setEmployee(value);
|
|
2543
2543
|
break;
|
|
2544
2544
|
default:
|
|
@@ -2554,9 +2554,9 @@ proto.prisca.v1.core.employee.CreateEmployeeDefaultRequest.deserializeBinaryFrom
|
|
|
2554
2554
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2555
2555
|
* @return {!Uint8Array}
|
|
2556
2556
|
*/
|
|
2557
|
-
proto.
|
|
2557
|
+
proto.CreateEmployeeDefaultRequest.prototype.serializeBinary = function() {
|
|
2558
2558
|
var writer = new jspb.BinaryWriter();
|
|
2559
|
-
proto.
|
|
2559
|
+
proto.CreateEmployeeDefaultRequest.serializeBinaryToWriter(this, writer);
|
|
2560
2560
|
return writer.getResultBuffer();
|
|
2561
2561
|
};
|
|
2562
2562
|
|
|
@@ -2564,18 +2564,18 @@ proto.prisca.v1.core.employee.CreateEmployeeDefaultRequest.prototype.serializeBi
|
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Serializes the given message to binary data (in protobuf wire
|
|
2566
2566
|
* format), writing to the given BinaryWriter.
|
|
2567
|
-
* @param {!proto.
|
|
2567
|
+
* @param {!proto.CreateEmployeeDefaultRequest} message
|
|
2568
2568
|
* @param {!jspb.BinaryWriter} writer
|
|
2569
2569
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2570
2570
|
*/
|
|
2571
|
-
proto.
|
|
2571
|
+
proto.CreateEmployeeDefaultRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2572
2572
|
var f = undefined;
|
|
2573
2573
|
f = message.getEmployee();
|
|
2574
2574
|
if (f != null) {
|
|
2575
2575
|
writer.writeMessage(
|
|
2576
2576
|
1,
|
|
2577
2577
|
f,
|
|
2578
|
-
proto.
|
|
2578
|
+
proto.BaseEmployeeDefault.serializeBinaryToWriter
|
|
2579
2579
|
);
|
|
2580
2580
|
}
|
|
2581
2581
|
};
|
|
@@ -2583,28 +2583,28 @@ proto.prisca.v1.core.employee.CreateEmployeeDefaultRequest.serializeBinaryToWrit
|
|
|
2583
2583
|
|
|
2584
2584
|
/**
|
|
2585
2585
|
* optional BaseEmployeeDefault employee = 1;
|
|
2586
|
-
* @return {?proto.
|
|
2586
|
+
* @return {?proto.BaseEmployeeDefault}
|
|
2587
2587
|
*/
|
|
2588
|
-
proto.
|
|
2589
|
-
return /** @type{?proto.
|
|
2590
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2588
|
+
proto.CreateEmployeeDefaultRequest.prototype.getEmployee = function() {
|
|
2589
|
+
return /** @type{?proto.BaseEmployeeDefault} */ (
|
|
2590
|
+
jspb.Message.getWrapperField(this, proto.BaseEmployeeDefault, 1));
|
|
2591
2591
|
};
|
|
2592
2592
|
|
|
2593
2593
|
|
|
2594
2594
|
/**
|
|
2595
|
-
* @param {?proto.
|
|
2596
|
-
* @return {!proto.
|
|
2595
|
+
* @param {?proto.BaseEmployeeDefault|undefined} value
|
|
2596
|
+
* @return {!proto.CreateEmployeeDefaultRequest} returns this
|
|
2597
2597
|
*/
|
|
2598
|
-
proto.
|
|
2598
|
+
proto.CreateEmployeeDefaultRequest.prototype.setEmployee = function(value) {
|
|
2599
2599
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2600
2600
|
};
|
|
2601
2601
|
|
|
2602
2602
|
|
|
2603
2603
|
/**
|
|
2604
2604
|
* Clears the message field making it undefined.
|
|
2605
|
-
* @return {!proto.
|
|
2605
|
+
* @return {!proto.CreateEmployeeDefaultRequest} returns this
|
|
2606
2606
|
*/
|
|
2607
|
-
proto.
|
|
2607
|
+
proto.CreateEmployeeDefaultRequest.prototype.clearEmployee = function() {
|
|
2608
2608
|
return this.setEmployee(undefined);
|
|
2609
2609
|
};
|
|
2610
2610
|
|
|
@@ -2613,7 +2613,7 @@ proto.prisca.v1.core.employee.CreateEmployeeDefaultRequest.prototype.clearEmploy
|
|
|
2613
2613
|
* Returns whether this field is set.
|
|
2614
2614
|
* @return {boolean}
|
|
2615
2615
|
*/
|
|
2616
|
-
proto.
|
|
2616
|
+
proto.CreateEmployeeDefaultRequest.prototype.hasEmployee = function() {
|
|
2617
2617
|
return jspb.Message.getField(this, 1) != null;
|
|
2618
2618
|
};
|
|
2619
2619
|
|
|
@@ -2634,8 +2634,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2634
2634
|
* http://goto/soy-param-migration
|
|
2635
2635
|
* @return {!Object}
|
|
2636
2636
|
*/
|
|
2637
|
-
proto.
|
|
2638
|
-
return proto.
|
|
2637
|
+
proto.CreateEmployeeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2638
|
+
return proto.CreateEmployeeRequest.toObject(opt_includeInstance, this);
|
|
2639
2639
|
};
|
|
2640
2640
|
|
|
2641
2641
|
|
|
@@ -2644,13 +2644,13 @@ proto.prisca.v1.core.employee.CreateEmployeeRequest.prototype.toObject = functio
|
|
|
2644
2644
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2645
2645
|
* the JSPB instance for transitional soy proto support:
|
|
2646
2646
|
* http://goto/soy-param-migration
|
|
2647
|
-
* @param {!proto.
|
|
2647
|
+
* @param {!proto.CreateEmployeeRequest} msg The msg instance to transform.
|
|
2648
2648
|
* @return {!Object}
|
|
2649
2649
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2650
2650
|
*/
|
|
2651
|
-
proto.
|
|
2651
|
+
proto.CreateEmployeeRequest.toObject = function(includeInstance, msg) {
|
|
2652
2652
|
var f, obj = {
|
|
2653
|
-
employee: (f = msg.getEmployee()) && proto.
|
|
2653
|
+
employee: (f = msg.getEmployee()) && proto.BaseEmployee.toObject(includeInstance, f)
|
|
2654
2654
|
};
|
|
2655
2655
|
|
|
2656
2656
|
if (includeInstance) {
|
|
@@ -2664,23 +2664,23 @@ employee: (f = msg.getEmployee()) && proto.prisca.v1.core.employee.BaseEmployee.
|
|
|
2664
2664
|
/**
|
|
2665
2665
|
* Deserializes binary data (in protobuf wire format).
|
|
2666
2666
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2667
|
-
* @return {!proto.
|
|
2667
|
+
* @return {!proto.CreateEmployeeRequest}
|
|
2668
2668
|
*/
|
|
2669
|
-
proto.
|
|
2669
|
+
proto.CreateEmployeeRequest.deserializeBinary = function(bytes) {
|
|
2670
2670
|
var reader = new jspb.BinaryReader(bytes);
|
|
2671
|
-
var msg = new proto.
|
|
2672
|
-
return proto.
|
|
2671
|
+
var msg = new proto.CreateEmployeeRequest;
|
|
2672
|
+
return proto.CreateEmployeeRequest.deserializeBinaryFromReader(msg, reader);
|
|
2673
2673
|
};
|
|
2674
2674
|
|
|
2675
2675
|
|
|
2676
2676
|
/**
|
|
2677
2677
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2678
2678
|
* given reader into the given message object.
|
|
2679
|
-
* @param {!proto.
|
|
2679
|
+
* @param {!proto.CreateEmployeeRequest} msg The message object to deserialize into.
|
|
2680
2680
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2681
|
-
* @return {!proto.
|
|
2681
|
+
* @return {!proto.CreateEmployeeRequest}
|
|
2682
2682
|
*/
|
|
2683
|
-
proto.
|
|
2683
|
+
proto.CreateEmployeeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2684
2684
|
while (reader.nextField()) {
|
|
2685
2685
|
if (reader.isEndGroup()) {
|
|
2686
2686
|
break;
|
|
@@ -2688,8 +2688,8 @@ proto.prisca.v1.core.employee.CreateEmployeeRequest.deserializeBinaryFromReader
|
|
|
2688
2688
|
var field = reader.getFieldNumber();
|
|
2689
2689
|
switch (field) {
|
|
2690
2690
|
case 1:
|
|
2691
|
-
var value = new proto.
|
|
2692
|
-
reader.readMessage(value,proto.
|
|
2691
|
+
var value = new proto.BaseEmployee;
|
|
2692
|
+
reader.readMessage(value,proto.BaseEmployee.deserializeBinaryFromReader);
|
|
2693
2693
|
msg.setEmployee(value);
|
|
2694
2694
|
break;
|
|
2695
2695
|
default:
|
|
@@ -2705,9 +2705,9 @@ proto.prisca.v1.core.employee.CreateEmployeeRequest.deserializeBinaryFromReader
|
|
|
2705
2705
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2706
2706
|
* @return {!Uint8Array}
|
|
2707
2707
|
*/
|
|
2708
|
-
proto.
|
|
2708
|
+
proto.CreateEmployeeRequest.prototype.serializeBinary = function() {
|
|
2709
2709
|
var writer = new jspb.BinaryWriter();
|
|
2710
|
-
proto.
|
|
2710
|
+
proto.CreateEmployeeRequest.serializeBinaryToWriter(this, writer);
|
|
2711
2711
|
return writer.getResultBuffer();
|
|
2712
2712
|
};
|
|
2713
2713
|
|
|
@@ -2715,18 +2715,18 @@ proto.prisca.v1.core.employee.CreateEmployeeRequest.prototype.serializeBinary =
|
|
|
2715
2715
|
/**
|
|
2716
2716
|
* Serializes the given message to binary data (in protobuf wire
|
|
2717
2717
|
* format), writing to the given BinaryWriter.
|
|
2718
|
-
* @param {!proto.
|
|
2718
|
+
* @param {!proto.CreateEmployeeRequest} message
|
|
2719
2719
|
* @param {!jspb.BinaryWriter} writer
|
|
2720
2720
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2721
2721
|
*/
|
|
2722
|
-
proto.
|
|
2722
|
+
proto.CreateEmployeeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2723
2723
|
var f = undefined;
|
|
2724
2724
|
f = message.getEmployee();
|
|
2725
2725
|
if (f != null) {
|
|
2726
2726
|
writer.writeMessage(
|
|
2727
2727
|
1,
|
|
2728
2728
|
f,
|
|
2729
|
-
proto.
|
|
2729
|
+
proto.BaseEmployee.serializeBinaryToWriter
|
|
2730
2730
|
);
|
|
2731
2731
|
}
|
|
2732
2732
|
};
|
|
@@ -2734,28 +2734,28 @@ proto.prisca.v1.core.employee.CreateEmployeeRequest.serializeBinaryToWriter = fu
|
|
|
2734
2734
|
|
|
2735
2735
|
/**
|
|
2736
2736
|
* optional BaseEmployee employee = 1;
|
|
2737
|
-
* @return {?proto.
|
|
2737
|
+
* @return {?proto.BaseEmployee}
|
|
2738
2738
|
*/
|
|
2739
|
-
proto.
|
|
2740
|
-
return /** @type{?proto.
|
|
2741
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2739
|
+
proto.CreateEmployeeRequest.prototype.getEmployee = function() {
|
|
2740
|
+
return /** @type{?proto.BaseEmployee} */ (
|
|
2741
|
+
jspb.Message.getWrapperField(this, proto.BaseEmployee, 1));
|
|
2742
2742
|
};
|
|
2743
2743
|
|
|
2744
2744
|
|
|
2745
2745
|
/**
|
|
2746
|
-
* @param {?proto.
|
|
2747
|
-
* @return {!proto.
|
|
2746
|
+
* @param {?proto.BaseEmployee|undefined} value
|
|
2747
|
+
* @return {!proto.CreateEmployeeRequest} returns this
|
|
2748
2748
|
*/
|
|
2749
|
-
proto.
|
|
2749
|
+
proto.CreateEmployeeRequest.prototype.setEmployee = function(value) {
|
|
2750
2750
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2751
2751
|
};
|
|
2752
2752
|
|
|
2753
2753
|
|
|
2754
2754
|
/**
|
|
2755
2755
|
* Clears the message field making it undefined.
|
|
2756
|
-
* @return {!proto.
|
|
2756
|
+
* @return {!proto.CreateEmployeeRequest} returns this
|
|
2757
2757
|
*/
|
|
2758
|
-
proto.
|
|
2758
|
+
proto.CreateEmployeeRequest.prototype.clearEmployee = function() {
|
|
2759
2759
|
return this.setEmployee(undefined);
|
|
2760
2760
|
};
|
|
2761
2761
|
|
|
@@ -2764,7 +2764,7 @@ proto.prisca.v1.core.employee.CreateEmployeeRequest.prototype.clearEmployee = fu
|
|
|
2764
2764
|
* Returns whether this field is set.
|
|
2765
2765
|
* @return {boolean}
|
|
2766
2766
|
*/
|
|
2767
|
-
proto.
|
|
2767
|
+
proto.CreateEmployeeRequest.prototype.hasEmployee = function() {
|
|
2768
2768
|
return jspb.Message.getField(this, 1) != null;
|
|
2769
2769
|
};
|
|
2770
2770
|
|
|
@@ -2785,8 +2785,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2785
2785
|
* http://goto/soy-param-migration
|
|
2786
2786
|
* @return {!Object}
|
|
2787
2787
|
*/
|
|
2788
|
-
proto.
|
|
2789
|
-
return proto.
|
|
2788
|
+
proto.UpdateEmployeeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2789
|
+
return proto.UpdateEmployeeRequest.toObject(opt_includeInstance, this);
|
|
2790
2790
|
};
|
|
2791
2791
|
|
|
2792
2792
|
|
|
@@ -2795,14 +2795,14 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.prototype.toObject = functio
|
|
|
2795
2795
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2796
2796
|
* the JSPB instance for transitional soy proto support:
|
|
2797
2797
|
* http://goto/soy-param-migration
|
|
2798
|
-
* @param {!proto.
|
|
2798
|
+
* @param {!proto.UpdateEmployeeRequest} msg The msg instance to transform.
|
|
2799
2799
|
* @return {!Object}
|
|
2800
2800
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2801
2801
|
*/
|
|
2802
|
-
proto.
|
|
2802
|
+
proto.UpdateEmployeeRequest.toObject = function(includeInstance, msg) {
|
|
2803
2803
|
var f, obj = {
|
|
2804
2804
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2805
|
-
employee: (f = msg.getEmployee()) && proto.
|
|
2805
|
+
employee: (f = msg.getEmployee()) && proto.BaseEmployee.toObject(includeInstance, f)
|
|
2806
2806
|
};
|
|
2807
2807
|
|
|
2808
2808
|
if (includeInstance) {
|
|
@@ -2816,23 +2816,23 @@ employee: (f = msg.getEmployee()) && proto.prisca.v1.core.employee.BaseEmployee.
|
|
|
2816
2816
|
/**
|
|
2817
2817
|
* Deserializes binary data (in protobuf wire format).
|
|
2818
2818
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2819
|
-
* @return {!proto.
|
|
2819
|
+
* @return {!proto.UpdateEmployeeRequest}
|
|
2820
2820
|
*/
|
|
2821
|
-
proto.
|
|
2821
|
+
proto.UpdateEmployeeRequest.deserializeBinary = function(bytes) {
|
|
2822
2822
|
var reader = new jspb.BinaryReader(bytes);
|
|
2823
|
-
var msg = new proto.
|
|
2824
|
-
return proto.
|
|
2823
|
+
var msg = new proto.UpdateEmployeeRequest;
|
|
2824
|
+
return proto.UpdateEmployeeRequest.deserializeBinaryFromReader(msg, reader);
|
|
2825
2825
|
};
|
|
2826
2826
|
|
|
2827
2827
|
|
|
2828
2828
|
/**
|
|
2829
2829
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2830
2830
|
* given reader into the given message object.
|
|
2831
|
-
* @param {!proto.
|
|
2831
|
+
* @param {!proto.UpdateEmployeeRequest} msg The message object to deserialize into.
|
|
2832
2832
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2833
|
-
* @return {!proto.
|
|
2833
|
+
* @return {!proto.UpdateEmployeeRequest}
|
|
2834
2834
|
*/
|
|
2835
|
-
proto.
|
|
2835
|
+
proto.UpdateEmployeeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2836
2836
|
while (reader.nextField()) {
|
|
2837
2837
|
if (reader.isEndGroup()) {
|
|
2838
2838
|
break;
|
|
@@ -2844,8 +2844,8 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.deserializeBinaryFromReader
|
|
|
2844
2844
|
msg.setReferencesId(value);
|
|
2845
2845
|
break;
|
|
2846
2846
|
case 2:
|
|
2847
|
-
var value = new proto.
|
|
2848
|
-
reader.readMessage(value,proto.
|
|
2847
|
+
var value = new proto.BaseEmployee;
|
|
2848
|
+
reader.readMessage(value,proto.BaseEmployee.deserializeBinaryFromReader);
|
|
2849
2849
|
msg.setEmployee(value);
|
|
2850
2850
|
break;
|
|
2851
2851
|
default:
|
|
@@ -2861,9 +2861,9 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.deserializeBinaryFromReader
|
|
|
2861
2861
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2862
2862
|
* @return {!Uint8Array}
|
|
2863
2863
|
*/
|
|
2864
|
-
proto.
|
|
2864
|
+
proto.UpdateEmployeeRequest.prototype.serializeBinary = function() {
|
|
2865
2865
|
var writer = new jspb.BinaryWriter();
|
|
2866
|
-
proto.
|
|
2866
|
+
proto.UpdateEmployeeRequest.serializeBinaryToWriter(this, writer);
|
|
2867
2867
|
return writer.getResultBuffer();
|
|
2868
2868
|
};
|
|
2869
2869
|
|
|
@@ -2871,11 +2871,11 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.prototype.serializeBinary =
|
|
|
2871
2871
|
/**
|
|
2872
2872
|
* Serializes the given message to binary data (in protobuf wire
|
|
2873
2873
|
* format), writing to the given BinaryWriter.
|
|
2874
|
-
* @param {!proto.
|
|
2874
|
+
* @param {!proto.UpdateEmployeeRequest} message
|
|
2875
2875
|
* @param {!jspb.BinaryWriter} writer
|
|
2876
2876
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2877
2877
|
*/
|
|
2878
|
-
proto.
|
|
2878
|
+
proto.UpdateEmployeeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2879
2879
|
var f = undefined;
|
|
2880
2880
|
f = message.getReferencesId();
|
|
2881
2881
|
if (f.length > 0) {
|
|
@@ -2889,7 +2889,7 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.serializeBinaryToWriter = fu
|
|
|
2889
2889
|
writer.writeMessage(
|
|
2890
2890
|
2,
|
|
2891
2891
|
f,
|
|
2892
|
-
proto.
|
|
2892
|
+
proto.BaseEmployee.serializeBinaryToWriter
|
|
2893
2893
|
);
|
|
2894
2894
|
}
|
|
2895
2895
|
};
|
|
@@ -2899,44 +2899,44 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.serializeBinaryToWriter = fu
|
|
|
2899
2899
|
* optional string references_id = 1;
|
|
2900
2900
|
* @return {string}
|
|
2901
2901
|
*/
|
|
2902
|
-
proto.
|
|
2902
|
+
proto.UpdateEmployeeRequest.prototype.getReferencesId = function() {
|
|
2903
2903
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2904
2904
|
};
|
|
2905
2905
|
|
|
2906
2906
|
|
|
2907
2907
|
/**
|
|
2908
2908
|
* @param {string} value
|
|
2909
|
-
* @return {!proto.
|
|
2909
|
+
* @return {!proto.UpdateEmployeeRequest} returns this
|
|
2910
2910
|
*/
|
|
2911
|
-
proto.
|
|
2911
|
+
proto.UpdateEmployeeRequest.prototype.setReferencesId = function(value) {
|
|
2912
2912
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2913
2913
|
};
|
|
2914
2914
|
|
|
2915
2915
|
|
|
2916
2916
|
/**
|
|
2917
2917
|
* optional BaseEmployee employee = 2;
|
|
2918
|
-
* @return {?proto.
|
|
2918
|
+
* @return {?proto.BaseEmployee}
|
|
2919
2919
|
*/
|
|
2920
|
-
proto.
|
|
2921
|
-
return /** @type{?proto.
|
|
2922
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2920
|
+
proto.UpdateEmployeeRequest.prototype.getEmployee = function() {
|
|
2921
|
+
return /** @type{?proto.BaseEmployee} */ (
|
|
2922
|
+
jspb.Message.getWrapperField(this, proto.BaseEmployee, 2));
|
|
2923
2923
|
};
|
|
2924
2924
|
|
|
2925
2925
|
|
|
2926
2926
|
/**
|
|
2927
|
-
* @param {?proto.
|
|
2928
|
-
* @return {!proto.
|
|
2927
|
+
* @param {?proto.BaseEmployee|undefined} value
|
|
2928
|
+
* @return {!proto.UpdateEmployeeRequest} returns this
|
|
2929
2929
|
*/
|
|
2930
|
-
proto.
|
|
2930
|
+
proto.UpdateEmployeeRequest.prototype.setEmployee = function(value) {
|
|
2931
2931
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2932
2932
|
};
|
|
2933
2933
|
|
|
2934
2934
|
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Clears the message field making it undefined.
|
|
2937
|
-
* @return {!proto.
|
|
2937
|
+
* @return {!proto.UpdateEmployeeRequest} returns this
|
|
2938
2938
|
*/
|
|
2939
|
-
proto.
|
|
2939
|
+
proto.UpdateEmployeeRequest.prototype.clearEmployee = function() {
|
|
2940
2940
|
return this.setEmployee(undefined);
|
|
2941
2941
|
};
|
|
2942
2942
|
|
|
@@ -2945,7 +2945,7 @@ proto.prisca.v1.core.employee.UpdateEmployeeRequest.prototype.clearEmployee = fu
|
|
|
2945
2945
|
* Returns whether this field is set.
|
|
2946
2946
|
* @return {boolean}
|
|
2947
2947
|
*/
|
|
2948
|
-
proto.
|
|
2948
|
+
proto.UpdateEmployeeRequest.prototype.hasEmployee = function() {
|
|
2949
2949
|
return jspb.Message.getField(this, 2) != null;
|
|
2950
2950
|
};
|
|
2951
2951
|
|
|
@@ -2966,8 +2966,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2966
2966
|
* http://goto/soy-param-migration
|
|
2967
2967
|
* @return {!Object}
|
|
2968
2968
|
*/
|
|
2969
|
-
proto.
|
|
2970
|
-
return proto.
|
|
2969
|
+
proto.DeleteEmployeeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2970
|
+
return proto.DeleteEmployeeRequest.toObject(opt_includeInstance, this);
|
|
2971
2971
|
};
|
|
2972
2972
|
|
|
2973
2973
|
|
|
@@ -2976,11 +2976,11 @@ proto.prisca.v1.core.employee.DeleteEmployeeRequest.prototype.toObject = functio
|
|
|
2976
2976
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2977
2977
|
* the JSPB instance for transitional soy proto support:
|
|
2978
2978
|
* http://goto/soy-param-migration
|
|
2979
|
-
* @param {!proto.
|
|
2979
|
+
* @param {!proto.DeleteEmployeeRequest} msg The msg instance to transform.
|
|
2980
2980
|
* @return {!Object}
|
|
2981
2981
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2982
2982
|
*/
|
|
2983
|
-
proto.
|
|
2983
|
+
proto.DeleteEmployeeRequest.toObject = function(includeInstance, msg) {
|
|
2984
2984
|
var f, obj = {
|
|
2985
2985
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2986
2986
|
};
|
|
@@ -2996,23 +2996,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
2996
2996
|
/**
|
|
2997
2997
|
* Deserializes binary data (in protobuf wire format).
|
|
2998
2998
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2999
|
-
* @return {!proto.
|
|
2999
|
+
* @return {!proto.DeleteEmployeeRequest}
|
|
3000
3000
|
*/
|
|
3001
|
-
proto.
|
|
3001
|
+
proto.DeleteEmployeeRequest.deserializeBinary = function(bytes) {
|
|
3002
3002
|
var reader = new jspb.BinaryReader(bytes);
|
|
3003
|
-
var msg = new proto.
|
|
3004
|
-
return proto.
|
|
3003
|
+
var msg = new proto.DeleteEmployeeRequest;
|
|
3004
|
+
return proto.DeleteEmployeeRequest.deserializeBinaryFromReader(msg, reader);
|
|
3005
3005
|
};
|
|
3006
3006
|
|
|
3007
3007
|
|
|
3008
3008
|
/**
|
|
3009
3009
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3010
3010
|
* given reader into the given message object.
|
|
3011
|
-
* @param {!proto.
|
|
3011
|
+
* @param {!proto.DeleteEmployeeRequest} msg The message object to deserialize into.
|
|
3012
3012
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3013
|
-
* @return {!proto.
|
|
3013
|
+
* @return {!proto.DeleteEmployeeRequest}
|
|
3014
3014
|
*/
|
|
3015
|
-
proto.
|
|
3015
|
+
proto.DeleteEmployeeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3016
3016
|
while (reader.nextField()) {
|
|
3017
3017
|
if (reader.isEndGroup()) {
|
|
3018
3018
|
break;
|
|
@@ -3036,9 +3036,9 @@ proto.prisca.v1.core.employee.DeleteEmployeeRequest.deserializeBinaryFromReader
|
|
|
3036
3036
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3037
3037
|
* @return {!Uint8Array}
|
|
3038
3038
|
*/
|
|
3039
|
-
proto.
|
|
3039
|
+
proto.DeleteEmployeeRequest.prototype.serializeBinary = function() {
|
|
3040
3040
|
var writer = new jspb.BinaryWriter();
|
|
3041
|
-
proto.
|
|
3041
|
+
proto.DeleteEmployeeRequest.serializeBinaryToWriter(this, writer);
|
|
3042
3042
|
return writer.getResultBuffer();
|
|
3043
3043
|
};
|
|
3044
3044
|
|
|
@@ -3046,11 +3046,11 @@ proto.prisca.v1.core.employee.DeleteEmployeeRequest.prototype.serializeBinary =
|
|
|
3046
3046
|
/**
|
|
3047
3047
|
* Serializes the given message to binary data (in protobuf wire
|
|
3048
3048
|
* format), writing to the given BinaryWriter.
|
|
3049
|
-
* @param {!proto.
|
|
3049
|
+
* @param {!proto.DeleteEmployeeRequest} message
|
|
3050
3050
|
* @param {!jspb.BinaryWriter} writer
|
|
3051
3051
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3052
3052
|
*/
|
|
3053
|
-
proto.
|
|
3053
|
+
proto.DeleteEmployeeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3054
3054
|
var f = undefined;
|
|
3055
3055
|
f = message.getReferencesId();
|
|
3056
3056
|
if (f.length > 0) {
|
|
@@ -3066,16 +3066,16 @@ proto.prisca.v1.core.employee.DeleteEmployeeRequest.serializeBinaryToWriter = fu
|
|
|
3066
3066
|
* optional string references_id = 1;
|
|
3067
3067
|
* @return {string}
|
|
3068
3068
|
*/
|
|
3069
|
-
proto.
|
|
3069
|
+
proto.DeleteEmployeeRequest.prototype.getReferencesId = function() {
|
|
3070
3070
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3071
3071
|
};
|
|
3072
3072
|
|
|
3073
3073
|
|
|
3074
3074
|
/**
|
|
3075
3075
|
* @param {string} value
|
|
3076
|
-
* @return {!proto.
|
|
3076
|
+
* @return {!proto.DeleteEmployeeRequest} returns this
|
|
3077
3077
|
*/
|
|
3078
|
-
proto.
|
|
3078
|
+
proto.DeleteEmployeeRequest.prototype.setReferencesId = function(value) {
|
|
3079
3079
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3080
3080
|
};
|
|
3081
3081
|
|
|
@@ -3096,8 +3096,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3096
3096
|
* http://goto/soy-param-migration
|
|
3097
3097
|
* @return {!Object}
|
|
3098
3098
|
*/
|
|
3099
|
-
proto.
|
|
3100
|
-
return proto.
|
|
3099
|
+
proto.GetListEmployeeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3100
|
+
return proto.GetListEmployeeRequest.toObject(opt_includeInstance, this);
|
|
3101
3101
|
};
|
|
3102
3102
|
|
|
3103
3103
|
|
|
@@ -3106,11 +3106,11 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.toObject = functi
|
|
|
3106
3106
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3107
3107
|
* the JSPB instance for transitional soy proto support:
|
|
3108
3108
|
* http://goto/soy-param-migration
|
|
3109
|
-
* @param {!proto.
|
|
3109
|
+
* @param {!proto.GetListEmployeeRequest} msg The msg instance to transform.
|
|
3110
3110
|
* @return {!Object}
|
|
3111
3111
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3112
3112
|
*/
|
|
3113
|
-
proto.
|
|
3113
|
+
proto.GetListEmployeeRequest.toObject = function(includeInstance, msg) {
|
|
3114
3114
|
var f, obj = {
|
|
3115
3115
|
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
3116
3116
|
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
@@ -3127,23 +3127,23 @@ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObj
|
|
|
3127
3127
|
/**
|
|
3128
3128
|
* Deserializes binary data (in protobuf wire format).
|
|
3129
3129
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3130
|
-
* @return {!proto.
|
|
3130
|
+
* @return {!proto.GetListEmployeeRequest}
|
|
3131
3131
|
*/
|
|
3132
|
-
proto.
|
|
3132
|
+
proto.GetListEmployeeRequest.deserializeBinary = function(bytes) {
|
|
3133
3133
|
var reader = new jspb.BinaryReader(bytes);
|
|
3134
|
-
var msg = new proto.
|
|
3135
|
-
return proto.
|
|
3134
|
+
var msg = new proto.GetListEmployeeRequest;
|
|
3135
|
+
return proto.GetListEmployeeRequest.deserializeBinaryFromReader(msg, reader);
|
|
3136
3136
|
};
|
|
3137
3137
|
|
|
3138
3138
|
|
|
3139
3139
|
/**
|
|
3140
3140
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3141
3141
|
* given reader into the given message object.
|
|
3142
|
-
* @param {!proto.
|
|
3142
|
+
* @param {!proto.GetListEmployeeRequest} msg The message object to deserialize into.
|
|
3143
3143
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3144
|
-
* @return {!proto.
|
|
3144
|
+
* @return {!proto.GetListEmployeeRequest}
|
|
3145
3145
|
*/
|
|
3146
|
-
proto.
|
|
3146
|
+
proto.GetListEmployeeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3147
3147
|
while (reader.nextField()) {
|
|
3148
3148
|
if (reader.isEndGroup()) {
|
|
3149
3149
|
break;
|
|
@@ -3173,9 +3173,9 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.deserializeBinaryFromReader
|
|
|
3173
3173
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3174
3174
|
* @return {!Uint8Array}
|
|
3175
3175
|
*/
|
|
3176
|
-
proto.
|
|
3176
|
+
proto.GetListEmployeeRequest.prototype.serializeBinary = function() {
|
|
3177
3177
|
var writer = new jspb.BinaryWriter();
|
|
3178
|
-
proto.
|
|
3178
|
+
proto.GetListEmployeeRequest.serializeBinaryToWriter(this, writer);
|
|
3179
3179
|
return writer.getResultBuffer();
|
|
3180
3180
|
};
|
|
3181
3181
|
|
|
@@ -3183,11 +3183,11 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.serializeBinary =
|
|
|
3183
3183
|
/**
|
|
3184
3184
|
* Serializes the given message to binary data (in protobuf wire
|
|
3185
3185
|
* format), writing to the given BinaryWriter.
|
|
3186
|
-
* @param {!proto.
|
|
3186
|
+
* @param {!proto.GetListEmployeeRequest} message
|
|
3187
3187
|
* @param {!jspb.BinaryWriter} writer
|
|
3188
3188
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3189
3189
|
*/
|
|
3190
|
-
proto.
|
|
3190
|
+
proto.GetListEmployeeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3191
3191
|
var f = undefined;
|
|
3192
3192
|
f = message.getPagination();
|
|
3193
3193
|
if (f != null) {
|
|
@@ -3212,7 +3212,7 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.serializeBinaryToWriter = f
|
|
|
3212
3212
|
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
3213
3213
|
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
3214
3214
|
*/
|
|
3215
|
-
proto.
|
|
3215
|
+
proto.GetListEmployeeRequest.prototype.getPagination = function() {
|
|
3216
3216
|
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
3217
3217
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
3218
3218
|
};
|
|
@@ -3220,18 +3220,18 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.getPagination = f
|
|
|
3220
3220
|
|
|
3221
3221
|
/**
|
|
3222
3222
|
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
3223
|
-
* @return {!proto.
|
|
3223
|
+
* @return {!proto.GetListEmployeeRequest} returns this
|
|
3224
3224
|
*/
|
|
3225
|
-
proto.
|
|
3225
|
+
proto.GetListEmployeeRequest.prototype.setPagination = function(value) {
|
|
3226
3226
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
3227
3227
|
};
|
|
3228
3228
|
|
|
3229
3229
|
|
|
3230
3230
|
/**
|
|
3231
3231
|
* Clears the message field making it undefined.
|
|
3232
|
-
* @return {!proto.
|
|
3232
|
+
* @return {!proto.GetListEmployeeRequest} returns this
|
|
3233
3233
|
*/
|
|
3234
|
-
proto.
|
|
3234
|
+
proto.GetListEmployeeRequest.prototype.clearPagination = function() {
|
|
3235
3235
|
return this.setPagination(undefined);
|
|
3236
3236
|
};
|
|
3237
3237
|
|
|
@@ -3240,7 +3240,7 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.clearPagination =
|
|
|
3240
3240
|
* Returns whether this field is set.
|
|
3241
3241
|
* @return {boolean}
|
|
3242
3242
|
*/
|
|
3243
|
-
proto.
|
|
3243
|
+
proto.GetListEmployeeRequest.prototype.hasPagination = function() {
|
|
3244
3244
|
return jspb.Message.getField(this, 1) != null;
|
|
3245
3245
|
};
|
|
3246
3246
|
|
|
@@ -3249,7 +3249,7 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.hasPagination = f
|
|
|
3249
3249
|
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
3250
3250
|
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
3251
3251
|
*/
|
|
3252
|
-
proto.
|
|
3252
|
+
proto.GetListEmployeeRequest.prototype.getQuery = function() {
|
|
3253
3253
|
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
3254
3254
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
3255
3255
|
};
|
|
@@ -3257,18 +3257,18 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.getQuery = functi
|
|
|
3257
3257
|
|
|
3258
3258
|
/**
|
|
3259
3259
|
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
3260
|
-
* @return {!proto.
|
|
3260
|
+
* @return {!proto.GetListEmployeeRequest} returns this
|
|
3261
3261
|
*/
|
|
3262
|
-
proto.
|
|
3262
|
+
proto.GetListEmployeeRequest.prototype.setQuery = function(value) {
|
|
3263
3263
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
3264
3264
|
};
|
|
3265
3265
|
|
|
3266
3266
|
|
|
3267
3267
|
/**
|
|
3268
3268
|
* Clears the message field making it undefined.
|
|
3269
|
-
* @return {!proto.
|
|
3269
|
+
* @return {!proto.GetListEmployeeRequest} returns this
|
|
3270
3270
|
*/
|
|
3271
|
-
proto.
|
|
3271
|
+
proto.GetListEmployeeRequest.prototype.clearQuery = function() {
|
|
3272
3272
|
return this.setQuery(undefined);
|
|
3273
3273
|
};
|
|
3274
3274
|
|
|
@@ -3277,7 +3277,7 @@ proto.prisca.v1.core.employee.GetListEmployeeRequest.prototype.clearQuery = func
|
|
|
3277
3277
|
* Returns whether this field is set.
|
|
3278
3278
|
* @return {boolean}
|
|
3279
3279
|
*/
|
|
3280
|
-
proto.
|
|
3280
|
+
proto.GetListEmployeeRequest.prototype.hasQuery = function() {
|
|
3281
3281
|
return jspb.Message.getField(this, 2) != null;
|
|
3282
3282
|
};
|
|
3283
3283
|
|
|
@@ -3298,8 +3298,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3298
3298
|
* http://goto/soy-param-migration
|
|
3299
3299
|
* @return {!Object}
|
|
3300
3300
|
*/
|
|
3301
|
-
proto.
|
|
3302
|
-
return proto.
|
|
3301
|
+
proto.CreateEmployeeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3302
|
+
return proto.CreateEmployeeResponse.toObject(opt_includeInstance, this);
|
|
3303
3303
|
};
|
|
3304
3304
|
|
|
3305
3305
|
|
|
@@ -3308,13 +3308,13 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.toObject = functi
|
|
|
3308
3308
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3309
3309
|
* the JSPB instance for transitional soy proto support:
|
|
3310
3310
|
* http://goto/soy-param-migration
|
|
3311
|
-
* @param {!proto.
|
|
3311
|
+
* @param {!proto.CreateEmployeeResponse} msg The msg instance to transform.
|
|
3312
3312
|
* @return {!Object}
|
|
3313
3313
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3314
3314
|
*/
|
|
3315
|
-
proto.
|
|
3315
|
+
proto.CreateEmployeeResponse.toObject = function(includeInstance, msg) {
|
|
3316
3316
|
var f, obj = {
|
|
3317
|
-
employee: (f = msg.getEmployee()) && proto.
|
|
3317
|
+
employee: (f = msg.getEmployee()) && proto.BaseEmployee.toObject(includeInstance, f),
|
|
3318
3318
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3319
3319
|
};
|
|
3320
3320
|
|
|
@@ -3329,23 +3329,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
3329
3329
|
/**
|
|
3330
3330
|
* Deserializes binary data (in protobuf wire format).
|
|
3331
3331
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3332
|
-
* @return {!proto.
|
|
3332
|
+
* @return {!proto.CreateEmployeeResponse}
|
|
3333
3333
|
*/
|
|
3334
|
-
proto.
|
|
3334
|
+
proto.CreateEmployeeResponse.deserializeBinary = function(bytes) {
|
|
3335
3335
|
var reader = new jspb.BinaryReader(bytes);
|
|
3336
|
-
var msg = new proto.
|
|
3337
|
-
return proto.
|
|
3336
|
+
var msg = new proto.CreateEmployeeResponse;
|
|
3337
|
+
return proto.CreateEmployeeResponse.deserializeBinaryFromReader(msg, reader);
|
|
3338
3338
|
};
|
|
3339
3339
|
|
|
3340
3340
|
|
|
3341
3341
|
/**
|
|
3342
3342
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3343
3343
|
* given reader into the given message object.
|
|
3344
|
-
* @param {!proto.
|
|
3344
|
+
* @param {!proto.CreateEmployeeResponse} msg The message object to deserialize into.
|
|
3345
3345
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3346
|
-
* @return {!proto.
|
|
3346
|
+
* @return {!proto.CreateEmployeeResponse}
|
|
3347
3347
|
*/
|
|
3348
|
-
proto.
|
|
3348
|
+
proto.CreateEmployeeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3349
3349
|
while (reader.nextField()) {
|
|
3350
3350
|
if (reader.isEndGroup()) {
|
|
3351
3351
|
break;
|
|
@@ -3353,8 +3353,8 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.deserializeBinaryFromReader
|
|
|
3353
3353
|
var field = reader.getFieldNumber();
|
|
3354
3354
|
switch (field) {
|
|
3355
3355
|
case 1:
|
|
3356
|
-
var value = new proto.
|
|
3357
|
-
reader.readMessage(value,proto.
|
|
3356
|
+
var value = new proto.BaseEmployee;
|
|
3357
|
+
reader.readMessage(value,proto.BaseEmployee.deserializeBinaryFromReader);
|
|
3358
3358
|
msg.setEmployee(value);
|
|
3359
3359
|
break;
|
|
3360
3360
|
case 2:
|
|
@@ -3375,9 +3375,9 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.deserializeBinaryFromReader
|
|
|
3375
3375
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3376
3376
|
* @return {!Uint8Array}
|
|
3377
3377
|
*/
|
|
3378
|
-
proto.
|
|
3378
|
+
proto.CreateEmployeeResponse.prototype.serializeBinary = function() {
|
|
3379
3379
|
var writer = new jspb.BinaryWriter();
|
|
3380
|
-
proto.
|
|
3380
|
+
proto.CreateEmployeeResponse.serializeBinaryToWriter(this, writer);
|
|
3381
3381
|
return writer.getResultBuffer();
|
|
3382
3382
|
};
|
|
3383
3383
|
|
|
@@ -3385,18 +3385,18 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.serializeBinary =
|
|
|
3385
3385
|
/**
|
|
3386
3386
|
* Serializes the given message to binary data (in protobuf wire
|
|
3387
3387
|
* format), writing to the given BinaryWriter.
|
|
3388
|
-
* @param {!proto.
|
|
3388
|
+
* @param {!proto.CreateEmployeeResponse} message
|
|
3389
3389
|
* @param {!jspb.BinaryWriter} writer
|
|
3390
3390
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3391
3391
|
*/
|
|
3392
|
-
proto.
|
|
3392
|
+
proto.CreateEmployeeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3393
3393
|
var f = undefined;
|
|
3394
3394
|
f = message.getEmployee();
|
|
3395
3395
|
if (f != null) {
|
|
3396
3396
|
writer.writeMessage(
|
|
3397
3397
|
1,
|
|
3398
3398
|
f,
|
|
3399
|
-
proto.
|
|
3399
|
+
proto.BaseEmployee.serializeBinaryToWriter
|
|
3400
3400
|
);
|
|
3401
3401
|
}
|
|
3402
3402
|
f = message.getMeta();
|
|
@@ -3412,28 +3412,28 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.serializeBinaryToWriter = f
|
|
|
3412
3412
|
|
|
3413
3413
|
/**
|
|
3414
3414
|
* optional BaseEmployee employee = 1;
|
|
3415
|
-
* @return {?proto.
|
|
3415
|
+
* @return {?proto.BaseEmployee}
|
|
3416
3416
|
*/
|
|
3417
|
-
proto.
|
|
3418
|
-
return /** @type{?proto.
|
|
3419
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3417
|
+
proto.CreateEmployeeResponse.prototype.getEmployee = function() {
|
|
3418
|
+
return /** @type{?proto.BaseEmployee} */ (
|
|
3419
|
+
jspb.Message.getWrapperField(this, proto.BaseEmployee, 1));
|
|
3420
3420
|
};
|
|
3421
3421
|
|
|
3422
3422
|
|
|
3423
3423
|
/**
|
|
3424
|
-
* @param {?proto.
|
|
3425
|
-
* @return {!proto.
|
|
3424
|
+
* @param {?proto.BaseEmployee|undefined} value
|
|
3425
|
+
* @return {!proto.CreateEmployeeResponse} returns this
|
|
3426
3426
|
*/
|
|
3427
|
-
proto.
|
|
3427
|
+
proto.CreateEmployeeResponse.prototype.setEmployee = function(value) {
|
|
3428
3428
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
3429
3429
|
};
|
|
3430
3430
|
|
|
3431
3431
|
|
|
3432
3432
|
/**
|
|
3433
3433
|
* Clears the message field making it undefined.
|
|
3434
|
-
* @return {!proto.
|
|
3434
|
+
* @return {!proto.CreateEmployeeResponse} returns this
|
|
3435
3435
|
*/
|
|
3436
|
-
proto.
|
|
3436
|
+
proto.CreateEmployeeResponse.prototype.clearEmployee = function() {
|
|
3437
3437
|
return this.setEmployee(undefined);
|
|
3438
3438
|
};
|
|
3439
3439
|
|
|
@@ -3442,7 +3442,7 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.clearEmployee = f
|
|
|
3442
3442
|
* Returns whether this field is set.
|
|
3443
3443
|
* @return {boolean}
|
|
3444
3444
|
*/
|
|
3445
|
-
proto.
|
|
3445
|
+
proto.CreateEmployeeResponse.prototype.hasEmployee = function() {
|
|
3446
3446
|
return jspb.Message.getField(this, 1) != null;
|
|
3447
3447
|
};
|
|
3448
3448
|
|
|
@@ -3451,7 +3451,7 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.hasEmployee = fun
|
|
|
3451
3451
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3452
3452
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3453
3453
|
*/
|
|
3454
|
-
proto.
|
|
3454
|
+
proto.CreateEmployeeResponse.prototype.getMeta = function() {
|
|
3455
3455
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3456
3456
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3457
3457
|
};
|
|
@@ -3459,18 +3459,18 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.getMeta = functio
|
|
|
3459
3459
|
|
|
3460
3460
|
/**
|
|
3461
3461
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3462
|
-
* @return {!proto.
|
|
3462
|
+
* @return {!proto.CreateEmployeeResponse} returns this
|
|
3463
3463
|
*/
|
|
3464
|
-
proto.
|
|
3464
|
+
proto.CreateEmployeeResponse.prototype.setMeta = function(value) {
|
|
3465
3465
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
3466
3466
|
};
|
|
3467
3467
|
|
|
3468
3468
|
|
|
3469
3469
|
/**
|
|
3470
3470
|
* Clears the message field making it undefined.
|
|
3471
|
-
* @return {!proto.
|
|
3471
|
+
* @return {!proto.CreateEmployeeResponse} returns this
|
|
3472
3472
|
*/
|
|
3473
|
-
proto.
|
|
3473
|
+
proto.CreateEmployeeResponse.prototype.clearMeta = function() {
|
|
3474
3474
|
return this.setMeta(undefined);
|
|
3475
3475
|
};
|
|
3476
3476
|
|
|
@@ -3479,7 +3479,7 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.clearMeta = funct
|
|
|
3479
3479
|
* Returns whether this field is set.
|
|
3480
3480
|
* @return {boolean}
|
|
3481
3481
|
*/
|
|
3482
|
-
proto.
|
|
3482
|
+
proto.CreateEmployeeResponse.prototype.hasMeta = function() {
|
|
3483
3483
|
return jspb.Message.getField(this, 2) != null;
|
|
3484
3484
|
};
|
|
3485
3485
|
|
|
@@ -3490,7 +3490,7 @@ proto.prisca.v1.core.employee.CreateEmployeeResponse.prototype.hasMeta = functio
|
|
|
3490
3490
|
* @private {!Array<number>}
|
|
3491
3491
|
* @const
|
|
3492
3492
|
*/
|
|
3493
|
-
proto.
|
|
3493
|
+
proto.GetListEmployeeResponse.repeatedFields_ = [1];
|
|
3494
3494
|
|
|
3495
3495
|
|
|
3496
3496
|
|
|
@@ -3507,8 +3507,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3507
3507
|
* http://goto/soy-param-migration
|
|
3508
3508
|
* @return {!Object}
|
|
3509
3509
|
*/
|
|
3510
|
-
proto.
|
|
3511
|
-
return proto.
|
|
3510
|
+
proto.GetListEmployeeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3511
|
+
return proto.GetListEmployeeResponse.toObject(opt_includeInstance, this);
|
|
3512
3512
|
};
|
|
3513
3513
|
|
|
3514
3514
|
|
|
@@ -3517,14 +3517,14 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.prototype.toObject = funct
|
|
|
3517
3517
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3518
3518
|
* the JSPB instance for transitional soy proto support:
|
|
3519
3519
|
* http://goto/soy-param-migration
|
|
3520
|
-
* @param {!proto.
|
|
3520
|
+
* @param {!proto.GetListEmployeeResponse} msg The msg instance to transform.
|
|
3521
3521
|
* @return {!Object}
|
|
3522
3522
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3523
3523
|
*/
|
|
3524
|
-
proto.
|
|
3524
|
+
proto.GetListEmployeeResponse.toObject = function(includeInstance, msg) {
|
|
3525
3525
|
var f, obj = {
|
|
3526
3526
|
employeeList: jspb.Message.toObjectList(msg.getEmployeeList(),
|
|
3527
|
-
proto.
|
|
3527
|
+
proto.Employee.toObject, includeInstance),
|
|
3528
3528
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3529
3529
|
};
|
|
3530
3530
|
|
|
@@ -3539,23 +3539,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
3539
3539
|
/**
|
|
3540
3540
|
* Deserializes binary data (in protobuf wire format).
|
|
3541
3541
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3542
|
-
* @return {!proto.
|
|
3542
|
+
* @return {!proto.GetListEmployeeResponse}
|
|
3543
3543
|
*/
|
|
3544
|
-
proto.
|
|
3544
|
+
proto.GetListEmployeeResponse.deserializeBinary = function(bytes) {
|
|
3545
3545
|
var reader = new jspb.BinaryReader(bytes);
|
|
3546
|
-
var msg = new proto.
|
|
3547
|
-
return proto.
|
|
3546
|
+
var msg = new proto.GetListEmployeeResponse;
|
|
3547
|
+
return proto.GetListEmployeeResponse.deserializeBinaryFromReader(msg, reader);
|
|
3548
3548
|
};
|
|
3549
3549
|
|
|
3550
3550
|
|
|
3551
3551
|
/**
|
|
3552
3552
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3553
3553
|
* given reader into the given message object.
|
|
3554
|
-
* @param {!proto.
|
|
3554
|
+
* @param {!proto.GetListEmployeeResponse} msg The message object to deserialize into.
|
|
3555
3555
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3556
|
-
* @return {!proto.
|
|
3556
|
+
* @return {!proto.GetListEmployeeResponse}
|
|
3557
3557
|
*/
|
|
3558
|
-
proto.
|
|
3558
|
+
proto.GetListEmployeeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3559
3559
|
while (reader.nextField()) {
|
|
3560
3560
|
if (reader.isEndGroup()) {
|
|
3561
3561
|
break;
|
|
@@ -3563,8 +3563,8 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.deserializeBinaryFromReade
|
|
|
3563
3563
|
var field = reader.getFieldNumber();
|
|
3564
3564
|
switch (field) {
|
|
3565
3565
|
case 1:
|
|
3566
|
-
var value = new proto.
|
|
3567
|
-
reader.readMessage(value,proto.
|
|
3566
|
+
var value = new proto.Employee;
|
|
3567
|
+
reader.readMessage(value,proto.Employee.deserializeBinaryFromReader);
|
|
3568
3568
|
msg.addEmployee(value);
|
|
3569
3569
|
break;
|
|
3570
3570
|
case 2:
|
|
@@ -3585,9 +3585,9 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.deserializeBinaryFromReade
|
|
|
3585
3585
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3586
3586
|
* @return {!Uint8Array}
|
|
3587
3587
|
*/
|
|
3588
|
-
proto.
|
|
3588
|
+
proto.GetListEmployeeResponse.prototype.serializeBinary = function() {
|
|
3589
3589
|
var writer = new jspb.BinaryWriter();
|
|
3590
|
-
proto.
|
|
3590
|
+
proto.GetListEmployeeResponse.serializeBinaryToWriter(this, writer);
|
|
3591
3591
|
return writer.getResultBuffer();
|
|
3592
3592
|
};
|
|
3593
3593
|
|
|
@@ -3595,18 +3595,18 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.prototype.serializeBinary
|
|
|
3595
3595
|
/**
|
|
3596
3596
|
* Serializes the given message to binary data (in protobuf wire
|
|
3597
3597
|
* format), writing to the given BinaryWriter.
|
|
3598
|
-
* @param {!proto.
|
|
3598
|
+
* @param {!proto.GetListEmployeeResponse} message
|
|
3599
3599
|
* @param {!jspb.BinaryWriter} writer
|
|
3600
3600
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3601
3601
|
*/
|
|
3602
|
-
proto.
|
|
3602
|
+
proto.GetListEmployeeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3603
3603
|
var f = undefined;
|
|
3604
3604
|
f = message.getEmployeeList();
|
|
3605
3605
|
if (f.length > 0) {
|
|
3606
3606
|
writer.writeRepeatedMessage(
|
|
3607
3607
|
1,
|
|
3608
3608
|
f,
|
|
3609
|
-
proto.
|
|
3609
|
+
proto.Employee.serializeBinaryToWriter
|
|
3610
3610
|
);
|
|
3611
3611
|
}
|
|
3612
3612
|
f = message.getMeta();
|
|
@@ -3622,38 +3622,38 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.serializeBinaryToWriter =
|
|
|
3622
3622
|
|
|
3623
3623
|
/**
|
|
3624
3624
|
* repeated Employee employee = 1;
|
|
3625
|
-
* @return {!Array<!proto.
|
|
3625
|
+
* @return {!Array<!proto.Employee>}
|
|
3626
3626
|
*/
|
|
3627
|
-
proto.
|
|
3628
|
-
return /** @type{!Array<!proto.
|
|
3629
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
3627
|
+
proto.GetListEmployeeResponse.prototype.getEmployeeList = function() {
|
|
3628
|
+
return /** @type{!Array<!proto.Employee>} */ (
|
|
3629
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Employee, 1));
|
|
3630
3630
|
};
|
|
3631
3631
|
|
|
3632
3632
|
|
|
3633
3633
|
/**
|
|
3634
|
-
* @param {!Array<!proto.
|
|
3635
|
-
* @return {!proto.
|
|
3634
|
+
* @param {!Array<!proto.Employee>} value
|
|
3635
|
+
* @return {!proto.GetListEmployeeResponse} returns this
|
|
3636
3636
|
*/
|
|
3637
|
-
proto.
|
|
3637
|
+
proto.GetListEmployeeResponse.prototype.setEmployeeList = function(value) {
|
|
3638
3638
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3639
3639
|
};
|
|
3640
3640
|
|
|
3641
3641
|
|
|
3642
3642
|
/**
|
|
3643
|
-
* @param {!proto.
|
|
3643
|
+
* @param {!proto.Employee=} opt_value
|
|
3644
3644
|
* @param {number=} opt_index
|
|
3645
|
-
* @return {!proto.
|
|
3645
|
+
* @return {!proto.Employee}
|
|
3646
3646
|
*/
|
|
3647
|
-
proto.
|
|
3648
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
3647
|
+
proto.GetListEmployeeResponse.prototype.addEmployee = function(opt_value, opt_index) {
|
|
3648
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Employee, opt_index);
|
|
3649
3649
|
};
|
|
3650
3650
|
|
|
3651
3651
|
|
|
3652
3652
|
/**
|
|
3653
3653
|
* Clears the list making it empty but non-null.
|
|
3654
|
-
* @return {!proto.
|
|
3654
|
+
* @return {!proto.GetListEmployeeResponse} returns this
|
|
3655
3655
|
*/
|
|
3656
|
-
proto.
|
|
3656
|
+
proto.GetListEmployeeResponse.prototype.clearEmployeeList = function() {
|
|
3657
3657
|
return this.setEmployeeList([]);
|
|
3658
3658
|
};
|
|
3659
3659
|
|
|
@@ -3662,7 +3662,7 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.prototype.clearEmployeeLis
|
|
|
3662
3662
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3663
3663
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3664
3664
|
*/
|
|
3665
|
-
proto.
|
|
3665
|
+
proto.GetListEmployeeResponse.prototype.getMeta = function() {
|
|
3666
3666
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3667
3667
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3668
3668
|
};
|
|
@@ -3670,18 +3670,18 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.prototype.getMeta = functi
|
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
3672
3672
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3673
|
-
* @return {!proto.
|
|
3673
|
+
* @return {!proto.GetListEmployeeResponse} returns this
|
|
3674
3674
|
*/
|
|
3675
|
-
proto.
|
|
3675
|
+
proto.GetListEmployeeResponse.prototype.setMeta = function(value) {
|
|
3676
3676
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
3677
3677
|
};
|
|
3678
3678
|
|
|
3679
3679
|
|
|
3680
3680
|
/**
|
|
3681
3681
|
* Clears the message field making it undefined.
|
|
3682
|
-
* @return {!proto.
|
|
3682
|
+
* @return {!proto.GetListEmployeeResponse} returns this
|
|
3683
3683
|
*/
|
|
3684
|
-
proto.
|
|
3684
|
+
proto.GetListEmployeeResponse.prototype.clearMeta = function() {
|
|
3685
3685
|
return this.setMeta(undefined);
|
|
3686
3686
|
};
|
|
3687
3687
|
|
|
@@ -3690,7 +3690,7 @@ proto.prisca.v1.core.employee.GetListEmployeeResponse.prototype.clearMeta = func
|
|
|
3690
3690
|
* Returns whether this field is set.
|
|
3691
3691
|
* @return {boolean}
|
|
3692
3692
|
*/
|
|
3693
|
-
proto.
|
|
3693
|
+
proto.GetListEmployeeResponse.prototype.hasMeta = function() {
|
|
3694
3694
|
return jspb.Message.getField(this, 2) != null;
|
|
3695
3695
|
};
|
|
3696
3696
|
|
|
@@ -3711,8 +3711,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3711
3711
|
* http://goto/soy-param-migration
|
|
3712
3712
|
* @return {!Object}
|
|
3713
3713
|
*/
|
|
3714
|
-
proto.
|
|
3715
|
-
return proto.
|
|
3714
|
+
proto.UpdateEmployeeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3715
|
+
return proto.UpdateEmployeeResponse.toObject(opt_includeInstance, this);
|
|
3716
3716
|
};
|
|
3717
3717
|
|
|
3718
3718
|
|
|
@@ -3721,13 +3721,13 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.prototype.toObject = functi
|
|
|
3721
3721
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3722
3722
|
* the JSPB instance for transitional soy proto support:
|
|
3723
3723
|
* http://goto/soy-param-migration
|
|
3724
|
-
* @param {!proto.
|
|
3724
|
+
* @param {!proto.UpdateEmployeeResponse} msg The msg instance to transform.
|
|
3725
3725
|
* @return {!Object}
|
|
3726
3726
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3727
3727
|
*/
|
|
3728
|
-
proto.
|
|
3728
|
+
proto.UpdateEmployeeResponse.toObject = function(includeInstance, msg) {
|
|
3729
3729
|
var f, obj = {
|
|
3730
|
-
employee: (f = msg.getEmployee()) && proto.
|
|
3730
|
+
employee: (f = msg.getEmployee()) && proto.BaseEmployee.toObject(includeInstance, f),
|
|
3731
3731
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3732
3732
|
};
|
|
3733
3733
|
|
|
@@ -3742,23 +3742,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
3742
3742
|
/**
|
|
3743
3743
|
* Deserializes binary data (in protobuf wire format).
|
|
3744
3744
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3745
|
-
* @return {!proto.
|
|
3745
|
+
* @return {!proto.UpdateEmployeeResponse}
|
|
3746
3746
|
*/
|
|
3747
|
-
proto.
|
|
3747
|
+
proto.UpdateEmployeeResponse.deserializeBinary = function(bytes) {
|
|
3748
3748
|
var reader = new jspb.BinaryReader(bytes);
|
|
3749
|
-
var msg = new proto.
|
|
3750
|
-
return proto.
|
|
3749
|
+
var msg = new proto.UpdateEmployeeResponse;
|
|
3750
|
+
return proto.UpdateEmployeeResponse.deserializeBinaryFromReader(msg, reader);
|
|
3751
3751
|
};
|
|
3752
3752
|
|
|
3753
3753
|
|
|
3754
3754
|
/**
|
|
3755
3755
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3756
3756
|
* given reader into the given message object.
|
|
3757
|
-
* @param {!proto.
|
|
3757
|
+
* @param {!proto.UpdateEmployeeResponse} msg The message object to deserialize into.
|
|
3758
3758
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3759
|
-
* @return {!proto.
|
|
3759
|
+
* @return {!proto.UpdateEmployeeResponse}
|
|
3760
3760
|
*/
|
|
3761
|
-
proto.
|
|
3761
|
+
proto.UpdateEmployeeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3762
3762
|
while (reader.nextField()) {
|
|
3763
3763
|
if (reader.isEndGroup()) {
|
|
3764
3764
|
break;
|
|
@@ -3766,8 +3766,8 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.deserializeBinaryFromReader
|
|
|
3766
3766
|
var field = reader.getFieldNumber();
|
|
3767
3767
|
switch (field) {
|
|
3768
3768
|
case 1:
|
|
3769
|
-
var value = new proto.
|
|
3770
|
-
reader.readMessage(value,proto.
|
|
3769
|
+
var value = new proto.BaseEmployee;
|
|
3770
|
+
reader.readMessage(value,proto.BaseEmployee.deserializeBinaryFromReader);
|
|
3771
3771
|
msg.setEmployee(value);
|
|
3772
3772
|
break;
|
|
3773
3773
|
case 2:
|
|
@@ -3788,9 +3788,9 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.deserializeBinaryFromReader
|
|
|
3788
3788
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3789
3789
|
* @return {!Uint8Array}
|
|
3790
3790
|
*/
|
|
3791
|
-
proto.
|
|
3791
|
+
proto.UpdateEmployeeResponse.prototype.serializeBinary = function() {
|
|
3792
3792
|
var writer = new jspb.BinaryWriter();
|
|
3793
|
-
proto.
|
|
3793
|
+
proto.UpdateEmployeeResponse.serializeBinaryToWriter(this, writer);
|
|
3794
3794
|
return writer.getResultBuffer();
|
|
3795
3795
|
};
|
|
3796
3796
|
|
|
@@ -3798,18 +3798,18 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.prototype.serializeBinary =
|
|
|
3798
3798
|
/**
|
|
3799
3799
|
* Serializes the given message to binary data (in protobuf wire
|
|
3800
3800
|
* format), writing to the given BinaryWriter.
|
|
3801
|
-
* @param {!proto.
|
|
3801
|
+
* @param {!proto.UpdateEmployeeResponse} message
|
|
3802
3802
|
* @param {!jspb.BinaryWriter} writer
|
|
3803
3803
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3804
3804
|
*/
|
|
3805
|
-
proto.
|
|
3805
|
+
proto.UpdateEmployeeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3806
3806
|
var f = undefined;
|
|
3807
3807
|
f = message.getEmployee();
|
|
3808
3808
|
if (f != null) {
|
|
3809
3809
|
writer.writeMessage(
|
|
3810
3810
|
1,
|
|
3811
3811
|
f,
|
|
3812
|
-
proto.
|
|
3812
|
+
proto.BaseEmployee.serializeBinaryToWriter
|
|
3813
3813
|
);
|
|
3814
3814
|
}
|
|
3815
3815
|
f = message.getMeta();
|
|
@@ -3825,28 +3825,28 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.serializeBinaryToWriter = f
|
|
|
3825
3825
|
|
|
3826
3826
|
/**
|
|
3827
3827
|
* optional BaseEmployee employee = 1;
|
|
3828
|
-
* @return {?proto.
|
|
3828
|
+
* @return {?proto.BaseEmployee}
|
|
3829
3829
|
*/
|
|
3830
|
-
proto.
|
|
3831
|
-
return /** @type{?proto.
|
|
3832
|
-
jspb.Message.getWrapperField(this, proto.
|
|
3830
|
+
proto.UpdateEmployeeResponse.prototype.getEmployee = function() {
|
|
3831
|
+
return /** @type{?proto.BaseEmployee} */ (
|
|
3832
|
+
jspb.Message.getWrapperField(this, proto.BaseEmployee, 1));
|
|
3833
3833
|
};
|
|
3834
3834
|
|
|
3835
3835
|
|
|
3836
3836
|
/**
|
|
3837
|
-
* @param {?proto.
|
|
3838
|
-
* @return {!proto.
|
|
3837
|
+
* @param {?proto.BaseEmployee|undefined} value
|
|
3838
|
+
* @return {!proto.UpdateEmployeeResponse} returns this
|
|
3839
3839
|
*/
|
|
3840
|
-
proto.
|
|
3840
|
+
proto.UpdateEmployeeResponse.prototype.setEmployee = function(value) {
|
|
3841
3841
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
3842
3842
|
};
|
|
3843
3843
|
|
|
3844
3844
|
|
|
3845
3845
|
/**
|
|
3846
3846
|
* Clears the message field making it undefined.
|
|
3847
|
-
* @return {!proto.
|
|
3847
|
+
* @return {!proto.UpdateEmployeeResponse} returns this
|
|
3848
3848
|
*/
|
|
3849
|
-
proto.
|
|
3849
|
+
proto.UpdateEmployeeResponse.prototype.clearEmployee = function() {
|
|
3850
3850
|
return this.setEmployee(undefined);
|
|
3851
3851
|
};
|
|
3852
3852
|
|
|
@@ -3855,7 +3855,7 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.prototype.clearEmployee = f
|
|
|
3855
3855
|
* Returns whether this field is set.
|
|
3856
3856
|
* @return {boolean}
|
|
3857
3857
|
*/
|
|
3858
|
-
proto.
|
|
3858
|
+
proto.UpdateEmployeeResponse.prototype.hasEmployee = function() {
|
|
3859
3859
|
return jspb.Message.getField(this, 1) != null;
|
|
3860
3860
|
};
|
|
3861
3861
|
|
|
@@ -3864,7 +3864,7 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.prototype.hasEmployee = fun
|
|
|
3864
3864
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3865
3865
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3866
3866
|
*/
|
|
3867
|
-
proto.
|
|
3867
|
+
proto.UpdateEmployeeResponse.prototype.getMeta = function() {
|
|
3868
3868
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3869
3869
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3870
3870
|
};
|
|
@@ -3872,18 +3872,18 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.prototype.getMeta = functio
|
|
|
3872
3872
|
|
|
3873
3873
|
/**
|
|
3874
3874
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3875
|
-
* @return {!proto.
|
|
3875
|
+
* @return {!proto.UpdateEmployeeResponse} returns this
|
|
3876
3876
|
*/
|
|
3877
|
-
proto.
|
|
3877
|
+
proto.UpdateEmployeeResponse.prototype.setMeta = function(value) {
|
|
3878
3878
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
3879
3879
|
};
|
|
3880
3880
|
|
|
3881
3881
|
|
|
3882
3882
|
/**
|
|
3883
3883
|
* Clears the message field making it undefined.
|
|
3884
|
-
* @return {!proto.
|
|
3884
|
+
* @return {!proto.UpdateEmployeeResponse} returns this
|
|
3885
3885
|
*/
|
|
3886
|
-
proto.
|
|
3886
|
+
proto.UpdateEmployeeResponse.prototype.clearMeta = function() {
|
|
3887
3887
|
return this.setMeta(undefined);
|
|
3888
3888
|
};
|
|
3889
3889
|
|
|
@@ -3892,7 +3892,7 @@ proto.prisca.v1.core.employee.UpdateEmployeeResponse.prototype.clearMeta = funct
|
|
|
3892
3892
|
* Returns whether this field is set.
|
|
3893
3893
|
* @return {boolean}
|
|
3894
3894
|
*/
|
|
3895
|
-
proto.
|
|
3895
|
+
proto.UpdateEmployeeResponse.prototype.hasMeta = function() {
|
|
3896
3896
|
return jspb.Message.getField(this, 2) != null;
|
|
3897
3897
|
};
|
|
3898
3898
|
|
|
@@ -3913,8 +3913,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3913
3913
|
* http://goto/soy-param-migration
|
|
3914
3914
|
* @return {!Object}
|
|
3915
3915
|
*/
|
|
3916
|
-
proto.
|
|
3917
|
-
return proto.
|
|
3916
|
+
proto.EmployeeGetByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3917
|
+
return proto.EmployeeGetByIdResponse.toObject(opt_includeInstance, this);
|
|
3918
3918
|
};
|
|
3919
3919
|
|
|
3920
3920
|
|
|
@@ -3923,13 +3923,13 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.prototype.toObject = funct
|
|
|
3923
3923
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3924
3924
|
* the JSPB instance for transitional soy proto support:
|
|
3925
3925
|
* http://goto/soy-param-migration
|
|
3926
|
-
* @param {!proto.
|
|
3926
|
+
* @param {!proto.EmployeeGetByIdResponse} msg The msg instance to transform.
|
|
3927
3927
|
* @return {!Object}
|
|
3928
3928
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3929
3929
|
*/
|
|
3930
|
-
proto.
|
|
3930
|
+
proto.EmployeeGetByIdResponse.toObject = function(includeInstance, msg) {
|
|
3931
3931
|
var f, obj = {
|
|
3932
|
-
employee: (f = msg.getEmployee()) && proto.
|
|
3932
|
+
employee: (f = msg.getEmployee()) && proto.Employee.toObject(includeInstance, f),
|
|
3933
3933
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3934
3934
|
};
|
|
3935
3935
|
|
|
@@ -3944,23 +3944,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
3944
3944
|
/**
|
|
3945
3945
|
* Deserializes binary data (in protobuf wire format).
|
|
3946
3946
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3947
|
-
* @return {!proto.
|
|
3947
|
+
* @return {!proto.EmployeeGetByIdResponse}
|
|
3948
3948
|
*/
|
|
3949
|
-
proto.
|
|
3949
|
+
proto.EmployeeGetByIdResponse.deserializeBinary = function(bytes) {
|
|
3950
3950
|
var reader = new jspb.BinaryReader(bytes);
|
|
3951
|
-
var msg = new proto.
|
|
3952
|
-
return proto.
|
|
3951
|
+
var msg = new proto.EmployeeGetByIdResponse;
|
|
3952
|
+
return proto.EmployeeGetByIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3953
3953
|
};
|
|
3954
3954
|
|
|
3955
3955
|
|
|
3956
3956
|
/**
|
|
3957
3957
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3958
3958
|
* given reader into the given message object.
|
|
3959
|
-
* @param {!proto.
|
|
3959
|
+
* @param {!proto.EmployeeGetByIdResponse} msg The message object to deserialize into.
|
|
3960
3960
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3961
|
-
* @return {!proto.
|
|
3961
|
+
* @return {!proto.EmployeeGetByIdResponse}
|
|
3962
3962
|
*/
|
|
3963
|
-
proto.
|
|
3963
|
+
proto.EmployeeGetByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3964
3964
|
while (reader.nextField()) {
|
|
3965
3965
|
if (reader.isEndGroup()) {
|
|
3966
3966
|
break;
|
|
@@ -3968,8 +3968,8 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.deserializeBinaryFromReade
|
|
|
3968
3968
|
var field = reader.getFieldNumber();
|
|
3969
3969
|
switch (field) {
|
|
3970
3970
|
case 1:
|
|
3971
|
-
var value = new proto.
|
|
3972
|
-
reader.readMessage(value,proto.
|
|
3971
|
+
var value = new proto.Employee;
|
|
3972
|
+
reader.readMessage(value,proto.Employee.deserializeBinaryFromReader);
|
|
3973
3973
|
msg.setEmployee(value);
|
|
3974
3974
|
break;
|
|
3975
3975
|
case 2:
|
|
@@ -3990,9 +3990,9 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.deserializeBinaryFromReade
|
|
|
3990
3990
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3991
3991
|
* @return {!Uint8Array}
|
|
3992
3992
|
*/
|
|
3993
|
-
proto.
|
|
3993
|
+
proto.EmployeeGetByIdResponse.prototype.serializeBinary = function() {
|
|
3994
3994
|
var writer = new jspb.BinaryWriter();
|
|
3995
|
-
proto.
|
|
3995
|
+
proto.EmployeeGetByIdResponse.serializeBinaryToWriter(this, writer);
|
|
3996
3996
|
return writer.getResultBuffer();
|
|
3997
3997
|
};
|
|
3998
3998
|
|
|
@@ -4000,18 +4000,18 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.prototype.serializeBinary
|
|
|
4000
4000
|
/**
|
|
4001
4001
|
* Serializes the given message to binary data (in protobuf wire
|
|
4002
4002
|
* format), writing to the given BinaryWriter.
|
|
4003
|
-
* @param {!proto.
|
|
4003
|
+
* @param {!proto.EmployeeGetByIdResponse} message
|
|
4004
4004
|
* @param {!jspb.BinaryWriter} writer
|
|
4005
4005
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4006
4006
|
*/
|
|
4007
|
-
proto.
|
|
4007
|
+
proto.EmployeeGetByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4008
4008
|
var f = undefined;
|
|
4009
4009
|
f = message.getEmployee();
|
|
4010
4010
|
if (f != null) {
|
|
4011
4011
|
writer.writeMessage(
|
|
4012
4012
|
1,
|
|
4013
4013
|
f,
|
|
4014
|
-
proto.
|
|
4014
|
+
proto.Employee.serializeBinaryToWriter
|
|
4015
4015
|
);
|
|
4016
4016
|
}
|
|
4017
4017
|
f = message.getMeta();
|
|
@@ -4027,28 +4027,28 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.serializeBinaryToWriter =
|
|
|
4027
4027
|
|
|
4028
4028
|
/**
|
|
4029
4029
|
* optional Employee employee = 1;
|
|
4030
|
-
* @return {?proto.
|
|
4030
|
+
* @return {?proto.Employee}
|
|
4031
4031
|
*/
|
|
4032
|
-
proto.
|
|
4033
|
-
return /** @type{?proto.
|
|
4034
|
-
jspb.Message.getWrapperField(this, proto.
|
|
4032
|
+
proto.EmployeeGetByIdResponse.prototype.getEmployee = function() {
|
|
4033
|
+
return /** @type{?proto.Employee} */ (
|
|
4034
|
+
jspb.Message.getWrapperField(this, proto.Employee, 1));
|
|
4035
4035
|
};
|
|
4036
4036
|
|
|
4037
4037
|
|
|
4038
4038
|
/**
|
|
4039
|
-
* @param {?proto.
|
|
4040
|
-
* @return {!proto.
|
|
4039
|
+
* @param {?proto.Employee|undefined} value
|
|
4040
|
+
* @return {!proto.EmployeeGetByIdResponse} returns this
|
|
4041
4041
|
*/
|
|
4042
|
-
proto.
|
|
4042
|
+
proto.EmployeeGetByIdResponse.prototype.setEmployee = function(value) {
|
|
4043
4043
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
4044
4044
|
};
|
|
4045
4045
|
|
|
4046
4046
|
|
|
4047
4047
|
/**
|
|
4048
4048
|
* Clears the message field making it undefined.
|
|
4049
|
-
* @return {!proto.
|
|
4049
|
+
* @return {!proto.EmployeeGetByIdResponse} returns this
|
|
4050
4050
|
*/
|
|
4051
|
-
proto.
|
|
4051
|
+
proto.EmployeeGetByIdResponse.prototype.clearEmployee = function() {
|
|
4052
4052
|
return this.setEmployee(undefined);
|
|
4053
4053
|
};
|
|
4054
4054
|
|
|
@@ -4057,7 +4057,7 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.prototype.clearEmployee =
|
|
|
4057
4057
|
* Returns whether this field is set.
|
|
4058
4058
|
* @return {boolean}
|
|
4059
4059
|
*/
|
|
4060
|
-
proto.
|
|
4060
|
+
proto.EmployeeGetByIdResponse.prototype.hasEmployee = function() {
|
|
4061
4061
|
return jspb.Message.getField(this, 1) != null;
|
|
4062
4062
|
};
|
|
4063
4063
|
|
|
@@ -4066,7 +4066,7 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.prototype.hasEmployee = fu
|
|
|
4066
4066
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4067
4067
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4068
4068
|
*/
|
|
4069
|
-
proto.
|
|
4069
|
+
proto.EmployeeGetByIdResponse.prototype.getMeta = function() {
|
|
4070
4070
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4071
4071
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4072
4072
|
};
|
|
@@ -4074,18 +4074,18 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.prototype.getMeta = functi
|
|
|
4074
4074
|
|
|
4075
4075
|
/**
|
|
4076
4076
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4077
|
-
* @return {!proto.
|
|
4077
|
+
* @return {!proto.EmployeeGetByIdResponse} returns this
|
|
4078
4078
|
*/
|
|
4079
|
-
proto.
|
|
4079
|
+
proto.EmployeeGetByIdResponse.prototype.setMeta = function(value) {
|
|
4080
4080
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
4081
4081
|
};
|
|
4082
4082
|
|
|
4083
4083
|
|
|
4084
4084
|
/**
|
|
4085
4085
|
* Clears the message field making it undefined.
|
|
4086
|
-
* @return {!proto.
|
|
4086
|
+
* @return {!proto.EmployeeGetByIdResponse} returns this
|
|
4087
4087
|
*/
|
|
4088
|
-
proto.
|
|
4088
|
+
proto.EmployeeGetByIdResponse.prototype.clearMeta = function() {
|
|
4089
4089
|
return this.setMeta(undefined);
|
|
4090
4090
|
};
|
|
4091
4091
|
|
|
@@ -4094,7 +4094,7 @@ proto.prisca.v1.core.employee.EmployeeGetByIdResponse.prototype.clearMeta = func
|
|
|
4094
4094
|
* Returns whether this field is set.
|
|
4095
4095
|
* @return {boolean}
|
|
4096
4096
|
*/
|
|
4097
|
-
proto.
|
|
4097
|
+
proto.EmployeeGetByIdResponse.prototype.hasMeta = function() {
|
|
4098
4098
|
return jspb.Message.getField(this, 2) != null;
|
|
4099
4099
|
};
|
|
4100
4100
|
|
|
@@ -4115,8 +4115,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4115
4115
|
* http://goto/soy-param-migration
|
|
4116
4116
|
* @return {!Object}
|
|
4117
4117
|
*/
|
|
4118
|
-
proto.
|
|
4119
|
-
return proto.
|
|
4118
|
+
proto.DeleteEmployeeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4119
|
+
return proto.DeleteEmployeeResponse.toObject(opt_includeInstance, this);
|
|
4120
4120
|
};
|
|
4121
4121
|
|
|
4122
4122
|
|
|
@@ -4125,11 +4125,11 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.prototype.toObject = functi
|
|
|
4125
4125
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4126
4126
|
* the JSPB instance for transitional soy proto support:
|
|
4127
4127
|
* http://goto/soy-param-migration
|
|
4128
|
-
* @param {!proto.
|
|
4128
|
+
* @param {!proto.DeleteEmployeeResponse} msg The msg instance to transform.
|
|
4129
4129
|
* @return {!Object}
|
|
4130
4130
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4131
4131
|
*/
|
|
4132
|
-
proto.
|
|
4132
|
+
proto.DeleteEmployeeResponse.toObject = function(includeInstance, msg) {
|
|
4133
4133
|
var f, obj = {
|
|
4134
4134
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4135
4135
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
@@ -4146,23 +4146,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
4146
4146
|
/**
|
|
4147
4147
|
* Deserializes binary data (in protobuf wire format).
|
|
4148
4148
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4149
|
-
* @return {!proto.
|
|
4149
|
+
* @return {!proto.DeleteEmployeeResponse}
|
|
4150
4150
|
*/
|
|
4151
|
-
proto.
|
|
4151
|
+
proto.DeleteEmployeeResponse.deserializeBinary = function(bytes) {
|
|
4152
4152
|
var reader = new jspb.BinaryReader(bytes);
|
|
4153
|
-
var msg = new proto.
|
|
4154
|
-
return proto.
|
|
4153
|
+
var msg = new proto.DeleteEmployeeResponse;
|
|
4154
|
+
return proto.DeleteEmployeeResponse.deserializeBinaryFromReader(msg, reader);
|
|
4155
4155
|
};
|
|
4156
4156
|
|
|
4157
4157
|
|
|
4158
4158
|
/**
|
|
4159
4159
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4160
4160
|
* given reader into the given message object.
|
|
4161
|
-
* @param {!proto.
|
|
4161
|
+
* @param {!proto.DeleteEmployeeResponse} msg The message object to deserialize into.
|
|
4162
4162
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4163
|
-
* @return {!proto.
|
|
4163
|
+
* @return {!proto.DeleteEmployeeResponse}
|
|
4164
4164
|
*/
|
|
4165
|
-
proto.
|
|
4165
|
+
proto.DeleteEmployeeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4166
4166
|
while (reader.nextField()) {
|
|
4167
4167
|
if (reader.isEndGroup()) {
|
|
4168
4168
|
break;
|
|
@@ -4191,9 +4191,9 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.deserializeBinaryFromReader
|
|
|
4191
4191
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4192
4192
|
* @return {!Uint8Array}
|
|
4193
4193
|
*/
|
|
4194
|
-
proto.
|
|
4194
|
+
proto.DeleteEmployeeResponse.prototype.serializeBinary = function() {
|
|
4195
4195
|
var writer = new jspb.BinaryWriter();
|
|
4196
|
-
proto.
|
|
4196
|
+
proto.DeleteEmployeeResponse.serializeBinaryToWriter(this, writer);
|
|
4197
4197
|
return writer.getResultBuffer();
|
|
4198
4198
|
};
|
|
4199
4199
|
|
|
@@ -4201,11 +4201,11 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.prototype.serializeBinary =
|
|
|
4201
4201
|
/**
|
|
4202
4202
|
* Serializes the given message to binary data (in protobuf wire
|
|
4203
4203
|
* format), writing to the given BinaryWriter.
|
|
4204
|
-
* @param {!proto.
|
|
4204
|
+
* @param {!proto.DeleteEmployeeResponse} message
|
|
4205
4205
|
* @param {!jspb.BinaryWriter} writer
|
|
4206
4206
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4207
4207
|
*/
|
|
4208
|
-
proto.
|
|
4208
|
+
proto.DeleteEmployeeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4209
4209
|
var f = undefined;
|
|
4210
4210
|
f = message.getReferencesId();
|
|
4211
4211
|
if (f.length > 0) {
|
|
@@ -4229,16 +4229,16 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.serializeBinaryToWriter = f
|
|
|
4229
4229
|
* optional string references_id = 1;
|
|
4230
4230
|
* @return {string}
|
|
4231
4231
|
*/
|
|
4232
|
-
proto.
|
|
4232
|
+
proto.DeleteEmployeeResponse.prototype.getReferencesId = function() {
|
|
4233
4233
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4234
4234
|
};
|
|
4235
4235
|
|
|
4236
4236
|
|
|
4237
4237
|
/**
|
|
4238
4238
|
* @param {string} value
|
|
4239
|
-
* @return {!proto.
|
|
4239
|
+
* @return {!proto.DeleteEmployeeResponse} returns this
|
|
4240
4240
|
*/
|
|
4241
|
-
proto.
|
|
4241
|
+
proto.DeleteEmployeeResponse.prototype.setReferencesId = function(value) {
|
|
4242
4242
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4243
4243
|
};
|
|
4244
4244
|
|
|
@@ -4247,7 +4247,7 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.prototype.setReferencesId =
|
|
|
4247
4247
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4248
4248
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4249
4249
|
*/
|
|
4250
|
-
proto.
|
|
4250
|
+
proto.DeleteEmployeeResponse.prototype.getMeta = function() {
|
|
4251
4251
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4252
4252
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4253
4253
|
};
|
|
@@ -4255,18 +4255,18 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.prototype.getMeta = functio
|
|
|
4255
4255
|
|
|
4256
4256
|
/**
|
|
4257
4257
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4258
|
-
* @return {!proto.
|
|
4258
|
+
* @return {!proto.DeleteEmployeeResponse} returns this
|
|
4259
4259
|
*/
|
|
4260
|
-
proto.
|
|
4260
|
+
proto.DeleteEmployeeResponse.prototype.setMeta = function(value) {
|
|
4261
4261
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
4262
4262
|
};
|
|
4263
4263
|
|
|
4264
4264
|
|
|
4265
4265
|
/**
|
|
4266
4266
|
* Clears the message field making it undefined.
|
|
4267
|
-
* @return {!proto.
|
|
4267
|
+
* @return {!proto.DeleteEmployeeResponse} returns this
|
|
4268
4268
|
*/
|
|
4269
|
-
proto.
|
|
4269
|
+
proto.DeleteEmployeeResponse.prototype.clearMeta = function() {
|
|
4270
4270
|
return this.setMeta(undefined);
|
|
4271
4271
|
};
|
|
4272
4272
|
|
|
@@ -4275,9 +4275,9 @@ proto.prisca.v1.core.employee.DeleteEmployeeResponse.prototype.clearMeta = funct
|
|
|
4275
4275
|
* Returns whether this field is set.
|
|
4276
4276
|
* @return {boolean}
|
|
4277
4277
|
*/
|
|
4278
|
-
proto.
|
|
4278
|
+
proto.DeleteEmployeeResponse.prototype.hasMeta = function() {
|
|
4279
4279
|
return jspb.Message.getField(this, 2) != null;
|
|
4280
4280
|
};
|
|
4281
4281
|
|
|
4282
4282
|
|
|
4283
|
-
goog.object.extend(exports, proto
|
|
4283
|
+
goog.object.extend(exports, proto);
|