@fintekkers/ledger-models 1.1.18 → 1.1.20

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.
@@ -34,11 +34,14 @@ goog.object.extend(proto, fintekkers_models_util_decimal_value_pb);
34
34
  var fintekkers_models_util_local_date_pb = require('../../../fintekkers/models/util/local_date_pb.js');
35
35
  goog.object.extend(proto, fintekkers_models_util_local_date_pb);
36
36
  goog.exportSymbol('proto.fintekkers.requests.valuation.BondInput', null, global);
37
+ goog.exportSymbol('proto.fintekkers.requests.valuation.CashInput', null, global);
37
38
  goog.exportSymbol('proto.fintekkers.requests.valuation.CostBasisInput', null, global);
38
39
  goog.exportSymbol('proto.fintekkers.requests.valuation.CurvePoint', null, global);
40
+ goog.exportSymbol('proto.fintekkers.requests.valuation.EquityInput', null, global);
39
41
  goog.exportSymbol('proto.fintekkers.requests.valuation.FrnInput', null, global);
40
42
  goog.exportSymbol('proto.fintekkers.requests.valuation.InflationIndexInput', null, global);
41
43
  goog.exportSymbol('proto.fintekkers.requests.valuation.InflationIndexInput.CpiCase', null, global);
44
+ goog.exportSymbol('proto.fintekkers.requests.valuation.MbsInput', null, global);
42
45
  goog.exportSymbol('proto.fintekkers.requests.valuation.MonthlyIndexReading', null, global);
43
46
  goog.exportSymbol('proto.fintekkers.requests.valuation.MonthlyIndexReadings', null, global);
44
47
  goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput', null, global);
@@ -237,6 +240,69 @@ if (goog.DEBUG && !COMPILED) {
237
240
  */
238
241
  proto.fintekkers.requests.valuation.ReferenceRateFixingProto.displayName = 'proto.fintekkers.requests.valuation.ReferenceRateFixingProto';
239
242
  }
243
+ /**
244
+ * Generated by JsPbCodeGenerator.
245
+ * @param {Array=} opt_data Optional initial data array, typically from a
246
+ * server response, or constructed directly in Javascript. The array is used
247
+ * in place and becomes part of the constructed object. It is not cloned.
248
+ * If no data is provided, the constructed object will be empty, but still
249
+ * valid.
250
+ * @extends {jspb.Message}
251
+ * @constructor
252
+ */
253
+ proto.fintekkers.requests.valuation.MbsInput = function(opt_data) {
254
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
255
+ };
256
+ goog.inherits(proto.fintekkers.requests.valuation.MbsInput, jspb.Message);
257
+ if (goog.DEBUG && !COMPILED) {
258
+ /**
259
+ * @public
260
+ * @override
261
+ */
262
+ proto.fintekkers.requests.valuation.MbsInput.displayName = 'proto.fintekkers.requests.valuation.MbsInput';
263
+ }
264
+ /**
265
+ * Generated by JsPbCodeGenerator.
266
+ * @param {Array=} opt_data Optional initial data array, typically from a
267
+ * server response, or constructed directly in Javascript. The array is used
268
+ * in place and becomes part of the constructed object. It is not cloned.
269
+ * If no data is provided, the constructed object will be empty, but still
270
+ * valid.
271
+ * @extends {jspb.Message}
272
+ * @constructor
273
+ */
274
+ proto.fintekkers.requests.valuation.EquityInput = function(opt_data) {
275
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
276
+ };
277
+ goog.inherits(proto.fintekkers.requests.valuation.EquityInput, jspb.Message);
278
+ if (goog.DEBUG && !COMPILED) {
279
+ /**
280
+ * @public
281
+ * @override
282
+ */
283
+ proto.fintekkers.requests.valuation.EquityInput.displayName = 'proto.fintekkers.requests.valuation.EquityInput';
284
+ }
285
+ /**
286
+ * Generated by JsPbCodeGenerator.
287
+ * @param {Array=} opt_data Optional initial data array, typically from a
288
+ * server response, or constructed directly in Javascript. The array is used
289
+ * in place and becomes part of the constructed object. It is not cloned.
290
+ * If no data is provided, the constructed object will be empty, but still
291
+ * valid.
292
+ * @extends {jspb.Message}
293
+ * @constructor
294
+ */
295
+ proto.fintekkers.requests.valuation.CashInput = function(opt_data) {
296
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
297
+ };
298
+ goog.inherits(proto.fintekkers.requests.valuation.CashInput, jspb.Message);
299
+ if (goog.DEBUG && !COMPILED) {
300
+ /**
301
+ * @public
302
+ * @override
303
+ */
304
+ proto.fintekkers.requests.valuation.CashInput.displayName = 'proto.fintekkers.requests.valuation.CashInput';
305
+ }
240
306
  /**
241
307
  * Generated by JsPbCodeGenerator.
242
308
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -330,7 +396,7 @@ if (goog.DEBUG && !COMPILED) {
330
396
  * @private {!Array<!Array<number>>}
331
397
  * @const
332
398
  */
