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