@fintekkers/ledger-models 0.1.119 → 0.1.129

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.
Files changed (260) hide show
  1. package/.npmrc.example +4 -0
  2. package/catalog/fields.json +275 -0
  3. package/catalog/measures.json +259 -0
  4. package/node/fintekkers/models/portfolio/portfolio_pb.js +13 -19
  5. package/node/fintekkers/models/position/field_pb.js +1 -7
  6. package/node/fintekkers/models/position/measure_pb.d.ts +18 -0
  7. package/node/fintekkers/models/position/measure_pb.js +20 -8
  8. package/node/fintekkers/models/position/position_filter_pb.js +7 -13
  9. package/node/fintekkers/models/position/position_pb.d.ts +7 -0
  10. package/node/fintekkers/models/position/position_pb.js +64 -17
  11. package/node/fintekkers/models/position/position_status_pb.js +1 -7
  12. package/node/fintekkers/models/position/position_util_pb.js +11 -17
  13. package/node/fintekkers/models/price/price_pb.d.ts +4 -0
  14. package/node/fintekkers/models/price/price_pb.js +45 -19
  15. package/node/fintekkers/models/price/price_type_grpc_pb.js +1 -0
  16. package/node/fintekkers/models/price/price_type_pb.d.ts +15 -0
  17. package/node/fintekkers/models/price/price_type_pb.js +30 -0
  18. package/node/fintekkers/models/security/bond/auction_type_pb.js +1 -7
  19. package/node/fintekkers/models/security/bond/issuance_pb.js +17 -23
  20. package/node/fintekkers/models/security/coupon_frequency_pb.js +1 -7
  21. package/node/fintekkers/models/security/coupon_type_pb.js +1 -7
  22. package/node/fintekkers/models/security/identifier/identifier_pb.js +9 -15
  23. package/node/fintekkers/models/security/identifier/identifier_type_pb.d.ts +1 -0
  24. package/node/fintekkers/models/security/identifier/identifier_type_pb.js +2 -7
  25. package/node/fintekkers/models/security/index/index_type_grpc_pb.js +1 -0
  26. package/node/fintekkers/models/security/index/index_type_pb.d.ts +26 -0
  27. package/node/fintekkers/models/security/index/index_type_pb.js +41 -0
  28. package/node/fintekkers/models/security/index_composition_pb.d.ts +126 -0
  29. package/node/fintekkers/models/security/index_composition_pb.js +992 -0
  30. package/node/fintekkers/models/security/security_pb.d.ts +382 -0
  31. package/node/fintekkers/models/security/security_pb.js +3183 -57
  32. package/node/fintekkers/models/security/security_quantity_type_pb.js +1 -7
  33. package/node/fintekkers/models/security/security_type_pb.d.ts +3 -0
  34. package/node/fintekkers/models/security/security_type_pb.js +5 -8
  35. package/node/fintekkers/models/security/tenor_pb.js +9 -15
  36. package/node/fintekkers/models/security/tenor_type_pb.js +1 -7
  37. package/node/fintekkers/models/strategy/strategy_allocation_pb.js +13 -19
  38. package/node/fintekkers/models/strategy/strategy_pb.js +14 -20
  39. package/node/fintekkers/models/transaction/transaction_pb.js +24 -30
  40. package/node/fintekkers/models/transaction/transaction_type_pb.js +1 -7
  41. package/node/fintekkers/models/util/api/api_key_pb.js +10 -16
  42. package/node/fintekkers/models/util/currency_pb.d.ts +27 -0
  43. package/node/fintekkers/models/util/currency_pb.js +170 -0
  44. package/node/fintekkers/models/util/date_range_pb.js +8 -14
  45. package/node/fintekkers/models/util/decimal_value_pb.js +4 -10
  46. package/node/fintekkers/models/util/endpoint_pb.js +7 -13
  47. package/node/fintekkers/models/util/local_date_pb.js +5 -11
  48. package/node/fintekkers/models/util/local_timestamp_pb.js +5 -11
  49. package/node/fintekkers/models/util/lock/node_partition_pb.js +9 -15
  50. package/node/fintekkers/models/util/lock/node_state_pb.js +10 -16
  51. package/node/fintekkers/models/util/uuid_pb.js +3 -9
  52. package/node/fintekkers/models/valuation/cashflow_pb.d.ts +57 -0
  53. package/node/fintekkers/models/valuation/cashflow_pb.js +401 -0
  54. package/node/fintekkers/requests/index_composition/create_index_composition_request_pb.d.ts +79 -0
  55. package/node/fintekkers/requests/index_composition/create_index_composition_request_pb.js +599 -0
  56. package/node/fintekkers/requests/index_composition/get_index_composition_request_pb.d.ts +84 -0
  57. package/node/fintekkers/requests/index_composition/get_index_composition_request_pb.js +624 -0
  58. package/node/fintekkers/requests/portfolio/create_portfolio_request_pb.js +7 -13
  59. package/node/fintekkers/requests/portfolio/create_portfolio_response_pb.js +8 -14
  60. package/node/fintekkers/requests/portfolio/query_portfolio_request_pb.d.ts +3 -0
  61. package/node/fintekkers/requests/portfolio/query_portfolio_request_pb.js +39 -15
  62. package/node/fintekkers/requests/portfolio/query_portfolio_response_pb.js +8 -14
  63. package/node/fintekkers/requests/position/query_position_request_pb.js +15 -27
  64. package/node/fintekkers/requests/position/query_position_response_pb.js +10 -16
  65. package/node/fintekkers/requests/price/create_price_request_pb.js +7 -13
  66. package/node/fintekkers/requests/price/create_price_response_pb.js +8 -14
  67. package/node/fintekkers/requests/price/query_price_request_pb.js +12 -18
  68. package/node/fintekkers/requests/price/query_price_response_pb.js +8 -14
  69. package/node/fintekkers/requests/security/create_security_request_pb.js +7 -13
  70. package/node/fintekkers/requests/security/create_security_response_pb.js +9 -15
  71. package/node/fintekkers/requests/security/get_field_values_request_pb.js +7 -13
  72. package/node/fintekkers/requests/security/get_field_values_response_pb.js +7 -13
  73. package/node/fintekkers/requests/security/get_fields_response_pb.js +8 -17
  74. package/node/fintekkers/requests/security/query_security_request_pb.d.ts +3 -0
  75. package/node/fintekkers/requests/security/query_security_request_pb.js +39 -15
  76. package/node/fintekkers/requests/security/query_security_response_pb.js +9 -15
  77. package/node/fintekkers/requests/transaction/create_transaction_request_pb.js +7 -13
  78. package/node/fintekkers/requests/transaction/create_transaction_response_pb.js +8 -14
  79. package/node/fintekkers/requests/transaction/query_transaction_request_pb.js +10 -16
  80. package/node/fintekkers/requests/transaction/query_transaction_response_pb.js +9 -15
  81. package/node/fintekkers/requests/util/delete_request_pb.d.ts +135 -0
  82. package/node/fintekkers/requests/util/delete_request_pb.js +1051 -0
  83. package/node/fintekkers/requests/util/errors/error_pb.js +7 -13
  84. package/node/fintekkers/requests/util/errors/message_pb.js +6 -12
  85. package/node/fintekkers/requests/util/errors/summary_pb.js +4 -10
  86. package/node/fintekkers/requests/util/lock/lock_request_pb.js +8 -14
  87. package/node/fintekkers/requests/util/lock/lock_response_pb.js +9 -15
  88. package/node/fintekkers/requests/util/operation_pb.js +1 -7
  89. package/node/fintekkers/requests/valuation/curve_request_pb.d.ts +85 -0
  90. package/node/fintekkers/requests/valuation/curve_request_pb.js +646 -0
  91. package/node/fintekkers/requests/valuation/curve_response_pb.d.ts +105 -0
  92. package/node/fintekkers/requests/valuation/curve_response_pb.js +806 -0
  93. package/node/fintekkers/requests/valuation/product_inputs.test.ts +172 -0
  94. package/node/fintekkers/requests/valuation/product_inputs_pb.d.ts +239 -0
  95. package/node/fintekkers/requests/valuation/product_inputs_pb.js +1801 -0
  96. package/node/fintekkers/requests/valuation/valuation_request_pb.d.ts +19 -0
  97. package/node/fintekkers/requests/valuation/valuation_request_pb.js +168 -22
  98. package/node/fintekkers/requests/valuation/valuation_response_pb.d.ts +13 -0
  99. package/node/fintekkers/requests/valuation/valuation_response_pb.js +118 -16
  100. package/node/fintekkers/services/index-composition-service/index_composition_service_grpc_pb.d.ts +60 -0
  101. package/node/fintekkers/services/index-composition-service/index_composition_service_grpc_pb.js +87 -0
  102. package/node/fintekkers/services/index-composition-service/index_composition_service_pb.d.ts +9 -0
  103. package/node/fintekkers/services/index-composition-service/index_composition_service_pb.js +21 -0
  104. package/node/fintekkers/services/lock-service/lock_service_grpc_pb.js +22 -22
  105. package/node/fintekkers/services/lock-service/lock_service_pb.js +15 -21
  106. package/node/fintekkers/services/portfolio-service/portfolio_service_grpc_pb.d.ts +18 -0
  107. package/node/fintekkers/services/portfolio-service/portfolio_service_grpc_pb.js +39 -5
  108. package/node/fintekkers/services/portfolio-service/portfolio_service_pb.d.ts +1 -0
  109. package/node/fintekkers/services/portfolio-service/portfolio_service_pb.js +3 -7
  110. package/node/fintekkers/services/position-service/position_service_grpc_pb.d.ts +37 -0
  111. package/node/fintekkers/services/position-service/position_service_grpc_pb.js +64 -6
  112. package/node/fintekkers/services/position-service/position_service_pb.d.ts +3 -0
  113. package/node/fintekkers/services/position-service/position_service_pb.js +7 -7
  114. package/node/fintekkers/services/price-service/price_service_grpc_pb.js +5 -5
  115. package/node/fintekkers/services/price-service/price_service_pb.js +1 -7
  116. package/node/fintekkers/services/security-service/security_service_grpc_pb.d.ts +18 -0
  117. package/node/fintekkers/services/security-service/security_service_grpc_pb.js +43 -9
  118. package/node/fintekkers/services/security-service/security_service_pb.d.ts +1 -0
  119. package/node/fintekkers/services/security-service/security_service_pb.js +3 -7
  120. package/node/fintekkers/services/transaction-service/transaction_service_grpc_pb.d.ts +55 -0
  121. package/node/fintekkers/services/transaction-service/transaction_service_grpc_pb.js +97 -5
  122. package/node/fintekkers/services/transaction-service/transaction_service_pb.d.ts +4 -0
  123. package/node/fintekkers/services/transaction-service/transaction_service_pb.js +9 -7
  124. package/node/fintekkers/services/valuation-service/valuation_service_grpc_pb.d.ts +19 -0
  125. package/node/fintekkers/services/valuation-service/valuation_service_grpc_pb.js +37 -2
  126. package/node/fintekkers/services/valuation-service/valuation_service_pb.d.ts +2 -0
  127. package/node/fintekkers/services/valuation-service/valuation_service_pb.js +5 -7
  128. package/node/wrappers/models/portfolio/portfolio.js.map +1 -1
  129. package/node/wrappers/models/portfolio/portfolio.test.d.ts +2 -0
  130. package/node/wrappers/models/portfolio/portfolio.test.js +29 -0
  131. package/node/wrappers/models/portfolio/portfolio.test.js.map +1 -0
  132. package/node/wrappers/models/portfolio/portfolio.test.ts +28 -0
  133. package/node/wrappers/models/position/position.js +25 -13
  134. package/node/wrappers/models/position/position.js.map +1 -1
  135. package/node/wrappers/models/position/position.test.js +20 -0
  136. package/node/wrappers/models/position/position.test.js.map +1 -1
  137. package/node/wrappers/models/position/position.test.ts +23 -0
  138. package/node/wrappers/models/position/position.ts +27 -13
  139. package/node/wrappers/models/position/positionfilter.js +1 -1
  140. package/node/wrappers/models/position/positionfilter.js.map +1 -1
  141. package/node/wrappers/models/position/positionfilter.test.js.map +1 -1
  142. package/node/wrappers/models/price/Price.cash.test.d.ts +1 -0
  143. package/node/wrappers/models/price/Price.cash.test.js +42 -0
  144. package/node/wrappers/models/price/Price.cash.test.js.map +1 -0
  145. package/node/wrappers/models/price/Price.cash.test.ts +43 -0
  146. package/node/wrappers/models/price/Price.d.ts +38 -0
  147. package/node/wrappers/models/price/Price.js +111 -0
  148. package/node/wrappers/models/price/Price.js.map +1 -0
  149. package/node/wrappers/models/price/Price.test.d.ts +1 -0
  150. package/node/wrappers/models/price/Price.test.js +55 -0
  151. package/node/wrappers/models/price/Price.test.js.map +1 -0
  152. package/node/wrappers/models/price/Price.test.ts +63 -0
  153. package/node/wrappers/models/price/Price.ts +123 -0
  154. package/node/wrappers/models/security/BondSecurity.d.ts +17 -2
  155. package/node/wrappers/models/security/BondSecurity.js +59 -11
  156. package/node/wrappers/models/security/BondSecurity.js.map +1 -1
  157. package/node/wrappers/models/security/BondSecurity.priceScale.test.d.ts +1 -0
  158. package/node/wrappers/models/security/BondSecurity.priceScale.test.js +36 -0
  159. package/node/wrappers/models/security/BondSecurity.priceScale.test.js.map +1 -0
  160. package/node/wrappers/models/security/BondSecurity.priceScale.test.ts +36 -0
  161. package/node/wrappers/models/security/BondSecurity.test.js +34 -1
  162. package/node/wrappers/models/security/BondSecurity.test.js.map +1 -1
  163. package/node/wrappers/models/security/BondSecurity.test.ts +42 -1
  164. package/node/wrappers/models/security/BondSecurity.ts +63 -11
  165. package/node/wrappers/models/security/security-roundtrip.test.d.ts +1 -0
  166. package/node/wrappers/models/security/security-roundtrip.test.js +173 -0
  167. package/node/wrappers/models/security/security-roundtrip.test.js.map +1 -0
  168. package/node/wrappers/models/security/security-roundtrip.test.ts +192 -0
  169. package/node/wrappers/models/security/security.d.ts +8 -0
  170. package/node/wrappers/models/security/security.js +24 -2
  171. package/node/wrappers/models/security/security.js.map +1 -1
  172. package/node/wrappers/models/security/security.ts +26 -2
  173. package/node/wrappers/models/security/term.js +31 -6
  174. package/node/wrappers/models/security/term.js.map +1 -1
  175. package/node/wrappers/models/security/term.test.js +21 -2
  176. package/node/wrappers/models/security/term.test.js.map +1 -1
  177. package/node/wrappers/models/security/term.test.ts +28 -2
  178. package/node/wrappers/models/security/term.ts +34 -6
  179. package/node/wrappers/models/transaction/transaction.d.ts +59 -1
  180. package/node/wrappers/models/transaction/transaction.derived.test.d.ts +1 -0
  181. package/node/wrappers/models/transaction/transaction.derived.test.js +199 -0
  182. package/node/wrappers/models/transaction/transaction.derived.test.js.map +1 -0
  183. package/node/wrappers/models/transaction/transaction.derived.test.ts +251 -0
  184. package/node/wrappers/models/transaction/transaction.js +350 -2
  185. package/node/wrappers/models/transaction/transaction.js.map +1 -1
  186. package/node/wrappers/models/transaction/transaction.ts +416 -2
  187. package/node/wrappers/models/transaction/transaction_constructor.test.d.ts +1 -0
  188. package/node/wrappers/models/transaction/transaction_constructor.test.js +100 -0
  189. package/node/wrappers/models/transaction/transaction_constructor.test.js.map +1 -0
  190. package/node/wrappers/models/transaction/transaction_constructor.test.ts +111 -0
  191. package/node/wrappers/models/transaction/transaction_type.js.map +1 -1
  192. package/node/wrappers/models/utils/datetime.d.ts +6 -0
  193. package/node/wrappers/models/utils/datetime.js +14 -6
  194. package/node/wrappers/models/utils/datetime.js.map +1 -1
  195. package/node/wrappers/models/utils/datetime.ts +15 -6
  196. package/node/wrappers/models/utils/protoEnum.js.map +1 -1
  197. package/node/wrappers/models/utils/requestcontext.d.ts +17 -3
  198. package/node/wrappers/models/utils/requestcontext.js +39 -7
  199. package/node/wrappers/models/utils/requestcontext.js.map +1 -1
  200. package/node/wrappers/models/utils/requestcontext.test.d.ts +1 -0
  201. package/node/wrappers/models/utils/requestcontext.test.js +108 -0
  202. package/node/wrappers/models/utils/requestcontext.test.js.map +1 -0
  203. package/node/wrappers/models/utils/requestcontext.test.ts +85 -0
  204. package/node/wrappers/models/utils/requestcontext.ts +49 -9
  205. package/node/wrappers/models/utils/serialization.d.ts +2 -1
  206. package/node/wrappers/models/utils/serialization.js +4 -0
  207. package/node/wrappers/models/utils/serialization.js.map +1 -1
  208. package/node/wrappers/models/utils/serialization.test.js +15 -0
  209. package/node/wrappers/models/utils/serialization.test.js.map +1 -1
  210. package/node/wrappers/models/utils/serialization.test.ts +19 -1
  211. package/node/wrappers/models/utils/serialization.ts +5 -4
  212. package/node/wrappers/models/utils/serialization.util.js.map +1 -1
  213. package/node/wrappers/models/utils/uuid.js +9 -1
  214. package/node/wrappers/models/utils/uuid.js.map +1 -1
  215. package/node/wrappers/models/utils/uuid.test.js +22 -4
  216. package/node/wrappers/models/utils/uuid.test.js.map +1 -1
  217. package/node/wrappers/models/utils/uuid.test.ts +26 -5
  218. package/node/wrappers/models/utils/uuid.ts +7 -1
  219. package/node/wrappers/services/apikey.test.d.ts +7 -0
  220. package/node/wrappers/services/apikey.test.js +56 -0
  221. package/node/wrappers/services/apikey.test.js.map +1 -0
  222. package/node/wrappers/services/apikey.test.ts +65 -0
  223. package/node/wrappers/services/portfolio-service/PortfolioService.d.ts +1 -1
  224. package/node/wrappers/services/portfolio-service/PortfolioService.js +8 -2
  225. package/node/wrappers/services/portfolio-service/PortfolioService.js.map +1 -1
  226. package/node/wrappers/services/portfolio-service/PortfolioService.ts +7 -2
  227. package/node/wrappers/services/position-service/PositionService.d.ts +1 -1
  228. package/node/wrappers/services/position-service/PositionService.js +8 -2
  229. package/node/wrappers/services/position-service/PositionService.js.map +1 -1
  230. package/node/wrappers/services/position-service/PositionService.ts +7 -2
  231. package/node/wrappers/services/position-service/position.test.js.map +1 -1
  232. package/node/wrappers/services/price-service/PriceService.d.ts +29 -0
  233. package/node/wrappers/services/price-service/PriceService.js +151 -0
  234. package/node/wrappers/services/price-service/PriceService.js.map +1 -0
  235. package/node/wrappers/services/price-service/PriceService.ts +127 -0
  236. package/node/wrappers/services/price-service/price-wrapper.test.d.ts +1 -0
  237. package/node/wrappers/services/price-service/price-wrapper.test.js +132 -0
  238. package/node/wrappers/services/price-service/price-wrapper.test.js.map +1 -0
  239. package/node/wrappers/services/price-service/price-wrapper.test.ts +120 -0
  240. package/node/wrappers/services/price-service/price.test.d.ts +1 -0
  241. package/node/wrappers/services/price-service/price.test.js +198 -0
  242. package/node/wrappers/services/price-service/price.test.js.map +1 -0
  243. package/node/wrappers/services/price-service/price.test.ts +205 -0
  244. package/node/wrappers/services/security-service/SecurityService.d.ts +1 -1
  245. package/node/wrappers/services/security-service/SecurityService.js +8 -2
  246. package/node/wrappers/services/security-service/SecurityService.js.map +1 -1
  247. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.d.ts +1 -0
  248. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js +38 -0
  249. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js.map +1 -0
  250. package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.ts +32 -0
  251. package/node/wrappers/services/security-service/SecurityService.ts +7 -2
  252. package/node/wrappers/services/security-service/security.maturityLadder.test.js.map +1 -1
  253. package/node/wrappers/services/transaction-service/TransactionService.d.ts +1 -1
  254. package/node/wrappers/services/transaction-service/TransactionService.js +8 -2
  255. package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
  256. package/node/wrappers/services/transaction-service/TransactionService.ts +7 -2
  257. package/node/wrappers/services/transaction-service/transaction.search.test.js.map +1 -1
  258. package/node/wrappers/services/transaction-service/transaction.test.js.map +1 -1
  259. package/package.json +3 -2
  260. package/.env +0 -3
