@fintekkers/ledger-models 0.1.128 → 0.1.130

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.
@@ -23,10 +23,13 @@ var fintekkers_models_util_decimal_value_pb = require('../../../fintekkers/model
23
23
  goog.object.extend(proto, fintekkers_models_util_decimal_value_pb);
24
24
  var fintekkers_models_util_local_date_pb = require('../../../fintekkers/models/util/local_date_pb.js');
25
25
  goog.object.extend(proto, fintekkers_models_util_local_date_pb);
26
+ goog.exportSymbol('proto.fintekkers.requests.valuation.BondInput', null, global);
26
27
  goog.exportSymbol('proto.fintekkers.requests.valuation.CurvePoint', null, global);
27
28
  goog.exportSymbol('proto.fintekkers.requests.valuation.FrnInput', null, global);
28
29
  goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput', null, global);
29
30
  goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput.InputCase', null, global);
31
+ goog.exportSymbol('proto.fintekkers.requests.valuation.SecurityBasedCurveInput', null, global);
32
+ goog.exportSymbol('proto.fintekkers.requests.valuation.SecurityCurvePoint', null, global);
30
33
  goog.exportSymbol('proto.fintekkers.requests.valuation.YieldCurveInput', null, global);
31
34
  /**
32
35
  * Generated by JsPbCodeGenerator.
@@ -49,6 +52,27 @@ if (goog.DEBUG && !COMPILED) {
49
52
  */
50
53
  proto.fintekkers.requests.valuation.ProductInput.displayName = 'proto.fintekkers.requests.valuation.ProductInput';
51
54
  }
55
+ /**
56
+ * Generated by JsPbCodeGenerator.
57
+ * @param {Array=} opt_data Optional initial data array, typically from a
58
+ * server response, or constructed directly in Javascript. The array is used
59
+ * in place and becomes part of the constructed object. It is not cloned.
60
+ * If no data is provided, the constructed object will be empty, but still
61
+ * valid.
62
+ * @extends {jspb.Message}
63
+ * @constructor
64
+ */
65
+ proto.fintekkers.requests.valuation.BondInput = function(opt_data) {
66
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
67
+ };
68
+ goog.inherits(proto.fintekkers.requests.valuation.BondInput, jspb.Message);
69
+ if (goog.DEBUG && !COMPILED) {
70
+ /**
71
+ * @public
72
+ * @override
73
+ */
74
+ proto.fintekkers.requests.valuation.BondInput.displayName = 'proto.fintekkers.requests.valuation.BondInput';
75
+ }
52
76
  /**
53
77
  * Generated by JsPbCodeGenerator.
54
78
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -112,6 +136,48 @@ if (goog.DEBUG && !COMPILED) {
112
136
  */
113
137
  proto.fintekkers.requests.valuation.CurvePoint.displayName = 'proto.fintekkers.requests.valuation.CurvePoint';
114
138
  }
139
+ /**
140
+ * Generated by JsPbCodeGenerator.
141
+ * @param {Array=} opt_data Optional initial data array, typically from a
142
+ * server response, or constructed directly in Javascript. The array is used
143
+ * in place and becomes part of the constructed object. It is not cloned.
144
+ * If no data is provided, the constructed object will be empty, but still
145
+ * valid.
146
+ * @extends {jspb.Message}
147
+ * @constructor
148
+ */
149
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput = function(opt_data) {
150
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.requests.valuation.SecurityBasedCurveInput.repeatedFields_, null);
151
+ };
152
+ goog.inherits(proto.fintekkers.requests.valuation.SecurityBasedCurveInput, jspb.Message);
153
+ if (goog.DEBUG && !COMPILED) {
154
+ /**
155
+ * @public
156
+ * @override
157
+ */
158
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.displayName = 'proto.fintekkers.requests.valuation.SecurityBasedCurveInput';
159
+ }
160
+ /**
161
+ * Generated by JsPbCodeGenerator.
162
+ * @param {Array=} opt_data Optional initial data array, typically from a
163
+ * server response, or constructed directly in Javascript. The array is used
164
+ * in place and becomes part of the constructed object. It is not cloned.
165
+ * If no data is provided, the constructed object will be empty, but still
166
+ * valid.
167
+ * @extends {jspb.Message}
168
+ * @constructor
169
+ */
170
+ proto.fintekkers.requests.valuation.SecurityCurvePoint = function(opt_data) {
171
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
172
+ };
173
+ goog.inherits(proto.fintekkers.requests.valuation.SecurityCurvePoint, jspb.Message);
174
+ if (goog.DEBUG && !COMPILED) {
175
+ /**
176
+ * @public
177
+ * @override
178
+ */
179
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.displayName = 'proto.fintekkers.requests.valuation.SecurityCurvePoint';
180
+ }
115
181
 
116
182
  /**
117
183
  * Oneof group definitions for this message. Each group defines the field
@@ -121,13 +187,14 @@ if (goog.DEBUG && !COMPILED) {
121
187
  * @private {!Array<!Array<number>>}
122
188
  * @const
123
189
  */
124
- proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[8]];
190
+ proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,8]];
125
191
 
126
192
  /**
127
193
  * @enum {number}
128
194
  */
129
195
  proto.fintekkers.requests.valuation.ProductInput.InputCase = {
130
196
  INPUT_NOT_SET: 0,
197
+ BOND: 1,
131
198
  FRN: 8
132
199
  };
133
200
 
