@fintekkers/ledger-models 0.4.55 → 0.4.57

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.
@@ -32,6 +32,10 @@ goog.object.extend(proto, fintekkers_models_util_local_date_pb);
32
32
  goog.exportSymbol('proto.fintekkers.requests.valuation.BondInput', null, global);
33
33
  goog.exportSymbol('proto.fintekkers.requests.valuation.CurvePoint', null, global);
34
34
  goog.exportSymbol('proto.fintekkers.requests.valuation.FrnInput', null, global);
35
+ goog.exportSymbol('proto.fintekkers.requests.valuation.InflationIndexInput', null, global);
36
+ goog.exportSymbol('proto.fintekkers.requests.valuation.InflationIndexInput.CpiCase', null, global);
37
+ goog.exportSymbol('proto.fintekkers.requests.valuation.MonthlyIndexReading', null, global);
38
+ goog.exportSymbol('proto.fintekkers.requests.valuation.MonthlyIndexReadings', null, global);
35
39
  goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput', null, global);
36
40
  goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput.InputCase', null, global);
37
41
  goog.exportSymbol('proto.fintekkers.requests.valuation.SecurityBasedCurveInput', null, global);
@@ -101,6 +105,69 @@ if (goog.DEBUG && !COMPILED) {
101
105
  */
102
106
  proto.fintekkers.requests.valuation.TipsInput.displayName = 'proto.fintekkers.requests.valuation.TipsInput';
103
107
  }
