From ffe24753ab2aa1943de273389b90c4756a5b75dc Mon Sep 17 00:00:00 2001
From: premek <1145361+premek@users.noreply.github.com>
Date: Sun, 21 Nov 2021 16:33:56 +0100
Subject: [PATCH] do not commit generated protobuf code and .proto files
generate the code on npm install and npm test from .proto files from haveno repository
---
.gitignore | 3 +
README.md | 29 +-
bin/build_protobuf.sh | 13 +-
config/grpc.proto | 615 -
config/pb.proto | 1919 -
package.json | 4 +-
src/protobuf/GrpcServiceClientPb.ts | 1862 -
src/protobuf/grpc_pb.d.ts | 1971 -
src/protobuf/grpc_pb.js | 16530 -------
src/protobuf/pb_pb.d.ts | 7798 ----
src/protobuf/pb_pb.js | 62486 --------------------------
11 files changed, 22 insertions(+), 93208 deletions(-)
delete mode 100644 config/grpc.proto
delete mode 100644 config/pb.proto
delete mode 100644 src/protobuf/GrpcServiceClientPb.ts
delete mode 100644 src/protobuf/grpc_pb.d.ts
delete mode 100644 src/protobuf/grpc_pb.js
delete mode 100644 src/protobuf/pb_pb.d.ts
delete mode 100644 src/protobuf/pb_pb.js
diff --git a/.gitignore b/.gitignore
index 4d29575d..2635847f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
+
+# generated code
+/src/protobuf/**
\ No newline at end of file
diff --git a/README.md b/README.md
index da3614da..3a67ff3e 100644
--- a/README.md
+++ b/README.md
@@ -9,10 +9,13 @@ This application is a lightly modified [create-react-app](https://github.com/fac
1. [Run a local Haveno test network](https://github.com/haveno-dex/haveno/blob/master/docs/installing.md), running Alice as a daemon with `make alice-daemon`.
2. `git clone https://github.com/haveno-dex/haveno-ui-poc`
3. In a new terminal, start envoy with the config in haveno-ui-poc/config/envoy.yaml (change absolute path for your system): `docker run --rm --add-host host.docker.internal:host-gateway -it -v ~/git/haveno-ui-poc/config/envoy.yaml:/envoy.yaml -p 8080:8080 envoyproxy/envoy-dev:8a2143613d43d17d1eb35a24b4a4a4c432215606 -c /envoy.yaml`
-4. `cd haveno-ui-poc`
-5. `npm install`
-6. `npm start` to open http://localhost:3000 in a browser
-7. Confirm that the Haveno daemon version is displayed (1.6.2)
+4. Install protobuf for your system:
+ mac: `brew install protobuf`
+ linux: `apt install protobuf-compiler`
+5. `cd haveno-ui-poc`
+6. `npm install`
+7. `npm start` to open http://localhost:3000 in a browser
+8. Confirm that the Haveno daemon version is displayed (1.6.2)

@@ -28,15 +31,9 @@ Running the [top-level API tests](./src/HavenoDaemon.test.tsx) is a great way to
2. `git clone https://github.com/haveno-dex/haveno-ui-poc`
3. In a new terminal, start envoy with the config in haveno-ui-poc/config/envoy.test.yaml (change absolute path for your system): `docker run --rm --add-host host.docker.internal:host-gateway -it -v ~/git/haveno-ui-poc/config/envoy.test.yaml:/envoy.test.yaml -p 8080:8080 -p 8081:8081 envoyproxy/envoy-dev:8a2143613d43d17d1eb35a24b4a4a4c432215606 -c /envoy.test.yaml`
4. In a new terminal, start an instance of monero-wallet-rpc at port 38084. This wallet will be automatically funded in order to fund Alice and Bob during the tests.
For example: `cd ~/git/haveno/.localnet/ && ./monero-wallet-rpc --daemon-address http://localhost:38081 --daemon-login superuser:abctesting123 --stagenet --rpc-bind-port 38084 --rpc-login rpc_user:abc123 --wallet-dir ./ --rpc-access-control-origins http://localhost:8080`
-5. `cd haveno-ui-poc`
-6. `npm install`
-7. `npm test` to run all tests or `npm run test -- -t 'my test'` to run tests by name.
-
-
-## How to Update the Protobuf Client
-
-If the protobuf definitions in haveno-dex/haveno are updated, the typescript imports must be regenerated:
-
-1. Copy grpc.proto and pb.proto from Haveno's [protobuf definitions](https://github.com/haveno-dex/haveno/tree/master/proto/src/main/proto) to ./config.
-2. Install protobuf for your system, e.g. on mac: `brew install protobuf`
-3. `./bin/build_protobuf.sh`
+5. Install protobuf for your system:
+ mac: `brew install protobuf`
+ linux: `apt install protobuf-compiler`
+6. `cd haveno-ui-poc`
+7. `npm install`
+8. `npm test` to run all tests or `npm run test -- -t 'my test'` to run tests by name.
diff --git a/bin/build_protobuf.sh b/bin/build_protobuf.sh
index ae2b41fa..c89c7e6c 100755
--- a/bin/build_protobuf.sh
+++ b/bin/build_protobuf.sh
@@ -1,13 +1,6 @@
#!/bin/sh
# generate imports for haveno services and types using grpc-web
-cd ./config || exit 1
-protoc -I=./ *.proto --js_out=import_style=commonjs,binary:./ --grpc-web_out=import_style=typescript,mode=grpcwebtext:./ || exit 1
-cd ../
-
-# move imports to src folder
-mv ./config/grpc_pb.d.ts ./src/protobuf || exit 1
-mv ./config/grpc_pb.js ./src/protobuf || exit 1
-mv ./config/pb_pb.d.ts ./src/protobuf || exit 1
-mv ./config/pb_pb.js ./src/protobuf || exit 1
-mv ./config/GrpcServiceClientPb.ts ./src/protobuf || exit 1
\ No newline at end of file
+mkdir -p ./src/protobuf
+cd ./src/protobuf || exit 1
+protoc -I=../../../haveno/proto/src/main/proto/ ../../../haveno/proto/src/main/proto/*.proto --js_out=import_style=commonjs,binary:./ --grpc-web_out=import_style=typescript,mode=grpcwebtext:./ || exit 1
\ No newline at end of file
diff --git a/config/grpc.proto b/config/grpc.proto
deleted file mode 100644
index ea7c8b8a..00000000
--- a/config/grpc.proto
+++ /dev/null
@@ -1,615 +0,0 @@
-/*
- * This file is part of Bisq.
- *
- * Bisq is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or (at
- * your option) any later version.
- *
- * Bisq is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with Bisq. If not, see .
- */
-
-syntax = "proto3";
-package io.bisq.protobuffer;
-
-import "pb.proto";
-
-option java_package = "bisq.proto.grpc";
-option java_multiple_files = true;
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// DisputeAgents
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service DisputeAgents {
- rpc RegisterDisputeAgent (RegisterDisputeAgentRequest) returns (RegisterDisputeAgentReply) {
- }
-}
-
-message RegisterDisputeAgentRequest {
- string dispute_agent_type = 1;
- string registration_key = 2;
-}
-
-message RegisterDisputeAgentReply {
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Help
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service Help {
- rpc GetMethodHelp (GetMethodHelpRequest) returns (GetMethodHelpReply) {
- }
-}
-
-message GetMethodHelpRequest {
- string method_name = 1;
-}
-
-message GetMethodHelpReply {
- string method_help = 1;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Offers
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service Offers {
- rpc GetOffer (GetOfferRequest) returns (GetOfferReply) {
- }
- rpc GetMyOffer (GetMyOfferRequest) returns (GetMyOfferReply) {
- }
- rpc GetOffers (GetOffersRequest) returns (GetOffersReply) {
- }
- rpc GetMyOffers (GetMyOffersRequest) returns (GetMyOffersReply) {
- }
- rpc CreateOffer (CreateOfferRequest) returns (CreateOfferReply) {
- }
- rpc CancelOffer (CancelOfferRequest) returns (CancelOfferReply) {
- }
-}
-
-message GetOfferRequest {
- string id = 1;
-}
-
-message GetOfferReply {
- OfferInfo offer = 1;
-}
-
-message GetMyOfferRequest {
- string id = 1;
-}
-
-message GetMyOfferReply {
- OfferInfo offer = 1;
-}
-
-message GetOffersRequest {
- string direction = 1;
- string currency_code = 2;
-}
-
-message GetOffersReply {
- repeated OfferInfo offers = 1;
-}
-
-message GetMyOffersRequest {
- string direction = 1;
- string currency_code = 2;
-}
-
-message GetMyOffersReply {
- repeated OfferInfo offers = 1;
-}
-
-message CreateOfferRequest {
- string currency_code = 1;
- string direction = 2;
- string price = 3;
- bool use_market_based_price = 4;
- double market_price_margin = 5;
- uint64 amount = 6 [jstype = JS_STRING];
- uint64 min_amount = 7 [jstype = JS_STRING];
- double buyer_security_deposit = 8;
- uint64 trigger_price = 9 [jstype = JS_STRING];
- string payment_account_id = 10;
-}
-
-message CreateOfferReply {
- OfferInfo offer = 1;
-}
-
-message CancelOfferRequest {
- string id = 1;
-}
-
-message CancelOfferReply {
-}
-
-message OfferInfo {
- string id = 1;
- string direction = 2;
- uint64 price = 3;
- bool use_market_based_price = 4;
- double market_price_margin = 5;
- uint64 amount = 6;
- uint64 min_amount = 7;
- uint64 volume = 8;
- uint64 min_volume = 9;
- uint64 buyer_security_deposit = 10;
- uint64 trigger_price = 11;
- string payment_account_id = 12;
- string payment_method_id = 13;
- string payment_method_short_name = 14;
- string base_currency_code = 15;
- string counter_currency_code = 16;
- uint64 date = 17;
- string state = 18;
- uint64 seller_security_deposit = 19;
- string offer_fee_payment_tx_id = 20;
- uint64 tx_fee = 21;
- uint64 maker_fee = 22;
-}
-
-message AvailabilityResultWithDescription {
- AvailabilityResult availability_result = 1;
- string description = 2;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// PaymentAccounts
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service PaymentAccounts {
- rpc CreatePaymentAccount (CreatePaymentAccountRequest) returns (CreatePaymentAccountReply) {
- }
- rpc GetPaymentAccounts (GetPaymentAccountsRequest) returns (GetPaymentAccountsReply) {
- }
- rpc GetPaymentMethods (GetPaymentMethodsRequest) returns (GetPaymentMethodsReply) {
- }
- rpc GetPaymentAccountForm (GetPaymentAccountFormRequest) returns (GetPaymentAccountFormReply) {
- }
- rpc CreateCryptoCurrencyPaymentAccount (CreateCryptoCurrencyPaymentAccountRequest) returns (CreateCryptoCurrencyPaymentAccountReply) {
- }
- rpc GetCryptoCurrencyPaymentMethods (GetCryptoCurrencyPaymentMethodsRequest) returns (GetCryptoCurrencyPaymentMethodsReply) {
- }
-}
-
-message CreatePaymentAccountRequest {
- string payment_account_form = 1;
-}
-
-message CreatePaymentAccountReply {
- PaymentAccount payment_account = 1;
-}
-
-message GetPaymentAccountsRequest {
-}
-
-message GetPaymentAccountsReply {
- repeated PaymentAccount payment_accounts = 1;
-}
-
-message GetPaymentMethodsRequest {
-}
-
-message GetPaymentMethodsReply {
- repeated PaymentMethod payment_methods = 1;
-}
-
-message GetPaymentAccountFormRequest {
- string payment_method_id = 1;
-}
-
-message GetPaymentAccountFormReply {
- string payment_account_form_json = 1;
-}
-
-message CreateCryptoCurrencyPaymentAccountRequest {
- string account_name = 1;
- string currency_code = 2;
- string address = 3;
- bool trade_instant = 4;
-}
-
-message CreateCryptoCurrencyPaymentAccountReply {
- PaymentAccount payment_account = 1;
-}
-
-message GetCryptoCurrencyPaymentMethodsRequest {
-}
-
-message GetCryptoCurrencyPaymentMethodsReply {
- repeated PaymentMethod payment_methods = 1;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Price
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service Price {
- rpc GetMarketPrice (MarketPriceRequest) returns (MarketPriceReply) {
- }
- rpc GetMarketPrices (MarketPricesRequest) returns (MarketPricesReply) {
- }
-}
-
-message MarketPriceRequest {
- string currency_code = 1;
-}
-
-message MarketPriceReply {
- double price = 1;
-}
-
-message MarketPricesRequest {
-}
-
-message MarketPricesReply {
- repeated MarketPriceInfo market_price = 1;
-}
-
-message MarketPriceInfo {
- string currency_code = 1;
- double price = 2;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// GetTradeStatistics
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service GetTradeStatistics {
- rpc GetTradeStatistics (GetTradeStatisticsRequest) returns (GetTradeStatisticsReply) {
- }
-}
-
-message GetTradeStatisticsRequest {
-}
-
-message GetTradeStatisticsReply {
- repeated TradeStatistics3 trade_statistics = 1;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Shutdown
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service ShutdownServer {
- rpc Stop (StopRequest) returns (StopReply) {
- }
-}
-
-message StopRequest {
-}
-
-message StopReply {
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Trades
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service Trades {
- rpc GetTrade (GetTradeRequest) returns (GetTradeReply) {
- }
- rpc TakeOffer (TakeOfferRequest) returns (TakeOfferReply) {
- }
- rpc ConfirmPaymentStarted (ConfirmPaymentStartedRequest) returns (ConfirmPaymentStartedReply) {
- }
- rpc ConfirmPaymentReceived (ConfirmPaymentReceivedRequest) returns (ConfirmPaymentReceivedReply) {
- }
- rpc KeepFunds (KeepFundsRequest) returns (KeepFundsReply) {
- }
- rpc WithdrawFunds (WithdrawFundsRequest) returns (WithdrawFundsReply) {
- }
-}
-
-message TakeOfferRequest {
- string offer_id = 1;
- string payment_account_id = 2;
-}
-
-message TakeOfferReply {
- TradeInfo trade = 1;
- AvailabilityResultWithDescription failure_reason = 2;
-}
-
-message ConfirmPaymentStartedRequest {
- string trade_id = 1;
-}
-
-message ConfirmPaymentStartedReply {
-}
-
-message ConfirmPaymentReceivedRequest {
- string trade_id = 1;
-}
-
-message ConfirmPaymentReceivedReply {
-}
-
-message GetTradeRequest {
- string trade_id = 1;
-}
-
-message GetTradeReply {
- TradeInfo trade = 1;
-}
-
-message KeepFundsRequest {
- string trade_id = 1;
-}
-
-message KeepFundsReply {
-}
-
-message WithdrawFundsRequest {
- string trade_id = 1;
- string address = 2;
- string memo = 3;
-}
-
-message WithdrawFundsReply {
-}
-
-message TradeInfo {
- OfferInfo offer = 1;
- string trade_id = 2;
- string short_id = 3;
- uint64 date = 4;
- string role = 5;
- uint64 tx_fee_as_long = 7;
- uint64 taker_fee_as_long = 8;
- string taker_fee_tx_id = 9;
- reserved 10; // was depositTxId
- string payout_tx_id = 11;
- uint64 trade_amount_as_long = 12;
- uint64 trade_price = 13;
- string trading_peer_node_address = 14;
- string state = 15;
- string phase = 16;
- string trade_period_state = 17;
- bool is_deposit_published = 18;
- bool is_deposit_confirmed = 19;
- bool is_fiat_sent = 20;
- bool is_fiat_received = 21;
- bool is_payout_published = 22;
- bool is_withdrawn = 23;
- string contract_as_json = 24;
- ContractInfo contract = 25;
-
- string maker_deposit_tx_id = 100;
- string taker_deposit_tx_id = 101;
-}
-
-message ContractInfo {
- string buyer_node_address = 1;
- string seller_node_address = 2;
- reserved 3; // was mediator_node_address
- reserved 4; // was refund_agent_node_address
- bool is_buyer_maker_and_seller_taker = 5;
- string maker_account_id = 6;
- string taker_account_id = 7;
- PaymentAccountPayloadInfo maker_payment_account_payload = 8;
- PaymentAccountPayloadInfo taker_payment_account_payload = 9;
- string maker_payout_address_string = 10;
- string taker_payout_address_string = 11;
- uint64 lock_time = 12;
-
- string arbitrator_node_address = 100;
-}
-
-message PaymentAccountPayloadInfo {
- string id = 1;
- string payment_method_id = 2;
- string address = 3;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Transactions
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message TxFeeRateInfo {
- bool use_custom_tx_fee_rate = 1;
- uint64 custom_tx_fee_rate = 2;
- uint64 fee_service_rate = 3;
- uint64 last_fee_service_request_ts = 4;
- uint64 min_fee_service_rate = 5;
-}
-
-message TxInfo {
- string tx_id = 1;
- uint64 input_sum = 2;
- uint64 output_sum = 3;
- uint64 fee = 4;
- int32 size = 5;
- bool is_pending = 6;
- string memo = 7;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Wallets
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service Wallets {
- rpc GetBalances (GetBalancesRequest) returns (GetBalancesReply) {
- }
- rpc GetNewDepositSubaddress (GetNewDepositSubaddressRequest) returns (GetNewDepositSubaddressReply) {
- }
- rpc GetAddressBalance (GetAddressBalanceRequest) returns (GetAddressBalanceReply) {
- }
- rpc SendBtc (SendBtcRequest) returns (SendBtcReply) {
- }
- rpc GetTxFeeRate (GetTxFeeRateRequest) returns (GetTxFeeRateReply) {
- }
- rpc SetTxFeeRatePreference (SetTxFeeRatePreferenceRequest) returns (SetTxFeeRatePreferenceReply) {
- }
- rpc UnsetTxFeeRatePreference (UnsetTxFeeRatePreferenceRequest) returns (UnsetTxFeeRatePreferenceReply) {
- }
- rpc GetTransaction (GetTransactionRequest) returns (GetTransactionReply) {
- }
- rpc GetFundingAddresses (GetFundingAddressesRequest) returns (GetFundingAddressesReply) {
- }
- rpc SetWalletPassword (SetWalletPasswordRequest) returns (SetWalletPasswordReply) {
- }
- rpc RemoveWalletPassword (RemoveWalletPasswordRequest) returns (RemoveWalletPasswordReply) {
- }
- rpc LockWallet (LockWalletRequest) returns (LockWalletReply) {
- }
- rpc UnlockWallet (UnlockWalletRequest) returns (UnlockWalletReply) {
- }
-}
-
-message GetBalancesRequest {
- string currency_code = 1;
-}
-
-message GetBalancesReply {
- BalancesInfo balances = 1;
-}
-
-message GetNewDepositSubaddressRequest {
-}
-
-message GetNewDepositSubaddressReply {
- string subaddress = 1;
-}
-
-message GetAddressBalanceRequest {
- string address = 1;
-}
-
-message GetAddressBalanceReply {
- AddressBalanceInfo address_balance_info = 1;
-}
-
-message SendBtcRequest {
- string address = 1;
- string amount = 2;
- string tx_fee_rate = 3;
- string memo = 4;
-}
-
-message SendBtcReply {
- TxInfo tx_info = 1;
-}
-
-message GetTxFeeRateRequest {
-}
-
-message GetTxFeeRateReply {
- TxFeeRateInfo tx_fee_rate_info = 1;
-}
-
-message SetTxFeeRatePreferenceRequest {
- uint64 tx_fee_rate_preference = 1;
-}
-
-message SetTxFeeRatePreferenceReply {
- TxFeeRateInfo tx_fee_rate_info = 1;
-}
-
-message UnsetTxFeeRatePreferenceRequest {
-}
-
-message UnsetTxFeeRatePreferenceReply {
- TxFeeRateInfo tx_fee_rate_info = 1;
-}
-
-message GetTransactionRequest {
- string tx_id = 1;
-}
-
-message GetTransactionReply {
- TxInfo tx_info = 1;
-}
-
-message GetFundingAddressesRequest {
-}
-
-message GetFundingAddressesReply {
- repeated AddressBalanceInfo address_balance_info = 1;
-}
-
-message SetWalletPasswordRequest {
- string password = 1;
- string new_password = 2;
-}
-
-message SetWalletPasswordReply {
-}
-
-message RemoveWalletPasswordRequest {
- string password = 1;
-}
-
-message RemoveWalletPasswordReply {
-}
-
-message LockWalletRequest {
-}
-
-message LockWalletReply {
-}
-
-message UnlockWalletRequest {
- string password = 1;
- uint64 timeout = 2;
-}
-
-message UnlockWalletReply {
-}
-
-message BalancesInfo {
- // Field names are shortened for readability's sake, i.e.,
- // balancesInfo.getBtc().getAvailableBalance() is cleaner than
- // balancesInfo.getBtcBalanceInfo().getAvailableBalance().
- BtcBalanceInfo btc = 1;
- XmrBalanceInfo xmr = 2;
-}
-
-message BtcBalanceInfo {
- uint64 available_balance = 1;
- uint64 reserved_balance = 2;
- uint64 total_available_balance = 3;
- uint64 locked_balance = 4;
-}
-
-message XmrBalanceInfo {
- uint64 balance = 1 [jstype = JS_STRING];
- uint64 unlocked_balance = 2 [jstype = JS_STRING];
- uint64 locked_balance = 3 [jstype = JS_STRING];
- uint64 reserved_offer_balance = 4 [jstype = JS_STRING];
- uint64 reserved_trade_balance = 5 [jstype = JS_STRING];
-}
-
-message AddressBalanceInfo {
- string address = 1;
- int64 balance = 2;
- int64 num_confirmations = 3;
- bool is_address_unused = 4;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Version
-///////////////////////////////////////////////////////////////////////////////////////////
-
-service GetVersion {
- rpc GetVersion (GetVersionRequest) returns (GetVersionReply) {
- }
-}
-
-message GetVersionRequest {
-}
-
-message GetVersionReply {
- string version = 1;
-}
diff --git a/config/pb.proto b/config/pb.proto
deleted file mode 100644
index 563e3e0b..00000000
--- a/config/pb.proto
+++ /dev/null
@@ -1,1919 +0,0 @@
-syntax = "proto3";
-package io.bisq.protobuffer;
-
-//
-// Protobuffer v3 definitions of network messages and persisted objects.
-//
-
-
-option java_package = "protobuf";
-option java_multiple_files = true;
-///////////////////////////////////////////////////////////////////////////////////////////
-// Network messages
-///////////////////////////////////////////////////////////////////////////////////////////
-
-// Those are messages sent over wire
-message NetworkEnvelope {
- int32 message_version = 1;
- oneof message {
- PreliminaryGetDataRequest preliminary_get_data_request = 2;
- GetDataResponse get_data_response = 3;
- GetUpdatedDataRequest get_updated_data_request = 4;
-
- GetPeersRequest get_peers_request = 5;
- GetPeersResponse get_peers_response = 6;
- Ping ping = 7;
- Pong pong = 8;
-
- OfferAvailabilityRequest offer_availability_request = 9;
- OfferAvailabilityResponse offer_availability_response = 10;
- RefreshOfferMessage refresh_offer_message = 11;
-
- AddDataMessage add_data_message = 12;
- RemoveDataMessage remove_data_message = 13;
- RemoveMailboxDataMessage remove_mailbox_data_message = 14;
-
- CloseConnectionMessage close_connection_message = 15;
- PrefixedSealedAndSignedMessage prefixed_sealed_and_signed_message = 16;
-
- InputsForDepositTxRequest inputs_for_deposit_tx_request = 17;
- InputsForDepositTxResponse inputs_for_deposit_tx_response = 18;
- DepositTxMessage deposit_tx_message = 19;
- CounterCurrencyTransferStartedMessage counter_currency_transfer_started_message = 20;
- PayoutTxPublishedMessage payout_tx_published_message = 21;
-
- OpenNewDisputeMessage open_new_dispute_message = 22;
- PeerOpenedDisputeMessage peer_opened_dispute_message = 23;
- ChatMessage chat_message = 24;
- DisputeResultMessage dispute_result_message = 25;
- PeerPublishedDisputePayoutTxMessage peer_published_dispute_payout_tx_message = 26;
-
- PrivateNotificationMessage private_notification_message = 27;
-
- AddPersistableNetworkPayloadMessage add_persistable_network_payload_message = 28;
- AckMessage ack_message = 29;
-
- BundleOfEnvelopes bundle_of_envelopes = 30;
- MediatedPayoutTxSignatureMessage mediated_payout_tx_signature_message = 31;
- MediatedPayoutTxPublishedMessage mediated_payout_tx_published_message = 32;
-
- DelayedPayoutTxSignatureRequest delayed_payout_tx_signature_request = 33;
- DelayedPayoutTxSignatureResponse delayed_payout_tx_signature_response = 34;
- DepositTxAndDelayedPayoutTxMessage deposit_tx_and_delayed_payout_tx_message = 35;
- PeerPublishedDelayedPayoutTxMessage peer_published_delayed_payout_tx_message = 36;
-
- RefreshTradeStateRequest refresh_trade_state_request = 37 [deprecated = true];
- TraderSignedWitnessMessage trader_signed_witness_message = 38 [deprecated = true];
-
- GetInventoryRequest get_inventory_request = 39;
- GetInventoryResponse get_inventory_response = 40;
-
- SignOfferRequest sign_offer_request = 1001;
- SignOfferResponse sign_offer_response = 1002;
- InitTradeRequest init_trade_request = 1003;
- InitMultisigRequest init_multisig_request = 1004;
- SignContractRequest sign_contract_request = 1005;
- SignContractResponse sign_contract_response = 1006;
- DepositRequest deposit_request = 1007;
- DepositResponse deposit_response = 1008;
- PaymentAccountPayloadRequest payment_account_payload_request = 1009;
- UpdateMultisigRequest update_multisig_request = 1010;
- UpdateMultisigResponse update_multisig_response = 1011;
- ArbitratorPayoutTxRequest arbitrator_payout_tx_request = 1012;
- ArbitratorPayoutTxResponse arbitrator_payout_tx_response = 1013;
- }
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Implementations of NetworkEnvelope
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message BundleOfEnvelopes {
- repeated NetworkEnvelope envelopes = 1;
-}
-
-// get data
-
-message PreliminaryGetDataRequest {
- int32 nonce = 21; // This was set to 21 instead of 1 in some old commit so we cannot change it.
- repeated bytes excluded_keys = 2;
- repeated int32 supported_capabilities = 3;
- string version = 4;
-}
-
-message GetDataResponse {
- int32 request_nonce = 1;
- bool is_get_updated_data_response = 2;
- repeated StorageEntryWrapper data_set = 3;
- repeated int32 supported_capabilities = 4;
- repeated PersistableNetworkPayload persistable_network_payload_items = 5;
-}
-
-message GetUpdatedDataRequest {
- NodeAddress sender_node_address = 1;
- int32 nonce = 2;
- repeated bytes excluded_keys = 3;
- string version = 4;
-}
-
-// peers
-
-message GetPeersRequest {
- NodeAddress sender_node_address = 1;
- int32 nonce = 2;
- repeated int32 supported_capabilities = 3;
- repeated Peer reported_peers = 4;
-}
-
-message GetPeersResponse {
- int32 request_nonce = 1;
- repeated Peer reported_peers = 2;
- repeated int32 supported_capabilities = 3;
-}
-
-message Ping {
- int32 nonce = 1;
- int32 last_round_trip_time = 2;
-}
-
-message Pong {
- int32 request_nonce = 1;
-}
-
-// Inventory
-
-message GetInventoryRequest {
- string version = 1;
-}
-
-message GetInventoryResponse {
- map inventory = 1;
-}
-
-// offer
-
-message SignOfferRequest {
- string offer_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string sender_account_id = 4;
- OfferPayload offer_payload = 5;
- string uid = 6;
- int64 current_date = 7;
- string reserve_tx_hash = 8;
- string reserve_tx_hex = 9;
- string reserve_tx_key = 10;
- repeated string reserve_tx_key_images = 11;
- string payout_address = 12;
-}
-
-message SignOfferResponse {
- string offer_id = 1;
- string uid = 2;
- OfferPayload signed_offer_payload = 3;
-}
-
-message OfferAvailabilityRequest {
- string offer_id = 1;
- PubKeyRing pub_key_ring = 2;
- int64 takers_trade_price = 3;
- repeated int32 supported_capabilities = 4;
- string uid = 5;
- bool is_taker_api_user = 6;
- InitTradeRequest trade_request = 7;
-}
-
-message OfferAvailabilityResponse {
- string offer_id = 1;
- AvailabilityResult availability_result = 2;
- repeated int32 supported_capabilities = 3;
- string uid = 4;
- string maker_signature = 5;
- NodeAddress backup_arbitrator = 6;
-}
-
-message RefreshOfferMessage {
- bytes hash_of_data_and_seq_nr = 1;
- bytes signature = 2;
- bytes hash_of_payload = 3;
- int32 sequence_number = 4;
-}
-
-// storage
-
-message AddDataMessage {
- StorageEntryWrapper entry = 1;
-}
-
-message RemoveDataMessage {
- ProtectedStorageEntry protected_storage_entry = 1;
-}
-
-message RemoveMailboxDataMessage {
- ProtectedMailboxStorageEntry protected_storage_entry = 1;
-}
-
-message AddPersistableNetworkPayloadMessage {
- PersistableNetworkPayload payload = 1;
-}
-
-// misc
-
-message CloseConnectionMessage {
- string reason = 1;
-}
-
-message AckMessage {
- string uid = 1;
- NodeAddress sender_node_address = 2;
- string source_type = 3; // enum name. e.g. TradeMessage, DisputeMessage,...
- string source_msg_class_name = 4;
- string source_uid = 5; // uid of source (TradeMessage)
- string source_id = 6; // id of source (tradeId, disputeId)
- bool success = 7; // true if source message was processed successfully
- string error_message = 8; // optional error message if source message processing failed
-}
-
-message PrefixedSealedAndSignedMessage {
- NodeAddress node_address = 1;
- SealedAndSigned sealed_and_signed = 2;
- bytes address_prefix_hash = 3;
- string uid = 4;
-}
-
-// trade
-
-message InputsForDepositTxRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- int64 trade_amount = 3;
- int64 trade_price = 4;
- int64 tx_fee = 5;
- int64 taker_fee = 6;
- repeated RawTransactionInput raw_transaction_inputs = 7;
- int64 change_output_value = 8;
- string change_output_address = 9;
- bytes taker_multi_sig_pub_key = 10;
- string taker_payout_address_string = 11;
- PubKeyRing taker_pub_key_ring = 12;
- PaymentAccountPayload taker_payment_account_payload = 13;
- string taker_account_id = 14;
- string taker_fee_tx_id = 15;
- repeated NodeAddress accepted_arbitrator_node_addresses = 16;
- repeated NodeAddress accepted_mediator_node_addresses = 17;
- NodeAddress arbitrator_node_address = 18;
- NodeAddress mediator_node_address = 29;
- string uid = 20;
- bytes account_age_witness_signature_of_offer_id = 21;
- int64 current_date = 22;
- repeated NodeAddress accepted_refund_agent_node_addresses = 23;
- NodeAddress refund_agent_node_address = 24;
-}
-
-message InputsForDepositTxResponse {
- string trade_id = 1;
- PaymentAccountPayload maker_payment_account_payload = 2;
- string maker_account_id = 3;
- string maker_contract_as_json = 4;
- string maker_contract_signature = 5;
- string maker_payout_address_string = 6;
- bytes prepared_deposit_tx = 7;
- repeated RawTransactionInput maker_inputs = 8;
- bytes maker_multi_sig_pub_key = 9;
- NodeAddress sender_node_address = 10;
- string uid = 11;
- bytes account_age_witness_signature_of_prepared_deposit_tx = 12;
- int64 current_date = 13;
- int64 lock_time = 14;
-}
-
-message InitTradeRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- int64 trade_amount = 4;
- int64 trade_price = 5;
- int64 trade_fee = 6;
- string account_id = 7;
- string payment_account_id = 8;
- string payment_method_id = 9;
- string uid = 10;
- bytes account_age_witness_signature_of_offer_id = 11;
- int64 current_date = 12;
- NodeAddress maker_node_address = 13;
- NodeAddress taker_node_address = 14;
- NodeAddress arbitrator_node_address = 15;
- string reserve_tx_hash = 16;
- string reserve_tx_hex = 17;
- string reserve_tx_key = 18;
- string payout_address = 19;
- string maker_signature = 20;
-}
-
-message InitMultisigRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- string prepared_multisig_hex = 6;
- string made_multisig_hex = 7;
-}
-
-message SignContractRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- string account_id = 6;
- bytes payment_account_payload_hash = 7;
- string payout_address = 8;;
- string deposit_tx_hash = 9;
-}
-
-message SignContractResponse {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- string contract_signature = 6;
-}
-
-message DepositRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- string contract_signature = 6;
- string deposit_tx_hex = 7;
- string deposit_tx_key = 8;
-}
-
-message DepositResponse {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
-}
-
-message PaymentAccountPayloadRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- PaymentAccountPayload payment_account_payload = 6;
-}
-
-message UpdateMultisigRequest {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- string updated_multisig_hex = 6;
-}
-
-message UpdateMultisigResponse {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- PubKeyRing pub_key_ring = 3;
- string uid = 4;
- int64 current_date = 5;
- string updated_multisig_hex = 6;
-}
-
-message DelayedPayoutTxSignatureRequest {
- string uid = 1;
- string trade_id = 2;
- NodeAddress sender_node_address = 3;
- bytes delayed_payout_tx = 4;
- bytes delayed_payout_tx_seller_signature = 5;
-}
-
-message DelayedPayoutTxSignatureResponse {
- string uid = 1;
- string trade_id = 2;
- NodeAddress sender_node_address = 3;
- bytes delayed_payout_tx_buyer_signature = 4;
- bytes deposit_tx = 5;
-}
-
-message DepositTxAndDelayedPayoutTxMessage {
- string uid = 1;
- string trade_id = 2;
- NodeAddress sender_node_address = 3;
- bytes deposit_tx = 4;
- bytes delayed_payout_tx = 5;
-}
-
-message DepositTxMessage {
- string uid = 1;
- string trade_id = 2;
- NodeAddress sender_node_address = 3;
- bytes deposit_tx_without_witnesses = 4;
- PubKeyRing pub_key_ring = 100;
- reserved 5; // WAS: bytes deposit_tx = 101;
- string trade_fee_tx_id = 102;
- string deposit_tx_id = 103;
-}
-
-message PeerPublishedDelayedPayoutTxMessage {
- string uid = 1;
- string trade_id = 2;
- NodeAddress sender_node_address = 3;
-}
-
-message CounterCurrencyTransferStartedMessage {
- string trade_id = 1;
- string buyer_payout_address = 2;
- NodeAddress sender_node_address = 3;
- string buyer_payout_tx_signed = 4;
- string counter_currency_tx_id = 5;
- string uid = 6;
- string counter_currency_extra_data = 7;
-}
-
-message FinalizePayoutTxRequest {
- string trade_id = 1;
- bytes seller_signature = 2;
- string seller_payout_address = 3;
- NodeAddress sender_node_address = 4;
- string uid = 5;
-}
-
-message ArbitratorPayoutTxRequest {
- Dispute dispute = 1; // TODO (woodser): replace with trade id
- NodeAddress sender_node_address = 2;
- string uid = 3;
- SupportType type = 4;
- string updated_multisig_hex = 5;
-}
-
-message ArbitratorPayoutTxResponse {
- string trade_id = 1;
- NodeAddress sender_node_address = 2;
- string uid = 3;
- SupportType type = 4;
- string arbitrator_signed_payout_tx_hex = 5;
-}
-
-message PayoutTxPublishedMessage {
- string trade_id = 1;
- string signed_multisig_tx_hex = 2;
- NodeAddress sender_node_address = 3;
- string uid = 4;
- SignedWitness signed_witness = 5; // Added in v1.4.0
-}
-
-message MediatedPayoutTxPublishedMessage {
- string trade_id = 1;
- bytes payout_tx = 2;
- NodeAddress sender_node_address = 3;
- string uid = 4;
-}
-
-message MediatedPayoutTxSignatureMessage {
- string uid = 1;
- string trade_id = 3;
- bytes tx_signature = 2;
- NodeAddress sender_node_address = 4;
-}
-
-// Deprecated since 1.4.0
-message RefreshTradeStateRequest {
- string uid = 1 [deprecated = true];
- string trade_id = 2 [deprecated = true];
- NodeAddress sender_node_address = 3 [deprecated = true];
-}
-
-// Deprecated since 1.4.0
-message TraderSignedWitnessMessage {
- string uid = 1 [deprecated = true];
- string trade_id = 2 [deprecated = true];
- NodeAddress sender_node_address = 3 [deprecated = true];
- SignedWitness signed_witness = 4 [deprecated = true];
-}
-
-// dispute
-
-enum SupportType {
- ARBITRATION = 0;
- MEDIATION = 1;
- TRADE = 2;
- REFUND = 3;
-}
-
-message OpenNewDisputeMessage {
- Dispute dispute = 1;
- NodeAddress sender_node_address = 2;
- string uid = 3;
- SupportType type = 4;
- string updated_multisig_hex = 5;
-}
-
-message PeerOpenedDisputeMessage {
- Dispute dispute = 1;
- NodeAddress sender_node_address = 2;
- string uid = 3;
- SupportType type = 4;
-}
-
-message ChatMessage {
- int64 date = 1;
- string trade_id = 2;
- int32 trader_id = 3;
- bool sender_is_trader = 4;
- string message = 5;
- repeated Attachment attachments = 6;
- bool arrived = 7;
- bool stored_in_mailbox = 8;
- bool is_system_message = 9;
- NodeAddress sender_node_address = 10;
- string uid = 11;
- string send_message_error = 12;
- bool acknowledged = 13;
- string ack_error = 14;
- SupportType type = 15;
- bool was_displayed = 16;
-}
-
-message DisputeResultMessage {
- string uid = 1;
- DisputeResult dispute_result = 2;
- NodeAddress sender_node_address = 3;
- SupportType type = 4;
-}
-
-message PeerPublishedDisputePayoutTxMessage {
- string uid = 1;
- reserved 2; // was bytes transaction = 2;
- string trade_id = 3;
- NodeAddress sender_node_address = 4;
- SupportType type = 5;
- string updated_multisig_hex = 6;
- string payout_tx_hex = 7;
-}
-
-message PrivateNotificationMessage {
- string uid = 1;
- NodeAddress sender_node_address = 2;
- PrivateNotificationPayload private_notification_payload = 3;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Payload
-///////////////////////////////////////////////////////////////////////////////////////////
-
-// core
-
-message NodeAddress {
- string host_name = 1;
- int32 port = 2;
-}
-
-message Peer {
- NodeAddress node_address = 1;
- int64 date = 2;
- repeated int32 supported_capabilities = 3;
-}
-
-message PubKeyRing {
- bytes signature_pub_key_bytes = 1;
- bytes encryption_pub_key_bytes = 2;
- reserved 3; // WAS: string pgp_pub_key_as_pem = 3;
-}
-
-message SealedAndSigned {
- bytes encrypted_secret_key = 1;
- bytes encrypted_payload_with_hmac = 2;
- bytes signature = 3;
- bytes sig_public_key_bytes = 4;
-}
-
-// storage
-
-message StoragePayload {
- oneof message {
- Alert alert = 1;
- Arbitrator arbitrator = 2;
- Mediator mediator = 3;
- Filter filter = 4;
-
- // TradeStatistics trade_statistics = 5 [deprecated = true]; Removed in v.1.4.0
-
- MailboxStoragePayload mailbox_storage_payload = 6;
- OfferPayload offer_payload = 7;
- RefundAgent refund_agent = 8;
- }
-}
-
-message PersistableNetworkPayload {
- oneof message {
- AccountAgeWitness account_age_witness = 1;
- TradeStatistics2 trade_statistics2 = 2 [deprecated = true];
- SignedWitness signed_witness = 3;
- TradeStatistics3 trade_statistics3 = 4;
- }
-}
-
-message ProtectedStorageEntry {
- StoragePayload storagePayload = 1;
- bytes owner_pub_key_bytes = 2;
- int32 sequence_number = 3;
- bytes signature = 4;
- int64 creation_time_stamp = 5;
-}
-
-// mailbox
-
-message StorageEntryWrapper {
- oneof message {
- ProtectedStorageEntry protected_storage_entry = 1;
- ProtectedMailboxStorageEntry protected_mailbox_storage_entry = 2;
- }
-}
-
-message ProtectedMailboxStorageEntry {
- ProtectedStorageEntry entry = 1;
- bytes receivers_pub_key_bytes = 2;
-}
-
-message DataAndSeqNrPair {
- StoragePayload payload = 1;
- int32 sequence_number = 2;
-}
-
-message MailboxMessageList {
- repeated MailboxItem mailbox_item = 1;
-}
-
-message RemovedPayloadsMap {
- map date_by_hashes = 1;
-}
-
-message IgnoredMailboxMap {
- map data = 1;
-}
-
-message MailboxItem {
- ProtectedMailboxStorageEntry protected_mailbox_storage_entry = 1;
- DecryptedMessageWithPubKey decrypted_message_with_pub_key = 2;
-}
-
-message DecryptedMessageWithPubKey {
- NetworkEnvelope network_envelope = 1;
- bytes signature_pub_key_bytes = 2;
-}
-
-// misc
-
-message PrivateNotificationPayload {
- string message = 1;
- string signature_as_base64 = 2;
- bytes sig_public_key_bytes = 3;
-}
-
-message PaymentAccountFilter {
- string payment_method_id = 1;
- string get_method_name = 2;
- string value = 3;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Storage payload
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message Alert {
- string message = 1;
- string version = 2;
- bool is_update_info = 3;
- string signature_as_base64 = 4;
- bytes owner_pub_key_bytes = 5;
- map extra_data = 6;
- bool is_pre_release_info = 7;
-}
-
-message Arbitrator {
- NodeAddress node_address = 1;
- repeated string language_codes = 2;
- int64 registration_date = 3;
- string registration_signature = 4;
- bytes registration_pub_key = 5;
- PubKeyRing pub_key_ring = 6;
- bytes btc_pub_key = 7;
- string btc_address = 8;
- string email_address = 9;
- string info = 10;
- map extra_data = 11;
-}
-
-message Mediator {
- NodeAddress node_address = 1;
- repeated string language_codes = 2;
- int64 registration_date = 3;
- string registration_signature = 4;
- bytes registration_pub_key = 5;
- PubKeyRing pub_key_ring = 6;
- string email_address = 7;
- string info = 8;
- map extra_data = 9;
-}
-
-message RefundAgent {
- NodeAddress node_address = 1;
- repeated string language_codes = 2;
- int64 registration_date = 3;
- string registration_signature = 4;
- bytes registration_pub_key = 5;
- PubKeyRing pub_key_ring = 6;
- string email_address = 7;
- string info = 8;
- map extra_data = 9;
-}
-
-message Filter {
- repeated string node_addresses_banned_from_trading = 1;
- repeated string banned_offer_ids = 2;
- repeated PaymentAccountFilter banned_payment_accounts = 3;
- string signature_as_base64 = 4;
- bytes owner_pub_key_bytes = 5;
- map extra_data = 6;
- repeated string banned_currencies = 7;
- repeated string banned_payment_methods = 8;
- repeated string arbitrators = 9;
- repeated string seed_nodes = 10;
- repeated string price_relay_nodes = 11;
- bool prevent_public_btc_network = 12;
- repeated string btc_nodes = 13;
- string disable_trade_below_version = 14;
- repeated string mediators = 15;
- repeated string refundAgents = 16;
- repeated string bannedSignerPubKeys = 17;
- repeated string btc_fee_receiver_addresses = 18;
- int64 creation_date = 19;
- string signer_pub_key_as_hex = 20;
- repeated string bannedPrivilegedDevPubKeys = 21;
- bool disable_auto_conf = 22;
- repeated string banned_auto_conf_explorers = 23;
- repeated string node_addresses_banned_from_network = 24;
- bool disable_api = 25;
- bool disable_mempool_validation = 26;
-}
-
-// Deprecated
-message TradeStatistics2 {
- string base_currency = 1 [deprecated = true];
- string counter_currency = 2 [deprecated = true];
- OfferPayload.Direction direction = 3 [deprecated = true];
- int64 trade_price = 4 [deprecated = true];
- int64 trade_amount = 5 [deprecated = true];
- int64 trade_date = 6 [deprecated = true];
- string payment_method_id = 7 [deprecated = true];
- int64 offer_date = 8 [deprecated = true];
- bool offer_use_market_based_price = 9 [deprecated = true];
- double offer_market_price_margin = 10 [deprecated = true];
- int64 offer_amount = 11 [deprecated = true];
- int64 offer_min_amount = 12 [deprecated = true];
- string offer_id = 13 [deprecated = true];
- string deposit_tx_id = 14 [deprecated = true];
- bytes hash = 15 [deprecated = true];
- map extra_data = 16 [deprecated = true];
- string maker_deposit_tx_id = 100;
- string taker_deposit_tx_id = 101;
-}
-
-message TradeStatistics3 {
- string currency = 1;
- int64 price = 2;
- int64 amount = 3;
- string payment_method = 4;
- int64 date = 5;
- reserved 6; // was string mediator = 6;
- reserved 7; // was string refund_agent = 7;
- bytes hash = 8;
- map extra_data = 9;
-
- string arbitrator = 100;
- string maker_deposit_tx_id = 101;
- string taker_deposit_tx_id = 102;
-}
-
-message MailboxStoragePayload {
- PrefixedSealedAndSignedMessage prefixed_sealed_and_signed_message = 1;
- bytes sender_pub_key_for_add_operation_bytes = 2;
- bytes owner_pub_key_bytes = 3;
- map extra_data = 4;
-}
-
-message OfferPayload {
- enum Direction {
- PB_ERROR = 0;
- BUY = 1;
- SELL = 2;
- }
-
- string id = 1;
- int64 date = 2;
- NodeAddress owner_node_address = 3;
- PubKeyRing pub_key_ring = 4;
- Direction direction = 5;
- int64 price = 6;
- double market_price_margin = 7;
- bool use_market_based_price = 8;
- int64 amount = 9;
- int64 min_amount = 10;
- string base_currency_code = 11;
- string counter_currency_code = 12;
- string payment_method_id = 13;
- string maker_payment_account_id = 14;
- string offer_fee_payment_tx_id = 15;
- string country_code = 16;
- repeated string accepted_country_codes = 17;
- string bank_id = 18;
- repeated string accepted_bank_ids = 19;
- string version_nr = 20;
- int64 block_height_at_offer_creation = 21;
- int64 tx_fee = 22;
- int64 maker_fee = 23;
- int64 buyer_security_deposit = 24;
- int64 seller_security_deposit = 25;
- int64 max_trade_limit = 26;
- int64 max_trade_period = 27;
- bool use_auto_close = 28;
- bool use_re_open_after_auto_close = 29;
- int64 lower_close_price = 30;
- int64 upper_close_price = 31;
- bool is_private_offer = 32;
- string hash_of_challenge = 33;
- map extra_data = 34;
- int32 protocol_version = 35;
-
- NodeAddress arbitrator_signer = 1001;
- string arbitrator_signature = 1002;
- repeated string reserve_tx_key_images = 1003;
-}
-
-message AccountAgeWitness {
- bytes hash = 1;
- int64 date = 2;
-}
-
-message SignedWitness {
- enum VerificationMethod {
- PB_ERROR = 0;
- ARBITRATOR = 1;
- TRADE = 2;
- }
-
- VerificationMethod verification_method = 1;
- bytes account_age_witness_hash = 2;
- bytes signature = 3;
- bytes signer_pub_key = 4;
- bytes witness_owner_pub_key = 5;
- int64 date = 6;
- int64 trade_amount = 7;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Dispute payload
-///////////////////////////////////////////////////////////////////////////////////////////
-
-
-message Dispute {
- enum State {
- NEEDS_UPGRADE = 0;
- NEW = 1;
- OPEN = 2;
- REOPENED = 3;
- CLOSED = 4;
- }
- string trade_id = 1;
- string id = 2;
- int32 trader_id = 3;
- bool is_opener = 4;
- bool dispute_opener_is_buyer = 5;
- bool dispute_opener_is_maker = 6;
- int64 opening_date = 7;
- PubKeyRing trader_pub_key_ring = 8;
- int64 trade_date = 9;
- Contract contract = 10;
- bytes contract_hash = 11;
- bytes deposit_tx_serialized = 12;
- bytes payout_tx_serialized = 13;
- string deposit_tx_id = 14;
- string payout_tx_id = 15;
- string contract_as_json = 16;
- string maker_contract_signature = 17;
- string taker_contract_signature = 18;
- PaymentAccountPayload maker_payment_account_payload = 19;
- PaymentAccountPayload taker_payment_account_payload = 20;
- PubKeyRing agent_pub_key_ring = 21;
- bool is_support_ticket = 22;
- repeated ChatMessage chat_message = 23;
- bool is_closed = 24;
- DisputeResult dispute_result = 25;
- string dispute_payout_tx_id = 26;
- SupportType support_type = 27;
- string mediators_dispute_result = 28;
- string delayed_payout_tx_id = 29;
- string donation_address_of_delayed_payout_tx = 30;
- State state = 31;
- int64 trade_period_end = 32;
- map extra_data = 33;
-}
-
-message Attachment {
- string file_name = 1;
- bytes bytes = 2;
-}
-
-message DisputeResult {
- enum Winner {
- PB_ERROR_WINNER = 0;
- BUYER = 1;
- SELLER = 2;
- }
-
- enum Reason {
- PB_ERROR_REASON = 0;
- OTHER = 1;
- BUG = 2;
- USABILITY = 3;
- SCAM = 4;
- PROTOCOL_VIOLATION = 5;
- NO_REPLY = 6;
- BANK_PROBLEMS = 7;
- OPTION_TRADE = 8;
- SELLER_NOT_RESPONDING = 9;
- WRONG_SENDER_ACCOUNT = 10;
- TRADE_ALREADY_SETTLED = 11;
- PEER_WAS_LATE = 12;
- }
-
- string trade_id = 1;
- int32 trader_id = 2;
- Winner winner = 3;
- int32 reason_ordinal = 4;
- bool tamper_proof_evidence = 5;
- bool id_verification = 6;
- bool screen_cast = 7;
- string summary_notes = 8;
- ChatMessage chat_message = 9;
- bytes arbitrator_signature = 10;
- int64 buyer_payout_amount = 11;
- int64 seller_payout_amount = 12;
- bytes arbitrator_pub_key = 13;
- int64 close_date = 14;
- bool is_loser_publisher = 15;
- string arbitrator_signed_payout_tx_hex = 16;
- string arbitrator_updated_multisig_hex = 17;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Trade payload
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message Contract {
- OfferPayload offer_payload = 1;
- int64 trade_amount = 2;
- int64 trade_price = 3;
- reserved 4; // WAS: taker_fee_tx_id
- reserved 5; // WAS: arbitrator_node_address
- bool is_buyer_maker_and_seller_taker = 6;
- string maker_account_id = 7;
- string taker_account_id = 8;
- string maker_payment_method_id = 9;
- string taker_payment_method_id = 10;
- bytes maker_payment_account_payload_hash = 11;
- bytes taker_payment_account_payload_hash = 12;
- PubKeyRing maker_pub_key_ring = 13;
- PubKeyRing taker_pub_key_ring = 14;
- NodeAddress buyer_node_address = 15;
- NodeAddress seller_node_address = 16;
- string maker_payout_address_string = 17;
- string taker_payout_address_string = 18;
- NodeAddress arbitrator_node_address = 19;
- int64 lock_time = 20;
- string maker_deposit_tx_hash = 21;
- string taker_deposit_tx_hash = 22;
-}
-
-message RawTransactionInput {
- int64 index = 1;
- bytes parent_transaction = 2;
- int64 value = 3;
-}
-
-enum AvailabilityResult {
- PB_ERROR = 0;
- UNKNOWN_FAILURE = 1;
- AVAILABLE = 2;
- OFFER_TAKEN = 3;
- PRICE_OUT_OF_TOLERANCE = 4;
- MARKET_PRICE_NOT_AVAILABLE = 5;
- NO_ARBITRATORS = 6;
- NO_MEDIATORS = 7;
- USER_IGNORED = 8;
- MISSING_MANDATORY_CAPABILITY = 9;
- NO_REFUND_AGENTS = 10;
- UNCONF_TX_LIMIT_HIT = 11;
- MAKER_DENIED_API_USER = 12;
- PRICE_CHECK_FAILED = 13;
- MAKER_DENIED_TAKER = 14;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// PaymentAccount payload
-///////////////////////////////////////////////////////////////////////////////////////////
-
-
-message PaymentAccountPayload {
- string id = 1;
- string payment_method_id = 2;
- int64 max_trade_period = 3 [deprecated = true]; // not used anymore but we need to keep it in PB for backward compatibility
- oneof message {
- AliPayAccountPayload ali_pay_account_payload = 4;
- ChaseQuickPayAccountPayload chase_quick_pay_account_payload = 5;
- ClearXchangeAccountPayload clear_xchange_account_payload = 6;
- CountryBasedPaymentAccountPayload country_based_payment_account_payload = 7;
- CryptoCurrencyAccountPayload crypto_currency_account_payload = 8;
- FasterPaymentsAccountPayload faster_payments_account_payload = 9;
- InteracETransferAccountPayload interac_e_transfer_account_payload = 10;
- OKPayAccountPayload o_k_pay_account_payload = 11 [deprecated = true];
- PerfectMoneyAccountPayload perfect_money_account_payload = 12;
- SwishAccountPayload swish_account_payload = 13;
- USPostalMoneyOrderAccountPayload u_s_postal_money_order_account_payload = 14;
- UpholdAccountPayload uphold_account_payload = 16;
- CashAppAccountPayload cash_app_account_payload = 17 [deprecated = true];
- MoneyBeamAccountPayload money_beam_account_payload = 18;
- VenmoAccountPayload venmo_account_payload = 19 [deprecated = true];
- PopmoneyAccountPayload popmoney_account_payload = 20;
- RevolutAccountPayload revolut_account_payload = 21;
- WeChatPayAccountPayload we_chat_pay_account_payload = 22;
- MoneyGramAccountPayload money_gram_account_payload = 23;
- HalCashAccountPayload hal_cash_account_payload = 24;
- PromptPayAccountPayload prompt_pay_account_payload = 25;
- AdvancedCashAccountPayload advanced_cash_account_payload = 26;
- InstantCryptoCurrencyAccountPayload instant_crypto_currency_account_payload = 27;
- JapanBankAccountPayload japan_bank_account_payload = 28;
- TransferwiseAccountPayload Transferwise_account_payload = 29;
- AustraliaPayidPayload australia_payid_payload = 30;
- AmazonGiftCardAccountPayload amazon_gift_card_account_payload = 31;
- CashByMailAccountPayload cash_by_mail_account_payload = 32;
- }
- map exclude_from_json_data = 15;
-}
-
-message AliPayAccountPayload {
- string account_nr = 1;
-}
-
-message WeChatPayAccountPayload {
- string account_nr = 1;
-}
-
-message ChaseQuickPayAccountPayload {
- string email = 1;
- string holder_name = 2;
-}
-
-message ClearXchangeAccountPayload {
- string holder_name = 1;
- string email_or_mobile_nr = 2;
-}
-
-message CountryBasedPaymentAccountPayload {
- string countryCode = 1;
- oneof message {
- BankAccountPayload bank_account_payload = 2;
- CashDepositAccountPayload cash_deposit_account_payload = 3;
- SepaAccountPayload sepa_account_payload = 4;
- WesternUnionAccountPayload western_union_account_payload = 5;
- SepaInstantAccountPayload sepa_instant_account_payload = 6;
- F2FAccountPayload f2f_account_payload = 7;
- }
-}
-
-message BankAccountPayload {
- string holder_name = 1;
- string bank_name = 2;
- string bank_id = 3;
- string branch_id = 4;
- string account_nr = 5;
- string account_type = 6;
- string holder_tax_id = 7;
- string email = 8 [deprecated = true];
- oneof message {
- NationalBankAccountPayload national_bank_account_payload = 9;
- SameBankAccountPayload same_bank_accont_payload = 10;
- SpecificBanksAccountPayload specific_banks_account_payload = 11;
- }
- string national_account_id = 12;
-}
-
-message NationalBankAccountPayload {
-}
-
-message SameBankAccountPayload {
-}
-
-message JapanBankAccountPayload {
- string bank_name = 1;
- string bank_code = 2;
- string bank_branch_name = 3;
- string bank_branch_code = 4;
- string bank_account_type = 5;
- string bank_account_name = 6;
- string bank_account_number = 7;
-}
-
-message AustraliaPayidPayload {
- string bank_account_name = 1;
- string payid = 2;
-}
-
-message SpecificBanksAccountPayload {
- repeated string accepted_banks = 1;
-}
-
-message CashDepositAccountPayload {
- string holder_name = 1;
- string holder_email = 2;
- string bank_name = 3;
- string bank_id = 4;
- string branch_id = 5;
- string account_nr = 6;
- string account_type = 7;
- string requirements = 8;
- string holder_tax_id = 9;
- string national_account_id = 10;
-}
-
-message MoneyGramAccountPayload {
- string holder_name = 1;
- string country_code = 2;
- string state = 3;
- string email = 4;
-}
-
-message HalCashAccountPayload {
- string mobile_nr = 1;
-}
-
-message WesternUnionAccountPayload {
- string holder_name = 1;
- string city = 2;
- string state = 3;
- string email = 4;
-}
-
-message AmazonGiftCardAccountPayload {
- string email_or_mobile_nr = 1;
- string country_code = 2;
-}
-
-message SepaAccountPayload {
- string holder_name = 1;
- string iban = 2;
- string bic = 3;
- string email = 4 [deprecated = true];
- repeated string accepted_country_codes = 5;
-}
-
-message SepaInstantAccountPayload {
- string holder_name = 1;
- string iban = 2;
- string bic = 3;
- repeated string accepted_country_codes = 4;
-}
-
-message CryptoCurrencyAccountPayload {
- string address = 1;
-}
-
-message InstantCryptoCurrencyAccountPayload {
- string address = 1;
-}
-
-message FasterPaymentsAccountPayload {
- string sort_code = 1;
- string account_nr = 2;
- string email = 3 [deprecated = true];
-}
-
-message InteracETransferAccountPayload {
- string email = 1;
- string holder_name = 2;
- string question = 3;
- string answer = 4;
-}
-
-// Deprecated, not used anymore
-message OKPayAccountPayload {
- string account_nr = 1;
-}
-
-message UpholdAccountPayload {
- string account_id = 1;
-}
-
-// Deprecated, not used anymore
-message CashAppAccountPayload {
- string cash_tag = 1;
-}
-
-message MoneyBeamAccountPayload {
- string account_id = 1;
-}
-
-// Deprecated, not used anymore
-message VenmoAccountPayload {
- string venmo_user_name = 1;
- string holder_name = 2;
-}
-
-message PopmoneyAccountPayload {
- string account_id = 1;
- string holder_name = 2;
-}
-
-message RevolutAccountPayload {
- string account_id = 1;
- string user_name = 2;
-}
-
-message PerfectMoneyAccountPayload {
- string account_nr = 1;
-}
-
-message SwishAccountPayload {
- string mobile_nr = 1;
- string holder_name = 2;
-}
-
-message USPostalMoneyOrderAccountPayload {
- string postal_address = 1;
- string holder_name = 2;
-}
-
-message F2FAccountPayload {
- string contact = 1;
- string city = 2;
- string extra_info = 3;
-}
-
-message CashByMailAccountPayload {
- string postal_address = 1;
- string contact = 2;
- string extra_info = 3;
-}
-
-message PromptPayAccountPayload {
- string prompt_pay_id = 1;
-}
-
-message AdvancedCashAccountPayload {
- string account_nr = 1;
-}
-
-message TransferwiseAccountPayload {
- string email = 1;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// PersistableEnvelope
-///////////////////////////////////////////////////////////////////////////////////////////
-
-// Those are persisted to disc
-message PersistableEnvelope {
- oneof message {
- SequenceNumberMap sequence_number_map = 1;
- PersistedEntryMap persisted_entry_map = 2 [deprecated = true];
- PeerList peer_list = 3;
- AddressEntryList address_entry_list = 4;
- NavigationPath navigation_path = 5;
-
- TradableList tradable_list = 6;
- // TradeStatisticsList trade_statistics_list = 7; // Was used in pre v0.6.0 version. Not used anymore.
- ArbitrationDisputeList arbitration_dispute_list = 8;
-
- PreferencesPayload preferences_payload = 9;
- UserPayload user_payload = 10;
- PaymentAccountList payment_account_list = 11;
-
- AccountAgeWitnessStore account_age_witness_store = 12;
- TradeStatistics2Store trade_statistics2_store = 13 [deprecated = true];
-
- // PersistableNetworkPayloadList persistable_network_payload_list = 14; // long deprecated & migration away from it is already done
-
- SignedWitnessStore signed_witness_store = 15;
- MediationDisputeList mediation_dispute_list = 16;
- RefundDisputeList refund_dispute_list = 17;
- TradeStatistics3Store trade_statistics3_store = 18;
- MailboxMessageList mailbox_message_list = 19;
- IgnoredMailboxMap ignored_mailbox_map = 20;
- RemovedPayloadsMap removed_payloads_map = 21;
-
- XmrAddressEntryList xmr_address_entry_list = 1001;
- SignedOfferList signed_offer_list = 1002;
- }
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Collections
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message SequenceNumberMap {
- repeated SequenceNumberEntry sequence_number_entries = 1;
-}
-
-message SequenceNumberEntry {
- ByteArray bytes = 1;
- MapValue map_value = 2;
-}
-
-message ByteArray {
- bytes bytes = 1;
-}
-
-message MapValue {
- int32 sequence_nr = 1;
- int64 time_stamp = 2;
-}
-
-// deprecated. Not used anymore.
-message PersistedEntryMap {
- map persisted_entry_map = 1;
-}
-
-// We use a list not a hash map to save disc space. The hash can be calculated from the payload anyway
-message AccountAgeWitnessStore {
- repeated AccountAgeWitness items = 1;
-}
-
-message SignedWitnessStore {
- repeated SignedWitness items = 1;
-}
-
-// We use a list not a hash map to save disc space. The hash can be calculated from the payload anyway
-// Deprecated
-message TradeStatistics2Store {
- repeated TradeStatistics2 items = 1 [deprecated = true];
-}
-
-message TradeStatistics3Store {
- repeated TradeStatistics3 items = 1;
-}
-
-message PeerList {
- repeated Peer peer = 1;
-}
-
-message AddressEntryList {
- repeated AddressEntry address_entry = 1;
-}
-
-message AddressEntry {
- enum Context {
- PB_ERROR = 0;
- ARBITRATOR = 1;
- AVAILABLE = 2;
- OFFER_FUNDING = 3;
- RESERVED_FOR_TRADE = 4;
- MULTI_SIG = 5;
- TRADE_PAYOUT = 6;
- }
-
- string offer_id = 7;
- Context context = 8;
- bytes pub_key = 9;
- bytes pub_key_hash = 10;
- int64 coin_locked_in_multi_sig = 11;
- bool segwit = 12;
-}
-
-message XmrAddressEntryList {
- repeated XmrAddressEntry xmr_address_entry = 1;
-}
-
-message XmrAddressEntry {
- enum Context {
- PB_ERROR = 0;
- ARBITRATOR = 1;
- AVAILABLE = 2;
- OFFER_FUNDING = 3;
- RESERVED_FOR_TRADE = 4;
- MULTI_SIG = 5;
- TRADE_PAYOUT = 6;
- }
-
- int32 subaddress_index = 7;
- string address_string = 8;
- string offer_id = 9;
- Context context = 10;
- int64 coin_locked_in_multi_sig = 11;
-}
-
-message NavigationPath {
- repeated string path = 1;
-}
-
-message PaymentAccountList {
- repeated PaymentAccount payment_account = 1;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Offer/Trade
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message TradableList {
- repeated Tradable tradable = 1;
-}
-
-message Offer {
- enum State {
- PB_ERROR = 0;
- UNKNOWN = 1;
- OFFER_FEE_PAID = 2;
- AVAILABLE = 3;
- NOT_AVAILABLE = 4;
- REMOVED = 5;
- MAKER_OFFLINE = 6;
- }
-
- OfferPayload offer_payload = 1;
-}
-
-message SignedOfferList {
- repeated SignedOffer signed_offer = 1;
-}
-
-message SignedOffer {
- string offer_id = 1;
- string reserve_tx_hash = 2;
- string reserve_tx_hex = 3;
- string arbitrator_signature = 4;
-}
-
-message OpenOffer {
- enum State {
- PB_ERROR = 0;
- AVAILABLE = 1;
- RESERVED = 2;
- CLOSED = 3;
- CANCELED = 4;
- DEACTIVATED = 5;
- }
-
- Offer offer = 1;
- State state = 2;
- NodeAddress backup_arbitrator = 3;
- int64 trigger_price = 4;
- string reserve_tx_hash = 5;
- string reserve_tx_hex = 6;
- string reserve_tx_key = 7;
-}
-
-message Tradable {
- oneof message {
- OpenOffer open_offer = 1;
- BuyerAsMakerTrade buyer_as_maker_trade = 2;
- BuyerAsTakerTrade buyer_as_taker_trade = 3;
- SellerAsMakerTrade seller_as_maker_trade = 4;
- SellerAsTakerTrade seller_as_taker_trade = 5;
- ArbitratorTrade arbitrator_trade = 6;
-
- SignedOffer signed_offer = 1001;
- }
-}
-
-message Trade {
- enum State {
- PB_ERROR_STATE = 0;
- PREPARATION = 1;
- TAKER_PUBLISHED_TAKER_FEE_TX = 2;
- MAKER_SENT_PUBLISH_DEPOSIT_TX_REQUEST = 3;
- MAKER_SAW_ARRIVED_PUBLISH_DEPOSIT_TX_REQUEST = 4;
- MAKER_STORED_IN_MAILBOX_PUBLISH_DEPOSIT_TX_REQUEST = 5;
- MAKER_SEND_FAILED_PUBLISH_DEPOSIT_TX_REQUEST = 6;
- TAKER_RECEIVED_PUBLISH_DEPOSIT_TX_REQUEST = 7;
- TAKER_PUBLISHED_DEPOSIT_TX = 8;
- TAKER_SAW_DEPOSIT_TX_IN_NETWORK = 9;
- TAKER_SENT_DEPOSIT_TX_PUBLISHED_MSG = 10;
- TAKER_SAW_ARRIVED_DEPOSIT_TX_PUBLISHED_MSG = 11;
- TAKER_STORED_IN_MAILBOX_DEPOSIT_TX_PUBLISHED_MSG = 12;
- TAKER_SEND_FAILED_DEPOSIT_TX_PUBLISHED_MSG = 13;
- MAKER_RECEIVED_DEPOSIT_TX_PUBLISHED_MSG = 14;
- MAKER_SAW_DEPOSIT_TX_IN_NETWORK = 15;
- DEPOSIT_CONFIRMED_IN_BLOCK_CHAIN = 16;
- BUYER_CONFIRMED_IN_UI_FIAT_PAYMENT_INITIATED = 17;
- BUYER_SENT_FIAT_PAYMENT_INITIATED_MSG = 18;
- BUYER_SAW_ARRIVED_FIAT_PAYMENT_INITIATED_MSG = 19;
- BUYER_STORED_IN_MAILBOX_FIAT_PAYMENT_INITIATED_MSG = 20;
- BUYER_SEND_FAILED_FIAT_PAYMENT_INITIATED_MSG = 21;
- SELLER_RECEIVED_FIAT_PAYMENT_INITIATED_MSG = 22;
- SELLER_CONFIRMED_IN_UI_FIAT_PAYMENT_RECEIPT = 23;
- SELLER_PUBLISHED_PAYOUT_TX = 24;
- SELLER_SENT_PAYOUT_TX_PUBLISHED_MSG = 25;
- SELLER_SAW_ARRIVED_PAYOUT_TX_PUBLISHED_MSG = 26;
- SELLER_STORED_IN_MAILBOX_PAYOUT_TX_PUBLISHED_MSG = 27;
- SELLER_SEND_FAILED_PAYOUT_TX_PUBLISHED_MSG = 28;
- BUYER_RECEIVED_PAYOUT_TX_PUBLISHED_MSG = 29;
- BUYER_SAW_PAYOUT_TX_IN_NETWORK = 30;
- WITHDRAW_COMPLETED = 31;
- }
-
- enum Phase {
- PB_ERROR_PHASE = 0;
- INIT = 1;
- TAKER_FEE_PUBLISHED = 2;
- DEPOSIT_PUBLISHED = 3;
- DEPOSIT_CONFIRMED = 4;
- FIAT_SENT = 5;
- FIAT_RECEIVED = 6;
- PAYOUT_PUBLISHED = 7;
- WITHDRAWN = 8;
- }
-
- enum DisputeState {
- PB_ERROR_DISPUTE_STATE = 0;
- NO_DISPUTE = 1;
- DISPUTE_REQUESTED = 2; // arbitration We use the enum name for resolving enums so it cannot be renamed
- DISPUTE_STARTED_BY_PEER = 3; // arbitration We use the enum name for resolving enums so it cannot be renamed
- DISPUTE_CLOSED = 4; // arbitration We use the enum name for resolving enums so it cannot be renamed
- MEDIATION_REQUESTED = 5;
- MEDIATION_STARTED_BY_PEER = 6;
- MEDIATION_CLOSED = 7;
- REFUND_REQUESTED = 8;
- REFUND_REQUEST_STARTED_BY_PEER = 9;
- REFUND_REQUEST_CLOSED = 10;
- }
-
- enum TradePeriodState {
- PB_ERROR_TRADE_PERIOD_STATE = 0;
- FIRST_HALF = 1;
- SECOND_HALF = 2;
- TRADE_PERIOD_OVER = 3;
- }
-
- Offer offer = 1;
- ProcessModel process_model = 2;
- string taker_fee_tx_id = 3;
- reserved 4;
- string payout_tx_id = 5;
- int64 trade_amount_as_long = 6;
- int64 tx_fee_as_long = 7;
- int64 taker_fee_as_long = 8;
- int64 take_offer_date = 9;
- int64 trade_price = 10;
- State state = 11;
- DisputeState dispute_state = 12;
- TradePeriodState trade_period_state = 13;
- Contract contract = 14;
- string contract_as_json = 15;
- bytes contract_hash = 16;
- NodeAddress arbitrator_node_address = 17;
- NodeAddress mediator_node_address = 18;
- bytes arbitrator_btc_pub_key = 19;
- string taker_payment_account_id = 20;
- string error_message = 21;
- PubKeyRing arbitrator_pub_key_ring = 22;
- PubKeyRing mediator_pub_key_ring = 23;
- string counter_currency_tx_id = 24;
- repeated ChatMessage chat_message = 25;
- MediationResultState mediation_result_state = 26;
- int64 lock_time = 27;
- bytes delayed_payout_tx_bytes = 28;
- NodeAddress refund_agent_node_address = 29;
- PubKeyRing refund_agent_pub_key_ring = 30;
- RefundResultState refund_result_state = 31;
- int64 last_refresh_request_date = 32 [deprecated = true];
- string counter_currency_extra_data = 33;
- string asset_tx_proof_result = 34; // name of AssetTxProofResult enum
- string uid = 35;
-
- NodeAddress maker_node_address = 100; // TODO (woodser): move these into TradingPeer
- NodeAddress taker_node_address = 101;
- PubKeyRing taker_pub_key_ring = 102;
- PubKeyRing maker_pub_key_ring = 103;
-}
-
-message BuyerAsMakerTrade {
- Trade trade = 1;
-}
-
-message BuyerAsTakerTrade {
- Trade trade = 1;
-}
-
-message SellerAsMakerTrade {
- Trade trade = 1;
-}
-
-message SellerAsTakerTrade {
- Trade trade = 1;
-}
-
-message ArbitratorTrade {
- Trade trade = 1;
-}
-
-message ProcessModel {
- reserved 1; // Not used anymore
- string offer_id = 2;
- string account_id = 3;
- PubKeyRing pub_key_ring = 4;
- string take_offer_fee_tx_id = 5;
- bytes payout_tx_signature = 6;
- reserved 7; // Not used anymore
- reserved 8; // Not used anymore
- reserved 9; // Not used anymore
- repeated RawTransactionInput raw_transaction_inputs = 10;
- int64 change_output_value = 11;
- string change_output_address = 12;
- bool use_savings_wallet = 13;
- int64 funds_needed_for_trade_as_long = 14;
- bytes my_multi_sig_pub_key = 15;
- reserved 16; // Not used anymore
- string payment_started_message_state = 17;
- bytes mediated_payout_tx_signature = 18;
- int64 buyer_payout_amount_from_mediation = 19;
- int64 seller_payout_amount_from_mediation = 20;
-
- string maker_signature = 1001;
- NodeAddress backup_arbitrator = 1002;
- TradingPeer maker = 1003;
- TradingPeer taker = 1004;
- TradingPeer arbitrator = 1005;
- NodeAddress temp_trading_peer_node_address = 1006;
- string prepared_multisig_hex = 1007;
- string made_multisig_hex = 1008;
- bool multisig_setup_complete = 1009;
- bool maker_ready_to_fund_multisig = 1010;
- bool multisig_deposit_initiated = 1011;
-}
-
-message TradingPeer {
- string account_id = 1;
- string payment_account_id = 2;
- string payment_method_id = 3;
- bytes payment_account_payload_hash = 4;
- PaymentAccountPayload payment_account_payload = 5;
- string payout_address_string = 6;
- string contract_as_json = 7;
- string contract_signature = 8;
- bytes signature = 9; // TODO (woodser): remove unused fields? this was buyer-signed payout tx as bytes
- PubKeyRing pub_key_ring = 10;
- bytes multi_sig_pub_key = 11;
- repeated RawTransactionInput raw_transaction_inputs = 12;
- int64 change_output_value = 13;
- string change_output_address = 14;
- bytes account_age_witness_nonce = 15;
- bytes account_age_witness_signature = 16;
- int64 current_date = 17;
- bytes mediated_payout_tx_signature = 18;
-
- string reserve_tx_hash = 1001;
- string reserve_tx_hex = 1002;
- string reserve_tx_key = 1003;
- repeated string reserve_tx_key_images = 1004;
- string prepared_multisig_hex = 1005;
- string made_multisig_hex = 1006;
- string signed_payout_tx_hex = 1007;
- string deposit_tx_hash = 1008;
- string deposit_tx_hex = 1009;
- string deposit_tx_key = 1010;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Dispute
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message ArbitrationDisputeList {
- repeated Dispute dispute = 1;
-}
-
-message MediationDisputeList {
- repeated Dispute dispute = 1;
-}
-
-message RefundDisputeList {
- repeated Dispute dispute = 1;
-}
-
-enum MediationResultState {
- PB_ERROR_MEDIATION_RESULT = 0;
- UNDEFINED_MEDIATION_RESULT = 1;
- MEDIATION_RESULT_ACCEPTED = 2;
- MEDIATION_RESULT_REJECTED = 3;
- SIG_MSG_SENT = 4;
- SIG_MSG_ARRIVED = 5;
- SIG_MSG_IN_MAILBOX = 6;
- SIG_MSG_SEND_FAILED = 7;
- RECEIVED_SIG_MSG = 8;
- PAYOUT_TX_PUBLISHED = 9;
- PAYOUT_TX_PUBLISHED_MSG_SENT = 10;
- PAYOUT_TX_PUBLISHED_MSG_ARRIVED = 11;
- PAYOUT_TX_PUBLISHED_MSG_IN_MAILBOX = 12;
- PAYOUT_TX_PUBLISHED_MSG_SEND_FAILED = 13;
- RECEIVED_PAYOUT_TX_PUBLISHED_MSG = 14;
- PAYOUT_TX_SEEN_IN_NETWORK = 15;
-}
-
-//todo
-enum RefundResultState {
- PB_ERROR_REFUND_RESULT = 0;
- UNDEFINED_REFUND_RESULT = 1;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Preferences
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message PreferencesPayload {
- string user_language = 1;
- Country user_country = 2;
- repeated TradeCurrency fiat_currencies = 3;
- repeated TradeCurrency crypto_currencies = 4;
- BlockChainExplorer block_chain_explorer_main_net = 5;
- BlockChainExplorer block_chain_explorer_test_net = 6;
- string backup_directory = 7;
- bool auto_select_arbitrators = 8;
- map dont_show_again_map = 9;
- bool tac_accepted = 10;
- bool use_tor_for_bitcoin_j = 11;
- bool show_own_offers_in_offer_book = 12;
- TradeCurrency preferred_trade_currency = 13;
- int64 withdrawal_tx_fee_in_vbytes = 14;
- bool use_custom_withdrawal_tx_fee = 15;
- double max_price_distance_in_percent = 16;
- string offer_book_chart_screen_currency_code = 17;
- string trade_charts_screen_currency_code = 18;
- string buy_screen_currency_code = 19;
- string sell_screen_currency_code = 20;
- int32 trade_statistics_tick_unit_index = 21;
- bool resync_Spv_requested = 22;
- bool sort_market_currencies_numerically = 23;
- bool use_percentage_based_price = 24;
- map peer_tag_map = 25;
- string bitcoin_nodes = 26;
- repeated string ignore_traders_list = 27;
- string directory_chooser_path = 28;
- int64 buyer_security_deposit_as_long = 29 [deprecated = true]; // Superseded by buyerSecurityDepositAsPercent
- bool use_animations = 30;
- PaymentAccount selectedPayment_account_for_createOffer = 31;
- repeated string bridge_addresses = 32;
- int32 bridge_option_ordinal = 33;
- int32 tor_transport_ordinal = 34;
- string custom_bridges = 35;
- int32 bitcoin_nodes_option_ordinal = 36;
- string referral_id = 37;
- string phone_key_and_token = 38;
- bool use_sound_for_mobile_notifications = 39;
- bool use_trade_notifications = 40;
- bool use_market_notifications = 41;
- bool use_price_notifications = 42;
- bool use_standby_mode = 43;
- string rpc_user = 44;
- string rpc_pw = 45;
- string take_offer_selected_payment_account_id = 46;
- double buyer_security_deposit_as_percent = 47;
- int32 ignore_dust_threshold = 48;
- double buyer_security_deposit_as_percent_for_crypto = 49;
- int32 block_notify_port = 50;
- int32 css_theme = 51;
- bool tac_accepted_v120 = 52;
- repeated AutoConfirmSettings auto_confirm_settings = 53;
- bool hide_non_account_payment_methods = 54;
- bool show_offers_matching_my_accounts = 55;
- bool deny_api_taker = 56;
- bool notify_on_pre_release = 57;
-}
-
-message AutoConfirmSettings {
- bool enabled = 1;
- int32 required_confirmations = 2;
- int64 trade_limit = 3;
- repeated string service_addresses = 4;
- string currency_code = 5;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// UserPayload
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message UserPayload {
- string account_id = 1;
- repeated PaymentAccount payment_accounts = 2;
- PaymentAccount current_payment_account = 3;
- repeated string accepted_language_locale_codes = 4;
- Alert developers_alert = 5;
- Alert displayed_alert = 6;
- Filter developers_filter = 7;
- repeated Arbitrator accepted_arbitrators = 8;
- repeated Mediator accepted_mediators = 9;
- Arbitrator registered_arbitrator = 10;
- Mediator registered_mediator = 11;
- PriceAlertFilter price_alert_filter = 12;
- repeated MarketAlertFilter market_alert_filters = 13;
- repeated RefundAgent accepted_refund_agents = 14;
- RefundAgent registered_refund_agent = 15;
- map cookie = 16;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Misc
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message BlockChainExplorer {
- string name = 1;
- string tx_url = 2;
- string address_url = 3;
-}
-
-message PaymentAccount {
- string id = 1;
- int64 creation_date = 2 [jstype = JS_STRING];
- PaymentMethod payment_method = 3;
- string account_name = 4;
- repeated TradeCurrency trade_currencies = 5;
- TradeCurrency selected_trade_currency = 6;
- PaymentAccountPayload payment_account_payload = 7;
-}
-
-message PaymentMethod {
- string id = 1;
- int64 max_trade_period = 2 [jstype = JS_STRING];
- int64 max_trade_limit = 3 [jstype = JS_STRING];
-}
-
-// Currency
-
-message Currency {
- string currency_code = 1;
-}
-
-message TradeCurrency {
- string code = 1;
- string name = 2;
- oneof message {
- CryptoCurrency crypto_currency = 3;
- FiatCurrency fiat_currency = 4;
- }
-}
-
-message CryptoCurrency {
- bool is_asset = 1;
-}
-
-message FiatCurrency {
- Currency currency = 1;
-}
-
-message Country {
- string code = 1;
- string name = 2;
- Region region = 3;
-}
-
-message Region {
- string code = 1;
- string name = 2;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Notifications
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message PriceAlertFilter {
- string currencyCode = 1;
- int64 high = 2;
- int64 low = 3;
-}
-
-message MarketAlertFilter {
- PaymentAccount payment_account = 1;
- int32 trigger_value = 2;
- bool is_buy_offer = 3;
- repeated string alert_ids = 4;
-}
-
-///////////////////////////////////////////////////////////////////////////////////////////
-// Mock
-///////////////////////////////////////////////////////////////////////////////////////////
-
-message MockMailboxPayload {
- string message = 1;
- NodeAddress sender_node_address = 2;
- string uid = 3;
-}
-
-message MockPayload {
- string message_version = 1;
- string message = 2;
-}
diff --git a/package.json b/package.json
index e27f82eb..ac0d41a2 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,9 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --runInBand",
- "eject": "react-scripts eject"
+ "eject": "react-scripts eject",
+ "prepare": "bin/build_protobuf.sh",
+ "pretest": "bin/build_protobuf.sh"
},
"eslintConfig": {
"extends": [
diff --git a/src/protobuf/GrpcServiceClientPb.ts b/src/protobuf/GrpcServiceClientPb.ts
deleted file mode 100644
index 59c1430c..00000000
--- a/src/protobuf/GrpcServiceClientPb.ts
+++ /dev/null
@@ -1,1862 +0,0 @@
-/**
- * @fileoverview gRPC-Web generated client stub for io.bisq.protobuffer
- * @enhanceable
- * @public
- */
-
-// GENERATED CODE -- DO NOT EDIT!
-
-
-/* eslint-disable */
-// @ts-nocheck
-
-
-import * as grpcWeb from 'grpc-web';
-
-import * as grpc_pb from './grpc_pb';
-
-
-export class DisputeAgentsClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoRegisterDisputeAgent = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.DisputeAgents/RegisterDisputeAgent',
- grpcWeb.MethodType.UNARY,
- grpc_pb.RegisterDisputeAgentRequest,
- grpc_pb.RegisterDisputeAgentReply,
- (request: grpc_pb.RegisterDisputeAgentRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.RegisterDisputeAgentReply.deserializeBinary
- );
-
- registerDisputeAgent(
- request: grpc_pb.RegisterDisputeAgentRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- registerDisputeAgent(
- request: grpc_pb.RegisterDisputeAgentRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.RegisterDisputeAgentReply) => void): grpcWeb.ClientReadableStream;
-
- registerDisputeAgent(
- request: grpc_pb.RegisterDisputeAgentRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.RegisterDisputeAgentReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.DisputeAgents/RegisterDisputeAgent',
- request,
- metadata || {},
- this.methodInfoRegisterDisputeAgent,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.DisputeAgents/RegisterDisputeAgent',
- request,
- metadata || {},
- this.methodInfoRegisterDisputeAgent);
- }
-
-}
-
-export class HelpClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetMethodHelp = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Help/GetMethodHelp',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetMethodHelpRequest,
- grpc_pb.GetMethodHelpReply,
- (request: grpc_pb.GetMethodHelpRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetMethodHelpReply.deserializeBinary
- );
-
- getMethodHelp(
- request: grpc_pb.GetMethodHelpRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getMethodHelp(
- request: grpc_pb.GetMethodHelpRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetMethodHelpReply) => void): grpcWeb.ClientReadableStream;
-
- getMethodHelp(
- request: grpc_pb.GetMethodHelpRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetMethodHelpReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Help/GetMethodHelp',
- request,
- metadata || {},
- this.methodInfoGetMethodHelp,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Help/GetMethodHelp',
- request,
- metadata || {},
- this.methodInfoGetMethodHelp);
- }
-
-}
-
-export class OffersClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetOffer = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Offers/GetOffer',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetOfferRequest,
- grpc_pb.GetOfferReply,
- (request: grpc_pb.GetOfferRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetOfferReply.deserializeBinary
- );
-
- getOffer(
- request: grpc_pb.GetOfferRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getOffer(
- request: grpc_pb.GetOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetOfferReply) => void): grpcWeb.ClientReadableStream;
-
- getOffer(
- request: grpc_pb.GetOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetOfferReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetOffer',
- request,
- metadata || {},
- this.methodInfoGetOffer,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetOffer',
- request,
- metadata || {},
- this.methodInfoGetOffer);
- }
-
- methodInfoGetMyOffer = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Offers/GetMyOffer',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetMyOfferRequest,
- grpc_pb.GetMyOfferReply,
- (request: grpc_pb.GetMyOfferRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetMyOfferReply.deserializeBinary
- );
-
- getMyOffer(
- request: grpc_pb.GetMyOfferRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getMyOffer(
- request: grpc_pb.GetMyOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetMyOfferReply) => void): grpcWeb.ClientReadableStream;
-
- getMyOffer(
- request: grpc_pb.GetMyOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetMyOfferReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetMyOffer',
- request,
- metadata || {},
- this.methodInfoGetMyOffer,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetMyOffer',
- request,
- metadata || {},
- this.methodInfoGetMyOffer);
- }
-
- methodInfoGetOffers = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Offers/GetOffers',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetOffersRequest,
- grpc_pb.GetOffersReply,
- (request: grpc_pb.GetOffersRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetOffersReply.deserializeBinary
- );
-
- getOffers(
- request: grpc_pb.GetOffersRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getOffers(
- request: grpc_pb.GetOffersRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetOffersReply) => void): grpcWeb.ClientReadableStream;
-
- getOffers(
- request: grpc_pb.GetOffersRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetOffersReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetOffers',
- request,
- metadata || {},
- this.methodInfoGetOffers,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetOffers',
- request,
- metadata || {},
- this.methodInfoGetOffers);
- }
-
- methodInfoGetMyOffers = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Offers/GetMyOffers',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetMyOffersRequest,
- grpc_pb.GetMyOffersReply,
- (request: grpc_pb.GetMyOffersRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetMyOffersReply.deserializeBinary
- );
-
- getMyOffers(
- request: grpc_pb.GetMyOffersRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getMyOffers(
- request: grpc_pb.GetMyOffersRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetMyOffersReply) => void): grpcWeb.ClientReadableStream;
-
- getMyOffers(
- request: grpc_pb.GetMyOffersRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetMyOffersReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetMyOffers',
- request,
- metadata || {},
- this.methodInfoGetMyOffers,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/GetMyOffers',
- request,
- metadata || {},
- this.methodInfoGetMyOffers);
- }
-
- methodInfoCreateOffer = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Offers/CreateOffer',
- grpcWeb.MethodType.UNARY,
- grpc_pb.CreateOfferRequest,
- grpc_pb.CreateOfferReply,
- (request: grpc_pb.CreateOfferRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.CreateOfferReply.deserializeBinary
- );
-
- createOffer(
- request: grpc_pb.CreateOfferRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- createOffer(
- request: grpc_pb.CreateOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.CreateOfferReply) => void): grpcWeb.ClientReadableStream;
-
- createOffer(
- request: grpc_pb.CreateOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.CreateOfferReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/CreateOffer',
- request,
- metadata || {},
- this.methodInfoCreateOffer,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/CreateOffer',
- request,
- metadata || {},
- this.methodInfoCreateOffer);
- }
-
- methodInfoCancelOffer = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Offers/CancelOffer',
- grpcWeb.MethodType.UNARY,
- grpc_pb.CancelOfferRequest,
- grpc_pb.CancelOfferReply,
- (request: grpc_pb.CancelOfferRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.CancelOfferReply.deserializeBinary
- );
-
- cancelOffer(
- request: grpc_pb.CancelOfferRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- cancelOffer(
- request: grpc_pb.CancelOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.CancelOfferReply) => void): grpcWeb.ClientReadableStream;
-
- cancelOffer(
- request: grpc_pb.CancelOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.CancelOfferReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/CancelOffer',
- request,
- metadata || {},
- this.methodInfoCancelOffer,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Offers/CancelOffer',
- request,
- metadata || {},
- this.methodInfoCancelOffer);
- }
-
-}
-
-export class PaymentAccountsClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoCreatePaymentAccount = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.PaymentAccounts/CreatePaymentAccount',
- grpcWeb.MethodType.UNARY,
- grpc_pb.CreatePaymentAccountRequest,
- grpc_pb.CreatePaymentAccountReply,
- (request: grpc_pb.CreatePaymentAccountRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.CreatePaymentAccountReply.deserializeBinary
- );
-
- createPaymentAccount(
- request: grpc_pb.CreatePaymentAccountRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- createPaymentAccount(
- request: grpc_pb.CreatePaymentAccountRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.CreatePaymentAccountReply) => void): grpcWeb.ClientReadableStream;
-
- createPaymentAccount(
- request: grpc_pb.CreatePaymentAccountRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.CreatePaymentAccountReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/CreatePaymentAccount',
- request,
- metadata || {},
- this.methodInfoCreatePaymentAccount,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/CreatePaymentAccount',
- request,
- metadata || {},
- this.methodInfoCreatePaymentAccount);
- }
-
- methodInfoGetPaymentAccounts = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentAccounts',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetPaymentAccountsRequest,
- grpc_pb.GetPaymentAccountsReply,
- (request: grpc_pb.GetPaymentAccountsRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetPaymentAccountsReply.deserializeBinary
- );
-
- getPaymentAccounts(
- request: grpc_pb.GetPaymentAccountsRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getPaymentAccounts(
- request: grpc_pb.GetPaymentAccountsRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetPaymentAccountsReply) => void): grpcWeb.ClientReadableStream;
-
- getPaymentAccounts(
- request: grpc_pb.GetPaymentAccountsRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetPaymentAccountsReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentAccounts',
- request,
- metadata || {},
- this.methodInfoGetPaymentAccounts,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentAccounts',
- request,
- metadata || {},
- this.methodInfoGetPaymentAccounts);
- }
-
- methodInfoGetPaymentMethods = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentMethods',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetPaymentMethodsRequest,
- grpc_pb.GetPaymentMethodsReply,
- (request: grpc_pb.GetPaymentMethodsRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetPaymentMethodsReply.deserializeBinary
- );
-
- getPaymentMethods(
- request: grpc_pb.GetPaymentMethodsRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getPaymentMethods(
- request: grpc_pb.GetPaymentMethodsRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetPaymentMethodsReply) => void): grpcWeb.ClientReadableStream;
-
- getPaymentMethods(
- request: grpc_pb.GetPaymentMethodsRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetPaymentMethodsReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentMethods',
- request,
- metadata || {},
- this.methodInfoGetPaymentMethods,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentMethods',
- request,
- metadata || {},
- this.methodInfoGetPaymentMethods);
- }
-
- methodInfoGetPaymentAccountForm = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentAccountForm',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetPaymentAccountFormRequest,
- grpc_pb.GetPaymentAccountFormReply,
- (request: grpc_pb.GetPaymentAccountFormRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetPaymentAccountFormReply.deserializeBinary
- );
-
- getPaymentAccountForm(
- request: grpc_pb.GetPaymentAccountFormRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getPaymentAccountForm(
- request: grpc_pb.GetPaymentAccountFormRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetPaymentAccountFormReply) => void): grpcWeb.ClientReadableStream;
-
- getPaymentAccountForm(
- request: grpc_pb.GetPaymentAccountFormRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetPaymentAccountFormReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentAccountForm',
- request,
- metadata || {},
- this.methodInfoGetPaymentAccountForm,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetPaymentAccountForm',
- request,
- metadata || {},
- this.methodInfoGetPaymentAccountForm);
- }
-
- methodInfoCreateCryptoCurrencyPaymentAccount = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.PaymentAccounts/CreateCryptoCurrencyPaymentAccount',
- grpcWeb.MethodType.UNARY,
- grpc_pb.CreateCryptoCurrencyPaymentAccountRequest,
- grpc_pb.CreateCryptoCurrencyPaymentAccountReply,
- (request: grpc_pb.CreateCryptoCurrencyPaymentAccountRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.CreateCryptoCurrencyPaymentAccountReply.deserializeBinary
- );
-
- createCryptoCurrencyPaymentAccount(
- request: grpc_pb.CreateCryptoCurrencyPaymentAccountRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- createCryptoCurrencyPaymentAccount(
- request: grpc_pb.CreateCryptoCurrencyPaymentAccountRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.CreateCryptoCurrencyPaymentAccountReply) => void): grpcWeb.ClientReadableStream;
-
- createCryptoCurrencyPaymentAccount(
- request: grpc_pb.CreateCryptoCurrencyPaymentAccountRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.CreateCryptoCurrencyPaymentAccountReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/CreateCryptoCurrencyPaymentAccount',
- request,
- metadata || {},
- this.methodInfoCreateCryptoCurrencyPaymentAccount,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/CreateCryptoCurrencyPaymentAccount',
- request,
- metadata || {},
- this.methodInfoCreateCryptoCurrencyPaymentAccount);
- }
-
- methodInfoGetCryptoCurrencyPaymentMethods = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.PaymentAccounts/GetCryptoCurrencyPaymentMethods',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetCryptoCurrencyPaymentMethodsRequest,
- grpc_pb.GetCryptoCurrencyPaymentMethodsReply,
- (request: grpc_pb.GetCryptoCurrencyPaymentMethodsRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetCryptoCurrencyPaymentMethodsReply.deserializeBinary
- );
-
- getCryptoCurrencyPaymentMethods(
- request: grpc_pb.GetCryptoCurrencyPaymentMethodsRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getCryptoCurrencyPaymentMethods(
- request: grpc_pb.GetCryptoCurrencyPaymentMethodsRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetCryptoCurrencyPaymentMethodsReply) => void): grpcWeb.ClientReadableStream;
-
- getCryptoCurrencyPaymentMethods(
- request: grpc_pb.GetCryptoCurrencyPaymentMethodsRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetCryptoCurrencyPaymentMethodsReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetCryptoCurrencyPaymentMethods',
- request,
- metadata || {},
- this.methodInfoGetCryptoCurrencyPaymentMethods,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.PaymentAccounts/GetCryptoCurrencyPaymentMethods',
- request,
- metadata || {},
- this.methodInfoGetCryptoCurrencyPaymentMethods);
- }
-
-}
-
-export class PriceClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetMarketPrice = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Price/GetMarketPrice',
- grpcWeb.MethodType.UNARY,
- grpc_pb.MarketPriceRequest,
- grpc_pb.MarketPriceReply,
- (request: grpc_pb.MarketPriceRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.MarketPriceReply.deserializeBinary
- );
-
- getMarketPrice(
- request: grpc_pb.MarketPriceRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getMarketPrice(
- request: grpc_pb.MarketPriceRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.MarketPriceReply) => void): grpcWeb.ClientReadableStream;
-
- getMarketPrice(
- request: grpc_pb.MarketPriceRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.MarketPriceReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Price/GetMarketPrice',
- request,
- metadata || {},
- this.methodInfoGetMarketPrice,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Price/GetMarketPrice',
- request,
- metadata || {},
- this.methodInfoGetMarketPrice);
- }
-
- methodInfoGetMarketPrices = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Price/GetMarketPrices',
- grpcWeb.MethodType.UNARY,
- grpc_pb.MarketPricesRequest,
- grpc_pb.MarketPricesReply,
- (request: grpc_pb.MarketPricesRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.MarketPricesReply.deserializeBinary
- );
-
- getMarketPrices(
- request: grpc_pb.MarketPricesRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getMarketPrices(
- request: grpc_pb.MarketPricesRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.MarketPricesReply) => void): grpcWeb.ClientReadableStream;
-
- getMarketPrices(
- request: grpc_pb.MarketPricesRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.MarketPricesReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Price/GetMarketPrices',
- request,
- metadata || {},
- this.methodInfoGetMarketPrices,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Price/GetMarketPrices',
- request,
- metadata || {},
- this.methodInfoGetMarketPrices);
- }
-
-}
-
-export class GetTradeStatisticsClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetTradeStatistics = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.GetTradeStatistics/GetTradeStatistics',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetTradeStatisticsRequest,
- grpc_pb.GetTradeStatisticsReply,
- (request: grpc_pb.GetTradeStatisticsRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetTradeStatisticsReply.deserializeBinary
- );
-
- getTradeStatistics(
- request: grpc_pb.GetTradeStatisticsRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getTradeStatistics(
- request: grpc_pb.GetTradeStatisticsRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTradeStatisticsReply) => void): grpcWeb.ClientReadableStream;
-
- getTradeStatistics(
- request: grpc_pb.GetTradeStatisticsRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTradeStatisticsReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.GetTradeStatistics/GetTradeStatistics',
- request,
- metadata || {},
- this.methodInfoGetTradeStatistics,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.GetTradeStatistics/GetTradeStatistics',
- request,
- metadata || {},
- this.methodInfoGetTradeStatistics);
- }
-
-}
-
-export class ShutdownServerClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoStop = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.ShutdownServer/Stop',
- grpcWeb.MethodType.UNARY,
- grpc_pb.StopRequest,
- grpc_pb.StopReply,
- (request: grpc_pb.StopRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.StopReply.deserializeBinary
- );
-
- stop(
- request: grpc_pb.StopRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- stop(
- request: grpc_pb.StopRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.StopReply) => void): grpcWeb.ClientReadableStream;
-
- stop(
- request: grpc_pb.StopRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.StopReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.ShutdownServer/Stop',
- request,
- metadata || {},
- this.methodInfoStop,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.ShutdownServer/Stop',
- request,
- metadata || {},
- this.methodInfoStop);
- }
-
-}
-
-export class TradesClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetTrade = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Trades/GetTrade',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetTradeRequest,
- grpc_pb.GetTradeReply,
- (request: grpc_pb.GetTradeRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetTradeReply.deserializeBinary
- );
-
- getTrade(
- request: grpc_pb.GetTradeRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getTrade(
- request: grpc_pb.GetTradeRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTradeReply) => void): grpcWeb.ClientReadableStream;
-
- getTrade(
- request: grpc_pb.GetTradeRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTradeReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/GetTrade',
- request,
- metadata || {},
- this.methodInfoGetTrade,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/GetTrade',
- request,
- metadata || {},
- this.methodInfoGetTrade);
- }
-
- methodInfoTakeOffer = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Trades/TakeOffer',
- grpcWeb.MethodType.UNARY,
- grpc_pb.TakeOfferRequest,
- grpc_pb.TakeOfferReply,
- (request: grpc_pb.TakeOfferRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.TakeOfferReply.deserializeBinary
- );
-
- takeOffer(
- request: grpc_pb.TakeOfferRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- takeOffer(
- request: grpc_pb.TakeOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.TakeOfferReply) => void): grpcWeb.ClientReadableStream;
-
- takeOffer(
- request: grpc_pb.TakeOfferRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.TakeOfferReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/TakeOffer',
- request,
- metadata || {},
- this.methodInfoTakeOffer,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/TakeOffer',
- request,
- metadata || {},
- this.methodInfoTakeOffer);
- }
-
- methodInfoConfirmPaymentStarted = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Trades/ConfirmPaymentStarted',
- grpcWeb.MethodType.UNARY,
- grpc_pb.ConfirmPaymentStartedRequest,
- grpc_pb.ConfirmPaymentStartedReply,
- (request: grpc_pb.ConfirmPaymentStartedRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.ConfirmPaymentStartedReply.deserializeBinary
- );
-
- confirmPaymentStarted(
- request: grpc_pb.ConfirmPaymentStartedRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- confirmPaymentStarted(
- request: grpc_pb.ConfirmPaymentStartedRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.ConfirmPaymentStartedReply) => void): grpcWeb.ClientReadableStream;
-
- confirmPaymentStarted(
- request: grpc_pb.ConfirmPaymentStartedRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.ConfirmPaymentStartedReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/ConfirmPaymentStarted',
- request,
- metadata || {},
- this.methodInfoConfirmPaymentStarted,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/ConfirmPaymentStarted',
- request,
- metadata || {},
- this.methodInfoConfirmPaymentStarted);
- }
-
- methodInfoConfirmPaymentReceived = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Trades/ConfirmPaymentReceived',
- grpcWeb.MethodType.UNARY,
- grpc_pb.ConfirmPaymentReceivedRequest,
- grpc_pb.ConfirmPaymentReceivedReply,
- (request: grpc_pb.ConfirmPaymentReceivedRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.ConfirmPaymentReceivedReply.deserializeBinary
- );
-
- confirmPaymentReceived(
- request: grpc_pb.ConfirmPaymentReceivedRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- confirmPaymentReceived(
- request: grpc_pb.ConfirmPaymentReceivedRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.ConfirmPaymentReceivedReply) => void): grpcWeb.ClientReadableStream;
-
- confirmPaymentReceived(
- request: grpc_pb.ConfirmPaymentReceivedRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.ConfirmPaymentReceivedReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/ConfirmPaymentReceived',
- request,
- metadata || {},
- this.methodInfoConfirmPaymentReceived,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/ConfirmPaymentReceived',
- request,
- metadata || {},
- this.methodInfoConfirmPaymentReceived);
- }
-
- methodInfoKeepFunds = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Trades/KeepFunds',
- grpcWeb.MethodType.UNARY,
- grpc_pb.KeepFundsRequest,
- grpc_pb.KeepFundsReply,
- (request: grpc_pb.KeepFundsRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.KeepFundsReply.deserializeBinary
- );
-
- keepFunds(
- request: grpc_pb.KeepFundsRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- keepFunds(
- request: grpc_pb.KeepFundsRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.KeepFundsReply) => void): grpcWeb.ClientReadableStream;
-
- keepFunds(
- request: grpc_pb.KeepFundsRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.KeepFundsReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/KeepFunds',
- request,
- metadata || {},
- this.methodInfoKeepFunds,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/KeepFunds',
- request,
- metadata || {},
- this.methodInfoKeepFunds);
- }
-
- methodInfoWithdrawFunds = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Trades/WithdrawFunds',
- grpcWeb.MethodType.UNARY,
- grpc_pb.WithdrawFundsRequest,
- grpc_pb.WithdrawFundsReply,
- (request: grpc_pb.WithdrawFundsRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.WithdrawFundsReply.deserializeBinary
- );
-
- withdrawFunds(
- request: grpc_pb.WithdrawFundsRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- withdrawFunds(
- request: grpc_pb.WithdrawFundsRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.WithdrawFundsReply) => void): grpcWeb.ClientReadableStream;
-
- withdrawFunds(
- request: grpc_pb.WithdrawFundsRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.WithdrawFundsReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/WithdrawFunds',
- request,
- metadata || {},
- this.methodInfoWithdrawFunds,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Trades/WithdrawFunds',
- request,
- metadata || {},
- this.methodInfoWithdrawFunds);
- }
-
-}
-
-export class WalletsClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetBalances = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/GetBalances',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetBalancesRequest,
- grpc_pb.GetBalancesReply,
- (request: grpc_pb.GetBalancesRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetBalancesReply.deserializeBinary
- );
-
- getBalances(
- request: grpc_pb.GetBalancesRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getBalances(
- request: grpc_pb.GetBalancesRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetBalancesReply) => void): grpcWeb.ClientReadableStream;
-
- getBalances(
- request: grpc_pb.GetBalancesRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetBalancesReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetBalances',
- request,
- metadata || {},
- this.methodInfoGetBalances,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetBalances',
- request,
- metadata || {},
- this.methodInfoGetBalances);
- }
-
- methodInfoGetNewDepositSubaddress = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/GetNewDepositSubaddress',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetNewDepositSubaddressRequest,
- grpc_pb.GetNewDepositSubaddressReply,
- (request: grpc_pb.GetNewDepositSubaddressRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetNewDepositSubaddressReply.deserializeBinary
- );
-
- getNewDepositSubaddress(
- request: grpc_pb.GetNewDepositSubaddressRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getNewDepositSubaddress(
- request: grpc_pb.GetNewDepositSubaddressRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetNewDepositSubaddressReply) => void): grpcWeb.ClientReadableStream;
-
- getNewDepositSubaddress(
- request: grpc_pb.GetNewDepositSubaddressRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetNewDepositSubaddressReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetNewDepositSubaddress',
- request,
- metadata || {},
- this.methodInfoGetNewDepositSubaddress,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetNewDepositSubaddress',
- request,
- metadata || {},
- this.methodInfoGetNewDepositSubaddress);
- }
-
- methodInfoGetAddressBalance = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/GetAddressBalance',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetAddressBalanceRequest,
- grpc_pb.GetAddressBalanceReply,
- (request: grpc_pb.GetAddressBalanceRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetAddressBalanceReply.deserializeBinary
- );
-
- getAddressBalance(
- request: grpc_pb.GetAddressBalanceRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getAddressBalance(
- request: grpc_pb.GetAddressBalanceRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetAddressBalanceReply) => void): grpcWeb.ClientReadableStream;
-
- getAddressBalance(
- request: grpc_pb.GetAddressBalanceRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetAddressBalanceReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetAddressBalance',
- request,
- metadata || {},
- this.methodInfoGetAddressBalance,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetAddressBalance',
- request,
- metadata || {},
- this.methodInfoGetAddressBalance);
- }
-
- methodInfoSendBtc = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/SendBtc',
- grpcWeb.MethodType.UNARY,
- grpc_pb.SendBtcRequest,
- grpc_pb.SendBtcReply,
- (request: grpc_pb.SendBtcRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.SendBtcReply.deserializeBinary
- );
-
- sendBtc(
- request: grpc_pb.SendBtcRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- sendBtc(
- request: grpc_pb.SendBtcRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.SendBtcReply) => void): grpcWeb.ClientReadableStream;
-
- sendBtc(
- request: grpc_pb.SendBtcRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.SendBtcReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/SendBtc',
- request,
- metadata || {},
- this.methodInfoSendBtc,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/SendBtc',
- request,
- metadata || {},
- this.methodInfoSendBtc);
- }
-
- methodInfoGetTxFeeRate = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/GetTxFeeRate',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetTxFeeRateRequest,
- grpc_pb.GetTxFeeRateReply,
- (request: grpc_pb.GetTxFeeRateRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetTxFeeRateReply.deserializeBinary
- );
-
- getTxFeeRate(
- request: grpc_pb.GetTxFeeRateRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getTxFeeRate(
- request: grpc_pb.GetTxFeeRateRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTxFeeRateReply) => void): grpcWeb.ClientReadableStream;
-
- getTxFeeRate(
- request: grpc_pb.GetTxFeeRateRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTxFeeRateReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetTxFeeRate',
- request,
- metadata || {},
- this.methodInfoGetTxFeeRate,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetTxFeeRate',
- request,
- metadata || {},
- this.methodInfoGetTxFeeRate);
- }
-
- methodInfoSetTxFeeRatePreference = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/SetTxFeeRatePreference',
- grpcWeb.MethodType.UNARY,
- grpc_pb.SetTxFeeRatePreferenceRequest,
- grpc_pb.SetTxFeeRatePreferenceReply,
- (request: grpc_pb.SetTxFeeRatePreferenceRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.SetTxFeeRatePreferenceReply.deserializeBinary
- );
-
- setTxFeeRatePreference(
- request: grpc_pb.SetTxFeeRatePreferenceRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- setTxFeeRatePreference(
- request: grpc_pb.SetTxFeeRatePreferenceRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.SetTxFeeRatePreferenceReply) => void): grpcWeb.ClientReadableStream;
-
- setTxFeeRatePreference(
- request: grpc_pb.SetTxFeeRatePreferenceRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.SetTxFeeRatePreferenceReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/SetTxFeeRatePreference',
- request,
- metadata || {},
- this.methodInfoSetTxFeeRatePreference,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/SetTxFeeRatePreference',
- request,
- metadata || {},
- this.methodInfoSetTxFeeRatePreference);
- }
-
- methodInfoUnsetTxFeeRatePreference = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/UnsetTxFeeRatePreference',
- grpcWeb.MethodType.UNARY,
- grpc_pb.UnsetTxFeeRatePreferenceRequest,
- grpc_pb.UnsetTxFeeRatePreferenceReply,
- (request: grpc_pb.UnsetTxFeeRatePreferenceRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.UnsetTxFeeRatePreferenceReply.deserializeBinary
- );
-
- unsetTxFeeRatePreference(
- request: grpc_pb.UnsetTxFeeRatePreferenceRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- unsetTxFeeRatePreference(
- request: grpc_pb.UnsetTxFeeRatePreferenceRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.UnsetTxFeeRatePreferenceReply) => void): grpcWeb.ClientReadableStream;
-
- unsetTxFeeRatePreference(
- request: grpc_pb.UnsetTxFeeRatePreferenceRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.UnsetTxFeeRatePreferenceReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/UnsetTxFeeRatePreference',
- request,
- metadata || {},
- this.methodInfoUnsetTxFeeRatePreference,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/UnsetTxFeeRatePreference',
- request,
- metadata || {},
- this.methodInfoUnsetTxFeeRatePreference);
- }
-
- methodInfoGetTransaction = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/GetTransaction',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetTransactionRequest,
- grpc_pb.GetTransactionReply,
- (request: grpc_pb.GetTransactionRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetTransactionReply.deserializeBinary
- );
-
- getTransaction(
- request: grpc_pb.GetTransactionRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getTransaction(
- request: grpc_pb.GetTransactionRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTransactionReply) => void): grpcWeb.ClientReadableStream;
-
- getTransaction(
- request: grpc_pb.GetTransactionRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetTransactionReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetTransaction',
- request,
- metadata || {},
- this.methodInfoGetTransaction,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetTransaction',
- request,
- metadata || {},
- this.methodInfoGetTransaction);
- }
-
- methodInfoGetFundingAddresses = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/GetFundingAddresses',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetFundingAddressesRequest,
- grpc_pb.GetFundingAddressesReply,
- (request: grpc_pb.GetFundingAddressesRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetFundingAddressesReply.deserializeBinary
- );
-
- getFundingAddresses(
- request: grpc_pb.GetFundingAddressesRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getFundingAddresses(
- request: grpc_pb.GetFundingAddressesRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetFundingAddressesReply) => void): grpcWeb.ClientReadableStream;
-
- getFundingAddresses(
- request: grpc_pb.GetFundingAddressesRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetFundingAddressesReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetFundingAddresses',
- request,
- metadata || {},
- this.methodInfoGetFundingAddresses,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/GetFundingAddresses',
- request,
- metadata || {},
- this.methodInfoGetFundingAddresses);
- }
-
- methodInfoSetWalletPassword = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/SetWalletPassword',
- grpcWeb.MethodType.UNARY,
- grpc_pb.SetWalletPasswordRequest,
- grpc_pb.SetWalletPasswordReply,
- (request: grpc_pb.SetWalletPasswordRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.SetWalletPasswordReply.deserializeBinary
- );
-
- setWalletPassword(
- request: grpc_pb.SetWalletPasswordRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- setWalletPassword(
- request: grpc_pb.SetWalletPasswordRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.SetWalletPasswordReply) => void): grpcWeb.ClientReadableStream;
-
- setWalletPassword(
- request: grpc_pb.SetWalletPasswordRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.SetWalletPasswordReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/SetWalletPassword',
- request,
- metadata || {},
- this.methodInfoSetWalletPassword,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/SetWalletPassword',
- request,
- metadata || {},
- this.methodInfoSetWalletPassword);
- }
-
- methodInfoRemoveWalletPassword = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/RemoveWalletPassword',
- grpcWeb.MethodType.UNARY,
- grpc_pb.RemoveWalletPasswordRequest,
- grpc_pb.RemoveWalletPasswordReply,
- (request: grpc_pb.RemoveWalletPasswordRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.RemoveWalletPasswordReply.deserializeBinary
- );
-
- removeWalletPassword(
- request: grpc_pb.RemoveWalletPasswordRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- removeWalletPassword(
- request: grpc_pb.RemoveWalletPasswordRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.RemoveWalletPasswordReply) => void): grpcWeb.ClientReadableStream;
-
- removeWalletPassword(
- request: grpc_pb.RemoveWalletPasswordRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.RemoveWalletPasswordReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/RemoveWalletPassword',
- request,
- metadata || {},
- this.methodInfoRemoveWalletPassword,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/RemoveWalletPassword',
- request,
- metadata || {},
- this.methodInfoRemoveWalletPassword);
- }
-
- methodInfoLockWallet = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/LockWallet',
- grpcWeb.MethodType.UNARY,
- grpc_pb.LockWalletRequest,
- grpc_pb.LockWalletReply,
- (request: grpc_pb.LockWalletRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.LockWalletReply.deserializeBinary
- );
-
- lockWallet(
- request: grpc_pb.LockWalletRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- lockWallet(
- request: grpc_pb.LockWalletRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.LockWalletReply) => void): grpcWeb.ClientReadableStream;
-
- lockWallet(
- request: grpc_pb.LockWalletRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.LockWalletReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/LockWallet',
- request,
- metadata || {},
- this.methodInfoLockWallet,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/LockWallet',
- request,
- metadata || {},
- this.methodInfoLockWallet);
- }
-
- methodInfoUnlockWallet = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.Wallets/UnlockWallet',
- grpcWeb.MethodType.UNARY,
- grpc_pb.UnlockWalletRequest,
- grpc_pb.UnlockWalletReply,
- (request: grpc_pb.UnlockWalletRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.UnlockWalletReply.deserializeBinary
- );
-
- unlockWallet(
- request: grpc_pb.UnlockWalletRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- unlockWallet(
- request: grpc_pb.UnlockWalletRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.UnlockWalletReply) => void): grpcWeb.ClientReadableStream;
-
- unlockWallet(
- request: grpc_pb.UnlockWalletRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.UnlockWalletReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/UnlockWallet',
- request,
- metadata || {},
- this.methodInfoUnlockWallet,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.Wallets/UnlockWallet',
- request,
- metadata || {},
- this.methodInfoUnlockWallet);
- }
-
-}
-
-export class GetVersionClient {
- client_: grpcWeb.AbstractClientBase;
- hostname_: string;
- credentials_: null | { [index: string]: string; };
- options_: null | { [index: string]: any; };
-
- constructor (hostname: string,
- credentials?: null | { [index: string]: string; },
- options?: null | { [index: string]: any; }) {
- if (!options) options = {};
- if (!credentials) credentials = {};
- options['format'] = 'text';
-
- this.client_ = new grpcWeb.GrpcWebClientBase(options);
- this.hostname_ = hostname;
- this.credentials_ = credentials;
- this.options_ = options;
- }
-
- methodInfoGetVersion = new grpcWeb.MethodDescriptor(
- '/io.bisq.protobuffer.GetVersion/GetVersion',
- grpcWeb.MethodType.UNARY,
- grpc_pb.GetVersionRequest,
- grpc_pb.GetVersionReply,
- (request: grpc_pb.GetVersionRequest) => {
- return request.serializeBinary();
- },
- grpc_pb.GetVersionReply.deserializeBinary
- );
-
- getVersion(
- request: grpc_pb.GetVersionRequest,
- metadata: grpcWeb.Metadata | null): Promise;
-
- getVersion(
- request: grpc_pb.GetVersionRequest,
- metadata: grpcWeb.Metadata | null,
- callback: (err: grpcWeb.RpcError,
- response: grpc_pb.GetVersionReply) => void): grpcWeb.ClientReadableStream;
-
- getVersion(
- request: grpc_pb.GetVersionRequest,
- metadata: grpcWeb.Metadata | null,
- callback?: (err: grpcWeb.RpcError,
- response: grpc_pb.GetVersionReply) => void) {
- if (callback !== undefined) {
- return this.client_.rpcCall(
- this.hostname_ +
- '/io.bisq.protobuffer.GetVersion/GetVersion',
- request,
- metadata || {},
- this.methodInfoGetVersion,
- callback);
- }
- return this.client_.unaryCall(
- this.hostname_ +
- '/io.bisq.protobuffer.GetVersion/GetVersion',
- request,
- metadata || {},
- this.methodInfoGetVersion);
- }
-
-}
-
diff --git a/src/protobuf/grpc_pb.d.ts b/src/protobuf/grpc_pb.d.ts
deleted file mode 100644
index 31b3cc95..00000000
--- a/src/protobuf/grpc_pb.d.ts
+++ /dev/null
@@ -1,1971 +0,0 @@
-import * as jspb from 'google-protobuf'
-
-import * as pb_pb from './pb_pb';
-
-
-export class RegisterDisputeAgentRequest extends jspb.Message {
- getDisputeAgentType(): string;
- setDisputeAgentType(value: string): RegisterDisputeAgentRequest;
-
- getRegistrationKey(): string;
- setRegistrationKey(value: string): RegisterDisputeAgentRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): RegisterDisputeAgentRequest.AsObject;
- static toObject(includeInstance: boolean, msg: RegisterDisputeAgentRequest): RegisterDisputeAgentRequest.AsObject;
- static serializeBinaryToWriter(message: RegisterDisputeAgentRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): RegisterDisputeAgentRequest;
- static deserializeBinaryFromReader(message: RegisterDisputeAgentRequest, reader: jspb.BinaryReader): RegisterDisputeAgentRequest;
-}
-
-export namespace RegisterDisputeAgentRequest {
- export type AsObject = {
- disputeAgentType: string,
- registrationKey: string,
- }
-}
-
-export class RegisterDisputeAgentReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): RegisterDisputeAgentReply.AsObject;
- static toObject(includeInstance: boolean, msg: RegisterDisputeAgentReply): RegisterDisputeAgentReply.AsObject;
- static serializeBinaryToWriter(message: RegisterDisputeAgentReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): RegisterDisputeAgentReply;
- static deserializeBinaryFromReader(message: RegisterDisputeAgentReply, reader: jspb.BinaryReader): RegisterDisputeAgentReply;
-}
-
-export namespace RegisterDisputeAgentReply {
- export type AsObject = {
- }
-}
-
-export class GetMethodHelpRequest extends jspb.Message {
- getMethodName(): string;
- setMethodName(value: string): GetMethodHelpRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetMethodHelpRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetMethodHelpRequest): GetMethodHelpRequest.AsObject;
- static serializeBinaryToWriter(message: GetMethodHelpRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetMethodHelpRequest;
- static deserializeBinaryFromReader(message: GetMethodHelpRequest, reader: jspb.BinaryReader): GetMethodHelpRequest;
-}
-
-export namespace GetMethodHelpRequest {
- export type AsObject = {
- methodName: string,
- }
-}
-
-export class GetMethodHelpReply extends jspb.Message {
- getMethodHelp(): string;
- setMethodHelp(value: string): GetMethodHelpReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetMethodHelpReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetMethodHelpReply): GetMethodHelpReply.AsObject;
- static serializeBinaryToWriter(message: GetMethodHelpReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetMethodHelpReply;
- static deserializeBinaryFromReader(message: GetMethodHelpReply, reader: jspb.BinaryReader): GetMethodHelpReply;
-}
-
-export namespace GetMethodHelpReply {
- export type AsObject = {
- methodHelp: string,
- }
-}
-
-export class GetOfferRequest extends jspb.Message {
- getId(): string;
- setId(value: string): GetOfferRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetOfferRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetOfferRequest): GetOfferRequest.AsObject;
- static serializeBinaryToWriter(message: GetOfferRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetOfferRequest;
- static deserializeBinaryFromReader(message: GetOfferRequest, reader: jspb.BinaryReader): GetOfferRequest;
-}
-
-export namespace GetOfferRequest {
- export type AsObject = {
- id: string,
- }
-}
-
-export class GetOfferReply extends jspb.Message {
- getOffer(): OfferInfo | undefined;
- setOffer(value?: OfferInfo): GetOfferReply;
- hasOffer(): boolean;
- clearOffer(): GetOfferReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetOfferReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetOfferReply): GetOfferReply.AsObject;
- static serializeBinaryToWriter(message: GetOfferReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetOfferReply;
- static deserializeBinaryFromReader(message: GetOfferReply, reader: jspb.BinaryReader): GetOfferReply;
-}
-
-export namespace GetOfferReply {
- export type AsObject = {
- offer?: OfferInfo.AsObject,
- }
-}
-
-export class GetMyOfferRequest extends jspb.Message {
- getId(): string;
- setId(value: string): GetMyOfferRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetMyOfferRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetMyOfferRequest): GetMyOfferRequest.AsObject;
- static serializeBinaryToWriter(message: GetMyOfferRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetMyOfferRequest;
- static deserializeBinaryFromReader(message: GetMyOfferRequest, reader: jspb.BinaryReader): GetMyOfferRequest;
-}
-
-export namespace GetMyOfferRequest {
- export type AsObject = {
- id: string,
- }
-}
-
-export class GetMyOfferReply extends jspb.Message {
- getOffer(): OfferInfo | undefined;
- setOffer(value?: OfferInfo): GetMyOfferReply;
- hasOffer(): boolean;
- clearOffer(): GetMyOfferReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetMyOfferReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetMyOfferReply): GetMyOfferReply.AsObject;
- static serializeBinaryToWriter(message: GetMyOfferReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetMyOfferReply;
- static deserializeBinaryFromReader(message: GetMyOfferReply, reader: jspb.BinaryReader): GetMyOfferReply;
-}
-
-export namespace GetMyOfferReply {
- export type AsObject = {
- offer?: OfferInfo.AsObject,
- }
-}
-
-export class GetOffersRequest extends jspb.Message {
- getDirection(): string;
- setDirection(value: string): GetOffersRequest;
-
- getCurrencyCode(): string;
- setCurrencyCode(value: string): GetOffersRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetOffersRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetOffersRequest): GetOffersRequest.AsObject;
- static serializeBinaryToWriter(message: GetOffersRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetOffersRequest;
- static deserializeBinaryFromReader(message: GetOffersRequest, reader: jspb.BinaryReader): GetOffersRequest;
-}
-
-export namespace GetOffersRequest {
- export type AsObject = {
- direction: string,
- currencyCode: string,
- }
-}
-
-export class GetOffersReply extends jspb.Message {
- getOffersList(): Array;
- setOffersList(value: Array): GetOffersReply;
- clearOffersList(): GetOffersReply;
- addOffers(value?: OfferInfo, index?: number): OfferInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetOffersReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetOffersReply): GetOffersReply.AsObject;
- static serializeBinaryToWriter(message: GetOffersReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetOffersReply;
- static deserializeBinaryFromReader(message: GetOffersReply, reader: jspb.BinaryReader): GetOffersReply;
-}
-
-export namespace GetOffersReply {
- export type AsObject = {
- offersList: Array,
- }
-}
-
-export class GetMyOffersRequest extends jspb.Message {
- getDirection(): string;
- setDirection(value: string): GetMyOffersRequest;
-
- getCurrencyCode(): string;
- setCurrencyCode(value: string): GetMyOffersRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetMyOffersRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetMyOffersRequest): GetMyOffersRequest.AsObject;
- static serializeBinaryToWriter(message: GetMyOffersRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetMyOffersRequest;
- static deserializeBinaryFromReader(message: GetMyOffersRequest, reader: jspb.BinaryReader): GetMyOffersRequest;
-}
-
-export namespace GetMyOffersRequest {
- export type AsObject = {
- direction: string,
- currencyCode: string,
- }
-}
-
-export class GetMyOffersReply extends jspb.Message {
- getOffersList(): Array;
- setOffersList(value: Array): GetMyOffersReply;
- clearOffersList(): GetMyOffersReply;
- addOffers(value?: OfferInfo, index?: number): OfferInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetMyOffersReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetMyOffersReply): GetMyOffersReply.AsObject;
- static serializeBinaryToWriter(message: GetMyOffersReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetMyOffersReply;
- static deserializeBinaryFromReader(message: GetMyOffersReply, reader: jspb.BinaryReader): GetMyOffersReply;
-}
-
-export namespace GetMyOffersReply {
- export type AsObject = {
- offersList: Array,
- }
-}
-
-export class CreateOfferRequest extends jspb.Message {
- getCurrencyCode(): string;
- setCurrencyCode(value: string): CreateOfferRequest;
-
- getDirection(): string;
- setDirection(value: string): CreateOfferRequest;
-
- getPrice(): string;
- setPrice(value: string): CreateOfferRequest;
-
- getUseMarketBasedPrice(): boolean;
- setUseMarketBasedPrice(value: boolean): CreateOfferRequest;
-
- getMarketPriceMargin(): number;
- setMarketPriceMargin(value: number): CreateOfferRequest;
-
- getAmount(): string;
- setAmount(value: string): CreateOfferRequest;
-
- getMinAmount(): string;
- setMinAmount(value: string): CreateOfferRequest;
-
- getBuyerSecurityDeposit(): number;
- setBuyerSecurityDeposit(value: number): CreateOfferRequest;
-
- getTriggerPrice(): string;
- setTriggerPrice(value: string): CreateOfferRequest;
-
- getPaymentAccountId(): string;
- setPaymentAccountId(value: string): CreateOfferRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CreateOfferRequest.AsObject;
- static toObject(includeInstance: boolean, msg: CreateOfferRequest): CreateOfferRequest.AsObject;
- static serializeBinaryToWriter(message: CreateOfferRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CreateOfferRequest;
- static deserializeBinaryFromReader(message: CreateOfferRequest, reader: jspb.BinaryReader): CreateOfferRequest;
-}
-
-export namespace CreateOfferRequest {
- export type AsObject = {
- currencyCode: string,
- direction: string,
- price: string,
- useMarketBasedPrice: boolean,
- marketPriceMargin: number,
- amount: string,
- minAmount: string,
- buyerSecurityDeposit: number,
- triggerPrice: string,
- paymentAccountId: string,
- }
-}
-
-export class CreateOfferReply extends jspb.Message {
- getOffer(): OfferInfo | undefined;
- setOffer(value?: OfferInfo): CreateOfferReply;
- hasOffer(): boolean;
- clearOffer(): CreateOfferReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CreateOfferReply.AsObject;
- static toObject(includeInstance: boolean, msg: CreateOfferReply): CreateOfferReply.AsObject;
- static serializeBinaryToWriter(message: CreateOfferReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CreateOfferReply;
- static deserializeBinaryFromReader(message: CreateOfferReply, reader: jspb.BinaryReader): CreateOfferReply;
-}
-
-export namespace CreateOfferReply {
- export type AsObject = {
- offer?: OfferInfo.AsObject,
- }
-}
-
-export class CancelOfferRequest extends jspb.Message {
- getId(): string;
- setId(value: string): CancelOfferRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CancelOfferRequest.AsObject;
- static toObject(includeInstance: boolean, msg: CancelOfferRequest): CancelOfferRequest.AsObject;
- static serializeBinaryToWriter(message: CancelOfferRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CancelOfferRequest;
- static deserializeBinaryFromReader(message: CancelOfferRequest, reader: jspb.BinaryReader): CancelOfferRequest;
-}
-
-export namespace CancelOfferRequest {
- export type AsObject = {
- id: string,
- }
-}
-
-export class CancelOfferReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CancelOfferReply.AsObject;
- static toObject(includeInstance: boolean, msg: CancelOfferReply): CancelOfferReply.AsObject;
- static serializeBinaryToWriter(message: CancelOfferReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CancelOfferReply;
- static deserializeBinaryFromReader(message: CancelOfferReply, reader: jspb.BinaryReader): CancelOfferReply;
-}
-
-export namespace CancelOfferReply {
- export type AsObject = {
- }
-}
-
-export class OfferInfo extends jspb.Message {
- getId(): string;
- setId(value: string): OfferInfo;
-
- getDirection(): string;
- setDirection(value: string): OfferInfo;
-
- getPrice(): number;
- setPrice(value: number): OfferInfo;
-
- getUseMarketBasedPrice(): boolean;
- setUseMarketBasedPrice(value: boolean): OfferInfo;
-
- getMarketPriceMargin(): number;
- setMarketPriceMargin(value: number): OfferInfo;
-
- getAmount(): number;
- setAmount(value: number): OfferInfo;
-
- getMinAmount(): number;
- setMinAmount(value: number): OfferInfo;
-
- getVolume(): number;
- setVolume(value: number): OfferInfo;
-
- getMinVolume(): number;
- setMinVolume(value: number): OfferInfo;
-
- getBuyerSecurityDeposit(): number;
- setBuyerSecurityDeposit(value: number): OfferInfo;
-
- getTriggerPrice(): number;
- setTriggerPrice(value: number): OfferInfo;
-
- getPaymentAccountId(): string;
- setPaymentAccountId(value: string): OfferInfo;
-
- getPaymentMethodId(): string;
- setPaymentMethodId(value: string): OfferInfo;
-
- getPaymentMethodShortName(): string;
- setPaymentMethodShortName(value: string): OfferInfo;
-
- getBaseCurrencyCode(): string;
- setBaseCurrencyCode(value: string): OfferInfo;
-
- getCounterCurrencyCode(): string;
- setCounterCurrencyCode(value: string): OfferInfo;
-
- getDate(): number;
- setDate(value: number): OfferInfo;
-
- getState(): string;
- setState(value: string): OfferInfo;
-
- getSellerSecurityDeposit(): number;
- setSellerSecurityDeposit(value: number): OfferInfo;
-
- getOfferFeePaymentTxId(): string;
- setOfferFeePaymentTxId(value: string): OfferInfo;
-
- getTxFee(): number;
- setTxFee(value: number): OfferInfo;
-
- getMakerFee(): number;
- setMakerFee(value: number): OfferInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): OfferInfo.AsObject;
- static toObject(includeInstance: boolean, msg: OfferInfo): OfferInfo.AsObject;
- static serializeBinaryToWriter(message: OfferInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): OfferInfo;
- static deserializeBinaryFromReader(message: OfferInfo, reader: jspb.BinaryReader): OfferInfo;
-}
-
-export namespace OfferInfo {
- export type AsObject = {
- id: string,
- direction: string,
- price: number,
- useMarketBasedPrice: boolean,
- marketPriceMargin: number,
- amount: number,
- minAmount: number,
- volume: number,
- minVolume: number,
- buyerSecurityDeposit: number,
- triggerPrice: number,
- paymentAccountId: string,
- paymentMethodId: string,
- paymentMethodShortName: string,
- baseCurrencyCode: string,
- counterCurrencyCode: string,
- date: number,
- state: string,
- sellerSecurityDeposit: number,
- offerFeePaymentTxId: string,
- txFee: number,
- makerFee: number,
- }
-}
-
-export class AvailabilityResultWithDescription extends jspb.Message {
- getAvailabilityResult(): pb_pb.AvailabilityResult;
- setAvailabilityResult(value: pb_pb.AvailabilityResult): AvailabilityResultWithDescription;
-
- getDescription(): string;
- setDescription(value: string): AvailabilityResultWithDescription;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): AvailabilityResultWithDescription.AsObject;
- static toObject(includeInstance: boolean, msg: AvailabilityResultWithDescription): AvailabilityResultWithDescription.AsObject;
- static serializeBinaryToWriter(message: AvailabilityResultWithDescription, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): AvailabilityResultWithDescription;
- static deserializeBinaryFromReader(message: AvailabilityResultWithDescription, reader: jspb.BinaryReader): AvailabilityResultWithDescription;
-}
-
-export namespace AvailabilityResultWithDescription {
- export type AsObject = {
- availabilityResult: pb_pb.AvailabilityResult,
- description: string,
- }
-}
-
-export class CreatePaymentAccountRequest extends jspb.Message {
- getPaymentAccountForm(): string;
- setPaymentAccountForm(value: string): CreatePaymentAccountRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CreatePaymentAccountRequest.AsObject;
- static toObject(includeInstance: boolean, msg: CreatePaymentAccountRequest): CreatePaymentAccountRequest.AsObject;
- static serializeBinaryToWriter(message: CreatePaymentAccountRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CreatePaymentAccountRequest;
- static deserializeBinaryFromReader(message: CreatePaymentAccountRequest, reader: jspb.BinaryReader): CreatePaymentAccountRequest;
-}
-
-export namespace CreatePaymentAccountRequest {
- export type AsObject = {
- paymentAccountForm: string,
- }
-}
-
-export class CreatePaymentAccountReply extends jspb.Message {
- getPaymentAccount(): pb_pb.PaymentAccount | undefined;
- setPaymentAccount(value?: pb_pb.PaymentAccount): CreatePaymentAccountReply;
- hasPaymentAccount(): boolean;
- clearPaymentAccount(): CreatePaymentAccountReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CreatePaymentAccountReply.AsObject;
- static toObject(includeInstance: boolean, msg: CreatePaymentAccountReply): CreatePaymentAccountReply.AsObject;
- static serializeBinaryToWriter(message: CreatePaymentAccountReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CreatePaymentAccountReply;
- static deserializeBinaryFromReader(message: CreatePaymentAccountReply, reader: jspb.BinaryReader): CreatePaymentAccountReply;
-}
-
-export namespace CreatePaymentAccountReply {
- export type AsObject = {
- paymentAccount?: pb_pb.PaymentAccount.AsObject,
- }
-}
-
-export class GetPaymentAccountsRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPaymentAccountsRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetPaymentAccountsRequest): GetPaymentAccountsRequest.AsObject;
- static serializeBinaryToWriter(message: GetPaymentAccountsRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPaymentAccountsRequest;
- static deserializeBinaryFromReader(message: GetPaymentAccountsRequest, reader: jspb.BinaryReader): GetPaymentAccountsRequest;
-}
-
-export namespace GetPaymentAccountsRequest {
- export type AsObject = {
- }
-}
-
-export class GetPaymentAccountsReply extends jspb.Message {
- getPaymentAccountsList(): Array;
- setPaymentAccountsList(value: Array): GetPaymentAccountsReply;
- clearPaymentAccountsList(): GetPaymentAccountsReply;
- addPaymentAccounts(value?: pb_pb.PaymentAccount, index?: number): pb_pb.PaymentAccount;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPaymentAccountsReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetPaymentAccountsReply): GetPaymentAccountsReply.AsObject;
- static serializeBinaryToWriter(message: GetPaymentAccountsReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPaymentAccountsReply;
- static deserializeBinaryFromReader(message: GetPaymentAccountsReply, reader: jspb.BinaryReader): GetPaymentAccountsReply;
-}
-
-export namespace GetPaymentAccountsReply {
- export type AsObject = {
- paymentAccountsList: Array,
- }
-}
-
-export class GetPaymentMethodsRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPaymentMethodsRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetPaymentMethodsRequest): GetPaymentMethodsRequest.AsObject;
- static serializeBinaryToWriter(message: GetPaymentMethodsRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPaymentMethodsRequest;
- static deserializeBinaryFromReader(message: GetPaymentMethodsRequest, reader: jspb.BinaryReader): GetPaymentMethodsRequest;
-}
-
-export namespace GetPaymentMethodsRequest {
- export type AsObject = {
- }
-}
-
-export class GetPaymentMethodsReply extends jspb.Message {
- getPaymentMethodsList(): Array;
- setPaymentMethodsList(value: Array): GetPaymentMethodsReply;
- clearPaymentMethodsList(): GetPaymentMethodsReply;
- addPaymentMethods(value?: pb_pb.PaymentMethod, index?: number): pb_pb.PaymentMethod;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPaymentMethodsReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetPaymentMethodsReply): GetPaymentMethodsReply.AsObject;
- static serializeBinaryToWriter(message: GetPaymentMethodsReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPaymentMethodsReply;
- static deserializeBinaryFromReader(message: GetPaymentMethodsReply, reader: jspb.BinaryReader): GetPaymentMethodsReply;
-}
-
-export namespace GetPaymentMethodsReply {
- export type AsObject = {
- paymentMethodsList: Array,
- }
-}
-
-export class GetPaymentAccountFormRequest extends jspb.Message {
- getPaymentMethodId(): string;
- setPaymentMethodId(value: string): GetPaymentAccountFormRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPaymentAccountFormRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetPaymentAccountFormRequest): GetPaymentAccountFormRequest.AsObject;
- static serializeBinaryToWriter(message: GetPaymentAccountFormRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPaymentAccountFormRequest;
- static deserializeBinaryFromReader(message: GetPaymentAccountFormRequest, reader: jspb.BinaryReader): GetPaymentAccountFormRequest;
-}
-
-export namespace GetPaymentAccountFormRequest {
- export type AsObject = {
- paymentMethodId: string,
- }
-}
-
-export class GetPaymentAccountFormReply extends jspb.Message {
- getPaymentAccountFormJson(): string;
- setPaymentAccountFormJson(value: string): GetPaymentAccountFormReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPaymentAccountFormReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetPaymentAccountFormReply): GetPaymentAccountFormReply.AsObject;
- static serializeBinaryToWriter(message: GetPaymentAccountFormReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPaymentAccountFormReply;
- static deserializeBinaryFromReader(message: GetPaymentAccountFormReply, reader: jspb.BinaryReader): GetPaymentAccountFormReply;
-}
-
-export namespace GetPaymentAccountFormReply {
- export type AsObject = {
- paymentAccountFormJson: string,
- }
-}
-
-export class CreateCryptoCurrencyPaymentAccountRequest extends jspb.Message {
- getAccountName(): string;
- setAccountName(value: string): CreateCryptoCurrencyPaymentAccountRequest;
-
- getCurrencyCode(): string;
- setCurrencyCode(value: string): CreateCryptoCurrencyPaymentAccountRequest;
-
- getAddress(): string;
- setAddress(value: string): CreateCryptoCurrencyPaymentAccountRequest;
-
- getTradeInstant(): boolean;
- setTradeInstant(value: boolean): CreateCryptoCurrencyPaymentAccountRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CreateCryptoCurrencyPaymentAccountRequest.AsObject;
- static toObject(includeInstance: boolean, msg: CreateCryptoCurrencyPaymentAccountRequest): CreateCryptoCurrencyPaymentAccountRequest.AsObject;
- static serializeBinaryToWriter(message: CreateCryptoCurrencyPaymentAccountRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CreateCryptoCurrencyPaymentAccountRequest;
- static deserializeBinaryFromReader(message: CreateCryptoCurrencyPaymentAccountRequest, reader: jspb.BinaryReader): CreateCryptoCurrencyPaymentAccountRequest;
-}
-
-export namespace CreateCryptoCurrencyPaymentAccountRequest {
- export type AsObject = {
- accountName: string,
- currencyCode: string,
- address: string,
- tradeInstant: boolean,
- }
-}
-
-export class CreateCryptoCurrencyPaymentAccountReply extends jspb.Message {
- getPaymentAccount(): pb_pb.PaymentAccount | undefined;
- setPaymentAccount(value?: pb_pb.PaymentAccount): CreateCryptoCurrencyPaymentAccountReply;
- hasPaymentAccount(): boolean;
- clearPaymentAccount(): CreateCryptoCurrencyPaymentAccountReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): CreateCryptoCurrencyPaymentAccountReply.AsObject;
- static toObject(includeInstance: boolean, msg: CreateCryptoCurrencyPaymentAccountReply): CreateCryptoCurrencyPaymentAccountReply.AsObject;
- static serializeBinaryToWriter(message: CreateCryptoCurrencyPaymentAccountReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): CreateCryptoCurrencyPaymentAccountReply;
- static deserializeBinaryFromReader(message: CreateCryptoCurrencyPaymentAccountReply, reader: jspb.BinaryReader): CreateCryptoCurrencyPaymentAccountReply;
-}
-
-export namespace CreateCryptoCurrencyPaymentAccountReply {
- export type AsObject = {
- paymentAccount?: pb_pb.PaymentAccount.AsObject,
- }
-}
-
-export class GetCryptoCurrencyPaymentMethodsRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetCryptoCurrencyPaymentMethodsRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetCryptoCurrencyPaymentMethodsRequest): GetCryptoCurrencyPaymentMethodsRequest.AsObject;
- static serializeBinaryToWriter(message: GetCryptoCurrencyPaymentMethodsRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetCryptoCurrencyPaymentMethodsRequest;
- static deserializeBinaryFromReader(message: GetCryptoCurrencyPaymentMethodsRequest, reader: jspb.BinaryReader): GetCryptoCurrencyPaymentMethodsRequest;
-}
-
-export namespace GetCryptoCurrencyPaymentMethodsRequest {
- export type AsObject = {
- }
-}
-
-export class GetCryptoCurrencyPaymentMethodsReply extends jspb.Message {
- getPaymentMethodsList(): Array;
- setPaymentMethodsList(value: Array): GetCryptoCurrencyPaymentMethodsReply;
- clearPaymentMethodsList(): GetCryptoCurrencyPaymentMethodsReply;
- addPaymentMethods(value?: pb_pb.PaymentMethod, index?: number): pb_pb.PaymentMethod;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetCryptoCurrencyPaymentMethodsReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetCryptoCurrencyPaymentMethodsReply): GetCryptoCurrencyPaymentMethodsReply.AsObject;
- static serializeBinaryToWriter(message: GetCryptoCurrencyPaymentMethodsReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetCryptoCurrencyPaymentMethodsReply;
- static deserializeBinaryFromReader(message: GetCryptoCurrencyPaymentMethodsReply, reader: jspb.BinaryReader): GetCryptoCurrencyPaymentMethodsReply;
-}
-
-export namespace GetCryptoCurrencyPaymentMethodsReply {
- export type AsObject = {
- paymentMethodsList: Array,
- }
-}
-
-export class MarketPriceRequest extends jspb.Message {
- getCurrencyCode(): string;
- setCurrencyCode(value: string): MarketPriceRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): MarketPriceRequest.AsObject;
- static toObject(includeInstance: boolean, msg: MarketPriceRequest): MarketPriceRequest.AsObject;
- static serializeBinaryToWriter(message: MarketPriceRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): MarketPriceRequest;
- static deserializeBinaryFromReader(message: MarketPriceRequest, reader: jspb.BinaryReader): MarketPriceRequest;
-}
-
-export namespace MarketPriceRequest {
- export type AsObject = {
- currencyCode: string,
- }
-}
-
-export class MarketPriceReply extends jspb.Message {
- getPrice(): number;
- setPrice(value: number): MarketPriceReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): MarketPriceReply.AsObject;
- static toObject(includeInstance: boolean, msg: MarketPriceReply): MarketPriceReply.AsObject;
- static serializeBinaryToWriter(message: MarketPriceReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): MarketPriceReply;
- static deserializeBinaryFromReader(message: MarketPriceReply, reader: jspb.BinaryReader): MarketPriceReply;
-}
-
-export namespace MarketPriceReply {
- export type AsObject = {
- price: number,
- }
-}
-
-export class MarketPricesRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): MarketPricesRequest.AsObject;
- static toObject(includeInstance: boolean, msg: MarketPricesRequest): MarketPricesRequest.AsObject;
- static serializeBinaryToWriter(message: MarketPricesRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): MarketPricesRequest;
- static deserializeBinaryFromReader(message: MarketPricesRequest, reader: jspb.BinaryReader): MarketPricesRequest;
-}
-
-export namespace MarketPricesRequest {
- export type AsObject = {
- }
-}
-
-export class MarketPricesReply extends jspb.Message {
- getMarketPriceList(): Array;
- setMarketPriceList(value: Array): MarketPricesReply;
- clearMarketPriceList(): MarketPricesReply;
- addMarketPrice(value?: MarketPriceInfo, index?: number): MarketPriceInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): MarketPricesReply.AsObject;
- static toObject(includeInstance: boolean, msg: MarketPricesReply): MarketPricesReply.AsObject;
- static serializeBinaryToWriter(message: MarketPricesReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): MarketPricesReply;
- static deserializeBinaryFromReader(message: MarketPricesReply, reader: jspb.BinaryReader): MarketPricesReply;
-}
-
-export namespace MarketPricesReply {
- export type AsObject = {
- marketPriceList: Array,
- }
-}
-
-export class MarketPriceInfo extends jspb.Message {
- getCurrencyCode(): string;
- setCurrencyCode(value: string): MarketPriceInfo;
-
- getPrice(): number;
- setPrice(value: number): MarketPriceInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): MarketPriceInfo.AsObject;
- static toObject(includeInstance: boolean, msg: MarketPriceInfo): MarketPriceInfo.AsObject;
- static serializeBinaryToWriter(message: MarketPriceInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): MarketPriceInfo;
- static deserializeBinaryFromReader(message: MarketPriceInfo, reader: jspb.BinaryReader): MarketPriceInfo;
-}
-
-export namespace MarketPriceInfo {
- export type AsObject = {
- currencyCode: string,
- price: number,
- }
-}
-
-export class GetTradeStatisticsRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTradeStatisticsRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetTradeStatisticsRequest): GetTradeStatisticsRequest.AsObject;
- static serializeBinaryToWriter(message: GetTradeStatisticsRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTradeStatisticsRequest;
- static deserializeBinaryFromReader(message: GetTradeStatisticsRequest, reader: jspb.BinaryReader): GetTradeStatisticsRequest;
-}
-
-export namespace GetTradeStatisticsRequest {
- export type AsObject = {
- }
-}
-
-export class GetTradeStatisticsReply extends jspb.Message {
- getTradeStatisticsList(): Array;
- setTradeStatisticsList(value: Array): GetTradeStatisticsReply;
- clearTradeStatisticsList(): GetTradeStatisticsReply;
- addTradeStatistics(value?: pb_pb.TradeStatistics3, index?: number): pb_pb.TradeStatistics3;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTradeStatisticsReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetTradeStatisticsReply): GetTradeStatisticsReply.AsObject;
- static serializeBinaryToWriter(message: GetTradeStatisticsReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTradeStatisticsReply;
- static deserializeBinaryFromReader(message: GetTradeStatisticsReply, reader: jspb.BinaryReader): GetTradeStatisticsReply;
-}
-
-export namespace GetTradeStatisticsReply {
- export type AsObject = {
- tradeStatisticsList: Array,
- }
-}
-
-export class StopRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): StopRequest.AsObject;
- static toObject(includeInstance: boolean, msg: StopRequest): StopRequest.AsObject;
- static serializeBinaryToWriter(message: StopRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): StopRequest;
- static deserializeBinaryFromReader(message: StopRequest, reader: jspb.BinaryReader): StopRequest;
-}
-
-export namespace StopRequest {
- export type AsObject = {
- }
-}
-
-export class StopReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): StopReply.AsObject;
- static toObject(includeInstance: boolean, msg: StopReply): StopReply.AsObject;
- static serializeBinaryToWriter(message: StopReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): StopReply;
- static deserializeBinaryFromReader(message: StopReply, reader: jspb.BinaryReader): StopReply;
-}
-
-export namespace StopReply {
- export type AsObject = {
- }
-}
-
-export class TakeOfferRequest extends jspb.Message {
- getOfferId(): string;
- setOfferId(value: string): TakeOfferRequest;
-
- getPaymentAccountId(): string;
- setPaymentAccountId(value: string): TakeOfferRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): TakeOfferRequest.AsObject;
- static toObject(includeInstance: boolean, msg: TakeOfferRequest): TakeOfferRequest.AsObject;
- static serializeBinaryToWriter(message: TakeOfferRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): TakeOfferRequest;
- static deserializeBinaryFromReader(message: TakeOfferRequest, reader: jspb.BinaryReader): TakeOfferRequest;
-}
-
-export namespace TakeOfferRequest {
- export type AsObject = {
- offerId: string,
- paymentAccountId: string,
- }
-}
-
-export class TakeOfferReply extends jspb.Message {
- getTrade(): TradeInfo | undefined;
- setTrade(value?: TradeInfo): TakeOfferReply;
- hasTrade(): boolean;
- clearTrade(): TakeOfferReply;
-
- getFailureReason(): AvailabilityResultWithDescription | undefined;
- setFailureReason(value?: AvailabilityResultWithDescription): TakeOfferReply;
- hasFailureReason(): boolean;
- clearFailureReason(): TakeOfferReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): TakeOfferReply.AsObject;
- static toObject(includeInstance: boolean, msg: TakeOfferReply): TakeOfferReply.AsObject;
- static serializeBinaryToWriter(message: TakeOfferReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): TakeOfferReply;
- static deserializeBinaryFromReader(message: TakeOfferReply, reader: jspb.BinaryReader): TakeOfferReply;
-}
-
-export namespace TakeOfferReply {
- export type AsObject = {
- trade?: TradeInfo.AsObject,
- failureReason?: AvailabilityResultWithDescription.AsObject,
- }
-}
-
-export class ConfirmPaymentStartedRequest extends jspb.Message {
- getTradeId(): string;
- setTradeId(value: string): ConfirmPaymentStartedRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): ConfirmPaymentStartedRequest.AsObject;
- static toObject(includeInstance: boolean, msg: ConfirmPaymentStartedRequest): ConfirmPaymentStartedRequest.AsObject;
- static serializeBinaryToWriter(message: ConfirmPaymentStartedRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): ConfirmPaymentStartedRequest;
- static deserializeBinaryFromReader(message: ConfirmPaymentStartedRequest, reader: jspb.BinaryReader): ConfirmPaymentStartedRequest;
-}
-
-export namespace ConfirmPaymentStartedRequest {
- export type AsObject = {
- tradeId: string,
- }
-}
-
-export class ConfirmPaymentStartedReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): ConfirmPaymentStartedReply.AsObject;
- static toObject(includeInstance: boolean, msg: ConfirmPaymentStartedReply): ConfirmPaymentStartedReply.AsObject;
- static serializeBinaryToWriter(message: ConfirmPaymentStartedReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): ConfirmPaymentStartedReply;
- static deserializeBinaryFromReader(message: ConfirmPaymentStartedReply, reader: jspb.BinaryReader): ConfirmPaymentStartedReply;
-}
-
-export namespace ConfirmPaymentStartedReply {
- export type AsObject = {
- }
-}
-
-export class ConfirmPaymentReceivedRequest extends jspb.Message {
- getTradeId(): string;
- setTradeId(value: string): ConfirmPaymentReceivedRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): ConfirmPaymentReceivedRequest.AsObject;
- static toObject(includeInstance: boolean, msg: ConfirmPaymentReceivedRequest): ConfirmPaymentReceivedRequest.AsObject;
- static serializeBinaryToWriter(message: ConfirmPaymentReceivedRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): ConfirmPaymentReceivedRequest;
- static deserializeBinaryFromReader(message: ConfirmPaymentReceivedRequest, reader: jspb.BinaryReader): ConfirmPaymentReceivedRequest;
-}
-
-export namespace ConfirmPaymentReceivedRequest {
- export type AsObject = {
- tradeId: string,
- }
-}
-
-export class ConfirmPaymentReceivedReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): ConfirmPaymentReceivedReply.AsObject;
- static toObject(includeInstance: boolean, msg: ConfirmPaymentReceivedReply): ConfirmPaymentReceivedReply.AsObject;
- static serializeBinaryToWriter(message: ConfirmPaymentReceivedReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): ConfirmPaymentReceivedReply;
- static deserializeBinaryFromReader(message: ConfirmPaymentReceivedReply, reader: jspb.BinaryReader): ConfirmPaymentReceivedReply;
-}
-
-export namespace ConfirmPaymentReceivedReply {
- export type AsObject = {
- }
-}
-
-export class GetTradeRequest extends jspb.Message {
- getTradeId(): string;
- setTradeId(value: string): GetTradeRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTradeRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetTradeRequest): GetTradeRequest.AsObject;
- static serializeBinaryToWriter(message: GetTradeRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTradeRequest;
- static deserializeBinaryFromReader(message: GetTradeRequest, reader: jspb.BinaryReader): GetTradeRequest;
-}
-
-export namespace GetTradeRequest {
- export type AsObject = {
- tradeId: string,
- }
-}
-
-export class GetTradeReply extends jspb.Message {
- getTrade(): TradeInfo | undefined;
- setTrade(value?: TradeInfo): GetTradeReply;
- hasTrade(): boolean;
- clearTrade(): GetTradeReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTradeReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetTradeReply): GetTradeReply.AsObject;
- static serializeBinaryToWriter(message: GetTradeReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTradeReply;
- static deserializeBinaryFromReader(message: GetTradeReply, reader: jspb.BinaryReader): GetTradeReply;
-}
-
-export namespace GetTradeReply {
- export type AsObject = {
- trade?: TradeInfo.AsObject,
- }
-}
-
-export class KeepFundsRequest extends jspb.Message {
- getTradeId(): string;
- setTradeId(value: string): KeepFundsRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): KeepFundsRequest.AsObject;
- static toObject(includeInstance: boolean, msg: KeepFundsRequest): KeepFundsRequest.AsObject;
- static serializeBinaryToWriter(message: KeepFundsRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): KeepFundsRequest;
- static deserializeBinaryFromReader(message: KeepFundsRequest, reader: jspb.BinaryReader): KeepFundsRequest;
-}
-
-export namespace KeepFundsRequest {
- export type AsObject = {
- tradeId: string,
- }
-}
-
-export class KeepFundsReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): KeepFundsReply.AsObject;
- static toObject(includeInstance: boolean, msg: KeepFundsReply): KeepFundsReply.AsObject;
- static serializeBinaryToWriter(message: KeepFundsReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): KeepFundsReply;
- static deserializeBinaryFromReader(message: KeepFundsReply, reader: jspb.BinaryReader): KeepFundsReply;
-}
-
-export namespace KeepFundsReply {
- export type AsObject = {
- }
-}
-
-export class WithdrawFundsRequest extends jspb.Message {
- getTradeId(): string;
- setTradeId(value: string): WithdrawFundsRequest;
-
- getAddress(): string;
- setAddress(value: string): WithdrawFundsRequest;
-
- getMemo(): string;
- setMemo(value: string): WithdrawFundsRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): WithdrawFundsRequest.AsObject;
- static toObject(includeInstance: boolean, msg: WithdrawFundsRequest): WithdrawFundsRequest.AsObject;
- static serializeBinaryToWriter(message: WithdrawFundsRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): WithdrawFundsRequest;
- static deserializeBinaryFromReader(message: WithdrawFundsRequest, reader: jspb.BinaryReader): WithdrawFundsRequest;
-}
-
-export namespace WithdrawFundsRequest {
- export type AsObject = {
- tradeId: string,
- address: string,
- memo: string,
- }
-}
-
-export class WithdrawFundsReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): WithdrawFundsReply.AsObject;
- static toObject(includeInstance: boolean, msg: WithdrawFundsReply): WithdrawFundsReply.AsObject;
- static serializeBinaryToWriter(message: WithdrawFundsReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): WithdrawFundsReply;
- static deserializeBinaryFromReader(message: WithdrawFundsReply, reader: jspb.BinaryReader): WithdrawFundsReply;
-}
-
-export namespace WithdrawFundsReply {
- export type AsObject = {
- }
-}
-
-export class TradeInfo extends jspb.Message {
- getOffer(): OfferInfo | undefined;
- setOffer(value?: OfferInfo): TradeInfo;
- hasOffer(): boolean;
- clearOffer(): TradeInfo;
-
- getTradeId(): string;
- setTradeId(value: string): TradeInfo;
-
- getShortId(): string;
- setShortId(value: string): TradeInfo;
-
- getDate(): number;
- setDate(value: number): TradeInfo;
-
- getRole(): string;
- setRole(value: string): TradeInfo;
-
- getTxFeeAsLong(): number;
- setTxFeeAsLong(value: number): TradeInfo;
-
- getTakerFeeAsLong(): number;
- setTakerFeeAsLong(value: number): TradeInfo;
-
- getTakerFeeTxId(): string;
- setTakerFeeTxId(value: string): TradeInfo;
-
- getPayoutTxId(): string;
- setPayoutTxId(value: string): TradeInfo;
-
- getTradeAmountAsLong(): number;
- setTradeAmountAsLong(value: number): TradeInfo;
-
- getTradePrice(): number;
- setTradePrice(value: number): TradeInfo;
-
- getTradingPeerNodeAddress(): string;
- setTradingPeerNodeAddress(value: string): TradeInfo;
-
- getState(): string;
- setState(value: string): TradeInfo;
-
- getPhase(): string;
- setPhase(value: string): TradeInfo;
-
- getTradePeriodState(): string;
- setTradePeriodState(value: string): TradeInfo;
-
- getIsDepositPublished(): boolean;
- setIsDepositPublished(value: boolean): TradeInfo;
-
- getIsDepositConfirmed(): boolean;
- setIsDepositConfirmed(value: boolean): TradeInfo;
-
- getIsFiatSent(): boolean;
- setIsFiatSent(value: boolean): TradeInfo;
-
- getIsFiatReceived(): boolean;
- setIsFiatReceived(value: boolean): TradeInfo;
-
- getIsPayoutPublished(): boolean;
- setIsPayoutPublished(value: boolean): TradeInfo;
-
- getIsWithdrawn(): boolean;
- setIsWithdrawn(value: boolean): TradeInfo;
-
- getContractAsJson(): string;
- setContractAsJson(value: string): TradeInfo;
-
- getContract(): ContractInfo | undefined;
- setContract(value?: ContractInfo): TradeInfo;
- hasContract(): boolean;
- clearContract(): TradeInfo;
-
- getMakerDepositTxId(): string;
- setMakerDepositTxId(value: string): TradeInfo;
-
- getTakerDepositTxId(): string;
- setTakerDepositTxId(value: string): TradeInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): TradeInfo.AsObject;
- static toObject(includeInstance: boolean, msg: TradeInfo): TradeInfo.AsObject;
- static serializeBinaryToWriter(message: TradeInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): TradeInfo;
- static deserializeBinaryFromReader(message: TradeInfo, reader: jspb.BinaryReader): TradeInfo;
-}
-
-export namespace TradeInfo {
- export type AsObject = {
- offer?: OfferInfo.AsObject,
- tradeId: string,
- shortId: string,
- date: number,
- role: string,
- txFeeAsLong: number,
- takerFeeAsLong: number,
- takerFeeTxId: string,
- payoutTxId: string,
- tradeAmountAsLong: number,
- tradePrice: number,
- tradingPeerNodeAddress: string,
- state: string,
- phase: string,
- tradePeriodState: string,
- isDepositPublished: boolean,
- isDepositConfirmed: boolean,
- isFiatSent: boolean,
- isFiatReceived: boolean,
- isPayoutPublished: boolean,
- isWithdrawn: boolean,
- contractAsJson: string,
- contract?: ContractInfo.AsObject,
- makerDepositTxId: string,
- takerDepositTxId: string,
- }
-}
-
-export class ContractInfo extends jspb.Message {
- getBuyerNodeAddress(): string;
- setBuyerNodeAddress(value: string): ContractInfo;
-
- getSellerNodeAddress(): string;
- setSellerNodeAddress(value: string): ContractInfo;
-
- getIsBuyerMakerAndSellerTaker(): boolean;
- setIsBuyerMakerAndSellerTaker(value: boolean): ContractInfo;
-
- getMakerAccountId(): string;
- setMakerAccountId(value: string): ContractInfo;
-
- getTakerAccountId(): string;
- setTakerAccountId(value: string): ContractInfo;
-
- getMakerPaymentAccountPayload(): PaymentAccountPayloadInfo | undefined;
- setMakerPaymentAccountPayload(value?: PaymentAccountPayloadInfo): ContractInfo;
- hasMakerPaymentAccountPayload(): boolean;
- clearMakerPaymentAccountPayload(): ContractInfo;
-
- getTakerPaymentAccountPayload(): PaymentAccountPayloadInfo | undefined;
- setTakerPaymentAccountPayload(value?: PaymentAccountPayloadInfo): ContractInfo;
- hasTakerPaymentAccountPayload(): boolean;
- clearTakerPaymentAccountPayload(): ContractInfo;
-
- getMakerPayoutAddressString(): string;
- setMakerPayoutAddressString(value: string): ContractInfo;
-
- getTakerPayoutAddressString(): string;
- setTakerPayoutAddressString(value: string): ContractInfo;
-
- getLockTime(): number;
- setLockTime(value: number): ContractInfo;
-
- getArbitratorNodeAddress(): string;
- setArbitratorNodeAddress(value: string): ContractInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): ContractInfo.AsObject;
- static toObject(includeInstance: boolean, msg: ContractInfo): ContractInfo.AsObject;
- static serializeBinaryToWriter(message: ContractInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): ContractInfo;
- static deserializeBinaryFromReader(message: ContractInfo, reader: jspb.BinaryReader): ContractInfo;
-}
-
-export namespace ContractInfo {
- export type AsObject = {
- buyerNodeAddress: string,
- sellerNodeAddress: string,
- isBuyerMakerAndSellerTaker: boolean,
- makerAccountId: string,
- takerAccountId: string,
- makerPaymentAccountPayload?: PaymentAccountPayloadInfo.AsObject,
- takerPaymentAccountPayload?: PaymentAccountPayloadInfo.AsObject,
- makerPayoutAddressString: string,
- takerPayoutAddressString: string,
- lockTime: number,
- arbitratorNodeAddress: string,
- }
-}
-
-export class PaymentAccountPayloadInfo extends jspb.Message {
- getId(): string;
- setId(value: string): PaymentAccountPayloadInfo;
-
- getPaymentMethodId(): string;
- setPaymentMethodId(value: string): PaymentAccountPayloadInfo;
-
- getAddress(): string;
- setAddress(value: string): PaymentAccountPayloadInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): PaymentAccountPayloadInfo.AsObject;
- static toObject(includeInstance: boolean, msg: PaymentAccountPayloadInfo): PaymentAccountPayloadInfo.AsObject;
- static serializeBinaryToWriter(message: PaymentAccountPayloadInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): PaymentAccountPayloadInfo;
- static deserializeBinaryFromReader(message: PaymentAccountPayloadInfo, reader: jspb.BinaryReader): PaymentAccountPayloadInfo;
-}
-
-export namespace PaymentAccountPayloadInfo {
- export type AsObject = {
- id: string,
- paymentMethodId: string,
- address: string,
- }
-}
-
-export class TxFeeRateInfo extends jspb.Message {
- getUseCustomTxFeeRate(): boolean;
- setUseCustomTxFeeRate(value: boolean): TxFeeRateInfo;
-
- getCustomTxFeeRate(): number;
- setCustomTxFeeRate(value: number): TxFeeRateInfo;
-
- getFeeServiceRate(): number;
- setFeeServiceRate(value: number): TxFeeRateInfo;
-
- getLastFeeServiceRequestTs(): number;
- setLastFeeServiceRequestTs(value: number): TxFeeRateInfo;
-
- getMinFeeServiceRate(): number;
- setMinFeeServiceRate(value: number): TxFeeRateInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): TxFeeRateInfo.AsObject;
- static toObject(includeInstance: boolean, msg: TxFeeRateInfo): TxFeeRateInfo.AsObject;
- static serializeBinaryToWriter(message: TxFeeRateInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): TxFeeRateInfo;
- static deserializeBinaryFromReader(message: TxFeeRateInfo, reader: jspb.BinaryReader): TxFeeRateInfo;
-}
-
-export namespace TxFeeRateInfo {
- export type AsObject = {
- useCustomTxFeeRate: boolean,
- customTxFeeRate: number,
- feeServiceRate: number,
- lastFeeServiceRequestTs: number,
- minFeeServiceRate: number,
- }
-}
-
-export class TxInfo extends jspb.Message {
- getTxId(): string;
- setTxId(value: string): TxInfo;
-
- getInputSum(): number;
- setInputSum(value: number): TxInfo;
-
- getOutputSum(): number;
- setOutputSum(value: number): TxInfo;
-
- getFee(): number;
- setFee(value: number): TxInfo;
-
- getSize(): number;
- setSize(value: number): TxInfo;
-
- getIsPending(): boolean;
- setIsPending(value: boolean): TxInfo;
-
- getMemo(): string;
- setMemo(value: string): TxInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): TxInfo.AsObject;
- static toObject(includeInstance: boolean, msg: TxInfo): TxInfo.AsObject;
- static serializeBinaryToWriter(message: TxInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): TxInfo;
- static deserializeBinaryFromReader(message: TxInfo, reader: jspb.BinaryReader): TxInfo;
-}
-
-export namespace TxInfo {
- export type AsObject = {
- txId: string,
- inputSum: number,
- outputSum: number,
- fee: number,
- size: number,
- isPending: boolean,
- memo: string,
- }
-}
-
-export class GetBalancesRequest extends jspb.Message {
- getCurrencyCode(): string;
- setCurrencyCode(value: string): GetBalancesRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetBalancesRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetBalancesRequest): GetBalancesRequest.AsObject;
- static serializeBinaryToWriter(message: GetBalancesRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetBalancesRequest;
- static deserializeBinaryFromReader(message: GetBalancesRequest, reader: jspb.BinaryReader): GetBalancesRequest;
-}
-
-export namespace GetBalancesRequest {
- export type AsObject = {
- currencyCode: string,
- }
-}
-
-export class GetBalancesReply extends jspb.Message {
- getBalances(): BalancesInfo | undefined;
- setBalances(value?: BalancesInfo): GetBalancesReply;
- hasBalances(): boolean;
- clearBalances(): GetBalancesReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetBalancesReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetBalancesReply): GetBalancesReply.AsObject;
- static serializeBinaryToWriter(message: GetBalancesReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetBalancesReply;
- static deserializeBinaryFromReader(message: GetBalancesReply, reader: jspb.BinaryReader): GetBalancesReply;
-}
-
-export namespace GetBalancesReply {
- export type AsObject = {
- balances?: BalancesInfo.AsObject,
- }
-}
-
-export class GetNewDepositSubaddressRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetNewDepositSubaddressRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetNewDepositSubaddressRequest): GetNewDepositSubaddressRequest.AsObject;
- static serializeBinaryToWriter(message: GetNewDepositSubaddressRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetNewDepositSubaddressRequest;
- static deserializeBinaryFromReader(message: GetNewDepositSubaddressRequest, reader: jspb.BinaryReader): GetNewDepositSubaddressRequest;
-}
-
-export namespace GetNewDepositSubaddressRequest {
- export type AsObject = {
- }
-}
-
-export class GetNewDepositSubaddressReply extends jspb.Message {
- getSubaddress(): string;
- setSubaddress(value: string): GetNewDepositSubaddressReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetNewDepositSubaddressReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetNewDepositSubaddressReply): GetNewDepositSubaddressReply.AsObject;
- static serializeBinaryToWriter(message: GetNewDepositSubaddressReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetNewDepositSubaddressReply;
- static deserializeBinaryFromReader(message: GetNewDepositSubaddressReply, reader: jspb.BinaryReader): GetNewDepositSubaddressReply;
-}
-
-export namespace GetNewDepositSubaddressReply {
- export type AsObject = {
- subaddress: string,
- }
-}
-
-export class GetAddressBalanceRequest extends jspb.Message {
- getAddress(): string;
- setAddress(value: string): GetAddressBalanceRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetAddressBalanceRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetAddressBalanceRequest): GetAddressBalanceRequest.AsObject;
- static serializeBinaryToWriter(message: GetAddressBalanceRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetAddressBalanceRequest;
- static deserializeBinaryFromReader(message: GetAddressBalanceRequest, reader: jspb.BinaryReader): GetAddressBalanceRequest;
-}
-
-export namespace GetAddressBalanceRequest {
- export type AsObject = {
- address: string,
- }
-}
-
-export class GetAddressBalanceReply extends jspb.Message {
- getAddressBalanceInfo(): AddressBalanceInfo | undefined;
- setAddressBalanceInfo(value?: AddressBalanceInfo): GetAddressBalanceReply;
- hasAddressBalanceInfo(): boolean;
- clearAddressBalanceInfo(): GetAddressBalanceReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetAddressBalanceReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetAddressBalanceReply): GetAddressBalanceReply.AsObject;
- static serializeBinaryToWriter(message: GetAddressBalanceReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetAddressBalanceReply;
- static deserializeBinaryFromReader(message: GetAddressBalanceReply, reader: jspb.BinaryReader): GetAddressBalanceReply;
-}
-
-export namespace GetAddressBalanceReply {
- export type AsObject = {
- addressBalanceInfo?: AddressBalanceInfo.AsObject,
- }
-}
-
-export class SendBtcRequest extends jspb.Message {
- getAddress(): string;
- setAddress(value: string): SendBtcRequest;
-
- getAmount(): string;
- setAmount(value: string): SendBtcRequest;
-
- getTxFeeRate(): string;
- setTxFeeRate(value: string): SendBtcRequest;
-
- getMemo(): string;
- setMemo(value: string): SendBtcRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SendBtcRequest.AsObject;
- static toObject(includeInstance: boolean, msg: SendBtcRequest): SendBtcRequest.AsObject;
- static serializeBinaryToWriter(message: SendBtcRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SendBtcRequest;
- static deserializeBinaryFromReader(message: SendBtcRequest, reader: jspb.BinaryReader): SendBtcRequest;
-}
-
-export namespace SendBtcRequest {
- export type AsObject = {
- address: string,
- amount: string,
- txFeeRate: string,
- memo: string,
- }
-}
-
-export class SendBtcReply extends jspb.Message {
- getTxInfo(): TxInfo | undefined;
- setTxInfo(value?: TxInfo): SendBtcReply;
- hasTxInfo(): boolean;
- clearTxInfo(): SendBtcReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SendBtcReply.AsObject;
- static toObject(includeInstance: boolean, msg: SendBtcReply): SendBtcReply.AsObject;
- static serializeBinaryToWriter(message: SendBtcReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SendBtcReply;
- static deserializeBinaryFromReader(message: SendBtcReply, reader: jspb.BinaryReader): SendBtcReply;
-}
-
-export namespace SendBtcReply {
- export type AsObject = {
- txInfo?: TxInfo.AsObject,
- }
-}
-
-export class GetTxFeeRateRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTxFeeRateRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetTxFeeRateRequest): GetTxFeeRateRequest.AsObject;
- static serializeBinaryToWriter(message: GetTxFeeRateRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTxFeeRateRequest;
- static deserializeBinaryFromReader(message: GetTxFeeRateRequest, reader: jspb.BinaryReader): GetTxFeeRateRequest;
-}
-
-export namespace GetTxFeeRateRequest {
- export type AsObject = {
- }
-}
-
-export class GetTxFeeRateReply extends jspb.Message {
- getTxFeeRateInfo(): TxFeeRateInfo | undefined;
- setTxFeeRateInfo(value?: TxFeeRateInfo): GetTxFeeRateReply;
- hasTxFeeRateInfo(): boolean;
- clearTxFeeRateInfo(): GetTxFeeRateReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTxFeeRateReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetTxFeeRateReply): GetTxFeeRateReply.AsObject;
- static serializeBinaryToWriter(message: GetTxFeeRateReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTxFeeRateReply;
- static deserializeBinaryFromReader(message: GetTxFeeRateReply, reader: jspb.BinaryReader): GetTxFeeRateReply;
-}
-
-export namespace GetTxFeeRateReply {
- export type AsObject = {
- txFeeRateInfo?: TxFeeRateInfo.AsObject,
- }
-}
-
-export class SetTxFeeRatePreferenceRequest extends jspb.Message {
- getTxFeeRatePreference(): number;
- setTxFeeRatePreference(value: number): SetTxFeeRatePreferenceRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SetTxFeeRatePreferenceRequest.AsObject;
- static toObject(includeInstance: boolean, msg: SetTxFeeRatePreferenceRequest): SetTxFeeRatePreferenceRequest.AsObject;
- static serializeBinaryToWriter(message: SetTxFeeRatePreferenceRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SetTxFeeRatePreferenceRequest;
- static deserializeBinaryFromReader(message: SetTxFeeRatePreferenceRequest, reader: jspb.BinaryReader): SetTxFeeRatePreferenceRequest;
-}
-
-export namespace SetTxFeeRatePreferenceRequest {
- export type AsObject = {
- txFeeRatePreference: number,
- }
-}
-
-export class SetTxFeeRatePreferenceReply extends jspb.Message {
- getTxFeeRateInfo(): TxFeeRateInfo | undefined;
- setTxFeeRateInfo(value?: TxFeeRateInfo): SetTxFeeRatePreferenceReply;
- hasTxFeeRateInfo(): boolean;
- clearTxFeeRateInfo(): SetTxFeeRatePreferenceReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SetTxFeeRatePreferenceReply.AsObject;
- static toObject(includeInstance: boolean, msg: SetTxFeeRatePreferenceReply): SetTxFeeRatePreferenceReply.AsObject;
- static serializeBinaryToWriter(message: SetTxFeeRatePreferenceReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SetTxFeeRatePreferenceReply;
- static deserializeBinaryFromReader(message: SetTxFeeRatePreferenceReply, reader: jspb.BinaryReader): SetTxFeeRatePreferenceReply;
-}
-
-export namespace SetTxFeeRatePreferenceReply {
- export type AsObject = {
- txFeeRateInfo?: TxFeeRateInfo.AsObject,
- }
-}
-
-export class UnsetTxFeeRatePreferenceRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): UnsetTxFeeRatePreferenceRequest.AsObject;
- static toObject(includeInstance: boolean, msg: UnsetTxFeeRatePreferenceRequest): UnsetTxFeeRatePreferenceRequest.AsObject;
- static serializeBinaryToWriter(message: UnsetTxFeeRatePreferenceRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): UnsetTxFeeRatePreferenceRequest;
- static deserializeBinaryFromReader(message: UnsetTxFeeRatePreferenceRequest, reader: jspb.BinaryReader): UnsetTxFeeRatePreferenceRequest;
-}
-
-export namespace UnsetTxFeeRatePreferenceRequest {
- export type AsObject = {
- }
-}
-
-export class UnsetTxFeeRatePreferenceReply extends jspb.Message {
- getTxFeeRateInfo(): TxFeeRateInfo | undefined;
- setTxFeeRateInfo(value?: TxFeeRateInfo): UnsetTxFeeRatePreferenceReply;
- hasTxFeeRateInfo(): boolean;
- clearTxFeeRateInfo(): UnsetTxFeeRatePreferenceReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): UnsetTxFeeRatePreferenceReply.AsObject;
- static toObject(includeInstance: boolean, msg: UnsetTxFeeRatePreferenceReply): UnsetTxFeeRatePreferenceReply.AsObject;
- static serializeBinaryToWriter(message: UnsetTxFeeRatePreferenceReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): UnsetTxFeeRatePreferenceReply;
- static deserializeBinaryFromReader(message: UnsetTxFeeRatePreferenceReply, reader: jspb.BinaryReader): UnsetTxFeeRatePreferenceReply;
-}
-
-export namespace UnsetTxFeeRatePreferenceReply {
- export type AsObject = {
- txFeeRateInfo?: TxFeeRateInfo.AsObject,
- }
-}
-
-export class GetTransactionRequest extends jspb.Message {
- getTxId(): string;
- setTxId(value: string): GetTransactionRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTransactionRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetTransactionRequest): GetTransactionRequest.AsObject;
- static serializeBinaryToWriter(message: GetTransactionRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTransactionRequest;
- static deserializeBinaryFromReader(message: GetTransactionRequest, reader: jspb.BinaryReader): GetTransactionRequest;
-}
-
-export namespace GetTransactionRequest {
- export type AsObject = {
- txId: string,
- }
-}
-
-export class GetTransactionReply extends jspb.Message {
- getTxInfo(): TxInfo | undefined;
- setTxInfo(value?: TxInfo): GetTransactionReply;
- hasTxInfo(): boolean;
- clearTxInfo(): GetTransactionReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetTransactionReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetTransactionReply): GetTransactionReply.AsObject;
- static serializeBinaryToWriter(message: GetTransactionReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetTransactionReply;
- static deserializeBinaryFromReader(message: GetTransactionReply, reader: jspb.BinaryReader): GetTransactionReply;
-}
-
-export namespace GetTransactionReply {
- export type AsObject = {
- txInfo?: TxInfo.AsObject,
- }
-}
-
-export class GetFundingAddressesRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetFundingAddressesRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetFundingAddressesRequest): GetFundingAddressesRequest.AsObject;
- static serializeBinaryToWriter(message: GetFundingAddressesRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetFundingAddressesRequest;
- static deserializeBinaryFromReader(message: GetFundingAddressesRequest, reader: jspb.BinaryReader): GetFundingAddressesRequest;
-}
-
-export namespace GetFundingAddressesRequest {
- export type AsObject = {
- }
-}
-
-export class GetFundingAddressesReply extends jspb.Message {
- getAddressBalanceInfoList(): Array;
- setAddressBalanceInfoList(value: Array): GetFundingAddressesReply;
- clearAddressBalanceInfoList(): GetFundingAddressesReply;
- addAddressBalanceInfo(value?: AddressBalanceInfo, index?: number): AddressBalanceInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetFundingAddressesReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetFundingAddressesReply): GetFundingAddressesReply.AsObject;
- static serializeBinaryToWriter(message: GetFundingAddressesReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetFundingAddressesReply;
- static deserializeBinaryFromReader(message: GetFundingAddressesReply, reader: jspb.BinaryReader): GetFundingAddressesReply;
-}
-
-export namespace GetFundingAddressesReply {
- export type AsObject = {
- addressBalanceInfoList: Array,
- }
-}
-
-export class SetWalletPasswordRequest extends jspb.Message {
- getPassword(): string;
- setPassword(value: string): SetWalletPasswordRequest;
-
- getNewPassword(): string;
- setNewPassword(value: string): SetWalletPasswordRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SetWalletPasswordRequest.AsObject;
- static toObject(includeInstance: boolean, msg: SetWalletPasswordRequest): SetWalletPasswordRequest.AsObject;
- static serializeBinaryToWriter(message: SetWalletPasswordRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SetWalletPasswordRequest;
- static deserializeBinaryFromReader(message: SetWalletPasswordRequest, reader: jspb.BinaryReader): SetWalletPasswordRequest;
-}
-
-export namespace SetWalletPasswordRequest {
- export type AsObject = {
- password: string,
- newPassword: string,
- }
-}
-
-export class SetWalletPasswordReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SetWalletPasswordReply.AsObject;
- static toObject(includeInstance: boolean, msg: SetWalletPasswordReply): SetWalletPasswordReply.AsObject;
- static serializeBinaryToWriter(message: SetWalletPasswordReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SetWalletPasswordReply;
- static deserializeBinaryFromReader(message: SetWalletPasswordReply, reader: jspb.BinaryReader): SetWalletPasswordReply;
-}
-
-export namespace SetWalletPasswordReply {
- export type AsObject = {
- }
-}
-
-export class RemoveWalletPasswordRequest extends jspb.Message {
- getPassword(): string;
- setPassword(value: string): RemoveWalletPasswordRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): RemoveWalletPasswordRequest.AsObject;
- static toObject(includeInstance: boolean, msg: RemoveWalletPasswordRequest): RemoveWalletPasswordRequest.AsObject;
- static serializeBinaryToWriter(message: RemoveWalletPasswordRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): RemoveWalletPasswordRequest;
- static deserializeBinaryFromReader(message: RemoveWalletPasswordRequest, reader: jspb.BinaryReader): RemoveWalletPasswordRequest;
-}
-
-export namespace RemoveWalletPasswordRequest {
- export type AsObject = {
- password: string,
- }
-}
-
-export class RemoveWalletPasswordReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): RemoveWalletPasswordReply.AsObject;
- static toObject(includeInstance: boolean, msg: RemoveWalletPasswordReply): RemoveWalletPasswordReply.AsObject;
- static serializeBinaryToWriter(message: RemoveWalletPasswordReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): RemoveWalletPasswordReply;
- static deserializeBinaryFromReader(message: RemoveWalletPasswordReply, reader: jspb.BinaryReader): RemoveWalletPasswordReply;
-}
-
-export namespace RemoveWalletPasswordReply {
- export type AsObject = {
- }
-}
-
-export class LockWalletRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): LockWalletRequest.AsObject;
- static toObject(includeInstance: boolean, msg: LockWalletRequest): LockWalletRequest.AsObject;
- static serializeBinaryToWriter(message: LockWalletRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): LockWalletRequest;
- static deserializeBinaryFromReader(message: LockWalletRequest, reader: jspb.BinaryReader): LockWalletRequest;
-}
-
-export namespace LockWalletRequest {
- export type AsObject = {
- }
-}
-
-export class LockWalletReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): LockWalletReply.AsObject;
- static toObject(includeInstance: boolean, msg: LockWalletReply): LockWalletReply.AsObject;
- static serializeBinaryToWriter(message: LockWalletReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): LockWalletReply;
- static deserializeBinaryFromReader(message: LockWalletReply, reader: jspb.BinaryReader): LockWalletReply;
-}
-
-export namespace LockWalletReply {
- export type AsObject = {
- }
-}
-
-export class UnlockWalletRequest extends jspb.Message {
- getPassword(): string;
- setPassword(value: string): UnlockWalletRequest;
-
- getTimeout(): number;
- setTimeout(value: number): UnlockWalletRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): UnlockWalletRequest.AsObject;
- static toObject(includeInstance: boolean, msg: UnlockWalletRequest): UnlockWalletRequest.AsObject;
- static serializeBinaryToWriter(message: UnlockWalletRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): UnlockWalletRequest;
- static deserializeBinaryFromReader(message: UnlockWalletRequest, reader: jspb.BinaryReader): UnlockWalletRequest;
-}
-
-export namespace UnlockWalletRequest {
- export type AsObject = {
- password: string,
- timeout: number,
- }
-}
-
-export class UnlockWalletReply extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): UnlockWalletReply.AsObject;
- static toObject(includeInstance: boolean, msg: UnlockWalletReply): UnlockWalletReply.AsObject;
- static serializeBinaryToWriter(message: UnlockWalletReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): UnlockWalletReply;
- static deserializeBinaryFromReader(message: UnlockWalletReply, reader: jspb.BinaryReader): UnlockWalletReply;
-}
-
-export namespace UnlockWalletReply {
- export type AsObject = {
- }
-}
-
-export class BalancesInfo extends jspb.Message {
- getBtc(): BtcBalanceInfo | undefined;
- setBtc(value?: BtcBalanceInfo): BalancesInfo;
- hasBtc(): boolean;
- clearBtc(): BalancesInfo;
-
- getXmr(): XmrBalanceInfo | undefined;
- setXmr(value?: XmrBalanceInfo): BalancesInfo;
- hasXmr(): boolean;
- clearXmr(): BalancesInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): BalancesInfo.AsObject;
- static toObject(includeInstance: boolean, msg: BalancesInfo): BalancesInfo.AsObject;
- static serializeBinaryToWriter(message: BalancesInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): BalancesInfo;
- static deserializeBinaryFromReader(message: BalancesInfo, reader: jspb.BinaryReader): BalancesInfo;
-}
-
-export namespace BalancesInfo {
- export type AsObject = {
- btc?: BtcBalanceInfo.AsObject,
- xmr?: XmrBalanceInfo.AsObject,
- }
-}
-
-export class BtcBalanceInfo extends jspb.Message {
- getAvailableBalance(): number;
- setAvailableBalance(value: number): BtcBalanceInfo;
-
- getReservedBalance(): number;
- setReservedBalance(value: number): BtcBalanceInfo;
-
- getTotalAvailableBalance(): number;
- setTotalAvailableBalance(value: number): BtcBalanceInfo;
-
- getLockedBalance(): number;
- setLockedBalance(value: number): BtcBalanceInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): BtcBalanceInfo.AsObject;
- static toObject(includeInstance: boolean, msg: BtcBalanceInfo): BtcBalanceInfo.AsObject;
- static serializeBinaryToWriter(message: BtcBalanceInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): BtcBalanceInfo;
- static deserializeBinaryFromReader(message: BtcBalanceInfo, reader: jspb.BinaryReader): BtcBalanceInfo;
-}
-
-export namespace BtcBalanceInfo {
- export type AsObject = {
- availableBalance: number,
- reservedBalance: number,
- totalAvailableBalance: number,
- lockedBalance: number,
- }
-}
-
-export class XmrBalanceInfo extends jspb.Message {
- getBalance(): string;
- setBalance(value: string): XmrBalanceInfo;
-
- getUnlockedBalance(): string;
- setUnlockedBalance(value: string): XmrBalanceInfo;
-
- getLockedBalance(): string;
- setLockedBalance(value: string): XmrBalanceInfo;
-
- getReservedOfferBalance(): string;
- setReservedOfferBalance(value: string): XmrBalanceInfo;
-
- getReservedTradeBalance(): string;
- setReservedTradeBalance(value: string): XmrBalanceInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): XmrBalanceInfo.AsObject;
- static toObject(includeInstance: boolean, msg: XmrBalanceInfo): XmrBalanceInfo.AsObject;
- static serializeBinaryToWriter(message: XmrBalanceInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): XmrBalanceInfo;
- static deserializeBinaryFromReader(message: XmrBalanceInfo, reader: jspb.BinaryReader): XmrBalanceInfo;
-}
-
-export namespace XmrBalanceInfo {
- export type AsObject = {
- balance: string,
- unlockedBalance: string,
- lockedBalance: string,
- reservedOfferBalance: string,
- reservedTradeBalance: string,
- }
-}
-
-export class AddressBalanceInfo extends jspb.Message {
- getAddress(): string;
- setAddress(value: string): AddressBalanceInfo;
-
- getBalance(): number;
- setBalance(value: number): AddressBalanceInfo;
-
- getNumConfirmations(): number;
- setNumConfirmations(value: number): AddressBalanceInfo;
-
- getIsAddressUnused(): boolean;
- setIsAddressUnused(value: boolean): AddressBalanceInfo;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): AddressBalanceInfo.AsObject;
- static toObject(includeInstance: boolean, msg: AddressBalanceInfo): AddressBalanceInfo.AsObject;
- static serializeBinaryToWriter(message: AddressBalanceInfo, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): AddressBalanceInfo;
- static deserializeBinaryFromReader(message: AddressBalanceInfo, reader: jspb.BinaryReader): AddressBalanceInfo;
-}
-
-export namespace AddressBalanceInfo {
- export type AsObject = {
- address: string,
- balance: number,
- numConfirmations: number,
- isAddressUnused: boolean,
- }
-}
-
-export class GetVersionRequest extends jspb.Message {
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetVersionRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetVersionRequest): GetVersionRequest.AsObject;
- static serializeBinaryToWriter(message: GetVersionRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetVersionRequest;
- static deserializeBinaryFromReader(message: GetVersionRequest, reader: jspb.BinaryReader): GetVersionRequest;
-}
-
-export namespace GetVersionRequest {
- export type AsObject = {
- }
-}
-
-export class GetVersionReply extends jspb.Message {
- getVersion(): string;
- setVersion(value: string): GetVersionReply;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetVersionReply.AsObject;
- static toObject(includeInstance: boolean, msg: GetVersionReply): GetVersionReply.AsObject;
- static serializeBinaryToWriter(message: GetVersionReply, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetVersionReply;
- static deserializeBinaryFromReader(message: GetVersionReply, reader: jspb.BinaryReader): GetVersionReply;
-}
-
-export namespace GetVersionReply {
- export type AsObject = {
- version: string,
- }
-}
-
diff --git a/src/protobuf/grpc_pb.js b/src/protobuf/grpc_pb.js
deleted file mode 100644
index 097fbc76..00000000
--- a/src/protobuf/grpc_pb.js
+++ /dev/null
@@ -1,16530 +0,0 @@
-// source: grpc.proto
-/**
- * @fileoverview
- * @enhanceable
- * @suppress {missingRequire} reports error on implicit type usages.
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
- * field starts with 'MSG_' and isn't a translatable message.
- * @public
- */
-// GENERATED CODE -- DO NOT EDIT!
-/* eslint-disable */
-// @ts-nocheck
-
-var jspb = require('google-protobuf');
-var goog = jspb;
-var global = Function('return this')();
-
-var pb_pb = require('./pb_pb.js');
-goog.object.extend(proto, pb_pb);
-goog.exportSymbol('proto.io.bisq.protobuffer.AddressBalanceInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.AvailabilityResultWithDescription', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.BalancesInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.BtcBalanceInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CancelOfferReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CancelOfferRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.ConfirmPaymentStartedReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.ContractInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CreateOfferReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CreateOfferRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CreatePaymentAccountReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.CreatePaymentAccountRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetAddressBalanceReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetAddressBalanceRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetBalancesReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetBalancesRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetFundingAddressesReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetFundingAddressesRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetMethodHelpReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetMethodHelpRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOfferReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOfferRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOffersReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetMyOffersRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetNewDepositSubaddressReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetOfferReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetOfferRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetOffersReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetOffersRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetPaymentAccountFormReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetPaymentAccountFormRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetPaymentAccountsReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetPaymentAccountsRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetPaymentMethodsReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetPaymentMethodsRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTradeReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTradeRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTradeStatisticsReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTradeStatisticsRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTransactionReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTransactionRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTxFeeRateReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetTxFeeRateRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetVersionReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.GetVersionRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.KeepFundsReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.KeepFundsRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.LockWalletReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.LockWalletRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.MarketPriceInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.MarketPriceReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.MarketPriceRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.MarketPricesReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.MarketPricesRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.OfferInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.PaymentAccountPayloadInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.RegisterDisputeAgentReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.RegisterDisputeAgentRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.RemoveWalletPasswordReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.RemoveWalletPasswordRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.SendBtcReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.SendBtcRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.SetWalletPasswordReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.SetWalletPasswordRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.StopReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.StopRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.TakeOfferReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.TakeOfferRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.TradeInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.TxFeeRateInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.TxInfo', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.UnlockWalletReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.UnlockWalletRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.WithdrawFundsReply', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.WithdrawFundsRequest', null, global);
-goog.exportSymbol('proto.io.bisq.protobuffer.XmrBalanceInfo', null, global);
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.RegisterDisputeAgentRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.displayName = 'proto.io.bisq.protobuffer.RegisterDisputeAgentRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.RegisterDisputeAgentReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.RegisterDisputeAgentReply.displayName = 'proto.io.bisq.protobuffer.RegisterDisputeAgentReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetMethodHelpRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetMethodHelpRequest.displayName = 'proto.io.bisq.protobuffer.GetMethodHelpRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetMethodHelpReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetMethodHelpReply.displayName = 'proto.io.bisq.protobuffer.GetMethodHelpReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetOfferRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetOfferRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetOfferRequest.displayName = 'proto.io.bisq.protobuffer.GetOfferRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetOfferReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetOfferReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetOfferReply.displayName = 'proto.io.bisq.protobuffer.GetOfferReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetMyOfferRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetMyOfferRequest.displayName = 'proto.io.bisq.protobuffer.GetMyOfferRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetMyOfferReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetMyOfferReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetMyOfferReply.displayName = 'proto.io.bisq.protobuffer.GetMyOfferReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetOffersRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetOffersRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetOffersRequest.displayName = 'proto.io.bisq.protobuffer.GetOffersRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetOffersReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetOffersReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetOffersReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetOffersReply.displayName = 'proto.io.bisq.protobuffer.GetOffersReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetMyOffersRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetMyOffersRequest.displayName = 'proto.io.bisq.protobuffer.GetMyOffersRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetMyOffersReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetMyOffersReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetMyOffersReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetMyOffersReply.displayName = 'proto.io.bisq.protobuffer.GetMyOffersReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CreateOfferRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CreateOfferRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CreateOfferRequest.displayName = 'proto.io.bisq.protobuffer.CreateOfferRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CreateOfferReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CreateOfferReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CreateOfferReply.displayName = 'proto.io.bisq.protobuffer.CreateOfferReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CancelOfferRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CancelOfferRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CancelOfferRequest.displayName = 'proto.io.bisq.protobuffer.CancelOfferRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CancelOfferReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CancelOfferReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CancelOfferReply.displayName = 'proto.io.bisq.protobuffer.CancelOfferReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.OfferInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.OfferInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.OfferInfo.displayName = 'proto.io.bisq.protobuffer.OfferInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.AvailabilityResultWithDescription, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.AvailabilityResultWithDescription.displayName = 'proto.io.bisq.protobuffer.AvailabilityResultWithDescription';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CreatePaymentAccountRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CreatePaymentAccountRequest.displayName = 'proto.io.bisq.protobuffer.CreatePaymentAccountRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CreatePaymentAccountReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CreatePaymentAccountReply.displayName = 'proto.io.bisq.protobuffer.CreatePaymentAccountReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetPaymentAccountsRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetPaymentAccountsRequest.displayName = 'proto.io.bisq.protobuffer.GetPaymentAccountsRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetPaymentAccountsReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetPaymentAccountsReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetPaymentAccountsReply.displayName = 'proto.io.bisq.protobuffer.GetPaymentAccountsReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetPaymentMethodsRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetPaymentMethodsRequest.displayName = 'proto.io.bisq.protobuffer.GetPaymentMethodsRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetPaymentMethodsReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetPaymentMethodsReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetPaymentMethodsReply.displayName = 'proto.io.bisq.protobuffer.GetPaymentMethodsReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetPaymentAccountFormRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.displayName = 'proto.io.bisq.protobuffer.GetPaymentAccountFormRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetPaymentAccountFormReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetPaymentAccountFormReply.displayName = 'proto.io.bisq.protobuffer.GetPaymentAccountFormReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.displayName = 'proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.displayName = 'proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.displayName = 'proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.displayName = 'proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.MarketPriceRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.MarketPriceRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.MarketPriceRequest.displayName = 'proto.io.bisq.protobuffer.MarketPriceRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.MarketPriceReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.MarketPriceReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.MarketPriceReply.displayName = 'proto.io.bisq.protobuffer.MarketPriceReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.MarketPricesRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.MarketPricesRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.MarketPricesRequest.displayName = 'proto.io.bisq.protobuffer.MarketPricesRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.MarketPricesReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.MarketPricesReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.MarketPricesReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.MarketPricesReply.displayName = 'proto.io.bisq.protobuffer.MarketPricesReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.MarketPriceInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.MarketPriceInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.MarketPriceInfo.displayName = 'proto.io.bisq.protobuffer.MarketPriceInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTradeStatisticsRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTradeStatisticsRequest.displayName = 'proto.io.bisq.protobuffer.GetTradeStatisticsRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetTradeStatisticsReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTradeStatisticsReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTradeStatisticsReply.displayName = 'proto.io.bisq.protobuffer.GetTradeStatisticsReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.StopRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.StopRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.StopRequest.displayName = 'proto.io.bisq.protobuffer.StopRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.StopReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.StopReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.StopReply.displayName = 'proto.io.bisq.protobuffer.StopReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.TakeOfferRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.TakeOfferRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.TakeOfferRequest.displayName = 'proto.io.bisq.protobuffer.TakeOfferRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.TakeOfferReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.TakeOfferReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.TakeOfferReply.displayName = 'proto.io.bisq.protobuffer.TakeOfferReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.displayName = 'proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.ConfirmPaymentStartedReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.displayName = 'proto.io.bisq.protobuffer.ConfirmPaymentStartedReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.displayName = 'proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.displayName = 'proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTradeRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTradeRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTradeRequest.displayName = 'proto.io.bisq.protobuffer.GetTradeRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTradeReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTradeReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTradeReply.displayName = 'proto.io.bisq.protobuffer.GetTradeReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.KeepFundsRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.KeepFundsRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.KeepFundsRequest.displayName = 'proto.io.bisq.protobuffer.KeepFundsRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.KeepFundsReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.KeepFundsReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.KeepFundsReply.displayName = 'proto.io.bisq.protobuffer.KeepFundsReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.WithdrawFundsRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.WithdrawFundsRequest.displayName = 'proto.io.bisq.protobuffer.WithdrawFundsRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.WithdrawFundsReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.WithdrawFundsReply.displayName = 'proto.io.bisq.protobuffer.WithdrawFundsReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.TradeInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.TradeInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.TradeInfo.displayName = 'proto.io.bisq.protobuffer.TradeInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.ContractInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.ContractInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.ContractInfo.displayName = 'proto.io.bisq.protobuffer.ContractInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.PaymentAccountPayloadInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.displayName = 'proto.io.bisq.protobuffer.PaymentAccountPayloadInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.TxFeeRateInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.TxFeeRateInfo.displayName = 'proto.io.bisq.protobuffer.TxFeeRateInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.TxInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.TxInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.TxInfo.displayName = 'proto.io.bisq.protobuffer.TxInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetBalancesRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetBalancesRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetBalancesRequest.displayName = 'proto.io.bisq.protobuffer.GetBalancesRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetBalancesReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetBalancesReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetBalancesReply.displayName = 'proto.io.bisq.protobuffer.GetBalancesReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.displayName = 'proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetNewDepositSubaddressReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.displayName = 'proto.io.bisq.protobuffer.GetNewDepositSubaddressReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetAddressBalanceRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetAddressBalanceRequest.displayName = 'proto.io.bisq.protobuffer.GetAddressBalanceRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetAddressBalanceReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetAddressBalanceReply.displayName = 'proto.io.bisq.protobuffer.GetAddressBalanceReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.SendBtcRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.SendBtcRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.SendBtcRequest.displayName = 'proto.io.bisq.protobuffer.SendBtcRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.SendBtcReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.SendBtcReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.SendBtcReply.displayName = 'proto.io.bisq.protobuffer.SendBtcReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTxFeeRateRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTxFeeRateRequest.displayName = 'proto.io.bisq.protobuffer.GetTxFeeRateRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTxFeeRateReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTxFeeRateReply.displayName = 'proto.io.bisq.protobuffer.GetTxFeeRateReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.displayName = 'proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.displayName = 'proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.displayName = 'proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.displayName = 'proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTransactionRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTransactionRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTransactionRequest.displayName = 'proto.io.bisq.protobuffer.GetTransactionRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetTransactionReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetTransactionReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetTransactionReply.displayName = 'proto.io.bisq.protobuffer.GetTransactionReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetFundingAddressesRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetFundingAddressesRequest.displayName = 'proto.io.bisq.protobuffer.GetFundingAddressesRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.io.bisq.protobuffer.GetFundingAddressesReply.repeatedFields_, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetFundingAddressesReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetFundingAddressesReply.displayName = 'proto.io.bisq.protobuffer.GetFundingAddressesReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.SetWalletPasswordRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.SetWalletPasswordRequest.displayName = 'proto.io.bisq.protobuffer.SetWalletPasswordRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.SetWalletPasswordReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.SetWalletPasswordReply.displayName = 'proto.io.bisq.protobuffer.SetWalletPasswordReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.RemoveWalletPasswordRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.displayName = 'proto.io.bisq.protobuffer.RemoveWalletPasswordRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.RemoveWalletPasswordReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.RemoveWalletPasswordReply.displayName = 'proto.io.bisq.protobuffer.RemoveWalletPasswordReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.LockWalletRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.LockWalletRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.LockWalletRequest.displayName = 'proto.io.bisq.protobuffer.LockWalletRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.LockWalletReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.LockWalletReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.LockWalletReply.displayName = 'proto.io.bisq.protobuffer.LockWalletReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.UnlockWalletRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.UnlockWalletRequest.displayName = 'proto.io.bisq.protobuffer.UnlockWalletRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.UnlockWalletReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.UnlockWalletReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.UnlockWalletReply.displayName = 'proto.io.bisq.protobuffer.UnlockWalletReply';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.BalancesInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.BalancesInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.BalancesInfo.displayName = 'proto.io.bisq.protobuffer.BalancesInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.BtcBalanceInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.BtcBalanceInfo.displayName = 'proto.io.bisq.protobuffer.BtcBalanceInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.XmrBalanceInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.XmrBalanceInfo.displayName = 'proto.io.bisq.protobuffer.XmrBalanceInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.AddressBalanceInfo, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.AddressBalanceInfo.displayName = 'proto.io.bisq.protobuffer.AddressBalanceInfo';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetVersionRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetVersionRequest, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetVersionRequest.displayName = 'proto.io.bisq.protobuffer.GetVersionRequest';
-}
-/**
- * Generated by JsPbCodeGenerator.
- * @param {Array=} opt_data Optional initial data array, typically from a
- * server response, or constructed directly in Javascript. The array is used
- * in place and becomes part of the constructed object. It is not cloned.
- * If no data is provided, the constructed object will be empty, but still
- * valid.
- * @extends {jspb.Message}
- * @constructor
- */
-proto.io.bisq.protobuffer.GetVersionReply = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.io.bisq.protobuffer.GetVersionReply, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.io.bisq.protobuffer.GetVersionReply.displayName = 'proto.io.bisq.protobuffer.GetVersionReply';
-}
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- disputeAgentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
- registrationKey: jspb.Message.getFieldWithDefault(msg, 2, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.RegisterDisputeAgentRequest;
- return proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setDisputeAgentType(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setRegistrationKey(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDisputeAgentType();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getRegistrationKey();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string dispute_agent_type = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.prototype.getDisputeAgentType = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest} returns this
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.prototype.setDisputeAgentType = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string registration_key = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.prototype.getRegistrationKey = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.RegisterDisputeAgentRequest} returns this
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentRequest.prototype.setRegistrationKey = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.RegisterDisputeAgentReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.RegisterDisputeAgentReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.RegisterDisputeAgentReply}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.RegisterDisputeAgentReply;
- return proto.io.bisq.protobuffer.RegisterDisputeAgentReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.RegisterDisputeAgentReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.RegisterDisputeAgentReply}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.RegisterDisputeAgentReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.RegisterDisputeAgentReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RegisterDisputeAgentReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetMethodHelpRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetMethodHelpRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- methodName: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetMethodHelpRequest}
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetMethodHelpRequest;
- return proto.io.bisq.protobuffer.GetMethodHelpRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetMethodHelpRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetMethodHelpRequest}
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setMethodName(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetMethodHelpRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetMethodHelpRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getMethodName();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string method_name = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.prototype.getMethodName = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetMethodHelpRequest} returns this
- */
-proto.io.bisq.protobuffer.GetMethodHelpRequest.prototype.setMethodName = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetMethodHelpReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetMethodHelpReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- methodHelp: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetMethodHelpReply}
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetMethodHelpReply;
- return proto.io.bisq.protobuffer.GetMethodHelpReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetMethodHelpReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetMethodHelpReply}
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setMethodHelp(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetMethodHelpReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetMethodHelpReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getMethodHelp();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string method_help = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.prototype.getMethodHelp = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetMethodHelpReply} returns this
- */
-proto.io.bisq.protobuffer.GetMethodHelpReply.prototype.setMethodHelp = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetOfferRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetOfferRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetOfferRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOfferRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- id: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetOfferRequest}
- */
-proto.io.bisq.protobuffer.GetOfferRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetOfferRequest;
- return proto.io.bisq.protobuffer.GetOfferRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetOfferRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetOfferRequest}
- */
-proto.io.bisq.protobuffer.GetOfferRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetOfferRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetOfferRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetOfferRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOfferRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetOfferRequest.prototype.getId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.GetOfferRequest.prototype.setId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetOfferReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetOfferReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetOfferReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOfferReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- offer: (f = msg.getOffer()) && proto.io.bisq.protobuffer.OfferInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetOfferReply}
- */
-proto.io.bisq.protobuffer.GetOfferReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetOfferReply;
- return proto.io.bisq.protobuffer.GetOfferReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetOfferReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetOfferReply}
- */
-proto.io.bisq.protobuffer.GetOfferReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.OfferInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader);
- msg.setOffer(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetOfferReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetOfferReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetOfferReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOfferReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOffer();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional OfferInfo offer = 1;
- * @return {?proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.GetOfferReply.prototype.getOffer = function() {
- return /** @type{?proto.io.bisq.protobuffer.OfferInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.OfferInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetOfferReply} returns this
-*/
-proto.io.bisq.protobuffer.GetOfferReply.prototype.setOffer = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetOfferReply} returns this
- */
-proto.io.bisq.protobuffer.GetOfferReply.prototype.clearOffer = function() {
- return this.setOffer(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetOfferReply.prototype.hasOffer = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetMyOfferRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetMyOfferRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- id: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetMyOfferRequest}
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetMyOfferRequest;
- return proto.io.bisq.protobuffer.GetMyOfferRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetMyOfferRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetMyOfferRequest}
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetMyOfferRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetMyOfferRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.prototype.getId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetMyOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.GetMyOfferRequest.prototype.setId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetMyOfferReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetMyOfferReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- offer: (f = msg.getOffer()) && proto.io.bisq.protobuffer.OfferInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetMyOfferReply}
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetMyOfferReply;
- return proto.io.bisq.protobuffer.GetMyOfferReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetMyOfferReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetMyOfferReply}
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.OfferInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader);
- msg.setOffer(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetMyOfferReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetMyOfferReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOffer();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional OfferInfo offer = 1;
- * @return {?proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.prototype.getOffer = function() {
- return /** @type{?proto.io.bisq.protobuffer.OfferInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.OfferInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetMyOfferReply} returns this
-*/
-proto.io.bisq.protobuffer.GetMyOfferReply.prototype.setOffer = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetMyOfferReply} returns this
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.prototype.clearOffer = function() {
- return this.setOffer(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetMyOfferReply.prototype.hasOffer = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetOffersRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetOffersRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetOffersRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOffersRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- direction: jspb.Message.getFieldWithDefault(msg, 1, ""),
- currencyCode: jspb.Message.getFieldWithDefault(msg, 2, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetOffersRequest}
- */
-proto.io.bisq.protobuffer.GetOffersRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetOffersRequest;
- return proto.io.bisq.protobuffer.GetOffersRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetOffersRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetOffersRequest}
- */
-proto.io.bisq.protobuffer.GetOffersRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setDirection(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetOffersRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetOffersRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetOffersRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOffersRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDirection();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string direction = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetOffersRequest.prototype.getDirection = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetOffersRequest} returns this
- */
-proto.io.bisq.protobuffer.GetOffersRequest.prototype.setDirection = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string currency_code = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetOffersRequest.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetOffersRequest} returns this
- */
-proto.io.bisq.protobuffer.GetOffersRequest.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetOffersReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetOffersReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetOffersReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetOffersReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOffersReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- offersList: jspb.Message.toObjectList(msg.getOffersList(),
- proto.io.bisq.protobuffer.OfferInfo.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetOffersReply}
- */
-proto.io.bisq.protobuffer.GetOffersReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetOffersReply;
- return proto.io.bisq.protobuffer.GetOffersReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetOffersReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetOffersReply}
- */
-proto.io.bisq.protobuffer.GetOffersReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.OfferInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader);
- msg.addOffers(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetOffersReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetOffersReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetOffersReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetOffersReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOffersList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated OfferInfo offers = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetOffersReply.prototype.getOffersList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.OfferInfo, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetOffersReply} returns this
-*/
-proto.io.bisq.protobuffer.GetOffersReply.prototype.setOffersList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.OfferInfo=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.GetOffersReply.prototype.addOffers = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.OfferInfo, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetOffersReply} returns this
- */
-proto.io.bisq.protobuffer.GetOffersReply.prototype.clearOffersList = function() {
- return this.setOffersList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetMyOffersRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetMyOffersRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- direction: jspb.Message.getFieldWithDefault(msg, 1, ""),
- currencyCode: jspb.Message.getFieldWithDefault(msg, 2, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetMyOffersRequest}
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetMyOffersRequest;
- return proto.io.bisq.protobuffer.GetMyOffersRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetMyOffersRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetMyOffersRequest}
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setDirection(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetMyOffersRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetMyOffersRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDirection();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string direction = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.prototype.getDirection = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetMyOffersRequest} returns this
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.prototype.setDirection = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string currency_code = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetMyOffersRequest} returns this
- */
-proto.io.bisq.protobuffer.GetMyOffersRequest.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetMyOffersReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetMyOffersReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- offersList: jspb.Message.toObjectList(msg.getOffersList(),
- proto.io.bisq.protobuffer.OfferInfo.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetMyOffersReply}
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetMyOffersReply;
- return proto.io.bisq.protobuffer.GetMyOffersReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetMyOffersReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetMyOffersReply}
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.OfferInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader);
- msg.addOffers(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetMyOffersReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetMyOffersReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOffersList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated OfferInfo offers = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.prototype.getOffersList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.OfferInfo, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetMyOffersReply} returns this
-*/
-proto.io.bisq.protobuffer.GetMyOffersReply.prototype.setOffersList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.OfferInfo=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.prototype.addOffers = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.OfferInfo, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetMyOffersReply} returns this
- */
-proto.io.bisq.protobuffer.GetMyOffersReply.prototype.clearOffersList = function() {
- return this.setOffersList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CreateOfferRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CreateOfferRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
- direction: jspb.Message.getFieldWithDefault(msg, 2, ""),
- price: jspb.Message.getFieldWithDefault(msg, 3, ""),
- useMarketBasedPrice: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
- marketPriceMargin: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
- amount: jspb.Message.getFieldWithDefault(msg, 6, "0"),
- minAmount: jspb.Message.getFieldWithDefault(msg, 7, "0"),
- buyerSecurityDeposit: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
- triggerPrice: jspb.Message.getFieldWithDefault(msg, 9, "0"),
- paymentAccountId: jspb.Message.getFieldWithDefault(msg, 10, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CreateOfferRequest;
- return proto.io.bisq.protobuffer.CreateOfferRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CreateOfferRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setDirection(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setPrice(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setUseMarketBasedPrice(value);
- break;
- case 5:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setMarketPriceMargin(value);
- break;
- case 6:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setAmount(value);
- break;
- case 7:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setMinAmount(value);
- break;
- case 8:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setBuyerSecurityDeposit(value);
- break;
- case 9:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setTriggerPrice(value);
- break;
- case 10:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentAccountId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CreateOfferRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CreateOfferRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getDirection();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getPrice();
- if (f.length > 0) {
- writer.writeString(
- 3,
- f
- );
- }
- f = message.getUseMarketBasedPrice();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
- f = message.getMarketPriceMargin();
- if (f !== 0.0) {
- writer.writeDouble(
- 5,
- f
- );
- }
- f = message.getAmount();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 6,
- f
- );
- }
- f = message.getMinAmount();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 7,
- f
- );
- }
- f = message.getBuyerSecurityDeposit();
- if (f !== 0.0) {
- writer.writeDouble(
- 8,
- f
- );
- }
- f = message.getTriggerPrice();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 9,
- f
- );
- }
- f = message.getPaymentAccountId();
- if (f.length > 0) {
- writer.writeString(
- 10,
- f
- );
- }
-};
-
-
-/**
- * optional string currency_code = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string direction = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getDirection = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setDirection = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional string price = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getPrice = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setPrice = function(value) {
- return jspb.Message.setProto3StringField(this, 3, value);
-};
-
-
-/**
- * optional bool use_market_based_price = 4;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getUseMarketBasedPrice = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setUseMarketBasedPrice = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
-};
-
-
-/**
- * optional double market_price_margin = 5;
- * @return {number}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getMarketPriceMargin = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setMarketPriceMargin = function(value) {
- return jspb.Message.setProto3FloatField(this, 5, value);
-};
-
-
-/**
- * optional uint64 amount = 6;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getAmount = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setAmount = function(value) {
- return jspb.Message.setProto3StringIntField(this, 6, value);
-};
-
-
-/**
- * optional uint64 min_amount = 7;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getMinAmount = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setMinAmount = function(value) {
- return jspb.Message.setProto3StringIntField(this, 7, value);
-};
-
-
-/**
- * optional double buyer_security_deposit = 8;
- * @return {number}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getBuyerSecurityDeposit = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setBuyerSecurityDeposit = function(value) {
- return jspb.Message.setProto3FloatField(this, 8, value);
-};
-
-
-/**
- * optional uint64 trigger_price = 9;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getTriggerPrice = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setTriggerPrice = function(value) {
- return jspb.Message.setProto3StringIntField(this, 9, value);
-};
-
-
-/**
- * optional string payment_account_id = 10;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.getPaymentAccountId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferRequest.prototype.setPaymentAccountId = function(value) {
- return jspb.Message.setProto3StringField(this, 10, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CreateOfferReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CreateOfferReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CreateOfferReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateOfferReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- offer: (f = msg.getOffer()) && proto.io.bisq.protobuffer.OfferInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CreateOfferReply}
- */
-proto.io.bisq.protobuffer.CreateOfferReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CreateOfferReply;
- return proto.io.bisq.protobuffer.CreateOfferReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CreateOfferReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CreateOfferReply}
- */
-proto.io.bisq.protobuffer.CreateOfferReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.OfferInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader);
- msg.setOffer(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CreateOfferReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CreateOfferReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CreateOfferReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateOfferReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOffer();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional OfferInfo offer = 1;
- * @return {?proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.CreateOfferReply.prototype.getOffer = function() {
- return /** @type{?proto.io.bisq.protobuffer.OfferInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.OfferInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.CreateOfferReply} returns this
-*/
-proto.io.bisq.protobuffer.CreateOfferReply.prototype.setOffer = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.CreateOfferReply} returns this
- */
-proto.io.bisq.protobuffer.CreateOfferReply.prototype.clearOffer = function() {
- return this.setOffer(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.CreateOfferReply.prototype.hasOffer = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CancelOfferRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CancelOfferRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- id: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CancelOfferRequest}
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CancelOfferRequest;
- return proto.io.bisq.protobuffer.CancelOfferRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CancelOfferRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CancelOfferRequest}
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CancelOfferRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CancelOfferRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.prototype.getId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CancelOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.CancelOfferRequest.prototype.setId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CancelOfferReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CancelOfferReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CancelOfferReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CancelOfferReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CancelOfferReply}
- */
-proto.io.bisq.protobuffer.CancelOfferReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CancelOfferReply;
- return proto.io.bisq.protobuffer.CancelOfferReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CancelOfferReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CancelOfferReply}
- */
-proto.io.bisq.protobuffer.CancelOfferReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CancelOfferReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CancelOfferReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CancelOfferReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CancelOfferReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.OfferInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.OfferInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.OfferInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- id: jspb.Message.getFieldWithDefault(msg, 1, ""),
- direction: jspb.Message.getFieldWithDefault(msg, 2, ""),
- price: jspb.Message.getFieldWithDefault(msg, 3, 0),
- useMarketBasedPrice: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
- marketPriceMargin: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
- amount: jspb.Message.getFieldWithDefault(msg, 6, 0),
- minAmount: jspb.Message.getFieldWithDefault(msg, 7, 0),
- volume: jspb.Message.getFieldWithDefault(msg, 8, 0),
- minVolume: jspb.Message.getFieldWithDefault(msg, 9, 0),
- buyerSecurityDeposit: jspb.Message.getFieldWithDefault(msg, 10, 0),
- triggerPrice: jspb.Message.getFieldWithDefault(msg, 11, 0),
- paymentAccountId: jspb.Message.getFieldWithDefault(msg, 12, ""),
- paymentMethodId: jspb.Message.getFieldWithDefault(msg, 13, ""),
- paymentMethodShortName: jspb.Message.getFieldWithDefault(msg, 14, ""),
- baseCurrencyCode: jspb.Message.getFieldWithDefault(msg, 15, ""),
- counterCurrencyCode: jspb.Message.getFieldWithDefault(msg, 16, ""),
- date: jspb.Message.getFieldWithDefault(msg, 17, 0),
- state: jspb.Message.getFieldWithDefault(msg, 18, ""),
- sellerSecurityDeposit: jspb.Message.getFieldWithDefault(msg, 19, 0),
- offerFeePaymentTxId: jspb.Message.getFieldWithDefault(msg, 20, ""),
- txFee: jspb.Message.getFieldWithDefault(msg, 21, 0),
- makerFee: jspb.Message.getFieldWithDefault(msg, 22, 0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.OfferInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.OfferInfo;
- return proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.OfferInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setId(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setDirection(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setPrice(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setUseMarketBasedPrice(value);
- break;
- case 5:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setMarketPriceMargin(value);
- break;
- case 6:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setAmount(value);
- break;
- case 7:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setMinAmount(value);
- break;
- case 8:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setVolume(value);
- break;
- case 9:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setMinVolume(value);
- break;
- case 10:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setBuyerSecurityDeposit(value);
- break;
- case 11:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTriggerPrice(value);
- break;
- case 12:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentAccountId(value);
- break;
- case 13:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentMethodId(value);
- break;
- case 14:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentMethodShortName(value);
- break;
- case 15:
- var value = /** @type {string} */ (reader.readString());
- msg.setBaseCurrencyCode(value);
- break;
- case 16:
- var value = /** @type {string} */ (reader.readString());
- msg.setCounterCurrencyCode(value);
- break;
- case 17:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setDate(value);
- break;
- case 18:
- var value = /** @type {string} */ (reader.readString());
- msg.setState(value);
- break;
- case 19:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setSellerSecurityDeposit(value);
- break;
- case 20:
- var value = /** @type {string} */ (reader.readString());
- msg.setOfferFeePaymentTxId(value);
- break;
- case 21:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTxFee(value);
- break;
- case 22:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setMakerFee(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.OfferInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getDirection();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getPrice();
- if (f !== 0) {
- writer.writeUint64(
- 3,
- f
- );
- }
- f = message.getUseMarketBasedPrice();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
- f = message.getMarketPriceMargin();
- if (f !== 0.0) {
- writer.writeDouble(
- 5,
- f
- );
- }
- f = message.getAmount();
- if (f !== 0) {
- writer.writeUint64(
- 6,
- f
- );
- }
- f = message.getMinAmount();
- if (f !== 0) {
- writer.writeUint64(
- 7,
- f
- );
- }
- f = message.getVolume();
- if (f !== 0) {
- writer.writeUint64(
- 8,
- f
- );
- }
- f = message.getMinVolume();
- if (f !== 0) {
- writer.writeUint64(
- 9,
- f
- );
- }
- f = message.getBuyerSecurityDeposit();
- if (f !== 0) {
- writer.writeUint64(
- 10,
- f
- );
- }
- f = message.getTriggerPrice();
- if (f !== 0) {
- writer.writeUint64(
- 11,
- f
- );
- }
- f = message.getPaymentAccountId();
- if (f.length > 0) {
- writer.writeString(
- 12,
- f
- );
- }
- f = message.getPaymentMethodId();
- if (f.length > 0) {
- writer.writeString(
- 13,
- f
- );
- }
- f = message.getPaymentMethodShortName();
- if (f.length > 0) {
- writer.writeString(
- 14,
- f
- );
- }
- f = message.getBaseCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 15,
- f
- );
- }
- f = message.getCounterCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 16,
- f
- );
- }
- f = message.getDate();
- if (f !== 0) {
- writer.writeUint64(
- 17,
- f
- );
- }
- f = message.getState();
- if (f.length > 0) {
- writer.writeString(
- 18,
- f
- );
- }
- f = message.getSellerSecurityDeposit();
- if (f !== 0) {
- writer.writeUint64(
- 19,
- f
- );
- }
- f = message.getOfferFeePaymentTxId();
- if (f.length > 0) {
- writer.writeString(
- 20,
- f
- );
- }
- f = message.getTxFee();
- if (f !== 0) {
- writer.writeUint64(
- 21,
- f
- );
- }
- f = message.getMakerFee();
- if (f !== 0) {
- writer.writeUint64(
- 22,
- f
- );
- }
-};
-
-
-/**
- * optional string id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string direction = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getDirection = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setDirection = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional uint64 price = 3;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getPrice = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setPrice = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional bool use_market_based_price = 4;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getUseMarketBasedPrice = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setUseMarketBasedPrice = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
-};
-
-
-/**
- * optional double market_price_margin = 5;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getMarketPriceMargin = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setMarketPriceMargin = function(value) {
- return jspb.Message.setProto3FloatField(this, 5, value);
-};
-
-
-/**
- * optional uint64 amount = 6;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getAmount = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setAmount = function(value) {
- return jspb.Message.setProto3IntField(this, 6, value);
-};
-
-
-/**
- * optional uint64 min_amount = 7;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getMinAmount = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setMinAmount = function(value) {
- return jspb.Message.setProto3IntField(this, 7, value);
-};
-
-
-/**
- * optional uint64 volume = 8;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getVolume = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setVolume = function(value) {
- return jspb.Message.setProto3IntField(this, 8, value);
-};
-
-
-/**
- * optional uint64 min_volume = 9;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getMinVolume = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setMinVolume = function(value) {
- return jspb.Message.setProto3IntField(this, 9, value);
-};
-
-
-/**
- * optional uint64 buyer_security_deposit = 10;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getBuyerSecurityDeposit = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setBuyerSecurityDeposit = function(value) {
- return jspb.Message.setProto3IntField(this, 10, value);
-};
-
-
-/**
- * optional uint64 trigger_price = 11;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getTriggerPrice = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setTriggerPrice = function(value) {
- return jspb.Message.setProto3IntField(this, 11, value);
-};
-
-
-/**
- * optional string payment_account_id = 12;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getPaymentAccountId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setPaymentAccountId = function(value) {
- return jspb.Message.setProto3StringField(this, 12, value);
-};
-
-
-/**
- * optional string payment_method_id = 13;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getPaymentMethodId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setPaymentMethodId = function(value) {
- return jspb.Message.setProto3StringField(this, 13, value);
-};
-
-
-/**
- * optional string payment_method_short_name = 14;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getPaymentMethodShortName = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setPaymentMethodShortName = function(value) {
- return jspb.Message.setProto3StringField(this, 14, value);
-};
-
-
-/**
- * optional string base_currency_code = 15;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getBaseCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setBaseCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 15, value);
-};
-
-
-/**
- * optional string counter_currency_code = 16;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getCounterCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setCounterCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 16, value);
-};
-
-
-/**
- * optional uint64 date = 17;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getDate = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setDate = function(value) {
- return jspb.Message.setProto3IntField(this, 17, value);
-};
-
-
-/**
- * optional string state = 18;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getState = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setState = function(value) {
- return jspb.Message.setProto3StringField(this, 18, value);
-};
-
-
-/**
- * optional uint64 seller_security_deposit = 19;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getSellerSecurityDeposit = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setSellerSecurityDeposit = function(value) {
- return jspb.Message.setProto3IntField(this, 19, value);
-};
-
-
-/**
- * optional string offer_fee_payment_tx_id = 20;
- * @return {string}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getOfferFeePaymentTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setOfferFeePaymentTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 20, value);
-};
-
-
-/**
- * optional uint64 tx_fee = 21;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getTxFee = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setTxFee = function(value) {
- return jspb.Message.setProto3IntField(this, 21, value);
-};
-
-
-/**
- * optional uint64 maker_fee = 22;
- * @return {number}
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.getMakerFee = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.OfferInfo} returns this
- */
-proto.io.bisq.protobuffer.OfferInfo.prototype.setMakerFee = function(value) {
- return jspb.Message.setProto3IntField(this, 22, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.AvailabilityResultWithDescription.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.toObject = function(includeInstance, msg) {
- var f, obj = {
- availabilityResult: jspb.Message.getFieldWithDefault(msg, 1, 0),
- description: jspb.Message.getFieldWithDefault(msg, 2, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription}
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.AvailabilityResultWithDescription;
- return proto.io.bisq.protobuffer.AvailabilityResultWithDescription.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription}
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {!proto.io.bisq.protobuffer.AvailabilityResult} */ (reader.readEnum());
- msg.setAvailabilityResult(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setDescription(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.AvailabilityResultWithDescription.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAvailabilityResult();
- if (f !== 0.0) {
- writer.writeEnum(
- 1,
- f
- );
- }
- f = message.getDescription();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional AvailabilityResult availability_result = 1;
- * @return {!proto.io.bisq.protobuffer.AvailabilityResult}
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.prototype.getAvailabilityResult = function() {
- return /** @type {!proto.io.bisq.protobuffer.AvailabilityResult} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.AvailabilityResult} value
- * @return {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription} returns this
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.prototype.setAvailabilityResult = function(value) {
- return jspb.Message.setProto3EnumField(this, 1, value);
-};
-
-
-/**
- * optional string description = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.prototype.getDescription = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.AvailabilityResultWithDescription} returns this
- */
-proto.io.bisq.protobuffer.AvailabilityResultWithDescription.prototype.setDescription = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CreatePaymentAccountRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CreatePaymentAccountRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentAccountForm: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountRequest}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CreatePaymentAccountRequest;
- return proto.io.bisq.protobuffer.CreatePaymentAccountRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CreatePaymentAccountRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountRequest}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentAccountForm(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CreatePaymentAccountRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CreatePaymentAccountRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentAccountForm();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string payment_account_form = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.prototype.getPaymentAccountForm = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountRequest} returns this
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountRequest.prototype.setPaymentAccountForm = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CreatePaymentAccountReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CreatePaymentAccountReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentAccount: (f = msg.getPaymentAccount()) && pb_pb.PaymentAccount.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountReply}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CreatePaymentAccountReply;
- return proto.io.bisq.protobuffer.CreatePaymentAccountReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CreatePaymentAccountReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountReply}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new pb_pb.PaymentAccount;
- reader.readMessage(value,pb_pb.PaymentAccount.deserializeBinaryFromReader);
- msg.setPaymentAccount(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CreatePaymentAccountReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CreatePaymentAccountReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentAccount();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- pb_pb.PaymentAccount.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional PaymentAccount payment_account = 1;
- * @return {?proto.io.bisq.protobuffer.PaymentAccount}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.prototype.getPaymentAccount = function() {
- return /** @type{?proto.io.bisq.protobuffer.PaymentAccount} */ (
- jspb.Message.getWrapperField(this, pb_pb.PaymentAccount, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.PaymentAccount|undefined} value
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountReply} returns this
-*/
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.prototype.setPaymentAccount = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.CreatePaymentAccountReply} returns this
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.prototype.clearPaymentAccount = function() {
- return this.setPaymentAccount(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.CreatePaymentAccountReply.prototype.hasPaymentAccount = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetPaymentAccountsRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountsRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountsRequest}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetPaymentAccountsRequest;
- return proto.io.bisq.protobuffer.GetPaymentAccountsRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountsRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountsRequest}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetPaymentAccountsRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountsRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetPaymentAccountsReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountsReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentAccountsList: jspb.Message.toObjectList(msg.getPaymentAccountsList(),
- pb_pb.PaymentAccount.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountsReply}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetPaymentAccountsReply;
- return proto.io.bisq.protobuffer.GetPaymentAccountsReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountsReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountsReply}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new pb_pb.PaymentAccount;
- reader.readMessage(value,pb_pb.PaymentAccount.deserializeBinaryFromReader);
- msg.addPaymentAccounts(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetPaymentAccountsReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountsReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentAccountsList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- pb_pb.PaymentAccount.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated PaymentAccount payment_accounts = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.prototype.getPaymentAccountsList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, pb_pb.PaymentAccount, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountsReply} returns this
-*/
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.prototype.setPaymentAccountsList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.PaymentAccount=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.PaymentAccount}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.prototype.addPaymentAccounts = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.PaymentAccount, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountsReply} returns this
- */
-proto.io.bisq.protobuffer.GetPaymentAccountsReply.prototype.clearPaymentAccountsList = function() {
- return this.setPaymentAccountsList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetPaymentMethodsRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetPaymentMethodsRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetPaymentMethodsRequest}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetPaymentMethodsRequest;
- return proto.io.bisq.protobuffer.GetPaymentMethodsRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetPaymentMethodsRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetPaymentMethodsRequest}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetPaymentMethodsRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetPaymentMethodsRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetPaymentMethodsReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetPaymentMethodsReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentMethodsList: jspb.Message.toObjectList(msg.getPaymentMethodsList(),
- pb_pb.PaymentMethod.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetPaymentMethodsReply}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetPaymentMethodsReply;
- return proto.io.bisq.protobuffer.GetPaymentMethodsReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetPaymentMethodsReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetPaymentMethodsReply}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new pb_pb.PaymentMethod;
- reader.readMessage(value,pb_pb.PaymentMethod.deserializeBinaryFromReader);
- msg.addPaymentMethods(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetPaymentMethodsReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetPaymentMethodsReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentMethodsList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- pb_pb.PaymentMethod.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated PaymentMethod payment_methods = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.prototype.getPaymentMethodsList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, pb_pb.PaymentMethod, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetPaymentMethodsReply} returns this
-*/
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.prototype.setPaymentMethodsList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.PaymentMethod=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.PaymentMethod}
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.prototype.addPaymentMethods = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.PaymentMethod, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetPaymentMethodsReply} returns this
- */
-proto.io.bisq.protobuffer.GetPaymentMethodsReply.prototype.clearPaymentMethodsList = function() {
- return this.setPaymentMethodsList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountFormRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentMethodId: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountFormRequest}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetPaymentAccountFormRequest;
- return proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountFormRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountFormRequest}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentMethodId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountFormRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentMethodId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string payment_method_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.prototype.getPaymentMethodId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountFormRequest} returns this
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormRequest.prototype.setPaymentMethodId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetPaymentAccountFormReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountFormReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentAccountFormJson: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountFormReply}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetPaymentAccountFormReply;
- return proto.io.bisq.protobuffer.GetPaymentAccountFormReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountFormReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountFormReply}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentAccountFormJson(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetPaymentAccountFormReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetPaymentAccountFormReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentAccountFormJson();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string payment_account_form_json = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.prototype.getPaymentAccountFormJson = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetPaymentAccountFormReply} returns this
- */
-proto.io.bisq.protobuffer.GetPaymentAccountFormReply.prototype.setPaymentAccountFormJson = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- accountName: jspb.Message.getFieldWithDefault(msg, 1, ""),
- currencyCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
- address: jspb.Message.getFieldWithDefault(msg, 3, ""),
- tradeInstant: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest;
- return proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setAccountName(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setAddress(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setTradeInstant(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAccountName();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getAddress();
- if (f.length > 0) {
- writer.writeString(
- 3,
- f
- );
- }
- f = message.getTradeInstant();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
-};
-
-
-/**
- * optional string account_name = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.getAccountName = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.setAccountName = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string currency_code = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional string address = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.getAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.setAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 3, value);
-};
-
-
-/**
- * optional bool trade_instant = 4;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.getTradeInstant = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest} returns this
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountRequest.prototype.setTradeInstant = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentAccount: (f = msg.getPaymentAccount()) && pb_pb.PaymentAccount.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply;
- return proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new pb_pb.PaymentAccount;
- reader.readMessage(value,pb_pb.PaymentAccount.deserializeBinaryFromReader);
- msg.setPaymentAccount(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentAccount();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- pb_pb.PaymentAccount.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional PaymentAccount payment_account = 1;
- * @return {?proto.io.bisq.protobuffer.PaymentAccount}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.prototype.getPaymentAccount = function() {
- return /** @type{?proto.io.bisq.protobuffer.PaymentAccount} */ (
- jspb.Message.getWrapperField(this, pb_pb.PaymentAccount, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.PaymentAccount|undefined} value
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply} returns this
-*/
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.prototype.setPaymentAccount = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply} returns this
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.prototype.clearPaymentAccount = function() {
- return this.setPaymentAccount(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.CreateCryptoCurrencyPaymentAccountReply.prototype.hasPaymentAccount = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest;
- return proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- paymentMethodsList: jspb.Message.toObjectList(msg.getPaymentMethodsList(),
- pb_pb.PaymentMethod.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply;
- return proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new pb_pb.PaymentMethod;
- reader.readMessage(value,pb_pb.PaymentMethod.deserializeBinaryFromReader);
- msg.addPaymentMethods(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPaymentMethodsList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- pb_pb.PaymentMethod.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated PaymentMethod payment_methods = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.prototype.getPaymentMethodsList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, pb_pb.PaymentMethod, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply} returns this
-*/
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.prototype.setPaymentMethodsList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.PaymentMethod=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.PaymentMethod}
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.prototype.addPaymentMethods = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.PaymentMethod, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply} returns this
- */
-proto.io.bisq.protobuffer.GetCryptoCurrencyPaymentMethodsReply.prototype.clearPaymentMethodsList = function() {
- return this.setPaymentMethodsList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.MarketPriceRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.MarketPriceRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- currencyCode: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.MarketPriceRequest}
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.MarketPriceRequest;
- return proto.io.bisq.protobuffer.MarketPriceRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.MarketPriceRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.MarketPriceRequest}
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.MarketPriceRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.MarketPriceRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string currency_code = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.MarketPriceRequest} returns this
- */
-proto.io.bisq.protobuffer.MarketPriceRequest.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.MarketPriceReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.MarketPriceReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.MarketPriceReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPriceReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- price: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.MarketPriceReply}
- */
-proto.io.bisq.protobuffer.MarketPriceReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.MarketPriceReply;
- return proto.io.bisq.protobuffer.MarketPriceReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.MarketPriceReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.MarketPriceReply}
- */
-proto.io.bisq.protobuffer.MarketPriceReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setPrice(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.MarketPriceReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.MarketPriceReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.MarketPriceReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPriceReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPrice();
- if (f !== 0.0) {
- writer.writeDouble(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional double price = 1;
- * @return {number}
- */
-proto.io.bisq.protobuffer.MarketPriceReply.prototype.getPrice = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.MarketPriceReply} returns this
- */
-proto.io.bisq.protobuffer.MarketPriceReply.prototype.setPrice = function(value) {
- return jspb.Message.setProto3FloatField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.MarketPricesRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.MarketPricesRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.MarketPricesRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPricesRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.MarketPricesRequest}
- */
-proto.io.bisq.protobuffer.MarketPricesRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.MarketPricesRequest;
- return proto.io.bisq.protobuffer.MarketPricesRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.MarketPricesRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.MarketPricesRequest}
- */
-proto.io.bisq.protobuffer.MarketPricesRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.MarketPricesRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.MarketPricesRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.MarketPricesRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPricesRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.MarketPricesReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.MarketPricesReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.MarketPricesReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.MarketPricesReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPricesReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- marketPriceList: jspb.Message.toObjectList(msg.getMarketPriceList(),
- proto.io.bisq.protobuffer.MarketPriceInfo.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.MarketPricesReply}
- */
-proto.io.bisq.protobuffer.MarketPricesReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.MarketPricesReply;
- return proto.io.bisq.protobuffer.MarketPricesReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.MarketPricesReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.MarketPricesReply}
- */
-proto.io.bisq.protobuffer.MarketPricesReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.MarketPriceInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.MarketPriceInfo.deserializeBinaryFromReader);
- msg.addMarketPrice(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.MarketPricesReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.MarketPricesReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.MarketPricesReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPricesReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getMarketPriceList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.MarketPriceInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated MarketPriceInfo market_price = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.MarketPricesReply.prototype.getMarketPriceList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.MarketPriceInfo, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.MarketPricesReply} returns this
-*/
-proto.io.bisq.protobuffer.MarketPricesReply.prototype.setMarketPriceList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.MarketPriceInfo=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.MarketPriceInfo}
- */
-proto.io.bisq.protobuffer.MarketPricesReply.prototype.addMarketPrice = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.MarketPriceInfo, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.MarketPricesReply} returns this
- */
-proto.io.bisq.protobuffer.MarketPricesReply.prototype.clearMarketPriceList = function() {
- return this.setMarketPriceList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.MarketPriceInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.MarketPriceInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
- price: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.MarketPriceInfo}
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.MarketPriceInfo;
- return proto.io.bisq.protobuffer.MarketPriceInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.MarketPriceInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.MarketPriceInfo}
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- case 2:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setPrice(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.MarketPriceInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.MarketPriceInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getPrice();
- if (f !== 0.0) {
- writer.writeDouble(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string currency_code = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.MarketPriceInfo} returns this
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional double price = 2;
- * @return {number}
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.prototype.getPrice = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.MarketPriceInfo} returns this
- */
-proto.io.bisq.protobuffer.MarketPriceInfo.prototype.setPrice = function(value) {
- return jspb.Message.setProto3FloatField(this, 2, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTradeStatisticsRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTradeStatisticsRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTradeStatisticsRequest}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTradeStatisticsRequest;
- return proto.io.bisq.protobuffer.GetTradeStatisticsRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTradeStatisticsRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTradeStatisticsRequest}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTradeStatisticsRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTradeStatisticsRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTradeStatisticsReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTradeStatisticsReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- tradeStatisticsList: jspb.Message.toObjectList(msg.getTradeStatisticsList(),
- pb_pb.TradeStatistics3.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTradeStatisticsReply}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTradeStatisticsReply;
- return proto.io.bisq.protobuffer.GetTradeStatisticsReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTradeStatisticsReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTradeStatisticsReply}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new pb_pb.TradeStatistics3;
- reader.readMessage(value,pb_pb.TradeStatistics3.deserializeBinaryFromReader);
- msg.addTradeStatistics(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTradeStatisticsReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTradeStatisticsReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTradeStatisticsList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- pb_pb.TradeStatistics3.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated TradeStatistics3 trade_statistics = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.prototype.getTradeStatisticsList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, pb_pb.TradeStatistics3, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetTradeStatisticsReply} returns this
-*/
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.prototype.setTradeStatisticsList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.TradeStatistics3=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.TradeStatistics3}
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.prototype.addTradeStatistics = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.TradeStatistics3, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetTradeStatisticsReply} returns this
- */
-proto.io.bisq.protobuffer.GetTradeStatisticsReply.prototype.clearTradeStatisticsList = function() {
- return this.setTradeStatisticsList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.StopRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.StopRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.StopRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.StopRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.StopRequest}
- */
-proto.io.bisq.protobuffer.StopRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.StopRequest;
- return proto.io.bisq.protobuffer.StopRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.StopRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.StopRequest}
- */
-proto.io.bisq.protobuffer.StopRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.StopRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.StopRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.StopRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.StopRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.StopReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.StopReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.StopReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.StopReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.StopReply}
- */
-proto.io.bisq.protobuffer.StopReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.StopReply;
- return proto.io.bisq.protobuffer.StopReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.StopReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.StopReply}
- */
-proto.io.bisq.protobuffer.StopReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.StopReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.StopReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.StopReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.StopReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.TakeOfferRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.TakeOfferRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- offerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
- paymentAccountId: jspb.Message.getFieldWithDefault(msg, 2, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.TakeOfferRequest}
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.TakeOfferRequest;
- return proto.io.bisq.protobuffer.TakeOfferRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.TakeOfferRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.TakeOfferRequest}
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setOfferId(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentAccountId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.TakeOfferRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.TakeOfferRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOfferId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getPaymentAccountId();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string offer_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.prototype.getOfferId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TakeOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.prototype.setOfferId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string payment_account_id = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.prototype.getPaymentAccountId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TakeOfferRequest} returns this
- */
-proto.io.bisq.protobuffer.TakeOfferRequest.prototype.setPaymentAccountId = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.TakeOfferReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.TakeOfferReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TakeOfferReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.TradeInfo.toObject(includeInstance, f),
- failureReason: (f = msg.getFailureReason()) && proto.io.bisq.protobuffer.AvailabilityResultWithDescription.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.TakeOfferReply}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.TakeOfferReply;
- return proto.io.bisq.protobuffer.TakeOfferReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.TakeOfferReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.TakeOfferReply}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TradeInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TradeInfo.deserializeBinaryFromReader);
- msg.setTrade(value);
- break;
- case 2:
- var value = new proto.io.bisq.protobuffer.AvailabilityResultWithDescription;
- reader.readMessage(value,proto.io.bisq.protobuffer.AvailabilityResultWithDescription.deserializeBinaryFromReader);
- msg.setFailureReason(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.TakeOfferReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.TakeOfferReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TakeOfferReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTrade();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TradeInfo.serializeBinaryToWriter
- );
- }
- f = message.getFailureReason();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.io.bisq.protobuffer.AvailabilityResultWithDescription.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TradeInfo trade = 1;
- * @return {?proto.io.bisq.protobuffer.TradeInfo}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.getTrade = function() {
- return /** @type{?proto.io.bisq.protobuffer.TradeInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TradeInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.TakeOfferReply} returns this
-*/
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.setTrade = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.TakeOfferReply} returns this
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.clearTrade = function() {
- return this.setTrade(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.hasTrade = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-/**
- * optional AvailabilityResultWithDescription failure_reason = 2;
- * @return {?proto.io.bisq.protobuffer.AvailabilityResultWithDescription}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.getFailureReason = function() {
- return /** @type{?proto.io.bisq.protobuffer.AvailabilityResultWithDescription} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AvailabilityResultWithDescription, 2));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.AvailabilityResultWithDescription|undefined} value
- * @return {!proto.io.bisq.protobuffer.TakeOfferReply} returns this
-*/
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.setFailureReason = function(value) {
- return jspb.Message.setWrapperField(this, 2, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.TakeOfferReply} returns this
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.clearFailureReason = function() {
- return this.setFailureReason(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TakeOfferReply.prototype.hasFailureReason = function() {
- return jspb.Message.getField(this, 2) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- tradeId: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest;
- return proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradeId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTradeId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string trade_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.prototype.getTradeId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest} returns this
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedRequest.prototype.setTradeId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentStartedReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentStartedReply}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.ConfirmPaymentStartedReply;
- return proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentStartedReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentStartedReply}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentStartedReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentStartedReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- tradeId: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest;
- return proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradeId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTradeId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string trade_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.prototype.getTradeId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest} returns this
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedRequest.prototype.setTradeId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply;
- return proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ConfirmPaymentReceivedReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTradeRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTradeRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTradeRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- tradeId: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTradeRequest}
- */
-proto.io.bisq.protobuffer.GetTradeRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTradeRequest;
- return proto.io.bisq.protobuffer.GetTradeRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTradeRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTradeRequest}
- */
-proto.io.bisq.protobuffer.GetTradeRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradeId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTradeRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTradeRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTradeRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTradeId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string trade_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetTradeRequest.prototype.getTradeId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetTradeRequest} returns this
- */
-proto.io.bisq.protobuffer.GetTradeRequest.prototype.setTradeId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTradeReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTradeReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTradeReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- trade: (f = msg.getTrade()) && proto.io.bisq.protobuffer.TradeInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTradeReply}
- */
-proto.io.bisq.protobuffer.GetTradeReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTradeReply;
- return proto.io.bisq.protobuffer.GetTradeReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTradeReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTradeReply}
- */
-proto.io.bisq.protobuffer.GetTradeReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TradeInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TradeInfo.deserializeBinaryFromReader);
- msg.setTrade(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTradeReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTradeReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTradeReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTradeReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTrade();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TradeInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TradeInfo trade = 1;
- * @return {?proto.io.bisq.protobuffer.TradeInfo}
- */
-proto.io.bisq.protobuffer.GetTradeReply.prototype.getTrade = function() {
- return /** @type{?proto.io.bisq.protobuffer.TradeInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TradeInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TradeInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetTradeReply} returns this
-*/
-proto.io.bisq.protobuffer.GetTradeReply.prototype.setTrade = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetTradeReply} returns this
- */
-proto.io.bisq.protobuffer.GetTradeReply.prototype.clearTrade = function() {
- return this.setTrade(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetTradeReply.prototype.hasTrade = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.KeepFundsRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.KeepFundsRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- tradeId: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.KeepFundsRequest}
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.KeepFundsRequest;
- return proto.io.bisq.protobuffer.KeepFundsRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.KeepFundsRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.KeepFundsRequest}
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradeId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.KeepFundsRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.KeepFundsRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTradeId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string trade_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.prototype.getTradeId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.KeepFundsRequest} returns this
- */
-proto.io.bisq.protobuffer.KeepFundsRequest.prototype.setTradeId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.KeepFundsReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.KeepFundsReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.KeepFundsReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.KeepFundsReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.KeepFundsReply}
- */
-proto.io.bisq.protobuffer.KeepFundsReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.KeepFundsReply;
- return proto.io.bisq.protobuffer.KeepFundsReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.KeepFundsReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.KeepFundsReply}
- */
-proto.io.bisq.protobuffer.KeepFundsReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.KeepFundsReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.KeepFundsReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.KeepFundsReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.KeepFundsReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.WithdrawFundsRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.WithdrawFundsRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
- address: jspb.Message.getFieldWithDefault(msg, 2, ""),
- memo: jspb.Message.getFieldWithDefault(msg, 3, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsRequest}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.WithdrawFundsRequest;
- return proto.io.bisq.protobuffer.WithdrawFundsRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.WithdrawFundsRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsRequest}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradeId(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setAddress(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setMemo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.WithdrawFundsRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.WithdrawFundsRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTradeId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getAddress();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getMemo();
- if (f.length > 0) {
- writer.writeString(
- 3,
- f
- );
- }
-};
-
-
-/**
- * optional string trade_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.getTradeId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsRequest} returns this
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.setTradeId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string address = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.getAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsRequest} returns this
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.setAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional string memo = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.getMemo = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsRequest} returns this
- */
-proto.io.bisq.protobuffer.WithdrawFundsRequest.prototype.setMemo = function(value) {
- return jspb.Message.setProto3StringField(this, 3, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.WithdrawFundsReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.WithdrawFundsReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsReply}
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.WithdrawFundsReply;
- return proto.io.bisq.protobuffer.WithdrawFundsReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.WithdrawFundsReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.WithdrawFundsReply}
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.WithdrawFundsReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.WithdrawFundsReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.WithdrawFundsReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.TradeInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.TradeInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TradeInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- offer: (f = msg.getOffer()) && proto.io.bisq.protobuffer.OfferInfo.toObject(includeInstance, f),
- tradeId: jspb.Message.getFieldWithDefault(msg, 2, ""),
- shortId: jspb.Message.getFieldWithDefault(msg, 3, ""),
- date: jspb.Message.getFieldWithDefault(msg, 4, 0),
- role: jspb.Message.getFieldWithDefault(msg, 5, ""),
- txFeeAsLong: jspb.Message.getFieldWithDefault(msg, 7, 0),
- takerFeeAsLong: jspb.Message.getFieldWithDefault(msg, 8, 0),
- takerFeeTxId: jspb.Message.getFieldWithDefault(msg, 9, ""),
- payoutTxId: jspb.Message.getFieldWithDefault(msg, 11, ""),
- tradeAmountAsLong: jspb.Message.getFieldWithDefault(msg, 12, 0),
- tradePrice: jspb.Message.getFieldWithDefault(msg, 13, 0),
- tradingPeerNodeAddress: jspb.Message.getFieldWithDefault(msg, 14, ""),
- state: jspb.Message.getFieldWithDefault(msg, 15, ""),
- phase: jspb.Message.getFieldWithDefault(msg, 16, ""),
- tradePeriodState: jspb.Message.getFieldWithDefault(msg, 17, ""),
- isDepositPublished: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
- isDepositConfirmed: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
- isFiatSent: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
- isFiatReceived: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
- isPayoutPublished: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
- isWithdrawn: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
- contractAsJson: jspb.Message.getFieldWithDefault(msg, 24, ""),
- contract: (f = msg.getContract()) && proto.io.bisq.protobuffer.ContractInfo.toObject(includeInstance, f),
- makerDepositTxId: jspb.Message.getFieldWithDefault(msg, 100, ""),
- takerDepositTxId: jspb.Message.getFieldWithDefault(msg, 101, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.TradeInfo}
- */
-proto.io.bisq.protobuffer.TradeInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.TradeInfo;
- return proto.io.bisq.protobuffer.TradeInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.TradeInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.TradeInfo}
- */
-proto.io.bisq.protobuffer.TradeInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.OfferInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.OfferInfo.deserializeBinaryFromReader);
- msg.setOffer(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradeId(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setShortId(value);
- break;
- case 4:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setDate(value);
- break;
- case 5:
- var value = /** @type {string} */ (reader.readString());
- msg.setRole(value);
- break;
- case 7:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTxFeeAsLong(value);
- break;
- case 8:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTakerFeeAsLong(value);
- break;
- case 9:
- var value = /** @type {string} */ (reader.readString());
- msg.setTakerFeeTxId(value);
- break;
- case 11:
- var value = /** @type {string} */ (reader.readString());
- msg.setPayoutTxId(value);
- break;
- case 12:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTradeAmountAsLong(value);
- break;
- case 13:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTradePrice(value);
- break;
- case 14:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradingPeerNodeAddress(value);
- break;
- case 15:
- var value = /** @type {string} */ (reader.readString());
- msg.setState(value);
- break;
- case 16:
- var value = /** @type {string} */ (reader.readString());
- msg.setPhase(value);
- break;
- case 17:
- var value = /** @type {string} */ (reader.readString());
- msg.setTradePeriodState(value);
- break;
- case 18:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsDepositPublished(value);
- break;
- case 19:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsDepositConfirmed(value);
- break;
- case 20:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsFiatSent(value);
- break;
- case 21:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsFiatReceived(value);
- break;
- case 22:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsPayoutPublished(value);
- break;
- case 23:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsWithdrawn(value);
- break;
- case 24:
- var value = /** @type {string} */ (reader.readString());
- msg.setContractAsJson(value);
- break;
- case 25:
- var value = new proto.io.bisq.protobuffer.ContractInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.ContractInfo.deserializeBinaryFromReader);
- msg.setContract(value);
- break;
- case 100:
- var value = /** @type {string} */ (reader.readString());
- msg.setMakerDepositTxId(value);
- break;
- case 101:
- var value = /** @type {string} */ (reader.readString());
- msg.setTakerDepositTxId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.TradeInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.TradeInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TradeInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getOffer();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.OfferInfo.serializeBinaryToWriter
- );
- }
- f = message.getTradeId();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getShortId();
- if (f.length > 0) {
- writer.writeString(
- 3,
- f
- );
- }
- f = message.getDate();
- if (f !== 0) {
- writer.writeUint64(
- 4,
- f
- );
- }
- f = message.getRole();
- if (f.length > 0) {
- writer.writeString(
- 5,
- f
- );
- }
- f = message.getTxFeeAsLong();
- if (f !== 0) {
- writer.writeUint64(
- 7,
- f
- );
- }
- f = message.getTakerFeeAsLong();
- if (f !== 0) {
- writer.writeUint64(
- 8,
- f
- );
- }
- f = message.getTakerFeeTxId();
- if (f.length > 0) {
- writer.writeString(
- 9,
- f
- );
- }
- f = message.getPayoutTxId();
- if (f.length > 0) {
- writer.writeString(
- 11,
- f
- );
- }
- f = message.getTradeAmountAsLong();
- if (f !== 0) {
- writer.writeUint64(
- 12,
- f
- );
- }
- f = message.getTradePrice();
- if (f !== 0) {
- writer.writeUint64(
- 13,
- f
- );
- }
- f = message.getTradingPeerNodeAddress();
- if (f.length > 0) {
- writer.writeString(
- 14,
- f
- );
- }
- f = message.getState();
- if (f.length > 0) {
- writer.writeString(
- 15,
- f
- );
- }
- f = message.getPhase();
- if (f.length > 0) {
- writer.writeString(
- 16,
- f
- );
- }
- f = message.getTradePeriodState();
- if (f.length > 0) {
- writer.writeString(
- 17,
- f
- );
- }
- f = message.getIsDepositPublished();
- if (f) {
- writer.writeBool(
- 18,
- f
- );
- }
- f = message.getIsDepositConfirmed();
- if (f) {
- writer.writeBool(
- 19,
- f
- );
- }
- f = message.getIsFiatSent();
- if (f) {
- writer.writeBool(
- 20,
- f
- );
- }
- f = message.getIsFiatReceived();
- if (f) {
- writer.writeBool(
- 21,
- f
- );
- }
- f = message.getIsPayoutPublished();
- if (f) {
- writer.writeBool(
- 22,
- f
- );
- }
- f = message.getIsWithdrawn();
- if (f) {
- writer.writeBool(
- 23,
- f
- );
- }
- f = message.getContractAsJson();
- if (f.length > 0) {
- writer.writeString(
- 24,
- f
- );
- }
- f = message.getContract();
- if (f != null) {
- writer.writeMessage(
- 25,
- f,
- proto.io.bisq.protobuffer.ContractInfo.serializeBinaryToWriter
- );
- }
- f = message.getMakerDepositTxId();
- if (f.length > 0) {
- writer.writeString(
- 100,
- f
- );
- }
- f = message.getTakerDepositTxId();
- if (f.length > 0) {
- writer.writeString(
- 101,
- f
- );
- }
-};
-
-
-/**
- * optional OfferInfo offer = 1;
- * @return {?proto.io.bisq.protobuffer.OfferInfo}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getOffer = function() {
- return /** @type{?proto.io.bisq.protobuffer.OfferInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.OfferInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.OfferInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
-*/
-proto.io.bisq.protobuffer.TradeInfo.prototype.setOffer = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.clearOffer = function() {
- return this.setOffer(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.hasOffer = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-/**
- * optional string trade_id = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTradeId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTradeId = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional string short_id = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getShortId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setShortId = function(value) {
- return jspb.Message.setProto3StringField(this, 3, value);
-};
-
-
-/**
- * optional uint64 date = 4;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getDate = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setDate = function(value) {
- return jspb.Message.setProto3IntField(this, 4, value);
-};
-
-
-/**
- * optional string role = 5;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getRole = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setRole = function(value) {
- return jspb.Message.setProto3StringField(this, 5, value);
-};
-
-
-/**
- * optional uint64 tx_fee_as_long = 7;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTxFeeAsLong = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTxFeeAsLong = function(value) {
- return jspb.Message.setProto3IntField(this, 7, value);
-};
-
-
-/**
- * optional uint64 taker_fee_as_long = 8;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTakerFeeAsLong = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTakerFeeAsLong = function(value) {
- return jspb.Message.setProto3IntField(this, 8, value);
-};
-
-
-/**
- * optional string taker_fee_tx_id = 9;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTakerFeeTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTakerFeeTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 9, value);
-};
-
-
-/**
- * optional string payout_tx_id = 11;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getPayoutTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setPayoutTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 11, value);
-};
-
-
-/**
- * optional uint64 trade_amount_as_long = 12;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTradeAmountAsLong = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTradeAmountAsLong = function(value) {
- return jspb.Message.setProto3IntField(this, 12, value);
-};
-
-
-/**
- * optional uint64 trade_price = 13;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTradePrice = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTradePrice = function(value) {
- return jspb.Message.setProto3IntField(this, 13, value);
-};
-
-
-/**
- * optional string trading_peer_node_address = 14;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTradingPeerNodeAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTradingPeerNodeAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 14, value);
-};
-
-
-/**
- * optional string state = 15;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getState = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setState = function(value) {
- return jspb.Message.setProto3StringField(this, 15, value);
-};
-
-
-/**
- * optional string phase = 16;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getPhase = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setPhase = function(value) {
- return jspb.Message.setProto3StringField(this, 16, value);
-};
-
-
-/**
- * optional string trade_period_state = 17;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTradePeriodState = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTradePeriodState = function(value) {
- return jspb.Message.setProto3StringField(this, 17, value);
-};
-
-
-/**
- * optional bool is_deposit_published = 18;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getIsDepositPublished = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setIsDepositPublished = function(value) {
- return jspb.Message.setProto3BooleanField(this, 18, value);
-};
-
-
-/**
- * optional bool is_deposit_confirmed = 19;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getIsDepositConfirmed = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setIsDepositConfirmed = function(value) {
- return jspb.Message.setProto3BooleanField(this, 19, value);
-};
-
-
-/**
- * optional bool is_fiat_sent = 20;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getIsFiatSent = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setIsFiatSent = function(value) {
- return jspb.Message.setProto3BooleanField(this, 20, value);
-};
-
-
-/**
- * optional bool is_fiat_received = 21;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getIsFiatReceived = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setIsFiatReceived = function(value) {
- return jspb.Message.setProto3BooleanField(this, 21, value);
-};
-
-
-/**
- * optional bool is_payout_published = 22;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getIsPayoutPublished = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setIsPayoutPublished = function(value) {
- return jspb.Message.setProto3BooleanField(this, 22, value);
-};
-
-
-/**
- * optional bool is_withdrawn = 23;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getIsWithdrawn = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 23, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setIsWithdrawn = function(value) {
- return jspb.Message.setProto3BooleanField(this, 23, value);
-};
-
-
-/**
- * optional string contract_as_json = 24;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getContractAsJson = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setContractAsJson = function(value) {
- return jspb.Message.setProto3StringField(this, 24, value);
-};
-
-
-/**
- * optional ContractInfo contract = 25;
- * @return {?proto.io.bisq.protobuffer.ContractInfo}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getContract = function() {
- return /** @type{?proto.io.bisq.protobuffer.ContractInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.ContractInfo, 25));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.ContractInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
-*/
-proto.io.bisq.protobuffer.TradeInfo.prototype.setContract = function(value) {
- return jspb.Message.setWrapperField(this, 25, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.clearContract = function() {
- return this.setContract(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.hasContract = function() {
- return jspb.Message.getField(this, 25) != null;
-};
-
-
-/**
- * optional string maker_deposit_tx_id = 100;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getMakerDepositTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 100, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setMakerDepositTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 100, value);
-};
-
-
-/**
- * optional string taker_deposit_tx_id = 101;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.getTakerDepositTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 101, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TradeInfo} returns this
- */
-proto.io.bisq.protobuffer.TradeInfo.prototype.setTakerDepositTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 101, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.ContractInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.ContractInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ContractInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- buyerNodeAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
- sellerNodeAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
- isBuyerMakerAndSellerTaker: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
- makerAccountId: jspb.Message.getFieldWithDefault(msg, 6, ""),
- takerAccountId: jspb.Message.getFieldWithDefault(msg, 7, ""),
- makerPaymentAccountPayload: (f = msg.getMakerPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.toObject(includeInstance, f),
- takerPaymentAccountPayload: (f = msg.getTakerPaymentAccountPayload()) && proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.toObject(includeInstance, f),
- makerPayoutAddressString: jspb.Message.getFieldWithDefault(msg, 10, ""),
- takerPayoutAddressString: jspb.Message.getFieldWithDefault(msg, 11, ""),
- lockTime: jspb.Message.getFieldWithDefault(msg, 12, 0),
- arbitratorNodeAddress: jspb.Message.getFieldWithDefault(msg, 100, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.ContractInfo}
- */
-proto.io.bisq.protobuffer.ContractInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.ContractInfo;
- return proto.io.bisq.protobuffer.ContractInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.ContractInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.ContractInfo}
- */
-proto.io.bisq.protobuffer.ContractInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setBuyerNodeAddress(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setSellerNodeAddress(value);
- break;
- case 5:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsBuyerMakerAndSellerTaker(value);
- break;
- case 6:
- var value = /** @type {string} */ (reader.readString());
- msg.setMakerAccountId(value);
- break;
- case 7:
- var value = /** @type {string} */ (reader.readString());
- msg.setTakerAccountId(value);
- break;
- case 8:
- var value = new proto.io.bisq.protobuffer.PaymentAccountPayloadInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.deserializeBinaryFromReader);
- msg.setMakerPaymentAccountPayload(value);
- break;
- case 9:
- var value = new proto.io.bisq.protobuffer.PaymentAccountPayloadInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.deserializeBinaryFromReader);
- msg.setTakerPaymentAccountPayload(value);
- break;
- case 10:
- var value = /** @type {string} */ (reader.readString());
- msg.setMakerPayoutAddressString(value);
- break;
- case 11:
- var value = /** @type {string} */ (reader.readString());
- msg.setTakerPayoutAddressString(value);
- break;
- case 12:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setLockTime(value);
- break;
- case 100:
- var value = /** @type {string} */ (reader.readString());
- msg.setArbitratorNodeAddress(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.ContractInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.ContractInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.ContractInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getBuyerNodeAddress();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getSellerNodeAddress();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getIsBuyerMakerAndSellerTaker();
- if (f) {
- writer.writeBool(
- 5,
- f
- );
- }
- f = message.getMakerAccountId();
- if (f.length > 0) {
- writer.writeString(
- 6,
- f
- );
- }
- f = message.getTakerAccountId();
- if (f.length > 0) {
- writer.writeString(
- 7,
- f
- );
- }
- f = message.getMakerPaymentAccountPayload();
- if (f != null) {
- writer.writeMessage(
- 8,
- f,
- proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.serializeBinaryToWriter
- );
- }
- f = message.getTakerPaymentAccountPayload();
- if (f != null) {
- writer.writeMessage(
- 9,
- f,
- proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.serializeBinaryToWriter
- );
- }
- f = message.getMakerPayoutAddressString();
- if (f.length > 0) {
- writer.writeString(
- 10,
- f
- );
- }
- f = message.getTakerPayoutAddressString();
- if (f.length > 0) {
- writer.writeString(
- 11,
- f
- );
- }
- f = message.getLockTime();
- if (f !== 0) {
- writer.writeUint64(
- 12,
- f
- );
- }
- f = message.getArbitratorNodeAddress();
- if (f.length > 0) {
- writer.writeString(
- 100,
- f
- );
- }
-};
-
-
-/**
- * optional string buyer_node_address = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getBuyerNodeAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setBuyerNodeAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string seller_node_address = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getSellerNodeAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setSellerNodeAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional bool is_buyer_maker_and_seller_taker = 5;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getIsBuyerMakerAndSellerTaker = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setIsBuyerMakerAndSellerTaker = function(value) {
- return jspb.Message.setProto3BooleanField(this, 5, value);
-};
-
-
-/**
- * optional string maker_account_id = 6;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getMakerAccountId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setMakerAccountId = function(value) {
- return jspb.Message.setProto3StringField(this, 6, value);
-};
-
-
-/**
- * optional string taker_account_id = 7;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getTakerAccountId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setTakerAccountId = function(value) {
- return jspb.Message.setProto3StringField(this, 7, value);
-};
-
-
-/**
- * optional PaymentAccountPayloadInfo maker_payment_account_payload = 8;
- * @return {?proto.io.bisq.protobuffer.PaymentAccountPayloadInfo}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getMakerPaymentAccountPayload = function() {
- return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayloadInfo, 8));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.PaymentAccountPayloadInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
-*/
-proto.io.bisq.protobuffer.ContractInfo.prototype.setMakerPaymentAccountPayload = function(value) {
- return jspb.Message.setWrapperField(this, 8, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.clearMakerPaymentAccountPayload = function() {
- return this.setMakerPaymentAccountPayload(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.hasMakerPaymentAccountPayload = function() {
- return jspb.Message.getField(this, 8) != null;
-};
-
-
-/**
- * optional PaymentAccountPayloadInfo taker_payment_account_payload = 9;
- * @return {?proto.io.bisq.protobuffer.PaymentAccountPayloadInfo}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getTakerPaymentAccountPayload = function() {
- return /** @type{?proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.PaymentAccountPayloadInfo, 9));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.PaymentAccountPayloadInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
-*/
-proto.io.bisq.protobuffer.ContractInfo.prototype.setTakerPaymentAccountPayload = function(value) {
- return jspb.Message.setWrapperField(this, 9, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.clearTakerPaymentAccountPayload = function() {
- return this.setTakerPaymentAccountPayload(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.hasTakerPaymentAccountPayload = function() {
- return jspb.Message.getField(this, 9) != null;
-};
-
-
-/**
- * optional string maker_payout_address_string = 10;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getMakerPayoutAddressString = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setMakerPayoutAddressString = function(value) {
- return jspb.Message.setProto3StringField(this, 10, value);
-};
-
-
-/**
- * optional string taker_payout_address_string = 11;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getTakerPayoutAddressString = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setTakerPayoutAddressString = function(value) {
- return jspb.Message.setProto3StringField(this, 11, value);
-};
-
-
-/**
- * optional uint64 lock_time = 12;
- * @return {number}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getLockTime = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setLockTime = function(value) {
- return jspb.Message.setProto3IntField(this, 12, value);
-};
-
-
-/**
- * optional string arbitrator_node_address = 100;
- * @return {string}
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.getArbitratorNodeAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 100, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.ContractInfo} returns this
- */
-proto.io.bisq.protobuffer.ContractInfo.prototype.setArbitratorNodeAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 100, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- id: jspb.Message.getFieldWithDefault(msg, 1, ""),
- paymentMethodId: jspb.Message.getFieldWithDefault(msg, 2, ""),
- address: jspb.Message.getFieldWithDefault(msg, 3, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.PaymentAccountPayloadInfo;
- return proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setId(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setPaymentMethodId(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setAddress(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getPaymentMethodId();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getAddress();
- if (f.length > 0) {
- writer.writeString(
- 3,
- f
- );
- }
-};
-
-
-/**
- * optional string id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.getId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} returns this
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.setId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string payment_method_id = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.getPaymentMethodId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} returns this
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.setPaymentMethodId = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional string address = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.getAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.PaymentAccountPayloadInfo} returns this
- */
-proto.io.bisq.protobuffer.PaymentAccountPayloadInfo.prototype.setAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 3, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.TxFeeRateInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.TxFeeRateInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- useCustomTxFeeRate: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
- customTxFeeRate: jspb.Message.getFieldWithDefault(msg, 2, 0),
- feeServiceRate: jspb.Message.getFieldWithDefault(msg, 3, 0),
- lastFeeServiceRequestTs: jspb.Message.getFieldWithDefault(msg, 4, 0),
- minFeeServiceRate: jspb.Message.getFieldWithDefault(msg, 5, 0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.TxFeeRateInfo;
- return proto.io.bisq.protobuffer.TxFeeRateInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.TxFeeRateInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setUseCustomTxFeeRate(value);
- break;
- case 2:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setCustomTxFeeRate(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setFeeServiceRate(value);
- break;
- case 4:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setLastFeeServiceRequestTs(value);
- break;
- case 5:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setMinFeeServiceRate(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.TxFeeRateInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.TxFeeRateInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getUseCustomTxFeeRate();
- if (f) {
- writer.writeBool(
- 1,
- f
- );
- }
- f = message.getCustomTxFeeRate();
- if (f !== 0) {
- writer.writeUint64(
- 2,
- f
- );
- }
- f = message.getFeeServiceRate();
- if (f !== 0) {
- writer.writeUint64(
- 3,
- f
- );
- }
- f = message.getLastFeeServiceRequestTs();
- if (f !== 0) {
- writer.writeUint64(
- 4,
- f
- );
- }
- f = message.getMinFeeServiceRate();
- if (f !== 0) {
- writer.writeUint64(
- 5,
- f
- );
- }
-};
-
-
-/**
- * optional bool use_custom_tx_fee_rate = 1;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.getUseCustomTxFeeRate = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo} returns this
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.setUseCustomTxFeeRate = function(value) {
- return jspb.Message.setProto3BooleanField(this, 1, value);
-};
-
-
-/**
- * optional uint64 custom_tx_fee_rate = 2;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.getCustomTxFeeRate = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo} returns this
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.setCustomTxFeeRate = function(value) {
- return jspb.Message.setProto3IntField(this, 2, value);
-};
-
-
-/**
- * optional uint64 fee_service_rate = 3;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.getFeeServiceRate = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo} returns this
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.setFeeServiceRate = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional uint64 last_fee_service_request_ts = 4;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.getLastFeeServiceRequestTs = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo} returns this
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.setLastFeeServiceRequestTs = function(value) {
- return jspb.Message.setProto3IntField(this, 4, value);
-};
-
-
-/**
- * optional uint64 min_fee_service_rate = 5;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.getMinFeeServiceRate = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxFeeRateInfo} returns this
- */
-proto.io.bisq.protobuffer.TxFeeRateInfo.prototype.setMinFeeServiceRate = function(value) {
- return jspb.Message.setProto3IntField(this, 5, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.TxInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.TxInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TxInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- txId: jspb.Message.getFieldWithDefault(msg, 1, ""),
- inputSum: jspb.Message.getFieldWithDefault(msg, 2, 0),
- outputSum: jspb.Message.getFieldWithDefault(msg, 3, 0),
- fee: jspb.Message.getFieldWithDefault(msg, 4, 0),
- size: jspb.Message.getFieldWithDefault(msg, 5, 0),
- isPending: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
- memo: jspb.Message.getFieldWithDefault(msg, 7, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.TxInfo}
- */
-proto.io.bisq.protobuffer.TxInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.TxInfo;
- return proto.io.bisq.protobuffer.TxInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.TxInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.TxInfo}
- */
-proto.io.bisq.protobuffer.TxInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTxId(value);
- break;
- case 2:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setInputSum(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setOutputSum(value);
- break;
- case 4:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setFee(value);
- break;
- case 5:
- var value = /** @type {number} */ (reader.readInt32());
- msg.setSize(value);
- break;
- case 6:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsPending(value);
- break;
- case 7:
- var value = /** @type {string} */ (reader.readString());
- msg.setMemo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.TxInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.TxInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.TxInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getInputSum();
- if (f !== 0) {
- writer.writeUint64(
- 2,
- f
- );
- }
- f = message.getOutputSum();
- if (f !== 0) {
- writer.writeUint64(
- 3,
- f
- );
- }
- f = message.getFee();
- if (f !== 0) {
- writer.writeUint64(
- 4,
- f
- );
- }
- f = message.getSize();
- if (f !== 0) {
- writer.writeInt32(
- 5,
- f
- );
- }
- f = message.getIsPending();
- if (f) {
- writer.writeBool(
- 6,
- f
- );
- }
- f = message.getMemo();
- if (f.length > 0) {
- writer.writeString(
- 7,
- f
- );
- }
-};
-
-
-/**
- * optional string tx_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional uint64 input_sum = 2;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getInputSum = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setInputSum = function(value) {
- return jspb.Message.setProto3IntField(this, 2, value);
-};
-
-
-/**
- * optional uint64 output_sum = 3;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getOutputSum = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setOutputSum = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional uint64 fee = 4;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getFee = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setFee = function(value) {
- return jspb.Message.setProto3IntField(this, 4, value);
-};
-
-
-/**
- * optional int32 size = 5;
- * @return {number}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getSize = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setSize = function(value) {
- return jspb.Message.setProto3IntField(this, 5, value);
-};
-
-
-/**
- * optional bool is_pending = 6;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getIsPending = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setIsPending = function(value) {
- return jspb.Message.setProto3BooleanField(this, 6, value);
-};
-
-
-/**
- * optional string memo = 7;
- * @return {string}
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.getMemo = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.TxInfo} returns this
- */
-proto.io.bisq.protobuffer.TxInfo.prototype.setMemo = function(value) {
- return jspb.Message.setProto3StringField(this, 7, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetBalancesRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetBalancesRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- currencyCode: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetBalancesRequest}
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetBalancesRequest;
- return proto.io.bisq.protobuffer.GetBalancesRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetBalancesRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetBalancesRequest}
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setCurrencyCode(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetBalancesRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetBalancesRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getCurrencyCode();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string currency_code = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.prototype.getCurrencyCode = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetBalancesRequest} returns this
- */
-proto.io.bisq.protobuffer.GetBalancesRequest.prototype.setCurrencyCode = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetBalancesReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetBalancesReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetBalancesReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetBalancesReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- balances: (f = msg.getBalances()) && proto.io.bisq.protobuffer.BalancesInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetBalancesReply}
- */
-proto.io.bisq.protobuffer.GetBalancesReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetBalancesReply;
- return proto.io.bisq.protobuffer.GetBalancesReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetBalancesReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetBalancesReply}
- */
-proto.io.bisq.protobuffer.GetBalancesReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.BalancesInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.BalancesInfo.deserializeBinaryFromReader);
- msg.setBalances(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetBalancesReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetBalancesReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetBalancesReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetBalancesReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getBalances();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.BalancesInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional BalancesInfo balances = 1;
- * @return {?proto.io.bisq.protobuffer.BalancesInfo}
- */
-proto.io.bisq.protobuffer.GetBalancesReply.prototype.getBalances = function() {
- return /** @type{?proto.io.bisq.protobuffer.BalancesInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BalancesInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.BalancesInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetBalancesReply} returns this
-*/
-proto.io.bisq.protobuffer.GetBalancesReply.prototype.setBalances = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetBalancesReply} returns this
- */
-proto.io.bisq.protobuffer.GetBalancesReply.prototype.clearBalances = function() {
- return this.setBalances(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetBalancesReply.prototype.hasBalances = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest;
- return proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetNewDepositSubaddressReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- subaddress: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetNewDepositSubaddressReply}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetNewDepositSubaddressReply;
- return proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetNewDepositSubaddressReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetNewDepositSubaddressReply}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setSubaddress(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetNewDepositSubaddressReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getSubaddress();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string subaddress = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.prototype.getSubaddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetNewDepositSubaddressReply} returns this
- */
-proto.io.bisq.protobuffer.GetNewDepositSubaddressReply.prototype.setSubaddress = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetAddressBalanceRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetAddressBalanceRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- address: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceRequest}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetAddressBalanceRequest;
- return proto.io.bisq.protobuffer.GetAddressBalanceRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetAddressBalanceRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceRequest}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setAddress(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetAddressBalanceRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetAddressBalanceRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAddress();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string address = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.prototype.getAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceRequest} returns this
- */
-proto.io.bisq.protobuffer.GetAddressBalanceRequest.prototype.setAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetAddressBalanceReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetAddressBalanceReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- addressBalanceInfo: (f = msg.getAddressBalanceInfo()) && proto.io.bisq.protobuffer.AddressBalanceInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceReply}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetAddressBalanceReply;
- return proto.io.bisq.protobuffer.GetAddressBalanceReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetAddressBalanceReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceReply}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.AddressBalanceInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.AddressBalanceInfo.deserializeBinaryFromReader);
- msg.setAddressBalanceInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetAddressBalanceReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetAddressBalanceReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAddressBalanceInfo();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.AddressBalanceInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional AddressBalanceInfo address_balance_info = 1;
- * @return {?proto.io.bisq.protobuffer.AddressBalanceInfo}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.prototype.getAddressBalanceInfo = function() {
- return /** @type{?proto.io.bisq.protobuffer.AddressBalanceInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.AddressBalanceInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.AddressBalanceInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceReply} returns this
-*/
-proto.io.bisq.protobuffer.GetAddressBalanceReply.prototype.setAddressBalanceInfo = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetAddressBalanceReply} returns this
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.prototype.clearAddressBalanceInfo = function() {
- return this.setAddressBalanceInfo(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetAddressBalanceReply.prototype.hasAddressBalanceInfo = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.SendBtcRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.SendBtcRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SendBtcRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- address: jspb.Message.getFieldWithDefault(msg, 1, ""),
- amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
- txFeeRate: jspb.Message.getFieldWithDefault(msg, 3, ""),
- memo: jspb.Message.getFieldWithDefault(msg, 4, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.SendBtcRequest}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.SendBtcRequest;
- return proto.io.bisq.protobuffer.SendBtcRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.SendBtcRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.SendBtcRequest}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setAddress(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setAmount(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setTxFeeRate(value);
- break;
- case 4:
- var value = /** @type {string} */ (reader.readString());
- msg.setMemo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.SendBtcRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.SendBtcRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SendBtcRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAddress();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getAmount();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getTxFeeRate();
- if (f.length > 0) {
- writer.writeString(
- 3,
- f
- );
- }
- f = message.getMemo();
- if (f.length > 0) {
- writer.writeString(
- 4,
- f
- );
- }
-};
-
-
-/**
- * optional string address = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.getAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.SendBtcRequest} returns this
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.setAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string amount = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.getAmount = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.SendBtcRequest} returns this
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.setAmount = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional string tx_fee_rate = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.getTxFeeRate = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.SendBtcRequest} returns this
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.setTxFeeRate = function(value) {
- return jspb.Message.setProto3StringField(this, 3, value);
-};
-
-
-/**
- * optional string memo = 4;
- * @return {string}
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.getMemo = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.SendBtcRequest} returns this
- */
-proto.io.bisq.protobuffer.SendBtcRequest.prototype.setMemo = function(value) {
- return jspb.Message.setProto3StringField(this, 4, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.SendBtcReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.SendBtcReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.SendBtcReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SendBtcReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- txInfo: (f = msg.getTxInfo()) && proto.io.bisq.protobuffer.TxInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.SendBtcReply}
- */
-proto.io.bisq.protobuffer.SendBtcReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.SendBtcReply;
- return proto.io.bisq.protobuffer.SendBtcReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.SendBtcReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.SendBtcReply}
- */
-proto.io.bisq.protobuffer.SendBtcReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TxInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TxInfo.deserializeBinaryFromReader);
- msg.setTxInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.SendBtcReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.SendBtcReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.SendBtcReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SendBtcReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxInfo();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TxInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TxInfo tx_info = 1;
- * @return {?proto.io.bisq.protobuffer.TxInfo}
- */
-proto.io.bisq.protobuffer.SendBtcReply.prototype.getTxInfo = function() {
- return /** @type{?proto.io.bisq.protobuffer.TxInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TxInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TxInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.SendBtcReply} returns this
-*/
-proto.io.bisq.protobuffer.SendBtcReply.prototype.setTxInfo = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.SendBtcReply} returns this
- */
-proto.io.bisq.protobuffer.SendBtcReply.prototype.clearTxInfo = function() {
- return this.setTxInfo(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.SendBtcReply.prototype.hasTxInfo = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTxFeeRateRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTxFeeRateRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTxFeeRateRequest}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTxFeeRateRequest;
- return proto.io.bisq.protobuffer.GetTxFeeRateRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTxFeeRateRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTxFeeRateRequest}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTxFeeRateRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTxFeeRateRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTxFeeRateRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTxFeeRateReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTxFeeRateReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- txFeeRateInfo: (f = msg.getTxFeeRateInfo()) && proto.io.bisq.protobuffer.TxFeeRateInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTxFeeRateReply}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTxFeeRateReply;
- return proto.io.bisq.protobuffer.GetTxFeeRateReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTxFeeRateReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTxFeeRateReply}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TxFeeRateInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TxFeeRateInfo.deserializeBinaryFromReader);
- msg.setTxFeeRateInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTxFeeRateReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTxFeeRateReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxFeeRateInfo();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TxFeeRateInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TxFeeRateInfo tx_fee_rate_info = 1;
- * @return {?proto.io.bisq.protobuffer.TxFeeRateInfo}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.prototype.getTxFeeRateInfo = function() {
- return /** @type{?proto.io.bisq.protobuffer.TxFeeRateInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TxFeeRateInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TxFeeRateInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetTxFeeRateReply} returns this
-*/
-proto.io.bisq.protobuffer.GetTxFeeRateReply.prototype.setTxFeeRateInfo = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetTxFeeRateReply} returns this
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.prototype.clearTxFeeRateInfo = function() {
- return this.setTxFeeRateInfo(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetTxFeeRateReply.prototype.hasTxFeeRateInfo = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- txFeeRatePreference: jspb.Message.getFieldWithDefault(msg, 1, 0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest;
- return proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTxFeeRatePreference(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxFeeRatePreference();
- if (f !== 0) {
- writer.writeUint64(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional uint64 tx_fee_rate_preference = 1;
- * @return {number}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.prototype.getTxFeeRatePreference = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest} returns this
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceRequest.prototype.setTxFeeRatePreference = function(value) {
- return jspb.Message.setProto3IntField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- txFeeRateInfo: (f = msg.getTxFeeRateInfo()) && proto.io.bisq.protobuffer.TxFeeRateInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply;
- return proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TxFeeRateInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TxFeeRateInfo.deserializeBinaryFromReader);
- msg.setTxFeeRateInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxFeeRateInfo();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TxFeeRateInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TxFeeRateInfo tx_fee_rate_info = 1;
- * @return {?proto.io.bisq.protobuffer.TxFeeRateInfo}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.prototype.getTxFeeRateInfo = function() {
- return /** @type{?proto.io.bisq.protobuffer.TxFeeRateInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TxFeeRateInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TxFeeRateInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply} returns this
-*/
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.prototype.setTxFeeRateInfo = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply} returns this
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.prototype.clearTxFeeRateInfo = function() {
- return this.setTxFeeRateInfo(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.SetTxFeeRatePreferenceReply.prototype.hasTxFeeRateInfo = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest;
- return proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- txFeeRateInfo: (f = msg.getTxFeeRateInfo()) && proto.io.bisq.protobuffer.TxFeeRateInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply;
- return proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TxFeeRateInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TxFeeRateInfo.deserializeBinaryFromReader);
- msg.setTxFeeRateInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxFeeRateInfo();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TxFeeRateInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TxFeeRateInfo tx_fee_rate_info = 1;
- * @return {?proto.io.bisq.protobuffer.TxFeeRateInfo}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.prototype.getTxFeeRateInfo = function() {
- return /** @type{?proto.io.bisq.protobuffer.TxFeeRateInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TxFeeRateInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TxFeeRateInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply} returns this
-*/
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.prototype.setTxFeeRateInfo = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply} returns this
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.prototype.clearTxFeeRateInfo = function() {
- return this.setTxFeeRateInfo(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.UnsetTxFeeRatePreferenceReply.prototype.hasTxFeeRateInfo = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTransactionRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTransactionRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- txId: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTransactionRequest}
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTransactionRequest;
- return proto.io.bisq.protobuffer.GetTransactionRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTransactionRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTransactionRequest}
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setTxId(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTransactionRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTransactionRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxId();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string tx_id = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.prototype.getTxId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetTransactionRequest} returns this
- */
-proto.io.bisq.protobuffer.GetTransactionRequest.prototype.setTxId = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetTransactionReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetTransactionReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetTransactionReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTransactionReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- txInfo: (f = msg.getTxInfo()) && proto.io.bisq.protobuffer.TxInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetTransactionReply}
- */
-proto.io.bisq.protobuffer.GetTransactionReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetTransactionReply;
- return proto.io.bisq.protobuffer.GetTransactionReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetTransactionReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetTransactionReply}
- */
-proto.io.bisq.protobuffer.GetTransactionReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.TxInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.TxInfo.deserializeBinaryFromReader);
- msg.setTxInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetTransactionReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetTransactionReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetTransactionReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetTransactionReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getTxInfo();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.TxInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional TxInfo tx_info = 1;
- * @return {?proto.io.bisq.protobuffer.TxInfo}
- */
-proto.io.bisq.protobuffer.GetTransactionReply.prototype.getTxInfo = function() {
- return /** @type{?proto.io.bisq.protobuffer.TxInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.TxInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.TxInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.GetTransactionReply} returns this
-*/
-proto.io.bisq.protobuffer.GetTransactionReply.prototype.setTxInfo = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.GetTransactionReply} returns this
- */
-proto.io.bisq.protobuffer.GetTransactionReply.prototype.clearTxInfo = function() {
- return this.setTxInfo(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.GetTransactionReply.prototype.hasTxInfo = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetFundingAddressesRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetFundingAddressesRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetFundingAddressesRequest}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetFundingAddressesRequest;
- return proto.io.bisq.protobuffer.GetFundingAddressesRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetFundingAddressesRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetFundingAddressesRequest}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetFundingAddressesRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetFundingAddressesRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetFundingAddressesRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.repeatedFields_ = [1];
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetFundingAddressesReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetFundingAddressesReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- addressBalanceInfoList: jspb.Message.toObjectList(msg.getAddressBalanceInfoList(),
- proto.io.bisq.protobuffer.AddressBalanceInfo.toObject, includeInstance)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetFundingAddressesReply}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetFundingAddressesReply;
- return proto.io.bisq.protobuffer.GetFundingAddressesReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetFundingAddressesReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetFundingAddressesReply}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.AddressBalanceInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.AddressBalanceInfo.deserializeBinaryFromReader);
- msg.addAddressBalanceInfo(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetFundingAddressesReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetFundingAddressesReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAddressBalanceInfoList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.AddressBalanceInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * repeated AddressBalanceInfo address_balance_info = 1;
- * @return {!Array}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.prototype.getAddressBalanceInfoList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.io.bisq.protobuffer.AddressBalanceInfo, 1));
-};
-
-
-/**
- * @param {!Array} value
- * @return {!proto.io.bisq.protobuffer.GetFundingAddressesReply} returns this
-*/
-proto.io.bisq.protobuffer.GetFundingAddressesReply.prototype.setAddressBalanceInfoList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
-};
-
-
-/**
- * @param {!proto.io.bisq.protobuffer.AddressBalanceInfo=} opt_value
- * @param {number=} opt_index
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo}
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.prototype.addAddressBalanceInfo = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.io.bisq.protobuffer.AddressBalanceInfo, opt_index);
-};
-
-
-/**
- * Clears the list making it empty but non-null.
- * @return {!proto.io.bisq.protobuffer.GetFundingAddressesReply} returns this
- */
-proto.io.bisq.protobuffer.GetFundingAddressesReply.prototype.clearAddressBalanceInfoList = function() {
- return this.setAddressBalanceInfoList([]);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.SetWalletPasswordRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.SetWalletPasswordRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- password: jspb.Message.getFieldWithDefault(msg, 1, ""),
- newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.SetWalletPasswordRequest}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.SetWalletPasswordRequest;
- return proto.io.bisq.protobuffer.SetWalletPasswordRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.SetWalletPasswordRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.SetWalletPasswordRequest}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setPassword(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setNewPassword(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.SetWalletPasswordRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.SetWalletPasswordRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPassword();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getNewPassword();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string password = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.prototype.getPassword = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.SetWalletPasswordRequest} returns this
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.prototype.setPassword = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional string new_password = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.prototype.getNewPassword = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.SetWalletPasswordRequest} returns this
- */
-proto.io.bisq.protobuffer.SetWalletPasswordRequest.prototype.setNewPassword = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.SetWalletPasswordReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.SetWalletPasswordReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.SetWalletPasswordReply}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.SetWalletPasswordReply;
- return proto.io.bisq.protobuffer.SetWalletPasswordReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.SetWalletPasswordReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.SetWalletPasswordReply}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.SetWalletPasswordReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.SetWalletPasswordReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.SetWalletPasswordReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.RemoveWalletPasswordRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- password: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.RemoveWalletPasswordRequest}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.RemoveWalletPasswordRequest;
- return proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.RemoveWalletPasswordRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.RemoveWalletPasswordRequest}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setPassword(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.RemoveWalletPasswordRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPassword();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string password = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.prototype.getPassword = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.RemoveWalletPasswordRequest} returns this
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordRequest.prototype.setPassword = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.RemoveWalletPasswordReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.RemoveWalletPasswordReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.RemoveWalletPasswordReply}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.RemoveWalletPasswordReply;
- return proto.io.bisq.protobuffer.RemoveWalletPasswordReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.RemoveWalletPasswordReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.RemoveWalletPasswordReply}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.RemoveWalletPasswordReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.RemoveWalletPasswordReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.RemoveWalletPasswordReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.LockWalletRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.LockWalletRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.LockWalletRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.LockWalletRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.LockWalletRequest}
- */
-proto.io.bisq.protobuffer.LockWalletRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.LockWalletRequest;
- return proto.io.bisq.protobuffer.LockWalletRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.LockWalletRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.LockWalletRequest}
- */
-proto.io.bisq.protobuffer.LockWalletRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.LockWalletRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.LockWalletRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.LockWalletRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.LockWalletRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.LockWalletReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.LockWalletReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.LockWalletReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.LockWalletReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.LockWalletReply}
- */
-proto.io.bisq.protobuffer.LockWalletReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.LockWalletReply;
- return proto.io.bisq.protobuffer.LockWalletReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.LockWalletReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.LockWalletReply}
- */
-proto.io.bisq.protobuffer.LockWalletReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.LockWalletReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.LockWalletReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.LockWalletReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.LockWalletReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.UnlockWalletRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.UnlockWalletRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
- password: jspb.Message.getFieldWithDefault(msg, 1, ""),
- timeout: jspb.Message.getFieldWithDefault(msg, 2, 0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.UnlockWalletRequest}
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.UnlockWalletRequest;
- return proto.io.bisq.protobuffer.UnlockWalletRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.UnlockWalletRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.UnlockWalletRequest}
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setPassword(value);
- break;
- case 2:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTimeout(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.UnlockWalletRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.UnlockWalletRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPassword();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getTimeout();
- if (f !== 0) {
- writer.writeUint64(
- 2,
- f
- );
- }
-};
-
-
-/**
- * optional string password = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.prototype.getPassword = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.UnlockWalletRequest} returns this
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.prototype.setPassword = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional uint64 timeout = 2;
- * @return {number}
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.prototype.getTimeout = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.UnlockWalletRequest} returns this
- */
-proto.io.bisq.protobuffer.UnlockWalletRequest.prototype.setTimeout = function(value) {
- return jspb.Message.setProto3IntField(this, 2, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.UnlockWalletReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.UnlockWalletReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.UnlockWalletReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnlockWalletReply.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.UnlockWalletReply}
- */
-proto.io.bisq.protobuffer.UnlockWalletReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.UnlockWalletReply;
- return proto.io.bisq.protobuffer.UnlockWalletReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.UnlockWalletReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.UnlockWalletReply}
- */
-proto.io.bisq.protobuffer.UnlockWalletReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.UnlockWalletReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.UnlockWalletReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.UnlockWalletReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.UnlockWalletReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.BalancesInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.BalancesInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.BalancesInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- btc: (f = msg.getBtc()) && proto.io.bisq.protobuffer.BtcBalanceInfo.toObject(includeInstance, f),
- xmr: (f = msg.getXmr()) && proto.io.bisq.protobuffer.XmrBalanceInfo.toObject(includeInstance, f)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.BalancesInfo}
- */
-proto.io.bisq.protobuffer.BalancesInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.BalancesInfo;
- return proto.io.bisq.protobuffer.BalancesInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.BalancesInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.BalancesInfo}
- */
-proto.io.bisq.protobuffer.BalancesInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.io.bisq.protobuffer.BtcBalanceInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.BtcBalanceInfo.deserializeBinaryFromReader);
- msg.setBtc(value);
- break;
- case 2:
- var value = new proto.io.bisq.protobuffer.XmrBalanceInfo;
- reader.readMessage(value,proto.io.bisq.protobuffer.XmrBalanceInfo.deserializeBinaryFromReader);
- msg.setXmr(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.BalancesInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.BalancesInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.BalancesInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getBtc();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.io.bisq.protobuffer.BtcBalanceInfo.serializeBinaryToWriter
- );
- }
- f = message.getXmr();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.io.bisq.protobuffer.XmrBalanceInfo.serializeBinaryToWriter
- );
- }
-};
-
-
-/**
- * optional BtcBalanceInfo btc = 1;
- * @return {?proto.io.bisq.protobuffer.BtcBalanceInfo}
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.getBtc = function() {
- return /** @type{?proto.io.bisq.protobuffer.BtcBalanceInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.BtcBalanceInfo, 1));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.BtcBalanceInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.BalancesInfo} returns this
-*/
-proto.io.bisq.protobuffer.BalancesInfo.prototype.setBtc = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.BalancesInfo} returns this
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.clearBtc = function() {
- return this.setBtc(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.hasBtc = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
-/**
- * optional XmrBalanceInfo xmr = 2;
- * @return {?proto.io.bisq.protobuffer.XmrBalanceInfo}
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.getXmr = function() {
- return /** @type{?proto.io.bisq.protobuffer.XmrBalanceInfo} */ (
- jspb.Message.getWrapperField(this, proto.io.bisq.protobuffer.XmrBalanceInfo, 2));
-};
-
-
-/**
- * @param {?proto.io.bisq.protobuffer.XmrBalanceInfo|undefined} value
- * @return {!proto.io.bisq.protobuffer.BalancesInfo} returns this
-*/
-proto.io.bisq.protobuffer.BalancesInfo.prototype.setXmr = function(value) {
- return jspb.Message.setWrapperField(this, 2, value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.io.bisq.protobuffer.BalancesInfo} returns this
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.clearXmr = function() {
- return this.setXmr(undefined);
-};
-
-
-/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.BalancesInfo.prototype.hasXmr = function() {
- return jspb.Message.getField(this, 2) != null;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.BtcBalanceInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.BtcBalanceInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- availableBalance: jspb.Message.getFieldWithDefault(msg, 1, 0),
- reservedBalance: jspb.Message.getFieldWithDefault(msg, 2, 0),
- totalAvailableBalance: jspb.Message.getFieldWithDefault(msg, 3, 0),
- lockedBalance: jspb.Message.getFieldWithDefault(msg, 4, 0)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.BtcBalanceInfo}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.BtcBalanceInfo;
- return proto.io.bisq.protobuffer.BtcBalanceInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.BtcBalanceInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.BtcBalanceInfo}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setAvailableBalance(value);
- break;
- case 2:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setReservedBalance(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setTotalAvailableBalance(value);
- break;
- case 4:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setLockedBalance(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.BtcBalanceInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.BtcBalanceInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAvailableBalance();
- if (f !== 0) {
- writer.writeUint64(
- 1,
- f
- );
- }
- f = message.getReservedBalance();
- if (f !== 0) {
- writer.writeUint64(
- 2,
- f
- );
- }
- f = message.getTotalAvailableBalance();
- if (f !== 0) {
- writer.writeUint64(
- 3,
- f
- );
- }
- f = message.getLockedBalance();
- if (f !== 0) {
- writer.writeUint64(
- 4,
- f
- );
- }
-};
-
-
-/**
- * optional uint64 available_balance = 1;
- * @return {number}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.getAvailableBalance = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.BtcBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.setAvailableBalance = function(value) {
- return jspb.Message.setProto3IntField(this, 1, value);
-};
-
-
-/**
- * optional uint64 reserved_balance = 2;
- * @return {number}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.getReservedBalance = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.BtcBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.setReservedBalance = function(value) {
- return jspb.Message.setProto3IntField(this, 2, value);
-};
-
-
-/**
- * optional uint64 total_available_balance = 3;
- * @return {number}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.getTotalAvailableBalance = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.BtcBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.setTotalAvailableBalance = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional uint64 locked_balance = 4;
- * @return {number}
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.getLockedBalance = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.BtcBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.BtcBalanceInfo.prototype.setLockedBalance = function(value) {
- return jspb.Message.setProto3IntField(this, 4, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.XmrBalanceInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.XmrBalanceInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- balance: jspb.Message.getFieldWithDefault(msg, 1, "0"),
- unlockedBalance: jspb.Message.getFieldWithDefault(msg, 2, "0"),
- lockedBalance: jspb.Message.getFieldWithDefault(msg, 3, "0"),
- reservedOfferBalance: jspb.Message.getFieldWithDefault(msg, 4, "0"),
- reservedTradeBalance: jspb.Message.getFieldWithDefault(msg, 5, "0")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.XmrBalanceInfo;
- return proto.io.bisq.protobuffer.XmrBalanceInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.XmrBalanceInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setBalance(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setUnlockedBalance(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setLockedBalance(value);
- break;
- case 4:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setReservedOfferBalance(value);
- break;
- case 5:
- var value = /** @type {string} */ (reader.readUint64String());
- msg.setReservedTradeBalance(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.XmrBalanceInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.XmrBalanceInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getBalance();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 1,
- f
- );
- }
- f = message.getUnlockedBalance();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 2,
- f
- );
- }
- f = message.getLockedBalance();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 3,
- f
- );
- }
- f = message.getReservedOfferBalance();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 4,
- f
- );
- }
- f = message.getReservedTradeBalance();
- if (parseInt(f, 10) !== 0) {
- writer.writeUint64String(
- 5,
- f
- );
- }
-};
-
-
-/**
- * optional uint64 balance = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.getBalance = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.setBalance = function(value) {
- return jspb.Message.setProto3StringIntField(this, 1, value);
-};
-
-
-/**
- * optional uint64 unlocked_balance = 2;
- * @return {string}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.getUnlockedBalance = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.setUnlockedBalance = function(value) {
- return jspb.Message.setProto3StringIntField(this, 2, value);
-};
-
-
-/**
- * optional uint64 locked_balance = 3;
- * @return {string}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.getLockedBalance = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.setLockedBalance = function(value) {
- return jspb.Message.setProto3StringIntField(this, 3, value);
-};
-
-
-/**
- * optional uint64 reserved_offer_balance = 4;
- * @return {string}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.getReservedOfferBalance = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.setReservedOfferBalance = function(value) {
- return jspb.Message.setProto3StringIntField(this, 4, value);
-};
-
-
-/**
- * optional uint64 reserved_trade_balance = 5;
- * @return {string}
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.getReservedTradeBalance = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.XmrBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.XmrBalanceInfo.prototype.setReservedTradeBalance = function(value) {
- return jspb.Message.setProto3StringIntField(this, 5, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.AddressBalanceInfo.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.AddressBalanceInfo} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.toObject = function(includeInstance, msg) {
- var f, obj = {
- address: jspb.Message.getFieldWithDefault(msg, 1, ""),
- balance: jspb.Message.getFieldWithDefault(msg, 2, 0),
- numConfirmations: jspb.Message.getFieldWithDefault(msg, 3, 0),
- isAddressUnused: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.AddressBalanceInfo;
- return proto.io.bisq.protobuffer.AddressBalanceInfo.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.AddressBalanceInfo} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setAddress(value);
- break;
- case 2:
- var value = /** @type {number} */ (reader.readInt64());
- msg.setBalance(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readInt64());
- msg.setNumConfirmations(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsAddressUnused(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.AddressBalanceInfo.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.AddressBalanceInfo} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAddress();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
- f = message.getBalance();
- if (f !== 0) {
- writer.writeInt64(
- 2,
- f
- );
- }
- f = message.getNumConfirmations();
- if (f !== 0) {
- writer.writeInt64(
- 3,
- f
- );
- }
- f = message.getIsAddressUnused();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
-};
-
-
-/**
- * optional string address = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.getAddress = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.setAddress = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-/**
- * optional int64 balance = 2;
- * @return {number}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.getBalance = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.setBalance = function(value) {
- return jspb.Message.setProto3IntField(this, 2, value);
-};
-
-
-/**
- * optional int64 num_confirmations = 3;
- * @return {number}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.getNumConfirmations = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
-};
-
-
-/**
- * @param {number} value
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.setNumConfirmations = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional bool is_address_unused = 4;
- * @return {boolean}
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.getIsAddressUnused = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.io.bisq.protobuffer.AddressBalanceInfo} returns this
- */
-proto.io.bisq.protobuffer.AddressBalanceInfo.prototype.setIsAddressUnused = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetVersionRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetVersionRequest.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetVersionRequest} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetVersionRequest.toObject = function(includeInstance, msg) {
- var f, obj = {
-
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetVersionRequest}
- */
-proto.io.bisq.protobuffer.GetVersionRequest.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetVersionRequest;
- return proto.io.bisq.protobuffer.GetVersionRequest.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetVersionRequest} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetVersionRequest}
- */
-proto.io.bisq.protobuffer.GetVersionRequest.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetVersionRequest.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetVersionRequest.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetVersionRequest} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetVersionRequest.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
-};
-
-
-
-
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
-/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
-proto.io.bisq.protobuffer.GetVersionReply.prototype.toObject = function(opt_includeInstance) {
- return proto.io.bisq.protobuffer.GetVersionReply.toObject(opt_includeInstance, this);
-};
-
-
-/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.io.bisq.protobuffer.GetVersionReply} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetVersionReply.toObject = function(includeInstance, msg) {
- var f, obj = {
- version: jspb.Message.getFieldWithDefault(msg, 1, "")
- };
-
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
-};
-}
-
-
-/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.io.bisq.protobuffer.GetVersionReply}
- */
-proto.io.bisq.protobuffer.GetVersionReply.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.io.bisq.protobuffer.GetVersionReply;
- return proto.io.bisq.protobuffer.GetVersionReply.deserializeBinaryFromReader(msg, reader);
-};
-
-
-/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.io.bisq.protobuffer.GetVersionReply} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.io.bisq.protobuffer.GetVersionReply}
- */
-proto.io.bisq.protobuffer.GetVersionReply.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {string} */ (reader.readString());
- msg.setVersion(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
-};
-
-
-/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
-proto.io.bisq.protobuffer.GetVersionReply.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.io.bisq.protobuffer.GetVersionReply.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
-};
-
-
-/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.io.bisq.protobuffer.GetVersionReply} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
-proto.io.bisq.protobuffer.GetVersionReply.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getVersion();
- if (f.length > 0) {
- writer.writeString(
- 1,
- f
- );
- }
-};
-
-
-/**
- * optional string version = 1;
- * @return {string}
- */
-proto.io.bisq.protobuffer.GetVersionReply.prototype.getVersion = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.io.bisq.protobuffer.GetVersionReply} returns this
- */
-proto.io.bisq.protobuffer.GetVersionReply.prototype.setVersion = function(value) {
- return jspb.Message.setProto3StringField(this, 1, value);
-};
-
-
-goog.object.extend(exports, proto.io.bisq.protobuffer);
diff --git a/src/protobuf/pb_pb.d.ts b/src/protobuf/pb_pb.d.ts
deleted file mode 100644
index 1c91862a..00000000
--- a/src/protobuf/pb_pb.d.ts
+++ /dev/null
@@ -1,7798 +0,0 @@
-import * as jspb from 'google-protobuf'
-
-
-
-export class NetworkEnvelope extends jspb.Message {
- getMessageVersion(): number;
- setMessageVersion(value: number): NetworkEnvelope;
-
- getPreliminaryGetDataRequest(): PreliminaryGetDataRequest | undefined;
- setPreliminaryGetDataRequest(value?: PreliminaryGetDataRequest): NetworkEnvelope;
- hasPreliminaryGetDataRequest(): boolean;
- clearPreliminaryGetDataRequest(): NetworkEnvelope;
-
- getGetDataResponse(): GetDataResponse | undefined;
- setGetDataResponse(value?: GetDataResponse): NetworkEnvelope;
- hasGetDataResponse(): boolean;
- clearGetDataResponse(): NetworkEnvelope;
-
- getGetUpdatedDataRequest(): GetUpdatedDataRequest | undefined;
- setGetUpdatedDataRequest(value?: GetUpdatedDataRequest): NetworkEnvelope;
- hasGetUpdatedDataRequest(): boolean;
- clearGetUpdatedDataRequest(): NetworkEnvelope;
-
- getGetPeersRequest(): GetPeersRequest | undefined;
- setGetPeersRequest(value?: GetPeersRequest): NetworkEnvelope;
- hasGetPeersRequest(): boolean;
- clearGetPeersRequest(): NetworkEnvelope;
-
- getGetPeersResponse(): GetPeersResponse | undefined;
- setGetPeersResponse(value?: GetPeersResponse): NetworkEnvelope;
- hasGetPeersResponse(): boolean;
- clearGetPeersResponse(): NetworkEnvelope;
-
- getPing(): Ping | undefined;
- setPing(value?: Ping): NetworkEnvelope;
- hasPing(): boolean;
- clearPing(): NetworkEnvelope;
-
- getPong(): Pong | undefined;
- setPong(value?: Pong): NetworkEnvelope;
- hasPong(): boolean;
- clearPong(): NetworkEnvelope;
-
- getOfferAvailabilityRequest(): OfferAvailabilityRequest | undefined;
- setOfferAvailabilityRequest(value?: OfferAvailabilityRequest): NetworkEnvelope;
- hasOfferAvailabilityRequest(): boolean;
- clearOfferAvailabilityRequest(): NetworkEnvelope;
-
- getOfferAvailabilityResponse(): OfferAvailabilityResponse | undefined;
- setOfferAvailabilityResponse(value?: OfferAvailabilityResponse): NetworkEnvelope;
- hasOfferAvailabilityResponse(): boolean;
- clearOfferAvailabilityResponse(): NetworkEnvelope;
-
- getRefreshOfferMessage(): RefreshOfferMessage | undefined;
- setRefreshOfferMessage(value?: RefreshOfferMessage): NetworkEnvelope;
- hasRefreshOfferMessage(): boolean;
- clearRefreshOfferMessage(): NetworkEnvelope;
-
- getAddDataMessage(): AddDataMessage | undefined;
- setAddDataMessage(value?: AddDataMessage): NetworkEnvelope;
- hasAddDataMessage(): boolean;
- clearAddDataMessage(): NetworkEnvelope;
-
- getRemoveDataMessage(): RemoveDataMessage | undefined;
- setRemoveDataMessage(value?: RemoveDataMessage): NetworkEnvelope;
- hasRemoveDataMessage(): boolean;
- clearRemoveDataMessage(): NetworkEnvelope;
-
- getRemoveMailboxDataMessage(): RemoveMailboxDataMessage | undefined;
- setRemoveMailboxDataMessage(value?: RemoveMailboxDataMessage): NetworkEnvelope;
- hasRemoveMailboxDataMessage(): boolean;
- clearRemoveMailboxDataMessage(): NetworkEnvelope;
-
- getCloseConnectionMessage(): CloseConnectionMessage | undefined;
- setCloseConnectionMessage(value?: CloseConnectionMessage): NetworkEnvelope;
- hasCloseConnectionMessage(): boolean;
- clearCloseConnectionMessage(): NetworkEnvelope;
-
- getPrefixedSealedAndSignedMessage(): PrefixedSealedAndSignedMessage | undefined;
- setPrefixedSealedAndSignedMessage(value?: PrefixedSealedAndSignedMessage): NetworkEnvelope;
- hasPrefixedSealedAndSignedMessage(): boolean;
- clearPrefixedSealedAndSignedMessage(): NetworkEnvelope;
-
- getInputsForDepositTxRequest(): InputsForDepositTxRequest | undefined;
- setInputsForDepositTxRequest(value?: InputsForDepositTxRequest): NetworkEnvelope;
- hasInputsForDepositTxRequest(): boolean;
- clearInputsForDepositTxRequest(): NetworkEnvelope;
-
- getInputsForDepositTxResponse(): InputsForDepositTxResponse | undefined;
- setInputsForDepositTxResponse(value?: InputsForDepositTxResponse): NetworkEnvelope;
- hasInputsForDepositTxResponse(): boolean;
- clearInputsForDepositTxResponse(): NetworkEnvelope;
-
- getDepositTxMessage(): DepositTxMessage | undefined;
- setDepositTxMessage(value?: DepositTxMessage): NetworkEnvelope;
- hasDepositTxMessage(): boolean;
- clearDepositTxMessage(): NetworkEnvelope;
-
- getCounterCurrencyTransferStartedMessage(): CounterCurrencyTransferStartedMessage | undefined;
- setCounterCurrencyTransferStartedMessage(value?: CounterCurrencyTransferStartedMessage): NetworkEnvelope;
- hasCounterCurrencyTransferStartedMessage(): boolean;
- clearCounterCurrencyTransferStartedMessage(): NetworkEnvelope;
-
- getPayoutTxPublishedMessage(): PayoutTxPublishedMessage | undefined;
- setPayoutTxPublishedMessage(value?: PayoutTxPublishedMessage): NetworkEnvelope;
- hasPayoutTxPublishedMessage(): boolean;
- clearPayoutTxPublishedMessage(): NetworkEnvelope;
-
- getOpenNewDisputeMessage(): OpenNewDisputeMessage | undefined;
- setOpenNewDisputeMessage(value?: OpenNewDisputeMessage): NetworkEnvelope;
- hasOpenNewDisputeMessage(): boolean;
- clearOpenNewDisputeMessage(): NetworkEnvelope;
-
- getPeerOpenedDisputeMessage(): PeerOpenedDisputeMessage | undefined;
- setPeerOpenedDisputeMessage(value?: PeerOpenedDisputeMessage): NetworkEnvelope;
- hasPeerOpenedDisputeMessage(): boolean;
- clearPeerOpenedDisputeMessage(): NetworkEnvelope;
-
- getChatMessage(): ChatMessage | undefined;
- setChatMessage(value?: ChatMessage): NetworkEnvelope;
- hasChatMessage(): boolean;
- clearChatMessage(): NetworkEnvelope;
-
- getDisputeResultMessage(): DisputeResultMessage | undefined;
- setDisputeResultMessage(value?: DisputeResultMessage): NetworkEnvelope;
- hasDisputeResultMessage(): boolean;
- clearDisputeResultMessage(): NetworkEnvelope;
-
- getPeerPublishedDisputePayoutTxMessage(): PeerPublishedDisputePayoutTxMessage | undefined;
- setPeerPublishedDisputePayoutTxMessage(value?: PeerPublishedDisputePayoutTxMessage): NetworkEnvelope;
- hasPeerPublishedDisputePayoutTxMessage(): boolean;
- clearPeerPublishedDisputePayoutTxMessage(): NetworkEnvelope;
-
- getPrivateNotificationMessage(): PrivateNotificationMessage | undefined;
- setPrivateNotificationMessage(value?: PrivateNotificationMessage): NetworkEnvelope;
- hasPrivateNotificationMessage(): boolean;
- clearPrivateNotificationMessage(): NetworkEnvelope;
-
- getAddPersistableNetworkPayloadMessage(): AddPersistableNetworkPayloadMessage | undefined;
- setAddPersistableNetworkPayloadMessage(value?: AddPersistableNetworkPayloadMessage): NetworkEnvelope;
- hasAddPersistableNetworkPayloadMessage(): boolean;
- clearAddPersistableNetworkPayloadMessage(): NetworkEnvelope;
-
- getAckMessage(): AckMessage | undefined;
- setAckMessage(value?: AckMessage): NetworkEnvelope;
- hasAckMessage(): boolean;
- clearAckMessage(): NetworkEnvelope;
-
- getBundleOfEnvelopes(): BundleOfEnvelopes | undefined;
- setBundleOfEnvelopes(value?: BundleOfEnvelopes): NetworkEnvelope;
- hasBundleOfEnvelopes(): boolean;
- clearBundleOfEnvelopes(): NetworkEnvelope;
-
- getMediatedPayoutTxSignatureMessage(): MediatedPayoutTxSignatureMessage | undefined;
- setMediatedPayoutTxSignatureMessage(value?: MediatedPayoutTxSignatureMessage): NetworkEnvelope;
- hasMediatedPayoutTxSignatureMessage(): boolean;
- clearMediatedPayoutTxSignatureMessage(): NetworkEnvelope;
-
- getMediatedPayoutTxPublishedMessage(): MediatedPayoutTxPublishedMessage | undefined;
- setMediatedPayoutTxPublishedMessage(value?: MediatedPayoutTxPublishedMessage): NetworkEnvelope;
- hasMediatedPayoutTxPublishedMessage(): boolean;
- clearMediatedPayoutTxPublishedMessage(): NetworkEnvelope;
-
- getDelayedPayoutTxSignatureRequest(): DelayedPayoutTxSignatureRequest | undefined;
- setDelayedPayoutTxSignatureRequest(value?: DelayedPayoutTxSignatureRequest): NetworkEnvelope;
- hasDelayedPayoutTxSignatureRequest(): boolean;
- clearDelayedPayoutTxSignatureRequest(): NetworkEnvelope;
-
- getDelayedPayoutTxSignatureResponse(): DelayedPayoutTxSignatureResponse | undefined;
- setDelayedPayoutTxSignatureResponse(value?: DelayedPayoutTxSignatureResponse): NetworkEnvelope;
- hasDelayedPayoutTxSignatureResponse(): boolean;
- clearDelayedPayoutTxSignatureResponse(): NetworkEnvelope;
-
- getDepositTxAndDelayedPayoutTxMessage(): DepositTxAndDelayedPayoutTxMessage | undefined;
- setDepositTxAndDelayedPayoutTxMessage(value?: DepositTxAndDelayedPayoutTxMessage): NetworkEnvelope;
- hasDepositTxAndDelayedPayoutTxMessage(): boolean;
- clearDepositTxAndDelayedPayoutTxMessage(): NetworkEnvelope;
-
- getPeerPublishedDelayedPayoutTxMessage(): PeerPublishedDelayedPayoutTxMessage | undefined;
- setPeerPublishedDelayedPayoutTxMessage(value?: PeerPublishedDelayedPayoutTxMessage): NetworkEnvelope;
- hasPeerPublishedDelayedPayoutTxMessage(): boolean;
- clearPeerPublishedDelayedPayoutTxMessage(): NetworkEnvelope;
-
- getRefreshTradeStateRequest(): RefreshTradeStateRequest | undefined;
- setRefreshTradeStateRequest(value?: RefreshTradeStateRequest): NetworkEnvelope;
- hasRefreshTradeStateRequest(): boolean;
- clearRefreshTradeStateRequest(): NetworkEnvelope;
-
- getTraderSignedWitnessMessage(): TraderSignedWitnessMessage | undefined;
- setTraderSignedWitnessMessage(value?: TraderSignedWitnessMessage): NetworkEnvelope;
- hasTraderSignedWitnessMessage(): boolean;
- clearTraderSignedWitnessMessage(): NetworkEnvelope;
-
- getGetInventoryRequest(): GetInventoryRequest | undefined;
- setGetInventoryRequest(value?: GetInventoryRequest): NetworkEnvelope;
- hasGetInventoryRequest(): boolean;
- clearGetInventoryRequest(): NetworkEnvelope;
-
- getGetInventoryResponse(): GetInventoryResponse | undefined;
- setGetInventoryResponse(value?: GetInventoryResponse): NetworkEnvelope;
- hasGetInventoryResponse(): boolean;
- clearGetInventoryResponse(): NetworkEnvelope;
-
- getSignOfferRequest(): SignOfferRequest | undefined;
- setSignOfferRequest(value?: SignOfferRequest): NetworkEnvelope;
- hasSignOfferRequest(): boolean;
- clearSignOfferRequest(): NetworkEnvelope;
-
- getSignOfferResponse(): SignOfferResponse | undefined;
- setSignOfferResponse(value?: SignOfferResponse): NetworkEnvelope;
- hasSignOfferResponse(): boolean;
- clearSignOfferResponse(): NetworkEnvelope;
-
- getInitTradeRequest(): InitTradeRequest | undefined;
- setInitTradeRequest(value?: InitTradeRequest): NetworkEnvelope;
- hasInitTradeRequest(): boolean;
- clearInitTradeRequest(): NetworkEnvelope;
-
- getInitMultisigRequest(): InitMultisigRequest | undefined;
- setInitMultisigRequest(value?: InitMultisigRequest): NetworkEnvelope;
- hasInitMultisigRequest(): boolean;
- clearInitMultisigRequest(): NetworkEnvelope;
-
- getSignContractRequest(): SignContractRequest | undefined;
- setSignContractRequest(value?: SignContractRequest): NetworkEnvelope;
- hasSignContractRequest(): boolean;
- clearSignContractRequest(): NetworkEnvelope;
-
- getSignContractResponse(): SignContractResponse | undefined;
- setSignContractResponse(value?: SignContractResponse): NetworkEnvelope;
- hasSignContractResponse(): boolean;
- clearSignContractResponse(): NetworkEnvelope;
-
- getDepositRequest(): DepositRequest | undefined;
- setDepositRequest(value?: DepositRequest): NetworkEnvelope;
- hasDepositRequest(): boolean;
- clearDepositRequest(): NetworkEnvelope;
-
- getDepositResponse(): DepositResponse | undefined;
- setDepositResponse(value?: DepositResponse): NetworkEnvelope;
- hasDepositResponse(): boolean;
- clearDepositResponse(): NetworkEnvelope;
-
- getPaymentAccountPayloadRequest(): PaymentAccountPayloadRequest | undefined;
- setPaymentAccountPayloadRequest(value?: PaymentAccountPayloadRequest): NetworkEnvelope;
- hasPaymentAccountPayloadRequest(): boolean;
- clearPaymentAccountPayloadRequest(): NetworkEnvelope;
-
- getUpdateMultisigRequest(): UpdateMultisigRequest | undefined;
- setUpdateMultisigRequest(value?: UpdateMultisigRequest): NetworkEnvelope;
- hasUpdateMultisigRequest(): boolean;
- clearUpdateMultisigRequest(): NetworkEnvelope;
-
- getUpdateMultisigResponse(): UpdateMultisigResponse | undefined;
- setUpdateMultisigResponse(value?: UpdateMultisigResponse): NetworkEnvelope;
- hasUpdateMultisigResponse(): boolean;
- clearUpdateMultisigResponse(): NetworkEnvelope;
-
- getArbitratorPayoutTxRequest(): ArbitratorPayoutTxRequest | undefined;
- setArbitratorPayoutTxRequest(value?: ArbitratorPayoutTxRequest): NetworkEnvelope;
- hasArbitratorPayoutTxRequest(): boolean;
- clearArbitratorPayoutTxRequest(): NetworkEnvelope;
-
- getArbitratorPayoutTxResponse(): ArbitratorPayoutTxResponse | undefined;
- setArbitratorPayoutTxResponse(value?: ArbitratorPayoutTxResponse): NetworkEnvelope;
- hasArbitratorPayoutTxResponse(): boolean;
- clearArbitratorPayoutTxResponse(): NetworkEnvelope;
-
- getMessageCase(): NetworkEnvelope.MessageCase;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): NetworkEnvelope.AsObject;
- static toObject(includeInstance: boolean, msg: NetworkEnvelope): NetworkEnvelope.AsObject;
- static serializeBinaryToWriter(message: NetworkEnvelope, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): NetworkEnvelope;
- static deserializeBinaryFromReader(message: NetworkEnvelope, reader: jspb.BinaryReader): NetworkEnvelope;
-}
-
-export namespace NetworkEnvelope {
- export type AsObject = {
- messageVersion: number,
- preliminaryGetDataRequest?: PreliminaryGetDataRequest.AsObject,
- getDataResponse?: GetDataResponse.AsObject,
- getUpdatedDataRequest?: GetUpdatedDataRequest.AsObject,
- getPeersRequest?: GetPeersRequest.AsObject,
- getPeersResponse?: GetPeersResponse.AsObject,
- ping?: Ping.AsObject,
- pong?: Pong.AsObject,
- offerAvailabilityRequest?: OfferAvailabilityRequest.AsObject,
- offerAvailabilityResponse?: OfferAvailabilityResponse.AsObject,
- refreshOfferMessage?: RefreshOfferMessage.AsObject,
- addDataMessage?: AddDataMessage.AsObject,
- removeDataMessage?: RemoveDataMessage.AsObject,
- removeMailboxDataMessage?: RemoveMailboxDataMessage.AsObject,
- closeConnectionMessage?: CloseConnectionMessage.AsObject,
- prefixedSealedAndSignedMessage?: PrefixedSealedAndSignedMessage.AsObject,
- inputsForDepositTxRequest?: InputsForDepositTxRequest.AsObject,
- inputsForDepositTxResponse?: InputsForDepositTxResponse.AsObject,
- depositTxMessage?: DepositTxMessage.AsObject,
- counterCurrencyTransferStartedMessage?: CounterCurrencyTransferStartedMessage.AsObject,
- payoutTxPublishedMessage?: PayoutTxPublishedMessage.AsObject,
- openNewDisputeMessage?: OpenNewDisputeMessage.AsObject,
- peerOpenedDisputeMessage?: PeerOpenedDisputeMessage.AsObject,
- chatMessage?: ChatMessage.AsObject,
- disputeResultMessage?: DisputeResultMessage.AsObject,
- peerPublishedDisputePayoutTxMessage?: PeerPublishedDisputePayoutTxMessage.AsObject,
- privateNotificationMessage?: PrivateNotificationMessage.AsObject,
- addPersistableNetworkPayloadMessage?: AddPersistableNetworkPayloadMessage.AsObject,
- ackMessage?: AckMessage.AsObject,
- bundleOfEnvelopes?: BundleOfEnvelopes.AsObject,
- mediatedPayoutTxSignatureMessage?: MediatedPayoutTxSignatureMessage.AsObject,
- mediatedPayoutTxPublishedMessage?: MediatedPayoutTxPublishedMessage.AsObject,
- delayedPayoutTxSignatureRequest?: DelayedPayoutTxSignatureRequest.AsObject,
- delayedPayoutTxSignatureResponse?: DelayedPayoutTxSignatureResponse.AsObject,
- depositTxAndDelayedPayoutTxMessage?: DepositTxAndDelayedPayoutTxMessage.AsObject,
- peerPublishedDelayedPayoutTxMessage?: PeerPublishedDelayedPayoutTxMessage.AsObject,
- refreshTradeStateRequest?: RefreshTradeStateRequest.AsObject,
- traderSignedWitnessMessage?: TraderSignedWitnessMessage.AsObject,
- getInventoryRequest?: GetInventoryRequest.AsObject,
- getInventoryResponse?: GetInventoryResponse.AsObject,
- signOfferRequest?: SignOfferRequest.AsObject,
- signOfferResponse?: SignOfferResponse.AsObject,
- initTradeRequest?: InitTradeRequest.AsObject,
- initMultisigRequest?: InitMultisigRequest.AsObject,
- signContractRequest?: SignContractRequest.AsObject,
- signContractResponse?: SignContractResponse.AsObject,
- depositRequest?: DepositRequest.AsObject,
- depositResponse?: DepositResponse.AsObject,
- paymentAccountPayloadRequest?: PaymentAccountPayloadRequest.AsObject,
- updateMultisigRequest?: UpdateMultisigRequest.AsObject,
- updateMultisigResponse?: UpdateMultisigResponse.AsObject,
- arbitratorPayoutTxRequest?: ArbitratorPayoutTxRequest.AsObject,
- arbitratorPayoutTxResponse?: ArbitratorPayoutTxResponse.AsObject,
- }
-
- export enum MessageCase {
- MESSAGE_NOT_SET = 0,
- PRELIMINARY_GET_DATA_REQUEST = 2,
- GET_DATA_RESPONSE = 3,
- GET_UPDATED_DATA_REQUEST = 4,
- GET_PEERS_REQUEST = 5,
- GET_PEERS_RESPONSE = 6,
- PING = 7,
- PONG = 8,
- OFFER_AVAILABILITY_REQUEST = 9,
- OFFER_AVAILABILITY_RESPONSE = 10,
- REFRESH_OFFER_MESSAGE = 11,
- ADD_DATA_MESSAGE = 12,
- REMOVE_DATA_MESSAGE = 13,
- REMOVE_MAILBOX_DATA_MESSAGE = 14,
- CLOSE_CONNECTION_MESSAGE = 15,
- PREFIXED_SEALED_AND_SIGNED_MESSAGE = 16,
- INPUTS_FOR_DEPOSIT_TX_REQUEST = 17,
- INPUTS_FOR_DEPOSIT_TX_RESPONSE = 18,
- DEPOSIT_TX_MESSAGE = 19,
- COUNTER_CURRENCY_TRANSFER_STARTED_MESSAGE = 20,
- PAYOUT_TX_PUBLISHED_MESSAGE = 21,
- OPEN_NEW_DISPUTE_MESSAGE = 22,
- PEER_OPENED_DISPUTE_MESSAGE = 23,
- CHAT_MESSAGE = 24,
- DISPUTE_RESULT_MESSAGE = 25,
- PEER_PUBLISHED_DISPUTE_PAYOUT_TX_MESSAGE = 26,
- PRIVATE_NOTIFICATION_MESSAGE = 27,
- ADD_PERSISTABLE_NETWORK_PAYLOAD_MESSAGE = 28,
- ACK_MESSAGE = 29,
- BUNDLE_OF_ENVELOPES = 30,
- MEDIATED_PAYOUT_TX_SIGNATURE_MESSAGE = 31,
- MEDIATED_PAYOUT_TX_PUBLISHED_MESSAGE = 32,
- DELAYED_PAYOUT_TX_SIGNATURE_REQUEST = 33,
- DELAYED_PAYOUT_TX_SIGNATURE_RESPONSE = 34,
- DEPOSIT_TX_AND_DELAYED_PAYOUT_TX_MESSAGE = 35,
- PEER_PUBLISHED_DELAYED_PAYOUT_TX_MESSAGE = 36,
- REFRESH_TRADE_STATE_REQUEST = 37,
- TRADER_SIGNED_WITNESS_MESSAGE = 38,
- GET_INVENTORY_REQUEST = 39,
- GET_INVENTORY_RESPONSE = 40,
- SIGN_OFFER_REQUEST = 1001,
- SIGN_OFFER_RESPONSE = 1002,
- INIT_TRADE_REQUEST = 1003,
- INIT_MULTISIG_REQUEST = 1004,
- SIGN_CONTRACT_REQUEST = 1005,
- SIGN_CONTRACT_RESPONSE = 1006,
- DEPOSIT_REQUEST = 1007,
- DEPOSIT_RESPONSE = 1008,
- PAYMENT_ACCOUNT_PAYLOAD_REQUEST = 1009,
- UPDATE_MULTISIG_REQUEST = 1010,
- UPDATE_MULTISIG_RESPONSE = 1011,
- ARBITRATOR_PAYOUT_TX_REQUEST = 1012,
- ARBITRATOR_PAYOUT_TX_RESPONSE = 1013,
- }
-}
-
-export class BundleOfEnvelopes extends jspb.Message {
- getEnvelopesList(): Array;
- setEnvelopesList(value: Array): BundleOfEnvelopes;
- clearEnvelopesList(): BundleOfEnvelopes;
- addEnvelopes(value?: NetworkEnvelope, index?: number): NetworkEnvelope;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): BundleOfEnvelopes.AsObject;
- static toObject(includeInstance: boolean, msg: BundleOfEnvelopes): BundleOfEnvelopes.AsObject;
- static serializeBinaryToWriter(message: BundleOfEnvelopes, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): BundleOfEnvelopes;
- static deserializeBinaryFromReader(message: BundleOfEnvelopes, reader: jspb.BinaryReader): BundleOfEnvelopes;
-}
-
-export namespace BundleOfEnvelopes {
- export type AsObject = {
- envelopesList: Array,
- }
-}
-
-export class PreliminaryGetDataRequest extends jspb.Message {
- getNonce(): number;
- setNonce(value: number): PreliminaryGetDataRequest;
-
- getExcludedKeysList(): Array;
- setExcludedKeysList(value: Array): PreliminaryGetDataRequest;
- clearExcludedKeysList(): PreliminaryGetDataRequest;
- addExcludedKeys(value: Uint8Array | string, index?: number): PreliminaryGetDataRequest;
-
- getSupportedCapabilitiesList(): Array;
- setSupportedCapabilitiesList(value: Array): PreliminaryGetDataRequest;
- clearSupportedCapabilitiesList(): PreliminaryGetDataRequest;
- addSupportedCapabilities(value: number, index?: number): PreliminaryGetDataRequest;
-
- getVersion(): string;
- setVersion(value: string): PreliminaryGetDataRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): PreliminaryGetDataRequest.AsObject;
- static toObject(includeInstance: boolean, msg: PreliminaryGetDataRequest): PreliminaryGetDataRequest.AsObject;
- static serializeBinaryToWriter(message: PreliminaryGetDataRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): PreliminaryGetDataRequest;
- static deserializeBinaryFromReader(message: PreliminaryGetDataRequest, reader: jspb.BinaryReader): PreliminaryGetDataRequest;
-}
-
-export namespace PreliminaryGetDataRequest {
- export type AsObject = {
- nonce: number,
- excludedKeysList: Array,
- supportedCapabilitiesList: Array,
- version: string,
- }
-}
-
-export class GetDataResponse extends jspb.Message {
- getRequestNonce(): number;
- setRequestNonce(value: number): GetDataResponse;
-
- getIsGetUpdatedDataResponse(): boolean;
- setIsGetUpdatedDataResponse(value: boolean): GetDataResponse;
-
- getDataSetList(): Array;
- setDataSetList(value: Array): GetDataResponse;
- clearDataSetList(): GetDataResponse;
- addDataSet(value?: StorageEntryWrapper, index?: number): StorageEntryWrapper;
-
- getSupportedCapabilitiesList(): Array;
- setSupportedCapabilitiesList(value: Array): GetDataResponse;
- clearSupportedCapabilitiesList(): GetDataResponse;
- addSupportedCapabilities(value: number, index?: number): GetDataResponse;
-
- getPersistableNetworkPayloadItemsList(): Array;
- setPersistableNetworkPayloadItemsList(value: Array): GetDataResponse;
- clearPersistableNetworkPayloadItemsList(): GetDataResponse;
- addPersistableNetworkPayloadItems(value?: PersistableNetworkPayload, index?: number): PersistableNetworkPayload;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetDataResponse.AsObject;
- static toObject(includeInstance: boolean, msg: GetDataResponse): GetDataResponse.AsObject;
- static serializeBinaryToWriter(message: GetDataResponse, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetDataResponse;
- static deserializeBinaryFromReader(message: GetDataResponse, reader: jspb.BinaryReader): GetDataResponse;
-}
-
-export namespace GetDataResponse {
- export type AsObject = {
- requestNonce: number,
- isGetUpdatedDataResponse: boolean,
- dataSetList: Array,
- supportedCapabilitiesList: Array,
- persistableNetworkPayloadItemsList: Array,
- }
-}
-
-export class GetUpdatedDataRequest extends jspb.Message {
- getSenderNodeAddress(): NodeAddress | undefined;
- setSenderNodeAddress(value?: NodeAddress): GetUpdatedDataRequest;
- hasSenderNodeAddress(): boolean;
- clearSenderNodeAddress(): GetUpdatedDataRequest;
-
- getNonce(): number;
- setNonce(value: number): GetUpdatedDataRequest;
-
- getExcludedKeysList(): Array;
- setExcludedKeysList(value: Array): GetUpdatedDataRequest;
- clearExcludedKeysList(): GetUpdatedDataRequest;
- addExcludedKeys(value: Uint8Array | string, index?: number): GetUpdatedDataRequest;
-
- getVersion(): string;
- setVersion(value: string): GetUpdatedDataRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetUpdatedDataRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetUpdatedDataRequest): GetUpdatedDataRequest.AsObject;
- static serializeBinaryToWriter(message: GetUpdatedDataRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetUpdatedDataRequest;
- static deserializeBinaryFromReader(message: GetUpdatedDataRequest, reader: jspb.BinaryReader): GetUpdatedDataRequest;
-}
-
-export namespace GetUpdatedDataRequest {
- export type AsObject = {
- senderNodeAddress?: NodeAddress.AsObject,
- nonce: number,
- excludedKeysList: Array,
- version: string,
- }
-}
-
-export class GetPeersRequest extends jspb.Message {
- getSenderNodeAddress(): NodeAddress | undefined;
- setSenderNodeAddress(value?: NodeAddress): GetPeersRequest;
- hasSenderNodeAddress(): boolean;
- clearSenderNodeAddress(): GetPeersRequest;
-
- getNonce(): number;
- setNonce(value: number): GetPeersRequest;
-
- getSupportedCapabilitiesList(): Array;
- setSupportedCapabilitiesList(value: Array): GetPeersRequest;
- clearSupportedCapabilitiesList(): GetPeersRequest;
- addSupportedCapabilities(value: number, index?: number): GetPeersRequest;
-
- getReportedPeersList(): Array;
- setReportedPeersList(value: Array): GetPeersRequest;
- clearReportedPeersList(): GetPeersRequest;
- addReportedPeers(value?: Peer, index?: number): Peer;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPeersRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetPeersRequest): GetPeersRequest.AsObject;
- static serializeBinaryToWriter(message: GetPeersRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPeersRequest;
- static deserializeBinaryFromReader(message: GetPeersRequest, reader: jspb.BinaryReader): GetPeersRequest;
-}
-
-export namespace GetPeersRequest {
- export type AsObject = {
- senderNodeAddress?: NodeAddress.AsObject,
- nonce: number,
- supportedCapabilitiesList: Array,
- reportedPeersList: Array,
- }
-}
-
-export class GetPeersResponse extends jspb.Message {
- getRequestNonce(): number;
- setRequestNonce(value: number): GetPeersResponse;
-
- getReportedPeersList(): Array;
- setReportedPeersList(value: Array): GetPeersResponse;
- clearReportedPeersList(): GetPeersResponse;
- addReportedPeers(value?: Peer, index?: number): Peer;
-
- getSupportedCapabilitiesList(): Array;
- setSupportedCapabilitiesList(value: Array): GetPeersResponse;
- clearSupportedCapabilitiesList(): GetPeersResponse;
- addSupportedCapabilities(value: number, index?: number): GetPeersResponse;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetPeersResponse.AsObject;
- static toObject(includeInstance: boolean, msg: GetPeersResponse): GetPeersResponse.AsObject;
- static serializeBinaryToWriter(message: GetPeersResponse, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetPeersResponse;
- static deserializeBinaryFromReader(message: GetPeersResponse, reader: jspb.BinaryReader): GetPeersResponse;
-}
-
-export namespace GetPeersResponse {
- export type AsObject = {
- requestNonce: number,
- reportedPeersList: Array,
- supportedCapabilitiesList: Array,
- }
-}
-
-export class Ping extends jspb.Message {
- getNonce(): number;
- setNonce(value: number): Ping;
-
- getLastRoundTripTime(): number;
- setLastRoundTripTime(value: number): Ping;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): Ping.AsObject;
- static toObject(includeInstance: boolean, msg: Ping): Ping.AsObject;
- static serializeBinaryToWriter(message: Ping, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): Ping;
- static deserializeBinaryFromReader(message: Ping, reader: jspb.BinaryReader): Ping;
-}
-
-export namespace Ping {
- export type AsObject = {
- nonce: number,
- lastRoundTripTime: number,
- }
-}
-
-export class Pong extends jspb.Message {
- getRequestNonce(): number;
- setRequestNonce(value: number): Pong;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): Pong.AsObject;
- static toObject(includeInstance: boolean, msg: Pong): Pong.AsObject;
- static serializeBinaryToWriter(message: Pong, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): Pong;
- static deserializeBinaryFromReader(message: Pong, reader: jspb.BinaryReader): Pong;
-}
-
-export namespace Pong {
- export type AsObject = {
- requestNonce: number,
- }
-}
-
-export class GetInventoryRequest extends jspb.Message {
- getVersion(): string;
- setVersion(value: string): GetInventoryRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetInventoryRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetInventoryRequest): GetInventoryRequest.AsObject;
- static serializeBinaryToWriter(message: GetInventoryRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetInventoryRequest;
- static deserializeBinaryFromReader(message: GetInventoryRequest, reader: jspb.BinaryReader): GetInventoryRequest;
-}
-
-export namespace GetInventoryRequest {
- export type AsObject = {
- version: string,
- }
-}
-
-export class GetInventoryResponse extends jspb.Message {
- getInventoryMap(): jspb.Map;
- clearInventoryMap(): GetInventoryResponse;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetInventoryResponse.AsObject;
- static toObject(includeInstance: boolean, msg: GetInventoryResponse): GetInventoryResponse.AsObject;
- static serializeBinaryToWriter(message: GetInventoryResponse, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetInventoryResponse;
- static deserializeBinaryFromReader(message: GetInventoryResponse, reader: jspb.BinaryReader): GetInventoryResponse;
-}
-
-export namespace GetInventoryResponse {
- export type AsObject = {
- inventoryMap: Array<[string, string]>,
- }
-}
-
-export class SignOfferRequest extends jspb.Message {
- getOfferId(): string;
- setOfferId(value: string): SignOfferRequest;
-
- getSenderNodeAddress(): NodeAddress | undefined;
- setSenderNodeAddress(value?: NodeAddress): SignOfferRequest;
- hasSenderNodeAddress(): boolean;
- clearSenderNodeAddress(): SignOfferRequest;
-
- getPubKeyRing(): PubKeyRing | undefined;
- setPubKeyRing(value?: PubKeyRing): SignOfferRequest;
- hasPubKeyRing(): boolean;
- clearPubKeyRing(): SignOfferRequest;
-
- getSenderAccountId(): string;
- setSenderAccountId(value: string): SignOfferRequest;
-
- getOfferPayload(): OfferPayload | undefined;
- setOfferPayload(value?: OfferPayload): SignOfferRequest;
- hasOfferPayload(): boolean;
- clearOfferPayload(): SignOfferRequest;
-
- getUid(): string;
- setUid(value: string): SignOfferRequest;
-
- getCurrentDate(): number;
- setCurrentDate(value: number): SignOfferRequest;
-
- getReserveTxHash(): string;
- setReserveTxHash(value: string): SignOfferRequest;
-
- getReserveTxHex(): string;
- setReserveTxHex(value: string): SignOfferRequest;
-
- getReserveTxKey(): string;
- setReserveTxKey(value: string): SignOfferRequest;
-
- getReserveTxKeyImagesList(): Array;
- setReserveTxKeyImagesList(value: Array): SignOfferRequest;
- clearReserveTxKeyImagesList(): SignOfferRequest;
- addReserveTxKeyImages(value: string, index?: number): SignOfferRequest;
-
- getPayoutAddress(): string;
- setPayoutAddress(value: string): SignOfferRequest;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SignOfferRequest.AsObject;
- static toObject(includeInstance: boolean, msg: SignOfferRequest): SignOfferRequest.AsObject;
- static serializeBinaryToWriter(message: SignOfferRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SignOfferRequest;
- static deserializeBinaryFromReader(message: SignOfferRequest, reader: jspb.BinaryReader): SignOfferRequest;
-}
-
-export namespace SignOfferRequest {
- export type AsObject = {
- offerId: string,
- senderNodeAddress?: NodeAddress.AsObject,
- pubKeyRing?: PubKeyRing.AsObject,
- senderAccountId: string,
- offerPayload?: OfferPayload.AsObject,
- uid: string,
- currentDate: number,
- reserveTxHash: string,
- reserveTxHex: string,
- reserveTxKey: string,
- reserveTxKeyImagesList: Array,
- payoutAddress: string,
- }
-}
-
-export class SignOfferResponse extends jspb.Message {
- getOfferId(): string;
- setOfferId(value: string): SignOfferResponse;
-
- getUid(): string;
- setUid(value: string): SignOfferResponse;
-
- getSignedOfferPayload(): OfferPayload | undefined;
- setSignedOfferPayload(value?: OfferPayload): SignOfferResponse;
- hasSignedOfferPayload(): boolean;
- clearSignedOfferPayload(): SignOfferResponse;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): SignOfferResponse.AsObject;
- static toObject(includeInstance: boolean, msg: SignOfferResponse): SignOfferResponse.AsObject;
- static serializeBinaryToWriter(message: SignOfferResponse, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): SignOfferResponse;
- static deserializeBinaryFromReader(message: SignOfferResponse, reader: jspb.BinaryReader): SignOfferResponse;
-}
-
-export namespace SignOfferResponse {
- export type AsObject = {
- offerId: string,
- uid: string,
- signedOfferPayload?: OfferPayload.AsObject,
- }
-}
-
-export class OfferAvailabilityRequest extends jspb.Message {
- getOfferId(): string;
- setOfferId(value: string): OfferAvailabilityRequest;
-
- getPubKeyRing(): PubKeyRing | undefined;
- setPubKeyRing(value?: PubKeyRing): OfferAvailabilityRequest;
- hasPubKeyRing(): boolean;
- clearPubKeyRing(): OfferAvailabilityRequest;
-
- getTakersTradePrice(): number;
- setTakersTradePrice(value: number): OfferAvailabilityRequest;
-
- getSupportedCapabilitiesList(): Array;
- setSupportedCapabilitiesList(value: Array