333
- proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,2,8]];
399
+ proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,2,8,13,14,15]];
334
400
 
335
401
  /**
336
402
  * @enum {number}
@@ -339,7 +405,10 @@ proto.fintekkers.requests.valuation.ProductInput.InputCase = {
339
405
  INPUT_NOT_SET: 0,
340
406
  BOND: 1,
341
407
  TIPS: 2,
342
- FRN: 8
408
+ FRN: 8,
409
+ MBS: 13,
410
+ EQUITY: 14,
411
+ CASH: 15
343
412
  };
344
413
 
345
414
  /**
@@ -382,7 +451,10 @@ proto.fintekkers.requests.valuation.ProductInput.toObject = function(includeInst
382
451
  var f, obj = {
383
452
  bond: (f = msg.getBond()) && proto.fintekkers.requests.valuation.BondInput.toObject(includeInstance, f),
384
453
  tips: (f = msg.getTips()) && proto.fintekkers.requests.valuation.TipsInput.toObject(includeInstance, f),
385
- frn: (f = msg.getFrn()) && proto.fintekkers.requests.valuation.FrnInput.toObject(includeInstance, f)
454
+ frn: (f = msg.getFrn()) && proto.fintekkers.requests.valuation.FrnInput.toObject(includeInstance, f),
455
+ mbs: (f = msg.getMbs()) && proto.fintekkers.requests.valuation.MbsInput.toObject(includeInstance, f),
456
+ equity: (f = msg.getEquity()) && proto.fintekkers.requests.valuation.EquityInput.toObject(includeInstance, f),
457
+ cash: (f = msg.getCash()) && proto.fintekkers.requests.valuation.CashInput.toObject(includeInstance, f)
386
458
  };
387
459
 
388
460
  if (includeInstance) {
@@ -434,6 +506,21 @@ proto.fintekkers.requests.valuation.ProductInput.deserializeBinaryFromReader = f
434
506
  reader.readMessage(value,proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader);
435
507
  msg.setFrn(value);
436
508
  break;
509
+ case 13:
510
+ var value = new proto.fintekkers.requests.valuation.MbsInput;
511
+ reader.readMessage(value,proto.fintekkers.requests.valuation.MbsInput.deserializeBinaryFromReader);
512
+ msg.setMbs(value);
513
+ break;
514
+ case 14:
515
+ var value = new proto.fintekkers.requests.valuation.EquityInput;
516
+ reader.readMessage(value,proto.fintekkers.requests.valuation.EquityInput.deserializeBinaryFromReader);
517
+ msg.setEquity(value);
518
+ break;
519
+ case 15:
520
+ var value = new proto.fintekkers.requests.valuation.CashInput;
521
+ reader.readMessage(value,proto.fintekkers.requests.valuation.CashInput.deserializeBinaryFromReader);
522
+ msg.setCash(value);
523
+ break;
437
524
  default:
438
525
  reader.skipField();
439
526
  break;
@@ -487,6 +574,30 @@ proto.fintekkers.requests.valuation.ProductInput.serializeBinaryToWriter = funct
487
574
  proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter
488
575
  );
489
576
  }
577
+ f = message.getMbs();
578
+ if (f != null) {
579
+ writer.writeMessage(
580
+ 13,
581
+ f,
582
+ proto.fintekkers.requests.valuation.MbsInput.serializeBinaryToWriter
583
+ );
584
+ }
585
+ f = message.getEquity();
586
+ if (f != null) {
587
+ writer.writeMessage(
588
+ 14,
589
+ f,
590
+ proto.fintekkers.requests.valuation.EquityInput.serializeBinaryToWriter
591
+ );
592
+ }
593
+ f = message.getCash();
594
+ if (f != null) {
595
+ writer.writeMessage(
596
+ 15,
597
+ f,
598
+ proto.fintekkers.requests.valuation.CashInput.serializeBinaryToWriter
599
+ );
600
+ }
490
601
  };
491
602
 
492
603
 
@@ -601,6 +712,117 @@ proto.fintekkers.requests.valuation.ProductInput.prototype.hasFrn = function() {
601
712
  };
602
713
 
603
714
 
715
+ /**
716
+ * optional MbsInput mbs = 13;
717
+ * @return {?proto.fintekkers.requests.valuation.MbsInput}
718
+ */
719
+ proto.fintekkers.requests.valuation.ProductInput.prototype.getMbs = function() {
720
+ return /** @type{?proto.fintekkers.requests.valuation.MbsInput} */ (
721
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.MbsInput, 13));
722
+ };
723
+
724
+
725
+ /**
726
+ * @param {?proto.fintekkers.requests.valuation.MbsInput|undefined} value
727
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
728
+ */
729
+ proto.fintekkers.requests.valuation.ProductInput.prototype.setMbs = function(value) {
730
+ return jspb.Message.setOneofWrapperField(this, 13, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0], value);
731
+ };
732
+
733
+
734
+ /**
735
+ * Clears the message field making it undefined.
736
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
737
+ */
738
+ proto.fintekkers.requests.valuation.ProductInput.prototype.clearMbs = function() {
739
+ return this.setMbs(undefined);
740
+ };
741
+
742
+
743
+ /**
744
+ * Returns whether this field is set.
745
+ * @return {boolean}
746
+ */
747
+ proto.fintekkers.requests.valuation.ProductInput.prototype.hasMbs = function() {
748
+ return jspb.Message.getField(this, 13) != null;
749
+ };
750
+
751
+
752
+ /**
753
+ * optional EquityInput equity = 14;
754
+ * @return {?proto.fintekkers.requests.valuation.EquityInput}
755
+ */
756
+ proto.fintekkers.requests.valuation.ProductInput.prototype.getEquity = function() {
757
+ return /** @type{?proto.fintekkers.requests.valuation.EquityInput} */ (
758
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.EquityInput, 14));
759
+ };
760
+
761
+
762
+ /**
763
+ * @param {?proto.fintekkers.requests.valuation.EquityInput|undefined} value
764
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
765
+ */
766
+ proto.fintekkers.requests.valuation.ProductInput.prototype.setEquity = function(value) {
767
+ return jspb.Message.setOneofWrapperField(this, 14, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0], value);
768
+ };
769
+
770
+
771
+ /**
772
+ * Clears the message field making it undefined.
773
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
774
+ */
775
+ proto.fintekkers.requests.valuation.ProductInput.prototype.clearEquity = function() {
776
+ return this.setEquity(undefined);
777
+ };
778
+
779
+
780
+ /**
781
+ * Returns whether this field is set.
782
+ * @return {boolean}
783
+ */
784
+ proto.fintekkers.requests.valuation.ProductInput.prototype.hasEquity = function() {
785
+ return jspb.Message.getField(this, 14) != null;
786
+ };
787
+
788
+
789
+ /**
790
+ * optional CashInput cash = 15;
791
+ * @return {?proto.fintekkers.requests.valuation.CashInput}
792
+ */
793
+ proto.fintekkers.requests.valuation.ProductInput.prototype.getCash = function() {
794
+ return /** @type{?proto.fintekkers.requests.valuation.CashInput} */ (
795
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.CashInput, 15));
796
+ };
797
+
798
+
799
+ /**
800
+ * @param {?proto.fintekkers.requests.valuation.CashInput|undefined} value
801
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
802
+ */
803
+ proto.fintekkers.requests.valuation.ProductInput.prototype.setCash = function(value) {
804
+ return jspb.Message.setOneofWrapperField(this, 15, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0], value);
805
+ };
806
+
807
+
808
+ /**
809
+ * Clears the message field making it undefined.
810
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
811
+ */
812
+ proto.fintekkers.requests.valuation.ProductInput.prototype.clearCash = function() {
813
+ return this.setCash(undefined);
814
+ };
815
+
816
+
817
+ /**
818
+ * Returns whether this field is set.
819
+ * @return {boolean}
820
+ */
821
+ proto.fintekkers.requests.valuation.ProductInput.prototype.hasCash = function() {
822
+ return jspb.Message.getField(this, 15) != null;
823
+ };
824
+
825
+
604
826
 
