@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.
- package/.npmrc.example +4 -0
- package/catalog/fields.json +275 -0
- package/catalog/measures.json +259 -0
- package/node/fintekkers/models/portfolio/portfolio_pb.js +13 -19
- package/node/fintekkers/models/position/field_pb.js +1 -7
- package/node/fintekkers/models/position/measure_pb.d.ts +18 -0
- package/node/fintekkers/models/position/measure_pb.js +20 -8
- package/node/fintekkers/models/position/position_filter_pb.js +7 -13
- package/node/fintekkers/models/position/position_pb.d.ts +7 -0
- package/node/fintekkers/models/position/position_pb.js +64 -17
- package/node/fintekkers/models/position/position_status_pb.js +1 -7
- package/node/fintekkers/models/position/position_util_pb.js +11 -17
- package/node/fintekkers/models/price/price_pb.d.ts +4 -0
- package/node/fintekkers/models/price/price_pb.js +45 -19
- package/node/fintekkers/models/price/price_type_grpc_pb.js +1 -0
- package/node/fintekkers/models/price/price_type_pb.d.ts +15 -0
- package/node/fintekkers/models/price/price_type_pb.js +30 -0
- package/node/fintekkers/models/security/bond/auction_type_pb.js +1 -7
- package/node/fintekkers/models/security/bond/issuance_pb.js +17 -23
- package/node/fintekkers/models/security/coupon_frequency_pb.js +1 -7
- package/node/fintekkers/models/security/coupon_type_pb.js +1 -7
- package/node/fintekkers/models/security/identifier/identifier_pb.js +9 -15
- package/node/fintekkers/models/security/identifier/identifier_type_pb.d.ts +1 -0
- package/node/fintekkers/models/security/identifier/identifier_type_pb.js +2 -7
- package/node/fintekkers/models/security/index/index_type_grpc_pb.js +1 -0
- package/node/fintekkers/models/security/index/index_type_pb.d.ts +26 -0
- package/node/fintekkers/models/security/index/index_type_pb.js +41 -0
- package/node/fintekkers/models/security/index_composition_pb.d.ts +126 -0
- package/node/fintekkers/models/security/index_composition_pb.js +992 -0
- package/node/fintekkers/models/security/security_pb.d.ts +382 -0
- package/node/fintekkers/models/security/security_pb.js +3183 -57
- package/node/fintekkers/models/security/security_quantity_type_pb.js +1 -7
- package/node/fintekkers/models/security/security_type_pb.d.ts +3 -0
- package/node/fintekkers/models/security/security_type_pb.js +5 -8
- package/node/fintekkers/models/security/tenor_pb.js +9 -15
- package/node/fintekkers/models/security/tenor_type_pb.js +1 -7
- package/node/fintekkers/models/strategy/strategy_allocation_pb.js +13 -19
- package/node/fintekkers/models/strategy/strategy_pb.js +14 -20
- package/node/fintekkers/models/transaction/transaction_pb.js +24 -30
- package/node/fintekkers/models/transaction/transaction_type_pb.js +1 -7
- package/node/fintekkers/models/util/api/api_key_pb.js +10 -16
- package/node/fintekkers/models/util/currency_pb.d.ts +27 -0
- package/node/fintekkers/models/util/currency_pb.js +170 -0
- package/node/fintekkers/models/util/date_range_pb.js +8 -14
- package/node/fintekkers/models/util/decimal_value_pb.js +4 -10
- package/node/fintekkers/models/util/endpoint_pb.js +7 -13
- package/node/fintekkers/models/util/local_date_pb.js +5 -11
- package/node/fintekkers/models/util/local_timestamp_pb.js +5 -11
- package/node/fintekkers/models/util/lock/node_partition_pb.js +9 -15
- package/node/fintekkers/models/util/lock/node_state_pb.js +10 -16
- package/node/fintekkers/models/util/uuid_pb.js +3 -9
- package/node/fintekkers/models/valuation/cashflow_pb.d.ts +57 -0
- package/node/fintekkers/models/valuation/cashflow_pb.js +401 -0
- package/node/fintekkers/requests/index_composition/create_index_composition_request_pb.d.ts +79 -0
- package/node/fintekkers/requests/index_composition/create_index_composition_request_pb.js +599 -0
- package/node/fintekkers/requests/index_composition/get_index_composition_request_pb.d.ts +84 -0
- package/node/fintekkers/requests/index_composition/get_index_composition_request_pb.js +624 -0
- package/node/fintekkers/requests/portfolio/create_portfolio_request_pb.js +7 -13
- package/node/fintekkers/requests/portfolio/create_portfolio_response_pb.js +8 -14
- package/node/fintekkers/requests/portfolio/query_portfolio_request_pb.d.ts +3 -0
- package/node/fintekkers/requests/portfolio/query_portfolio_request_pb.js +39 -15
- package/node/fintekkers/requests/portfolio/query_portfolio_response_pb.js +8 -14
- package/node/fintekkers/requests/position/query_position_request_pb.js +15 -27
- package/node/fintekkers/requests/position/query_position_response_pb.js +10 -16
- package/node/fintekkers/requests/price/create_price_request_pb.js +7 -13
- package/node/fintekkers/requests/price/create_price_response_pb.js +8 -14
- package/node/fintekkers/requests/price/query_price_request_pb.js +12 -18
- package/node/fintekkers/requests/price/query_price_response_pb.js +8 -14
- package/node/fintekkers/requests/security/create_security_request_pb.js +7 -13
- package/node/fintekkers/requests/security/create_security_response_pb.js +9 -15
- package/node/fintekkers/requests/security/get_field_values_request_pb.js +7 -13
- package/node/fintekkers/requests/security/get_field_values_response_pb.js +7 -13
- package/node/fintekkers/requests/security/get_fields_response_pb.js +8 -17
- package/node/fintekkers/requests/security/query_security_request_pb.d.ts +3 -0
- package/node/fintekkers/requests/security/query_security_request_pb.js +39 -15
- package/node/fintekkers/requests/security/query_security_response_pb.js +9 -15
- package/node/fintekkers/requests/transaction/create_transaction_request_pb.js +7 -13
- package/node/fintekkers/requests/transaction/create_transaction_response_pb.js +8 -14
- package/node/fintekkers/requests/transaction/query_transaction_request_pb.js +10 -16
- package/node/fintekkers/requests/transaction/query_transaction_response_pb.js +9 -15
- package/node/fintekkers/requests/util/delete_request_pb.d.ts +135 -0
- package/node/fintekkers/requests/util/delete_request_pb.js +1051 -0
- package/node/fintekkers/requests/util/errors/error_pb.js +7 -13
- package/node/fintekkers/requests/util/errors/message_pb.js +6 -12
- package/node/fintekkers/requests/util/errors/summary_pb.js +4 -10
- package/node/fintekkers/requests/util/lock/lock_request_pb.js +8 -14
- package/node/fintekkers/requests/util/lock/lock_response_pb.js +9 -15
- package/node/fintekkers/requests/util/operation_pb.js +1 -7
- package/node/fintekkers/requests/valuation/curve_request_pb.d.ts +85 -0
- package/node/fintekkers/requests/valuation/curve_request_pb.js +646 -0
- package/node/fintekkers/requests/valuation/curve_response_pb.d.ts +105 -0
- package/node/fintekkers/requests/valuation/curve_response_pb.js +806 -0
- package/node/fintekkers/requests/valuation/product_inputs.test.ts +172 -0
- package/node/fintekkers/requests/valuation/product_inputs_pb.d.ts +239 -0
- package/node/fintekkers/requests/valuation/product_inputs_pb.js +1801 -0
- package/node/fintekkers/requests/valuation/valuation_request_pb.d.ts +19 -0
- package/node/fintekkers/requests/valuation/valuation_request_pb.js +168 -22
- package/node/fintekkers/requests/valuation/valuation_response_pb.d.ts +13 -0
- package/node/fintekkers/requests/valuation/valuation_response_pb.js +118 -16
- package/node/fintekkers/services/index-composition-service/index_composition_service_grpc_pb.d.ts +60 -0
- package/node/fintekkers/services/index-composition-service/index_composition_service_grpc_pb.js +87 -0
- package/node/fintekkers/services/index-composition-service/index_composition_service_pb.d.ts +9 -0
- package/node/fintekkers/services/index-composition-service/index_composition_service_pb.js +21 -0
- package/node/fintekkers/services/lock-service/lock_service_grpc_pb.js +22 -22
- package/node/fintekkers/services/lock-service/lock_service_pb.js +15 -21
- package/node/fintekkers/services/portfolio-service/portfolio_service_grpc_pb.d.ts +18 -0
- package/node/fintekkers/services/portfolio-service/portfolio_service_grpc_pb.js +39 -5
- package/node/fintekkers/services/portfolio-service/portfolio_service_pb.d.ts +1 -0
- package/node/fintekkers/services/portfolio-service/portfolio_service_pb.js +3 -7
- package/node/fintekkers/services/position-service/position_service_grpc_pb.d.ts +37 -0
- package/node/fintekkers/services/position-service/position_service_grpc_pb.js +64 -6
- package/node/fintekkers/services/position-service/position_service_pb.d.ts +3 -0
- package/node/fintekkers/services/position-service/position_service_pb.js +7 -7
- package/node/fintekkers/services/price-service/price_service_grpc_pb.js +5 -5
- package/node/fintekkers/services/price-service/price_service_pb.js +1 -7
- package/node/fintekkers/services/security-service/security_service_grpc_pb.d.ts +18 -0
- package/node/fintekkers/services/security-service/security_service_grpc_pb.js +43 -9
- package/node/fintekkers/services/security-service/security_service_pb.d.ts +1 -0
- package/node/fintekkers/services/security-service/security_service_pb.js +3 -7
- package/node/fintekkers/services/transaction-service/transaction_service_grpc_pb.d.ts +55 -0
- package/node/fintekkers/services/transaction-service/transaction_service_grpc_pb.js +97 -5
- package/node/fintekkers/services/transaction-service/transaction_service_pb.d.ts +4 -0
- package/node/fintekkers/services/transaction-service/transaction_service_pb.js +9 -7
- package/node/fintekkers/services/valuation-service/valuation_service_grpc_pb.d.ts +19 -0
- package/node/fintekkers/services/valuation-service/valuation_service_grpc_pb.js +37 -2
- package/node/fintekkers/services/valuation-service/valuation_service_pb.d.ts +2 -0
- package/node/fintekkers/services/valuation-service/valuation_service_pb.js +5 -7
- package/node/wrappers/models/portfolio/portfolio.js.map +1 -1
- package/node/wrappers/models/portfolio/portfolio.test.d.ts +2 -0
- package/node/wrappers/models/portfolio/portfolio.test.js +29 -0
- package/node/wrappers/models/portfolio/portfolio.test.js.map +1 -0
- package/node/wrappers/models/portfolio/portfolio.test.ts +28 -0
- package/node/wrappers/models/position/position.js +25 -13
- package/node/wrappers/models/position/position.js.map +1 -1
- package/node/wrappers/models/position/position.test.js +20 -0
- package/node/wrappers/models/position/position.test.js.map +1 -1
- package/node/wrappers/models/position/position.test.ts +23 -0
- package/node/wrappers/models/position/position.ts +27 -13
- package/node/wrappers/models/position/positionfilter.js +1 -1
- package/node/wrappers/models/position/positionfilter.js.map +1 -1
- package/node/wrappers/models/position/positionfilter.test.js.map +1 -1
- package/node/wrappers/models/price/Price.cash.test.d.ts +1 -0
- package/node/wrappers/models/price/Price.cash.test.js +42 -0
- package/node/wrappers/models/price/Price.cash.test.js.map +1 -0
- package/node/wrappers/models/price/Price.cash.test.ts +43 -0
- package/node/wrappers/models/price/Price.d.ts +38 -0
- package/node/wrappers/models/price/Price.js +111 -0
- package/node/wrappers/models/price/Price.js.map +1 -0
- package/node/wrappers/models/price/Price.test.d.ts +1 -0
- package/node/wrappers/models/price/Price.test.js +55 -0
- package/node/wrappers/models/price/Price.test.js.map +1 -0
- package/node/wrappers/models/price/Price.test.ts +63 -0
- package/node/wrappers/models/price/Price.ts +123 -0
- package/node/wrappers/models/security/BondSecurity.d.ts +17 -2
- package/node/wrappers/models/security/BondSecurity.js +59 -11
- package/node/wrappers/models/security/BondSecurity.js.map +1 -1
- package/node/wrappers/models/security/BondSecurity.priceScale.test.d.ts +1 -0
- package/node/wrappers/models/security/BondSecurity.priceScale.test.js +36 -0
- package/node/wrappers/models/security/BondSecurity.priceScale.test.js.map +1 -0
- package/node/wrappers/models/security/BondSecurity.priceScale.test.ts +36 -0
- package/node/wrappers/models/security/BondSecurity.test.js +34 -1
- package/node/wrappers/models/security/BondSecurity.test.js.map +1 -1
- package/node/wrappers/models/security/BondSecurity.test.ts +42 -1
- package/node/wrappers/models/security/BondSecurity.ts +63 -11
- package/node/wrappers/models/security/security-roundtrip.test.d.ts +1 -0
- package/node/wrappers/models/security/security-roundtrip.test.js +173 -0
- package/node/wrappers/models/security/security-roundtrip.test.js.map +1 -0
- package/node/wrappers/models/security/security-roundtrip.test.ts +192 -0
- package/node/wrappers/models/security/security.d.ts +8 -0
- package/node/wrappers/models/security/security.js +24 -2
- package/node/wrappers/models/security/security.js.map +1 -1
- package/node/wrappers/models/security/security.ts +26 -2
- package/node/wrappers/models/security/term.js +31 -6
- package/node/wrappers/models/security/term.js.map +1 -1
- package/node/wrappers/models/security/term.test.js +21 -2
- package/node/wrappers/models/security/term.test.js.map +1 -1
- package/node/wrappers/models/security/term.test.ts +28 -2
- package/node/wrappers/models/security/term.ts +34 -6
- package/node/wrappers/models/transaction/transaction.d.ts +59 -1
- package/node/wrappers/models/transaction/transaction.derived.test.d.ts +1 -0
- package/node/wrappers/models/transaction/transaction.derived.test.js +199 -0
- package/node/wrappers/models/transaction/transaction.derived.test.js.map +1 -0
- package/node/wrappers/models/transaction/transaction.derived.test.ts +251 -0
- package/node/wrappers/models/transaction/transaction.js +350 -2
- package/node/wrappers/models/transaction/transaction.js.map +1 -1
- package/node/wrappers/models/transaction/transaction.ts +416 -2
- package/node/wrappers/models/transaction/transaction_constructor.test.d.ts +1 -0
- package/node/wrappers/models/transaction/transaction_constructor.test.js +100 -0
- package/node/wrappers/models/transaction/transaction_constructor.test.js.map +1 -0
- package/node/wrappers/models/transaction/transaction_constructor.test.ts +111 -0
- package/node/wrappers/models/transaction/transaction_type.js.map +1 -1
- package/node/wrappers/models/utils/datetime.d.ts +6 -0
- package/node/wrappers/models/utils/datetime.js +14 -6
- package/node/wrappers/models/utils/datetime.js.map +1 -1
- package/node/wrappers/models/utils/datetime.ts +15 -6
- package/node/wrappers/models/utils/protoEnum.js.map +1 -1
- package/node/wrappers/models/utils/requestcontext.d.ts +17 -3
- package/node/wrappers/models/utils/requestcontext.js +39 -7
- package/node/wrappers/models/utils/requestcontext.js.map +1 -1
- package/node/wrappers/models/utils/requestcontext.test.d.ts +1 -0
- package/node/wrappers/models/utils/requestcontext.test.js +108 -0
- package/node/wrappers/models/utils/requestcontext.test.js.map +1 -0
- package/node/wrappers/models/utils/requestcontext.test.ts +85 -0
- package/node/wrappers/models/utils/requestcontext.ts +49 -9
- package/node/wrappers/models/utils/serialization.d.ts +2 -1
- package/node/wrappers/models/utils/serialization.js +4 -0
- package/node/wrappers/models/utils/serialization.js.map +1 -1
- package/node/wrappers/models/utils/serialization.test.js +15 -0
- package/node/wrappers/models/utils/serialization.test.js.map +1 -1
- package/node/wrappers/models/utils/serialization.test.ts +19 -1
- package/node/wrappers/models/utils/serialization.ts +5 -4
- package/node/wrappers/models/utils/serialization.util.js.map +1 -1
- package/node/wrappers/models/utils/uuid.js +9 -1
- package/node/wrappers/models/utils/uuid.js.map +1 -1
- package/node/wrappers/models/utils/uuid.test.js +22 -4
- package/node/wrappers/models/utils/uuid.test.js.map +1 -1
- package/node/wrappers/models/utils/uuid.test.ts +26 -5
- package/node/wrappers/models/utils/uuid.ts +7 -1
- package/node/wrappers/services/apikey.test.d.ts +7 -0
- package/node/wrappers/services/apikey.test.js +56 -0
- package/node/wrappers/services/apikey.test.js.map +1 -0
- package/node/wrappers/services/apikey.test.ts +65 -0
- package/node/wrappers/services/portfolio-service/PortfolioService.d.ts +1 -1
- package/node/wrappers/services/portfolio-service/PortfolioService.js +8 -2
- package/node/wrappers/services/portfolio-service/PortfolioService.js.map +1 -1
- package/node/wrappers/services/portfolio-service/PortfolioService.ts +7 -2
- package/node/wrappers/services/position-service/PositionService.d.ts +1 -1
- package/node/wrappers/services/position-service/PositionService.js +8 -2
- package/node/wrappers/services/position-service/PositionService.js.map +1 -1
- package/node/wrappers/services/position-service/PositionService.ts +7 -2
- package/node/wrappers/services/position-service/position.test.js.map +1 -1
- package/node/wrappers/services/price-service/PriceService.d.ts +29 -0
- package/node/wrappers/services/price-service/PriceService.js +151 -0
- package/node/wrappers/services/price-service/PriceService.js.map +1 -0
- package/node/wrappers/services/price-service/PriceService.ts +127 -0
- package/node/wrappers/services/price-service/price-wrapper.test.d.ts +1 -0
- package/node/wrappers/services/price-service/price-wrapper.test.js +132 -0
- package/node/wrappers/services/price-service/price-wrapper.test.js.map +1 -0
- package/node/wrappers/services/price-service/price-wrapper.test.ts +120 -0
- package/node/wrappers/services/price-service/price.test.d.ts +1 -0
- package/node/wrappers/services/price-service/price.test.js +198 -0
- package/node/wrappers/services/price-service/price.test.js.map +1 -0
- package/node/wrappers/services/price-service/price.test.ts +205 -0
- package/node/wrappers/services/security-service/SecurityService.d.ts +1 -1
- package/node/wrappers/services/security-service/SecurityService.js +8 -2
- package/node/wrappers/services/security-service/SecurityService.js.map +1 -1
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.d.ts +1 -0
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js +38 -0
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.js.map +1 -0
- package/node/wrappers/services/security-service/SecurityService.searchByUuid.test.ts +32 -0
- package/node/wrappers/services/security-service/SecurityService.ts +7 -2
- package/node/wrappers/services/security-service/security.maturityLadder.test.js.map +1 -1
- package/node/wrappers/services/transaction-service/TransactionService.d.ts +1 -1
- package/node/wrappers/services/transaction-service/TransactionService.js +8 -2
- package/node/wrappers/services/transaction-service/TransactionService.js.map +1 -1
- package/node/wrappers/services/transaction-service/TransactionService.ts +7 -2
- package/node/wrappers/services/transaction-service/transaction.search.test.js.map +1 -1
- package/node/wrappers/services/transaction-service/transaction.test.js.map +1 -1
- package/package.json +3 -2
- package/.env +0 -3
|
@@ -13,13 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
if (this) { return this; }
|
|
18
|
-
if (typeof window !== 'undefined') { return window; }
|
|
19
|
-
if (typeof global !== 'undefined') { return global; }
|
|
20
|
-
if (typeof self !== 'undefined') { return self; }
|
|
21
|
-
return Function('return this')();
|
|
22
|
-
}.call(null));
|
|
16
|
+
var global = globalThis;
|
|
23
17
|
|
|
24
18
|
var fintekkers_models_util_decimal_value_pb = require('../../../fintekkers/models/util/decimal_value_pb.js');
|
|
25
19
|
goog.object.extend(proto, fintekkers_models_util_decimal_value_pb);
|
|
@@ -41,7 +35,17 @@ var fintekkers_models_security_coupon_frequency_pb = require('../../../fintekker
|
|
|
41
35
|
goog.object.extend(proto, fintekkers_models_security_coupon_frequency_pb);
|
|
42
36
|
var fintekkers_models_security_coupon_type_pb = require('../../../fintekkers/models/security/coupon_type_pb.js');
|
|
43
37
|
goog.object.extend(proto, fintekkers_models_security_coupon_type_pb);
|
|
38
|
+
var fintekkers_models_security_index_index_type_pb = require('../../../fintekkers/models/security/index/index_type_pb.js');
|
|
39
|
+
goog.object.extend(proto, fintekkers_models_security_index_index_type_pb);
|
|
40
|
+
goog.exportSymbol('proto.fintekkers.models.security.BondDetailsProto', null, global);
|
|
41
|
+
goog.exportSymbol('proto.fintekkers.models.security.CashDetailsProto', null, global);
|
|
42
|
+
goog.exportSymbol('proto.fintekkers.models.security.EquityDetailsProto', null, global);
|
|
43
|
+
goog.exportSymbol('proto.fintekkers.models.security.FrnDetailsProto', null, global);
|
|
44
|
+
goog.exportSymbol('proto.fintekkers.models.security.FxSpotDetailsProto', null, global);
|
|
45
|
+
goog.exportSymbol('proto.fintekkers.models.security.IndexDetailsProto', null, global);
|
|
44
46
|
goog.exportSymbol('proto.fintekkers.models.security.SecurityProto', null, global);
|
|
47
|
+
goog.exportSymbol('proto.fintekkers.models.security.SecurityProto.ProductDetailsCase', null, global);
|
|
48
|
+
goog.exportSymbol('proto.fintekkers.models.security.TipsDetailsProto', null, global);
|
|
45
49
|
/**
|
|
46
50
|
* Generated by JsPbCodeGenerator.
|
|
47
51
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -53,7 +57,7 @@ goog.exportSymbol('proto.fintekkers.models.security.SecurityProto', null, global
|
|
|
53
57
|
* @constructor
|
|
54
58
|
*/
|
|
55
59
|
proto.fintekkers.models.security.SecurityProto = function(opt_data) {
|
|
56
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.models.security.SecurityProto.repeatedFields_,
|
|
60
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.models.security.SecurityProto.repeatedFields_, proto.fintekkers.models.security.SecurityProto.oneofGroups_);
|
|
57
61
|
};
|
|
58
62
|
goog.inherits(proto.fintekkers.models.security.SecurityProto, jspb.Message);
|
|
59
63
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -63,13 +67,191 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
63
67
|
*/
|
|
64
68
|
proto.fintekkers.models.security.SecurityProto.displayName = 'proto.fintekkers.models.security.SecurityProto';
|
|
65
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Generated by JsPbCodeGenerator.
|
|
72
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
73
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
74
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
75
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
76
|
+
* valid.
|
|
77
|
+
* @extends {jspb.Message}
|
|
78
|
+
* @constructor
|
|
79
|
+
*/
|
|
80
|
+
proto.fintekkers.models.security.BondDetailsProto = function(opt_data) {
|
|
81
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.models.security.BondDetailsProto.repeatedFields_, null);
|
|
82
|
+
};
|
|
83
|
+
goog.inherits(proto.fintekkers.models.security.BondDetailsProto, jspb.Message);
|
|
84
|
+
if (goog.DEBUG && !COMPILED) {
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @override
|
|
88
|
+
*/
|
|
89
|
+
proto.fintekkers.models.security.BondDetailsProto.displayName = 'proto.fintekkers.models.security.BondDetailsProto';
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Generated by JsPbCodeGenerator.
|
|
93
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
94
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
95
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
96
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
97
|
+
* valid.
|
|
98
|
+
* @extends {jspb.Message}
|
|
99
|
+
* @constructor
|
|
100
|
+
*/
|
|
101
|
+
proto.fintekkers.models.security.TipsDetailsProto = function(opt_data) {
|
|
102
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.models.security.TipsDetailsProto.repeatedFields_, null);
|
|
103
|
+
};
|
|
104
|
+
goog.inherits(proto.fintekkers.models.security.TipsDetailsProto, jspb.Message);
|
|
105
|
+
if (goog.DEBUG && !COMPILED) {
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* @override
|
|
109
|
+
*/
|
|
110
|
+
proto.fintekkers.models.security.TipsDetailsProto.displayName = 'proto.fintekkers.models.security.TipsDetailsProto';
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Generated by JsPbCodeGenerator.
|
|
114
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
115
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
116
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
117
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
118
|
+
* valid.
|
|
119
|
+
* @extends {jspb.Message}
|
|
120
|
+
* @constructor
|
|
121
|
+
*/
|
|
122
|
+
proto.fintekkers.models.security.FrnDetailsProto = function(opt_data) {
|
|
123
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.fintekkers.models.security.FrnDetailsProto.repeatedFields_, null);
|
|
124
|
+
};
|
|
125
|
+
goog.inherits(proto.fintekkers.models.security.FrnDetailsProto, jspb.Message);
|
|
126
|
+
if (goog.DEBUG && !COMPILED) {
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* @override
|
|
130
|
+
*/
|
|
131
|
+
proto.fintekkers.models.security.FrnDetailsProto.displayName = 'proto.fintekkers.models.security.FrnDetailsProto';
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Generated by JsPbCodeGenerator.
|
|
135
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
136
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
137
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
138
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
139
|
+
* valid.
|
|
140
|
+
* @extends {jspb.Message}
|
|
141
|
+
* @constructor
|
|
142
|
+
*/
|
|
143
|
+
proto.fintekkers.models.security.IndexDetailsProto = function(opt_data) {
|
|
144
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
145
|
+
};
|
|
146
|
+
goog.inherits(proto.fintekkers.models.security.IndexDetailsProto, jspb.Message);
|
|
147
|
+
if (goog.DEBUG && !COMPILED) {
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* @override
|
|
151
|
+
*/
|
|
152
|
+
proto.fintekkers.models.security.IndexDetailsProto.displayName = 'proto.fintekkers.models.security.IndexDetailsProto';
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Generated by JsPbCodeGenerator.
|
|
156
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
157
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
158
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
159
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
160
|
+
* valid.
|
|
161
|
+
* @extends {jspb.Message}
|
|
162
|
+
* @constructor
|
|
163
|
+
*/
|
|
164
|
+
proto.fintekkers.models.security.EquityDetailsProto = function(opt_data) {
|
|
165
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
166
|
+
};
|
|
167
|
+
goog.inherits(proto.fintekkers.models.security.EquityDetailsProto, jspb.Message);
|
|
168
|
+
if (goog.DEBUG && !COMPILED) {
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
* @override
|
|
172
|
+
*/
|
|
173
|
+
proto.fintekkers.models.security.EquityDetailsProto.displayName = 'proto.fintekkers.models.security.EquityDetailsProto';
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Generated by JsPbCodeGenerator.
|
|
177
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
178
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
179
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
180
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
181
|
+
* valid.
|
|
182
|
+
* @extends {jspb.Message}
|
|
183
|
+
* @constructor
|
|
184
|
+
*/
|
|
185
|
+
proto.fintekkers.models.security.CashDetailsProto = function(opt_data) {
|
|
186
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
187
|
+
};
|
|
188
|
+
goog.inherits(proto.fintekkers.models.security.CashDetailsProto, jspb.Message);
|
|
189
|
+
if (goog.DEBUG && !COMPILED) {
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
* @override
|
|
193
|
+
*/
|
|
194
|
+
proto.fintekkers.models.security.CashDetailsProto.displayName = 'proto.fintekkers.models.security.CashDetailsProto';
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Generated by JsPbCodeGenerator.
|
|
198
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
199
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
200
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
201
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
202
|
+
* valid.
|
|
203
|
+
* @extends {jspb.Message}
|
|
204
|
+
* @constructor
|
|
205
|
+
*/
|
|
206
|
+
proto.fintekkers.models.security.FxSpotDetailsProto = function(opt_data) {
|
|
207
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
208
|
+
};
|
|
209
|
+
goog.inherits(proto.fintekkers.models.security.FxSpotDetailsProto, jspb.Message);
|
|
210
|
+
if (goog.DEBUG && !COMPILED) {
|
|
211
|
+
/**
|
|
212
|
+
* @public
|
|
213
|
+
* @override
|
|
214
|
+
*/
|
|
215
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.displayName = 'proto.fintekkers.models.security.FxSpotDetailsProto';
|
|
216
|
+
}
|
|
66
217
|
|
|
67
218
|
/**
|
|
68
219
|
* List of repeated fields within this message type.
|
|
69
220
|
* @private {!Array<number>}
|
|
70
221
|
* @const
|
|
71
222
|
*/
|
|
72
|
-
proto.fintekkers.models.security.SecurityProto.repeatedFields_ = [67];
|
|
223
|
+
proto.fintekkers.models.security.SecurityProto.repeatedFields_ = [42,67];
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
227
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
228
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
229
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
230
|
+
* @private {!Array<!Array<number>>}
|
|
231
|
+
* @const
|
|
232
|
+
*/
|
|
233
|
+
proto.fintekkers.models.security.SecurityProto.oneofGroups_ = [[200,201,202,203,204,205,206]];
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @enum {number}
|
|
237
|
+
*/
|
|
238
|
+
proto.fintekkers.models.security.SecurityProto.ProductDetailsCase = {
|
|
239
|
+
PRODUCT_DETAILS_NOT_SET: 0,
|
|
240
|
+
BOND_DETAILS: 200,
|
|
241
|
+
TIPS_DETAILS: 201,
|
|
242
|
+
FRN_DETAILS: 202,
|
|
243
|
+
INDEX_DETAILS: 203,
|
|
244
|
+
EQUITY_DETAILS: 204,
|
|
245
|
+
CASH_DETAILS: 205,
|
|
246
|
+
FX_SPOT_DETAILS: 206
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @return {proto.fintekkers.models.security.SecurityProto.ProductDetailsCase}
|
|
251
|
+
*/
|
|
252
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getProductDetailsCase = function() {
|
|
253
|
+
return /** @type {proto.fintekkers.models.security.SecurityProto.ProductDetailsCase} */(jspb.Message.computeOneofCase(this, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0]));
|
|
254
|
+
};
|
|
73
255
|
|
|
74
256
|
|
|
75
257
|
|
|
@@ -102,30 +284,46 @@ proto.fintekkers.models.security.SecurityProto.prototype.toObject = function(opt
|
|
|
102
284
|
*/
|
|
103
285
|
proto.fintekkers.models.security.SecurityProto.toObject = function(includeInstance, msg) {
|
|
104
286
|
var f, obj = {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
287
|
+
objectClass: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
288
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
289
|
+
uuid: (f = msg.getUuid()) && fintekkers_models_util_uuid_pb.UUIDProto.toObject(includeInstance, f),
|
|
290
|
+
asOf: (f = msg.getAsOf()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
|
|
291
|
+
isLink: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
292
|
+
validFrom: (f = msg.getValidFrom()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
|
|
293
|
+
validTo: (f = msg.getValidTo()) && fintekkers_models_util_local_timestamp_pb.LocalTimestampProto.toObject(includeInstance, f),
|
|
294
|
+
securityType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
295
|
+
assetClass: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
296
|
+
issuerName: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
297
|
+
settlementCurrency: (f = msg.getSettlementCurrency()) && proto.fintekkers.models.security.SecurityProto.toObject(includeInstance, f),
|
|
298
|
+
quantityType: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
299
|
+
identifier: (f = msg.getIdentifier()) && fintekkers_models_security_identifier_identifier_pb.IdentifierProto.toObject(includeInstance, f),
|
|
300
|
+
description: jspb.Message.getFieldWithDefault(msg, 41, ""),
|
|
301
|
+
identifiersList: jspb.Message.toObjectList(msg.getIdentifiersList(),
|
|
302
|
+
fintekkers_models_security_identifier_identifier_pb.IdentifierProto.toObject, includeInstance),
|
|
303
|
+
cashId: jspb.Message.getFieldWithDefault(msg, 50, ""),
|
|
304
|
+
couponRate: (f = msg.getCouponRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
305
|
+
couponType: jspb.Message.getFieldWithDefault(msg, 61, 0),
|
|
306
|
+
couponFrequency: jspb.Message.getFieldWithDefault(msg, 62, 0),
|
|
307
|
+
datedDate: (f = msg.getDatedDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
308
|
+
faceValue: (f = msg.getFaceValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
309
|
+
issueDate: (f = msg.getIssueDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
310
|
+
maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
311
|
+
issuanceInfoList: jspb.Message.toObjectList(msg.getIssuanceInfoList(),
|
|
312
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.toObject, includeInstance),
|
|
313
|
+
baseCpi: (f = msg.getBaseCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
314
|
+
indexDate: (f = msg.getIndexDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
315
|
+
inflationIndexType: jspb.Message.getFieldWithDefault(msg, 72, 0),
|
|
316
|
+
spread: (f = msg.getSpread()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
317
|
+
referenceRateIndex: jspb.Message.getFieldWithDefault(msg, 91, 0),
|
|
318
|
+
resetFrequency: jspb.Message.getFieldWithDefault(msg, 92, 0),
|
|
319
|
+
indexType: jspb.Message.getFieldWithDefault(msg, 80, 0),
|
|
320
|
+
bondDetails: (f = msg.getBondDetails()) && proto.fintekkers.models.security.BondDetailsProto.toObject(includeInstance, f),
|
|
321
|
+
tipsDetails: (f = msg.getTipsDetails()) && proto.fintekkers.models.security.TipsDetailsProto.toObject(includeInstance, f),
|
|
322
|
+
frnDetails: (f = msg.getFrnDetails()) && proto.fintekkers.models.security.FrnDetailsProto.toObject(includeInstance, f),
|
|
323
|
+
indexDetails: (f = msg.getIndexDetails()) && proto.fintekkers.models.security.IndexDetailsProto.toObject(includeInstance, f),
|
|
324
|
+
equityDetails: (f = msg.getEquityDetails()) && proto.fintekkers.models.security.EquityDetailsProto.toObject(includeInstance, f),
|
|
325
|
+
cashDetails: (f = msg.getCashDetails()) && proto.fintekkers.models.security.CashDetailsProto.toObject(includeInstance, f),
|
|
326
|
+
fxSpotDetails: (f = msg.getFxSpotDetails()) && proto.fintekkers.models.security.FxSpotDetailsProto.toObject(includeInstance, f)
|
|
129
327
|
};
|
|
130
328
|
|
|
131
329
|
if (includeInstance) {
|
|
@@ -138,7 +336,7 @@ proto.fintekkers.models.security.SecurityProto.toObject = function(includeInstan
|
|
|
138
336
|
|
|
139
337
|
/**
|
|
140
338
|
* Deserializes binary data (in protobuf wire format).
|
|
141
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
339
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
142
340
|
* @return {!proto.fintekkers.models.security.SecurityProto}
|
|
143
341
|
*/
|
|
144
342
|
proto.fintekkers.models.security.SecurityProto.deserializeBinary = function(bytes) {
|
|
@@ -163,11 +361,11 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
|
|
|
163
361
|
var field = reader.getFieldNumber();
|
|
164
362
|
switch (field) {
|
|
165
363
|
case 1:
|
|
166
|
-
var value = /** @type {string} */ (reader.
|
|
364
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
167
365
|
msg.setObjectClass(value);
|
|
168
366
|
break;
|
|
169
367
|
case 2:
|
|
170
|
-
var value = /** @type {string} */ (reader.
|
|
368
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
171
369
|
msg.setVersion(value);
|
|
172
370
|
break;
|
|
173
371
|
case 5:
|
|
@@ -199,11 +397,11 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
|
|
|
199
397
|
msg.setSecurityType(value);
|
|
200
398
|
break;
|
|
201
399
|
case 11:
|
|
202
|
-
var value = /** @type {string} */ (reader.
|
|
400
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
203
401
|
msg.setAssetClass(value);
|
|
204
402
|
break;
|
|
205
403
|
case 12:
|
|
206
|
-
var value = /** @type {string} */ (reader.
|
|
404
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
207
405
|
msg.setIssuerName(value);
|
|
208
406
|
break;
|
|
209
407
|
case 13:
|
|
@@ -221,11 +419,16 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
|
|
|
221
419
|
msg.setIdentifier(value);
|
|
222
420
|
break;
|
|
223
421
|
case 41:
|
|
224
|
-
var value = /** @type {string} */ (reader.
|
|
422
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
225
423
|
msg.setDescription(value);
|
|
226
424
|
break;
|
|
425
|
+
case 42:
|
|
426
|
+
var value = new fintekkers_models_security_identifier_identifier_pb.IdentifierProto;
|
|
427
|
+
reader.readMessage(value,fintekkers_models_security_identifier_identifier_pb.IdentifierProto.deserializeBinaryFromReader);
|
|
428
|
+
msg.addIdentifiers(value);
|
|
429
|
+
break;
|
|
227
430
|
case 50:
|
|
228
|
-
var value = /** @type {string} */ (reader.
|
|
431
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
229
432
|
msg.setCashId(value);
|
|
230
433
|
break;
|
|
231
434
|
case 60:
|
|
@@ -266,6 +469,72 @@ proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader = fun
|
|
|
266
469
|
reader.readMessage(value,fintekkers_models_security_bond_issuance_pb.IssuanceProto.deserializeBinaryFromReader);
|
|
267
470
|
msg.addIssuanceInfo(value);
|
|
268
471
|
break;
|
|
472
|
+
case 70:
|
|
473
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
474
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
475
|
+
msg.setBaseCpi(value);
|
|
476
|
+
break;
|
|
477
|
+
case 71:
|
|
478
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
479
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
480
|
+
msg.setIndexDate(value);
|
|
481
|
+
break;
|
|
482
|
+
case 72:
|
|
483
|
+
var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
|
|
484
|
+
msg.setInflationIndexType(value);
|
|
485
|
+
break;
|
|
486
|
+
case 90:
|
|
487
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
488
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
489
|
+
msg.setSpread(value);
|
|
490
|
+
break;
|
|
491
|
+
case 91:
|
|
492
|
+
var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
|
|
493
|
+
msg.setReferenceRateIndex(value);
|
|
494
|
+
break;
|
|
495
|
+
case 92:
|
|
496
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
|
|
497
|
+
msg.setResetFrequency(value);
|
|
498
|
+
break;
|
|
499
|
+
case 80:
|
|
500
|
+
var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
|
|
501
|
+
msg.setIndexType(value);
|
|
502
|
+
break;
|
|
503
|
+
case 200:
|
|
504
|
+
var value = new proto.fintekkers.models.security.BondDetailsProto;
|
|
505
|
+
reader.readMessage(value,proto.fintekkers.models.security.BondDetailsProto.deserializeBinaryFromReader);
|
|
506
|
+
msg.setBondDetails(value);
|
|
507
|
+
break;
|
|
508
|
+
case 201:
|
|
509
|
+
var value = new proto.fintekkers.models.security.TipsDetailsProto;
|
|
510
|
+
reader.readMessage(value,proto.fintekkers.models.security.TipsDetailsProto.deserializeBinaryFromReader);
|
|
511
|
+
msg.setTipsDetails(value);
|
|
512
|
+
break;
|
|
513
|
+
case 202:
|
|
514
|
+
var value = new proto.fintekkers.models.security.FrnDetailsProto;
|
|
515
|
+
reader.readMessage(value,proto.fintekkers.models.security.FrnDetailsProto.deserializeBinaryFromReader);
|
|
516
|
+
msg.setFrnDetails(value);
|
|
517
|
+
break;
|
|
518
|
+
case 203:
|
|
519
|
+
var value = new proto.fintekkers.models.security.IndexDetailsProto;
|
|
520
|
+
reader.readMessage(value,proto.fintekkers.models.security.IndexDetailsProto.deserializeBinaryFromReader);
|
|
521
|
+
msg.setIndexDetails(value);
|
|
522
|
+
break;
|
|
523
|
+
case 204:
|
|
524
|
+
var value = new proto.fintekkers.models.security.EquityDetailsProto;
|
|
525
|
+
reader.readMessage(value,proto.fintekkers.models.security.EquityDetailsProto.deserializeBinaryFromReader);
|
|
526
|
+
msg.setEquityDetails(value);
|
|
527
|
+
break;
|
|
528
|
+
case 205:
|
|
529
|
+
var value = new proto.fintekkers.models.security.CashDetailsProto;
|
|
530
|
+
reader.readMessage(value,proto.fintekkers.models.security.CashDetailsProto.deserializeBinaryFromReader);
|
|
531
|
+
msg.setCashDetails(value);
|
|
532
|
+
break;
|
|
533
|
+
case 206:
|
|
534
|
+
var value = new proto.fintekkers.models.security.FxSpotDetailsProto;
|
|
535
|
+
reader.readMessage(value,proto.fintekkers.models.security.FxSpotDetailsProto.deserializeBinaryFromReader);
|
|
536
|
+
msg.setFxSpotDetails(value);
|
|
537
|
+
break;
|
|
269
538
|
default:
|
|
270
539
|
reader.skipField();
|
|
271
540
|
break;
|
|
@@ -399,6 +668,14 @@ proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter = functio
|
|
|
399
668
|
f
|
|
400
669
|
);
|
|
401
670
|
}
|
|
671
|
+
f = message.getIdentifiersList();
|
|
672
|
+
if (f.length > 0) {
|
|
673
|
+
writer.writeRepeatedMessage(
|
|
674
|
+
42,
|
|
675
|
+
f,
|
|
676
|
+
fintekkers_models_security_identifier_identifier_pb.IdentifierProto.serializeBinaryToWriter
|
|
677
|
+
);
|
|
678
|
+
}
|
|
402
679
|
f = message.getCashId();
|
|
403
680
|
if (f.length > 0) {
|
|
404
681
|
writer.writeString(
|
|
@@ -468,6 +745,114 @@ proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter = functio
|
|
|
468
745
|
fintekkers_models_security_bond_issuance_pb.IssuanceProto.serializeBinaryToWriter
|
|
469
746
|
);
|
|
470
747
|
}
|
|
748
|
+
f = message.getBaseCpi();
|
|
749
|
+
if (f != null) {
|
|
750
|
+
writer.writeMessage(
|
|
751
|
+
70,
|
|
752
|
+
f,
|
|
753
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
754
|
+
);
|
|
755
|
+
}
|
|
756
|
+
f = message.getIndexDate();
|
|
757
|
+
if (f != null) {
|
|
758
|
+
writer.writeMessage(
|
|
759
|
+
71,
|
|
760
|
+
f,
|
|
761
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
762
|
+
);
|
|
763
|
+
}
|
|
764
|
+
f = message.getInflationIndexType();
|
|
765
|
+
if (f !== 0.0) {
|
|
766
|
+
writer.writeEnum(
|
|
767
|
+
72,
|
|
768
|
+
f
|
|
769
|
+
);
|
|
770
|
+
}
|
|
771
|
+
f = message.getSpread();
|
|
772
|
+
if (f != null) {
|
|
773
|
+
writer.writeMessage(
|
|
774
|
+
90,
|
|
775
|
+
f,
|
|
776
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
777
|
+
);
|
|
778
|
+
}
|
|
779
|
+
f = message.getReferenceRateIndex();
|
|
780
|
+
if (f !== 0.0) {
|
|
781
|
+
writer.writeEnum(
|
|
782
|
+
91,
|
|
783
|
+
f
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
f = message.getResetFrequency();
|
|
787
|
+
if (f !== 0.0) {
|
|
788
|
+
writer.writeEnum(
|
|
789
|
+
92,
|
|
790
|
+
f
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
f = message.getIndexType();
|
|
794
|
+
if (f !== 0.0) {
|
|
795
|
+
writer.writeEnum(
|
|
796
|
+
80,
|
|
797
|
+
f
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
f = message.getBondDetails();
|
|
801
|
+
if (f != null) {
|
|
802
|
+
writer.writeMessage(
|
|
803
|
+
200,
|
|
804
|
+
f,
|
|
805
|
+
proto.fintekkers.models.security.BondDetailsProto.serializeBinaryToWriter
|
|
806
|
+
);
|
|
807
|
+
}
|
|
808
|
+
f = message.getTipsDetails();
|
|
809
|
+
if (f != null) {
|
|
810
|
+
writer.writeMessage(
|
|
811
|
+
201,
|
|
812
|
+
f,
|
|
813
|
+
proto.fintekkers.models.security.TipsDetailsProto.serializeBinaryToWriter
|
|
814
|
+
);
|
|
815
|
+
}
|
|
816
|
+
f = message.getFrnDetails();
|
|
817
|
+
if (f != null) {
|
|
818
|
+
writer.writeMessage(
|
|
819
|
+
202,
|
|
820
|
+
f,
|
|
821
|
+
proto.fintekkers.models.security.FrnDetailsProto.serializeBinaryToWriter
|
|
822
|
+
);
|
|
823
|
+
}
|
|
824
|
+
f = message.getIndexDetails();
|
|
825
|
+
if (f != null) {
|
|
826
|
+
writer.writeMessage(
|
|
827
|
+
203,
|
|
828
|
+
f,
|
|
829
|
+
proto.fintekkers.models.security.IndexDetailsProto.serializeBinaryToWriter
|
|
830
|
+
);
|
|
831
|
+
}
|
|
832
|
+
f = message.getEquityDetails();
|
|
833
|
+
if (f != null) {
|
|
834
|
+
writer.writeMessage(
|
|
835
|
+
204,
|
|
836
|
+
f,
|
|
837
|
+
proto.fintekkers.models.security.EquityDetailsProto.serializeBinaryToWriter
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
f = message.getCashDetails();
|
|
841
|
+
if (f != null) {
|
|
842
|
+
writer.writeMessage(
|
|
843
|
+
205,
|
|
844
|
+
f,
|
|
845
|
+
proto.fintekkers.models.security.CashDetailsProto.serializeBinaryToWriter
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
f = message.getFxSpotDetails();
|
|
849
|
+
if (f != null) {
|
|
850
|
+
writer.writeMessage(
|
|
851
|
+
206,
|
|
852
|
+
f,
|
|
853
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.serializeBinaryToWriter
|
|
854
|
+
);
|
|
855
|
+
}
|
|
471
856
|
};
|
|
472
857
|
|
|
473
858
|
|
|
@@ -838,39 +1223,77 @@ proto.fintekkers.models.security.SecurityProto.prototype.setDescription = functi
|
|
|
838
1223
|
|
|
839
1224
|
|
|
840
1225
|
/**
|
|
841
|
-
*
|
|
842
|
-
* @return {
|
|
1226
|
+
* repeated IdentifierProto identifiers = 42;
|
|
1227
|
+
* @return {!Array<!proto.fintekkers.models.security.IdentifierProto>}
|
|
843
1228
|
*/
|
|
844
|
-
proto.fintekkers.models.security.SecurityProto.prototype.
|
|
845
|
-
return /** @type
|
|
1229
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getIdentifiersList = function() {
|
|
1230
|
+
return /** @type{!Array<!proto.fintekkers.models.security.IdentifierProto>} */ (
|
|
1231
|
+
jspb.Message.getRepeatedWrapperField(this, fintekkers_models_security_identifier_identifier_pb.IdentifierProto, 42));
|
|
846
1232
|
};
|
|
847
1233
|
|
|
848
1234
|
|
|
849
1235
|
/**
|
|
850
|
-
* @param {
|
|
1236
|
+
* @param {!Array<!proto.fintekkers.models.security.IdentifierProto>} value
|
|
851
1237
|
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
852
|
-
|
|
853
|
-
proto.fintekkers.models.security.SecurityProto.prototype.
|
|
854
|
-
return jspb.Message.
|
|
1238
|
+
*/
|
|
1239
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setIdentifiersList = function(value) {
|
|
1240
|
+
return jspb.Message.setRepeatedWrapperField(this, 42, value);
|
|
855
1241
|
};
|
|
856
1242
|
|
|
857
1243
|
|
|
858
1244
|
/**
|
|
859
|
-
*
|
|
860
|
-
* @
|
|
1245
|
+
* @param {!proto.fintekkers.models.security.IdentifierProto=} opt_value
|
|
1246
|
+
* @param {number=} opt_index
|
|
1247
|
+
* @return {!proto.fintekkers.models.security.IdentifierProto}
|
|
861
1248
|
*/
|
|
862
|
-
proto.fintekkers.models.security.SecurityProto.prototype.
|
|
863
|
-
return
|
|
864
|
-
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 60));
|
|
1249
|
+
proto.fintekkers.models.security.SecurityProto.prototype.addIdentifiers = function(opt_value, opt_index) {
|
|
1250
|
+
return jspb.Message.addToRepeatedWrapperField(this, 42, opt_value, proto.fintekkers.models.security.IdentifierProto, opt_index);
|
|
865
1251
|
};
|
|
866
1252
|
|
|
867
1253
|
|
|
868
1254
|
/**
|
|
869
|
-
*
|
|
1255
|
+
* Clears the list making it empty but non-null.
|
|
870
1256
|
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
871
|
-
*/
|
|
872
|
-
proto.fintekkers.models.security.SecurityProto.prototype.
|
|
873
|
-
return
|
|
1257
|
+
*/
|
|
1258
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearIdentifiersList = function() {
|
|
1259
|
+
return this.setIdentifiersList([]);
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* optional string cash_id = 50;
|
|
1265
|
+
* @return {string}
|
|
1266
|
+
*/
|
|
1267
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getCashId = function() {
|
|
1268
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 50, ""));
|
|
1269
|
+
};
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* @param {string} value
|
|
1274
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1275
|
+
*/
|
|
1276
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setCashId = function(value) {
|
|
1277
|
+
return jspb.Message.setProto3StringField(this, 50, value);
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* optional fintekkers.models.util.DecimalValueProto coupon_rate = 60;
|
|
1283
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
1284
|
+
*/
|
|
1285
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getCouponRate = function() {
|
|
1286
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
1287
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 60));
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
1293
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1294
|
+
*/
|
|
1295
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setCouponRate = function(value) {
|
|
1296
|
+
return jspb.Message.setWrapperField(this, 60, value);
|
|
874
1297
|
};
|
|
875
1298
|
|
|
876
1299
|
|
|
@@ -1114,4 +1537,2707 @@ proto.fintekkers.models.security.SecurityProto.prototype.clearIssuanceInfoList =
|
|
|
1114
1537
|
};
|
|
1115
1538
|
|
|
1116
1539
|
|
|
1540
|
+
/**
|
|
1541
|
+
* optional fintekkers.models.util.DecimalValueProto base_cpi = 70;
|
|
1542
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
1543
|
+
*/
|
|
1544
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getBaseCpi = function() {
|
|
1545
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
1546
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 70));
|
|
1547
|
+
};
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
1552
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1553
|
+
*/
|
|
1554
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setBaseCpi = function(value) {
|
|
1555
|
+
return jspb.Message.setWrapperField(this, 70, value);
|
|
1556
|
+
};
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* Clears the message field making it undefined.
|
|
1561
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1562
|
+
*/
|
|
1563
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearBaseCpi = function() {
|
|
1564
|
+
return this.setBaseCpi(undefined);
|
|
1565
|
+
};
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Returns whether this field is set.
|
|
1570
|
+
* @return {boolean}
|
|
1571
|
+
*/
|
|
1572
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasBaseCpi = function() {
|
|
1573
|
+
return jspb.Message.getField(this, 70) != null;
|
|
1574
|
+
};
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* optional fintekkers.models.util.LocalDateProto index_date = 71;
|
|
1579
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
1580
|
+
*/
|
|
1581
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getIndexDate = function() {
|
|
1582
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
1583
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 71));
|
|
1584
|
+
};
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
1589
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1590
|
+
*/
|
|
1591
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setIndexDate = function(value) {
|
|
1592
|
+
return jspb.Message.setWrapperField(this, 71, value);
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Clears the message field making it undefined.
|
|
1598
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1599
|
+
*/
|
|
1600
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearIndexDate = function() {
|
|
1601
|
+
return this.setIndexDate(undefined);
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* Returns whether this field is set.
|
|
1607
|
+
* @return {boolean}
|
|
1608
|
+
*/
|
|
1609
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasIndexDate = function() {
|
|
1610
|
+
return jspb.Message.getField(this, 71) != null;
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* optional index.IndexTypeProto inflation_index_type = 72;
|
|
1616
|
+
* @return {!proto.fintekkers.models.security.index.IndexTypeProto}
|
|
1617
|
+
*/
|
|
1618
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getInflationIndexType = function() {
|
|
1619
|
+
return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 72, 0));
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
|
|
1625
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1626
|
+
*/
|
|
1627
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setInflationIndexType = function(value) {
|
|
1628
|
+
return jspb.Message.setProto3EnumField(this, 72, value);
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* optional fintekkers.models.util.DecimalValueProto spread = 90;
|
|
1634
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
1635
|
+
*/
|
|
1636
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getSpread = function() {
|
|
1637
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
1638
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 90));
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
1644
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1645
|
+
*/
|
|
1646
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setSpread = function(value) {
|
|
1647
|
+
return jspb.Message.setWrapperField(this, 90, value);
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
/**
|
|
1652
|
+
* Clears the message field making it undefined.
|
|
1653
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1654
|
+
*/
|
|
1655
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearSpread = function() {
|
|
1656
|
+
return this.setSpread(undefined);
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* Returns whether this field is set.
|
|
1662
|
+
* @return {boolean}
|
|
1663
|
+
*/
|
|
1664
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasSpread = function() {
|
|
1665
|
+
return jspb.Message.getField(this, 90) != null;
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* optional index.IndexTypeProto reference_rate_index = 91;
|
|
1671
|
+
* @return {!proto.fintekkers.models.security.index.IndexTypeProto}
|
|
1672
|
+
*/
|
|
1673
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getReferenceRateIndex = function() {
|
|
1674
|
+
return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 91, 0));
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
|
|
1680
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1681
|
+
*/
|
|
1682
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setReferenceRateIndex = function(value) {
|
|
1683
|
+
return jspb.Message.setProto3EnumField(this, 91, value);
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* optional CouponFrequencyProto reset_frequency = 92;
|
|
1689
|
+
* @return {!proto.fintekkers.models.security.CouponFrequencyProto}
|
|
1690
|
+
*/
|
|
1691
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getResetFrequency = function() {
|
|
1692
|
+
return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 92, 0));
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
|
|
1698
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1699
|
+
*/
|
|
1700
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setResetFrequency = function(value) {
|
|
1701
|
+
return jspb.Message.setProto3EnumField(this, 92, value);
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* optional index.IndexTypeProto index_type = 80;
|
|
1707
|
+
* @return {!proto.fintekkers.models.security.index.IndexTypeProto}
|
|
1708
|
+
*/
|
|
1709
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getIndexType = function() {
|
|
1710
|
+
return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 80, 0));
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
|
|
1716
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1717
|
+
*/
|
|
1718
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setIndexType = function(value) {
|
|
1719
|
+
return jspb.Message.setProto3EnumField(this, 80, value);
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* optional BondDetailsProto bond_details = 200;
|
|
1725
|
+
* @return {?proto.fintekkers.models.security.BondDetailsProto}
|
|
1726
|
+
*/
|
|
1727
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getBondDetails = function() {
|
|
1728
|
+
return /** @type{?proto.fintekkers.models.security.BondDetailsProto} */ (
|
|
1729
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.BondDetailsProto, 200));
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* @param {?proto.fintekkers.models.security.BondDetailsProto|undefined} value
|
|
1735
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1736
|
+
*/
|
|
1737
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setBondDetails = function(value) {
|
|
1738
|
+
return jspb.Message.setOneofWrapperField(this, 200, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* Clears the message field making it undefined.
|
|
1744
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1745
|
+
*/
|
|
1746
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearBondDetails = function() {
|
|
1747
|
+
return this.setBondDetails(undefined);
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Returns whether this field is set.
|
|
1753
|
+
* @return {boolean}
|
|
1754
|
+
*/
|
|
1755
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasBondDetails = function() {
|
|
1756
|
+
return jspb.Message.getField(this, 200) != null;
|
|
1757
|
+
};
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* optional TipsDetailsProto tips_details = 201;
|
|
1762
|
+
* @return {?proto.fintekkers.models.security.TipsDetailsProto}
|
|
1763
|
+
*/
|
|
1764
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getTipsDetails = function() {
|
|
1765
|
+
return /** @type{?proto.fintekkers.models.security.TipsDetailsProto} */ (
|
|
1766
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.TipsDetailsProto, 201));
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* @param {?proto.fintekkers.models.security.TipsDetailsProto|undefined} value
|
|
1772
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1773
|
+
*/
|
|
1774
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setTipsDetails = function(value) {
|
|
1775
|
+
return jspb.Message.setOneofWrapperField(this, 201, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1776
|
+
};
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Clears the message field making it undefined.
|
|
1781
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1782
|
+
*/
|
|
1783
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearTipsDetails = function() {
|
|
1784
|
+
return this.setTipsDetails(undefined);
|
|
1785
|
+
};
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* Returns whether this field is set.
|
|
1790
|
+
* @return {boolean}
|
|
1791
|
+
*/
|
|
1792
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasTipsDetails = function() {
|
|
1793
|
+
return jspb.Message.getField(this, 201) != null;
|
|
1794
|
+
};
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* optional FrnDetailsProto frn_details = 202;
|
|
1799
|
+
* @return {?proto.fintekkers.models.security.FrnDetailsProto}
|
|
1800
|
+
*/
|
|
1801
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getFrnDetails = function() {
|
|
1802
|
+
return /** @type{?proto.fintekkers.models.security.FrnDetailsProto} */ (
|
|
1803
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.FrnDetailsProto, 202));
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* @param {?proto.fintekkers.models.security.FrnDetailsProto|undefined} value
|
|
1809
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1810
|
+
*/
|
|
1811
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setFrnDetails = function(value) {
|
|
1812
|
+
return jspb.Message.setOneofWrapperField(this, 202, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1813
|
+
};
|
|
1814
|
+
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Clears the message field making it undefined.
|
|
1818
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1819
|
+
*/
|
|
1820
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearFrnDetails = function() {
|
|
1821
|
+
return this.setFrnDetails(undefined);
|
|
1822
|
+
};
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* Returns whether this field is set.
|
|
1827
|
+
* @return {boolean}
|
|
1828
|
+
*/
|
|
1829
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasFrnDetails = function() {
|
|
1830
|
+
return jspb.Message.getField(this, 202) != null;
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* optional IndexDetailsProto index_details = 203;
|
|
1836
|
+
* @return {?proto.fintekkers.models.security.IndexDetailsProto}
|
|
1837
|
+
*/
|
|
1838
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getIndexDetails = function() {
|
|
1839
|
+
return /** @type{?proto.fintekkers.models.security.IndexDetailsProto} */ (
|
|
1840
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.IndexDetailsProto, 203));
|
|
1841
|
+
};
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* @param {?proto.fintekkers.models.security.IndexDetailsProto|undefined} value
|
|
1846
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1847
|
+
*/
|
|
1848
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setIndexDetails = function(value) {
|
|
1849
|
+
return jspb.Message.setOneofWrapperField(this, 203, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* Clears the message field making it undefined.
|
|
1855
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1856
|
+
*/
|
|
1857
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearIndexDetails = function() {
|
|
1858
|
+
return this.setIndexDetails(undefined);
|
|
1859
|
+
};
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Returns whether this field is set.
|
|
1864
|
+
* @return {boolean}
|
|
1865
|
+
*/
|
|
1866
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasIndexDetails = function() {
|
|
1867
|
+
return jspb.Message.getField(this, 203) != null;
|
|
1868
|
+
};
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* optional EquityDetailsProto equity_details = 204;
|
|
1873
|
+
* @return {?proto.fintekkers.models.security.EquityDetailsProto}
|
|
1874
|
+
*/
|
|
1875
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getEquityDetails = function() {
|
|
1876
|
+
return /** @type{?proto.fintekkers.models.security.EquityDetailsProto} */ (
|
|
1877
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.EquityDetailsProto, 204));
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* @param {?proto.fintekkers.models.security.EquityDetailsProto|undefined} value
|
|
1883
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1884
|
+
*/
|
|
1885
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setEquityDetails = function(value) {
|
|
1886
|
+
return jspb.Message.setOneofWrapperField(this, 204, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1887
|
+
};
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Clears the message field making it undefined.
|
|
1892
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1893
|
+
*/
|
|
1894
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearEquityDetails = function() {
|
|
1895
|
+
return this.setEquityDetails(undefined);
|
|
1896
|
+
};
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
/**
|
|
1900
|
+
* Returns whether this field is set.
|
|
1901
|
+
* @return {boolean}
|
|
1902
|
+
*/
|
|
1903
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasEquityDetails = function() {
|
|
1904
|
+
return jspb.Message.getField(this, 204) != null;
|
|
1905
|
+
};
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* optional CashDetailsProto cash_details = 205;
|
|
1910
|
+
* @return {?proto.fintekkers.models.security.CashDetailsProto}
|
|
1911
|
+
*/
|
|
1912
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getCashDetails = function() {
|
|
1913
|
+
return /** @type{?proto.fintekkers.models.security.CashDetailsProto} */ (
|
|
1914
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.CashDetailsProto, 205));
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* @param {?proto.fintekkers.models.security.CashDetailsProto|undefined} value
|
|
1920
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1921
|
+
*/
|
|
1922
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setCashDetails = function(value) {
|
|
1923
|
+
return jspb.Message.setOneofWrapperField(this, 205, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Clears the message field making it undefined.
|
|
1929
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1930
|
+
*/
|
|
1931
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearCashDetails = function() {
|
|
1932
|
+
return this.setCashDetails(undefined);
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Returns whether this field is set.
|
|
1938
|
+
* @return {boolean}
|
|
1939
|
+
*/
|
|
1940
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasCashDetails = function() {
|
|
1941
|
+
return jspb.Message.getField(this, 205) != null;
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* optional FxSpotDetailsProto fx_spot_details = 206;
|
|
1947
|
+
* @return {?proto.fintekkers.models.security.FxSpotDetailsProto}
|
|
1948
|
+
*/
|
|
1949
|
+
proto.fintekkers.models.security.SecurityProto.prototype.getFxSpotDetails = function() {
|
|
1950
|
+
return /** @type{?proto.fintekkers.models.security.FxSpotDetailsProto} */ (
|
|
1951
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.FxSpotDetailsProto, 206));
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* @param {?proto.fintekkers.models.security.FxSpotDetailsProto|undefined} value
|
|
1957
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1958
|
+
*/
|
|
1959
|
+
proto.fintekkers.models.security.SecurityProto.prototype.setFxSpotDetails = function(value) {
|
|
1960
|
+
return jspb.Message.setOneofWrapperField(this, 206, proto.fintekkers.models.security.SecurityProto.oneofGroups_[0], value);
|
|
1961
|
+
};
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
/**
|
|
1965
|
+
* Clears the message field making it undefined.
|
|
1966
|
+
* @return {!proto.fintekkers.models.security.SecurityProto} returns this
|
|
1967
|
+
*/
|
|
1968
|
+
proto.fintekkers.models.security.SecurityProto.prototype.clearFxSpotDetails = function() {
|
|
1969
|
+
return this.setFxSpotDetails(undefined);
|
|
1970
|
+
};
|
|
1971
|
+
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* Returns whether this field is set.
|
|
1975
|
+
* @return {boolean}
|
|
1976
|
+
*/
|
|
1977
|
+
proto.fintekkers.models.security.SecurityProto.prototype.hasFxSpotDetails = function() {
|
|
1978
|
+
return jspb.Message.getField(this, 206) != null;
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* List of repeated fields within this message type.
|
|
1985
|
+
* @private {!Array<number>}
|
|
1986
|
+
* @const
|
|
1987
|
+
*/
|
|
1988
|
+
proto.fintekkers.models.security.BondDetailsProto.repeatedFields_ = [8];
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1993
|
+
/**
|
|
1994
|
+
* Creates an object representation of this proto.
|
|
1995
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1996
|
+
* Optional fields that are not set will be set to undefined.
|
|
1997
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1998
|
+
* For the list of reserved names please see:
|
|
1999
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2000
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2001
|
+
* JSPB instance for transitional soy proto support:
|
|
2002
|
+
* http://goto/soy-param-migration
|
|
2003
|
+
* @return {!Object}
|
|
2004
|
+
*/
|
|
2005
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
2006
|
+
return proto.fintekkers.models.security.BondDetailsProto.toObject(opt_includeInstance, this);
|
|
2007
|
+
};
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Static version of the {@see toObject} method.
|
|
2012
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2013
|
+
* the JSPB instance for transitional soy proto support:
|
|
2014
|
+
* http://goto/soy-param-migration
|
|
2015
|
+
* @param {!proto.fintekkers.models.security.BondDetailsProto} msg The msg instance to transform.
|
|
2016
|
+
* @return {!Object}
|
|
2017
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2018
|
+
*/
|
|
2019
|
+
proto.fintekkers.models.security.BondDetailsProto.toObject = function(includeInstance, msg) {
|
|
2020
|
+
var f, obj = {
|
|
2021
|
+
couponRate: (f = msg.getCouponRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
2022
|
+
couponType: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2023
|
+
couponFrequency: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2024
|
+
datedDate: (f = msg.getDatedDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2025
|
+
faceValue: (f = msg.getFaceValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
2026
|
+
issueDate: (f = msg.getIssueDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2027
|
+
maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2028
|
+
issuanceInfoList: jspb.Message.toObjectList(msg.getIssuanceInfoList(),
|
|
2029
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.toObject, includeInstance)
|
|
2030
|
+
};
|
|
2031
|
+
|
|
2032
|
+
if (includeInstance) {
|
|
2033
|
+
obj.$jspbMessageInstance = msg;
|
|
2034
|
+
}
|
|
2035
|
+
return obj;
|
|
2036
|
+
};
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2042
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2043
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto}
|
|
2044
|
+
*/
|
|
2045
|
+
proto.fintekkers.models.security.BondDetailsProto.deserializeBinary = function(bytes) {
|
|
2046
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2047
|
+
var msg = new proto.fintekkers.models.security.BondDetailsProto;
|
|
2048
|
+
return proto.fintekkers.models.security.BondDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
2049
|
+
};
|
|
2050
|
+
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2054
|
+
* given reader into the given message object.
|
|
2055
|
+
* @param {!proto.fintekkers.models.security.BondDetailsProto} msg The message object to deserialize into.
|
|
2056
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2057
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto}
|
|
2058
|
+
*/
|
|
2059
|
+
proto.fintekkers.models.security.BondDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
2060
|
+
while (reader.nextField()) {
|
|
2061
|
+
if (reader.isEndGroup()) {
|
|
2062
|
+
break;
|
|
2063
|
+
}
|
|
2064
|
+
var field = reader.getFieldNumber();
|
|
2065
|
+
switch (field) {
|
|
2066
|
+
case 1:
|
|
2067
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
2068
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
2069
|
+
msg.setCouponRate(value);
|
|
2070
|
+
break;
|
|
2071
|
+
case 2:
|
|
2072
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (reader.readEnum());
|
|
2073
|
+
msg.setCouponType(value);
|
|
2074
|
+
break;
|
|
2075
|
+
case 3:
|
|
2076
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
|
|
2077
|
+
msg.setCouponFrequency(value);
|
|
2078
|
+
break;
|
|
2079
|
+
case 4:
|
|
2080
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2081
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2082
|
+
msg.setDatedDate(value);
|
|
2083
|
+
break;
|
|
2084
|
+
case 5:
|
|
2085
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
2086
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
2087
|
+
msg.setFaceValue(value);
|
|
2088
|
+
break;
|
|
2089
|
+
case 6:
|
|
2090
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2091
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2092
|
+
msg.setIssueDate(value);
|
|
2093
|
+
break;
|
|
2094
|
+
case 7:
|
|
2095
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2096
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2097
|
+
msg.setMaturityDate(value);
|
|
2098
|
+
break;
|
|
2099
|
+
case 8:
|
|
2100
|
+
var value = new fintekkers_models_security_bond_issuance_pb.IssuanceProto;
|
|
2101
|
+
reader.readMessage(value,fintekkers_models_security_bond_issuance_pb.IssuanceProto.deserializeBinaryFromReader);
|
|
2102
|
+
msg.addIssuanceInfo(value);
|
|
2103
|
+
break;
|
|
2104
|
+
default:
|
|
2105
|
+
reader.skipField();
|
|
2106
|
+
break;
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
return msg;
|
|
2110
|
+
};
|
|
2111
|
+
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2115
|
+
* @return {!Uint8Array}
|
|
2116
|
+
*/
|
|
2117
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.serializeBinary = function() {
|
|
2118
|
+
var writer = new jspb.BinaryWriter();
|
|
2119
|
+
proto.fintekkers.models.security.BondDetailsProto.serializeBinaryToWriter(this, writer);
|
|
2120
|
+
return writer.getResultBuffer();
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2126
|
+
* format), writing to the given BinaryWriter.
|
|
2127
|
+
* @param {!proto.fintekkers.models.security.BondDetailsProto} message
|
|
2128
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2129
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2130
|
+
*/
|
|
2131
|
+
proto.fintekkers.models.security.BondDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
2132
|
+
var f = undefined;
|
|
2133
|
+
f = message.getCouponRate();
|
|
2134
|
+
if (f != null) {
|
|
2135
|
+
writer.writeMessage(
|
|
2136
|
+
1,
|
|
2137
|
+
f,
|
|
2138
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
2139
|
+
);
|
|
2140
|
+
}
|
|
2141
|
+
f = message.getCouponType();
|
|
2142
|
+
if (f !== 0.0) {
|
|
2143
|
+
writer.writeEnum(
|
|
2144
|
+
2,
|
|
2145
|
+
f
|
|
2146
|
+
);
|
|
2147
|
+
}
|
|
2148
|
+
f = message.getCouponFrequency();
|
|
2149
|
+
if (f !== 0.0) {
|
|
2150
|
+
writer.writeEnum(
|
|
2151
|
+
3,
|
|
2152
|
+
f
|
|
2153
|
+
);
|
|
2154
|
+
}
|
|
2155
|
+
f = message.getDatedDate();
|
|
2156
|
+
if (f != null) {
|
|
2157
|
+
writer.writeMessage(
|
|
2158
|
+
4,
|
|
2159
|
+
f,
|
|
2160
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2161
|
+
);
|
|
2162
|
+
}
|
|
2163
|
+
f = message.getFaceValue();
|
|
2164
|
+
if (f != null) {
|
|
2165
|
+
writer.writeMessage(
|
|
2166
|
+
5,
|
|
2167
|
+
f,
|
|
2168
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
2169
|
+
);
|
|
2170
|
+
}
|
|
2171
|
+
f = message.getIssueDate();
|
|
2172
|
+
if (f != null) {
|
|
2173
|
+
writer.writeMessage(
|
|
2174
|
+
6,
|
|
2175
|
+
f,
|
|
2176
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2177
|
+
);
|
|
2178
|
+
}
|
|
2179
|
+
f = message.getMaturityDate();
|
|
2180
|
+
if (f != null) {
|
|
2181
|
+
writer.writeMessage(
|
|
2182
|
+
7,
|
|
2183
|
+
f,
|
|
2184
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2185
|
+
);
|
|
2186
|
+
}
|
|
2187
|
+
f = message.getIssuanceInfoList();
|
|
2188
|
+
if (f.length > 0) {
|
|
2189
|
+
writer.writeRepeatedMessage(
|
|
2190
|
+
8,
|
|
2191
|
+
f,
|
|
2192
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.serializeBinaryToWriter
|
|
2193
|
+
);
|
|
2194
|
+
}
|
|
2195
|
+
};
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* optional fintekkers.models.util.DecimalValueProto coupon_rate = 1;
|
|
2200
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
2201
|
+
*/
|
|
2202
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getCouponRate = function() {
|
|
2203
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
2204
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 1));
|
|
2205
|
+
};
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
/**
|
|
2209
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
2210
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2211
|
+
*/
|
|
2212
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setCouponRate = function(value) {
|
|
2213
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2214
|
+
};
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* Clears the message field making it undefined.
|
|
2219
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2220
|
+
*/
|
|
2221
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.clearCouponRate = function() {
|
|
2222
|
+
return this.setCouponRate(undefined);
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Returns whether this field is set.
|
|
2228
|
+
* @return {boolean}
|
|
2229
|
+
*/
|
|
2230
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.hasCouponRate = function() {
|
|
2231
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2232
|
+
};
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* optional CouponTypeProto coupon_type = 2;
|
|
2237
|
+
* @return {!proto.fintekkers.models.security.CouponTypeProto}
|
|
2238
|
+
*/
|
|
2239
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getCouponType = function() {
|
|
2240
|
+
return /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2241
|
+
};
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
/**
|
|
2245
|
+
* @param {!proto.fintekkers.models.security.CouponTypeProto} value
|
|
2246
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2247
|
+
*/
|
|
2248
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setCouponType = function(value) {
|
|
2249
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2250
|
+
};
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* optional CouponFrequencyProto coupon_frequency = 3;
|
|
2255
|
+
* @return {!proto.fintekkers.models.security.CouponFrequencyProto}
|
|
2256
|
+
*/
|
|
2257
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getCouponFrequency = function() {
|
|
2258
|
+
return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
/**
|
|
2263
|
+
* @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
|
|
2264
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2265
|
+
*/
|
|
2266
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setCouponFrequency = function(value) {
|
|
2267
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
2268
|
+
};
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* optional fintekkers.models.util.LocalDateProto dated_date = 4;
|
|
2273
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
2274
|
+
*/
|
|
2275
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getDatedDate = function() {
|
|
2276
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
2277
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 4));
|
|
2278
|
+
};
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
2283
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2284
|
+
*/
|
|
2285
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setDatedDate = function(value) {
|
|
2286
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* Clears the message field making it undefined.
|
|
2292
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2293
|
+
*/
|
|
2294
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.clearDatedDate = function() {
|
|
2295
|
+
return this.setDatedDate(undefined);
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* Returns whether this field is set.
|
|
2301
|
+
* @return {boolean}
|
|
2302
|
+
*/
|
|
2303
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.hasDatedDate = function() {
|
|
2304
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* optional fintekkers.models.util.DecimalValueProto face_value = 5;
|
|
2310
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
2311
|
+
*/
|
|
2312
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getFaceValue = function() {
|
|
2313
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
2314
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 5));
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
2320
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2321
|
+
*/
|
|
2322
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setFaceValue = function(value) {
|
|
2323
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2324
|
+
};
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Clears the message field making it undefined.
|
|
2329
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2330
|
+
*/
|
|
2331
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.clearFaceValue = function() {
|
|
2332
|
+
return this.setFaceValue(undefined);
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* Returns whether this field is set.
|
|
2338
|
+
* @return {boolean}
|
|
2339
|
+
*/
|
|
2340
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.hasFaceValue = function() {
|
|
2341
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* optional fintekkers.models.util.LocalDateProto issue_date = 6;
|
|
2347
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
2348
|
+
*/
|
|
2349
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getIssueDate = function() {
|
|
2350
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
2351
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 6));
|
|
2352
|
+
};
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
2357
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2358
|
+
*/
|
|
2359
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setIssueDate = function(value) {
|
|
2360
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2361
|
+
};
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Clears the message field making it undefined.
|
|
2366
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2367
|
+
*/
|
|
2368
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.clearIssueDate = function() {
|
|
2369
|
+
return this.setIssueDate(undefined);
|
|
2370
|
+
};
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Returns whether this field is set.
|
|
2375
|
+
* @return {boolean}
|
|
2376
|
+
*/
|
|
2377
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.hasIssueDate = function() {
|
|
2378
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* optional fintekkers.models.util.LocalDateProto maturity_date = 7;
|
|
2384
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
2385
|
+
*/
|
|
2386
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getMaturityDate = function() {
|
|
2387
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
2388
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 7));
|
|
2389
|
+
};
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
/**
|
|
2393
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
2394
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2395
|
+
*/
|
|
2396
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setMaturityDate = function(value) {
|
|
2397
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
2398
|
+
};
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* Clears the message field making it undefined.
|
|
2403
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2404
|
+
*/
|
|
2405
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.clearMaturityDate = function() {
|
|
2406
|
+
return this.setMaturityDate(undefined);
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Returns whether this field is set.
|
|
2412
|
+
* @return {boolean}
|
|
2413
|
+
*/
|
|
2414
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.hasMaturityDate = function() {
|
|
2415
|
+
return jspb.Message.getField(this, 7) != null;
|
|
2416
|
+
};
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* repeated bond.IssuanceProto issuance_info = 8;
|
|
2421
|
+
* @return {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>}
|
|
2422
|
+
*/
|
|
2423
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.getIssuanceInfoList = function() {
|
|
2424
|
+
return /** @type{!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} */ (
|
|
2425
|
+
jspb.Message.getRepeatedWrapperField(this, fintekkers_models_security_bond_issuance_pb.IssuanceProto, 8));
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* @param {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} value
|
|
2431
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2432
|
+
*/
|
|
2433
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.setIssuanceInfoList = function(value) {
|
|
2434
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
2435
|
+
};
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
* @param {!proto.fintekkers.models.security.bond.IssuanceProto=} opt_value
|
|
2440
|
+
* @param {number=} opt_index
|
|
2441
|
+
* @return {!proto.fintekkers.models.security.bond.IssuanceProto}
|
|
2442
|
+
*/
|
|
2443
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.addIssuanceInfo = function(opt_value, opt_index) {
|
|
2444
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.fintekkers.models.security.bond.IssuanceProto, opt_index);
|
|
2445
|
+
};
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* Clears the list making it empty but non-null.
|
|
2450
|
+
* @return {!proto.fintekkers.models.security.BondDetailsProto} returns this
|
|
2451
|
+
*/
|
|
2452
|
+
proto.fintekkers.models.security.BondDetailsProto.prototype.clearIssuanceInfoList = function() {
|
|
2453
|
+
return this.setIssuanceInfoList([]);
|
|
2454
|
+
};
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* List of repeated fields within this message type.
|
|
2460
|
+
* @private {!Array<number>}
|
|
2461
|
+
* @const
|
|
2462
|
+
*/
|
|
2463
|
+
proto.fintekkers.models.security.TipsDetailsProto.repeatedFields_ = [8];
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2468
|
+
/**
|
|
2469
|
+
* Creates an object representation of this proto.
|
|
2470
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2471
|
+
* Optional fields that are not set will be set to undefined.
|
|
2472
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2473
|
+
* For the list of reserved names please see:
|
|
2474
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2475
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2476
|
+
* JSPB instance for transitional soy proto support:
|
|
2477
|
+
* http://goto/soy-param-migration
|
|
2478
|
+
* @return {!Object}
|
|
2479
|
+
*/
|
|
2480
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
2481
|
+
return proto.fintekkers.models.security.TipsDetailsProto.toObject(opt_includeInstance, this);
|
|
2482
|
+
};
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* Static version of the {@see toObject} method.
|
|
2487
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2488
|
+
* the JSPB instance for transitional soy proto support:
|
|
2489
|
+
* http://goto/soy-param-migration
|
|
2490
|
+
* @param {!proto.fintekkers.models.security.TipsDetailsProto} msg The msg instance to transform.
|
|
2491
|
+
* @return {!Object}
|
|
2492
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2493
|
+
*/
|
|
2494
|
+
proto.fintekkers.models.security.TipsDetailsProto.toObject = function(includeInstance, msg) {
|
|
2495
|
+
var f, obj = {
|
|
2496
|
+
couponRate: (f = msg.getCouponRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
2497
|
+
couponType: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2498
|
+
couponFrequency: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2499
|
+
datedDate: (f = msg.getDatedDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2500
|
+
faceValue: (f = msg.getFaceValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
2501
|
+
issueDate: (f = msg.getIssueDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2502
|
+
maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2503
|
+
issuanceInfoList: jspb.Message.toObjectList(msg.getIssuanceInfoList(),
|
|
2504
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.toObject, includeInstance),
|
|
2505
|
+
baseCpi: (f = msg.getBaseCpi()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
2506
|
+
indexDate: (f = msg.getIndexDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
2507
|
+
inflationIndexType: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
2508
|
+
};
|
|
2509
|
+
|
|
2510
|
+
if (includeInstance) {
|
|
2511
|
+
obj.$jspbMessageInstance = msg;
|
|
2512
|
+
}
|
|
2513
|
+
return obj;
|
|
2514
|
+
};
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2520
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
2521
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto}
|
|
2522
|
+
*/
|
|
2523
|
+
proto.fintekkers.models.security.TipsDetailsProto.deserializeBinary = function(bytes) {
|
|
2524
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2525
|
+
var msg = new proto.fintekkers.models.security.TipsDetailsProto;
|
|
2526
|
+
return proto.fintekkers.models.security.TipsDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2532
|
+
* given reader into the given message object.
|
|
2533
|
+
* @param {!proto.fintekkers.models.security.TipsDetailsProto} msg The message object to deserialize into.
|
|
2534
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2535
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto}
|
|
2536
|
+
*/
|
|
2537
|
+
proto.fintekkers.models.security.TipsDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
2538
|
+
while (reader.nextField()) {
|
|
2539
|
+
if (reader.isEndGroup()) {
|
|
2540
|
+
break;
|
|
2541
|
+
}
|
|
2542
|
+
var field = reader.getFieldNumber();
|
|
2543
|
+
switch (field) {
|
|
2544
|
+
case 1:
|
|
2545
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
2546
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
2547
|
+
msg.setCouponRate(value);
|
|
2548
|
+
break;
|
|
2549
|
+
case 2:
|
|
2550
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (reader.readEnum());
|
|
2551
|
+
msg.setCouponType(value);
|
|
2552
|
+
break;
|
|
2553
|
+
case 3:
|
|
2554
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
|
|
2555
|
+
msg.setCouponFrequency(value);
|
|
2556
|
+
break;
|
|
2557
|
+
case 4:
|
|
2558
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2559
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2560
|
+
msg.setDatedDate(value);
|
|
2561
|
+
break;
|
|
2562
|
+
case 5:
|
|
2563
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
2564
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
2565
|
+
msg.setFaceValue(value);
|
|
2566
|
+
break;
|
|
2567
|
+
case 6:
|
|
2568
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2569
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2570
|
+
msg.setIssueDate(value);
|
|
2571
|
+
break;
|
|
2572
|
+
case 7:
|
|
2573
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2574
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2575
|
+
msg.setMaturityDate(value);
|
|
2576
|
+
break;
|
|
2577
|
+
case 8:
|
|
2578
|
+
var value = new fintekkers_models_security_bond_issuance_pb.IssuanceProto;
|
|
2579
|
+
reader.readMessage(value,fintekkers_models_security_bond_issuance_pb.IssuanceProto.deserializeBinaryFromReader);
|
|
2580
|
+
msg.addIssuanceInfo(value);
|
|
2581
|
+
break;
|
|
2582
|
+
case 10:
|
|
2583
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
2584
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
2585
|
+
msg.setBaseCpi(value);
|
|
2586
|
+
break;
|
|
2587
|
+
case 11:
|
|
2588
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
2589
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
2590
|
+
msg.setIndexDate(value);
|
|
2591
|
+
break;
|
|
2592
|
+
case 12:
|
|
2593
|
+
var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
|
|
2594
|
+
msg.setInflationIndexType(value);
|
|
2595
|
+
break;
|
|
2596
|
+
default:
|
|
2597
|
+
reader.skipField();
|
|
2598
|
+
break;
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
return msg;
|
|
2602
|
+
};
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2607
|
+
* @return {!Uint8Array}
|
|
2608
|
+
*/
|
|
2609
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.serializeBinary = function() {
|
|
2610
|
+
var writer = new jspb.BinaryWriter();
|
|
2611
|
+
proto.fintekkers.models.security.TipsDetailsProto.serializeBinaryToWriter(this, writer);
|
|
2612
|
+
return writer.getResultBuffer();
|
|
2613
|
+
};
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2618
|
+
* format), writing to the given BinaryWriter.
|
|
2619
|
+
* @param {!proto.fintekkers.models.security.TipsDetailsProto} message
|
|
2620
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2622
|
+
*/
|
|
2623
|
+
proto.fintekkers.models.security.TipsDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
2624
|
+
var f = undefined;
|
|
2625
|
+
f = message.getCouponRate();
|
|
2626
|
+
if (f != null) {
|
|
2627
|
+
writer.writeMessage(
|
|
2628
|
+
1,
|
|
2629
|
+
f,
|
|
2630
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
2631
|
+
);
|
|
2632
|
+
}
|
|
2633
|
+
f = message.getCouponType();
|
|
2634
|
+
if (f !== 0.0) {
|
|
2635
|
+
writer.writeEnum(
|
|
2636
|
+
2,
|
|
2637
|
+
f
|
|
2638
|
+
);
|
|
2639
|
+
}
|
|
2640
|
+
f = message.getCouponFrequency();
|
|
2641
|
+
if (f !== 0.0) {
|
|
2642
|
+
writer.writeEnum(
|
|
2643
|
+
3,
|
|
2644
|
+
f
|
|
2645
|
+
);
|
|
2646
|
+
}
|
|
2647
|
+
f = message.getDatedDate();
|
|
2648
|
+
if (f != null) {
|
|
2649
|
+
writer.writeMessage(
|
|
2650
|
+
4,
|
|
2651
|
+
f,
|
|
2652
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2653
|
+
);
|
|
2654
|
+
}
|
|
2655
|
+
f = message.getFaceValue();
|
|
2656
|
+
if (f != null) {
|
|
2657
|
+
writer.writeMessage(
|
|
2658
|
+
5,
|
|
2659
|
+
f,
|
|
2660
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
2661
|
+
);
|
|
2662
|
+
}
|
|
2663
|
+
f = message.getIssueDate();
|
|
2664
|
+
if (f != null) {
|
|
2665
|
+
writer.writeMessage(
|
|
2666
|
+
6,
|
|
2667
|
+
f,
|
|
2668
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2669
|
+
);
|
|
2670
|
+
}
|
|
2671
|
+
f = message.getMaturityDate();
|
|
2672
|
+
if (f != null) {
|
|
2673
|
+
writer.writeMessage(
|
|
2674
|
+
7,
|
|
2675
|
+
f,
|
|
2676
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2677
|
+
);
|
|
2678
|
+
}
|
|
2679
|
+
f = message.getIssuanceInfoList();
|
|
2680
|
+
if (f.length > 0) {
|
|
2681
|
+
writer.writeRepeatedMessage(
|
|
2682
|
+
8,
|
|
2683
|
+
f,
|
|
2684
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.serializeBinaryToWriter
|
|
2685
|
+
);
|
|
2686
|
+
}
|
|
2687
|
+
f = message.getBaseCpi();
|
|
2688
|
+
if (f != null) {
|
|
2689
|
+
writer.writeMessage(
|
|
2690
|
+
10,
|
|
2691
|
+
f,
|
|
2692
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
2693
|
+
);
|
|
2694
|
+
}
|
|
2695
|
+
f = message.getIndexDate();
|
|
2696
|
+
if (f != null) {
|
|
2697
|
+
writer.writeMessage(
|
|
2698
|
+
11,
|
|
2699
|
+
f,
|
|
2700
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
2701
|
+
);
|
|
2702
|
+
}
|
|
2703
|
+
f = message.getInflationIndexType();
|
|
2704
|
+
if (f !== 0.0) {
|
|
2705
|
+
writer.writeEnum(
|
|
2706
|
+
12,
|
|
2707
|
+
f
|
|
2708
|
+
);
|
|
2709
|
+
}
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* optional fintekkers.models.util.DecimalValueProto coupon_rate = 1;
|
|
2715
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
2716
|
+
*/
|
|
2717
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getCouponRate = function() {
|
|
2718
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
2719
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 1));
|
|
2720
|
+
};
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
2725
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2726
|
+
*/
|
|
2727
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setCouponRate = function(value) {
|
|
2728
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2729
|
+
};
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
/**
|
|
2733
|
+
* Clears the message field making it undefined.
|
|
2734
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2735
|
+
*/
|
|
2736
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearCouponRate = function() {
|
|
2737
|
+
return this.setCouponRate(undefined);
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* Returns whether this field is set.
|
|
2743
|
+
* @return {boolean}
|
|
2744
|
+
*/
|
|
2745
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasCouponRate = function() {
|
|
2746
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2747
|
+
};
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* optional CouponTypeProto coupon_type = 2;
|
|
2752
|
+
* @return {!proto.fintekkers.models.security.CouponTypeProto}
|
|
2753
|
+
*/
|
|
2754
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getCouponType = function() {
|
|
2755
|
+
return /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2756
|
+
};
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
/**
|
|
2760
|
+
* @param {!proto.fintekkers.models.security.CouponTypeProto} value
|
|
2761
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2762
|
+
*/
|
|
2763
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setCouponType = function(value) {
|
|
2764
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2765
|
+
};
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
/**
|
|
2769
|
+
* optional CouponFrequencyProto coupon_frequency = 3;
|
|
2770
|
+
* @return {!proto.fintekkers.models.security.CouponFrequencyProto}
|
|
2771
|
+
*/
|
|
2772
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getCouponFrequency = function() {
|
|
2773
|
+
return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2774
|
+
};
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
|
|
2779
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2780
|
+
*/
|
|
2781
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setCouponFrequency = function(value) {
|
|
2782
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
2783
|
+
};
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* optional fintekkers.models.util.LocalDateProto dated_date = 4;
|
|
2788
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
2789
|
+
*/
|
|
2790
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getDatedDate = function() {
|
|
2791
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
2792
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 4));
|
|
2793
|
+
};
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
/**
|
|
2797
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
2798
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2799
|
+
*/
|
|
2800
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setDatedDate = function(value) {
|
|
2801
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
/**
|
|
2806
|
+
* Clears the message field making it undefined.
|
|
2807
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2808
|
+
*/
|
|
2809
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearDatedDate = function() {
|
|
2810
|
+
return this.setDatedDate(undefined);
|
|
2811
|
+
};
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
/**
|
|
2815
|
+
* Returns whether this field is set.
|
|
2816
|
+
* @return {boolean}
|
|
2817
|
+
*/
|
|
2818
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasDatedDate = function() {
|
|
2819
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2820
|
+
};
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* optional fintekkers.models.util.DecimalValueProto face_value = 5;
|
|
2825
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
2826
|
+
*/
|
|
2827
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getFaceValue = function() {
|
|
2828
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
2829
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 5));
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
2835
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2836
|
+
*/
|
|
2837
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setFaceValue = function(value) {
|
|
2838
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2839
|
+
};
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* Clears the message field making it undefined.
|
|
2844
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2845
|
+
*/
|
|
2846
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearFaceValue = function() {
|
|
2847
|
+
return this.setFaceValue(undefined);
|
|
2848
|
+
};
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* Returns whether this field is set.
|
|
2853
|
+
* @return {boolean}
|
|
2854
|
+
*/
|
|
2855
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasFaceValue = function() {
|
|
2856
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2857
|
+
};
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* optional fintekkers.models.util.LocalDateProto issue_date = 6;
|
|
2862
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
2863
|
+
*/
|
|
2864
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getIssueDate = function() {
|
|
2865
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
2866
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 6));
|
|
2867
|
+
};
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
2872
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2873
|
+
*/
|
|
2874
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setIssueDate = function(value) {
|
|
2875
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2876
|
+
};
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Clears the message field making it undefined.
|
|
2881
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2882
|
+
*/
|
|
2883
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearIssueDate = function() {
|
|
2884
|
+
return this.setIssueDate(undefined);
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* Returns whether this field is set.
|
|
2890
|
+
* @return {boolean}
|
|
2891
|
+
*/
|
|
2892
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasIssueDate = function() {
|
|
2893
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2894
|
+
};
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* optional fintekkers.models.util.LocalDateProto maturity_date = 7;
|
|
2899
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
2900
|
+
*/
|
|
2901
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getMaturityDate = function() {
|
|
2902
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
2903
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 7));
|
|
2904
|
+
};
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
/**
|
|
2908
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
2909
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2910
|
+
*/
|
|
2911
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setMaturityDate = function(value) {
|
|
2912
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
2913
|
+
};
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* Clears the message field making it undefined.
|
|
2918
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2919
|
+
*/
|
|
2920
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearMaturityDate = function() {
|
|
2921
|
+
return this.setMaturityDate(undefined);
|
|
2922
|
+
};
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
/**
|
|
2926
|
+
* Returns whether this field is set.
|
|
2927
|
+
* @return {boolean}
|
|
2928
|
+
*/
|
|
2929
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasMaturityDate = function() {
|
|
2930
|
+
return jspb.Message.getField(this, 7) != null;
|
|
2931
|
+
};
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
/**
|
|
2935
|
+
* repeated bond.IssuanceProto issuance_info = 8;
|
|
2936
|
+
* @return {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>}
|
|
2937
|
+
*/
|
|
2938
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getIssuanceInfoList = function() {
|
|
2939
|
+
return /** @type{!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} */ (
|
|
2940
|
+
jspb.Message.getRepeatedWrapperField(this, fintekkers_models_security_bond_issuance_pb.IssuanceProto, 8));
|
|
2941
|
+
};
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* @param {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} value
|
|
2946
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2947
|
+
*/
|
|
2948
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setIssuanceInfoList = function(value) {
|
|
2949
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
2950
|
+
};
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* @param {!proto.fintekkers.models.security.bond.IssuanceProto=} opt_value
|
|
2955
|
+
* @param {number=} opt_index
|
|
2956
|
+
* @return {!proto.fintekkers.models.security.bond.IssuanceProto}
|
|
2957
|
+
*/
|
|
2958
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.addIssuanceInfo = function(opt_value, opt_index) {
|
|
2959
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.fintekkers.models.security.bond.IssuanceProto, opt_index);
|
|
2960
|
+
};
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* Clears the list making it empty but non-null.
|
|
2965
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2966
|
+
*/
|
|
2967
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearIssuanceInfoList = function() {
|
|
2968
|
+
return this.setIssuanceInfoList([]);
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* optional fintekkers.models.util.DecimalValueProto base_cpi = 10;
|
|
2974
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
2975
|
+
*/
|
|
2976
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getBaseCpi = function() {
|
|
2977
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
2978
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 10));
|
|
2979
|
+
};
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
/**
|
|
2983
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
2984
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2985
|
+
*/
|
|
2986
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setBaseCpi = function(value) {
|
|
2987
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* Clears the message field making it undefined.
|
|
2993
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
2994
|
+
*/
|
|
2995
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearBaseCpi = function() {
|
|
2996
|
+
return this.setBaseCpi(undefined);
|
|
2997
|
+
};
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* Returns whether this field is set.
|
|
3002
|
+
* @return {boolean}
|
|
3003
|
+
*/
|
|
3004
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasBaseCpi = function() {
|
|
3005
|
+
return jspb.Message.getField(this, 10) != null;
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
|
|
3009
|
+
/**
|
|
3010
|
+
* optional fintekkers.models.util.LocalDateProto index_date = 11;
|
|
3011
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
3012
|
+
*/
|
|
3013
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getIndexDate = function() {
|
|
3014
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
3015
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 11));
|
|
3016
|
+
};
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
3021
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
3022
|
+
*/
|
|
3023
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setIndexDate = function(value) {
|
|
3024
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
3025
|
+
};
|
|
3026
|
+
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* Clears the message field making it undefined.
|
|
3030
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
3031
|
+
*/
|
|
3032
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.clearIndexDate = function() {
|
|
3033
|
+
return this.setIndexDate(undefined);
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* Returns whether this field is set.
|
|
3039
|
+
* @return {boolean}
|
|
3040
|
+
*/
|
|
3041
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.hasIndexDate = function() {
|
|
3042
|
+
return jspb.Message.getField(this, 11) != null;
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
/**
|
|
3047
|
+
* optional index.IndexTypeProto inflation_index_type = 12;
|
|
3048
|
+
* @return {!proto.fintekkers.models.security.index.IndexTypeProto}
|
|
3049
|
+
*/
|
|
3050
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.getInflationIndexType = function() {
|
|
3051
|
+
return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
3052
|
+
};
|
|
3053
|
+
|
|
3054
|
+
|
|
3055
|
+
/**
|
|
3056
|
+
* @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
|
|
3057
|
+
* @return {!proto.fintekkers.models.security.TipsDetailsProto} returns this
|
|
3058
|
+
*/
|
|
3059
|
+
proto.fintekkers.models.security.TipsDetailsProto.prototype.setInflationIndexType = function(value) {
|
|
3060
|
+
return jspb.Message.setProto3EnumField(this, 12, value);
|
|
3061
|
+
};
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* List of repeated fields within this message type.
|
|
3067
|
+
* @private {!Array<number>}
|
|
3068
|
+
* @const
|
|
3069
|
+
*/
|
|
3070
|
+
proto.fintekkers.models.security.FrnDetailsProto.repeatedFields_ = [8];
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3075
|
+
/**
|
|
3076
|
+
* Creates an object representation of this proto.
|
|
3077
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3078
|
+
* Optional fields that are not set will be set to undefined.
|
|
3079
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3080
|
+
* For the list of reserved names please see:
|
|
3081
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3082
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3083
|
+
* JSPB instance for transitional soy proto support:
|
|
3084
|
+
* http://goto/soy-param-migration
|
|
3085
|
+
* @return {!Object}
|
|
3086
|
+
*/
|
|
3087
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
3088
|
+
return proto.fintekkers.models.security.FrnDetailsProto.toObject(opt_includeInstance, this);
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* Static version of the {@see toObject} method.
|
|
3094
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3095
|
+
* the JSPB instance for transitional soy proto support:
|
|
3096
|
+
* http://goto/soy-param-migration
|
|
3097
|
+
* @param {!proto.fintekkers.models.security.FrnDetailsProto} msg The msg instance to transform.
|
|
3098
|
+
* @return {!Object}
|
|
3099
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3100
|
+
*/
|
|
3101
|
+
proto.fintekkers.models.security.FrnDetailsProto.toObject = function(includeInstance, msg) {
|
|
3102
|
+
var f, obj = {
|
|
3103
|
+
couponRate: (f = msg.getCouponRate()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
3104
|
+
couponType: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3105
|
+
couponFrequency: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
3106
|
+
datedDate: (f = msg.getDatedDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
3107
|
+
faceValue: (f = msg.getFaceValue()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
3108
|
+
issueDate: (f = msg.getIssueDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
3109
|
+
maturityDate: (f = msg.getMaturityDate()) && fintekkers_models_util_local_date_pb.LocalDateProto.toObject(includeInstance, f),
|
|
3110
|
+
issuanceInfoList: jspb.Message.toObjectList(msg.getIssuanceInfoList(),
|
|
3111
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.toObject, includeInstance),
|
|
3112
|
+
spread: (f = msg.getSpread()) && fintekkers_models_util_decimal_value_pb.DecimalValueProto.toObject(includeInstance, f),
|
|
3113
|
+
referenceRateIndex: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
3114
|
+
resetFrequency: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
3115
|
+
};
|
|
3116
|
+
|
|
3117
|
+
if (includeInstance) {
|
|
3118
|
+
obj.$jspbMessageInstance = msg;
|
|
3119
|
+
}
|
|
3120
|
+
return obj;
|
|
3121
|
+
};
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3127
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3128
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto}
|
|
3129
|
+
*/
|
|
3130
|
+
proto.fintekkers.models.security.FrnDetailsProto.deserializeBinary = function(bytes) {
|
|
3131
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3132
|
+
var msg = new proto.fintekkers.models.security.FrnDetailsProto;
|
|
3133
|
+
return proto.fintekkers.models.security.FrnDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3139
|
+
* given reader into the given message object.
|
|
3140
|
+
* @param {!proto.fintekkers.models.security.FrnDetailsProto} msg The message object to deserialize into.
|
|
3141
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3142
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto}
|
|
3143
|
+
*/
|
|
3144
|
+
proto.fintekkers.models.security.FrnDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
3145
|
+
while (reader.nextField()) {
|
|
3146
|
+
if (reader.isEndGroup()) {
|
|
3147
|
+
break;
|
|
3148
|
+
}
|
|
3149
|
+
var field = reader.getFieldNumber();
|
|
3150
|
+
switch (field) {
|
|
3151
|
+
case 1:
|
|
3152
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
3153
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
3154
|
+
msg.setCouponRate(value);
|
|
3155
|
+
break;
|
|
3156
|
+
case 2:
|
|
3157
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (reader.readEnum());
|
|
3158
|
+
msg.setCouponType(value);
|
|
3159
|
+
break;
|
|
3160
|
+
case 3:
|
|
3161
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
|
|
3162
|
+
msg.setCouponFrequency(value);
|
|
3163
|
+
break;
|
|
3164
|
+
case 4:
|
|
3165
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
3166
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
3167
|
+
msg.setDatedDate(value);
|
|
3168
|
+
break;
|
|
3169
|
+
case 5:
|
|
3170
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
3171
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
3172
|
+
msg.setFaceValue(value);
|
|
3173
|
+
break;
|
|
3174
|
+
case 6:
|
|
3175
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
3176
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
3177
|
+
msg.setIssueDate(value);
|
|
3178
|
+
break;
|
|
3179
|
+
case 7:
|
|
3180
|
+
var value = new fintekkers_models_util_local_date_pb.LocalDateProto;
|
|
3181
|
+
reader.readMessage(value,fintekkers_models_util_local_date_pb.LocalDateProto.deserializeBinaryFromReader);
|
|
3182
|
+
msg.setMaturityDate(value);
|
|
3183
|
+
break;
|
|
3184
|
+
case 8:
|
|
3185
|
+
var value = new fintekkers_models_security_bond_issuance_pb.IssuanceProto;
|
|
3186
|
+
reader.readMessage(value,fintekkers_models_security_bond_issuance_pb.IssuanceProto.deserializeBinaryFromReader);
|
|
3187
|
+
msg.addIssuanceInfo(value);
|
|
3188
|
+
break;
|
|
3189
|
+
case 10:
|
|
3190
|
+
var value = new fintekkers_models_util_decimal_value_pb.DecimalValueProto;
|
|
3191
|
+
reader.readMessage(value,fintekkers_models_util_decimal_value_pb.DecimalValueProto.deserializeBinaryFromReader);
|
|
3192
|
+
msg.setSpread(value);
|
|
3193
|
+
break;
|
|
3194
|
+
case 11:
|
|
3195
|
+
var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
|
|
3196
|
+
msg.setReferenceRateIndex(value);
|
|
3197
|
+
break;
|
|
3198
|
+
case 12:
|
|
3199
|
+
var value = /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (reader.readEnum());
|
|
3200
|
+
msg.setResetFrequency(value);
|
|
3201
|
+
break;
|
|
3202
|
+
default:
|
|
3203
|
+
reader.skipField();
|
|
3204
|
+
break;
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
return msg;
|
|
3208
|
+
};
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3213
|
+
* @return {!Uint8Array}
|
|
3214
|
+
*/
|
|
3215
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.serializeBinary = function() {
|
|
3216
|
+
var writer = new jspb.BinaryWriter();
|
|
3217
|
+
proto.fintekkers.models.security.FrnDetailsProto.serializeBinaryToWriter(this, writer);
|
|
3218
|
+
return writer.getResultBuffer();
|
|
3219
|
+
};
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3224
|
+
* format), writing to the given BinaryWriter.
|
|
3225
|
+
* @param {!proto.fintekkers.models.security.FrnDetailsProto} message
|
|
3226
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3227
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3228
|
+
*/
|
|
3229
|
+
proto.fintekkers.models.security.FrnDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
3230
|
+
var f = undefined;
|
|
3231
|
+
f = message.getCouponRate();
|
|
3232
|
+
if (f != null) {
|
|
3233
|
+
writer.writeMessage(
|
|
3234
|
+
1,
|
|
3235
|
+
f,
|
|
3236
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
3237
|
+
);
|
|
3238
|
+
}
|
|
3239
|
+
f = message.getCouponType();
|
|
3240
|
+
if (f !== 0.0) {
|
|
3241
|
+
writer.writeEnum(
|
|
3242
|
+
2,
|
|
3243
|
+
f
|
|
3244
|
+
);
|
|
3245
|
+
}
|
|
3246
|
+
f = message.getCouponFrequency();
|
|
3247
|
+
if (f !== 0.0) {
|
|
3248
|
+
writer.writeEnum(
|
|
3249
|
+
3,
|
|
3250
|
+
f
|
|
3251
|
+
);
|
|
3252
|
+
}
|
|
3253
|
+
f = message.getDatedDate();
|
|
3254
|
+
if (f != null) {
|
|
3255
|
+
writer.writeMessage(
|
|
3256
|
+
4,
|
|
3257
|
+
f,
|
|
3258
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
3259
|
+
);
|
|
3260
|
+
}
|
|
3261
|
+
f = message.getFaceValue();
|
|
3262
|
+
if (f != null) {
|
|
3263
|
+
writer.writeMessage(
|
|
3264
|
+
5,
|
|
3265
|
+
f,
|
|
3266
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
3267
|
+
);
|
|
3268
|
+
}
|
|
3269
|
+
f = message.getIssueDate();
|
|
3270
|
+
if (f != null) {
|
|
3271
|
+
writer.writeMessage(
|
|
3272
|
+
6,
|
|
3273
|
+
f,
|
|
3274
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
3275
|
+
);
|
|
3276
|
+
}
|
|
3277
|
+
f = message.getMaturityDate();
|
|
3278
|
+
if (f != null) {
|
|
3279
|
+
writer.writeMessage(
|
|
3280
|
+
7,
|
|
3281
|
+
f,
|
|
3282
|
+
fintekkers_models_util_local_date_pb.LocalDateProto.serializeBinaryToWriter
|
|
3283
|
+
);
|
|
3284
|
+
}
|
|
3285
|
+
f = message.getIssuanceInfoList();
|
|
3286
|
+
if (f.length > 0) {
|
|
3287
|
+
writer.writeRepeatedMessage(
|
|
3288
|
+
8,
|
|
3289
|
+
f,
|
|
3290
|
+
fintekkers_models_security_bond_issuance_pb.IssuanceProto.serializeBinaryToWriter
|
|
3291
|
+
);
|
|
3292
|
+
}
|
|
3293
|
+
f = message.getSpread();
|
|
3294
|
+
if (f != null) {
|
|
3295
|
+
writer.writeMessage(
|
|
3296
|
+
10,
|
|
3297
|
+
f,
|
|
3298
|
+
fintekkers_models_util_decimal_value_pb.DecimalValueProto.serializeBinaryToWriter
|
|
3299
|
+
);
|
|
3300
|
+
}
|
|
3301
|
+
f = message.getReferenceRateIndex();
|
|
3302
|
+
if (f !== 0.0) {
|
|
3303
|
+
writer.writeEnum(
|
|
3304
|
+
11,
|
|
3305
|
+
f
|
|
3306
|
+
);
|
|
3307
|
+
}
|
|
3308
|
+
f = message.getResetFrequency();
|
|
3309
|
+
if (f !== 0.0) {
|
|
3310
|
+
writer.writeEnum(
|
|
3311
|
+
12,
|
|
3312
|
+
f
|
|
3313
|
+
);
|
|
3314
|
+
}
|
|
3315
|
+
};
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* optional fintekkers.models.util.DecimalValueProto coupon_rate = 1;
|
|
3320
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
3321
|
+
*/
|
|
3322
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getCouponRate = function() {
|
|
3323
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
3324
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 1));
|
|
3325
|
+
};
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
/**
|
|
3329
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
3330
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3331
|
+
*/
|
|
3332
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setCouponRate = function(value) {
|
|
3333
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3334
|
+
};
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
/**
|
|
3338
|
+
* Clears the message field making it undefined.
|
|
3339
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3340
|
+
*/
|
|
3341
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearCouponRate = function() {
|
|
3342
|
+
return this.setCouponRate(undefined);
|
|
3343
|
+
};
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Returns whether this field is set.
|
|
3348
|
+
* @return {boolean}
|
|
3349
|
+
*/
|
|
3350
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.hasCouponRate = function() {
|
|
3351
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3352
|
+
};
|
|
3353
|
+
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* optional CouponTypeProto coupon_type = 2;
|
|
3357
|
+
* @return {!proto.fintekkers.models.security.CouponTypeProto}
|
|
3358
|
+
*/
|
|
3359
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getCouponType = function() {
|
|
3360
|
+
return /** @type {!proto.fintekkers.models.security.CouponTypeProto} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
/**
|
|
3365
|
+
* @param {!proto.fintekkers.models.security.CouponTypeProto} value
|
|
3366
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3367
|
+
*/
|
|
3368
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setCouponType = function(value) {
|
|
3369
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
3370
|
+
};
|
|
3371
|
+
|
|
3372
|
+
|
|
3373
|
+
/**
|
|
3374
|
+
* optional CouponFrequencyProto coupon_frequency = 3;
|
|
3375
|
+
* @return {!proto.fintekkers.models.security.CouponFrequencyProto}
|
|
3376
|
+
*/
|
|
3377
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getCouponFrequency = function() {
|
|
3378
|
+
return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3379
|
+
};
|
|
3380
|
+
|
|
3381
|
+
|
|
3382
|
+
/**
|
|
3383
|
+
* @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
|
|
3384
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3385
|
+
*/
|
|
3386
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setCouponFrequency = function(value) {
|
|
3387
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
3388
|
+
};
|
|
3389
|
+
|
|
3390
|
+
|
|
3391
|
+
/**
|
|
3392
|
+
* optional fintekkers.models.util.LocalDateProto dated_date = 4;
|
|
3393
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
3394
|
+
*/
|
|
3395
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getDatedDate = function() {
|
|
3396
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
3397
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 4));
|
|
3398
|
+
};
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
3403
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3404
|
+
*/
|
|
3405
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setDatedDate = function(value) {
|
|
3406
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
3407
|
+
};
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
/**
|
|
3411
|
+
* Clears the message field making it undefined.
|
|
3412
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3413
|
+
*/
|
|
3414
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearDatedDate = function() {
|
|
3415
|
+
return this.setDatedDate(undefined);
|
|
3416
|
+
};
|
|
3417
|
+
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* Returns whether this field is set.
|
|
3421
|
+
* @return {boolean}
|
|
3422
|
+
*/
|
|
3423
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.hasDatedDate = function() {
|
|
3424
|
+
return jspb.Message.getField(this, 4) != null;
|
|
3425
|
+
};
|
|
3426
|
+
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* optional fintekkers.models.util.DecimalValueProto face_value = 5;
|
|
3430
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
3431
|
+
*/
|
|
3432
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getFaceValue = function() {
|
|
3433
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
3434
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 5));
|
|
3435
|
+
};
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
/**
|
|
3439
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
3440
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3441
|
+
*/
|
|
3442
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setFaceValue = function(value) {
|
|
3443
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
3444
|
+
};
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
/**
|
|
3448
|
+
* Clears the message field making it undefined.
|
|
3449
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3450
|
+
*/
|
|
3451
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearFaceValue = function() {
|
|
3452
|
+
return this.setFaceValue(undefined);
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3455
|
+
|
|
3456
|
+
/**
|
|
3457
|
+
* Returns whether this field is set.
|
|
3458
|
+
* @return {boolean}
|
|
3459
|
+
*/
|
|
3460
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.hasFaceValue = function() {
|
|
3461
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3462
|
+
};
|
|
3463
|
+
|
|
3464
|
+
|
|
3465
|
+
/**
|
|
3466
|
+
* optional fintekkers.models.util.LocalDateProto issue_date = 6;
|
|
3467
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
3468
|
+
*/
|
|
3469
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getIssueDate = function() {
|
|
3470
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
3471
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 6));
|
|
3472
|
+
};
|
|
3473
|
+
|
|
3474
|
+
|
|
3475
|
+
/**
|
|
3476
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
3477
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3478
|
+
*/
|
|
3479
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setIssueDate = function(value) {
|
|
3480
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
3481
|
+
};
|
|
3482
|
+
|
|
3483
|
+
|
|
3484
|
+
/**
|
|
3485
|
+
* Clears the message field making it undefined.
|
|
3486
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3487
|
+
*/
|
|
3488
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearIssueDate = function() {
|
|
3489
|
+
return this.setIssueDate(undefined);
|
|
3490
|
+
};
|
|
3491
|
+
|
|
3492
|
+
|
|
3493
|
+
/**
|
|
3494
|
+
* Returns whether this field is set.
|
|
3495
|
+
* @return {boolean}
|
|
3496
|
+
*/
|
|
3497
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.hasIssueDate = function() {
|
|
3498
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3499
|
+
};
|
|
3500
|
+
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* optional fintekkers.models.util.LocalDateProto maturity_date = 7;
|
|
3504
|
+
* @return {?proto.fintekkers.models.util.LocalDateProto}
|
|
3505
|
+
*/
|
|
3506
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getMaturityDate = function() {
|
|
3507
|
+
return /** @type{?proto.fintekkers.models.util.LocalDateProto} */ (
|
|
3508
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_local_date_pb.LocalDateProto, 7));
|
|
3509
|
+
};
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
/**
|
|
3513
|
+
* @param {?proto.fintekkers.models.util.LocalDateProto|undefined} value
|
|
3514
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3515
|
+
*/
|
|
3516
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setMaturityDate = function(value) {
|
|
3517
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* Clears the message field making it undefined.
|
|
3523
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3524
|
+
*/
|
|
3525
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearMaturityDate = function() {
|
|
3526
|
+
return this.setMaturityDate(undefined);
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* Returns whether this field is set.
|
|
3532
|
+
* @return {boolean}
|
|
3533
|
+
*/
|
|
3534
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.hasMaturityDate = function() {
|
|
3535
|
+
return jspb.Message.getField(this, 7) != null;
|
|
3536
|
+
};
|
|
3537
|
+
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
* repeated bond.IssuanceProto issuance_info = 8;
|
|
3541
|
+
* @return {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>}
|
|
3542
|
+
*/
|
|
3543
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getIssuanceInfoList = function() {
|
|
3544
|
+
return /** @type{!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} */ (
|
|
3545
|
+
jspb.Message.getRepeatedWrapperField(this, fintekkers_models_security_bond_issuance_pb.IssuanceProto, 8));
|
|
3546
|
+
};
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
/**
|
|
3550
|
+
* @param {!Array<!proto.fintekkers.models.security.bond.IssuanceProto>} value
|
|
3551
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3552
|
+
*/
|
|
3553
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setIssuanceInfoList = function(value) {
|
|
3554
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* @param {!proto.fintekkers.models.security.bond.IssuanceProto=} opt_value
|
|
3560
|
+
* @param {number=} opt_index
|
|
3561
|
+
* @return {!proto.fintekkers.models.security.bond.IssuanceProto}
|
|
3562
|
+
*/
|
|
3563
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.addIssuanceInfo = function(opt_value, opt_index) {
|
|
3564
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.fintekkers.models.security.bond.IssuanceProto, opt_index);
|
|
3565
|
+
};
|
|
3566
|
+
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* Clears the list making it empty but non-null.
|
|
3570
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3571
|
+
*/
|
|
3572
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearIssuanceInfoList = function() {
|
|
3573
|
+
return this.setIssuanceInfoList([]);
|
|
3574
|
+
};
|
|
3575
|
+
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* optional fintekkers.models.util.DecimalValueProto spread = 10;
|
|
3579
|
+
* @return {?proto.fintekkers.models.util.DecimalValueProto}
|
|
3580
|
+
*/
|
|
3581
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getSpread = function() {
|
|
3582
|
+
return /** @type{?proto.fintekkers.models.util.DecimalValueProto} */ (
|
|
3583
|
+
jspb.Message.getWrapperField(this, fintekkers_models_util_decimal_value_pb.DecimalValueProto, 10));
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* @param {?proto.fintekkers.models.util.DecimalValueProto|undefined} value
|
|
3589
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3590
|
+
*/
|
|
3591
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setSpread = function(value) {
|
|
3592
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* Clears the message field making it undefined.
|
|
3598
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3599
|
+
*/
|
|
3600
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.clearSpread = function() {
|
|
3601
|
+
return this.setSpread(undefined);
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* Returns whether this field is set.
|
|
3607
|
+
* @return {boolean}
|
|
3608
|
+
*/
|
|
3609
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.hasSpread = function() {
|
|
3610
|
+
return jspb.Message.getField(this, 10) != null;
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* optional index.IndexTypeProto reference_rate_index = 11;
|
|
3616
|
+
* @return {!proto.fintekkers.models.security.index.IndexTypeProto}
|
|
3617
|
+
*/
|
|
3618
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getReferenceRateIndex = function() {
|
|
3619
|
+
return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
3620
|
+
};
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
|
|
3625
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3626
|
+
*/
|
|
3627
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setReferenceRateIndex = function(value) {
|
|
3628
|
+
return jspb.Message.setProto3EnumField(this, 11, value);
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
/**
|
|
3633
|
+
* optional CouponFrequencyProto reset_frequency = 12;
|
|
3634
|
+
* @return {!proto.fintekkers.models.security.CouponFrequencyProto}
|
|
3635
|
+
*/
|
|
3636
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.getResetFrequency = function() {
|
|
3637
|
+
return /** @type {!proto.fintekkers.models.security.CouponFrequencyProto} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
3638
|
+
};
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
/**
|
|
3642
|
+
* @param {!proto.fintekkers.models.security.CouponFrequencyProto} value
|
|
3643
|
+
* @return {!proto.fintekkers.models.security.FrnDetailsProto} returns this
|
|
3644
|
+
*/
|
|
3645
|
+
proto.fintekkers.models.security.FrnDetailsProto.prototype.setResetFrequency = function(value) {
|
|
3646
|
+
return jspb.Message.setProto3EnumField(this, 12, value);
|
|
3647
|
+
};
|
|
3648
|
+
|
|
3649
|
+
|
|
3650
|
+
|
|
3651
|
+
|
|
3652
|
+
|
|
3653
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3654
|
+
/**
|
|
3655
|
+
* Creates an object representation of this proto.
|
|
3656
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3657
|
+
* Optional fields that are not set will be set to undefined.
|
|
3658
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3659
|
+
* For the list of reserved names please see:
|
|
3660
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3661
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3662
|
+
* JSPB instance for transitional soy proto support:
|
|
3663
|
+
* http://goto/soy-param-migration
|
|
3664
|
+
* @return {!Object}
|
|
3665
|
+
*/
|
|
3666
|
+
proto.fintekkers.models.security.IndexDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
3667
|
+
return proto.fintekkers.models.security.IndexDetailsProto.toObject(opt_includeInstance, this);
|
|
3668
|
+
};
|
|
3669
|
+
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* Static version of the {@see toObject} method.
|
|
3673
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3674
|
+
* the JSPB instance for transitional soy proto support:
|
|
3675
|
+
* http://goto/soy-param-migration
|
|
3676
|
+
* @param {!proto.fintekkers.models.security.IndexDetailsProto} msg The msg instance to transform.
|
|
3677
|
+
* @return {!Object}
|
|
3678
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3679
|
+
*/
|
|
3680
|
+
proto.fintekkers.models.security.IndexDetailsProto.toObject = function(includeInstance, msg) {
|
|
3681
|
+
var f, obj = {
|
|
3682
|
+
indexType: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3683
|
+
};
|
|
3684
|
+
|
|
3685
|
+
if (includeInstance) {
|
|
3686
|
+
obj.$jspbMessageInstance = msg;
|
|
3687
|
+
}
|
|
3688
|
+
return obj;
|
|
3689
|
+
};
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
/**
|
|
3694
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3695
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3696
|
+
* @return {!proto.fintekkers.models.security.IndexDetailsProto}
|
|
3697
|
+
*/
|
|
3698
|
+
proto.fintekkers.models.security.IndexDetailsProto.deserializeBinary = function(bytes) {
|
|
3699
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3700
|
+
var msg = new proto.fintekkers.models.security.IndexDetailsProto;
|
|
3701
|
+
return proto.fintekkers.models.security.IndexDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
3702
|
+
};
|
|
3703
|
+
|
|
3704
|
+
|
|
3705
|
+
/**
|
|
3706
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3707
|
+
* given reader into the given message object.
|
|
3708
|
+
* @param {!proto.fintekkers.models.security.IndexDetailsProto} msg The message object to deserialize into.
|
|
3709
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3710
|
+
* @return {!proto.fintekkers.models.security.IndexDetailsProto}
|
|
3711
|
+
*/
|
|
3712
|
+
proto.fintekkers.models.security.IndexDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
3713
|
+
while (reader.nextField()) {
|
|
3714
|
+
if (reader.isEndGroup()) {
|
|
3715
|
+
break;
|
|
3716
|
+
}
|
|
3717
|
+
var field = reader.getFieldNumber();
|
|
3718
|
+
switch (field) {
|
|
3719
|
+
case 1:
|
|
3720
|
+
var value = /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (reader.readEnum());
|
|
3721
|
+
msg.setIndexType(value);
|
|
3722
|
+
break;
|
|
3723
|
+
default:
|
|
3724
|
+
reader.skipField();
|
|
3725
|
+
break;
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3728
|
+
return msg;
|
|
3729
|
+
};
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
/**
|
|
3733
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3734
|
+
* @return {!Uint8Array}
|
|
3735
|
+
*/
|
|
3736
|
+
proto.fintekkers.models.security.IndexDetailsProto.prototype.serializeBinary = function() {
|
|
3737
|
+
var writer = new jspb.BinaryWriter();
|
|
3738
|
+
proto.fintekkers.models.security.IndexDetailsProto.serializeBinaryToWriter(this, writer);
|
|
3739
|
+
return writer.getResultBuffer();
|
|
3740
|
+
};
|
|
3741
|
+
|
|
3742
|
+
|
|
3743
|
+
/**
|
|
3744
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3745
|
+
* format), writing to the given BinaryWriter.
|
|
3746
|
+
* @param {!proto.fintekkers.models.security.IndexDetailsProto} message
|
|
3747
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3749
|
+
*/
|
|
3750
|
+
proto.fintekkers.models.security.IndexDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
3751
|
+
var f = undefined;
|
|
3752
|
+
f = message.getIndexType();
|
|
3753
|
+
if (f !== 0.0) {
|
|
3754
|
+
writer.writeEnum(
|
|
3755
|
+
1,
|
|
3756
|
+
f
|
|
3757
|
+
);
|
|
3758
|
+
}
|
|
3759
|
+
};
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
/**
|
|
3763
|
+
* optional index.IndexTypeProto index_type = 1;
|
|
3764
|
+
* @return {!proto.fintekkers.models.security.index.IndexTypeProto}
|
|
3765
|
+
*/
|
|
3766
|
+
proto.fintekkers.models.security.IndexDetailsProto.prototype.getIndexType = function() {
|
|
3767
|
+
return /** @type {!proto.fintekkers.models.security.index.IndexTypeProto} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3768
|
+
};
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* @param {!proto.fintekkers.models.security.index.IndexTypeProto} value
|
|
3773
|
+
* @return {!proto.fintekkers.models.security.IndexDetailsProto} returns this
|
|
3774
|
+
*/
|
|
3775
|
+
proto.fintekkers.models.security.IndexDetailsProto.prototype.setIndexType = function(value) {
|
|
3776
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3784
|
+
/**
|
|
3785
|
+
* Creates an object representation of this proto.
|
|
3786
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3787
|
+
* Optional fields that are not set will be set to undefined.
|
|
3788
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3789
|
+
* For the list of reserved names please see:
|
|
3790
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3791
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3792
|
+
* JSPB instance for transitional soy proto support:
|
|
3793
|
+
* http://goto/soy-param-migration
|
|
3794
|
+
* @return {!Object}
|
|
3795
|
+
*/
|
|
3796
|
+
proto.fintekkers.models.security.EquityDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
3797
|
+
return proto.fintekkers.models.security.EquityDetailsProto.toObject(opt_includeInstance, this);
|
|
3798
|
+
};
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
/**
|
|
3802
|
+
* Static version of the {@see toObject} method.
|
|
3803
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3804
|
+
* the JSPB instance for transitional soy proto support:
|
|
3805
|
+
* http://goto/soy-param-migration
|
|
3806
|
+
* @param {!proto.fintekkers.models.security.EquityDetailsProto} msg The msg instance to transform.
|
|
3807
|
+
* @return {!Object}
|
|
3808
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3809
|
+
*/
|
|
3810
|
+
proto.fintekkers.models.security.EquityDetailsProto.toObject = function(includeInstance, msg) {
|
|
3811
|
+
var f, obj = {
|
|
3812
|
+
|
|
3813
|
+
};
|
|
3814
|
+
|
|
3815
|
+
if (includeInstance) {
|
|
3816
|
+
obj.$jspbMessageInstance = msg;
|
|
3817
|
+
}
|
|
3818
|
+
return obj;
|
|
3819
|
+
};
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3825
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3826
|
+
* @return {!proto.fintekkers.models.security.EquityDetailsProto}
|
|
3827
|
+
*/
|
|
3828
|
+
proto.fintekkers.models.security.EquityDetailsProto.deserializeBinary = function(bytes) {
|
|
3829
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3830
|
+
var msg = new proto.fintekkers.models.security.EquityDetailsProto;
|
|
3831
|
+
return proto.fintekkers.models.security.EquityDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
3832
|
+
};
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3837
|
+
* given reader into the given message object.
|
|
3838
|
+
* @param {!proto.fintekkers.models.security.EquityDetailsProto} msg The message object to deserialize into.
|
|
3839
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3840
|
+
* @return {!proto.fintekkers.models.security.EquityDetailsProto}
|
|
3841
|
+
*/
|
|
3842
|
+
proto.fintekkers.models.security.EquityDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
3843
|
+
while (reader.nextField()) {
|
|
3844
|
+
if (reader.isEndGroup()) {
|
|
3845
|
+
break;
|
|
3846
|
+
}
|
|
3847
|
+
var field = reader.getFieldNumber();
|
|
3848
|
+
switch (field) {
|
|
3849
|
+
default:
|
|
3850
|
+
reader.skipField();
|
|
3851
|
+
break;
|
|
3852
|
+
}
|
|
3853
|
+
}
|
|
3854
|
+
return msg;
|
|
3855
|
+
};
|
|
3856
|
+
|
|
3857
|
+
|
|
3858
|
+
/**
|
|
3859
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3860
|
+
* @return {!Uint8Array}
|
|
3861
|
+
*/
|
|
3862
|
+
proto.fintekkers.models.security.EquityDetailsProto.prototype.serializeBinary = function() {
|
|
3863
|
+
var writer = new jspb.BinaryWriter();
|
|
3864
|
+
proto.fintekkers.models.security.EquityDetailsProto.serializeBinaryToWriter(this, writer);
|
|
3865
|
+
return writer.getResultBuffer();
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3871
|
+
* format), writing to the given BinaryWriter.
|
|
3872
|
+
* @param {!proto.fintekkers.models.security.EquityDetailsProto} message
|
|
3873
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3874
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3875
|
+
*/
|
|
3876
|
+
proto.fintekkers.models.security.EquityDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
3877
|
+
var f = undefined;
|
|
3878
|
+
};
|
|
3879
|
+
|
|
3880
|
+
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
|
|
3884
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3885
|
+
/**
|
|
3886
|
+
* Creates an object representation of this proto.
|
|
3887
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3888
|
+
* Optional fields that are not set will be set to undefined.
|
|
3889
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3890
|
+
* For the list of reserved names please see:
|
|
3891
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3892
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3893
|
+
* JSPB instance for transitional soy proto support:
|
|
3894
|
+
* http://goto/soy-param-migration
|
|
3895
|
+
* @return {!Object}
|
|
3896
|
+
*/
|
|
3897
|
+
proto.fintekkers.models.security.CashDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
3898
|
+
return proto.fintekkers.models.security.CashDetailsProto.toObject(opt_includeInstance, this);
|
|
3899
|
+
};
|
|
3900
|
+
|
|
3901
|
+
|
|
3902
|
+
/**
|
|
3903
|
+
* Static version of the {@see toObject} method.
|
|
3904
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3905
|
+
* the JSPB instance for transitional soy proto support:
|
|
3906
|
+
* http://goto/soy-param-migration
|
|
3907
|
+
* @param {!proto.fintekkers.models.security.CashDetailsProto} msg The msg instance to transform.
|
|
3908
|
+
* @return {!Object}
|
|
3909
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3910
|
+
*/
|
|
3911
|
+
proto.fintekkers.models.security.CashDetailsProto.toObject = function(includeInstance, msg) {
|
|
3912
|
+
var f, obj = {
|
|
3913
|
+
cashId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3914
|
+
};
|
|
3915
|
+
|
|
3916
|
+
if (includeInstance) {
|
|
3917
|
+
obj.$jspbMessageInstance = msg;
|
|
3918
|
+
}
|
|
3919
|
+
return obj;
|
|
3920
|
+
};
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
|
|
3924
|
+
/**
|
|
3925
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3926
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
3927
|
+
* @return {!proto.fintekkers.models.security.CashDetailsProto}
|
|
3928
|
+
*/
|
|
3929
|
+
proto.fintekkers.models.security.CashDetailsProto.deserializeBinary = function(bytes) {
|
|
3930
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3931
|
+
var msg = new proto.fintekkers.models.security.CashDetailsProto;
|
|
3932
|
+
return proto.fintekkers.models.security.CashDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
3933
|
+
};
|
|
3934
|
+
|
|
3935
|
+
|
|
3936
|
+
/**
|
|
3937
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3938
|
+
* given reader into the given message object.
|
|
3939
|
+
* @param {!proto.fintekkers.models.security.CashDetailsProto} msg The message object to deserialize into.
|
|
3940
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3941
|
+
* @return {!proto.fintekkers.models.security.CashDetailsProto}
|
|
3942
|
+
*/
|
|
3943
|
+
proto.fintekkers.models.security.CashDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
3944
|
+
while (reader.nextField()) {
|
|
3945
|
+
if (reader.isEndGroup()) {
|
|
3946
|
+
break;
|
|
3947
|
+
}
|
|
3948
|
+
var field = reader.getFieldNumber();
|
|
3949
|
+
switch (field) {
|
|
3950
|
+
case 1:
|
|
3951
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3952
|
+
msg.setCashId(value);
|
|
3953
|
+
break;
|
|
3954
|
+
default:
|
|
3955
|
+
reader.skipField();
|
|
3956
|
+
break;
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
return msg;
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
/**
|
|
3964
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3965
|
+
* @return {!Uint8Array}
|
|
3966
|
+
*/
|
|
3967
|
+
proto.fintekkers.models.security.CashDetailsProto.prototype.serializeBinary = function() {
|
|
3968
|
+
var writer = new jspb.BinaryWriter();
|
|
3969
|
+
proto.fintekkers.models.security.CashDetailsProto.serializeBinaryToWriter(this, writer);
|
|
3970
|
+
return writer.getResultBuffer();
|
|
3971
|
+
};
|
|
3972
|
+
|
|
3973
|
+
|
|
3974
|
+
/**
|
|
3975
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3976
|
+
* format), writing to the given BinaryWriter.
|
|
3977
|
+
* @param {!proto.fintekkers.models.security.CashDetailsProto} message
|
|
3978
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3979
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3980
|
+
*/
|
|
3981
|
+
proto.fintekkers.models.security.CashDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
3982
|
+
var f = undefined;
|
|
3983
|
+
f = message.getCashId();
|
|
3984
|
+
if (f.length > 0) {
|
|
3985
|
+
writer.writeString(
|
|
3986
|
+
1,
|
|
3987
|
+
f
|
|
3988
|
+
);
|
|
3989
|
+
}
|
|
3990
|
+
};
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
/**
|
|
3994
|
+
* optional string cash_id = 1;
|
|
3995
|
+
* @return {string}
|
|
3996
|
+
*/
|
|
3997
|
+
proto.fintekkers.models.security.CashDetailsProto.prototype.getCashId = function() {
|
|
3998
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3999
|
+
};
|
|
4000
|
+
|
|
4001
|
+
|
|
4002
|
+
/**
|
|
4003
|
+
* @param {string} value
|
|
4004
|
+
* @return {!proto.fintekkers.models.security.CashDetailsProto} returns this
|
|
4005
|
+
*/
|
|
4006
|
+
proto.fintekkers.models.security.CashDetailsProto.prototype.setCashId = function(value) {
|
|
4007
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4008
|
+
};
|
|
4009
|
+
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
|
|
4013
|
+
|
|
4014
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4015
|
+
/**
|
|
4016
|
+
* Creates an object representation of this proto.
|
|
4017
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4018
|
+
* Optional fields that are not set will be set to undefined.
|
|
4019
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4020
|
+
* For the list of reserved names please see:
|
|
4021
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4022
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4023
|
+
* JSPB instance for transitional soy proto support:
|
|
4024
|
+
* http://goto/soy-param-migration
|
|
4025
|
+
* @return {!Object}
|
|
4026
|
+
*/
|
|
4027
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.toObject = function(opt_includeInstance) {
|
|
4028
|
+
return proto.fintekkers.models.security.FxSpotDetailsProto.toObject(opt_includeInstance, this);
|
|
4029
|
+
};
|
|
4030
|
+
|
|
4031
|
+
|
|
4032
|
+
/**
|
|
4033
|
+
* Static version of the {@see toObject} method.
|
|
4034
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4035
|
+
* the JSPB instance for transitional soy proto support:
|
|
4036
|
+
* http://goto/soy-param-migration
|
|
4037
|
+
* @param {!proto.fintekkers.models.security.FxSpotDetailsProto} msg The msg instance to transform.
|
|
4038
|
+
* @return {!Object}
|
|
4039
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4040
|
+
*/
|
|
4041
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.toObject = function(includeInstance, msg) {
|
|
4042
|
+
var f, obj = {
|
|
4043
|
+
baseCurrency: (f = msg.getBaseCurrency()) && proto.fintekkers.models.security.SecurityProto.toObject(includeInstance, f),
|
|
4044
|
+
quoteCurrency: (f = msg.getQuoteCurrency()) && proto.fintekkers.models.security.SecurityProto.toObject(includeInstance, f),
|
|
4045
|
+
convention: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4046
|
+
};
|
|
4047
|
+
|
|
4048
|
+
if (includeInstance) {
|
|
4049
|
+
obj.$jspbMessageInstance = msg;
|
|
4050
|
+
}
|
|
4051
|
+
return obj;
|
|
4052
|
+
};
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4058
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
4059
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto}
|
|
4060
|
+
*/
|
|
4061
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.deserializeBinary = function(bytes) {
|
|
4062
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4063
|
+
var msg = new proto.fintekkers.models.security.FxSpotDetailsProto;
|
|
4064
|
+
return proto.fintekkers.models.security.FxSpotDetailsProto.deserializeBinaryFromReader(msg, reader);
|
|
4065
|
+
};
|
|
4066
|
+
|
|
4067
|
+
|
|
4068
|
+
/**
|
|
4069
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4070
|
+
* given reader into the given message object.
|
|
4071
|
+
* @param {!proto.fintekkers.models.security.FxSpotDetailsProto} msg The message object to deserialize into.
|
|
4072
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4073
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto}
|
|
4074
|
+
*/
|
|
4075
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
4076
|
+
while (reader.nextField()) {
|
|
4077
|
+
if (reader.isEndGroup()) {
|
|
4078
|
+
break;
|
|
4079
|
+
}
|
|
4080
|
+
var field = reader.getFieldNumber();
|
|
4081
|
+
switch (field) {
|
|
4082
|
+
case 1:
|
|
4083
|
+
var value = new proto.fintekkers.models.security.SecurityProto;
|
|
4084
|
+
reader.readMessage(value,proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader);
|
|
4085
|
+
msg.setBaseCurrency(value);
|
|
4086
|
+
break;
|
|
4087
|
+
case 2:
|
|
4088
|
+
var value = new proto.fintekkers.models.security.SecurityProto;
|
|
4089
|
+
reader.readMessage(value,proto.fintekkers.models.security.SecurityProto.deserializeBinaryFromReader);
|
|
4090
|
+
msg.setQuoteCurrency(value);
|
|
4091
|
+
break;
|
|
4092
|
+
case 3:
|
|
4093
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4094
|
+
msg.setConvention(value);
|
|
4095
|
+
break;
|
|
4096
|
+
default:
|
|
4097
|
+
reader.skipField();
|
|
4098
|
+
break;
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
return msg;
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4104
|
+
|
|
4105
|
+
/**
|
|
4106
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4107
|
+
* @return {!Uint8Array}
|
|
4108
|
+
*/
|
|
4109
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.serializeBinary = function() {
|
|
4110
|
+
var writer = new jspb.BinaryWriter();
|
|
4111
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.serializeBinaryToWriter(this, writer);
|
|
4112
|
+
return writer.getResultBuffer();
|
|
4113
|
+
};
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
/**
|
|
4117
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4118
|
+
* format), writing to the given BinaryWriter.
|
|
4119
|
+
* @param {!proto.fintekkers.models.security.FxSpotDetailsProto} message
|
|
4120
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4121
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4122
|
+
*/
|
|
4123
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.serializeBinaryToWriter = function(message, writer) {
|
|
4124
|
+
var f = undefined;
|
|
4125
|
+
f = message.getBaseCurrency();
|
|
4126
|
+
if (f != null) {
|
|
4127
|
+
writer.writeMessage(
|
|
4128
|
+
1,
|
|
4129
|
+
f,
|
|
4130
|
+
proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter
|
|
4131
|
+
);
|
|
4132
|
+
}
|
|
4133
|
+
f = message.getQuoteCurrency();
|
|
4134
|
+
if (f != null) {
|
|
4135
|
+
writer.writeMessage(
|
|
4136
|
+
2,
|
|
4137
|
+
f,
|
|
4138
|
+
proto.fintekkers.models.security.SecurityProto.serializeBinaryToWriter
|
|
4139
|
+
);
|
|
4140
|
+
}
|
|
4141
|
+
f = message.getConvention();
|
|
4142
|
+
if (f.length > 0) {
|
|
4143
|
+
writer.writeString(
|
|
4144
|
+
3,
|
|
4145
|
+
f
|
|
4146
|
+
);
|
|
4147
|
+
}
|
|
4148
|
+
};
|
|
4149
|
+
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* optional SecurityProto base_currency = 1;
|
|
4153
|
+
* @return {?proto.fintekkers.models.security.SecurityProto}
|
|
4154
|
+
*/
|
|
4155
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.getBaseCurrency = function() {
|
|
4156
|
+
return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
|
|
4157
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.SecurityProto, 1));
|
|
4158
|
+
};
|
|
4159
|
+
|
|
4160
|
+
|
|
4161
|
+
/**
|
|
4162
|
+
* @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
|
|
4163
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto} returns this
|
|
4164
|
+
*/
|
|
4165
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.setBaseCurrency = function(value) {
|
|
4166
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4167
|
+
};
|
|
4168
|
+
|
|
4169
|
+
|
|
4170
|
+
/**
|
|
4171
|
+
* Clears the message field making it undefined.
|
|
4172
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto} returns this
|
|
4173
|
+
*/
|
|
4174
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.clearBaseCurrency = function() {
|
|
4175
|
+
return this.setBaseCurrency(undefined);
|
|
4176
|
+
};
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
* Returns whether this field is set.
|
|
4181
|
+
* @return {boolean}
|
|
4182
|
+
*/
|
|
4183
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.hasBaseCurrency = function() {
|
|
4184
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4185
|
+
};
|
|
4186
|
+
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* optional SecurityProto quote_currency = 2;
|
|
4190
|
+
* @return {?proto.fintekkers.models.security.SecurityProto}
|
|
4191
|
+
*/
|
|
4192
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.getQuoteCurrency = function() {
|
|
4193
|
+
return /** @type{?proto.fintekkers.models.security.SecurityProto} */ (
|
|
4194
|
+
jspb.Message.getWrapperField(this, proto.fintekkers.models.security.SecurityProto, 2));
|
|
4195
|
+
};
|
|
4196
|
+
|
|
4197
|
+
|
|
4198
|
+
/**
|
|
4199
|
+
* @param {?proto.fintekkers.models.security.SecurityProto|undefined} value
|
|
4200
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto} returns this
|
|
4201
|
+
*/
|
|
4202
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.setQuoteCurrency = function(value) {
|
|
4203
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4204
|
+
};
|
|
4205
|
+
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Clears the message field making it undefined.
|
|
4209
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto} returns this
|
|
4210
|
+
*/
|
|
4211
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.clearQuoteCurrency = function() {
|
|
4212
|
+
return this.setQuoteCurrency(undefined);
|
|
4213
|
+
};
|
|
4214
|
+
|
|
4215
|
+
|
|
4216
|
+
/**
|
|
4217
|
+
* Returns whether this field is set.
|
|
4218
|
+
* @return {boolean}
|
|
4219
|
+
*/
|
|
4220
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.hasQuoteCurrency = function() {
|
|
4221
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4222
|
+
};
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
/**
|
|
4226
|
+
* optional string convention = 3;
|
|
4227
|
+
* @return {string}
|
|
4228
|
+
*/
|
|
4229
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.getConvention = function() {
|
|
4230
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4231
|
+
};
|
|
4232
|
+
|
|
4233
|
+
|
|
4234
|
+
/**
|
|
4235
|
+
* @param {string} value
|
|
4236
|
+
* @return {!proto.fintekkers.models.security.FxSpotDetailsProto} returns this
|
|
4237
|
+
*/
|
|
4238
|
+
proto.fintekkers.models.security.FxSpotDetailsProto.prototype.setConvention = function(value) {
|
|
4239
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4240
|
+
};
|
|
4241
|
+
|
|
4242
|
+
|
|
1117
4243
|
goog.object.extend(exports, proto.fintekkers.models.security);
|