108
+ /**
109
+ * Generated by JsPbCodeGenerator.
110
+ * @param {Array=} opt_data Optional initial data array, typically from a
111
+ * server response, or constructed directly in Javascript. The array is used
112
+ * in place and becomes part of the constructed object. It is not cloned.
113
+ * If no data is provided, the constructed object will be empty, but still
114
+ * valid.
115
+ * @extends {jspb.Message}
116
+ * @constructor
117
+ */
118
+ proto.fintekkers.requests.valuation.InflationIndexInput = function(opt_data) {
119
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.fintekkers.requests.valuation.InflationIndexInput.oneofGroups_);
120
+ };
121
+ goog.inherits(proto.fintekkers.requests.valuation.InflationIndexInput, jspb.Message);
122
+ if (goog.DEBUG && !COMPILED) {
123
+ /**
124
+ * @public
125
+ * @override
126
+ */
127
+ proto.fintekkers.requests.valuation.InflationIndexInput.displayName = 'proto.fintekkers.requests.valuation.InflationIndexInput';
128
+ }
129
+ /**
130
+ * Generated by JsPbCodeGenerator.
131
+ * @param {Array=} opt_data Optional initial data array, typically from a
132
+ * server response, or constructed directly in Javascript. The array is used
133
+ * in place and becomes part of the constructed object. It is not cloned.
134
+ * If no data is provided, the constructed object will be empty, but still
135
+ * valid.
136
+ * @extends {jspb.Message}
137
+ * @constructor
138
+ */
139
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings = function(opt_data) {
140
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.requests.valuation.MonthlyIndexReadings.repeatedFields_, null);
141
+ };
142
+ goog.inherits(proto.fintekkers.requests.valuation.MonthlyIndexReadings, jspb.Message);
143
+ if (goog.DEBUG && !COMPILED) {
144
+ /**
145
+ * @public
146
+ * @override
147
+ */
148
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.displayName = 'proto.fintekkers.requests.valuation.MonthlyIndexReadings';
149
+ }
150
+ /**
151
+ * Generated by JsPbCodeGenerator.
152
+ * @param {Array=} opt_data Optional initial data array, typically from a
153
+ * server response, or constructed directly in Javascript. The array is used
154
+ * in place and becomes part of the constructed object. It is not cloned.
155
+ * If no data is provided, the constructed object will be empty, but still
156
+ * valid.
157
+ * @extends {jspb.Message}
158
+ * @constructor
159
+ */
160
+ proto.fintekkers.requests.valuation.MonthlyIndexReading = function(opt_data) {
161
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
162
+ };
163
+ goog.inherits(proto.fintekkers.requests.valuation.MonthlyIndexReading, jspb.Message);
164
+ if (goog.DEBUG && !COMPILED) {
165
+ /**
166
+ * @public
167
+ * @override
168
+ */
169
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.displayName = 'proto.fintekkers.requests.valuation.MonthlyIndexReading';
170
+ }
104
171
  /**
105
172
  * Generated by JsPbCodeGenerator.
106
173
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -773,7 +840,8 @@ proto.fintekkers.requests.valuation.TipsInput.toObject = function(includeInstanc
773
840
  var f, obj = {
774
841
  security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
775
842
  cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
776
- currentCpi: (f = msg.getCurrentCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
843
+ currentCpi: (f = msg.getCurrentCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
844
+ cpi: (f = msg.getCpi()) && proto.fintekkers.requests.valuation.InflationIndexInput.toObject(includeInstance, f)
777
845
  };
778
846
 
779
847
  if (includeInstance) {
@@ -825,6 +893,11 @@ proto.fintekkers.requests.valuation.TipsInput.deserializeBinaryFromReader = func
825
893
  reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
826
894
  msg.setCurrentCpi(value);
827
895
  break;
896
+ case 4:
897
+ var value = new proto.fintekkers.requests.valuation.InflationIndexInput;
898
+ reader.readMessage(value,proto.fintekkers.requests.valuation.InflationIndexInput.deserializeBinaryFromReader);
899
+ msg.setCpi(value);
900
+ break;
828
901
  default:
829
902
  reader.skipField();
830
903
  break;
@@ -878,6 +951,14 @@ proto.fintekkers.requests.valuation.TipsInput.serializeBinaryToWriter = function
878
951
  fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
879
952
  );
880
953
  }
954
+ f = message.getCpi();
955
+ if (f != null) {
956
+ writer.writeMessage(
957
+ 4,
958
+ f,
959
+ proto.fintekkers.requests.valuation.InflationIndexInput.serializeBinaryToWriter
960
+ );
961
+ }
881
962
  };
882
963
 
883
964
 
@@ -992,6 +1073,693 @@ proto.fintekkers.requests.valuation.TipsInput.prototype.hasCurrentCpi = function
992
1073
  };
993
1074
 
994
1075
 
1076
+ /**
1077
+ * optional InflationIndexInput cpi = 4;
1078
+ * @return {?proto.fintekkers.requests.valuation.InflationIndexInput}
1079
+ */
1080
+ proto.fintekkers.requests.valuation.TipsInput.prototype.getCpi = function() {
1081
+ return /** @type{?proto.fintekkers.requests.valuation.InflationIndexInput} */ (
1082
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.InflationIndexInput, 4));
1083
+ };
1084
+
1085
+
1086
+ /**
1087
+ * @param {?proto.fintekkers.requests.valuation.InflationIndexInput|undefined} value
1088
+ * @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
1089
+ */
1090
+ proto.fintekkers.requests.valuation.TipsInput.prototype.setCpi = function(value) {
1091
+ return jspb.Message.setWrapperField(this, 4, value);
1092
+ };
1093
+
1094
+
1095
+ /**
1096
+ * Clears the message field making it undefined.
1097
+ * @return {!proto.fintekkers.requests.valuation.TipsInput} returns this
1098
+ */
1099
+ proto.fintekkers.requests.valuation.TipsInput.prototype.clearCpi = function() {
1100
+ return this.setCpi(undefined);
1101
+ };
1102
+
1103
+
1104
+ /**
1105
+ * Returns whether this field is set.
1106
+ * @return {boolean}
1107
+ */
1108
+ proto.fintekkers.requests.valuation.TipsInput.prototype.hasCpi = function() {
1109
+ return jspb.Message.getField(this, 4) != null;
1110
+ };
1111
+
1112
+
1113
+
1114
+ /**
1115
+ * Oneof group definitions for this message. Each group defines the field
1116
+ * numbers belonging to that group. When of these fields' value is set, all
1117
+ * other fields in the group are cleared. During deserialization, if multiple
1118
+ * fields are encountered for a group, only the last value seen will be kept.
1119
+ * @private {!Array<!Array<number>>}
1120
+ * @const
1121
+ */
1122
+ proto.fintekkers.requests.valuation.InflationIndexInput.oneofGroups_ = [[2,3]];
1123
+
1124
+ /**
1125
+ * @enum {number}
1126
+ */
1127
+ proto.fintekkers.requests.valuation.InflationIndexInput.CpiCase = {
1128
+ CPI_NOT_SET: 0,
1129
+ READINGS: 2,
1130
+ REFERENCE_CPI: 3
1131
+ };
1132
+
1133
+ /**
1134
+ * @return {proto.fintekkers.requests.valuation.InflationIndexInput.CpiCase}
1135
+ */
1136
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.getCpiCase = function() {
1137
+ return /** @type {proto.fintekkers.requests.valuation.InflationIndexInput.CpiCase} */(jspb.Message.computeOneofCase(this, proto.fintekkers.requests.valuation.InflationIndexInput.oneofGroups_[0]));
1138
+ };
1139
+
1140
+
1141
+
1142
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1143
+ /**
1144
+ * Creates an object representation of this proto.
1145
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1146
+ * Optional fields that are not set will be set to undefined.
1147
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1148
+ * For the list of reserved names please see:
1149
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1150
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1151
+ * JSPB instance for transitional soy proto support:
1152
+ * http://goto/soy-param-migration
1153
+ * @return {!Object}
1154
+ */
1155
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.toObject = function(opt_includeInstance) {
1156
+ return proto.fintekkers.requests.valuation.InflationIndexInput.toObject(opt_includeInstance, this);
1157
+ };
1158
+
1159
+
1160
+ /**
1161
+ * Static version of the {@see toObject} method.
1162
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1163
+ * the JSPB instance for transitional soy proto support:
1164
+ * http://goto/soy-param-migration
1165
+ * @param {!proto.fintekkers.requests.valuation.InflationIndexInput} msg The msg instance to transform.
1166
+ * @return {!Object}
1167
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1168
+ */
1169
+ proto.fintekkers.requests.valuation.InflationIndexInput.toObject = function(includeInstance, msg) {
1170
+ var f, obj = {
1171
+ index: (f = msg.getIndex()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
1172
+ readings: (f = msg.getReadings()) && proto.fintekkers.requests.valuation.MonthlyIndexReadings.toObject(includeInstance, f),
1173
+ referenceCpi: (f = msg.getReferenceCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
1174
+ };
1175
+
1176
+ if (includeInstance) {
1177
+ obj.$jspbMessageInstance = msg;
1178
+ }
1179
+ return obj;
1180
+ };
1181
+ }
1182
+
1183
+
1184
+ /**
1185
+ * Deserializes binary data (in protobuf wire format).
1186
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1187
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput}
1188
+ */
1189
+ proto.fintekkers.requests.valuation.InflationIndexInput.deserializeBinary = function(bytes) {
1190
+ var reader = new jspb.BinaryReader(bytes);
1191
+ var msg = new proto.fintekkers.requests.valuation.InflationIndexInput;
1192
+ return proto.fintekkers.requests.valuation.InflationIndexInput.deserializeBinaryFromReader(msg, reader);
1193
+ };
1194
+
1195
+
1196
+ /**
1197
+ * Deserializes binary data (in protobuf wire format) from the
1198
+ * given reader into the given message object.
1199
+ * @param {!proto.fintekkers.requests.valuation.InflationIndexInput} msg The message object to deserialize into.
1200
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1201
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput}
1202
+ */
1203
+ proto.fintekkers.requests.valuation.InflationIndexInput.deserializeBinaryFromReader = function(msg, reader) {
1204
+ while (reader.nextField()) {
1205
+ if (reader.isEndGroup()) {
1206
+ break;
1207
+ }
1208
+ var field = reader.getFieldNumber();
1209
+ switch (field) {
1210
+ case 1:
1211
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
1212
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
1213
+ msg.setIndex(value);
1214
+ break;
1215
+ case 2:
1216
+ var value = new proto.fintekkers.requests.valuation.MonthlyIndexReadings;
1217
+ reader.readMessage(value,proto.fintekkers.requests.valuation.MonthlyIndexReadings.deserializeBinaryFromReader);
1218
+ msg.setReadings(value);
1219
+ break;
1220
+ case 3:
1221
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
1222
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
1223
+ msg.setReferenceCpi(value);
1224
+ break;
1225
+ default:
1226
+ reader.skipField();
1227
+ break;
1228
+ }
1229
+ }
1230
+ return msg;
1231
+ };
1232
+
1233
+
1234
+ /**
1235
+ * Serializes the message to binary data (in protobuf wire format).
1236
+ * @return {!Uint8Array}
1237
+ */
1238
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.serializeBinary = function() {
1239
+ var writer = new jspb.BinaryWriter();
1240
+ proto.fintekkers.requests.valuation.InflationIndexInput.serializeBinaryToWriter(this, writer);
1241
+ return writer.getResultBuffer();
1242
+ };
1243
+
1244
+
1245
+ /**
1246
+ * Serializes the given message to binary data (in protobuf wire
1247
+ * format), writing to the given BinaryWriter.
1248
+ * @param {!proto.fintekkers.requests.valuation.InflationIndexInput} message
1249
+ * @param {!jspb.BinaryWriter} writer
1250
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1251
+ */
1252
+ proto.fintekkers.requests.valuation.InflationIndexInput.serializeBinaryToWriter = function(message, writer) {
1253
+ var f = undefined;
1254
+ f = message.getIndex();
1255
+ if (f != null) {
1256
+ writer.writeMessage(
1257
+ 1,
1258
+ f,
1259
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
1260
+ );
1261
+ }
1262
+ f = message.getReadings();
1263
+ if (f != null) {
1264
+ writer.writeMessage(
1265
+ 2,
1266
+ f,
1267
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.serializeBinaryToWriter
1268
+ );
1269
+ }
1270
+ f = message.getReferenceCpi();
1271
+ if (f != null) {
1272
+ writer.writeMessage(
1273
+ 3,
1274
+ f,
1275
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
1276
+ );
1277
+ }
1278
+ };
1279
+
1280
+
1281
+ /**
1282
+ * optional fintekkers.models.security.SecurityProto index = 1;
1283
+ * @return {?proto.fintekkers.models.security.SecurityProto}
1284
+ */
1285
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.getIndex = function() {
1286
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
1287
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
1288
+ };
1289
+
1290
+
1291
+ /**
1292
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
1293
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput} returns this
1294
+ */
1295
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.setIndex = function(value) {
1296
+ return jspb.Message.setWrapperField(this, 1, value);
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * Clears the message field making it undefined.
1302
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput} returns this
1303
+ */
1304
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.clearIndex = function() {
1305
+ return this.setIndex(undefined);
1306
+ };
1307
+
1308
+
1309
+ /**
1310
+ * Returns whether this field is set.
1311
+ * @return {boolean}
1312
+ */
1313
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.hasIndex = function() {
1314
+ return jspb.Message.getField(this, 1) != null;
1315
+ };
1316
+
1317
+
1318
+ /**
1319
+ * optional MonthlyIndexReadings readings = 2;
1320
+ * @return {?proto.fintekkers.requests.valuation.MonthlyIndexReadings}
1321
+ */
1322
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.getReadings = function() {
1323
+ return /** @type{?proto.fintekkers.requests.valuation.MonthlyIndexReadings} */ (
1324
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.MonthlyIndexReadings, 2));
1325
+ };
1326
+
1327
+
1328
+ /**
1329
+ * @param {?proto.fintekkers.requests.valuation.MonthlyIndexReadings|undefined} value
1330
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput} returns this
1331
+ */
1332
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.setReadings = function(value) {
1333
+ return jspb.Message.setOneofWrapperField(this, 2, proto.fintekkers.requests.valuation.InflationIndexInput.oneofGroups_[0], value);
1334
+ };
1335
+
1336
+
1337
+ /**
1338
+ * Clears the message field making it undefined.
1339
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput} returns this
1340
+ */
1341
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.clearReadings = function() {
1342
+ return this.setReadings(undefined);
1343
+ };
1344
+
1345
+
1346
+ /**
1347
+ * Returns whether this field is set.
1348
+ * @return {boolean}
1349
+ */
1350
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.hasReadings = function() {
1351
+ return jspb.Message.getField(this, 2) != null;
1352
+ };
1353
+
1354
+
1355
+ /**
1356
+ * optional fintekkers.models.util.DecimalValueProto reference_cpi = 3;
1357
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
1358
+ */
1359
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.getReferenceCpi = function() {
1360
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1361
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 3));
1362
+ };
1363
+
1364
+
1365
+ /**
1366
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1367
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput} returns this
1368
+ */
1369
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.setReferenceCpi = function(value) {
1370
+ return jspb.Message.setOneofWrapperField(this, 3, proto.fintekkers.requests.valuation.InflationIndexInput.oneofGroups_[0], value);
1371
+ };
1372
+
1373
+
1374
+ /**
1375
+ * Clears the message field making it undefined.
1376
+ * @return {!proto.fintekkers.requests.valuation.InflationIndexInput} returns this
1377
+ */
1378
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.clearReferenceCpi = function() {
1379
+ return this.setReferenceCpi(undefined);
1380
+ };
1381
+
1382
+
1383
+ /**
1384
+ * Returns whether this field is set.
1385
+ * @return {boolean}
1386
+ */
1387
+ proto.fintekkers.requests.valuation.InflationIndexInput.prototype.hasReferenceCpi = function() {
1388
+ return jspb.Message.getField(this, 3) != null;
1389
+ };
1390
+
1391
+
1392
+
1393
+ /**
1394
+ * List of repeated fields within this message type.
1395
+ * @private {!Array<number>}
1396
+ * @const
1397
+ */
1398
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.repeatedFields_ = [1];
1399
+
1400
+
1401
+
1402
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1403
+ /**
1404
+ * Creates an object representation of this proto.
1405
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1406
+ * Optional fields that are not set will be set to undefined.
1407
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1408
+ * For the list of reserved names please see:
1409
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1410
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1411
+ * JSPB instance for transitional soy proto support:
1412
+ * http://goto/soy-param-migration
1413
+ * @return {!Object}
1414
+ */
1415
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.prototype.toObject = function(opt_includeInstance) {
1416
+ return proto.fintekkers.requests.valuation.MonthlyIndexReadings.toObject(opt_includeInstance, this);
1417
+ };
1418
+
1419
+
1420
+ /**
1421
+ * Static version of the {@see toObject} method.
1422
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1423
+ * the JSPB instance for transitional soy proto support:
1424
+ * http://goto/soy-param-migration
1425
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReadings} msg The msg instance to transform.
1426
+ * @return {!Object}
1427
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1428
+ */
1429
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.toObject = function(includeInstance, msg) {
1430
+ var f, obj = {
1431
+ readingsList: jspb.Message.toObjectList(msg.getReadingsList(),
1432
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.toObject, includeInstance)
1433
+ };
1434
+
1435
+ if (includeInstance) {
1436
+ obj.$jspbMessageInstance = msg;
1437
+ }
1438
+ return obj;
1439
+ };
1440
+ }
1441
+
1442
+
1443
+ /**
1444
+ * Deserializes binary data (in protobuf wire format).
1445
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1446
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReadings}
1447
+ */
1448
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.deserializeBinary = function(bytes) {
1449
+ var reader = new jspb.BinaryReader(bytes);
1450
+ var msg = new proto.fintekkers.requests.valuation.MonthlyIndexReadings;
1451
+ return proto.fintekkers.requests.valuation.MonthlyIndexReadings.deserializeBinaryFromReader(msg, reader);
1452
+ };
1453
+
1454
+
1455
+ /**
1456
+ * Deserializes binary data (in protobuf wire format) from the
1457
+ * given reader into the given message object.
1458
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReadings} msg The message object to deserialize into.
1459
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1460
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReadings}
1461
+ */
1462
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.deserializeBinaryFromReader = function(msg, reader) {
1463
+ while (reader.nextField()) {
1464
+ if (reader.isEndGroup()) {
1465
+ break;
1466
+ }
1467
+ var field = reader.getFieldNumber();
1468
+ switch (field) {
1469
+ case 1:
1470
+ var value = new proto.fintekkers.requests.valuation.MonthlyIndexReading;
1471
+ reader.readMessage(value,proto.fintekkers.requests.valuation.MonthlyIndexReading.deserializeBinaryFromReader);
1472
+ msg.addReadings(value);
1473
+ break;
1474
+ default:
1475
+ reader.skipField();
1476
+ break;
1477
+ }
1478
+ }
1479
+ return msg;
1480
+ };
1481
+
1482
+
1483
+ /**
1484
+ * Serializes the message to binary data (in protobuf wire format).
1485
+ * @return {!Uint8Array}
1486
+ */
1487
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.prototype.serializeBinary = function() {
1488
+ var writer = new jspb.BinaryWriter();
1489
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.serializeBinaryToWriter(this, writer);
1490
+ return writer.getResultBuffer();
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * Serializes the given message to binary data (in protobuf wire
1496
+ * format), writing to the given BinaryWriter.
1497
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReadings} message
1498
+ * @param {!jspb.BinaryWriter} writer
1499
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1500
+ */
1501
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.serializeBinaryToWriter = function(message, writer) {
1502
+ var f = undefined;
1503
+ f = message.getReadingsList();
1504
+ if (f.length > 0) {
1505
+ writer.writeRepeatedMessage(
1506
+ 1,
1507
+ f,
1508
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.serializeBinaryToWriter
1509
+ );
1510
+ }
1511
+ };
1512
+
1513
+
1514
+ /**
1515
+ * repeated MonthlyIndexReading readings = 1;
1516
+ * @return {!Array<!proto.fintekkers.requests.valuation.MonthlyIndexReading>}
1517
+ */
1518
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.prototype.getReadingsList = function() {
1519
+ return /** @type{!Array<!proto.fintekkers.requests.valuation.MonthlyIndexReading>} */ (
1520
+ jspb.Message.getRepeatedWrapperField(this, proto.fintekkers.requests.valuation.MonthlyIndexReading, 1));
1521
+ };
1522
+
1523
+
1524
+ /**
1525
+ * @param {!Array<!proto.fintekkers.requests.valuation.MonthlyIndexReading>} value
1526
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReadings} returns this
1527
+ */
1528
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.prototype.setReadingsList = function(value) {
1529
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1530
+ };
1531
+
1532
+
1533
+ /**
1534
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReading=} opt_value
1535
+ * @param {number=} opt_index
1536
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading}
1537
+ */
1538
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.prototype.addReadings = function(opt_value, opt_index) {
1539
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fintekkers.requests.valuation.MonthlyIndexReading, opt_index);
1540
+ };
1541
+
1542
+
1543
+ /**
1544
+ * Clears the list making it empty but non-null.
1545
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReadings} returns this
1546
+ */
1547
+ proto.fintekkers.requests.valuation.MonthlyIndexReadings.prototype.clearReadingsList = function() {
1548
+ return this.setReadingsList([]);
1549
+ };
1550
+
1551
+
1552
+
1553
+
1554
+
1555
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1556
+ /**
1557
+ * Creates an object representation of this proto.
1558
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1559
+ * Optional fields that are not set will be set to undefined.
1560
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1561
+ * For the list of reserved names please see:
1562
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1563
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1564
+ * JSPB instance for transitional soy proto support:
1565
+ * http://goto/soy-param-migration
1566
+ * @return {!Object}
1567
+ */
1568
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.toObject = function(opt_includeInstance) {
1569
+ return proto.fintekkers.requests.valuation.MonthlyIndexReading.toObject(opt_includeInstance, this);
1570
+ };
1571
+
1572
+
1573
+ /**
1574
+ * Static version of the {@see toObject} method.
1575
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1576
+ * the JSPB instance for transitional soy proto support:
1577
+ * http://goto/soy-param-migration
1578
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReading} msg The msg instance to transform.
1579
+ * @return {!Object}
1580
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1581
+ */
1582
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.toObject = function(includeInstance, msg) {
1583
+ var f, obj = {
1584
+ year: jspb.Message.getFieldWithDefault(msg, 1, 0),
1585
+ month: jspb.Message.getFieldWithDefault(msg, 2, 0),
1586
+ value: (f = msg.getValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
1587
+ };
1588
+
1589
+ if (includeInstance) {
1590
+ obj.$jspbMessageInstance = msg;
1591
+ }
1592
+ return obj;
1593
+ };
1594
+ }
1595
+
1596
+
1597
+ /**
1598
+ * Deserializes binary data (in protobuf wire format).
1599
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1600
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading}
1601
+ */
1602
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.deserializeBinary = function(bytes) {
1603
+ var reader = new jspb.BinaryReader(bytes);
1604
+ var msg = new proto.fintekkers.requests.valuation.MonthlyIndexReading;
1605
+ return proto.fintekkers.requests.valuation.MonthlyIndexReading.deserializeBinaryFromReader(msg, reader);
1606
+ };
1607
+
1608
+
1609
+ /**
1610
+ * Deserializes binary data (in protobuf wire format) from the
1611
+ * given reader into the given message object.
1612
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReading} msg The message object to deserialize into.
1613
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1614
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading}
1615
+ */
1616
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.deserializeBinaryFromReader = function(msg, reader) {
1617
+ while (reader.nextField()) {
1618
+ if (reader.isEndGroup()) {
1619
+ break;
1620
+ }
1621
+ var field = reader.getFieldNumber();
1622
+ switch (field) {
1623
+ case 1:
1624
+ var value = /** @type {number} */ (reader.readInt32());
1625
+ msg.setYear(value);
1626
+ break;
1627
+ case 2:
1628
+ var value = /** @type {number} */ (reader.readInt32());
1629
+ msg.setMonth(value);
1630
+ break;
1631
+ case 3:
1632
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
1633
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
1634
+ msg.setValue(value);
1635
+ break;
1636
+ default:
1637
+ reader.skipField();
1638
+ break;
1639
+ }
1640
+ }
1641
+ return msg;
1642
+ };
1643
+
1644
+
1645
+ /**
1646
+ * Serializes the message to binary data (in protobuf wire format).
1647
+ * @return {!Uint8Array}
1648
+ */
1649
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.serializeBinary = function() {
1650
+ var writer = new jspb.BinaryWriter();
1651
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.serializeBinaryToWriter(this, writer);
1652
+ return writer.getResultBuffer();
1653
+ };
1654
+
1655
+
1656
+ /**
1657
+ * Serializes the given message to binary data (in protobuf wire
1658
+ * format), writing to the given BinaryWriter.
1659
+ * @param {!proto.fintekkers.requests.valuation.MonthlyIndexReading} message
1660
+ * @param {!jspb.BinaryWriter} writer
1661
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1662
+ */
1663
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.serializeBinaryToWriter = function(message, writer) {
1664
+ var f = undefined;
1665
+ f = message.getYear();
1666
+ if (f !== 0) {
1667
+ writer.writeInt32(
1668
+ 1,
1669
+ f
1670
+ );
1671
+ }
1672
+ f = message.getMonth();
1673
+ if (f !== 0) {
1674
+ writer.writeInt32(
1675
+ 2,
1676
+ f
1677
+ );
1678
+ }
1679
+ f = message.getValue();
1680
+ if (f != null) {
1681
+ writer.writeMessage(
1682
+ 3,
1683
+ f,
1684
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
1685
+ );
1686
+ }
1687
+ };
1688
+
1689
+
1690
+ /**
1691
+ * optional int32 year = 1;
1692
+ * @return {number}
1693
+ */
1694
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.getYear = function() {
1695
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1696
+ };
1697
+
1698
+
1699
+ /**
1700
+ * @param {number} value
1701
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading} returns this
1702
+ */
1703
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.setYear = function(value) {
1704
+ return jspb.Message.setProto3IntField(this, 1, value);
1705
+ };
1706
+
1707
+
1708
+ /**
1709
+ * optional int32 month = 2;
1710
+ * @return {number}
1711
+ */
1712
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.getMonth = function() {
1713
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1714
+ };
1715
+
1716
+
1717
+ /**
1718
+ * @param {number} value
1719
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading} returns this
1720
+ */
1721
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.setMonth = function(value) {
1722
+ return jspb.Message.setProto3IntField(this, 2, value);
1723
+ };
1724
+
1725
+
1726
+ /**
1727
+ * optional fintekkers.models.util.DecimalValueProto value = 3;
1728
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
1729
+ */
1730
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.getValue = function() {
1731
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1732
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 3));
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1738
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading} returns this
1739
+ */
1740
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.setValue = function(value) {
1741
+ return jspb.Message.setWrapperField(this, 3, value);
1742
+ };
1743
+
1744
+
1745
+ /**
1746
+ * Clears the message field making it undefined.
1747
+ * @return {!proto.fintekkers.requests.valuation.MonthlyIndexReading} returns this
1748
+ */
1749
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.clearValue = function() {
1750
+ return this.setValue(undefined);
1751
+ };
1752
+
1753
+
1754
+ /**
1755
+ * Returns whether this field is set.
1756
+ * @return {boolean}
1757
+ */
1758
+ proto.fintekkers.requests.valuation.MonthlyIndexReading.prototype.hasValue = function() {
1759
+ return jspb.Message.getField(this, 3) != null;
1760
+ };
1761
+
1762
+
995
1763
 
996
1764
 
997
1765