605
827
 
606
828
 
@@ -2769,6 +2991,663 @@ proto.fintekkers.requests.valuation.ReferenceRateFixingProto.prototype.hasBillIs
2769
2991
 
2770
2992
 
2771
2993
 
2994
+
2995
+
2996
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2997
+ /**
2998
+ * Creates an object representation of this proto.
2999
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3000
+ * Optional fields that are not set will be set to undefined.
3001
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3002
+ * For the list of reserved names please see:
3003
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3004
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3005
+ * JSPB instance for transitional soy proto support:
3006
+ * http://goto/soy-param-migration
3007
+ * @return {!Object}
3008
+ */
3009
+ proto.fintekkers.requests.valuation.MbsInput.prototype.toObject = function(opt_includeInstance) {
3010
+ return proto.fintekkers.requests.valuation.MbsInput.toObject(opt_includeInstance, this);
3011
+ };
3012
+
3013
+
3014
+ /**
3015
+ * Static version of the {@see toObject} method.
3016
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3017
+ * the JSPB instance for transitional soy proto support:
3018
+ * http://goto/soy-param-migration
3019
+ * @param {!proto.fintekkers.requests.valuation.MbsInput} msg The msg instance to transform.
3020
+ * @return {!Object}
3021
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3022
+ */
3023
+ proto.fintekkers.requests.valuation.MbsInput.toObject = function(includeInstance, msg) {
3024
+ var f, obj = {
3025
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
3026
+ cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
3027
+ costBasis: (f = msg.getCostBasis()) && proto.fintekkers.requests.valuation.CostBasisInput.toObject(includeInstance, f)
3028
+ };
3029
+
3030
+ if (includeInstance) {
3031
+ obj.$jspbMessageInstance = msg;
3032
+ }
3033
+ return obj;
3034
+ };
3035
+ }
3036
+
3037
+
3038
+ /**
3039
+ * Deserializes binary data (in protobuf wire format).
3040
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3041
+ * @return {!proto.fintekkers.requests.valuation.MbsInput}
3042
+ */
3043
+ proto.fintekkers.requests.valuation.MbsInput.deserializeBinary = function(bytes) {
3044
+ var reader = new jspb.BinaryReader(bytes);
3045
+ var msg = new proto.fintekkers.requests.valuation.MbsInput;
3046
+ return proto.fintekkers.requests.valuation.MbsInput.deserializeBinaryFromReader(msg, reader);
3047
+ };
3048
+
3049
+
3050
+ /**
3051
+ * Deserializes binary data (in protobuf wire format) from the
3052
+ * given reader into the given message object.
3053
+ * @param {!proto.fintekkers.requests.valuation.MbsInput} msg The message object to deserialize into.
3054
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3055
+ * @return {!proto.fintekkers.requests.valuation.MbsInput}
3056
+ */
3057
+ proto.fintekkers.requests.valuation.MbsInput.deserializeBinaryFromReader = function(msg, reader) {
3058
+ while (reader.nextField()) {
3059
+ if (reader.isEndGroup()) {
3060
+ break;
3061
+ }
3062
+ var field = reader.getFieldNumber();
3063
+ switch (field) {
3064
+ case 1:
3065
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
3066
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
3067
+ msg.setSecurity(value);
3068
+ break;
3069
+ case 2:
3070
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
3071
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
3072
+ msg.setCleanPrice(value);
3073
+ break;
3074
+ case 20:
3075
+ var value = new proto.fintekkers.requests.valuation.CostBasisInput;
3076
+ reader.readMessage(value,proto.fintekkers.requests.valuation.CostBasisInput.deserializeBinaryFromReader);
3077
+ msg.setCostBasis(value);
3078
+ break;
3079
+ default:
3080
+ reader.skipField();
3081
+ break;
3082
+ }
3083
+ }
3084
+ return msg;
3085
+ };
3086
+
3087
+
3088
+ /**
3089
+ * Serializes the message to binary data (in protobuf wire format).
3090
+ * @return {!Uint8Array}
3091
+ */
3092
+ proto.fintekkers.requests.valuation.MbsInput.prototype.serializeBinary = function() {
3093
+ var writer = new jspb.BinaryWriter();
3094
+ proto.fintekkers.requests.valuation.MbsInput.serializeBinaryToWriter(this, writer);
3095
+ return writer.getResultBuffer();
3096
+ };
3097
+
3098
+
3099
+ /**
3100
+ * Serializes the given message to binary data (in protobuf wire
3101
+ * format), writing to the given BinaryWriter.
3102
+ * @param {!proto.fintekkers.requests.valuation.MbsInput} message
3103
+ * @param {!jspb.BinaryWriter} writer
3104
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3105
+ */
3106
+ proto.fintekkers.requests.valuation.MbsInput.serializeBinaryToWriter = function(message, writer) {
3107
+ var f = undefined;
3108
+ f = message.getSecurity();
3109
+ if (f != null) {
3110
+ writer.writeMessage(
3111
+ 1,
3112
+ f,
3113
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
3114
+ );
3115
+ }
3116
+ f = message.getCleanPrice();
3117
+ if (f != null) {
3118
+ writer.writeMessage(
3119
+ 2,
3120
+ f,
3121
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
3122
+ );
3123
+ }
3124
+ f = message.getCostBasis();
3125
+ if (f != null) {
3126
+ writer.writeMessage(
3127
+ 20,
3128
+ f,
3129
+ proto.fintekkers.requests.valuation.CostBasisInput.serializeBinaryToWriter
3130
+ );
3131
+ }
3132
+ };
3133
+
3134
+
3135
+ /**
3136
+ * optional fintekkers.models.security.SecurityProto security = 1;
3137
+ * @return {?proto.fintekkers.models.security.SecurityProto}
3138
+ */
3139
+ proto.fintekkers.requests.valuation.MbsInput.prototype.getSecurity = function() {
3140
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
3141
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
3142
+ };
3143
+
3144
+
3145
+ /**
3146
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
3147
+ * @return {!proto.fintekkers.requests.valuation.MbsInput} returns this
3148
+ */
3149
+ proto.fintekkers.requests.valuation.MbsInput.prototype.setSecurity = function(value) {
3150
+ return jspb.Message.setWrapperField(this, 1, value);
3151
+ };
3152
+
3153
+
3154
+ /**
3155
+ * Clears the message field making it undefined.
3156
+ * @return {!proto.fintekkers.requests.valuation.MbsInput} returns this
3157
+ */
3158
+ proto.fintekkers.requests.valuation.MbsInput.prototype.clearSecurity = function() {
3159
+ return this.setSecurity(undefined);
3160
+ };
3161
+
3162
+
3163
+ /**
3164
+ * Returns whether this field is set.
3165
+ * @return {boolean}
3166
+ */
3167
+ proto.fintekkers.requests.valuation.MbsInput.prototype.hasSecurity = function() {
3168
+ return jspb.Message.getField(this, 1) != null;
3169
+ };
3170
+
3171
+
3172
+ /**
3173
+ * optional fintekkers.models.util.DecimalValueProto clean_price = 2;
3174
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
3175
+ */
3176
+ proto.fintekkers.requests.valuation.MbsInput.prototype.getCleanPrice = function() {
3177
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
3178
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
3179
+ };
3180
+
3181
+
3182
+ /**
3183
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
3184
+ * @return {!proto.fintekkers.requests.valuation.MbsInput} returns this
3185
+ */
3186
+ proto.fintekkers.requests.valuation.MbsInput.prototype.setCleanPrice = function(value) {
3187
+ return jspb.Message.setWrapperField(this, 2, value);
3188
+ };
3189
+
3190
+
3191
+ /**
3192
+ * Clears the message field making it undefined.
3193
+ * @return {!proto.fintekkers.requests.valuation.MbsInput} returns this
3194
+ */
3195
+ proto.fintekkers.requests.valuation.MbsInput.prototype.clearCleanPrice = function() {
3196
+ return this.setCleanPrice(undefined);
3197
+ };
3198
+
3199
+
3200
+ /**
3201
+ * Returns whether this field is set.
3202
+ * @return {boolean}
3203
+ */
3204
+ proto.fintekkers.requests.valuation.MbsInput.prototype.hasCleanPrice = function() {
3205
+ return jspb.Message.getField(this, 2) != null;
3206
+ };
3207
+
3208
+
3209
+ /**
3210
+ * optional CostBasisInput cost_basis = 20;
3211
+ * @return {?proto.fintekkers.requests.valuation.CostBasisInput}
3212
+ */
3213
+ proto.fintekkers.requests.valuation.MbsInput.prototype.getCostBasis = function() {
3214
+ return /** @type{?proto.fintekkers.requests.valuation.CostBasisInput} */ (
3215
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.CostBasisInput, 20));
3216
+ };
3217
+
3218
+
3219
+ /**
3220
+ * @param {?proto.fintekkers.requests.valuation.CostBasisInput|undefined} value
3221
+ * @return {!proto.fintekkers.requests.valuation.MbsInput} returns this
3222
+ */
3223
+ proto.fintekkers.requests.valuation.MbsInput.prototype.setCostBasis = function(value) {
3224
+ return jspb.Message.setWrapperField(this, 20, value);
3225
+ };
3226
+
3227
+
3228
+ /**
3229
+ * Clears the message field making it undefined.
3230
+ * @return {!proto.fintekkers.requests.valuation.MbsInput} returns this
3231
+ */
3232
+ proto.fintekkers.requests.valuation.MbsInput.prototype.clearCostBasis = function() {
3233
+ return this.setCostBasis(undefined);
3234
+ };
3235
+
3236
+
3237
+ /**
3238
+ * Returns whether this field is set.
3239
+ * @return {boolean}
3240
+ */
3241
+ proto.fintekkers.requests.valuation.MbsInput.prototype.hasCostBasis = function() {
3242
+ return jspb.Message.getField(this, 20) != null;
3243
+ };
3244
+
3245
+
3246
+
3247
+
3248
+
3249
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3250
+ /**
3251
+ * Creates an object representation of this proto.
3252
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3253
+ * Optional fields that are not set will be set to undefined.
3254
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3255
+ * For the list of reserved names please see:
3256
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3257
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3258
+ * JSPB instance for transitional soy proto support:
3259
+ * http://goto/soy-param-migration
3260
+ * @return {!Object}
3261
+ */
3262
+ proto.fintekkers.requests.valuation.EquityInput.prototype.toObject = function(opt_includeInstance) {
3263
+ return proto.fintekkers.requests.valuation.EquityInput.toObject(opt_includeInstance, this);
3264
+ };
3265
+
3266
+
3267
+ /**
3268
+ * Static version of the {@see toObject} method.
3269
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3270
+ * the JSPB instance for transitional soy proto support:
3271
+ * http://goto/soy-param-migration
3272
+ * @param {!proto.fintekkers.requests.valuation.EquityInput} msg The msg instance to transform.
3273
+ * @return {!Object}
3274
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3275
+ */
3276
+ proto.fintekkers.requests.valuation.EquityInput.toObject = function(includeInstance, msg) {
3277
+ var f, obj = {
3278
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
3279
+ unitPrice: (f = msg.getUnitPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
3280
+ };
3281
+
3282
+ if (includeInstance) {
3283
+ obj.$jspbMessageInstance = msg;
3284
+ }
3285
+ return obj;
3286
+ };
3287
+ }
3288
+
3289
+
3290
+ /**
3291
+ * Deserializes binary data (in protobuf wire format).
3292
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3293
+ * @return {!proto.fintekkers.requests.valuation.EquityInput}
3294
+ */
3295
+ proto.fintekkers.requests.valuation.EquityInput.deserializeBinary = function(bytes) {
3296
+ var reader = new jspb.BinaryReader(bytes);
3297
+ var msg = new proto.fintekkers.requests.valuation.EquityInput;
3298
+ return proto.fintekkers.requests.valuation.EquityInput.deserializeBinaryFromReader(msg, reader);
3299
+ };
3300
+
3301
+
3302
+ /**
3303
+ * Deserializes binary data (in protobuf wire format) from the
3304
+ * given reader into the given message object.
3305
+ * @param {!proto.fintekkers.requests.valuation.EquityInput} msg The message object to deserialize into.
3306
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3307
+ * @return {!proto.fintekkers.requests.valuation.EquityInput}
3308
+ */
3309
+ proto.fintekkers.requests.valuation.EquityInput.deserializeBinaryFromReader = function(msg, reader) {
3310
+ while (reader.nextField()) {
3311
+ if (reader.isEndGroup()) {
3312
+ break;
3313
+ }
3314
+ var field = reader.getFieldNumber();
3315
+ switch (field) {
3316
+ case 1:
3317
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
3318
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
3319
+ msg.setSecurity(value);
3320
+ break;
3321
+ case 2:
3322
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
3323
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
3324
+ msg.setUnitPrice(value);
3325
+ break;
3326
+ default:
3327
+ reader.skipField();
3328
+ break;
3329
+ }
3330
+ }
3331
+ return msg;
3332
+ };
3333
+
3334
+
3335
+ /**
3336
+ * Serializes the message to binary data (in protobuf wire format).
3337
+ * @return {!Uint8Array}
3338
+ */
3339
+ proto.fintekkers.requests.valuation.EquityInput.prototype.serializeBinary = function() {
3340
+ var writer = new jspb.BinaryWriter();
3341
+ proto.fintekkers.requests.valuation.EquityInput.serializeBinaryToWriter(this, writer);
3342
+ return writer.getResultBuffer();
3343
+ };
3344
+
3345
+
3346
+ /**
3347
+ * Serializes the given message to binary data (in protobuf wire
3348
+ * format), writing to the given BinaryWriter.
3349
+ * @param {!proto.fintekkers.requests.valuation.EquityInput} message
3350
+ * @param {!jspb.BinaryWriter} writer
3351
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3352
+ */
3353
+ proto.fintekkers.requests.valuation.EquityInput.serializeBinaryToWriter = function(message, writer) {
3354
+ var f = undefined;
3355
+ f = message.getSecurity();
3356
+ if (f != null) {
3357
+ writer.writeMessage(
3358
+ 1,
3359
+ f,
3360
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
3361
+ );
3362
+ }
3363
+ f = message.getUnitPrice();
3364
+ if (f != null) {
3365
+ writer.writeMessage(
3366
+ 2,
3367
+ f,
3368
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
3369
+ );
3370
+ }
3371
+ };
3372
+
3373
+
3374
+ /**
3375
+ * optional fintekkers.models.security.SecurityProto security = 1;
3376
+ * @return {?proto.fintekkers.models.security.SecurityProto}
3377
+ */
3378
+ proto.fintekkers.requests.valuation.EquityInput.prototype.getSecurity = function() {
3379
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
3380
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
3381
+ };
3382
+
3383
+
3384
+ /**
3385
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
3386
+ * @return {!proto.fintekkers.requests.valuation.EquityInput} returns this
3387
+ */
3388
+ proto.fintekkers.requests.valuation.EquityInput.prototype.setSecurity = function(value) {
3389
+ return jspb.Message.setWrapperField(this, 1, value);
3390
+ };
3391
+
3392
+
3393
+ /**
3394
+ * Clears the message field making it undefined.
3395
+ * @return {!proto.fintekkers.requests.valuation.EquityInput} returns this
3396
+ */
3397
+ proto.fintekkers.requests.valuation.EquityInput.prototype.clearSecurity = function() {
3398
+ return this.setSecurity(undefined);
3399
+ };
3400
+
3401
+
3402
+ /**
3403
+ * Returns whether this field is set.
3404
+ * @return {boolean}
3405
+ */
3406
+ proto.fintekkers.requests.valuation.EquityInput.prototype.hasSecurity = function() {
3407
+ return jspb.Message.getField(this, 1) != null;
3408
+ };
3409
+
3410
+
3411
+ /**
3412
+ * optional fintekkers.models.util.DecimalValueProto unit_price = 2;
3413
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
3414
+ */
3415
+ proto.fintekkers.requests.valuation.EquityInput.prototype.getUnitPrice = function() {
3416
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
3417
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
3418
+ };
3419
+
3420
+
3421
+ /**
3422
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
3423
+ * @return {!proto.fintekkers.requests.valuation.EquityInput} returns this
3424
+ */
3425
+ proto.fintekkers.requests.valuation.EquityInput.prototype.setUnitPrice = function(value) {
3426
+ return jspb.Message.setWrapperField(this, 2, value);
3427
+ };
3428
+
3429
+
3430
+ /**
3431
+ * Clears the message field making it undefined.
3432
+ * @return {!proto.fintekkers.requests.valuation.EquityInput} returns this
3433
+ */
3434
+ proto.fintekkers.requests.valuation.EquityInput.prototype.clearUnitPrice = function() {
3435
+ return this.setUnitPrice(undefined);
3436
+ };
3437
+
3438
+
3439
+ /**
3440
+ * Returns whether this field is set.
3441
+ * @return {boolean}
3442
+ */
3443
+ proto.fintekkers.requests.valuation.EquityInput.prototype.hasUnitPrice = function() {
3444
+ return jspb.Message.getField(this, 2) != null;
3445
+ };
3446
+
3447
+
3448
+
3449
+
3450
+
3451
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3452
+ /**
3453
+ * Creates an object representation of this proto.
3454
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3455
+ * Optional fields that are not set will be set to undefined.
3456
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3457
+ * For the list of reserved names please see:
3458
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3459
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3460
+ * JSPB instance for transitional soy proto support:
3461
+ * http://goto/soy-param-migration
3462
+ * @return {!Object}
3463
+ */
3464
+ proto.fintekkers.requests.valuation.CashInput.prototype.toObject = function(opt_includeInstance) {
3465
+ return proto.fintekkers.requests.valuation.CashInput.toObject(opt_includeInstance, this);
3466
+ };
3467
+
3468
+
3469
+ /**
3470
+ * Static version of the {@see toObject} method.
3471
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3472
+ * the JSPB instance for transitional soy proto support:
3473
+ * http://goto/soy-param-migration
3474
+ * @param {!proto.fintekkers.requests.valuation.CashInput} msg The msg instance to transform.
3475
+ * @return {!Object}
3476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3477
+ */
3478
+ proto.fintekkers.requests.valuation.CashInput.toObject = function(includeInstance, msg) {
3479
+ var f, obj = {
3480
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
3481
+ unitPrice: (f = msg.getUnitPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f)
3482
+ };
3483
+
3484
+ if (includeInstance) {
3485
+ obj.$jspbMessageInstance = msg;
3486
+ }
3487
+ return obj;
3488
+ };
3489
+ }
3490
+
3491
+
3492
+ /**
3493
+ * Deserializes binary data (in protobuf wire format).
3494
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3495
+ * @return {!proto.fintekkers.requests.valuation.CashInput}
3496
+ */
3497
+ proto.fintekkers.requests.valuation.CashInput.deserializeBinary = function(bytes) {
3498
+ var reader = new jspb.BinaryReader(bytes);
3499
+ var msg = new proto.fintekkers.requests.valuation.CashInput;
3500
+ return proto.fintekkers.requests.valuation.CashInput.deserializeBinaryFromReader(msg, reader);
3501
+ };
3502
+
3503
+
3504
+ /**
3505
+ * Deserializes binary data (in protobuf wire format) from the
3506
+ * given reader into the given message object.
3507
+ * @param {!proto.fintekkers.requests.valuation.CashInput} msg The message object to deserialize into.
3508
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3509
+ * @return {!proto.fintekkers.requests.valuation.CashInput}
3510
+ */
3511
+ proto.fintekkers.requests.valuation.CashInput.deserializeBinaryFromReader = function(msg, reader) {
3512
+ while (reader.nextField()) {
3513
+ if (reader.isEndGroup()) {
3514
+ break;
3515
+ }
3516
+ var field = reader.getFieldNumber();
3517
+ switch (field) {
3518
+ case 1:
3519
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
3520
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
3521
+ msg.setSecurity(value);
3522
+ break;
3523
+ case 2:
3524
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
3525
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
3526
+ msg.setUnitPrice(value);
3527
+ break;
3528
+ default:
3529
+ reader.skipField();
3530
+ break;
3531
+ }
3532
+ }
3533
+ return msg;
3534
+ };
3535
+
3536
+
3537
+ /**
3538
+ * Serializes the message to binary data (in protobuf wire format).
3539
+ * @return {!Uint8Array}
3540
+ */
3541
+ proto.fintekkers.requests.valuation.CashInput.prototype.serializeBinary = function() {
3542
+ var writer = new jspb.BinaryWriter();
3543
+ proto.fintekkers.requests.valuation.CashInput.serializeBinaryToWriter(this, writer);
3544
+ return writer.getResultBuffer();
3545
+ };
3546
+
3547
+
3548
+ /**
3549
+ * Serializes the given message to binary data (in protobuf wire
3550
+ * format), writing to the given BinaryWriter.
3551
+ * @param {!proto.fintekkers.requests.valuation.CashInput} message
3552
+ * @param {!jspb.BinaryWriter} writer
3553
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3554
+ */
3555
+ proto.fintekkers.requests.valuation.CashInput.serializeBinaryToWriter = function(message, writer) {
3556
+ var f = undefined;
3557
+ f = message.getSecurity();
3558
+ if (f != null) {
3559
+ writer.writeMessage(
3560
+ 1,
3561
+ f,
3562
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
3563
+ );
3564
+ }
3565
+ f = message.getUnitPrice();
3566
+ if (f != null) {
3567
+ writer.writeMessage(
3568
+ 2,
3569
+ f,
3570
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
3571
+ );
3572
+ }
3573
+ };
3574
+
3575
+
3576
+ /**
3577
+ * optional fintekkers.models.security.SecurityProto security = 1;
3578
+ * @return {?proto.fintekkers.models.security.SecurityProto}
3579
+ */
3580
+ proto.fintekkers.requests.valuation.CashInput.prototype.getSecurity = function() {
3581
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
3582
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
3583
+ };
3584
+
3585
+
3586
+ /**
3587
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
3588
+ * @return {!proto.fintekkers.requests.valuation.CashInput} returns this
3589
+ */
3590
+ proto.fintekkers.requests.valuation.CashInput.prototype.setSecurity = function(value) {
3591
+ return jspb.Message.setWrapperField(this, 1, value);
3592
+ };
3593
+
3594
+
3595
+ /**
3596
+ * Clears the message field making it undefined.
3597
+ * @return {!proto.fintekkers.requests.valuation.CashInput} returns this
3598
+ */
3599
+ proto.fintekkers.requests.valuation.CashInput.prototype.clearSecurity = function() {
3600
+ return this.setSecurity(undefined);
3601
+ };
3602
+
3603
+
3604
+ /**
3605
+ * Returns whether this field is set.
3606
+ * @return {boolean}
3607
+ */
3608
+ proto.fintekkers.requests.valuation.CashInput.prototype.hasSecurity = function() {
3609
+ return jspb.Message.getField(this, 1) != null;
3610
+ };
3611
+
3612
+
3613
+ /**
3614
+ * optional fintekkers.models.util.DecimalValueProto unit_price = 2;
3615
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
3616
+ */
3617
+ proto.fintekkers.requests.valuation.CashInput.prototype.getUnitPrice = function() {
3618
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
3619
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
3620
+ };
3621
+
3622
+
3623
+ /**
3624
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
3625
+ * @return {!proto.fintekkers.requests.valuation.CashInput} returns this
3626
+ */
3627
+ proto.fintekkers.requests.valuation.CashInput.prototype.setUnitPrice = function(value) {
3628
+ return jspb.Message.setWrapperField(this, 2, value);
3629
+ };
3630
+
3631
+
3632
+ /**
3633
+ * Clears the message field making it undefined.
3634
+ * @return {!proto.fintekkers.requests.valuation.CashInput} returns this
3635
+ */
3636
+ proto.fintekkers.requests.valuation.CashInput.prototype.clearUnitPrice = function() {
3637
+ return this.setUnitPrice(undefined);
3638
+ };
3639
+
3640
+
3641
+ /**
3642
+ * Returns whether this field is set.
3643
+ * @return {boolean}
3644
+ */
3645
+ proto.fintekkers.requests.valuation.CashInput.prototype.hasUnitPrice = function() {
3646
+ return jspb.Message.getField(this, 2) != null;
3647
+ };
3648
+
3649
+
3650
+
2772
3651
  /**
2773
3652
  * List of repeated fields within this message type.
2774
3653
  * @private {!Array<number>}