@@ -0,0 +1,1801 @@
1
+ // source: fintekkers/requests/valuation/product_inputs.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var fintekkers_models_security_security_pb = require('../../../fintekkers/models/security/security_pb.js');
19
+ goog.object.extend(proto, fintekkers_models_security_security_pb);
20
+ var fintekkers_models_security_index_index_type_pb = require('../../../fintekkers/models/security/index/index_type_pb.js');
21
+ goog.object.extend(proto, fintekkers_models_security_index_index_type_pb);
22
+ var fintekkers_models_util_decimal_value_pb = require('../../../fintekkers/models/util/decimal_value_pb.js');
23
+ goog.object.extend(proto, fintekkers_models_util_decimal_value_pb);
24
+ var fintekkers_models_util_local_date_pb = require('../../../fintekkers/models/util/local_date_pb.js');
25
+ goog.object.extend(proto, fintekkers_models_util_local_date_pb);
26
+ goog.exportSymbol('proto.fintekkers.requests.valuation.BondInput', null, global);
27
+ goog.exportSymbol('proto.fintekkers.requests.valuation.CurvePoint', null, global);
28
+ goog.exportSymbol('proto.fintekkers.requests.valuation.FrnInput', null, global);
29
+ goog.exportSymbol('proto.fintekkers.requests.valuation.ProductInput', null, global);
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);
33
+ goog.exportSymbol('proto.fintekkers.requests.valuation.YieldCurveInput', null, global);
34
+ /**
35
+ * Generated by JsPbCodeGenerator.
36
+ * @param {Array=} opt_data Optional initial data array, typically from a
37
+ * server response, or constructed directly in Javascript. The array is used
38
+ * in place and becomes part of the constructed object. It is not cloned.
39
+ * If no data is provided, the constructed object will be empty, but still
40
+ * valid.
41
+ * @extends {jspb.Message}
42
+ * @constructor
43
+ */
44
+ proto.fintekkers.requests.valuation.ProductInput = function(opt_data) {
45
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_);
46
+ };
47
+ goog.inherits(proto.fintekkers.requests.valuation.ProductInput, jspb.Message);
48
+ if (goog.DEBUG && !COMPILED) {
49
+ /**
50
+ * @public
51
+ * @override
52
+ */
53
+ proto.fintekkers.requests.valuation.ProductInput.displayName = 'proto.fintekkers.requests.valuation.ProductInput';
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
+ }
76
+ /**
77
+ * Generated by JsPbCodeGenerator.
78
+ * @param {Array=} opt_data Optional initial data array, typically from a
79
+ * server response, or constructed directly in Javascript. The array is used
80
+ * in place and becomes part of the constructed object. It is not cloned.
81
+ * If no data is provided, the constructed object will be empty, but still
82
+ * valid.
83
+ * @extends {jspb.Message}
84
+ * @constructor
85
+ */
86
+ proto.fintekkers.requests.valuation.FrnInput = function(opt_data) {
87
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
88
+ };
89
+ goog.inherits(proto.fintekkers.requests.valuation.FrnInput, jspb.Message);
90
+ if (goog.DEBUG && !COMPILED) {
91
+ /**
92
+ * @public
93
+ * @override
94
+ */
95
+ proto.fintekkers.requests.valuation.FrnInput.displayName = 'proto.fintekkers.requests.valuation.FrnInput';
96
+ }
97
+ /**
98
+ * Generated by JsPbCodeGenerator.
99
+ * @param {Array=} opt_data Optional initial data array, typically from a
100
+ * server response, or constructed directly in Javascript. The array is used
101
+ * in place and becomes part of the constructed object. It is not cloned.
102
+ * If no data is provided, the constructed object will be empty, but still
103
+ * valid.
104
+ * @extends {jspb.Message}
105
+ * @constructor
106
+ */
107
+ proto.fintekkers.requests.valuation.YieldCurveInput = function(opt_data) {
108
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.requests.valuation.YieldCurveInput.repeatedFields_, null);
109
+ };
110
+ goog.inherits(proto.fintekkers.requests.valuation.YieldCurveInput, jspb.Message);
111
+ if (goog.DEBUG && !COMPILED) {
112
+ /**
113
+ * @public
114
+ * @override
115
+ */
116
+ proto.fintekkers.requests.valuation.YieldCurveInput.displayName = 'proto.fintekkers.requests.valuation.YieldCurveInput';
117
+ }
118
+ /**
119
+ * Generated by JsPbCodeGenerator.
120
+ * @param {Array=} opt_data Optional initial data array, typically from a
121
+ * server response, or constructed directly in Javascript. The array is used
122
+ * in place and becomes part of the constructed object. It is not cloned.
123
+ * If no data is provided, the constructed object will be empty, but still
124
+ * valid.
125
+ * @extends {jspb.Message}
126
+ * @constructor
127
+ */
128
+ proto.fintekkers.requests.valuation.CurvePoint = function(opt_data) {
129
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
130
+ };
131
+ goog.inherits(proto.fintekkers.requests.valuation.CurvePoint, jspb.Message);
132
+ if (goog.DEBUG && !COMPILED) {
133
+ /**
134
+ * @public
135
+ * @override
136
+ */
137
+ proto.fintekkers.requests.valuation.CurvePoint.displayName = 'proto.fintekkers.requests.valuation.CurvePoint';
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
+ }
181
+
182
+ /**
183
+ * Oneof group definitions for this message. Each group defines the field
184
+ * numbers belonging to that group. When of these fields' value is set, all
185
+ * other fields in the group are cleared. During deserialization, if multiple
186
+ * fields are encountered for a group, only the last value seen will be kept.
187
+ * @private {!Array<!Array<number>>}
188
+ * @const
189
+ */
190
+ proto.fintekkers.requests.valuation.ProductInput.oneofGroups_ = [[1,8]];
191
+
192
+ /**
193
+ * @enum {number}
194
+ */
195
+ proto.fintekkers.requests.valuation.ProductInput.InputCase = {
196
+ INPUT_NOT_SET: 0,
197
+ BOND: 1,
198
+ FRN: 8
199
+ };
200
+
201
+ /**
202
+ * @return {proto.fintekkers.requests.valuation.ProductInput.InputCase}
203
+ */
204
+ proto.fintekkers.requests.valuation.ProductInput.prototype.getInputCase = function() {
205
+ return /** @type {proto.fintekkers.requests.valuation.ProductInput.InputCase} */(jspb.Message.computeOneofCase(this, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0]));
206
+ };
207
+
208
+
209
+
210
+ if (jspb.Message.GENERATE_TO_OBJECT) {
211
+ /**
212
+ * Creates an object representation of this proto.
213
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
214
+ * Optional fields that are not set will be set to undefined.
215
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
216
+ * For the list of reserved names please see:
217
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
218
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
219
+ * JSPB instance for transitional soy proto support:
220
+ * http://goto/soy-param-migration
221
+ * @return {!Object}
222
+ */
223
+ proto.fintekkers.requests.valuation.ProductInput.prototype.toObject = function(opt_includeInstance) {
224
+ return proto.fintekkers.requests.valuation.ProductInput.toObject(opt_includeInstance, this);
225
+ };
226
+
227
+
228
+ /**
229
+ * Static version of the {@see toObject} method.
230
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
231
+ * the JSPB instance for transitional soy proto support:
232
+ * http://goto/soy-param-migration
233
+ * @param {!proto.fintekkers.requests.valuation.ProductInput} msg The msg instance to transform.
234
+ * @return {!Object}
235
+ * @suppress {unusedLocalVariables} f is only used for nested messages
236
+ */
237
+ proto.fintekkers.requests.valuation.ProductInput.toObject = function(includeInstance, msg) {
238
+ var f, obj = {
239
+ bond: (f = msg.getBond()) && proto.fintekkers.requests.valuation.BondInput.toObject(includeInstance, f),
240
+ frn: (f = msg.getFrn()) && proto.fintekkers.requests.valuation.FrnInput.toObject(includeInstance, f)
241
+ };
242
+
243
+ if (includeInstance) {
244
+ obj.$jspbMessageInstance = msg;
245
+ }
246
+ return obj;
247
+ };
248
+ }
249
+
250
+
251
+ /**
252
+ * Deserializes binary data (in protobuf wire format).
253
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
254
+ * @return {!proto.fintekkers.requests.valuation.ProductInput}
255
+ */
256
+ proto.fintekkers.requests.valuation.ProductInput.deserializeBinary = function(bytes) {
257
+ var reader = new jspb.BinaryReader(bytes);
258
+ var msg = new proto.fintekkers.requests.valuation.ProductInput;
259
+ return proto.fintekkers.requests.valuation.ProductInput.deserializeBinaryFromReader(msg, reader);
260
+ };
261
+
262
+
263
+ /**
264
+ * Deserializes binary data (in protobuf wire format) from the
265
+ * given reader into the given message object.
266
+ * @param {!proto.fintekkers.requests.valuation.ProductInput} msg The message object to deserialize into.
267
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
268
+ * @return {!proto.fintekkers.requests.valuation.ProductInput}
269
+ */
270
+ proto.fintekkers.requests.valuation.ProductInput.deserializeBinaryFromReader = function(msg, reader) {
271
+ while (reader.nextField()) {
272
+ if (reader.isEndGroup()) {
273
+ break;
274
+ }
275
+ var field = reader.getFieldNumber();
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;
282
+ case 8:
283
+ var value = new proto.fintekkers.requests.valuation.FrnInput;
284
+ reader.readMessage(value,proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader);
285
+ msg.setFrn(value);
286
+ break;
287
+ default:
288
+ reader.skipField();
289
+ break;
290
+ }
291
+ }
292
+ return msg;
293
+ };
294
+
295
+
296
+ /**
297
+ * Serializes the message to binary data (in protobuf wire format).
298
+ * @return {!Uint8Array}
299
+ */
300
+ proto.fintekkers.requests.valuation.ProductInput.prototype.serializeBinary = function() {
301
+ var writer = new jspb.BinaryWriter();
302
+ proto.fintekkers.requests.valuation.ProductInput.serializeBinaryToWriter(this, writer);
303
+ return writer.getResultBuffer();
304
+ };
305
+
306
+
307
+ /**
308
+ * Serializes the given message to binary data (in protobuf wire
309
+ * format), writing to the given BinaryWriter.
310
+ * @param {!proto.fintekkers.requests.valuation.ProductInput} message
311
+ * @param {!jspb.BinaryWriter} writer
312
+ * @suppress {unusedLocalVariables} f is only used for nested messages
313
+ */
314
+ proto.fintekkers.requests.valuation.ProductInput.serializeBinaryToWriter = function(message, writer) {
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
+ }
324
+ f = message.getFrn();
325
+ if (f != null) {
326
+ writer.writeMessage(
327
+ 8,
328
+ f,
329
+ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter
330
+ );
331
+ }
332
+ };
333
+
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
+
372
+ /**
373
+ * optional FrnInput frn = 8;
374
+ * @return {?proto.fintekkers.requests.valuation.FrnInput}
375
+ */
376
+ proto.fintekkers.requests.valuation.ProductInput.prototype.getFrn = function() {
377
+ return /** @type{?proto.fintekkers.requests.valuation.FrnInput} */ (
378
+ jspb.Message.getWrapperField(this, proto.fintekkers.requests.valuation.FrnInput, 8));
379
+ };
380
+
381
+
382
+ /**
383
+ * @param {?proto.fintekkers.requests.valuation.FrnInput|undefined} value
384
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
385
+ */
386
+ proto.fintekkers.requests.valuation.ProductInput.prototype.setFrn = function(value) {
387
+ return jspb.Message.setOneofWrapperField(this, 8, proto.fintekkers.requests.valuation.ProductInput.oneofGroups_[0], value);
388
+ };
389
+
390
+
391
+ /**
392
+ * Clears the message field making it undefined.
393
+ * @return {!proto.fintekkers.requests.valuation.ProductInput} returns this
394
+ */
395
+ proto.fintekkers.requests.valuation.ProductInput.prototype.clearFrn = function() {
396
+ return this.setFrn(undefined);
397
+ };
398
+
399
+
400
+ /**
401
+ * Returns whether this field is set.
402
+ * @return {boolean}
403
+ */
404
+ proto.fintekkers.requests.valuation.ProductInput.prototype.hasFrn = function() {
405
+ return jspb.Message.getField(this, 8) != null;
406
+ };
407
+
408
+
409
+
410
+
411
+
412
+ if (jspb.Message.GENERATE_TO_OBJECT) {
413
+ /**
414
+ * Creates an object representation of this proto.
415
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
416
+ * Optional fields that are not set will be set to undefined.
417
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
418
+ * For the list of reserved names please see:
419
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
420
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
421
+ * JSPB instance for transitional soy proto support:
422
+ * http://goto/soy-param-migration
423
+ * @return {!Object}
424
+ */
425
+ proto.fintekkers.requests.valuation.BondInput.prototype.toObject = function(opt_includeInstance) {
426
+ return proto.fintekkers.requests.valuation.BondInput.toObject(opt_includeInstance, this);
427
+ };
428
+
429
+
430
+ /**
431
+ * Static version of the {@see toObject} method.
432
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
433
+ * the JSPB instance for transitional soy proto support:
434
+ * http://goto/soy-param-migration
435
+ * @param {!proto.fintekkers.requests.valuation.BondInput} msg The msg instance to transform.
436
+ * @return {!Object}
437
+ * @suppress {unusedLocalVariables} f is only used for nested messages
438
+ */
439
+ proto.fintekkers.requests.valuation.BondInput.toObject = function(includeInstance, msg) {
440
+ var f, obj = {
441
+ security: (f = msg.getSecurity()) && fintekkers_models_security_security_pb.SecurityProto.toObject(includeInstance, f),
442
+ cleanPrice: (f = msg.getCleanPrice()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
443
+ benchmarkCurve: (f = msg.getBenchmarkCurve()) && proto.fintekkers.requests.valuation.SecurityBasedCurveInput.toObject(includeInstance, f)
444
+ };
445
+
446
+ if (includeInstance) {
447
+ obj.$jspbMessageInstance = msg;
448
+ }
449
+ return obj;
450
+ };
451
+ }
452
+
453
+
454
+ /**
455
+ * Deserializes binary data (in protobuf wire format).
456
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
457
+ * @return {!proto.fintekkers.requests.valuation.BondInput}
458
+ */
459
+ proto.fintekkers.requests.valuation.BondInput.deserializeBinary = function(bytes) {
460
+ var reader = new jspb.BinaryReader(bytes);
461
+ var msg = new proto.fintekkers.requests.valuation.BondInput;
462
+ return proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader(msg, reader);
463
+ };
464
+
465
+
466
+ /**
467
+ * Deserializes binary data (in protobuf wire format) from the
468
+ * given reader into the given message object.
469
+ * @param {!proto.fintekkers.requests.valuation.BondInput} msg The message object to deserialize into.
470
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
471
+ * @return {!proto.fintekkers.requests.valuation.BondInput}
472
+ */
473
+ proto.fintekkers.requests.valuation.BondInput.deserializeBinaryFromReader = function(msg, reader) {
474
+ while (reader.nextField()) {
475
+ if (reader.isEndGroup()) {
476
+ break;
477
+ }
478
+ var field = reader.getFieldNumber();
479
+ switch (field) {
480
+ case 1:
481
+ var value = new fintekkers_models_security_security_pb.SecurityProto;
482
+ reader.readMessage(value,fintekkers_models_security_security_pb.SecurityProto.deserializeBinaryFromReader);
483
+ msg.setSecurity(value);
484
+ break;
485
+ case 2:
486
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
487
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
488
+ msg.setCleanPrice(value);
489
+ break;
490
+ case 10:
491
+ var value = new proto.fintekkers.requests.valuation.SecurityBasedCurveInput;
492
+ reader.readMessage(value,proto.fintekkers.requests.valuation.SecurityBasedCurveInput.deserializeBinaryFromReader);
493
+ msg.setBenchmarkCurve(value);
494
+ break;
495
+ default:
496
+ reader.skipField();
497
+ break;
498
+ }
499
+ }
500
+ return msg;
501
+ };
502
+
503
+
504
+ /**
505
+ * Serializes the message to binary data (in protobuf wire format).
506
+ * @return {!Uint8Array}
507
+ */
508
+ proto.fintekkers.requests.valuation.BondInput.prototype.serializeBinary = function() {
509
+ var writer = new jspb.BinaryWriter();
510
+ proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter(this, writer);
511
+ return writer.getResultBuffer();
512
+ };
513
+
514
+
515
+ /**
516
+ * Serializes the given message to binary data (in protobuf wire
517
+ * format), writing to the given BinaryWriter.
518
+ * @param {!proto.fintekkers.requests.valuation.BondInput} message
519
+ * @param {!jspb.BinaryWriter} writer
520
+ * @suppress {unusedLocalVariables} f is only used for nested messages
521
+ */
522
+ proto.fintekkers.requests.valuation.BondInput.serializeBinaryToWriter = function(message, writer) {
523
+ var f = undefined;
524
+ f = message.getSecurity();
525
+ if (f != null) {
526
+ writer.writeMessage(
527
+ 1,
528
+ f,
529
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
530
+ );
531
+ }
532
+ f = message.getCleanPrice();
533
+ if (f != null) {
534
+ writer.writeMessage(
535
+ 2,
536
+ f,
537
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
538
+ );
539
+ }
540
+ f = message.getBenchmarkCurve();
541
+ if (f != null) {
542
+ writer.writeMessage(
543
+ 10,
544
+ f,
545
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.serializeBinaryToWriter
546
+ );
547
+ }
548
+ };
549
+
550
+
551
+ /**
552
+ * optional fintekkers.models.security.SecurityProto security = 1;
553
+ * @return {?proto.fintekkers.models.security.SecurityProto}
554
+ */
555
+ proto.fintekkers.requests.valuation.BondInput.prototype.getSecurity = function() {
556
+ return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
557
+ jspb.Message.getWrapperField(this, fintekkers_models_security_security_pb.SecurityProto, 1));
558
+ };
559
+
560
+
561
+ /**
562
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
563
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
564
+ */
565
+ proto.fintekkers.requests.valuation.BondInput.prototype.setSecurity = function(value) {
566
+ return jspb.Message.setWrapperField(this, 1, value);
567
+ };
568
+
569
+
570
+ /**
571
+ * Clears the message field making it undefined.
572
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
573
+ */
574
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearSecurity = function() {
575
+ return this.setSecurity(undefined);
576
+ };
577
+
578
+
579
+ /**
580
+ * Returns whether this field is set.
581
+ * @return {boolean}
582
+ */
583
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasSecurity = function() {
584
+ return jspb.Message.getField(this, 1) != null;
585
+ };
586
+
587
+
588
+ /**
589
+ * optional fintekkers.models.util.DecimalValueProto clean_price = 2;
590
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
591
+ */
592
+ proto.fintekkers.requests.valuation.BondInput.prototype.getCleanPrice = function() {
593
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
594
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
595
+ };
596
+
597
+
598
+ /**
599
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
600
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
601
+ */
602
+ proto.fintekkers.requests.valuation.BondInput.prototype.setCleanPrice = function(value) {
603
+ return jspb.Message.setWrapperField(this, 2, value);
604
+ };
605
+
606
+
607
+ /**
608
+ * Clears the message field making it undefined.
609
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
610
+ */
611
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearCleanPrice = function() {
612
+ return this.setCleanPrice(undefined);
613
+ };
614
+
615
+
616
+ /**
617
+ * Returns whether this field is set.
618
+ * @return {boolean}
619
+ */
620
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasCleanPrice = function() {
621
+ return jspb.Message.getField(this, 2) != null;
622
+ };
623
+
624
+
625
+ /**
626
+ * optional SecurityBasedCurveInput benchmark_curve = 10;
627
+ * @return {?proto.fintekkers.requests.valuation.SecurityBasedCurveInput}
628
+ */
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));
632
+ };
633
+
634
+
635
+ /**
636
+ * @param {?proto.fintekkers.requests.valuation.SecurityBasedCurveInput|undefined} value
637
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
638
+ */
639
+ proto.fintekkers.requests.valuation.BondInput.prototype.setBenchmarkCurve = function(value) {
640
+ return jspb.Message.setWrapperField(this, 10, value);
641
+ };
642
+
643
+
644
+ /**
645
+ * Clears the message field making it undefined.
646
+ * @return {!proto.fintekkers.requests.valuation.BondInput} returns this
647
+ */
648
+ proto.fintekkers.requests.valuation.BondInput.prototype.clearBenchmarkCurve = function() {
649
+ return this.setBenchmarkCurve(undefined);
650
+ };
651
+
652
+
653
+ /**
654
+ * Returns whether this field is set.
655
+ * @return {boolean}
656
+ */
657
+ proto.fintekkers.requests.valuation.BondInput.prototype.hasBenchmarkCurve = function() {
658
+ return jspb.Message.getField(this, 10) != null;
659
+ };
660
+
661
+
662
+
663
+
664
+
665
+ if (jspb.Message.GENERATE_TO_OBJECT) {
666
+ /**
667
+ * Creates an object representation of this proto.
668
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
669
+ * Optional fields that are not set will be set to undefined.
670
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
671
+ * For the list of reserved names please see:
672
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
673
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
674
+ * JSPB instance for transitional soy proto support:
675
+ * http://goto/soy-param-migration
676
+ * @return {!Object}
677
+ */
678
+ proto.fintekkers.requests.valuation.FrnInput.prototype.toObject = function(opt_includeInstance) {
679
+ return proto.fintekkers.requests.valuation.FrnInput.toObject(opt_includeInstance, this);
680
+ };
681
+
682
+
683
+ /**
684
+ * Static version of the {@see toObject} method.
685
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
686
+ * the JSPB instance for transitional soy proto support:
687
+ * http://goto/soy-param-migration
688
+ * @param {!proto.fintekkers.requests.valuation.FrnInput} msg The msg instance to transform.
689
+ * @return {!Object}
690
+ * @suppress {unusedLocalVariables} f is only used for nested messages
691
+ */
692
+ proto.fintekkers.requests.valuation.FrnInput.toObject = function(includeInstance, msg) {
693
+ var f, obj = {
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)
697
+ };
698
+
699
+ if (includeInstance) {
700
+ obj.$jspbMessageInstance = msg;
701
+ }
702
+ return obj;
703
+ };
704
+ }
705
+
706
+
707
+ /**
708
+ * Deserializes binary data (in protobuf wire format).
709
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
710
+ * @return {!proto.fintekkers.requests.valuation.FrnInput}
711
+ */
712
+ proto.fintekkers.requests.valuation.FrnInput.deserializeBinary = function(bytes) {
713
+ var reader = new jspb.BinaryReader(bytes);
714
+ var msg = new proto.fintekkers.requests.valuation.FrnInput;
715
+ return proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader(msg, reader);
716
+ };
717
+
718
+
719
+ /**
720
+ * Deserializes binary data (in protobuf wire format) from the
721
+ * given reader into the given message object.
722
+ * @param {!proto.fintekkers.requests.valuation.FrnInput} msg The message object to deserialize into.
723
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
724
+ * @return {!proto.fintekkers.requests.valuation.FrnInput}
725
+ */
726
+ proto.fintekkers.requests.valuation.FrnInput.deserializeBinaryFromReader = function(msg, reader) {
727
+ while (reader.nextField()) {
728
+ if (reader.isEndGroup()) {
729
+ break;
730
+ }
731
+ var field = reader.getFieldNumber();
732
+ switch (field) {
733
+ case 1:
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);
737
+ break;
738
+ case 2:
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);
742
+ break;
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);
747
+ break;
748
+ default:
749
+ reader.skipField();
750
+ break;
751
+ }
752
+ }
753
+ return msg;
754
+ };
755
+
756
+
757
+ /**
758
+ * Serializes the message to binary data (in protobuf wire format).
759
+ * @return {!Uint8Array}
760
+ */
761
+ proto.fintekkers.requests.valuation.FrnInput.prototype.serializeBinary = function() {
762
+ var writer = new jspb.BinaryWriter();
763
+ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter(this, writer);
764
+ return writer.getResultBuffer();
765
+ };
766
+
767
+
768
+ /**
769
+ * Serializes the given message to binary data (in protobuf wire
770
+ * format), writing to the given BinaryWriter.
771
+ * @param {!proto.fintekkers.requests.valuation.FrnInput} message
772
+ * @param {!jspb.BinaryWriter} writer
773
+ * @suppress {unusedLocalVariables} f is only used for nested messages
774
+ */
775
+ proto.fintekkers.requests.valuation.FrnInput.serializeBinaryToWriter = function(message, writer) {
776
+ var f = undefined;
777
+ f = message.getSecurity();
778
+ if (f != null) {
779
+ writer.writeMessage(
780
+ 1,
781
+ f,
782
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
783
+ );
784
+ }
785
+ f = message.getCleanPrice();
786
+ if (f != null) {
787
+ writer.writeMessage(
788
+ 2,
789
+ f,
790
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
791
+ );
792
+ }
793
+ f = message.getCurve();
794
+ if (f != null) {
795
+ writer.writeMessage(
796
+ 10,
797
+ f,
798
+ proto.fintekkers.requests.valuation.YieldCurveInput.serializeBinaryToWriter
799
+ );
800
+ }
801
+ };
802
+
803
+
804
+ /**
805
+ * optional fintekkers.models.security.SecurityProto security = 1;
806
+ * @return {?proto.fintekkers.models.security.SecurityProto}
807
+ */
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));
811
+ };
812
+
813
+
814
+ /**
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);
820
+ };
821
+
822
+
823
+ /**
824
+ * Clears the message field making it undefined.
825
+ * @return {!proto.fintekkers.requests.valuation.FrnInput} returns this
826
+ */
827
+ proto.fintekkers.requests.valuation.FrnInput.prototype.clearSecurity = function() {
828
+ return this.setSecurity(undefined);
829
+ };
830
+
831
+
832
+ /**
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);
1337
+ };
1338
+
1339
+
1340
+ /**
1341
+ * Clears the message field making it undefined.
1342
+ * @return {!proto.fintekkers.requests.valuation.CurvePoint} returns this
1343
+ */
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() {
1548
+ return this.setReferenceDate(undefined);
1549
+ };
1550
+
1551
+
1552
+ /**
1553
+ * Returns whether this field is set.
1554
+ * @return {boolean}
1555
+ */
1556
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.hasReferenceDate = function() {
1557
+ return jspb.Message.getField(this, 2) != null;
1558
+ };
1559
+
1560
+
1561
+ /**
1562
+ * repeated SecurityCurvePoint points = 3;
1563
+ * @return {!Array<!proto.fintekkers.requests.valuation.SecurityCurvePoint>}
1564
+ */
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));
1568
+ };
1569
+
1570
+
1571
+ /**
1572
+ * @param {!Array<!proto.fintekkers.requests.valuation.SecurityCurvePoint>} value
1573
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
1574
+ */
1575
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.setPointsList = function(value) {
1576
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
1577
+ };
1578
+
1579
+
1580
+ /**
1581
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint=} opt_value
1582
+ * @param {number=} opt_index
1583
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
1584
+ */
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);
1587
+ };
1588
+
1589
+
1590
+ /**
1591
+ * Clears the list making it empty but non-null.
1592
+ * @return {!proto.fintekkers.requests.valuation.SecurityBasedCurveInput} returns this
1593
+ */
1594
+ proto.fintekkers.requests.valuation.SecurityBasedCurveInput.prototype.clearPointsList = function() {
1595
+ return this.setPointsList([]);
1596
+ };
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1603
+ /**
1604
+ * Creates an object representation of this proto.
1605
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1606
+ * Optional fields that are not set will be set to undefined.
1607
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1608
+ * For the list of reserved names please see:
1609
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1610
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1611
+ * JSPB instance for transitional soy proto support:
1612
+ * http://goto/soy-param-migration
1613
+ * @return {!Object}
1614
+ */
1615
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.toObject = function(opt_includeInstance) {
1616
+ return proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject(opt_includeInstance, this);
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * Static version of the {@see toObject} method.
1622
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1623
+ * the JSPB instance for transitional soy proto support:
1624
+ * http://goto/soy-param-migration
1625
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint} msg The msg instance to transform.
1626
+ * @return {!Object}
1627
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1628
+ */
1629
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.toObject = function(includeInstance, msg) {
1630
+ var f, obj = {
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)
1633
+ };
1634
+
1635
+ if (includeInstance) {
1636
+ obj.$jspbMessageInstance = msg;
1637
+ }
1638
+ return obj;
1639
+ };
1640
+ }
1641
+
1642
+
1643
+ /**
1644
+ * Deserializes binary data (in protobuf wire format).
1645
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1646
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
1647
+ */
1648
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinary = function(bytes) {
1649
+ var reader = new jspb.BinaryReader(bytes);
1650
+ var msg = new proto.fintekkers.requests.valuation.SecurityCurvePoint;
1651
+ return proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinaryFromReader(msg, reader);
1652
+ };
1653
+
1654
+
1655
+ /**
1656
+ * Deserializes binary data (in protobuf wire format) from the
1657
+ * given reader into the given message object.
1658
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint} msg The message object to deserialize into.
1659
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1660
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint}
1661
+ */
1662
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.deserializeBinaryFromReader = function(msg, reader) {
1663
+ while (reader.nextField()) {
1664
+ if (reader.isEndGroup()) {
1665
+ break;
1666
+ }
1667
+ var field = reader.getFieldNumber();
1668
+ switch (field) {
1669
+ case 1:
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);
1673
+ break;
1674
+ case 2:
1675
+ var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
1676
+ reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
1677
+ msg.setCleanPrice(value);
1678
+ break;
1679
+ default:
1680
+ reader.skipField();
1681
+ break;
1682
+ }
1683
+ }
1684
+ return msg;
1685
+ };
1686
+
1687
+
1688
+ /**
1689
+ * Serializes the message to binary data (in protobuf wire format).
1690
+ * @return {!Uint8Array}
1691
+ */
1692
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.serializeBinary = function() {
1693
+ var writer = new jspb.BinaryWriter();
1694
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.serializeBinaryToWriter(this, writer);
1695
+ return writer.getResultBuffer();
1696
+ };
1697
+
1698
+
1699
+ /**
1700
+ * Serializes the given message to binary data (in protobuf wire
1701
+ * format), writing to the given BinaryWriter.
1702
+ * @param {!proto.fintekkers.requests.valuation.SecurityCurvePoint} message
1703
+ * @param {!jspb.BinaryWriter} writer
1704
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1705
+ */
1706
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.serializeBinaryToWriter = function(message, writer) {
1707
+ var f = undefined;
1708
+ f = message.getSecurity();
1709
+ if (f != null) {
1710
+ writer.writeMessage(
1711
+ 1,
1712
+ f,
1713
+ fintekkers_models_security_security_pb.SecurityProto.serializeBinaryToWriter
1714
+ );
1715
+ }
1716
+ f = message.getCleanPrice();
1717
+ if (f != null) {
1718
+ writer.writeMessage(
1719
+ 2,
1720
+ f,
1721
+ fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
1722
+ );
1723
+ }
1724
+ };
1725
+
1726
+
1727
+ /**
1728
+ * optional fintekkers.models.security.SecurityProto security = 1;
1729
+ * @return {?proto.fintekkers.models.security.SecurityProto}
1730
+ */
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));
1734
+ };
1735
+
1736
+
1737
+ /**
1738
+ * @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
1739
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
1740
+ */
1741
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.setSecurity = function(value) {
1742
+ return jspb.Message.setWrapperField(this, 1, value);
1743
+ };
1744
+
1745
+
1746
+ /**
1747
+ * Clears the message field making it undefined.
1748
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
1749
+ */
1750
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.clearSecurity = function() {
1751
+ return this.setSecurity(undefined);
1752
+ };
1753
+
1754
+
1755
+ /**
1756
+ * Returns whether this field is set.
1757
+ * @return {boolean}
1758
+ */
1759
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.hasSecurity = function() {
1760
+ return jspb.Message.getField(this, 1) != null;
1761
+ };
1762
+
1763
+
1764
+ /**
1765
+ * optional fintekkers.models.util.DecimalValueProto clean_price = 2;
1766
+ * @return {?proto.fintekkers.models.util.DecimalValueProto}
1767
+ */
1768
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.getCleanPrice = function() {
1769
+ return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
1770
+ jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 2));
1771
+ };
1772
+
1773
+
1774
+ /**
1775
+ * @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
1776
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
1777
+ */
1778
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.setCleanPrice = function(value) {
1779
+ return jspb.Message.setWrapperField(this, 2, value);
1780
+ };
1781
+
1782
+
1783
+ /**
1784
+ * Clears the message field making it undefined.
1785
+ * @return {!proto.fintekkers.requests.valuation.SecurityCurvePoint} returns this
1786
+ */
1787
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.clearCleanPrice = function() {
1788
+ return this.setCleanPrice(undefined);
1789
+ };
1790
+
1791
+
1792
+ /**
1793
+ * Returns whether this field is set.
1794
+ * @return {boolean}
1795
+ */
1796
+ proto.fintekkers.requests.valuation.SecurityCurvePoint.prototype.hasCleanPrice = function() {
1797
+ return jspb.Message.getField(this, 2) != null;
1798
+ };
1799
+
1800
+
1801
+ goog.object.extend(exports, proto.fintekkers.requests.valuation);