@aldiokta/protocgen 1.0.7 → 1.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -905,7 +905,7 @@ proto.Qualification.prototype.setRetirementAge = function(value) {
905
905
  * @private {!Array<number>}
906
906
  * @const
907
907
  */
908
- proto.JobPosition.repeatedFields_ = [10];
908
+ proto.JobPosition.repeatedFields_ = [11];
909
909
 
910
910
 
911
911
 
@@ -938,16 +938,17 @@ proto.JobPosition.prototype.toObject = function(opt_includeInstance) {
938
938
  */
939
939
  proto.JobPosition.toObject = function(includeInstance, msg) {
940
940
  var f, obj = {
941
- code: jspb.Message.getFieldWithDefault(msg, 1, ""),
942
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
943
- costCenterCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
944
- parentRefId: jspb.Message.getFieldWithDefault(msg, 4, 0),
945
- organizationRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
946
- workLocationRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
947
- description: jspb.Message.getFieldWithDefault(msg, 7, ""),
948
- companiesRefId: jspb.Message.getFieldWithDefault(msg, 8, 0),
949
- roleAccountRefId: jspb.Message.getFieldWithDefault(msg, 9, 0),
950
- keyResponsibilitiesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
941
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
942
+ code: jspb.Message.getFieldWithDefault(msg, 2, ""),
943
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
944
+ costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
945
+ parentRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
946
+ organizationRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
947
+ workLocationRefId: jspb.Message.getFieldWithDefault(msg, 7, 0),
948
+ description: jspb.Message.getFieldWithDefault(msg, 8, ""),
949
+ companiesRefId: jspb.Message.getFieldWithDefault(msg, 9, 0),
950
+ roleAccountRefId: jspb.Message.getFieldWithDefault(msg, 10, 0),
951
+ keyResponsibilitiesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
951
952
  };
952
953
 
953
954
  if (includeInstance) {
@@ -985,42 +986,46 @@ proto.JobPosition.deserializeBinaryFromReader = function(msg, reader) {
985
986
  var field = reader.getFieldNumber();
986
987
  switch (field) {
987
988
  case 1:
989
+ var value = /** @type {number} */ (reader.readInt64());
990
+ msg.setId(value);
991
+ break;
992
+ case 2:
988
993
  var value = /** @type {string} */ (reader.readString());
989
994
  msg.setCode(value);
990
995
  break;
991
- case 2:
996
+ case 3:
992
997
  var value = /** @type {string} */ (reader.readString());
993
998
  msg.setName(value);
994
999
  break;
995
- case 3:
1000
+ case 4:
996
1001
  var value = /** @type {string} */ (reader.readString());
997
1002
  msg.setCostCenterCode(value);
998
1003
  break;
999
- case 4:
1004
+ case 5:
1000
1005
  var value = /** @type {number} */ (reader.readInt64());
1001
1006
  msg.setParentRefId(value);
1002
1007
  break;
1003
- case 5:
1008
+ case 6:
1004
1009
  var value = /** @type {number} */ (reader.readInt64());
1005
1010
  msg.setOrganizationRefId(value);
1006
1011
  break;
1007
- case 6:
1012
+ case 7:
1008
1013
  var value = /** @type {number} */ (reader.readInt64());
1009
1014
  msg.setWorkLocationRefId(value);
1010
1015
  break;
1011
- case 7:
1016
+ case 8:
1012
1017
  var value = /** @type {string} */ (reader.readString());
1013
1018
  msg.setDescription(value);
1014
1019
  break;
1015
- case 8:
1020
+ case 9:
1016
1021
  var value = /** @type {number} */ (reader.readInt64());
1017
1022
  msg.setCompaniesRefId(value);
1018
1023
  break;
1019
- case 9:
1024
+ case 10:
1020
1025
  var value = /** @type {number} */ (reader.readInt64());
1021
1026
  msg.setRoleAccountRefId(value);
1022
1027
  break;
1023
- case 10:
1028
+ case 11:
1024
1029
  var value = /** @type {string} */ (reader.readString());
1025
1030
  msg.addKeyResponsibilities(value);
1026
1031
  break;
@@ -1053,73 +1058,80 @@ proto.JobPosition.prototype.serializeBinary = function() {
1053
1058
  */
1054
1059
  proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
1055
1060
  var f = undefined;
1061
+ f = message.getId();
1062
+ if (f !== 0) {
1063
+ writer.writeInt64(
1064
+ 1,
1065
+ f
1066
+ );
1067
+ }
1056
1068
  f = message.getCode();
1057
1069
  if (f.length > 0) {
1058
1070
  writer.writeString(
1059
- 1,
1071
+ 2,
1060
1072
  f
1061
1073
  );
1062
1074
  }
1063
1075
  f = message.getName();
1064
1076
  if (f.length > 0) {
1065
1077
  writer.writeString(
1066
- 2,
1078
+ 3,
1067
1079
  f
1068
1080
  );
1069
1081
  }
1070
1082
  f = message.getCostCenterCode();
1071
1083
  if (f.length > 0) {
1072
1084
  writer.writeString(
1073
- 3,
1085
+ 4,
1074
1086
  f
1075
1087
  );
1076
1088
  }
1077
1089
  f = message.getParentRefId();
1078
1090
  if (f !== 0) {
1079
1091
  writer.writeInt64(
1080
- 4,
1092
+ 5,
1081
1093
  f
1082
1094
  );
1083
1095
  }
1084
1096
  f = message.getOrganizationRefId();
1085
1097
  if (f !== 0) {
1086
1098
  writer.writeInt64(
1087
- 5,
1099
+ 6,
1088
1100
  f
1089
1101
  );
1090
1102
  }
1091
1103
  f = message.getWorkLocationRefId();
1092
1104
  if (f !== 0) {
1093
1105
  writer.writeInt64(
1094
- 6,
1106
+ 7,
1095
1107
  f
1096
1108
  );
1097
1109
  }
1098
1110
  f = message.getDescription();
1099
1111
  if (f.length > 0) {
1100
1112
  writer.writeString(
1101
- 7,
1113
+ 8,
1102
1114
  f
1103
1115
  );
1104
1116
  }
1105
1117
  f = message.getCompaniesRefId();
1106
1118
  if (f !== 0) {
1107
1119
  writer.writeInt64(
1108
- 8,
1120
+ 9,
1109
1121
  f
1110
1122
  );
1111
1123
  }
1112
1124
  f = message.getRoleAccountRefId();
1113
1125
  if (f !== 0) {
1114
1126
  writer.writeInt64(
1115
- 9,
1127
+ 10,
1116
1128
  f
1117
1129
  );
1118
1130
  }
1119
1131
  f = message.getKeyResponsibilitiesList();
1120
1132
  if (f.length > 0) {
1121
1133
  writer.writeRepeatedString(
1122
- 10,
1134
+ 11,
1123
1135
  f
1124
1136
  );
1125
1137
  }
@@ -1127,11 +1139,29 @@ proto.JobPosition.serializeBinaryToWriter = function(message, writer) {
1127
1139
 
1128
1140
 
1129
1141
  /**
1130
- * optional string code = 1;
1142
+ * optional int64 id = 1;
1143
+ * @return {number}
1144
+ */
1145
+ proto.JobPosition.prototype.getId = function() {
1146
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1147
+ };
1148
+
1149
+
1150
+ /**
1151
+ * @param {number} value
1152
+ * @return {!proto.JobPosition} returns this
1153
+ */
1154
+ proto.JobPosition.prototype.setId = function(value) {
1155
+ return jspb.Message.setProto3IntField(this, 1, value);
1156
+ };
1157
+
1158
+
1159
+ /**
1160
+ * optional string code = 2;
1131
1161
  * @return {string}
1132
1162
  */
1133
1163
  proto.JobPosition.prototype.getCode = function() {
1134
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1135
1165
  };
1136
1166
 
1137
1167
 
@@ -1140,16 +1170,16 @@ proto.JobPosition.prototype.getCode = function() {
1140
1170
  * @return {!proto.JobPosition} returns this
1141
1171
  */
1142
1172
  proto.JobPosition.prototype.setCode = function(value) {
1143
- return jspb.Message.setProto3StringField(this, 1, value);
1173
+ return jspb.Message.setProto3StringField(this, 2, value);
1144
1174
  };
1145
1175
 
1146
1176
 
1147
1177
  /**
1148
- * optional string name = 2;
1178
+ * optional string name = 3;
1149
1179
  * @return {string}
1150
1180
  */
1151
1181
  proto.JobPosition.prototype.getName = function() {
1152
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1182
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1153
1183
  };
1154
1184
 
1155
1185
 
@@ -1158,16 +1188,16 @@ proto.JobPosition.prototype.getName = function() {
1158
1188
  * @return {!proto.JobPosition} returns this
1159
1189
  */
1160
1190
  proto.JobPosition.prototype.setName = function(value) {
1161
- return jspb.Message.setProto3StringField(this, 2, value);
1191
+ return jspb.Message.setProto3StringField(this, 3, value);
1162
1192
  };
1163
1193
 
1164
1194
 
1165
1195
  /**
1166
- * optional string cost_center_code = 3;
1196
+ * optional string cost_center_code = 4;
1167
1197
  * @return {string}
1168
1198
  */
1169
1199
  proto.JobPosition.prototype.getCostCenterCode = function() {
1170
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1200
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1171
1201
  };
1172
1202
 
1173
1203
 
@@ -1176,16 +1206,16 @@ proto.JobPosition.prototype.getCostCenterCode = function() {
1176
1206
  * @return {!proto.JobPosition} returns this
1177
1207
  */
1178
1208
  proto.JobPosition.prototype.setCostCenterCode = function(value) {
1179
- return jspb.Message.setProto3StringField(this, 3, value);
1209
+ return jspb.Message.setProto3StringField(this, 4, value);
1180
1210
  };
1181
1211
 
1182
1212
 
1183
1213
  /**
1184
- * optional int64 parent_ref_id = 4;
1214
+ * optional int64 parent_ref_id = 5;
1185
1215
  * @return {number}
1186
1216
  */
1187
1217
  proto.JobPosition.prototype.getParentRefId = function() {
1188
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1218
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1189
1219
  };
1190
1220
 
1191
1221
 
@@ -1194,16 +1224,16 @@ proto.JobPosition.prototype.getParentRefId = function() {
1194
1224
  * @return {!proto.JobPosition} returns this
1195
1225
  */
1196
1226
  proto.JobPosition.prototype.setParentRefId = function(value) {
1197
- return jspb.Message.setProto3IntField(this, 4, value);
1227
+ return jspb.Message.setProto3IntField(this, 5, value);
1198
1228
  };
1199
1229
 
1200
1230
 
1201
1231
  /**
1202
- * optional int64 organization_ref_id = 5;
1232
+ * optional int64 organization_ref_id = 6;
1203
1233
  * @return {number}
1204
1234
  */
1205
1235
  proto.JobPosition.prototype.getOrganizationRefId = function() {
1206
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1236
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1207
1237
  };
1208
1238
 
1209
1239
 
@@ -1212,16 +1242,16 @@ proto.JobPosition.prototype.getOrganizationRefId = function() {
1212
1242
  * @return {!proto.JobPosition} returns this
1213
1243
  */
1214
1244
  proto.JobPosition.prototype.setOrganizationRefId = function(value) {
1215
- return jspb.Message.setProto3IntField(this, 5, value);
1245
+ return jspb.Message.setProto3IntField(this, 6, value);
1216
1246
  };
1217
1247
 
1218
1248
 
1219
1249
  /**
1220
- * optional int64 work_location_ref_id = 6;
1250
+ * optional int64 work_location_ref_id = 7;
1221
1251
  * @return {number}
1222
1252
  */
1223
1253
  proto.JobPosition.prototype.getWorkLocationRefId = function() {
1224
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1254
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1225
1255
  };
1226
1256
 
1227
1257
 
@@ -1230,16 +1260,16 @@ proto.JobPosition.prototype.getWorkLocationRefId = function() {
1230
1260
  * @return {!proto.JobPosition} returns this
1231
1261
  */
1232
1262
  proto.JobPosition.prototype.setWorkLocationRefId = function(value) {
1233
- return jspb.Message.setProto3IntField(this, 6, value);
1263
+ return jspb.Message.setProto3IntField(this, 7, value);
1234
1264
  };
1235
1265
 
1236
1266
 
1237
1267
  /**
1238
- * optional string description = 7;
1268
+ * optional string description = 8;
1239
1269
  * @return {string}
1240
1270
  */
1241
1271
  proto.JobPosition.prototype.getDescription = function() {
1242
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1272
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1243
1273
  };
1244
1274
 
1245
1275
 
@@ -1248,16 +1278,16 @@ proto.JobPosition.prototype.getDescription = function() {
1248
1278
  * @return {!proto.JobPosition} returns this
1249
1279
  */
1250
1280
  proto.JobPosition.prototype.setDescription = function(value) {
1251
- return jspb.Message.setProto3StringField(this, 7, value);
1281
+ return jspb.Message.setProto3StringField(this, 8, value);
1252
1282
  };
1253
1283
 
1254
1284
 
1255
1285
  /**
1256
- * optional int64 companies_ref_id = 8;
1286
+ * optional int64 companies_ref_id = 9;
1257
1287
  * @return {number}
1258
1288
  */
1259
1289
  proto.JobPosition.prototype.getCompaniesRefId = function() {
1260
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
1290
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1261
1291
  };
1262
1292
 
1263
1293
 
@@ -1266,16 +1296,16 @@ proto.JobPosition.prototype.getCompaniesRefId = function() {
1266
1296
  * @return {!proto.JobPosition} returns this
1267
1297
  */
1268
1298
  proto.JobPosition.prototype.setCompaniesRefId = function(value) {
1269
- return jspb.Message.setProto3IntField(this, 8, value);
1299
+ return jspb.Message.setProto3IntField(this, 9, value);
1270
1300
  };
1271
1301
 
1272
1302
 
1273
1303
  /**
1274
- * optional int64 role_account_ref_id = 9;
1304
+ * optional int64 role_account_ref_id = 10;
1275
1305
  * @return {number}
1276
1306
  */
1277
1307
  proto.JobPosition.prototype.getRoleAccountRefId = function() {
1278
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1308
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
1279
1309
  };
1280
1310
 
1281
1311
 
@@ -1284,16 +1314,16 @@ proto.JobPosition.prototype.getRoleAccountRefId = function() {
1284
1314
  * @return {!proto.JobPosition} returns this
1285
1315
  */
1286
1316
  proto.JobPosition.prototype.setRoleAccountRefId = function(value) {
1287
- return jspb.Message.setProto3IntField(this, 9, value);
1317
+ return jspb.Message.setProto3IntField(this, 10, value);
1288
1318
  };
1289
1319
 
1290
1320
 
1291
1321
  /**
1292
- * repeated string key_responsibilities = 10;
1322
+ * repeated string key_responsibilities = 11;
1293
1323
  * @return {!Array<string>}
1294
1324
  */
1295
1325
  proto.JobPosition.prototype.getKeyResponsibilitiesList = function() {
1296
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
1326
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
1297
1327
  };
1298
1328
 
1299
1329
 
@@ -1302,7 +1332,7 @@ proto.JobPosition.prototype.getKeyResponsibilitiesList = function() {
1302
1332
  * @return {!proto.JobPosition} returns this
1303
1333
  */
1304
1334
  proto.JobPosition.prototype.setKeyResponsibilitiesList = function(value) {
1305
- return jspb.Message.setField(this, 10, value || []);
1335
+ return jspb.Message.setField(this, 11, value || []);
1306
1336
  };
1307
1337
 
1308
1338
 
@@ -1312,7 +1342,7 @@ proto.JobPosition.prototype.setKeyResponsibilitiesList = function(value) {
1312
1342
  * @return {!proto.JobPosition} returns this
1313
1343
  */
1314
1344
  proto.JobPosition.prototype.addKeyResponsibilities = function(value, opt_index) {
1315
- return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
1345
+ return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
1316
1346
  };
1317
1347
 
1318
1348
 
@@ -297,13 +297,14 @@ proto.Organization.prototype.toObject = function(opt_includeInstance) {
297
297
  */
298
298
  proto.Organization.toObject = function(includeInstance, msg) {
299
299
  var f, obj = {
300
- code: jspb.Message.getFieldWithDefault(msg, 1, ""),
301
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
302
- costCenterCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
303
- parentRefId: jspb.Message.getFieldWithDefault(msg, 4, 0),
304
- organizationLevelRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
305
- workLocationRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
306
- description: jspb.Message.getFieldWithDefault(msg, 7, "")
300
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
301
+ code: jspb.Message.getFieldWithDefault(msg, 2, ""),
302
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
303
+ costCenterCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
304
+ parentRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
305
+ organizationLevelRefId: jspb.Message.getFieldWithDefault(msg, 6, 0),
306
+ workLocationRefId: jspb.Message.getFieldWithDefault(msg, 7, 0),
307
+ description: jspb.Message.getFieldWithDefault(msg, 8, "")
307
308
  };
308
309
 
309
310
  if (includeInstance) {
@@ -341,30 +342,34 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
341
342
  var field = reader.getFieldNumber();
342
343
  switch (field) {
343
344
  case 1:
345
+ var value = /** @type {number} */ (reader.readInt64());
346
+ msg.setId(value);
347
+ break;
348
+ case 2:
344
349
  var value = /** @type {string} */ (reader.readString());
345
350
  msg.setCode(value);
346
351
  break;
347
- case 2:
352
+ case 3:
348
353
  var value = /** @type {string} */ (reader.readString());
349
354
  msg.setName(value);
350
355
  break;
351
- case 3:
356
+ case 4:
352
357
  var value = /** @type {string} */ (reader.readString());
353
358
  msg.setCostCenterCode(value);
354
359
  break;
355
- case 4:
360
+ case 5:
356
361
  var value = /** @type {number} */ (reader.readInt64());
357
362
  msg.setParentRefId(value);
358
363
  break;
359
- case 5:
364
+ case 6:
360
365
  var value = /** @type {number} */ (reader.readInt64());
361
366
  msg.setOrganizationLevelRefId(value);
362
367
  break;
363
- case 6:
368
+ case 7:
364
369
  var value = /** @type {number} */ (reader.readInt64());
365
370
  msg.setWorkLocationRefId(value);
366
371
  break;
367
- case 7:
372
+ case 8:
368
373
  var value = /** @type {string} */ (reader.readString());
369
374
  msg.setDescription(value);
370
375
  break;
@@ -397,52 +402,59 @@ proto.Organization.prototype.serializeBinary = function() {
397
402
  */
398
403
  proto.Organization.serializeBinaryToWriter = function(message, writer) {
399
404
  var f = undefined;
405
+ f = message.getId();
406
+ if (f !== 0) {
407
+ writer.writeInt64(
408
+ 1,
409
+ f
410
+ );
411
+ }
400
412
  f = message.getCode();
401
413
  if (f.length > 0) {
402
414
  writer.writeString(
403
- 1,
415
+ 2,
404
416
  f
405
417
  );
406
418
  }
407
419
  f = message.getName();
408
420
  if (f.length > 0) {
409
421
  writer.writeString(
410
- 2,
422
+ 3,
411
423
  f
412
424
  );
413
425
  }
414
426
  f = message.getCostCenterCode();
415
427
  if (f.length > 0) {
416
428
  writer.writeString(
417
- 3,
429
+ 4,
418
430
  f
419
431
  );
420
432
  }
421
433
  f = message.getParentRefId();
422
434
  if (f !== 0) {
423
435
  writer.writeInt64(
424
- 4,
436
+ 5,
425
437
  f
426
438
  );
427
439
  }
428
440
  f = message.getOrganizationLevelRefId();
429
441
  if (f !== 0) {
430
442
  writer.writeInt64(
431
- 5,
443
+ 6,
432
444
  f
433
445
  );
434
446
  }
435
447
  f = message.getWorkLocationRefId();
436
448
  if (f !== 0) {
437
449
  writer.writeInt64(
438
- 6,
450
+ 7,
439
451
  f
440
452
  );
441
453
  }
442
454
  f = message.getDescription();
443
455
  if (f.length > 0) {
444
456
  writer.writeString(
445
- 7,
457
+ 8,
446
458
  f
447
459
  );
448
460
  }
@@ -450,11 +462,29 @@ proto.Organization.serializeBinaryToWriter = function(message, writer) {
450
462
 
451
463
 
452
464
  /**
453
- * optional string code = 1;
465
+ * optional int64 id = 1;
466
+ * @return {number}
467
+ */
468
+ proto.Organization.prototype.getId = function() {
469
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
470
+ };
471
+
472
+
473
+ /**
474
+ * @param {number} value
475
+ * @return {!proto.Organization} returns this
476
+ */
477
+ proto.Organization.prototype.setId = function(value) {
478
+ return jspb.Message.setProto3IntField(this, 1, value);
479
+ };
480
+
481
+
482
+ /**
483
+ * optional string code = 2;
454
484
  * @return {string}
455
485
  */
456
486
  proto.Organization.prototype.getCode = function() {
457
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
458
488
  };
459
489
 
460
490
 
@@ -463,16 +493,16 @@ proto.Organization.prototype.getCode = function() {
463
493
  * @return {!proto.Organization} returns this
464
494
  */
465
495
  proto.Organization.prototype.setCode = function(value) {
466
- return jspb.Message.setProto3StringField(this, 1, value);
496
+ return jspb.Message.setProto3StringField(this, 2, value);
467
497
  };
468
498
 
469
499
 
470
500
  /**
471
- * optional string name = 2;
501
+ * optional string name = 3;
472
502
  * @return {string}
473
503
  */
474
504
  proto.Organization.prototype.getName = function() {
475
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
505
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
476
506
  };
477
507
 
478
508
 
@@ -481,16 +511,16 @@ proto.Organization.prototype.getName = function() {
481
511
  * @return {!proto.Organization} returns this
482
512
  */
483
513
  proto.Organization.prototype.setName = function(value) {
484
- return jspb.Message.setProto3StringField(this, 2, value);
514
+ return jspb.Message.setProto3StringField(this, 3, value);
485
515
  };
486
516
 
487
517
 
488
518
  /**
489
- * optional string cost_center_code = 3;
519
+ * optional string cost_center_code = 4;
490
520
  * @return {string}
491
521
  */
492
522
  proto.Organization.prototype.getCostCenterCode = function() {
493
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
523
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
494
524
  };
495
525
 
496
526
 
@@ -499,16 +529,16 @@ proto.Organization.prototype.getCostCenterCode = function() {
499
529
  * @return {!proto.Organization} returns this
500
530
  */
501
531
  proto.Organization.prototype.setCostCenterCode = function(value) {
502
- return jspb.Message.setProto3StringField(this, 3, value);
532
+ return jspb.Message.setProto3StringField(this, 4, value);
503
533
  };
504
534
 
505
535
 
506
536
  /**
507
- * optional int64 parent_ref_id = 4;
537
+ * optional int64 parent_ref_id = 5;
508
538
  * @return {number}
509
539
  */
510
540
  proto.Organization.prototype.getParentRefId = function() {
511
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
541
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
512
542
  };
513
543
 
514
544
 
@@ -517,16 +547,16 @@ proto.Organization.prototype.getParentRefId = function() {
517
547
  * @return {!proto.Organization} returns this
518
548
  */
519
549
  proto.Organization.prototype.setParentRefId = function(value) {
520
- return jspb.Message.setProto3IntField(this, 4, value);
550
+ return jspb.Message.setProto3IntField(this, 5, value);
521
551
  };
522
552
 
523
553
 
524
554
  /**
525
- * optional int64 organization_level_ref_id = 5;
555
+ * optional int64 organization_level_ref_id = 6;
526
556
  * @return {number}
527
557
  */
528
558
  proto.Organization.prototype.getOrganizationLevelRefId = function() {
529
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
559
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
530
560
  };
531
561
 
532
562
 
@@ -535,16 +565,16 @@ proto.Organization.prototype.getOrganizationLevelRefId = function() {
535
565
  * @return {!proto.Organization} returns this
536
566
  */
537
567
  proto.Organization.prototype.setOrganizationLevelRefId = function(value) {
538
- return jspb.Message.setProto3IntField(this, 5, value);
568
+ return jspb.Message.setProto3IntField(this, 6, value);
539
569
  };
540
570
 
541
571
 
542
572
  /**
543
- * optional int64 work_location_ref_id = 6;
573
+ * optional int64 work_location_ref_id = 7;
544
574
  * @return {number}
545
575
  */
546
576
  proto.Organization.prototype.getWorkLocationRefId = function() {
547
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
577
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
548
578
  };
549
579
 
550
580
 
@@ -553,16 +583,16 @@ proto.Organization.prototype.getWorkLocationRefId = function() {
553
583
  * @return {!proto.Organization} returns this
554
584
  */
555
585
  proto.Organization.prototype.setWorkLocationRefId = function(value) {
556
- return jspb.Message.setProto3IntField(this, 6, value);
586
+ return jspb.Message.setProto3IntField(this, 7, value);
557
587
  };
558
588
 
559
589
 
560
590
  /**
561
- * optional string description = 7;
591
+ * optional string description = 8;
562
592
  * @return {string}
563
593
  */
564
594
  proto.Organization.prototype.getDescription = function() {
565
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
595
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
566
596
  };
567
597
 
568
598
 
@@ -571,7 +601,7 @@ proto.Organization.prototype.getDescription = function() {
571
601
  * @return {!proto.Organization} returns this
572
602
  */
573
603
  proto.Organization.prototype.setDescription = function(value) {
574
- return jspb.Message.setProto3StringField(this, 7, value);
604
+ return jspb.Message.setProto3StringField(this, 8, value);
575
605
  };
576
606
 
577
607