@@ -169,6 +236,7 @@ proto.fintekkers.requests.valuation.ProductInput.prototype.toObject = function(o
169
236
  */
170
237
  proto.fintekkers.requests.valuation.ProductInput.toObject = function(includeInstance, msg) {
171
238
  var f, obj = {
239
+ bond: (f = msg.getBond()) && proto.fintekkers.requests.valuation.BondInput.toObject(includeInstance, f),
172
240
  frn: (f = msg.getFrn()) && proto.fintekkers.requests.valuation.FrnInput.toObject(includeInstance, f)
173
241
  };
174
242
 
@@ -206,6 +274,11 @@ proto.fintekkers.requests.valuation.ProductInput.deserializeBinaryFromReader = f
206
274
  }
207
275
  var field = reader.getFieldNumber();
208
276
  switch (field) {
277
+ case 1:
278
+ var value = new proto.fintekkers.requests.valuation.BondInput;
279
+ reader.readMessage(value,proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader);
280
+ msg.setBond(value);
281
+ break;
209
282
  case 8:
210
283
  var value = new proto.fintekkers.requests.valuation.FrnInput;
211
284
  reader.readMessage(value,proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader);
@@ -240,6 +313,14 @@ proto.fintekkers.requests.valuation.ProductInput.prototype.serializeBinary = fun
240
313
  */
241
314
  proto.fintekkers.requests.valuation.ProductInput.serializeBinaryToWriter = function(message, writer) {
242
315
  var f = undefined;
316
+ f = message.getBond();
317
+ if (f != null) {
318
+ writer.writeMessage(
319
+ 1,
320
+ f,
321
+ proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter
322
+ );
323
+ }
243
324
  f = message.getFrn();
244
325
  if (f != null) {
245
326
  writer.writeMessage(
@@ -251,6 +332,43 @@ proto.fintekkers.requests.valuation.ProductInput.serializeBinaryToWriter = funct
251
332
  };
252
333
 
253
334
 
335
+ /**
336
+ * optional BondInput bond = 1;
337
+ * @return {?proto.fintekkers.requests.valuation.BondInput}
338
+ */
339
+ proto.fintekkers.requests.valuation.ProductInput.prototype.getBond = function() {
340
+ return /** @type{?proto.fintekkers.requests.valuation.BondInput} */ (
341
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.BondInput, 1));
342
+ };
343
+
344
+
345
+ /**
346
+ * @param {?proto.fintekkers.requests.valuation.BondInput|undefined} value
347
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
348
+ */
349
+ proto.fintekkers.requests.valuation.ProductInput.prototype.setBond = function(value) {
350
+ return jspb.Message.setOneofWrapperField(this, 1, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0], value);
351
+ };
352
+
353
+
354
+ /**
355
+ * Clears the message field making it undefined.
356
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
357
+ */
358
+ proto.fintekkers.requests.valuation.ProductInput.prototype.clearBond = function() {
359
+ return this.setBond(undefined);
360
+ };
361
+
362
+
363
+ /**
364
+ * Returns whether this field is set.
365
+ * @return {boolean}
366
+ */
367
+ proto.fintekkers.requests.valuation.ProductInput.prototype.hasBond = function() {
368
+ return jspb.Message.getField(this, 1) != null;
369
+ };
370
+
371
+
254
372
  /**
255
373
  * optional FrnInput frn = 8;
256
374
  * @return {?proto.fintekkers.requests.valuation.FrnInput}
@@ -304,8 +422,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
304
422
  * http://goto/soy-param-migration
305
423
  * @return {!Object}
306
424
  */
307
- proto.fintekkers.requests.valuation.FrnInput.prototype.toObject = function(opt_includeInstance) {
308
- return proto.fintekkers.requests.valuation.FrnInput.toObject(opt_includeInstance, this);
425
+ proto.fintekkers.requests.valuation.BondInput.prototype.toObject = function(opt_includeInstance) {
426
+ return proto.fintekkers.requests.valuation.BondInput.toObject(opt_includeInstance, this);
309
427
  };
310
428
 
311
429
 
@@ -314,15 +432,15 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.toObject = function(opt_i
314
432
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
315
433
  * the JSPB instance for transitional soy proto support:
316
434
  * http://goto/soy-param-migration
317
- * @param {!proto.fintekkers.requests.valuation.FrnInput} msg The msg instance to transform.
435
+ * @param {!proto.fintekkers.requests.valuation.BondInput} msg The msg instance to transform.
318
436
  * @return {!Object}
319
437
  * @suppress {unusedLocalVariables} f is only used for nested messages
320
438
  */
321
- proto.fintekkers.requests.valuation.FrnInput.toObject = function(includeInstance, msg) {
439
+ proto.fintekkers.requests.valuation.BondInput.toObject = function(includeInstance, msg) {
322
440
  var f, obj = {
323
441
  security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
324
442
  cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
325
- curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInput.toObject(includeInstance, f)
443
+ benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(includeInstance, f)
326
444
  };
327
445
 
328
446
  if (includeInstance) {
@@ -336,23 +454,23 @@ curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInp
336
454
  /**
337
455
  * Deserializes binary data (in protobuf wire format).
338
456
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
339
- * @return {!proto.fintekkers.requests.valuation.FrnInput}
457
+ * @return {!proto.fintekkers.requests.valuation.BondInput}
340
458
  */
341
- proto.fintekkers.requests.valuation.FrnInput.deserializeBinary = function(bytes) {
459
+ proto.fintekkers.requests.valuation.BondInput.deserializeBinary = function(bytes) {
342
460
  var reader = new jspb.BinaryReader(bytes);
343
- var msg = new proto.fintekkers.requests.valuation.FrnInput;
344
- return proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader(msg, reader);
461
+ var msg = new proto.fintekkers.requests.valuation.BondInput;
462
+ return proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader(msg, reader);
345
463
  };
346
464
 
347
465
 
348
466
  /**
349
467
  * Deserializes binary data (in protobuf wire format) from the
350
468
  * given reader into the given message object.
351
- * @param {!proto.fintekkers.requests.valuation.FrnInput} msg The message object to deserialize into.
469
+ * @param {!proto.fintekkers.requests.valuation.BondInput} msg The message object to deserialize into.
352
470
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
353
- * @return {!proto.fintekkers.requests.valuation.FrnInput}
471
+ * @return {!proto.fintekkers.requests.valuation.BondInput}
354
472
  */
355
- proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader = function(msg, reader) {
473
+ proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader = function(msg, reader) {
356
474
  while (reader.nextField()) {
357
475
  if (reader.isEndGroup()) {
358
476
  break;
@@ -370,9 +488,9 @@ proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader = funct
370
488
  msg.setCleanPrice(value);
371
489
  break;
372
490
  case 10:
373
- var value = new proto.fintekkers.requests.valuation.YieldCurveInput;
374
- reader.readMessage(value,proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader);
375
- msg.setCurve(value);
491
+ var value = new proto.fintekkers.requests.valuation.SecurityBasedCurveInput;
492
+ reader.readMessage(value,proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinaryFromReader);
493
+ msg.setBenchmarkCurve(value);
376
494
  break;
377
495
  default:
378
496
  reader.skipField();
@@ -387,9 +505,9 @@ proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader = funct
387
505
  * Serializes the message to binary data (in protobuf wire format).
388
506
  * @return {!Uint8Array}
389
507
  */
390
- proto.fintekkers.requests.valuation.FrnInput.prototype.serializeBinary = function() {
508
+ proto.fintekkers.requests.valuation.BondInput.prototype.serializeBinary = function() {
391
509
  var writer = new jspb.BinaryWriter();
392
- proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter(this, writer);
510
+ proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter(this, writer);
393
511
  return writer.getResultBuffer();
394
512
  };
395
513
 
@@ -397,11 +515,11 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.serializeBinary = functio
397
515
  /**
398
516
  * Serializes the given message to binary data (in protobuf wire
399
517
  * format), writing to the given BinaryWriter.
400
- * @param {!proto.fintekkers.requests.valuation.FrnInput} message
518
+ * @param {!proto.fintekkers.requests.valuation.BondInput} message
401
519
  * @param {!jspb.BinaryWriter} writer
402
520
  * @suppress {unusedLocalVariables} f is only used for nested messages
403
521
  */
404
- proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter = function(message, writer) {
522
+ proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter = function(message, writer) {
405
523
  var f = undefined;
406
524
  f = message.getSecurity();
407
525
  if (f != null) {
@@ -419,12 +537,12 @@ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter = function(
419
537
  fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
420
538
  );
421
539
  }
422
- f = message.getCurve();
540
+ f = message.getBenchmarkCurve();
423
541
  if (f != null) {
424
542
  writer.writeMessage(
425
543
  10,
426
544
  f,
427
- proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter
545
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.serializeBinaryToWriter
428
546
  );
429
547
  }
430
548
  };
@@ -434,7 +552,7 @@ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter = function(
434
552
  * optional fintekkers.models.security.SecurityProto security = 1;
435
553
  * @return {?proto.fintekkers.models.security.SecurityProto}
436
554
  */
437
- proto.fintekkers.requests.valuation.FrnInput.prototype.getSecurity = function() {
555
+ proto.fintekkers.requests.valuation.BondInput.prototype.getSecurity = function() {
438
556
  return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
439
557
  jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
440
558
  };
@@ -442,18 +560,18 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.getSecurity = function()
442
560
 
443
561
  /**
444
562
  * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
445
- * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
563
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
446
564
  */
447
- proto.fintekkers.requests.valuation.FrnInput.prototype.setSecurity = function(value) {
565
+ proto.fintekkers.requests.valuation.BondInput.prototype.setSecurity = function(value) {
448
566
  return jspb.Message.setWrapperField(this, 1, value);
449
567
  };
450
568
 
451
569
 
452
570
  /**
453
571
  * Clears the message field making it undefined.
454
- * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
572
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
455
573
  */
456
- proto.fintekkers.requests.valuation.FrnInput.prototype.clearSecurity = function() {
574
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearSecurity = function() {
457
575
  return this.setSecurity(undefined);
458
576
  };
459
577
 
@@ -462,7 +580,7 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.clearSecurity = function(
462
580
  * Returns whether this field is set.
463
581
  * @return {boolean}
464
582
  */
465
- proto.fintekkers.requests.valuation.FrnInput.prototype.hasSecurity = function() {
583
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasSecurity = function() {
466
584
  return jspb.Message.getField(this, 1) != null;
467
585
  };
468
586
 
@@ -471,7 +589,7 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.hasSecurity = function()
471
589
  * optional fintekkers.models.util.DecimalValueProto clean_price = 2;
472
590
  * @return {?proto.fintekkers.models.util.DecimalValueProto}
473
591
  */
474
- proto.fintekkers.requests.valuation.FrnInput.prototype.getCleanPrice = function() {
592
+ proto.fintekkers.requests.valuation.BondInput.prototype.getCleanPrice = function() {
475
593
  return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
476
594
  jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
477
595
  };
@@ -479,18 +597,18 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.getCleanPrice = function(
479
597
 
480
598
  /**
481
599
  * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
482
- * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
600
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
483
601
  */
484
- proto.fintekkers.requests.valuation.FrnInput.prototype.setCleanPrice = function(value) {
602
+ proto.fintekkers.requests.valuation.BondInput.prototype.setCleanPrice = function(value) {
485
603
  return jspb.Message.setWrapperField(this, 2, value);
486
604
  };
487
605
 
488
606
 
489
607
  /**
490
608
  * Clears the message field making it undefined.
491
- * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
609
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
492
610
  */
493
- proto.fintekkers.requests.valuation.FrnInput.prototype.clearCleanPrice = function() {
611
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearCleanPrice = function() {
494
612
  return this.setCleanPrice(undefined);
495
613
  };
496
614
 
@@ -499,36 +617,36 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.clearCleanPrice = functio
499
617
  * Returns whether this field is set.
500
618
  * @return {boolean}
501
619
  */
502
- proto.fintekkers.requests.valuation.FrnInput.prototype.hasCleanPrice = function() {
620
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasCleanPrice = function() {
503
621
  return jspb.Message.getField(this, 2) != null;
504
622
  };
505
623
 
506
624
 
507
625
  /**
508
- * optional YieldCurveInput curve = 10;
509
- * @return {?proto.fintekkers.requests.valuation.YieldCurveInput}
626
+ * optional SecurityBasedCurveInput benchmark_curve = 10;
627
+ * @return {?proto.fintekkers.requests.valuation.SecurityBasedCurveInput}
510
628
  */
511
- proto.fintekkers.requests.valuation.FrnInput.prototype.getCurve = function() {
512
- return /** @type{?proto.fintekkers.requests.valuation.YieldCurveInput} */ (
513
- jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.YieldCurveInput, 10));
629
+ proto.fintekkers.requests.valuation.BondInput.prototype.getBenchmarkCurve = function() {
630
+ return /** @type{?proto.fintekkers.requests.valuation.SecurityBasedCurveInput} */ (
631
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.SecurityBasedCurveInput, 10));
514
632
  };
515
633
 
516
634
 
517
635
  /**
518
- * @param {?proto.fintekkers.requests.valuation.YieldCurveInput|undefined} value
519
- * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
636
+ * @param {?proto.fintekkers.requests.valuation.SecurityBasedCurveInput|undefined} value
637
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
520
638
  */
521
- proto.fintekkers.requests.valuation.FrnInput.prototype.setCurve = function(value) {
639
+ proto.fintekkers.requests.valuation.BondInput.prototype.setBenchmarkCurve = function(value) {
522
640
  return jspb.Message.setWrapperField(this, 10, value);
523
641
  };
524
642
 
525
643
 
526
644
  /**
527
645
  * Clears the message field making it undefined.
528
- * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
646
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
529
647
  */
530
- proto.fintekkers.requests.valuation.FrnInput.prototype.clearCurve = function() {
531
- return this.setCurve(undefined);
648
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearBenchmarkCurve = function() {
649
+ return this.setBenchmarkCurve(undefined);
532
650
  };
533
651
 
534
652
 
@@ -536,19 +654,12 @@ proto.fintekkers.requests.valuation.FrnInput.prototype.clearCurve = function() {
536
654
  * Returns whether this field is set.
537
655
  * @return {boolean}
538
656
  */
539
- proto.fintekkers.requests.valuation.FrnInput.prototype.hasCurve = function() {
657
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasBenchmarkCurve = function() {
540
658
  return jspb.Message.getField(this, 10) != null;
541
659
  };
542
660
 
543
661
 
544
662
 
545
- /**
546
- * List of repeated fields within this message type.
547
- * @private {!Array<number>}
548
- * @const
549
- */
550
- proto.fintekkers.requests.valuation.YieldCurveInput.repeatedFields_ = [3];
551
-
552
663
 
553
664
 
554
665
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -564,8 +675,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
564
675
  * http://goto/soy-param-migration
565
676
  * @return {!Object}
566
677
  */
567
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.toObject = function(opt_includeInstance) {
568
- return proto.fintekkers.requests.valuation.YieldCurveInput.toObject(opt_includeInstance, this);
678
+ proto.fintekkers.requests.valuation.FrnInput.prototype.toObject = function(opt_includeInstance) {
679
+ return proto.fintekkers.requests.valuation.FrnInput.toObject(opt_includeInstance, this);
569
680
  };
570
681
 
571
682
 
@@ -574,16 +685,15 @@ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.toObject = functio
574
685
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
575
686
  * the JSPB instance for transitional soy proto support:
576
687
  * http://goto/soy-param-migration
577
- * @param {!proto.fintekkers.requests.valuation.YieldCurveInput} msg The msg instance to transform.
688
+ * @param {!proto.fintekkers.requests.valuation.FrnInput} msg The msg instance to transform.
578
689
  * @return {!Object}
579
690
  * @suppress {unusedLocalVariables} f is only used for nested messages
580
691
  */
581
- proto.fintekkers.requests.valuation.YieldCurveInput.toObject = function(includeInstance, msg) {
692
+ proto.fintekkers.requests.valuation.FrnInput.toObject = function(includeInstance, msg) {
582
693
  var f, obj = {
583
- index: jspb.Message.getFieldWithDefault(msg, 1, 0),
584
- referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
585
- pointsList: jspb.Message.toObjectList(msg.getPointsList(),
586
- proto.fintekkers.requests.valuation.CurvePoint.toObject, includeInstance)
694
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
695
+ cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
696
+ curve: (f = msg.getCurve()) && proto.fintekkers.requests.valuation.YieldCurveInput.toObject(includeInstance, f)
587
697
  };
588
698
 
589
699
  if (includeInstance) {
@@ -597,23 +707,23 @@ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
597
707
  /**
598
708
  * Deserializes binary data (in protobuf wire format).
599
709
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
600
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput}
710
+ * @return {!proto.fintekkers.requests.valuation.FrnInput}
601
711
  */
602
- proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinary = function(bytes) {
712
+ proto.fintekkers.requests.valuation.FrnInput.deserializeBinary = function(bytes) {
603
713
  var reader = new jspb.BinaryReader(bytes);
604
- var msg = new proto.fintekkers.requests.valuation.YieldCurveInput;
605
- return proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader(msg, reader);
714
+ var msg = new proto.fintekkers.requests.valuation.FrnInput;
715
+ return proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader(msg, reader);
606
716
  };
607
717
 
608
718
 
609
719
  /**
610
720
  * Deserializes binary data (in protobuf wire format) from the
611
721
  * given reader into the given message object.
612
- * @param {!proto.fintekkers.requests.valuation.YieldCurveInput} msg The message object to deserialize into.
722
+ * @param {!proto.fintekkers.requests.valuation.FrnInput} msg The message object to deserialize into.
613
723
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
614
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput}
724
+ * @return {!proto.fintekkers.requests.valuation.FrnInput}
615
725
  */
616
- proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader = function(msg, reader) {
726
+ proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader = function(msg, reader) {
617
727
  while (reader.nextField()) {
618
728
  if (reader.isEndGroup()) {
619
729
  break;
@@ -621,18 +731,19 @@ proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader
621
731
  var field = reader.getFieldNumber();
622
732
  switch (field) {
623
733
  case 1:
624
- var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
625
- msg.setIndex(value);
734
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
735
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
736
+ msg.setSecurity(value);
626
737
  break;
627
738
  case 2:
628
- var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
629
- reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
630
- msg.setReferenceDate(value);
739
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
740
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
741
+ msg.setCleanPrice(value);
631
742
  break;
632
- case 3:
633
- var value = new proto.fintekkers.requests.valuation.CurvePoint;
634
- reader.readMessage(value,proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader);
635
- msg.addPoints(value);
743
+ case 10:
744
+ var value = new proto.fintekkers.requests.valuation.YieldCurveInput;
745
+ reader.readMessage(value,proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader);
746
+ msg.setCurve(value);
636
747
  break;
637
748
  default:
638
749
  reader.skipField();
@@ -647,9 +758,9 @@ proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader
647
758
  * Serializes the message to binary data (in protobuf wire format).
648
759
  * @return {!Uint8Array}
649
760
  */
650
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.serializeBinary = function() {
761
+ proto.fintekkers.requests.valuation.FrnInput.prototype.serializeBinary = function() {
651
762
  var writer = new jspb.BinaryWriter();
652
- proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter(this, writer);
763
+ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter(this, writer);
653
764
  return writer.getResultBuffer();
654
765
  };
655
766
 
@@ -657,80 +768,783 @@ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.serializeBinary =
657
768
  /**
658
769
  * Serializes the given message to binary data (in protobuf wire
659
770
  * format), writing to the given BinaryWriter.
660
- * @param {!proto.fintekkers.requests.valuation.YieldCurveInput} message
771
+ * @param {!proto.fintekkers.requests.valuation.FrnInput} message
661
772
  * @param {!jspb.BinaryWriter} writer
662
773
  * @suppress {unusedLocalVariables} f is only used for nested messages
663
774
  */
664
- proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter = function(message, writer) {
775
+ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter = function(message, writer) {
665
776
  var f = undefined;
666
- f = message.getIndex();
667
- if (f !== 0.0) {
668
- writer.writeEnum(
777
+ f = message.getSecurity();
778
+ if (f != null) {
779
+ writer.writeMessage(
669
780
  1,
670
- f
781
+ f,
782
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
671
783
  );
672
784
  }
673
- f = message.getReferenceDate();
785
+ f = message.getCleanPrice();
674
786
  if (f != null) {
675
787
  writer.writeMessage(
676
788
  2,
677
789
  f,
678
- fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
790
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
679
791
  );
680
792
  }
681
- f = message.getPointsList();
682
- if (f.length > 0) {
683
- writer.writeRepeatedMessage(
684
- 3,
793
+ f = message.getCurve();
794
+ if (f != null) {
795
+ writer.writeMessage(
796
+ 10,
685
797
  f,
686
- proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter
798
+ proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter
687
799
  );
688
800
  }
689
801
  };
690
802
 
691
803
 
692
804
  /**
693
- * optional fintekkers.models.security.index.IndexTypeProto index = 1;
694
- * @return {!proto.fintekkers.models.security.index.IndexTypeProto}
805
+ * optional fintekkers.models.security.SecurityProto security = 1;
806
+ * @return {?proto.fintekkers.models.security.SecurityProto}
695
807
  */
696
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.getIndex = function() {
697
- return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
808
+ proto.fintekkers.requests.valuation.FrnInput.prototype.getSecurity = function() {
809
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
810
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
698
811
  };
699
812
 
700
813
 
701
814
  /**
702
- * @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
703
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
704
- */
705
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.setIndex = function(value) {
706
- return jspb.Message.setProto3EnumField(this, 1, value);
815
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
816
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
817
+ */
818
+ proto.fintekkers.requests.valuation.FrnInput.prototype.setSecurity = function(value) {
819
+ return jspb.Message.setWrapperField(this, 1, value);
707
820
  };
708
821
 
709
822
 
710
823
  /**
711
- * optional fintekkers.models.util.LocalDateProto reference_date = 2;
712
- * @return {?proto.fintekkers.models.util.LocalDateProto}
824
+ * Clears the message field making it undefined.
825
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
713
826
  */
714
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.getReferenceDate = function() {
715
- return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
716
- jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 2));
827
+ proto.fintekkers.requests.valuation.FrnInput.prototype.clearSecurity = function() {
828
+ return this.setSecurity(undefined);
717
829
  };
718
830
 
719
831
 
720
832
  /**
721
- * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
722
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
723
- */
724
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.setReferenceDate = function(value) {
725
- return jspb.Message.setWrapperField(this, 2, value);
833
+ * Returns whether this field is set.
834
+ * @return {boolean}
835
+ */
836
+ proto.fintekkers.requests.valuation.FrnInput.prototype.hasSecurity = function() {
837
+ return jspb.Message.getField(this, 1) != null;
838
+ };
839
+
840
+
841
+ /**
842
+ * optional fintekkers.models.util.DecimalValueProto clean_price = 2;
843
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
844
+ */
845
+ proto.fintekkers.requests.valuation.FrnInput.prototype.getCleanPrice = function() {
846
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
847
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
848
+ };
849
+
850
+
851
+ /**
852
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
853
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
854
+ */
855
+ proto.fintekkers.requests.valuation.FrnInput.prototype.setCleanPrice = function(value) {
856
+ return jspb.Message.setWrapperField(this, 2, value);
857
+ };
858
+
859
+
860
+ /**
861
+ * Clears the message field making it undefined.
862
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
863
+ */
864
+ proto.fintekkers.requests.valuation.FrnInput.prototype.clearCleanPrice = function() {
865
+ return this.setCleanPrice(undefined);
866
+ };
867
+
868
+
869
+ /**
870
+ * Returns whether this field is set.
871
+ * @return {boolean}
872
+ */
873
+ proto.fintekkers.requests.valuation.FrnInput.prototype.hasCleanPrice = function() {
874
+ return jspb.Message.getField(this, 2) != null;
875
+ };
876
+
877
+
878
+ /**
879
+ * optional YieldCurveInput curve = 10;
880
+ * @return {?proto.fintekkers.requests.valuation.YieldCurveInput}
881
+ */
882
+ proto.fintekkers.requests.valuation.FrnInput.prototype.getCurve = function() {
883
+ return /** @type{?proto.fintekkers.requests.valuation.YieldCurveInput} */ (
884
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.YieldCurveInput, 10));
885
+ };
886
+
887
+
888
+ /**
889
+ * @param {?proto.fintekkers.requests.valuation.YieldCurveInput|undefined} value
890
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
891
+ */
892
+ proto.fintekkers.requests.valuation.FrnInput.prototype.setCurve = function(value) {
893
+ return jspb.Message.setWrapperField(this, 10, value);
894
+ };
895
+
896
+
897
+ /**
898
+ * Clears the message field making it undefined.
899
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
900
+ */
901
+ proto.fintekkers.requests.valuation.FrnInput.prototype.clearCurve = function() {
902
+ return this.setCurve(undefined);
903
+ };
904
+
905
+
906
+ /**
907
+ * Returns whether this field is set.
908
+ * @return {boolean}
909
+ */
910
+ proto.fintekkers.requests.valuation.FrnInput.prototype.hasCurve = function() {
911
+ return jspb.Message.getField(this, 10) != null;
912
+ };
913
+
914
+
915
+
916
+ /**
917
+ * List of repeated fields within this message type.
918
+ * @private {!Array<number>}
919
+ * @const
920
+ */
921
+ proto.fintekkers.requests.valuation.YieldCurveInput.repeatedFields_ = [3];
922
+
923
+
924
+
925
+ if (jspb.Message.GENERATE_TO_OBJECT) {
926
+ /**
927
+ * Creates an object representation of this proto.
928
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
929
+ * Optional fields that are not set will be set to undefined.
930
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
931
+ * For the list of reserved names please see:
932
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
933
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
934
+ * JSPB instance for transitional soy proto support:
935
+ * http://goto/soy-param-migration
936
+ * @return {!Object}
937
+ */
938
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.toObject = function(opt_includeInstance) {
939
+ return proto.fintekkers.requests.valuation.YieldCurveInput.toObject(opt_includeInstance, this);
940
+ };
941
+
942
+
943
+ /**
944
+ * Static version of the {@see toObject} method.
945
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
946
+ * the JSPB instance for transitional soy proto support:
947
+ * http://goto/soy-param-migration
948
+ * @param {!proto.fintekkers.requests.valuation.YieldCurveInput} msg The msg instance to transform.
949
+ * @return {!Object}
950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
951
+ */
952
+ proto.fintekkers.requests.valuation.YieldCurveInput.toObject = function(includeInstance, msg) {
953
+ var f, obj = {
954
+ index: jspb.Message.getFieldWithDefault(msg, 1, 0),
955
+ referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
956
+ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
957
+ proto.fintekkers.requests.valuation.CurvePoint.toObject, includeInstance)
958
+ };
959
+
960
+ if (includeInstance) {
961
+ obj.$jspbMessageInstance = msg;
962
+ }
963
+ return obj;
964
+ };
965
+ }
966
+
967
+
968
+ /**
969
+ * Deserializes binary data (in protobuf wire format).
970
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
971
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput}
972
+ */
973
+ proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinary = function(bytes) {
974
+ var reader = new jspb.BinaryReader(bytes);
975
+ var msg = new proto.fintekkers.requests.valuation.YieldCurveInput;
976
+ return proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader(msg, reader);
977
+ };
978
+
979
+
980
+ /**
981
+ * Deserializes binary data (in protobuf wire format) from the
982
+ * given reader into the given message object.
983
+ * @param {!proto.fintekkers.requests.valuation.YieldCurveInput} msg The message object to deserialize into.
984
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
985
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput}
986
+ */
987
+ proto.fintekkers.requests.valuation.YieldCurveInput.deserializeBinaryFromReader = function(msg, reader) {
988
+ while (reader.nextField()) {
989
+ if (reader.isEndGroup()) {
990
+ break;
991
+ }
992
+ var field = reader.getFieldNumber();
993
+ switch (field) {
994
+ case 1:
995
+ var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
996
+ msg.setIndex(value);
997
+ break;
998
+ case 2:
999
+ var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
1000
+ reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
1001
+ msg.setReferenceDate(value);
1002
+ break;
1003
+ case 3:
1004
+ var value = new proto.fintekkers.requests.valuation.CurvePoint;
1005
+ reader.readMessage(value,proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader);
1006
+ msg.addPoints(value);
1007
+ break;
1008
+ default:
1009
+ reader.skipField();
1010
+ break;
1011
+ }
1012
+ }
1013
+ return msg;
1014
+ };
1015
+
1016
+
1017
+ /**
1018
+ * Serializes the message to binary data (in protobuf wire format).
1019
+ * @return {!Uint8Array}
1020
+ */
1021
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.serializeBinary = function() {
1022
+ var writer = new jspb.BinaryWriter();
1023
+ proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter(this, writer);
1024
+ return writer.getResultBuffer();
1025
+ };
1026
+
1027
+
1028
+ /**
1029
+ * Serializes the given message to binary data (in protobuf wire
1030
+ * format), writing to the given BinaryWriter.
1031
+ * @param {!proto.fintekkers.requests.valuation.YieldCurveInput} message
1032
+ * @param {!jspb.BinaryWriter} writer
1033
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1034
+ */
1035
+ proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter = function(message, writer) {
1036
+ var f = undefined;
1037
+ f = message.getIndex();
1038
+ if (f !== 0.0) {
1039
+ writer.writeEnum(
1040
+ 1,
1041
+ f
1042
+ );
1043
+ }
1044
+ f = message.getReferenceDate();
1045
+ if (f != null) {
1046
+ writer.writeMessage(
1047
+ 2,
1048
+ f,
1049
+ fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
1050
+ );
1051
+ }
1052
+ f = message.getPointsList();
1053
+ if (f.length > 0) {
1054
+ writer.writeRepeatedMessage(
1055
+ 3,
1056
+ f,
1057
+ proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter
1058
+ );
1059
+ }
1060
+ };
1061
+
1062
+
1063
+ /**
1064
+ * optional fintekkers.models.security.index.IndexTypeProto index = 1;
1065
+ * @return {!proto.fintekkers.models.security.index.IndexTypeProto}
1066
+ */
1067
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.getIndex = function() {
1068
+ return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1069
+ };
1070
+
1071
+
1072
+ /**
1073
+ * @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
1074
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1075
+ */
1076
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.setIndex = function(value) {
1077
+ return jspb.Message.setProto3EnumField(this, 1, value);
1078
+ };
1079
+
1080
+
1081
+ /**
1082
+ * optional fintekkers.models.util.LocalDateProto reference_date = 2;
1083
+ * @return {?proto.fintekkers.models.util.LocalDateProto}
1084
+ */
1085
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.getReferenceDate = function() {
1086
+ return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
1087
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 2));
1088
+ };
1089
+
1090
+
1091
+ /**
1092
+ * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
1093
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1094
+ */
1095
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.setReferenceDate = function(value) {
1096
+ return jspb.Message.setWrapperField(this, 2, value);
1097
+ };
1098
+
1099
+
1100
+ /**
1101
+ * Clears the message field making it undefined.
1102
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1103
+ */
1104
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.clearReferenceDate = function() {
1105
+ return this.setReferenceDate(undefined);
1106
+ };
1107
+
1108
+
1109
+ /**
1110
+ * Returns whether this field is set.
1111
+ * @return {boolean}
1112
+ */
1113
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.hasReferenceDate = function() {
1114
+ return jspb.Message.getField(this, 2) != null;
1115
+ };
1116
+
1117
+
1118
+ /**
1119
+ * repeated CurvePoint points = 3;
1120
+ * @return {!Array<!proto.fintekkers.requests.valuation.CurvePoint>}
1121
+ */
1122
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.getPointsList = function() {
1123
+ return /** @type{!Array<!proto.fintekkers.requests.valuation.CurvePoint>} */ (
1124
+ jspb.Message.getRepeatedWrapperField(this, proto.fintekkers.requests.valuation.CurvePoint, 3));
1125
+ };
1126
+
1127
+
1128
+ /**
1129
+ * @param {!Array<!proto.fintekkers.requests.valuation.CurvePoint>} value
1130
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1131
+ */
1132
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.setPointsList = function(value) {
1133
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
1134
+ };
1135
+
1136
+
1137
+ /**
1138
+ * @param {!proto.fintekkers.requests.valuation.CurvePoint=} opt_value
1139
+ * @param {number=} opt_index
1140
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint}
1141
+ */
1142
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.addPoints = function(opt_value, opt_index) {
1143
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.fintekkers.requests.valuation.CurvePoint, opt_index);
1144
+ };
1145
+
1146
+
1147
+ /**
1148
+ * Clears the list making it empty but non-null.
1149
+ * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1150
+ */
1151
+ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.clearPointsList = function() {
1152
+ return this.setPointsList([]);
1153
+ };
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1160
+ /**
1161
+ * Creates an object representation of this proto.
1162
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1163
+ * Optional fields that are not set will be set to undefined.
1164
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1165
+ * For the list of reserved names please see:
1166
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1167
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1168
+ * JSPB instance for transitional soy proto support:
1169
+ * http://goto/soy-param-migration
1170
+ * @return {!Object}
1171
+ */
1172
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.toObject = function(opt_includeInstance) {
1173
+ return proto.fintekkers.requests.valuation.CurvePoint.toObject(opt_includeInstance, this);
1174
+ };
1175
+
1176
+
1177
+ /**
1178
+ * Static version of the {@see toObject} method.
1179
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1180
+ * the JSPB instance for transitional soy proto support:
1181
+ * http://goto/soy-param-migration
1182
+ * @param {!proto.fintekkers.requests.valuation.CurvePoint} msg The msg instance to transform.
1183
+ * @return {!Object}
1184
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1185
+ */
1186
+ proto.fintekkers.requests.valuation.CurvePoint.toObject = function(includeInstance, msg) {
1187
+ var f, obj = {
1188
+ tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
1189
+ rate: (f = msg.getRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
1190
+ };
1191
+
1192
+ if (includeInstance) {
1193
+ obj.$jspbMessageInstance = msg;
1194
+ }
1195
+ return obj;
1196
+ };
1197
+ }
1198
+
1199
+
1200
+ /**
1201
+ * Deserializes binary data (in protobuf wire format).
1202
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1203
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint}
1204
+ */
1205
+ proto.fintekkers.requests.valuation.CurvePoint.deserializeBinary = function(bytes) {
1206
+ var reader = new jspb.BinaryReader(bytes);
1207
+ var msg = new proto.fintekkers.requests.valuation.CurvePoint;
1208
+ return proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader(msg, reader);
1209
+ };
1210
+
1211
+
1212
+ /**
1213
+ * Deserializes binary data (in protobuf wire format) from the
1214
+ * given reader into the given message object.
1215
+ * @param {!proto.fintekkers.requests.valuation.CurvePoint} msg The message object to deserialize into.
1216
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1217
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint}
1218
+ */
1219
+ proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader = function(msg, reader) {
1220
+ while (reader.nextField()) {
1221
+ if (reader.isEndGroup()) {
1222
+ break;
1223
+ }
1224
+ var field = reader.getFieldNumber();
1225
+ switch (field) {
1226
+ case 1:
1227
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
1228
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
1229
+ msg.setTenor(value);
1230
+ break;
1231
+ case 2:
1232
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
1233
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
1234
+ msg.setRate(value);
1235
+ break;
1236
+ default:
1237
+ reader.skipField();
1238
+ break;
1239
+ }
1240
+ }
1241
+ return msg;
1242
+ };
1243
+
1244
+
1245
+ /**
1246
+ * Serializes the message to binary data (in protobuf wire format).
1247
+ * @return {!Uint8Array}
1248
+ */
1249
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.serializeBinary = function() {
1250
+ var writer = new jspb.BinaryWriter();
1251
+ proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter(this, writer);
1252
+ return writer.getResultBuffer();
1253
+ };
1254
+
1255
+
1256
+ /**
1257
+ * Serializes the given message to binary data (in protobuf wire
1258
+ * format), writing to the given BinaryWriter.
1259
+ * @param {!proto.fintekkers.requests.valuation.CurvePoint} message
1260
+ * @param {!jspb.BinaryWriter} writer
1261
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1262
+ */
1263
+ proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter = function(message, writer) {
1264
+ var f = undefined;
1265
+ f = message.getTenor();
1266
+ if (f != null) {
1267
+ writer.writeMessage(
1268
+ 1,
1269
+ f,
1270
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
1271
+ );
1272
+ }
1273
+ f = message.getRate();
1274
+ if (f != null) {
1275
+ writer.writeMessage(
1276
+ 2,
1277
+ f,
1278
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
1279
+ );
1280
+ }
1281
+ };
1282
+
1283
+
1284
+ /**
1285
+ * optional fintekkers.models.util.DecimalValueProto tenor = 1;
1286
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
1287
+ */
1288
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.getTenor = function() {
1289
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1290
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 1));
1291
+ };
1292
+
1293
+
1294
+ /**
1295
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1296
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1297
+ */
1298
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.setTenor = function(value) {
1299
+ return jspb.Message.setWrapperField(this, 1, value);
1300
+ };
1301
+
1302
+
1303
+ /**
1304
+ * Clears the message field making it undefined.
1305
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1306
+ */
1307
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.clearTenor = function() {
1308
+ return this.setTenor(undefined);
1309
+ };
1310
+
1311
+
1312
+ /**
1313
+ * Returns whether this field is set.
1314
+ * @return {boolean}
1315
+ */
1316
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.hasTenor = function() {
1317
+ return jspb.Message.getField(this, 1) != null;
1318
+ };
1319
+
1320
+
1321
+ /**
1322
+ * optional fintekkers.models.util.DecimalValueProto rate = 2;
1323
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
1324
+ */
1325
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.getRate = function() {
1326
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1327
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
1328
+ };
1329
+
1330
+
1331
+ /**
1332
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1333
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1334
+ */
1335
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.setRate = function(value) {
1336
+ return jspb.Message.setWrapperField(this, 2, value);
726
1337
  };
727
1338
 
728
1339
 
729
1340
  /**
730
1341
  * Clears the message field making it undefined.
731
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1342
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
732
1343
  */
733
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.clearReferenceDate = function() {
1344
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.clearRate = function() {
1345
+ return this.setRate(undefined);
1346
+ };
1347
+
1348
+
1349
+ /**
1350
+ * Returns whether this field is set.
1351
+ * @return {boolean}
1352
+ */
1353
+ proto.fintekkers.requests.valuation.CurvePoint.prototype.hasRate = function() {
1354
+ return jspb.Message.getField(this, 2) != null;
1355
+ };
1356
+
1357
+
1358
+
1359
+ /**
1360
+ * List of repeated fields within this message type.
1361
+ * @private {!Array<number>}
1362
+ * @const
1363
+ */
1364
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.repeatedFields_ = [3];
1365
+
1366
+
1367
+
1368
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1369
+ /**
1370
+ * Creates an object representation of this proto.
1371
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1372
+ * Optional fields that are not set will be set to undefined.
1373
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1374
+ * For the list of reserved names please see:
1375
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1376
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1377
+ * JSPB instance for transitional soy proto support:
1378
+ * http://goto/soy-param-migration
1379
+ * @return {!Object}
1380
+ */
1381
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.toObject = function(opt_includeInstance) {
1382
+ return proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(opt_includeInstance, this);
1383
+ };
1384
+
1385
+
1386
+ /**
1387
+ * Static version of the {@see toObject} method.
1388
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1389
+ * the JSPB instance for transitional soy proto support:
1390
+ * http://goto/soy-param-migration
1391
+ * @param {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} msg The msg instance to transform.
1392
+ * @return {!Object}
1393
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1394
+ */
1395
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject = function(includeInstance, msg) {
1396
+ var f, obj = {
1397
+ index: jspb.Message.getFieldWithDefault(msg, 1, 0),
1398
+ referenceDate: (f = msg.getReferenceDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
1399
+ pointsList: jspb.Message.toObjectList(msg.getPointsList(),
1400
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject, includeInstance)
1401
+ };
1402
+
1403
+ if (includeInstance) {
1404
+ obj.$jspbMessageInstance = msg;
1405
+ }
1406
+ return obj;
1407
+ };
1408
+ }
1409
+
1410
+
1411
+ /**
1412
+ * Deserializes binary data (in protobuf wire format).
1413
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1414
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput}
1415
+ */
1416
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinary = function(bytes) {
1417
+ var reader = new jspb.BinaryReader(bytes);
1418
+ var msg = new proto.fintekkers.requests.valuation.SecurityBasedCurveInput;
1419
+ return proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinaryFromReader(msg, reader);
1420
+ };
1421
+
1422
+
1423
+ /**
1424
+ * Deserializes binary data (in protobuf wire format) from the
1425
+ * given reader into the given message object.
1426
+ * @param {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} msg The message object to deserialize into.
1427
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1428
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput}
1429
+ */
1430
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinaryFromReader = function(msg, reader) {
1431
+ while (reader.nextField()) {
1432
+ if (reader.isEndGroup()) {
1433
+ break;
1434
+ }
1435
+ var field = reader.getFieldNumber();
1436
+ switch (field) {
1437
+ case 1:
1438
+ var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
1439
+ msg.setIndex(value);
1440
+ break;
1441
+ case 2:
1442
+ var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
1443
+ reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
1444
+ msg.setReferenceDate(value);
1445
+ break;
1446
+ case 3:
1447
+ var value = new proto.fintekkers.requests.valuation.SecurityCurvePoint;
1448
+ reader.readMessage(value,proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinaryFromReader);
1449
+ msg.addPoints(value);
1450
+ break;
1451
+ default:
1452
+ reader.skipField();
1453
+ break;
1454
+ }
1455
+ }
1456
+ return msg;
1457
+ };
1458
+
1459
+
1460
+ /**
1461
+ * Serializes the message to binary data (in protobuf wire format).
1462
+ * @return {!Uint8Array}
1463
+ */
1464
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.serializeBinary = function() {
1465
+ var writer = new jspb.BinaryWriter();
1466
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.serializeBinaryToWriter(this, writer);
1467
+ return writer.getResultBuffer();
1468
+ };
1469
+
1470
+
1471
+ /**
1472
+ * Serializes the given message to binary data (in protobuf wire
1473
+ * format), writing to the given BinaryWriter.
1474
+ * @param {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} message
1475
+ * @param {!jspb.BinaryWriter} writer
1476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1477
+ */
1478
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.serializeBinaryToWriter = function(message, writer) {
1479
+ var f = undefined;
1480
+ f = message.getIndex();
1481
+ if (f !== 0.0) {
1482
+ writer.writeEnum(
1483
+ 1,
1484
+ f
1485
+ );
1486
+ }
1487
+ f = message.getReferenceDate();
1488
+ if (f != null) {
1489
+ writer.writeMessage(
1490
+ 2,
1491
+ f,
1492
+ fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
1493
+ );
1494
+ }
1495
+ f = message.getPointsList();
1496
+ if (f.length > 0) {
1497
+ writer.writeRepeatedMessage(
1498
+ 3,
1499
+ f,
1500
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.serializeBinaryToWriter
1501
+ );
1502
+ }
1503
+ };
1504
+
1505
+
1506
+ /**
1507
+ * optional fintekkers.models.security.index.IndexTypeProto index = 1;
1508
+ * @return {!proto.fintekkers.models.security.index.IndexTypeProto}
1509
+ */
1510
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.getIndex = function() {
1511
+ return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1512
+ };
1513
+
1514
+
1515
+ /**
1516
+ * @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
1517
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
1518
+ */
1519
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.setIndex = function(value) {
1520
+ return jspb.Message.setProto3EnumField(this, 1, value);
1521
+ };
1522
+
1523
+
1524
+ /**
1525
+ * optional fintekkers.models.util.LocalDateProto reference_date = 2;
1526
+ * @return {?proto.fintekkers.models.util.LocalDateProto}
1527
+ */
1528
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.getReferenceDate = function() {
1529
+ return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
1530
+ jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 2));
1531
+ };
1532
+
1533
+
1534
+ /**
1535
+ * @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
1536
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
1537
+ */
1538
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.setReferenceDate = function(value) {
1539
+ return jspb.Message.setWrapperField(this, 2, value);
1540
+ };
1541
+
1542
+
1543
+ /**
1544
+ * Clears the message field making it undefined.
1545
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
1546
+ */
1547
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.clearReferenceDate = function() {
734
1548
  return this.setReferenceDate(undefined);
735
1549
  };
736
1550
 
@@ -739,45 +1553,45 @@ proto.fintekkers.requests.valuation.YieldCurveInput.prototype.clearReferenceDate
739
1553
  * Returns whether this field is set.
740
1554
  * @return {boolean}
741
1555
  */
742
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.hasReferenceDate = function() {
1556
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.hasReferenceDate = function() {
743
1557
  return jspb.Message.getField(this, 2) != null;
744
1558
  };
745
1559
 
746
1560
 
747
1561
  /**
748
- * repeated CurvePoint points = 3;
749
- * @return {!Array<!proto.fintekkers.requests.valuation.CurvePoint>}
1562
+ * repeated SecurityCurvePoint points = 3;
1563
+ * @return {!Array<!proto.fintekkers.requests.valuation.SecurityCurvePoint>}
750
1564
  */
751
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.getPointsList = function() {
752
- return /** @type{!Array<!proto.fintekkers.requests.valuation.CurvePoint>} */ (
753
- jspb.Message.getRepeatedWrapperField(this, proto.fintekkers.requests.valuation.CurvePoint, 3));
1565
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.getPointsList = function() {
1566
+ return /** @type{!Array<!proto.fintekkers.requests.valuation.SecurityCurvePoint>} */ (
1567
+ jspb.Message.getRepeatedWrapperField(this, proto.fintekkers.requests.valuation.SecurityCurvePoint, 3));
754
1568
  };
755
1569
 
756
1570
 
757
1571
  /**
758
- * @param {!Array<!proto.fintekkers.requests.valuation.CurvePoint>} value
759
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1572
+ * @param {!Array<!proto.fintekkers.requests.valuation.SecurityCurvePoint>} value
1573
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
760
1574
  */
761
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.setPointsList = function(value) {
1575
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.setPointsList = function(value) {
762
1576
  return jspb.Message.setRepeatedWrapperField(this, 3, value);
763
1577
  };
764
1578
 
765
1579
 
766
1580
  /**
767
- * @param {!proto.fintekkers.requests.valuation.CurvePoint=} opt_value
1581
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint=} opt_value
768
1582
  * @param {number=} opt_index
769
- * @return {!proto.fintekkers.requests.valuation.CurvePoint}
1583
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
770
1584
  */
771
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.addPoints = function(opt_value, opt_index) {
772
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.fintekkers.requests.valuation.CurvePoint, opt_index);
1585
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.addPoints = function(opt_value, opt_index) {
1586
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.fintekkers.requests.valuation.SecurityCurvePoint, opt_index);
773
1587
  };
774
1588
 
775
1589
 
776
1590
  /**
777
1591
  * Clears the list making it empty but non-null.
778
- * @return {!proto.fintekkers.requests.valuation.YieldCurveInput} returns this
1592
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
779
1593
  */
780
- proto.fintekkers.requests.valuation.YieldCurveInput.prototype.clearPointsList = function() {
1594
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.clearPointsList = function() {
781
1595
  return this.setPointsList([]);
782
1596
  };
783
1597
 
@@ -798,8 +1612,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
798
1612
  * http://goto/soy-param-migration
799
1613
  * @return {!Object}
800
1614
  */
801
- proto.fintekkers.requests.valuation.CurvePoint.prototype.toObject = function(opt_includeInstance) {
802
- return proto.fintekkers.requests.valuation.CurvePoint.toObject(opt_includeInstance, this);
1615
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.toObject = function(opt_includeInstance) {
1616
+ return proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject(opt_includeInstance, this);
803
1617
  };
804
1618
 
805
1619
 
@@ -808,14 +1622,14 @@ proto.fintekkers.requests.valuation.CurvePoint.prototype.toObject = function(opt
808
1622
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
809
1623
  * the JSPB instance for transitional soy proto support:
810
1624
  * http://goto/soy-param-migration
811
- * @param {!proto.fintekkers.requests.valuation.CurvePoint} msg The msg instance to transform.
1625
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint} msg The msg instance to transform.
812
1626
  * @return {!Object}
813
1627
  * @suppress {unusedLocalVariables} f is only used for nested messages
814
1628
  */
815
- proto.fintekkers.requests.valuation.CurvePoint.toObject = function(includeInstance, msg) {
1629
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject = function(includeInstance, msg) {
816
1630
  var f, obj = {
817
- tenor: (f = msg.getTenor()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
818
- rate: (f = msg.getRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
1631
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
1632
+ cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
819
1633
  };
820
1634
 
821
1635
  if (includeInstance) {
@@ -829,23 +1643,23 @@ rate: (f = msg.getRate()) && fintekkers_models_util_decimal_value_pb.DecimalValu
829
1643
  /**
830
1644
  * Deserializes binary data (in protobuf wire format).
831
1645
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
832
- * @return {!proto.fintekkers.requests.valuation.CurvePoint}
1646
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
833
1647
  */
834
- proto.fintekkers.requests.valuation.CurvePoint.deserializeBinary = function(bytes) {
1648
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinary = function(bytes) {
835
1649
  var reader = new jspb.BinaryReader(bytes);
836
- var msg = new proto.fintekkers.requests.valuation.CurvePoint;
837
- return proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader(msg, reader);
1650
+ var msg = new proto.fintekkers.requests.valuation.SecurityCurvePoint;
1651
+ return proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinaryFromReader(msg, reader);
838
1652
  };
839
1653
 
840
1654
 
841
1655
  /**
842
1656
  * Deserializes binary data (in protobuf wire format) from the
843
1657
  * given reader into the given message object.
844
- * @param {!proto.fintekkers.requests.valuation.CurvePoint} msg The message object to deserialize into.
1658
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint} msg The message object to deserialize into.
845
1659
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
846
- * @return {!proto.fintekkers.requests.valuation.CurvePoint}
1660
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
847
1661
  */
848
- proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader = function(msg, reader) {
1662
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinaryFromReader = function(msg, reader) {
849
1663
  while (reader.nextField()) {
850
1664
  if (reader.isEndGroup()) {
851
1665
  break;
@@ -853,14 +1667,14 @@ proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader = fun
853
1667
  var field = reader.getFieldNumber();
854
1668
  switch (field) {
855
1669
  case 1:
856
- var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
857
- reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
858
- msg.setTenor(value);
1670
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
1671
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
1672
+ msg.setSecurity(value);
859
1673
  break;
860
1674
  case 2:
861
1675
  var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
862
1676
  reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
863
- msg.setRate(value);
1677
+ msg.setCleanPrice(value);
864
1678
  break;
865
1679
  default:
866
1680
  reader.skipField();
@@ -875,9 +1689,9 @@ proto.fintekkers.requests.valuation.CurvePoint.deserializeBinaryFromReader = fun
875
1689
  * Serializes the message to binary data (in protobuf wire format).
876
1690
  * @return {!Uint8Array}
877
1691
  */
878
- proto.fintekkers.requests.valuation.CurvePoint.prototype.serializeBinary = function() {
1692
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.serializeBinary = function() {
879
1693
  var writer = new jspb.BinaryWriter();
880
- proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter(this, writer);
1694
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.serializeBinaryToWriter(this, writer);
881
1695
  return writer.getResultBuffer();
882
1696
  };
883
1697
 
@@ -885,21 +1699,21 @@ proto.fintekkers.requests.valuation.CurvePoint.prototype.serializeBinary = funct
885
1699
  /**
886
1700
  * Serializes the given message to binary data (in protobuf wire
887
1701
  * format), writing to the given BinaryWriter.
888
- * @param {!proto.fintekkers.requests.valuation.CurvePoint} message
1702
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint} message
889
1703
  * @param {!jspb.BinaryWriter} writer
890
1704
  * @suppress {unusedLocalVariables} f is only used for nested messages
891
1705
  */
892
- proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter = function(message, writer) {
1706
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.serializeBinaryToWriter = function(message, writer) {
893
1707
  var f = undefined;
894
- f = message.getTenor();
1708
+ f = message.getSecurity();
895
1709
  if (f != null) {
896
1710
  writer.writeMessage(
897
1711
  1,
898
1712
  f,
899
- fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
1713
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
900
1714
  );
901
1715
  }
902
- f = message.getRate();
1716
+ f = message.getCleanPrice();
903
1717
  if (f != null) {
904
1718
  writer.writeMessage(
905
1719
  2,
@@ -911,30 +1725,30 @@ proto.fintekkers.requests.valuation.CurvePoint.serializeBinaryToWriter = functio
911
1725
 
912
1726
 
913
1727
  /**
914
- * optional fintekkers.models.util.DecimalValueProto tenor = 1;
915
- * @return {?proto.fintekkers.models.util.DecimalValueProto}
1728
+ * optional fintekkers.models.security.SecurityProto security = 1;
1729
+ * @return {?proto.fintekkers.models.security.SecurityProto}
916
1730
  */
917
- proto.fintekkers.requests.valuation.CurvePoint.prototype.getTenor = function() {
918
- return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
919
- jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 1));
1731
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.getSecurity = function() {
1732
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
1733
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
920
1734
  };
921
1735
 
922
1736
 
923
1737
  /**
924
- * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
925
- * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1738
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
1739
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
926
1740
  */
927
- proto.fintekkers.requests.valuation.CurvePoint.prototype.setTenor = function(value) {
1741
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.setSecurity = function(value) {
928
1742
  return jspb.Message.setWrapperField(this, 1, value);
929
1743
  };
930
1744
 
931
1745
 
932
1746
  /**
933
1747
  * Clears the message field making it undefined.
934
- * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1748
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
935
1749
  */
936
- proto.fintekkers.requests.valuation.CurvePoint.prototype.clearTenor = function() {
937
- return this.setTenor(undefined);
1750
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.clearSecurity = function() {
1751
+ return this.setSecurity(undefined);
938
1752
  };
939
1753
 
940
1754
 
@@ -942,16 +1756,16 @@ proto.fintekkers.requests.valuation.CurvePoint.prototype.clearTenor = function()
942
1756
  * Returns whether this field is set.
943
1757
  * @return {boolean}
944
1758
  */
945
- proto.fintekkers.requests.valuation.CurvePoint.prototype.hasTenor = function() {
1759
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.hasSecurity = function() {
946
1760
  return jspb.Message.getField(this, 1) != null;
947
1761
  };
948
1762
 
949
1763
 
950
1764
  /**
951
- * optional fintekkers.models.util.DecimalValueProto rate = 2;
1765
+ * optional fintekkers.models.util.DecimalValueProto clean_price = 2;
952
1766
  * @return {?proto.fintekkers.models.util.DecimalValueProto}
953
1767
  */
954
- proto.fintekkers.requests.valuation.CurvePoint.prototype.getRate = function() {
1768
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.getCleanPrice = function() {
955
1769
  return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
956
1770
  jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
957
1771
  };
@@ -959,19 +1773,19 @@ proto.fintekkers.requests.valuation.CurvePoint.prototype.getRate = function() {
959
1773
 
960
1774
  /**
961
1775
  * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
962
- * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1776
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
963
1777
  */
964
- proto.fintekkers.requests.valuation.CurvePoint.prototype.setRate = function(value) {
1778
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.setCleanPrice = function(value) {
965
1779
  return jspb.Message.setWrapperField(this, 2, value);
966
1780
  };
967
1781
 
968
1782
 
969
1783
  /**
970
1784
  * Clears the message field making it undefined.
971
- * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1785
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
972
1786
  */
973
- proto.fintekkers.requests.valuation.CurvePoint.prototype.clearRate = function() {
974
- return this.setRate(undefined);
1787
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.clearCleanPrice = function() {
1788
+ return this.setCleanPrice(undefined);
975
1789
  };
976
1790
 
977
1791
 
@@ -979,7 +1793,7 @@ proto.fintekkers.requests.valuation.CurvePoint.prototype.clearRate = function()
979
1793
  * Returns whether this field is set.
980
1794
  * @return {boolean}
981
1795
  */
982
- proto.fintekkers.requests.valuation.CurvePoint.prototype.hasRate = function() {
1796
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.hasCleanPrice = function() {
983
1797
  return jspb.Message.getField(this, 2) != null;
984
1798
  };
985
1799