@aldiokta/protocgen 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/core/company/company_pb.js +362 -99
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +1 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +157 -104
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +4 -0
- package/prisca/v1/core/job_position/job_position_pb.js +955 -285
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +1 -0
- package/prisca/v1/core/job_title/job_title_pb.js +417 -101
- package/prisca/v1/core/material/material_pb.js +159 -129
- package/prisca/v1/core/material_group/material_group_pb.js +39 -39
- package/prisca/v1/core/material_type/material_type_pb.js +55 -25
- package/prisca/v1/core/organization/organization_grpc_pb.js +3 -0
- package/prisca/v1/core/organization/organization_pb.js +814 -242
- package/prisca/v1/core/organization_level/organization_level_pb.js +40 -70
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +52 -52
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
- package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
- package/prisca/v1/core/work_location/work_location_pb.js +221 -221
- package/prisca/v1/core/workflow/workflow_pb.js +59 -59
|
@@ -23,6 +23,13 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
28
|
+
var prisca_v1_core_work_location_work_location_pb = require('../../../../prisca/v1/core/work_location/work_location_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_core_work_location_work_location_pb);
|
|
30
|
+
var prisca_v1_core_organization_level_organization_level_pb = require('../../../../prisca/v1/core/organization_level/organization_level_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_core_organization_level_organization_level_pb);
|
|
32
|
+
goog.exportSymbol('proto.BaseOrganization', null, global);
|
|
26
33
|
goog.exportSymbol('proto.CreateOrganizationRequest', null, global);
|
|
27
34
|
goog.exportSymbol('proto.CreateOrganizationResponse', null, global);
|
|
28
35
|
goog.exportSymbol('proto.DeleteOrganizationRequest', null, global);
|
|
@@ -55,6 +62,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
55
62
|
*/
|
|
56
63
|
proto.Organization.displayName = 'proto.Organization';
|
|
57
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Generated by JsPbCodeGenerator.
|
|
67
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
68
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
69
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
70
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
71
|
+
* valid.
|
|
72
|
+
* @extends {jspb.Message}
|
|
73
|
+
* @constructor
|
|
74
|
+
*/
|
|
75
|
+
proto.BaseOrganization = function(opt_data) {
|
|
76
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
77
|
+
};
|
|
78
|
+
goog.inherits(proto.BaseOrganization, jspb.Message);
|
|
79
|
+
if (goog.DEBUG && !COMPILED) {
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @override
|
|
83
|
+
*/
|
|
84
|
+
proto.BaseOrganization.displayName = 'proto.BaseOrganization';
|
|
85
|
+
}
|
|
58
86
|
/**
|
|
59
87
|
* Generated by JsPbCodeGenerator.
|
|
60
88
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -182,89 +210,663 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
182
210
|
proto.GetListOrganizationRequest.displayName = 'proto.GetListOrganizationRequest';
|
|
183
211
|
}
|
|
184
212
|
/**
|
|
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
|
|
213
|
+
* Generated by JsPbCodeGenerator.
|
|
214
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
215
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
216
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
217
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
218
|
+
* valid.
|
|
219
|
+
* @extends {jspb.Message}
|
|
220
|
+
* @constructor
|
|
221
|
+
*/
|
|
222
|
+
proto.CreateOrganizationResponse = function(opt_data) {
|
|
223
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
224
|
+
};
|
|
225
|
+
goog.inherits(proto.CreateOrganizationResponse, jspb.Message);
|
|
226
|
+
if (goog.DEBUG && !COMPILED) {
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
* @override
|
|
230
|
+
*/
|
|
231
|
+
proto.CreateOrganizationResponse.displayName = 'proto.CreateOrganizationResponse';
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Generated by JsPbCodeGenerator.
|
|
235
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
236
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
237
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
238
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
239
|
+
* valid.
|
|
240
|
+
* @extends {jspb.Message}
|
|
241
|
+
* @constructor
|
|
242
|
+
*/
|
|
243
|
+
proto.GetListOrganizationResponse = function(opt_data) {
|
|
244
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListOrganizationResponse.repeatedFields_, null);
|
|
245
|
+
};
|
|
246
|
+
goog.inherits(proto.GetListOrganizationResponse, jspb.Message);
|
|
247
|
+
if (goog.DEBUG && !COMPILED) {
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* @override
|
|
251
|
+
*/
|
|
252
|
+
proto.GetListOrganizationResponse.displayName = 'proto.GetListOrganizationResponse';
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Generated by JsPbCodeGenerator.
|
|
256
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
257
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
258
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
259
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
260
|
+
* valid.
|
|
261
|
+
* @extends {jspb.Message}
|
|
262
|
+
* @constructor
|
|
263
|
+
*/
|
|
264
|
+
proto.UpdateOrganizationResponse = function(opt_data) {
|
|
265
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
266
|
+
};
|
|
267
|
+
goog.inherits(proto.UpdateOrganizationResponse, jspb.Message);
|
|
268
|
+
if (goog.DEBUG && !COMPILED) {
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
* @override
|
|
272
|
+
*/
|
|
273
|
+
proto.UpdateOrganizationResponse.displayName = 'proto.UpdateOrganizationResponse';
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Generated by JsPbCodeGenerator.
|
|
277
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
278
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
279
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
280
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
281
|
+
* valid.
|
|
282
|
+
* @extends {jspb.Message}
|
|
283
|
+
* @constructor
|
|
284
|
+
*/
|
|
285
|
+
proto.OrganizationGetByIdResponse = function(opt_data) {
|
|
286
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
287
|
+
};
|
|
288
|
+
goog.inherits(proto.OrganizationGetByIdResponse, jspb.Message);
|
|
289
|
+
if (goog.DEBUG && !COMPILED) {
|
|
290
|
+
/**
|
|
291
|
+
* @public
|
|
292
|
+
* @override
|
|
293
|
+
*/
|
|
294
|
+
proto.OrganizationGetByIdResponse.displayName = 'proto.OrganizationGetByIdResponse';
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
300
|
+
/**
|
|
301
|
+
* Creates an object representation of this proto.
|
|
302
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
303
|
+
* Optional fields that are not set will be set to undefined.
|
|
304
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
305
|
+
* For the list of reserved names please see:
|
|
306
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
307
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
308
|
+
* JSPB instance for transitional soy proto support:
|
|
309
|
+
* http://goto/soy-param-migration
|
|
310
|
+
* @return {!Object}
|
|
311
|
+
*/
|
|
312
|
+
proto.Organization.prototype.toObject = function(opt_includeInstance) {
|
|
313
|
+
return proto.Organization.toObject(opt_includeInstance, this);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Static version of the {@see toObject} method.
|
|
319
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
320
|
+
* the JSPB instance for transitional soy proto support:
|
|
321
|
+
* http://goto/soy-param-migration
|
|
322
|
+
* @param {!proto.Organization} msg The msg instance to transform.
|
|
323
|
+
* @return {!Object}
|
|
324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
325
|
+
*/
|
|
326
|
+
proto.Organization.toObject = function(includeInstance, msg) {
|
|
327
|
+
var f, obj = {
|
|
328
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
329
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
330
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
331
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
332
|
+
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
333
|
+
parent: (f = msg.getParent()) && proto.BaseOrganization.toObject(includeInstance, f),
|
|
334
|
+
organizationLevelReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
335
|
+
organizationLevel: (f = msg.getOrganizationLevel()) && prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel.toObject(includeInstance, f),
|
|
336
|
+
workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
337
|
+
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
338
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
339
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
340
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
if (includeInstance) {
|
|
344
|
+
obj.$jspbMessageInstance = msg;
|
|
345
|
+
}
|
|
346
|
+
return obj;
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Deserializes binary data (in protobuf wire format).
|
|
353
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
354
|
+
* @return {!proto.Organization}
|
|
355
|
+
*/
|
|
356
|
+
proto.Organization.deserializeBinary = function(bytes) {
|
|
357
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
358
|
+
var msg = new proto.Organization;
|
|
359
|
+
return proto.Organization.deserializeBinaryFromReader(msg, reader);
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
365
|
+
* given reader into the given message object.
|
|
366
|
+
* @param {!proto.Organization} msg The message object to deserialize into.
|
|
367
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
368
|
+
* @return {!proto.Organization}
|
|
369
|
+
*/
|
|
370
|
+
proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
371
|
+
while (reader.nextField()) {
|
|
372
|
+
if (reader.isEndGroup()) {
|
|
373
|
+
break;
|
|
374
|
+
}
|
|
375
|
+
var field = reader.getFieldNumber();
|
|
376
|
+
switch (field) {
|
|
377
|
+
case 1:
|
|
378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
379
|
+
msg.setReferencesId(value);
|
|
380
|
+
break;
|
|
381
|
+
case 2:
|
|
382
|
+
var value = /** @type {string} */ (reader.readString());
|
|
383
|
+
msg.setCode(value);
|
|
384
|
+
break;
|
|
385
|
+
case 3:
|
|
386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
387
|
+
msg.setName(value);
|
|
388
|
+
break;
|
|
389
|
+
case 4:
|
|
390
|
+
var value = /** @type {string} */ (reader.readString());
|
|
391
|
+
msg.setCostCenterCode(value);
|
|
392
|
+
break;
|
|
393
|
+
case 5:
|
|
394
|
+
var value = /** @type {string} */ (reader.readString());
|
|
395
|
+
msg.setParentReferencesId(value);
|
|
396
|
+
break;
|
|
397
|
+
case 6:
|
|
398
|
+
var value = new proto.BaseOrganization;
|
|
399
|
+
reader.readMessage(value,proto.BaseOrganization.deserializeBinaryFromReader);
|
|
400
|
+
msg.setParent(value);
|
|
401
|
+
break;
|
|
402
|
+
case 7:
|
|
403
|
+
var value = /** @type {string} */ (reader.readString());
|
|
404
|
+
msg.setOrganizationLevelReferencesId(value);
|
|
405
|
+
break;
|
|
406
|
+
case 8:
|
|
407
|
+
var value = new prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel;
|
|
408
|
+
reader.readMessage(value,prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel.deserializeBinaryFromReader);
|
|
409
|
+
msg.setOrganizationLevel(value);
|
|
410
|
+
break;
|
|
411
|
+
case 9:
|
|
412
|
+
var value = /** @type {string} */ (reader.readString());
|
|
413
|
+
msg.setWorkLocationReferencesId(value);
|
|
414
|
+
break;
|
|
415
|
+
case 10:
|
|
416
|
+
var value = new prisca_v1_core_work_location_work_location_pb.WorkLocation;
|
|
417
|
+
reader.readMessage(value,prisca_v1_core_work_location_work_location_pb.WorkLocation.deserializeBinaryFromReader);
|
|
418
|
+
msg.setWorkLocations(value);
|
|
419
|
+
break;
|
|
420
|
+
case 11:
|
|
421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
422
|
+
msg.setDescription(value);
|
|
423
|
+
break;
|
|
424
|
+
case 12:
|
|
425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
426
|
+
msg.setCompaniesReferencesId(value);
|
|
427
|
+
break;
|
|
428
|
+
case 13:
|
|
429
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
430
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
431
|
+
msg.setCompanies(value);
|
|
432
|
+
break;
|
|
433
|
+
default:
|
|
434
|
+
reader.skipField();
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return msg;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
444
|
+
* @return {!Uint8Array}
|
|
445
|
+
*/
|
|
446
|
+
proto.Organization.prototype.serializeBinary = function() {
|
|
447
|
+
var writer = new jspb.BinaryWriter();
|
|
448
|
+
proto.Organization.serializeBinaryToWriter(this, writer);
|
|
449
|
+
return writer.getResultBuffer();
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
455
|
+
* format), writing to the given BinaryWriter.
|
|
456
|
+
* @param {!proto.Organization} message
|
|
457
|
+
* @param {!jspb.BinaryWriter} writer
|
|
458
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
459
|
+
*/
|
|
460
|
+
proto.Organization.serializeBinaryToWriter = function(message, writer) {
|
|
461
|
+
var f = undefined;
|
|
462
|
+
f = message.getReferencesId();
|
|
463
|
+
if (f.length > 0) {
|
|
464
|
+
writer.writeString(
|
|
465
|
+
1,
|
|
466
|
+
f
|
|
467
|
+
);
|
|
468
|
+
}
|
|
469
|
+
f = message.getCode();
|
|
470
|
+
if (f.length > 0) {
|
|
471
|
+
writer.writeString(
|
|
472
|
+
2,
|
|
473
|
+
f
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
f = message.getName();
|
|
477
|
+
if (f.length > 0) {
|
|
478
|
+
writer.writeString(
|
|
479
|
+
3,
|
|
480
|
+
f
|
|
481
|
+
);
|
|
482
|
+
}
|
|
483
|
+
f = message.getCostCenterCode();
|
|
484
|
+
if (f.length > 0) {
|
|
485
|
+
writer.writeString(
|
|
486
|
+
4,
|
|
487
|
+
f
|
|
488
|
+
);
|
|
489
|
+
}
|
|
490
|
+
f = message.getParentReferencesId();
|
|
491
|
+
if (f.length > 0) {
|
|
492
|
+
writer.writeString(
|
|
493
|
+
5,
|
|
494
|
+
f
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
f = message.getParent();
|
|
498
|
+
if (f != null) {
|
|
499
|
+
writer.writeMessage(
|
|
500
|
+
6,
|
|
501
|
+
f,
|
|
502
|
+
proto.BaseOrganization.serializeBinaryToWriter
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
f = message.getOrganizationLevelReferencesId();
|
|
506
|
+
if (f.length > 0) {
|
|
507
|
+
writer.writeString(
|
|
508
|
+
7,
|
|
509
|
+
f
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
f = message.getOrganizationLevel();
|
|
513
|
+
if (f != null) {
|
|
514
|
+
writer.writeMessage(
|
|
515
|
+
8,
|
|
516
|
+
f,
|
|
517
|
+
prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel.serializeBinaryToWriter
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
f = message.getWorkLocationReferencesId();
|
|
521
|
+
if (f.length > 0) {
|
|
522
|
+
writer.writeString(
|
|
523
|
+
9,
|
|
524
|
+
f
|
|
525
|
+
);
|
|
526
|
+
}
|
|
527
|
+
f = message.getWorkLocations();
|
|
528
|
+
if (f != null) {
|
|
529
|
+
writer.writeMessage(
|
|
530
|
+
10,
|
|
531
|
+
f,
|
|
532
|
+
prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
|
|
533
|
+
);
|
|
534
|
+
}
|
|
535
|
+
f = message.getDescription();
|
|
536
|
+
if (f.length > 0) {
|
|
537
|
+
writer.writeString(
|
|
538
|
+
11,
|
|
539
|
+
f
|
|
540
|
+
);
|
|
541
|
+
}
|
|
542
|
+
f = message.getCompaniesReferencesId();
|
|
543
|
+
if (f.length > 0) {
|
|
544
|
+
writer.writeString(
|
|
545
|
+
12,
|
|
546
|
+
f
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
f = message.getCompanies();
|
|
550
|
+
if (f != null) {
|
|
551
|
+
writer.writeMessage(
|
|
552
|
+
13,
|
|
553
|
+
f,
|
|
554
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* optional string references_id = 1;
|
|
562
|
+
* @return {string}
|
|
563
|
+
*/
|
|
564
|
+
proto.Organization.prototype.getReferencesId = function() {
|
|
565
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @param {string} value
|
|
571
|
+
* @return {!proto.Organization} returns this
|
|
572
|
+
*/
|
|
573
|
+
proto.Organization.prototype.setReferencesId = function(value) {
|
|
574
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* optional string code = 2;
|
|
580
|
+
* @return {string}
|
|
581
|
+
*/
|
|
582
|
+
proto.Organization.prototype.getCode = function() {
|
|
583
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @param {string} value
|
|
589
|
+
* @return {!proto.Organization} returns this
|
|
590
|
+
*/
|
|
591
|
+
proto.Organization.prototype.setCode = function(value) {
|
|
592
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* optional string name = 3;
|
|
598
|
+
* @return {string}
|
|
599
|
+
*/
|
|
600
|
+
proto.Organization.prototype.getName = function() {
|
|
601
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @param {string} value
|
|
607
|
+
* @return {!proto.Organization} returns this
|
|
608
|
+
*/
|
|
609
|
+
proto.Organization.prototype.setName = function(value) {
|
|
610
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* optional string cost_center_code = 4;
|
|
616
|
+
* @return {string}
|
|
617
|
+
*/
|
|
618
|
+
proto.Organization.prototype.getCostCenterCode = function() {
|
|
619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @param {string} value
|
|
625
|
+
* @return {!proto.Organization} returns this
|
|
626
|
+
*/
|
|
627
|
+
proto.Organization.prototype.setCostCenterCode = function(value) {
|
|
628
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* optional string parent_references_id = 5;
|
|
634
|
+
* @return {string}
|
|
635
|
+
*/
|
|
636
|
+
proto.Organization.prototype.getParentReferencesId = function() {
|
|
637
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @param {string} value
|
|
643
|
+
* @return {!proto.Organization} returns this
|
|
644
|
+
*/
|
|
645
|
+
proto.Organization.prototype.setParentReferencesId = function(value) {
|
|
646
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* optional BaseOrganization parent = 6;
|
|
652
|
+
* @return {?proto.BaseOrganization}
|
|
653
|
+
*/
|
|
654
|
+
proto.Organization.prototype.getParent = function() {
|
|
655
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
656
|
+
jspb.Message.getWrapperField(this, proto.BaseOrganization, 6));
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
662
|
+
* @return {!proto.Organization} returns this
|
|
663
|
+
*/
|
|
664
|
+
proto.Organization.prototype.setParent = function(value) {
|
|
665
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Clears the message field making it undefined.
|
|
671
|
+
* @return {!proto.Organization} returns this
|
|
672
|
+
*/
|
|
673
|
+
proto.Organization.prototype.clearParent = function() {
|
|
674
|
+
return this.setParent(undefined);
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Returns whether this field is set.
|
|
680
|
+
* @return {boolean}
|
|
681
|
+
*/
|
|
682
|
+
proto.Organization.prototype.hasParent = function() {
|
|
683
|
+
return jspb.Message.getField(this, 6) != null;
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* optional string organization_level_references_id = 7;
|
|
689
|
+
* @return {string}
|
|
690
|
+
*/
|
|
691
|
+
proto.Organization.prototype.getOrganizationLevelReferencesId = function() {
|
|
692
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* @param {string} value
|
|
698
|
+
* @return {!proto.Organization} returns this
|
|
699
|
+
*/
|
|
700
|
+
proto.Organization.prototype.setOrganizationLevelReferencesId = function(value) {
|
|
701
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* optional BaseOrganizationLevel organization_level = 8;
|
|
707
|
+
* @return {?proto.BaseOrganizationLevel}
|
|
708
|
+
*/
|
|
709
|
+
proto.Organization.prototype.getOrganizationLevel = function() {
|
|
710
|
+
return /** @type{?proto.BaseOrganizationLevel} */ (
|
|
711
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_organization_level_organization_level_pb.BaseOrganizationLevel, 8));
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @param {?proto.BaseOrganizationLevel|undefined} value
|
|
717
|
+
* @return {!proto.Organization} returns this
|
|
718
|
+
*/
|
|
719
|
+
proto.Organization.prototype.setOrganizationLevel = function(value) {
|
|
720
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Clears the message field making it undefined.
|
|
726
|
+
* @return {!proto.Organization} returns this
|
|
727
|
+
*/
|
|
728
|
+
proto.Organization.prototype.clearOrganizationLevel = function() {
|
|
729
|
+
return this.setOrganizationLevel(undefined);
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Returns whether this field is set.
|
|
735
|
+
* @return {boolean}
|
|
736
|
+
*/
|
|
737
|
+
proto.Organization.prototype.hasOrganizationLevel = function() {
|
|
738
|
+
return jspb.Message.getField(this, 8) != null;
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* optional string work_location_references_id = 9;
|
|
744
|
+
* @return {string}
|
|
745
|
+
*/
|
|
746
|
+
proto.Organization.prototype.getWorkLocationReferencesId = function() {
|
|
747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* @param {string} value
|
|
753
|
+
* @return {!proto.Organization} returns this
|
|
754
|
+
*/
|
|
755
|
+
proto.Organization.prototype.setWorkLocationReferencesId = function(value) {
|
|
756
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* optional WorkLocation work_locations = 10;
|
|
762
|
+
* @return {?proto.WorkLocation}
|
|
763
|
+
*/
|
|
764
|
+
proto.Organization.prototype.getWorkLocations = function() {
|
|
765
|
+
return /** @type{?proto.WorkLocation} */ (
|
|
766
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_work_location_work_location_pb.WorkLocation, 10));
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* @param {?proto.WorkLocation|undefined} value
|
|
772
|
+
* @return {!proto.Organization} returns this
|
|
773
|
+
*/
|
|
774
|
+
proto.Organization.prototype.setWorkLocations = function(value) {
|
|
775
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Clears the message field making it undefined.
|
|
781
|
+
* @return {!proto.Organization} returns this
|
|
782
|
+
*/
|
|
783
|
+
proto.Organization.prototype.clearWorkLocations = function() {
|
|
784
|
+
return this.setWorkLocations(undefined);
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Returns whether this field is set.
|
|
790
|
+
* @return {boolean}
|
|
791
|
+
*/
|
|
792
|
+
proto.Organization.prototype.hasWorkLocations = function() {
|
|
793
|
+
return jspb.Message.getField(this, 10) != null;
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* optional string description = 11;
|
|
799
|
+
* @return {string}
|
|
800
|
+
*/
|
|
801
|
+
proto.Organization.prototype.getDescription = function() {
|
|
802
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* @param {string} value
|
|
808
|
+
* @return {!proto.Organization} returns this
|
|
809
|
+
*/
|
|
810
|
+
proto.Organization.prototype.setDescription = function(value) {
|
|
811
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* optional string companies_references_id = 12;
|
|
817
|
+
* @return {string}
|
|
818
|
+
*/
|
|
819
|
+
proto.Organization.prototype.getCompaniesReferencesId = function() {
|
|
820
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* @param {string} value
|
|
826
|
+
* @return {!proto.Organization} returns this
|
|
193
827
|
*/
|
|
194
|
-
proto.
|
|
195
|
-
jspb.Message.
|
|
828
|
+
proto.Organization.prototype.setCompaniesReferencesId = function(value) {
|
|
829
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
196
830
|
};
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* @public
|
|
201
|
-
* @override
|
|
202
|
-
*/
|
|
203
|
-
proto.CreateOrganizationResponse.displayName = 'proto.CreateOrganizationResponse';
|
|
204
|
-
}
|
|
831
|
+
|
|
832
|
+
|
|
205
833
|
/**
|
|
206
|
-
*
|
|
207
|
-
* @
|
|
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
|
|
834
|
+
* optional BaseCompanyParent companies = 13;
|
|
835
|
+
* @return {?proto.BaseCompanyParent}
|
|
214
836
|
*/
|
|
215
|
-
proto.
|
|
216
|
-
|
|
837
|
+
proto.Organization.prototype.getCompanies = function() {
|
|
838
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
839
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
|
|
217
840
|
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
* @override
|
|
223
|
-
*/
|
|
224
|
-
proto.GetListOrganizationResponse.displayName = 'proto.GetListOrganizationResponse';
|
|
225
|
-
}
|
|
841
|
+
|
|
842
|
+
|
|
226
843
|
/**
|
|
227
|
-
*
|
|
228
|
-
* @
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
844
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
845
|
+
* @return {!proto.Organization} returns this
|
|
846
|
+
*/
|
|
847
|
+
proto.Organization.prototype.setCompanies = function(value) {
|
|
848
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Clears the message field making it undefined.
|
|
854
|
+
* @return {!proto.Organization} returns this
|
|
235
855
|
*/
|
|
236
|
-
proto.
|
|
237
|
-
|
|
856
|
+
proto.Organization.prototype.clearCompanies = function() {
|
|
857
|
+
return this.setCompanies(undefined);
|
|
238
858
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @public
|
|
243
|
-
* @override
|
|
244
|
-
*/
|
|
245
|
-
proto.UpdateOrganizationResponse.displayName = 'proto.UpdateOrganizationResponse';
|
|
246
|
-
}
|
|
859
|
+
|
|
860
|
+
|
|
247
861
|
/**
|
|
248
|
-
*
|
|
249
|
-
* @
|
|
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
|
|
862
|
+
* Returns whether this field is set.
|
|
863
|
+
* @return {boolean}
|
|
256
864
|
*/
|
|
257
|
-
proto.
|
|
258
|
-
jspb.Message.
|
|
865
|
+
proto.Organization.prototype.hasCompanies = function() {
|
|
866
|
+
return jspb.Message.getField(this, 13) != null;
|
|
259
867
|
};
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* @public
|
|
264
|
-
* @override
|
|
265
|
-
*/
|
|
266
|
-
proto.OrganizationGetByIdResponse.displayName = 'proto.OrganizationGetByIdResponse';
|
|
267
|
-
}
|
|
868
|
+
|
|
869
|
+
|
|
268
870
|
|
|
269
871
|
|
|
270
872
|
|
|
@@ -281,8 +883,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
281
883
|
* http://goto/soy-param-migration
|
|
282
884
|
* @return {!Object}
|
|
283
885
|
*/
|
|
284
|
-
proto.
|
|
285
|
-
return proto.
|
|
886
|
+
proto.BaseOrganization.prototype.toObject = function(opt_includeInstance) {
|
|
887
|
+
return proto.BaseOrganization.toObject(opt_includeInstance, this);
|
|
286
888
|
};
|
|
287
889
|
|
|
288
890
|
|
|
@@ -291,21 +893,20 @@ proto.Organization.prototype.toObject = function(opt_includeInstance) {
|
|
|
291
893
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
292
894
|
* the JSPB instance for transitional soy proto support:
|
|
293
895
|
* http://goto/soy-param-migration
|
|
294
|
-
* @param {!proto.
|
|
896
|
+
* @param {!proto.BaseOrganization} msg The msg instance to transform.
|
|
295
897
|
* @return {!Object}
|
|
296
898
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
297
899
|
*/
|
|
298
|
-
proto.
|
|
900
|
+
proto.BaseOrganization.toObject = function(includeInstance, msg) {
|
|
299
901
|
var f, obj = {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
description: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
308
|
-
companiesRefId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
902
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
903
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
904
|
+
costCenterCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
905
|
+
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
906
|
+
organizationLevelReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
907
|
+
workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
908
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
909
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
309
910
|
};
|
|
310
911
|
|
|
311
912
|
if (includeInstance) {
|
|
@@ -319,23 +920,23 @@ companiesRefId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
|
319
920
|
/**
|
|
320
921
|
* Deserializes binary data (in protobuf wire format).
|
|
321
922
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
322
|
-
* @return {!proto.
|
|
923
|
+
* @return {!proto.BaseOrganization}
|
|
323
924
|
*/
|
|
324
|
-
proto.
|
|
925
|
+
proto.BaseOrganization.deserializeBinary = function(bytes) {
|
|
325
926
|
var reader = new jspb.BinaryReader(bytes);
|
|
326
|
-
var msg = new proto.
|
|
327
|
-
return proto.
|
|
927
|
+
var msg = new proto.BaseOrganization;
|
|
928
|
+
return proto.BaseOrganization.deserializeBinaryFromReader(msg, reader);
|
|
328
929
|
};
|
|
329
930
|
|
|
330
931
|
|
|
331
932
|
/**
|
|
332
933
|
* Deserializes binary data (in protobuf wire format) from the
|
|
333
934
|
* given reader into the given message object.
|
|
334
|
-
* @param {!proto.
|
|
935
|
+
* @param {!proto.BaseOrganization} msg The message object to deserialize into.
|
|
335
936
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
336
|
-
* @return {!proto.
|
|
937
|
+
* @return {!proto.BaseOrganization}
|
|
337
938
|
*/
|
|
338
|
-
proto.
|
|
939
|
+
proto.BaseOrganization.deserializeBinaryFromReader = function(msg, reader) {
|
|
339
940
|
while (reader.nextField()) {
|
|
340
941
|
if (reader.isEndGroup()) {
|
|
341
942
|
break;
|
|
@@ -343,41 +944,37 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
343
944
|
var field = reader.getFieldNumber();
|
|
344
945
|
switch (field) {
|
|
345
946
|
case 1:
|
|
346
|
-
var value = /** @type {
|
|
347
|
-
msg.
|
|
947
|
+
var value = /** @type {string} */ (reader.readString());
|
|
948
|
+
msg.setCode(value);
|
|
348
949
|
break;
|
|
349
950
|
case 2:
|
|
350
951
|
var value = /** @type {string} */ (reader.readString());
|
|
351
|
-
msg.
|
|
952
|
+
msg.setName(value);
|
|
352
953
|
break;
|
|
353
954
|
case 3:
|
|
354
955
|
var value = /** @type {string} */ (reader.readString());
|
|
355
|
-
msg.
|
|
956
|
+
msg.setCostCenterCode(value);
|
|
356
957
|
break;
|
|
357
958
|
case 4:
|
|
358
959
|
var value = /** @type {string} */ (reader.readString());
|
|
359
|
-
msg.
|
|
960
|
+
msg.setParentReferencesId(value);
|
|
360
961
|
break;
|
|
361
962
|
case 5:
|
|
362
|
-
var value = /** @type {
|
|
363
|
-
msg.
|
|
963
|
+
var value = /** @type {string} */ (reader.readString());
|
|
964
|
+
msg.setOrganizationLevelReferencesId(value);
|
|
364
965
|
break;
|
|
365
966
|
case 6:
|
|
366
|
-
var value = /** @type {
|
|
367
|
-
msg.
|
|
967
|
+
var value = /** @type {string} */ (reader.readString());
|
|
968
|
+
msg.setWorkLocationReferencesId(value);
|
|
368
969
|
break;
|
|
369
970
|
case 7:
|
|
370
|
-
var value = /** @type {
|
|
371
|
-
msg.
|
|
971
|
+
var value = /** @type {string} */ (reader.readString());
|
|
972
|
+
msg.setCompaniesReferencesId(value);
|
|
372
973
|
break;
|
|
373
974
|
case 8:
|
|
374
975
|
var value = /** @type {string} */ (reader.readString());
|
|
375
976
|
msg.setDescription(value);
|
|
376
977
|
break;
|
|
377
|
-
case 9:
|
|
378
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
379
|
-
msg.setCompaniesRefId(value);
|
|
380
|
-
break;
|
|
381
978
|
default:
|
|
382
979
|
reader.skipField();
|
|
383
980
|
break;
|
|
@@ -391,9 +988,9 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
391
988
|
* Serializes the message to binary data (in protobuf wire format).
|
|
392
989
|
* @return {!Uint8Array}
|
|
393
990
|
*/
|
|
394
|
-
proto.
|
|
991
|
+
proto.BaseOrganization.prototype.serializeBinary = function() {
|
|
395
992
|
var writer = new jspb.BinaryWriter();
|
|
396
|
-
proto.
|
|
993
|
+
proto.BaseOrganization.serializeBinaryToWriter(this, writer);
|
|
397
994
|
return writer.getResultBuffer();
|
|
398
995
|
};
|
|
399
996
|
|
|
@@ -401,57 +998,57 @@ proto.Organization.prototype.serializeBinary = function() {
|
|
|
401
998
|
/**
|
|
402
999
|
* Serializes the given message to binary data (in protobuf wire
|
|
403
1000
|
* format), writing to the given BinaryWriter.
|
|
404
|
-
* @param {!proto.
|
|
1001
|
+
* @param {!proto.BaseOrganization} message
|
|
405
1002
|
* @param {!jspb.BinaryWriter} writer
|
|
406
1003
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
407
1004
|
*/
|
|
408
|
-
proto.
|
|
1005
|
+
proto.BaseOrganization.serializeBinaryToWriter = function(message, writer) {
|
|
409
1006
|
var f = undefined;
|
|
410
|
-
f = message.
|
|
411
|
-
if (f
|
|
412
|
-
writer.
|
|
1007
|
+
f = message.getCode();
|
|
1008
|
+
if (f.length > 0) {
|
|
1009
|
+
writer.writeString(
|
|
413
1010
|
1,
|
|
414
1011
|
f
|
|
415
1012
|
);
|
|
416
1013
|
}
|
|
417
|
-
f = message.
|
|
1014
|
+
f = message.getName();
|
|
418
1015
|
if (f.length > 0) {
|
|
419
1016
|
writer.writeString(
|
|
420
1017
|
2,
|
|
421
1018
|
f
|
|
422
1019
|
);
|
|
423
1020
|
}
|
|
424
|
-
f = message.
|
|
1021
|
+
f = message.getCostCenterCode();
|
|
425
1022
|
if (f.length > 0) {
|
|
426
1023
|
writer.writeString(
|
|
427
1024
|
3,
|
|
428
1025
|
f
|
|
429
1026
|
);
|
|
430
1027
|
}
|
|
431
|
-
f = message.
|
|
1028
|
+
f = message.getParentReferencesId();
|
|
432
1029
|
if (f.length > 0) {
|
|
433
1030
|
writer.writeString(
|
|
434
1031
|
4,
|
|
435
1032
|
f
|
|
436
1033
|
);
|
|
437
1034
|
}
|
|
438
|
-
f = message.
|
|
439
|
-
if (f
|
|
440
|
-
writer.
|
|
1035
|
+
f = message.getOrganizationLevelReferencesId();
|
|
1036
|
+
if (f.length > 0) {
|
|
1037
|
+
writer.writeString(
|
|
441
1038
|
5,
|
|
442
1039
|
f
|
|
443
1040
|
);
|
|
444
1041
|
}
|
|
445
|
-
f = message.
|
|
446
|
-
if (f
|
|
447
|
-
writer.
|
|
1042
|
+
f = message.getWorkLocationReferencesId();
|
|
1043
|
+
if (f.length > 0) {
|
|
1044
|
+
writer.writeString(
|
|
448
1045
|
6,
|
|
449
1046
|
f
|
|
450
1047
|
);
|
|
451
1048
|
}
|
|
452
|
-
f = message.
|
|
453
|
-
if (f
|
|
454
|
-
writer.
|
|
1049
|
+
f = message.getCompaniesReferencesId();
|
|
1050
|
+
if (f.length > 0) {
|
|
1051
|
+
writer.writeString(
|
|
455
1052
|
7,
|
|
456
1053
|
f
|
|
457
1054
|
);
|
|
@@ -463,139 +1060,132 @@ proto.Organization.serializeBinaryToWriter = function(message, writer) {
|
|
|
463
1060
|
f
|
|
464
1061
|
);
|
|
465
1062
|
}
|
|
466
|
-
f = message.getCompaniesRefId();
|
|
467
|
-
if (f !== 0) {
|
|
468
|
-
writer.writeInt64(
|
|
469
|
-
9,
|
|
470
|
-
f
|
|
471
|
-
);
|
|
472
|
-
}
|
|
473
1063
|
};
|
|
474
1064
|
|
|
475
1065
|
|
|
476
1066
|
/**
|
|
477
|
-
* optional
|
|
478
|
-
* @return {
|
|
1067
|
+
* optional string code = 1;
|
|
1068
|
+
* @return {string}
|
|
479
1069
|
*/
|
|
480
|
-
proto.
|
|
481
|
-
return /** @type {
|
|
1070
|
+
proto.BaseOrganization.prototype.getCode = function() {
|
|
1071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
482
1072
|
};
|
|
483
1073
|
|
|
484
1074
|
|
|
485
1075
|
/**
|
|
486
|
-
* @param {
|
|
487
|
-
* @return {!proto.
|
|
1076
|
+
* @param {string} value
|
|
1077
|
+
* @return {!proto.BaseOrganization} returns this
|
|
488
1078
|
*/
|
|
489
|
-
proto.
|
|
490
|
-
return jspb.Message.
|
|
1079
|
+
proto.BaseOrganization.prototype.setCode = function(value) {
|
|
1080
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
491
1081
|
};
|
|
492
1082
|
|
|
493
1083
|
|
|
494
1084
|
/**
|
|
495
|
-
* optional string
|
|
1085
|
+
* optional string name = 2;
|
|
496
1086
|
* @return {string}
|
|
497
1087
|
*/
|
|
498
|
-
proto.
|
|
1088
|
+
proto.BaseOrganization.prototype.getName = function() {
|
|
499
1089
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
500
1090
|
};
|
|
501
1091
|
|
|
502
1092
|
|
|
503
1093
|
/**
|
|
504
1094
|
* @param {string} value
|
|
505
|
-
* @return {!proto.
|
|
1095
|
+
* @return {!proto.BaseOrganization} returns this
|
|
506
1096
|
*/
|
|
507
|
-
proto.
|
|
1097
|
+
proto.BaseOrganization.prototype.setName = function(value) {
|
|
508
1098
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
509
1099
|
};
|
|
510
1100
|
|
|
511
1101
|
|
|
512
1102
|
/**
|
|
513
|
-
* optional string
|
|
1103
|
+
* optional string cost_center_code = 3;
|
|
514
1104
|
* @return {string}
|
|
515
1105
|
*/
|
|
516
|
-
proto.
|
|
1106
|
+
proto.BaseOrganization.prototype.getCostCenterCode = function() {
|
|
517
1107
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
518
1108
|
};
|
|
519
1109
|
|
|
520
1110
|
|
|
521
1111
|
/**
|
|
522
1112
|
* @param {string} value
|
|
523
|
-
* @return {!proto.
|
|
1113
|
+
* @return {!proto.BaseOrganization} returns this
|
|
524
1114
|
*/
|
|
525
|
-
proto.
|
|
1115
|
+
proto.BaseOrganization.prototype.setCostCenterCode = function(value) {
|
|
526
1116
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
527
1117
|
};
|
|
528
1118
|
|
|
529
1119
|
|
|
530
1120
|
/**
|
|
531
|
-
* optional string
|
|
1121
|
+
* optional string parent_references_id = 4;
|
|
532
1122
|
* @return {string}
|
|
533
1123
|
*/
|
|
534
|
-
proto.
|
|
1124
|
+
proto.BaseOrganization.prototype.getParentReferencesId = function() {
|
|
535
1125
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
536
1126
|
};
|
|
537
1127
|
|
|
538
1128
|
|
|
539
1129
|
/**
|
|
540
1130
|
* @param {string} value
|
|
541
|
-
* @return {!proto.
|
|
1131
|
+
* @return {!proto.BaseOrganization} returns this
|
|
542
1132
|
*/
|
|
543
|
-
proto.
|
|
1133
|
+
proto.BaseOrganization.prototype.setParentReferencesId = function(value) {
|
|
544
1134
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
545
1135
|
};
|
|
546
1136
|
|
|
547
1137
|
|
|
548
1138
|
/**
|
|
549
|
-
* optional
|
|
550
|
-
* @return {
|
|
1139
|
+
* optional string organization_level_references_id = 5;
|
|
1140
|
+
* @return {string}
|
|
551
1141
|
*/
|
|
552
|
-
proto.
|
|
553
|
-
return /** @type {
|
|
1142
|
+
proto.BaseOrganization.prototype.getOrganizationLevelReferencesId = function() {
|
|
1143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
554
1144
|
};
|
|
555
1145
|
|
|
556
1146
|
|
|
557
1147
|
/**
|
|
558
|
-
* @param {
|
|
559
|
-
* @return {!proto.
|
|
1148
|
+
* @param {string} value
|
|
1149
|
+
* @return {!proto.BaseOrganization} returns this
|
|
560
1150
|
*/
|
|
561
|
-
proto.
|
|
562
|
-
return jspb.Message.
|
|
1151
|
+
proto.BaseOrganization.prototype.setOrganizationLevelReferencesId = function(value) {
|
|
1152
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
563
1153
|
};
|
|
564
1154
|
|
|
565
1155
|
|
|
566
1156
|
/**
|
|
567
|
-
* optional
|
|
568
|
-
* @return {
|
|
1157
|
+
* optional string work_location_references_id = 6;
|
|
1158
|
+
* @return {string}
|
|
569
1159
|
*/
|
|
570
|
-
proto.
|
|
571
|
-
return /** @type {
|
|
1160
|
+
proto.BaseOrganization.prototype.getWorkLocationReferencesId = function() {
|
|
1161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
572
1162
|
};
|
|
573
1163
|
|
|
574
1164
|
|
|
575
1165
|
/**
|
|
576
|
-
* @param {
|
|
577
|
-
* @return {!proto.
|
|
1166
|
+
* @param {string} value
|
|
1167
|
+
* @return {!proto.BaseOrganization} returns this
|
|
578
1168
|
*/
|
|
579
|
-
proto.
|
|
580
|
-
return jspb.Message.
|
|
1169
|
+
proto.BaseOrganization.prototype.setWorkLocationReferencesId = function(value) {
|
|
1170
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
581
1171
|
};
|
|
582
1172
|
|
|
583
1173
|
|
|
584
1174
|
/**
|
|
585
|
-
* optional
|
|
586
|
-
* @return {
|
|
1175
|
+
* optional string companies_references_id = 7;
|
|
1176
|
+
* @return {string}
|
|
587
1177
|
*/
|
|
588
|
-
proto.
|
|
589
|
-
return /** @type {
|
|
1178
|
+
proto.BaseOrganization.prototype.getCompaniesReferencesId = function() {
|
|
1179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
590
1180
|
};
|
|
591
1181
|
|
|
592
1182
|
|
|
593
1183
|
/**
|
|
594
|
-
* @param {
|
|
595
|
-
* @return {!proto.
|
|
1184
|
+
* @param {string} value
|
|
1185
|
+
* @return {!proto.BaseOrganization} returns this
|
|
596
1186
|
*/
|
|
597
|
-
proto.
|
|
598
|
-
return jspb.Message.
|
|
1187
|
+
proto.BaseOrganization.prototype.setCompaniesReferencesId = function(value) {
|
|
1188
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
599
1189
|
};
|
|
600
1190
|
|
|
601
1191
|
|
|
@@ -603,38 +1193,20 @@ proto.Organization.prototype.setWorkLocationRefId = function(value) {
|
|
|
603
1193
|
* optional string description = 8;
|
|
604
1194
|
* @return {string}
|
|
605
1195
|
*/
|
|
606
|
-
proto.
|
|
1196
|
+
proto.BaseOrganization.prototype.getDescription = function() {
|
|
607
1197
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
608
1198
|
};
|
|
609
1199
|
|
|
610
1200
|
|
|
611
1201
|
/**
|
|
612
1202
|
* @param {string} value
|
|
613
|
-
* @return {!proto.
|
|
1203
|
+
* @return {!proto.BaseOrganization} returns this
|
|
614
1204
|
*/
|
|
615
|
-
proto.
|
|
1205
|
+
proto.BaseOrganization.prototype.setDescription = function(value) {
|
|
616
1206
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
617
1207
|
};
|
|
618
1208
|
|
|
619
1209
|
|
|
620
|
-
/**
|
|
621
|
-
* optional int64 companies_ref_id = 9;
|
|
622
|
-
* @return {number}
|
|
623
|
-
*/
|
|
624
|
-
proto.Organization.prototype.getCompaniesRefId = function() {
|
|
625
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
626
|
-
};
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* @param {number} value
|
|
631
|
-
* @return {!proto.Organization} returns this
|
|
632
|
-
*/
|
|
633
|
-
proto.Organization.prototype.setCompaniesRefId = function(value) {
|
|
634
|
-
return jspb.Message.setProto3IntField(this, 9, value);
|
|
635
|
-
};
|
|
636
|
-
|
|
637
|
-
|
|
638
1210
|
|
|
639
1211
|
|
|
640
1212
|
|
|
@@ -667,7 +1239,7 @@ proto.OrganizationGetByIdRequest.prototype.toObject = function(opt_includeInstan
|
|
|
667
1239
|
*/
|
|
668
1240
|
proto.OrganizationGetByIdRequest.toObject = function(includeInstance, msg) {
|
|
669
1241
|
var f, obj = {
|
|
670
|
-
|
|
1242
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
671
1243
|
};
|
|
672
1244
|
|
|
673
1245
|
if (includeInstance) {
|
|
@@ -705,8 +1277,8 @@ proto.OrganizationGetByIdRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
705
1277
|
var field = reader.getFieldNumber();
|
|
706
1278
|
switch (field) {
|
|
707
1279
|
case 1:
|
|
708
|
-
var value = /** @type {
|
|
709
|
-
msg.
|
|
1280
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1281
|
+
msg.setReferencesId(value);
|
|
710
1282
|
break;
|
|
711
1283
|
default:
|
|
712
1284
|
reader.skipField();
|
|
@@ -737,9 +1309,9 @@ proto.OrganizationGetByIdRequest.prototype.serializeBinary = function() {
|
|
|
737
1309
|
*/
|
|
738
1310
|
proto.OrganizationGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
739
1311
|
var f = undefined;
|
|
740
|
-
f = message.
|
|
741
|
-
if (f
|
|
742
|
-
writer.
|
|
1312
|
+
f = message.getReferencesId();
|
|
1313
|
+
if (f.length > 0) {
|
|
1314
|
+
writer.writeString(
|
|
743
1315
|
1,
|
|
744
1316
|
f
|
|
745
1317
|
);
|
|
@@ -748,20 +1320,20 @@ proto.OrganizationGetByIdRequest.serializeBinaryToWriter = function(message, wri
|
|
|
748
1320
|
|
|
749
1321
|
|
|
750
1322
|
/**
|
|
751
|
-
* optional
|
|
752
|
-
* @return {
|
|
1323
|
+
* optional string references_id = 1;
|
|
1324
|
+
* @return {string}
|
|
753
1325
|
*/
|
|
754
|
-
proto.OrganizationGetByIdRequest.prototype.
|
|
755
|
-
return /** @type {
|
|
1326
|
+
proto.OrganizationGetByIdRequest.prototype.getReferencesId = function() {
|
|
1327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
756
1328
|
};
|
|
757
1329
|
|
|
758
1330
|
|
|
759
1331
|
/**
|
|
760
|
-
* @param {
|
|
1332
|
+
* @param {string} value
|
|
761
1333
|
* @return {!proto.OrganizationGetByIdRequest} returns this
|
|
762
1334
|
*/
|
|
763
|
-
proto.OrganizationGetByIdRequest.prototype.
|
|
764
|
-
return jspb.Message.
|
|
1335
|
+
proto.OrganizationGetByIdRequest.prototype.setReferencesId = function(value) {
|
|
1336
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
765
1337
|
};
|
|
766
1338
|
|
|
767
1339
|
|
|
@@ -797,7 +1369,7 @@ proto.CreateOrganizationRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
797
1369
|
*/
|
|
798
1370
|
proto.CreateOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
799
1371
|
var f, obj = {
|
|
800
|
-
organization: (f = msg.getOrganization()) && proto.
|
|
1372
|
+
organization: (f = msg.getOrganization()) && proto.BaseOrganization.toObject(includeInstance, f)
|
|
801
1373
|
};
|
|
802
1374
|
|
|
803
1375
|
if (includeInstance) {
|
|
@@ -835,8 +1407,8 @@ proto.CreateOrganizationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
835
1407
|
var field = reader.getFieldNumber();
|
|
836
1408
|
switch (field) {
|
|
837
1409
|
case 1:
|
|
838
|
-
var value = new proto.
|
|
839
|
-
reader.readMessage(value,proto.
|
|
1410
|
+
var value = new proto.BaseOrganization;
|
|
1411
|
+
reader.readMessage(value,proto.BaseOrganization.deserializeBinaryFromReader);
|
|
840
1412
|
msg.setOrganization(value);
|
|
841
1413
|
break;
|
|
842
1414
|
default:
|
|
@@ -873,24 +1445,24 @@ proto.CreateOrganizationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
873
1445
|
writer.writeMessage(
|
|
874
1446
|
1,
|
|
875
1447
|
f,
|
|
876
|
-
proto.
|
|
1448
|
+
proto.BaseOrganization.serializeBinaryToWriter
|
|
877
1449
|
);
|
|
878
1450
|
}
|
|
879
1451
|
};
|
|
880
1452
|
|
|
881
1453
|
|
|
882
1454
|
/**
|
|
883
|
-
* optional
|
|
884
|
-
* @return {?proto.
|
|
1455
|
+
* optional BaseOrganization organization = 1;
|
|
1456
|
+
* @return {?proto.BaseOrganization}
|
|
885
1457
|
*/
|
|
886
1458
|
proto.CreateOrganizationRequest.prototype.getOrganization = function() {
|
|
887
|
-
return /** @type{?proto.
|
|
888
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1459
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
1460
|
+
jspb.Message.getWrapperField(this, proto.BaseOrganization, 1));
|
|
889
1461
|
};
|
|
890
1462
|
|
|
891
1463
|
|
|
892
1464
|
/**
|
|
893
|
-
* @param {?proto.
|
|
1465
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
894
1466
|
* @return {!proto.CreateOrganizationRequest} returns this
|
|
895
1467
|
*/
|
|
896
1468
|
proto.CreateOrganizationRequest.prototype.setOrganization = function(value) {
|
|
@@ -948,8 +1520,8 @@ proto.UpdateOrganizationRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
948
1520
|
*/
|
|
949
1521
|
proto.UpdateOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
950
1522
|
var f, obj = {
|
|
951
|
-
|
|
952
|
-
organization: (f = msg.getOrganization()) && proto.
|
|
1523
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1524
|
+
organization: (f = msg.getOrganization()) && proto.BaseOrganization.toObject(includeInstance, f)
|
|
953
1525
|
};
|
|
954
1526
|
|
|
955
1527
|
if (includeInstance) {
|
|
@@ -987,12 +1559,12 @@ proto.UpdateOrganizationRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
987
1559
|
var field = reader.getFieldNumber();
|
|
988
1560
|
switch (field) {
|
|
989
1561
|
case 1:
|
|
990
|
-
var value = /** @type {
|
|
991
|
-
msg.
|
|
1562
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1563
|
+
msg.setReferencesId(value);
|
|
992
1564
|
break;
|
|
993
1565
|
case 2:
|
|
994
|
-
var value = new proto.
|
|
995
|
-
reader.readMessage(value,proto.
|
|
1566
|
+
var value = new proto.BaseOrganization;
|
|
1567
|
+
reader.readMessage(value,proto.BaseOrganization.deserializeBinaryFromReader);
|
|
996
1568
|
msg.setOrganization(value);
|
|
997
1569
|
break;
|
|
998
1570
|
default:
|
|
@@ -1024,9 +1596,9 @@ proto.UpdateOrganizationRequest.prototype.serializeBinary = function() {
|
|
|
1024
1596
|
*/
|
|
1025
1597
|
proto.UpdateOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1026
1598
|
var f = undefined;
|
|
1027
|
-
f = message.
|
|
1028
|
-
if (f
|
|
1029
|
-
writer.
|
|
1599
|
+
f = message.getReferencesId();
|
|
1600
|
+
if (f.length > 0) {
|
|
1601
|
+
writer.writeString(
|
|
1030
1602
|
1,
|
|
1031
1603
|
f
|
|
1032
1604
|
);
|
|
@@ -1036,42 +1608,42 @@ proto.UpdateOrganizationRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1036
1608
|
writer.writeMessage(
|
|
1037
1609
|
2,
|
|
1038
1610
|
f,
|
|
1039
|
-
proto.
|
|
1611
|
+
proto.BaseOrganization.serializeBinaryToWriter
|
|
1040
1612
|
);
|
|
1041
1613
|
}
|
|
1042
1614
|
};
|
|
1043
1615
|
|
|
1044
1616
|
|
|
1045
1617
|
/**
|
|
1046
|
-
* optional
|
|
1047
|
-
* @return {
|
|
1618
|
+
* optional string references_id = 1;
|
|
1619
|
+
* @return {string}
|
|
1048
1620
|
*/
|
|
1049
|
-
proto.UpdateOrganizationRequest.prototype.
|
|
1050
|
-
return /** @type {
|
|
1621
|
+
proto.UpdateOrganizationRequest.prototype.getReferencesId = function() {
|
|
1622
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1051
1623
|
};
|
|
1052
1624
|
|
|
1053
1625
|
|
|
1054
1626
|
/**
|
|
1055
|
-
* @param {
|
|
1627
|
+
* @param {string} value
|
|
1056
1628
|
* @return {!proto.UpdateOrganizationRequest} returns this
|
|
1057
1629
|
*/
|
|
1058
|
-
proto.UpdateOrganizationRequest.prototype.
|
|
1059
|
-
return jspb.Message.
|
|
1630
|
+
proto.UpdateOrganizationRequest.prototype.setReferencesId = function(value) {
|
|
1631
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1060
1632
|
};
|
|
1061
1633
|
|
|
1062
1634
|
|
|
1063
1635
|
/**
|
|
1064
|
-
* optional
|
|
1065
|
-
* @return {?proto.
|
|
1636
|
+
* optional BaseOrganization organization = 2;
|
|
1637
|
+
* @return {?proto.BaseOrganization}
|
|
1066
1638
|
*/
|
|
1067
1639
|
proto.UpdateOrganizationRequest.prototype.getOrganization = function() {
|
|
1068
|
-
return /** @type{?proto.
|
|
1069
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1640
|
+
return /** @type{?proto.BaseOrganization} */ (
|
|
1641
|
+
jspb.Message.getWrapperField(this, proto.BaseOrganization, 2));
|
|
1070
1642
|
};
|
|
1071
1643
|
|
|
1072
1644
|
|
|
1073
1645
|
/**
|
|
1074
|
-
* @param {?proto.
|
|
1646
|
+
* @param {?proto.BaseOrganization|undefined} value
|
|
1075
1647
|
* @return {!proto.UpdateOrganizationRequest} returns this
|
|
1076
1648
|
*/
|
|
1077
1649
|
proto.UpdateOrganizationRequest.prototype.setOrganization = function(value) {
|